/* ============================================================
   bITe — Engineered energy
   Type: Bricolage Grotesque (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* paper / ink */
  --paper:      #F1F2EB;   /* warm-neutral paper base */
  --paper-2:    #E7E9DE;   /* deeper panel */
  --paper-3:    #DCDFCF;   /* deepest panel / wells */
  --ink:        #0E1311;   /* near-black, faint green undertone */
  --ink-2:      #1C2320;
  --muted:      #56605A;   /* secondary text on paper */
  --muted-2:    #7C857E;
  --line:       #D2D6C6;   /* hairlines on paper */
  --line-2:     #C4C9B6;

  /* acid lime — the bITe accent (only chroma in the system) */
  --acid:       #A6D92A;
  --acid-bright:#CDFB45;
  --acid-deep:  #6F9612;   /* lime that's legible as text on paper */
  --acid-ink:   #324807;   /* very deep lime for text on lime fills */

  /* dark sections */
  --dark:       #0E1311;
  --dark-2:     #151B18;
  --dark-3:     #1E2622;
  --dark-line:  #2B342E;
  --on-dark:    #F1F2EB;
  --on-dark-muted: #939E94;

  /* derived */
  --bg: var(--paper);
  --fg: var(--ink);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ff-display: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  --ff-body: "IBM Plex Sans", system-ui, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 17px;
  -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; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--acid); color: var(--ink); }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 100px); }

/* mono kicker label */
.kicker {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker .idx { color: var(--acid-deep); }
.kicker .bar { width: 28px; height: 1px; background: var(--line-2); }
.on-dark .kicker { color: var(--on-dark-muted); }
.on-dark .kicker .idx { color: var(--acid); }
.on-dark .kicker .bar { background: var(--dark-line); }

/* display headings */
.display {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1.display { font-size: clamp(44px, 7.4vw, 104px); }
h2.display { font-size: clamp(34px, 4.6vw, 64px); }
h3.display { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.02; }

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--muted);
  line-height: 1.5;
  max-width: 56ch;
}
.on-dark .lead { color: var(--on-dark-muted); }

/* lime highlight on a word — painted as the element's own background
   (no z-index, renders reliably everywhere) */
