/* ==========================================================================
   Fifdred Infotech — site stylesheet
   Light editorial system: warm paper ground, deep ink, one teal accent.
   ========================================================================== */

:root {
  --paper: #F5F3EE;
  --paper-2: #EDEAE3;
  --surface: #FFFFFF;
  --ink: #0C1A1F;
  --ink-2: #33444A;
  --muted: #56666B;
  --line: #DCD7CC;
  --line-soft: #E7E3DA;

  --teal: #0A6B70;        /* text-safe on paper and white */
  --teal-strong: #08585C;
  --teal-bright: #2BB3B1; /* decorative / on dark */
  --teal-wash: #E1EEEC;

  --dark: #0C1A1F;
  --dark-2: #13262C;
  --dark-line: #24393F;
  --on-dark: #EAF0EE;
  --on-dark-muted: #9FB3B2;

  --amber: #D9922E;

  --font-display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Small type primitives ---------- */

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label .idx { color: var(--muted); }
.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
}

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--teal-strong); }

.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-outline-light { border-color: var(--dark-line); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--on-dark-muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.text-link:hover { border-color: currentColor; }
.text-link svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .25s var(--ease), background-color .2s;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
  background: var(--paper);
}
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { width: 100%; margin-top: 20px; }
.menu-open .mobile-menu { display: block; }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 18px; }
.section-head .lede { justify-self: end; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.hero-copy, .hero-visual { animation: rise .9s var(--ease) both; }
.hero-visual { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.ruler {
  height: 10px;
  margin-bottom: clamp(36px, 5vw, 56px);
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to right, var(--ink-2) 1px, transparent 1px);
  background-size: 12px 6px, 120px 10px;
  background-repeat: repeat-x;
  background-position: 0 4px, 0 0;
  opacity: .55;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 70px);
  letter-spacing: -0.035em;
  margin: 22px 0 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* Delivery board (hero visual) */

.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(12, 26, 31, .04), 0 24px 48px -24px rgba(12, 26, 31, .18);
  overflow: hidden;
}
.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.board-top .dots { display: flex; gap: 6px; }
.board-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.board-body { padding: 22px 20px 20px; }
.board-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.board-title h3 { font-size: 18px; letter-spacing: -0.01em; }
.board-title span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

.phases { list-style: none; margin: 0; padding: 0; }
.phase {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.phase:first-child { border-top: 0; }
.phase-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
}
.phase.is-done .phase-dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.phase.is-done .phase-dot svg { width: 13px; height: 13px; }
.phase.is-active .phase-dot { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
.phase strong { display: block; font-size: 15px; font-weight: 600; }
.phase small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  white-space: nowrap;
}
.phase.is-done .chip { background: var(--teal-wash); color: var(--teal-strong); }
.phase.is-active .chip { background: var(--ink); color: #fff; }

.progress {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.progress-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.progress-row b { color: var(--ink); font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: var(--teal);
  border-radius: inherit;
  transform-origin: left;
  animation: grow 1.4s var(--ease) .4s both;
}
@keyframes grow { from { transform: scaleX(0); } }

.board-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.board-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--teal); }

.board-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: .02em;
}

/* ---------- Commitments strip ---------- */

.commitments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.commitment { padding: 28px 24px 28px 0; }
.commitment + .commitment { padding-left: 24px; border-left: 1px solid var(--line); }
.commitment h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.commitment p { font-size: 14px; color: var(--muted); }

/* ---------- Service index (list rows) ---------- */

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .3s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--surface);
  opacity: 0;
  z-index: -1;
  transition: opacity .3s var(--ease);
}
.service-row:hover::before { opacity: 1; }
.service-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 6px; }
.service-row h3 { font-size: clamp(22px, 2.4vw, 28px); }
.service-row p { color: var(--ink-2); font-size: 15px; }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.service-row .tags span::before { content: "— "; color: var(--line); }
.service-row .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.service-row .arrow svg { width: 16px; height: 16px; }
.service-row:hover .arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.service-row > a.cover { position: absolute; inset: 0; z-index: 1; }

/* ---------- Dark band: process ---------- */

.dark {
  background: var(--dark);
  color: var(--on-dark);
}
.dark .label { color: var(--teal-bright); }
.dark .label .idx { color: var(--on-dark-muted); }
.dark .lede { color: var(--on-dark-muted); }
.section.dark + .section { border-top: 0; }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--dark-line);
}
.step {
  padding: 32px 28px 8px 0;
  position: relative;
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.step .when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-bright);
  letter-spacing: .04em;
}
.step h3 { font-size: 22px; margin: 14px 0 12px; }
.step p { font-size: 15px; color: var(--on-dark-muted); }
.step ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--on-dark); }
.step li { padding: 7px 0; border-top: 1px solid var(--dark-line); }

/* ---------- Stack ---------- */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stack-cell { background: var(--surface); padding: 26px 24px; }
.stack-cell h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.stack-cell ul { list-style: none; margin: 0; padding: 0; }
.stack-cell li { padding: 4px 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.industry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s var(--ease), transform .3s var(--ease);
}
.industry:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.industry .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-wash);
  color: var(--teal-strong);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.industry .ico svg { width: 22px; height: 22px; }
.industry h3 { font-size: 20px; letter-spacing: -0.01em; }
.industry p { font-size: 15px; color: var(--muted); }
.industry .eg { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }

/* ---------- Split / principles ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 22px; }
.sticky { position: sticky; top: 112px; }

.principles { list-style: none; margin: 0; padding: 0; }
.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .n { font-family: var(--font-mono); font-size: 13px; color: var(--teal); padding-top: 4px; }
.principle h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.015em; }
.principle p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), background-color .2s;
}
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--ink); border-color: var(--ink); }
.faq details[open] summary .pm::before { background: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }
.faq .answer { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 72ch; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 20px;
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 260px;
  height: 260px;
  background:
    linear-gradient(var(--teal-bright), var(--teal-bright)) 0 0 / 100% 22% no-repeat,
    linear-gradient(var(--dark-line), var(--dark-line)) 0 50% / 70% 22% no-repeat,
    linear-gradient(var(--dark-line), var(--dark-line)) 0 100% / 26% 22% no-repeat;
  opacity: .5;
  transform: rotate(-8deg);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(30px, 4.2vw, 50px); }
.cta-band p { color: var(--on-dark-muted); margin-top: 16px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 20px 0 22px; max-width: 18ch; letter-spacing: -0.035em; }
.crumbs { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Service detail blocks ---------- */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.svc:first-of-type { border-top: 1px solid var(--ink); }
.svc .num { font-family: var(--font-mono); font-size: 13px; color: var(--teal); }
.svc h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 16px; }
.svc .intro { color: var(--ink-2); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-cols h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}
.svc .fit {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-2);
}
.svc .fit b { color: var(--ink); }

.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.svc-jump a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.svc-jump a:hover { border-color: var(--ink); color: var(--ink); }

/* Engagement models */

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--dark-2);
}
.model .tag { font-family: var(--font-mono); font-size: 12px; color: var(--teal-bright); letter-spacing: .04em; }
.model h3 { font-size: 24px; }
.model p { color: var(--on-dark-muted); font-size: 15px; }
.model ul { list-style: none; padding: 0; margin: 6px 0 0; }
.model li { padding: 9px 0; border-top: 1px solid var(--dark-line); font-size: 14px; }
.model .best { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--on-dark-muted); }
.model .best b { color: var(--on-dark); font-weight: 600; }

/* ---------- About ---------- */

.statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 28ch;
}
.statement span { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.fact { padding: 24px 24px 24px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dt { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fact dd { margin: 10px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }

.prose p + p { margin-top: 18px; }
.prose p { color: var(--ink-2); font-size: 17px; }

.not-list { list-style: none; margin: 0; padding: 0; }
.not-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.not-list li:last-child { border-bottom: 1px solid var(--line); }
.not-list .no { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.not-list .yes { color: var(--ink); font-weight: 500; }
.not-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 12px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-card h2 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2333444A' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px var(--teal-wash); }
.field .err { font-size: 13px; color: #B42318; display: none; }
.field.invalid input,
.field.invalid textarea,
.field.invalid select { border-color: #B42318; }
.field.invalid .err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: var(--paper);
  transition: all .2s var(--ease);
}
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--teal-wash);
  color: var(--teal-strong);
  font-size: 14px;
}
.form-status.show { display: block; }

.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.ccard {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease);
}
a.ccard:hover { border-color: var(--ink-2); }
.ccard .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-wash); color: var(--teal-strong); display: grid; place-items: center; }
.ccard .ico svg { width: 20px; height: 20px; }
.ccard small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ccard strong { display: block; font-size: 15px; font-weight: 600; word-break: break-word; margin-top: 2px; }

.next-steps { margin-top: 10px; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.next-steps h3 { font-size: 17px; margin-bottom: 14px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding: 6px 0 6px 34px; font-size: 14px; color: var(--ink-2); }
.next-steps li::before {
  content: counter(ns, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
}

/* ---------- Legal ---------- */

.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(56px, 8vw, 96px) 0 28px;
  margin-top: clamp(72px, 10vw, 128px);
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 18px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { padding: 5px 0; font-size: 15px; }
.foot-grid a { color: var(--on-dark); transition: color .2s; }
.foot-grid a:hover { color: var(--teal-bright); }
.foot-about p { color: var(--on-dark-muted); font-size: 15px; max-width: 36ch; margin-top: 18px; }
.foot-about .brand-name small { color: var(--on-dark-muted); }

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 17vw, 240px);
  line-height: .8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--dark-line);
  margin: clamp(48px, 7vw, 88px) 0 24px;
  white-space: nowrap;
  user-select: none;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.foot-bottom a:hover { color: var(--on-dark); }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(12, 26, 31, .5);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--teal-strong); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .board { max-width: 560px; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--dark-line); margin-top: 24px; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .models { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .commitments { grid-template-columns: 1fr 1fr; }
  .commitment:nth-child(3) { padding-left: 0; border-left: 0; }
  .commitment:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 44px minmax(0, 1fr) 40px; }
  .service-row p, .service-row .tags { grid-column: 2 / 3; }
  .service-row .desc { grid-column: 2 / 3; grid-row: 2; }
  .service-row .arrow { grid-column: 3; grid-row: 1; }
  .split, .svc, .contact-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .commitments { grid-template-columns: 1fr; }
  .commitment, .commitment + .commitment { padding: 22px 0; border-left: 0; }
  .commitment + .commitment { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; margin-top: 0; }
  .step + .step { border-top: 1px solid var(--dark-line); }
  .stack-grid, .industries { grid-template-columns: 1fr; }
  .svc-cols, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .actions .btn { width: 100%; }
  .faq .answer { padding-right: 0; }
  .not-list li, .not-head { grid-template-columns: 1fr; gap: 6px; }
  .not-head { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 28px 1fr; }
  .phase .chip { grid-column: 2; justify-self: start; }
  .wa-float { right: 16px; bottom: 16px; }
}