.hl {
  position: relative; color: var(--ink); padding: 0 .06em;
  background-image: linear-gradient(var(--acid), var(--acid));
  background-repeat: no-repeat;
  background-size: 100% 0.26em;
  background-position: 0 0.64em;
}
.on-dark .hl { color: var(--on-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-weight: 600; font-size: 14px;
  letter-spacing: .02em;
  padding: 15px 24px; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--acid); color: var(--acid-ink); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-primary:hover { background: var(--acid-bright); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(150,200,30,.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(241,242,235,.4); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* ---------- logo wordmark (CSS stand-in for bITe) ---------- */
.logo {
  font-family: var(--ff-display);
  font-weight: 800; font-size: 30px; letter-spacing: -0.04em;
  line-height: 1; display: inline-flex; align-items: baseline;
  user-select: none;
}
.logo .g { color: var(--acid-deep); }
.logo .d { color: var(--ink); }
.on-dark .logo .g, .nav--dark .logo .g { color: var(--acid); }
.on-dark .logo .d, .nav--dark .logo .d { color: var(--on-dark); }

/* real logo image (nav + footer) */
.nav__logo { height: 34px; width: auto; }
.footer__logo { height: 38px; width: auto; }

/* skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--on-dark);
  font-family: var(--ff-mono); font-size: 13px; font-weight: 600;
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__tag {
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line-2);
  max-width: 140px; line-height: 1.2;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--ff-mono); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; color: var(--ink);
  position: relative; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--acid-deep); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: .3s; }
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter); transform: translateY(-100%);
  transition: transform .45s var(--ease-out); visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--ff-display); font-weight: 700; font-size: 40px;
  letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a .num { font-family: var(--ff-mono); font-size: 14px; color: var(--acid-deep); margin-right: 16px; vertical-align: super; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
body.no-grid .hero__grid-bg, body.no-grid .cta__bg { display: none; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { max-width: 720px; }
.hero h1 { margin-top: 22px; }
.hero__sub { margin-top: 26px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero__fact { display: flex; flex-direction: column; gap: 4px; }
.hero__fact b { font-family: var(--ff-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.hero__fact span { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

/* pipeline panel */
.pipeline {
  background: var(--dark); border-radius: var(--r-lg); padding: 30px;
  color: var(--on-dark); position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(14,19,17,.5);
}
.pipeline__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.pipeline__title { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.pipeline__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 var(--acid); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(166,217,42,.5);} 70%{box-shadow:0 0 0 9px rgba(166,217,42,0);} 100%{box-shadow:0 0 0 0 rgba(166,217,42,0);} }
.pipeline__track { display: flex; flex-direction: column; gap: 2px; }
.pnode {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 14px; border-radius: 10px; position: relative;
  transition: background .4s; opacity: .42;
}
.pnode.active { opacity: 1; background: var(--dark-2); }
.pnode__num { font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-muted); }
.pnode.active .pnode__num { color: var(--acid); }
.pnode__name { font-family: var(--ff-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.pnode__desc { font-family: var(--ff-mono); font-size: 11px; color: var(--on-dark-muted); letter-spacing: .03em; }
.pnode__tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--dark-line); display: grid; place-items: center; transition: .4s; }
.pnode.active .pnode__tick { border-color: var(--acid); background: var(--acid); }
.pnode.active .pnode__tick svg { stroke: var(--ink); }
.pnode__tick svg { width: 12px; height: 12px; stroke: transparent; stroke-width: 2.4; fill: none; transition: .4s; }
.pipeline__bar { height: 4px; border-radius: 999px; background: var(--dark-3); margin-top: 22px; overflow: hidden; }
.pipeline__bar i { display: block; height: 100%; width: 0; background: var(--acid); border-radius: 999px; }
.pipeline__foot { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--ff-mono); font-size: 11px; color: var(--on-dark-muted); letter-spacing: .03em; }

/* ============================================================
   MARQUEE (customers)
   ============================================================ */
.marquee-sec { padding-block: 44px; border-block: 1px solid var(--line); background: var(--paper); }
.marquee-sec .label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 30px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 22px; padding-right: 22px; flex-shrink: 0; align-items: center; animation: scroll-x 42s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-100%); } }
.cust {
  flex-shrink: 0; width: 196px; height: 104px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 14px 20px;
  filter: grayscale(1); opacity: .62; transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cust img { max-width: 100%; max-height: 72px; width: auto; object-fit: contain; }
.cust:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(14,19,17,.35); }

/* ============================================================
   WHY
   ============================================================ */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: end; margin-bottom: clamp(44px,5vw,72px); }
.split-head .lead { justify-self: start; }
.why__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.why__cell { padding: 36px 28px 36px 0; border-right: 1px solid var(--line); position: relative; }
.why__cell:last-child { border-right: none; padding-right: 0; }
.why__cell:not(:last-child) { padding-right: 28px; }
.why__num { font-family: var(--ff-mono); font-size: 13px; color: var(--acid-deep); font-weight: 600; }
.why__cell h3 { margin: 20px 0 14px; }
.why__cell p { color: var(--muted); font-size: 16px; }
.why__cell .topbar { position: absolute; top: -1.5px; left: 0; width: 56px; height: 3px; background: var(--acid); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--ink); color: var(--on-dark); }
.svc { border-top: 1px solid var(--dark-line); }
.svc:last-child { border-bottom: 1px solid var(--dark-line); }
.svc__row {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 38px 0;
  align-items: start; cursor: pointer; transition: padding .4s var(--ease);
}
.svc__num { font-family: var(--ff-mono); font-size: 14px; color: var(--on-dark-muted); padding-top: 8px; }
.svc.open .svc__num { color: var(--acid); }
.svc__main { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.svc__title { font-family: var(--ff-display); font-weight: 800; font-size: clamp(28px, 4vw, 50px); letter-spacing: -0.025em; line-height: 1; transition: color .3s; }
.svc:hover .svc__title { color: var(--acid); }
.svc__toggle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--dark-line); display: grid; place-items: center; transition: .35s; flex-shrink: 0; }
.svc.open .svc__toggle { background: var(--acid); border-color: var(--acid); transform: rotate(45deg); }
.svc__toggle svg { width: 18px; height: 18px; stroke: var(--on-dark); stroke-width: 2; transition: stroke .3s; }
.svc.open .svc__toggle svg { stroke: var(--ink); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc.open .svc__body { grid-template-rows: 1fr; }
.svc__body-inner { overflow: hidden; }
.svc__panel { display: grid; grid-template-columns: 88px 1.1fr 1fr; gap: 24px; padding-bottom: 42px; }
.svc__desc { grid-column: 2; color: var(--on-dark-muted); font-size: 17px; max-width: 44ch; }
.svc__list { grid-column: 3; display: flex; flex-direction: column; gap: 12px; }
.svc__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--on-dark); padding-bottom: 12px; border-bottom: 1px solid var(--dark-line); }
.svc__list li::before { content: ""; width: 7px; height: 7px; background: var(--acid); margin-top: 8px; flex-shrink: 0; transform: rotate(45deg); }

/* ============================================================
   METRICS band
   ============================================================ */
.metrics { background: var(--acid); color: var(--ink); }
.metrics__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.metric { padding: 8px 28px 8px 0; border-right: 1px solid rgba(14,19,17,.18); }
.metric:last-child { border-right: none; }
.metric b { font-family: var(--ff-display); font-weight: 800; font-size: clamp(40px,5vw,68px); line-height: .9; letter-spacing: -0.03em; display: block; }
.metric span { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .03em; color: var(--acid-ink); display: block; margin-top: 12px; }
.metrics .kicker { color: var(--acid-ink); margin-bottom: 40px; }
.metrics .kicker .idx { color: var(--ink); }
.metrics .kicker .bar { background: rgba(14,19,17,.3); }

/* ============================================================
   APPROACH stepper
   ============================================================ */
.steps { position: relative; margin-top: clamp(44px,5vw,68px); }
.steps__line { position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps__line i { display: block; height: 100%; width: 100%; background: var(--acid); }
.steps__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,4vw,56px); position: relative; }
.step__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--ff-mono); font-weight: 600; font-size: 15px; color: var(--acid); }
.step h3 { margin: 26px 0 14px; }
.step p { color: var(--muted); font-size: 16px; max-width: 36ch; }

/* ============================================================
   bITesuite callout
   ============================================================ */
.suite { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.suite__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.suite__name { font-family: var(--ff-display); font-weight: 800; font-size: clamp(40px,6vw,84px); letter-spacing: -0.03em; line-height: .95; }
.suite__name em { font-style: normal; color: var(--acid); }
.suite__tag { font-family: var(--ff-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 22px; }
.suite p { color: var(--on-dark-muted); margin-top: 24px; font-size: 18px; max-width: 46ch; }
.suite__feats { display: grid; gap: 2px; }
.suite__feat { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: 12px; background: var(--dark-2); align-items: start; transition: .3s; }
.suite__feat:hover { background: var(--dark-3); transform: translateX(6px); }
.suite__feat .ic { width: 40px; height: 40px; border-radius: 9px; background: var(--dark-3); display: grid; place-items: center; color: var(--acid); }
.suite__feat:hover .ic { background: var(--acid); color: var(--ink); }
.suite__feat .ic svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.suite__feat h4 { font-family: var(--ff-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.suite__feat p { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 6px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--acid); color: var(--ink); position: relative; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--acid-ink) 1px,transparent 1px), linear-gradient(90deg,var(--acid-ink) 1px,transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 120% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(80% 120% at 100% 100%, #000, transparent 70%); opacity: .12; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px,4vw,64px); align-items: end; }
.cta h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(40px,6.5vw,92px); letter-spacing: -0.03em; line-height: .94; }
.cta p { font-size: 19px; color: var(--acid-ink); margin-top: 24px; max-width: 40ch; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; }
.cta .btn-primary { background: var(--ink); color: var(--acid); }
.cta .btn-primary:hover { background: var(--ink-2); box-shadow: 0 14px 34px -12px rgba(14,19,17,.5); }
.cta .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta .btn-ghost:hover { background: var(--ink); color: var(--acid); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,6vw,90px); }
.contact__form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--ff-body); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(166,217,42,.35); }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.field .err { font-family: var(--ff-mono); font-size: 11px; color: #c0392b; display: none; }
.field.invalid .err { display: block; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__form .btn-primary { justify-self: start; margin-top: 6px; }
.form-success { display: none; padding: 22px; border-radius: 12px; background: var(--ink); color: var(--on-dark); font-family: var(--ff-mono); font-size: 14px; align-items: center; gap: 12px; }
.form-success.show { display: flex; }
.form-success .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); }
.contact__aside { align-self: start; }
.contact__aside .big { font-family: var(--ff-display); font-weight: 800; font-size: clamp(30px,3.4vw,46px); letter-spacing: -0.025em; line-height: 1.02; }
.contact__chan { margin-top: 30px; display: grid; gap: 2px; }
.contact__chan a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); transition: .25s; }
.contact__chan a:hover { padding-inline: 8px; background: var(--paper-2); }
.contact__chan .l { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact__chan .v { font-family: var(--ff-display); font-weight: 700; font-size: 19px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--on-dark); padding-block: 64px 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer__blurb { color: var(--on-dark-muted); margin-top: 18px; max-width: 36ch; font-size: 15px; }
.footer__col h5 { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer__col a { display: block; padding: 7px 0; color: var(--on-dark); opacity: .82; transition: .2s; font-size: 15px; }
.footer__col a:hover { opacity: 1; color: var(--acid); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 16px; flex-wrap: wrap; }
.footer__bottom span { font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-muted); letter-spacing: .03em; }

/* ============================================================
   reveal animation
   ============================================================ */
/* Entrance motion: gated so content is ALWAYS visible at rest (works in
   print/export/paused-frame contexts); only animates when frames run. */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  html.js-anim .reveal.reveal-in { opacity: 1; transform: none; }
  html.js-anim .reveal[data-d="1"] { transition-delay: .07s; }
  html.js-anim .reveal[data-d="2"] { transition-delay: .14s; }
  html.js-anim .reveal[data-d="3"] { transition-delay: .21s; }
  html.js-anim .reveal[data-d="4"] { transition-delay: .28s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .pipeline { max-width: 520px; }
  .suite__inner, .cta__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta__inner { align-items: start; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__tag { display: none; }
  .split-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .why__grid { grid-template-columns: 1fr; border-top: none; }
  .why__cell { border-right: none; border-top: 1.5px solid var(--ink); padding: 30px 0; }
  .why__cell:not(:last-child) { padding-right: 0; }
  .why__cell .topbar { top: -1.5px; }
  .metrics__grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .metric:nth-child(2) { border-right: none; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps__line { display: none; }
  .svc__main { grid-template-columns: 1fr; }
  .svc__row { grid-template-columns: 54px 1fr; }
  .svc__panel { grid-template-columns: 1fr; gap: 18px; }
  .svc__desc, .svc__list { grid-column: 1; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__facts { gap: 22px 28px; }
  .metrics__grid { grid-template-columns: 1fr; gap: 28px; }
  .metric { border-right: none; border-bottom: 1px solid rgba(14,19,17,.18); padding-bottom: 24px; }
  .metric:last-child { border-bottom: none; }
}
