/* =========================================================
   Surge Robotics — site styles
   Brand: Deep Circuit #012501 · Circuit Lime #07CB10 · Graphite Core #1A2228
          Gun Metal #596067 · Alloy Mist #EAEAEA
   Type:  Space Grotesk (titles + body) · IBM Plex Mono (short tags, stands in for Pitch Sans)
   ========================================================= */

:root {
  --black: #000;
  --graphite: #1a2228;
  --gun: #596067;
  --mist: #eaeaea;
  --lime: #07cb10;
  --lime-hi: #07e414;
  --deep: #012501;

  --text: #eaeaea;
  --text-2: #a9b0b6;
  --text-3: #8f969d;          /* ≥5:1 on black and graphite */
  --accent: #07cb10;          /* accent text colour, swapped on light bands */
  --line: rgba(234, 234, 234, .12);
  --line-2: rgba(234, 234, 234, .22);
  --surface: rgba(234, 234, 234, .035);
  --surface-2: rgba(234, 234, 234, .07);

  --display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 64px;
  --pad: clamp(64px, 7.5vw, 104px);
}

/* light band — Alloy Mist */
.t-light {
  --text: #1a2228;
  --text-2: #454d54;
  --text-3: #596067;          /* 5.3:1 on mist */
  --accent: #056d0c;          /* 5.5:1 on mist */
  --line: rgba(26, 34, 40, .14);
  --line-2: rgba(26, 34, 40, .26);
  --surface: rgba(255, 255, 255, .55);
  --surface-2: #fff;
  background: var(--mist);
  color: var(--text);
}
.t-graphite { background: var(--graphite); }
.t-deep {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(7, 203, 16, .42) 0%, rgba(7, 203, 16, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(89, 96, 103, .5) 0%, rgba(89, 96, 103, 0) 60%),
    var(--deep);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--black); color: var(--text);
  font-family: var(--display); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.t-light :focus-visible { outline-color: #056d0c; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--pad) 0; position: relative; }
.section.tight { padding: calc(var(--pad) * .6) 0; }
.section:not([class*="t-"]) + .section:not([class*="t-"]) { padding-top: 0; }
.grid { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split.center { align-items: center; }
.sticky { position: sticky; top: 104px; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: 72px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.025em; line-height: 1.06; }
.h-hero { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.045em; line-height: .97; }
.h1 { font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -.04em; line-height: 1; }
.h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.035em; line-height: 1.04; }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.h4 { font-size: 20px; letter-spacing: -.012em; line-height: 1.28; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.body-2 { color: var(--text-2); }
.small { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.muted-title { color: var(--text-3); }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); flex: none; }
.label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--text-3); }
.num { font-weight: 300; font-size: clamp(48px, 5vw, 80px); letter-spacing: -.05em; line-height: .85; color: var(--gun); font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--text-2); }
.balance { text-wrap: balance; }
.head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.head p { margin-top: 18px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.head-row .head { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px; line-height: 1.2; white-space: nowrap;
  background: var(--lime); color: #000; border: 1px solid var(--lime);
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--lime-hi); border-color: var(--lime-hi); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-3); color: var(--text); }
.btn-dark { background: var(--graphite); color: var(--mist); border-color: var(--graphite); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.link:hover { border-color: var(--accent); color: var(--accent); }
.arr { width: 14px; height: 14px; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px var(--gut) auto; z-index: 100;
  max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto;
  height: var(--nav-h); padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(10, 13, 15, .76);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(234, 234, 234, .1); border-radius: 999px;
  transition: transform .45s var(--ease);
}
.nav.hide { transform: translateY(calc(-100% - 24px)); }
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { display: inline-flex; padding: 9px 14px; border-radius: 999px; font-size: 15px; color: #c9ced2; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(234, 234, 234, .07); }
.nav-links a[aria-current="page"] { color: var(--lime); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(234, 234, 234, .08); }
.burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), background .2s; }
.burger i { position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.menu-open .burger i { background: transparent; }
.menu-open .burger i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger i::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--black); padding: calc(var(--nav-h) + 48px) var(--gut) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .mnav { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mnav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 26px; letter-spacing: -.02em; font-weight: 500; }
.mnav a[aria-current="page"] { color: var(--lime); }
.mnav .btn { margin-top: 28px; width: 100%; font-size: 17px; border-bottom: 0; }

/* ---------- home hero: full-bleed background film (Surge Global pattern) ---------- */
.vhero { position: relative; min-height: max(640px, 94svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #050607; color: #fff; }
.vhero-media { position: absolute; inset: 0; z-index: -1; }
.vhero-media video, .vhero-media img { width: 100%; height: 100%; object-fit: cover; }
.vhero-media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 6, 7, .94) 0%, rgba(5, 6, 7, .62) 34%, rgba(5, 6, 7, .18) 66%, rgba(5, 6, 7, .5) 100%),
    linear-gradient(90deg, rgba(5, 6, 7, .55) 0%, rgba(5, 6, 7, 0) 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(7, 203, 16, .18) 0%, rgba(7, 203, 16, 0) 70%); }
.vhero-inner { padding-top: calc(var(--nav-h) + 96px); padding-bottom: clamp(44px, 6vw, 88px); }
.vhero .eyebrow { color: #d5dade; }
.vhero h1 { margin-top: 20px; max-width: 13ch; font-size: clamp(48px, 7vw, 108px); letter-spacing: -.045em; line-height: .96; text-wrap: balance; }
.vhero h1 em { font-style: normal; color: var(--lime); }
.vhero .lead { margin-top: 24px; color: #d5dade; max-width: 52ch; }
.vhero .btns { margin-top: 32px; align-items: center; }
.vhero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(5, 6, 7, .25); }
.vhero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.play-dot { width: 26px; height: 26px; margin-left: -8px; border-radius: 50%; background: var(--lime); color: #000; display: inline-flex; align-items: center; justify-content: center; }
.play-dot svg { width: 10px; height: 10px; margin-left: 2px; }
.film-btn small { color: #aab1b7; font-size: 14px; font-weight: 400; }
.vhero-pause { position: absolute; right: var(--gut); bottom: clamp(44px, 6vw, 88px); width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(5, 6, 7, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, border-color .25s; }
.vhero-pause:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.vhero-pause .i-play { display: none; }
.vhero-pause[aria-pressed="true"] .i-play { display: block; }
.vhero-pause[aria-pressed="true"] .i-pause { display: none; }
.statsband { background: var(--black); }
.statsband .stats { border-top: 0; }

/* full film dialog */
.film { margin: auto; width: min(1200px, 94vw, 150vh); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #000; color: #fff; overflow: visible; }
.film::backdrop { background: rgba(0, 0, 0, .9); }
.film-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000 url('../video/hero-poster.jpg') center / cover; }
.film-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.film-close:hover { background: var(--lime); color: #000; border-color: var(--lime); }

.formerly { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--text-3); }
.formerly i { width: 18px; height: 1px; background: var(--text-3); }
.stat { padding: 24px 0 28px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--text-3); }

/* sub-page hero */
.phero { position: relative; padding: calc(var(--nav-h) + 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 92% 0%, rgba(7, 203, 16, .24) 0%, rgba(7, 203, 16, 0) 60%), radial-gradient(50% 60% at 0% 100%, rgba(89, 96, 103, .32) 0%, rgba(89, 96, 103, 0) 70%); }
.phero h1 { margin-top: 22px; max-width: 18ch; }
.phero .lead { margin-top: 24px; }
.phero .btns { margin-top: 32px; }
.phero-media { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--graphite); }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: var(--text-3); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--lime); }

/* ---------- logos ---------- */
.logos { padding: 40px 0 44px; }
.logos p { text-align: center; font-size: 15px; color: var(--text-3); margin-bottom: 24px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-grid li { height: 80px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px 20px; border: 1px solid rgba(26, 34, 40, .08); }
.logo-grid img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-grid li:hover img { filter: none; opacity: 1; }

/* ---------- cards ---------- */
.card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s var(--ease), background .3s var(--ease); display: flex; flex-direction: column; }
a.card:hover, .card.click:hover { border-color: var(--line-2); background: var(--surface-2); }
.card-pad { padding: clamp(20px, 2.2vw, 30px); }
.card-body { padding: 22px clamp(20px, 2.2vw, 28px) 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--text-2); font-size: 16px; }
.card-body .chips, .card-body .link { margin-top: auto; padding-top: 8px; }
.card-body .link { align-self: flex-start; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-3); }
.media { position: relative; overflow: hidden; background: var(--graphite); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a:hover .media img, .card.click:hover .media img { transform: scale(1.035); }
.ar-16x10 { aspect-ratio: 16 / 10; } .ar-16x9 { aspect-ratio: 16 / 9; } .ar-4x3 { aspect-ratio: 4 / 3; } .ar-4x5 { aspect-ratio: 4 / 5; } .ar-1 { aspect-ratio: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.chip.on { background: var(--lime); border-color: var(--lime); color: #000; }
.tag { font-size: 14px; font-weight: 500; color: var(--accent); }
.go { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
a:hover .go { background: var(--lime); border-color: var(--lime); color: #000; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch { text-align: left; }

/* capability cards (home) */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.caps .media { aspect-ratio: 4 / 3; }
.caps h3 { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }

/* metric cards */
.metric { font-size: clamp(44px, 4.4vw, 68px); font-weight: 400; letter-spacing: -.05em; line-height: .92; color: var(--accent); }

/* product panels */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.product { display: flex; flex-direction: column; min-height: 600px; border-radius: var(--r); overflow: hidden; position: relative; isolation: isolate; border: 1px solid rgba(234, 234, 234, .1); }
.product .bg { position: absolute; inset: 0; z-index: -1; }
.product .bg img { width: 100%; height: 100%; object-fit: cover; }
.product .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 20, 2, .25) 0%, rgba(1, 12, 3, .9) 42%, rgba(1, 10, 3, .97) 60%); }
.product.alt .bg::after { background: linear-gradient(180deg, rgba(10, 14, 17, .2) 0%, rgba(10, 14, 17, .9) 42%, rgba(10, 14, 17, .97) 60%); }
.product-body { margin-top: auto; padding: clamp(24px, 3vw, 40px); }
.product h3 { font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.035em; margin-top: 10px; }
.product p { margin-top: 14px; color: #c3cad0; max-width: 46ch; }
.product ul { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.product li { font-size: 15px; color: #dfe3e6; padding-left: 18px; position: relative; }
.product li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }
.product .btns { margin-top: 26px; }
.product .tag { color: var(--lime); }

/* process */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.phase { padding: 28px 24px 0 0; position: relative; }
.phase + .phase { padding-left: 24px; border-left: 1px solid var(--line); }
.phase::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(7, 203, 16, .18); }
.phase + .phase::before { left: -5px; }
.phase h3 { margin-top: 22px; }
.phase p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* team strip */
.team { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: clamp(220px, 24vw, 340px); gap: 12px; }
.team figure { border-radius: 16px; overflow: hidden; background: var(--graphite); }
.team img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(7, 203, 16, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307CB10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.t-light .ticks li::before { background-color: rgba(7, 203, 16, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23056D0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.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: 22px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.012em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, border-color .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
details[open] > summary .pm { background: var(--lime); border-color: var(--lime); color: #000; }
details[open] > summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--accent); }
.faq .ans { padding: 0 58px 24px 0; color: var(--text-2); max-width: 74ch; }

/* contact */
.contact-card { background: var(--mist); color: var(--graphite); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 500; color: #333b41; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(26, 34, 40, .2); color: var(--graphite); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2228' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%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: #056d0c; box-shadow: 0 0 0 4px rgba(7, 203, 16, .2); }
.form .note { font-size: 14px; color: #4a535a; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.contact-points { margin-top: 32px; display: grid; gap: 12px; }
.contact-points a { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); }
.contact-points a:hover { color: var(--lime); }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(36px, 5.5vw, 80px); isolation: isolate; border: 1px solid rgba(234, 234, 234, .08); }
.cta-band .bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 7, .95) 0%, rgba(5, 6, 7, .78) 45%, rgba(5, 6, 7, .15) 100%); }
.cta-band h2 { max-width: 15ch; }
.cta-band p { margin-top: 16px; color: #c3cad0; max-width: 50ch; }
.cta-band .btns { margin-top: 30px; }

/* ---------- footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.f-brand p { color: var(--text-2); max-width: 36ch; font-size: 16px; }
.f-col h2, .f-offices h2 { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.f-col ul { margin-top: 16px; display: grid; gap: 10px; }
.f-col a { color: #c9ced2; font-size: 15.5px; }
.f-col a:hover { color: var(--lime); }
.f-offices { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-offices h2 { color: var(--lime); }
.f-offices p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.f-offices a:hover { color: var(--lime); }
.f-word { margin-top: clamp(48px, 7vw, 96px); }
.f-word img { width: 100%; height: auto; }
.f-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-3); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: #c9ced2; transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--lime); color: #000; border-color: var(--lime); }
.socials svg { width: 16px; height: 16px; }

/* ---------- listings ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--text-2); transition: all .2s; }
.filters button:hover { color: var(--text); border-color: var(--text-3); }
.filters button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #000; }
.filters button span { font-family: var(--mono); font-size: 12px; margin-left: 6px; opacity: .75; }
.hidden { display: none !important; }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature .media { aspect-ratio: auto; min-height: 380px; }
.feature .card-body { padding: clamp(24px, 3vw, 44px); justify-content: center; gap: 14px; }
.feature h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; }
.pf .media { aspect-ratio: 16 / 9; background: #fff; }
.pf .views { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .68); color: #fff; font-size: 13px; }
.pf h3 button { font: inherit; letter-spacing: inherit; }
.pf h3 button:focus-visible { outline: none; }
.pf:focus-within { outline: 2px solid #056d0c; outline-offset: 3px; }

/* capability grid + lab */
.capgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capgrid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(22px, 2.4vw, 32px); }
.capgrid .label { color: var(--accent); }
.capgrid h3 { margin-top: 16px; }
.capgrid p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.capgrid .chips { margin-top: 18px; }
.lab { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lab li { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.lab b { display: block; font-weight: 500; }
.lab span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-3); }
.disc ul { margin-top: 14px; display: grid; gap: 8px; }
.disc li { color: var(--text-2); font-size: 16px; padding-left: 18px; position: relative; }
.disc li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1.5px; background: var(--lime); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15.5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.plan .card-pad { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan .price { font-size: clamp(28px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.plan .ticks { margin: 8px 0 12px; font-size: 16px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.feat { border-color: rgba(7, 203, 16, .55); background: linear-gradient(180deg, rgba(7, 203, 16, .1), rgba(7, 203, 16, 0) 45%), var(--surface); }
.badge { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: #000; font-size: 13px; font-weight: 500; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .stat { padding: 28px 20px 30px 0; }
.stats .stat + .stat { padding-left: 24px; }

/* ---------- project detail ---------- */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 36px; }
.glance div { padding: 18px 20px 20px 0; }
.glance div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance b { display: block; margin-top: 6px; font-weight: 500; line-height: 1.35; }
.glance .hl b { color: var(--lime); }
.pd-img { margin-top: clamp(36px, 4.5vw, 56px); border-radius: var(--r); overflow: hidden; background: #0d1114; border: 1px solid var(--line); display: flex; justify-content: center; }
.pd-img img { max-height: 76vh; width: auto; max-width: 100%; object-fit: contain; }
.partner { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); }
.pairs { border-top: 1px solid var(--line); }
.pairs .row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); padding: 20px 0; border-bottom: 1px solid var(--line); }
.pairs .row p { color: var(--text-2); }
.pairs .row p:last-child { color: var(--text); }
.pairs .hd p { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--text-3) !important; }
.pairs .hd p:last-child { color: var(--lime) !important; }
.results { display: grid; gap: 10px; }
.results li { padding: 18px 20px; border-radius: 14px; background: rgba(7, 203, 16, .07); border: 1px solid rgba(7, 203, 16, .22); line-height: 1.45; display: flex; gap: 14px; }
.results li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .5em; border-radius: 3px; background: var(--lime); }
.specs { border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 15px; color: var(--text-3); }
.specs dd { font-weight: 500; }
.feat-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); color: var(--text-2); position: relative; }
.feat-list li::before { content: ""; position: absolute; left: 2px; top: 1.4em; width: 11px; height: 1.5px; background: var(--lime); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery > * { border-radius: 14px; overflow: hidden; background: #0d1114; aspect-ratio: 4 / 3; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pnav a { padding: 22px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s; }
.pnav a:hover { border-color: var(--lime); }
.pnav a:last-child { text-align: right; }
.pnav b { display: block; margin-top: 6px; font-weight: 500; font-size: 18px; letter-spacing: -.01em; }

/* ---------- long-form case studies ---------- */
.cs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; }
.toc p { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc ol { border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; color: var(--text-3); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--lime); border-color: var(--lime); }
.cs-section { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.cs-section:first-child { border-top: 0; padding-top: 0; }
.cs-section > .label { color: var(--accent); display: block; margin-bottom: 14px; }
.cs-content > * + * { margin-top: 20px; }
.cs-content h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.03em; line-height: 1.08; }
.cs-content h3 { font-size: 21px; letter-spacing: -.015em; margin-top: 34px; }
.cs-content p { color: var(--text-2); max-width: 70ch; }
.cs-content ul.bul { border-top: 1px solid var(--line); }
.cs-content ul.bul li { padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); color: var(--text-2); position: relative; }
.cs-content ul.bul li::before { content: ""; position: absolute; left: 2px; top: 1.35em; width: 10px; height: 1.5px; background: var(--lime); }
.cs-content figure { border-radius: 14px; overflow: hidden; background: #fff; }
.cs-content figure img { width: 100%; height: auto; }
.cs-content figcaption { background: var(--graphite); color: var(--text-2); font-size: 14px; padding: 12px 16px; }
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cs-stats div { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cs-stats b { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; color: var(--lime); }
.cs-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-3); line-height: 1.4; }
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.cs-cards > div { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cs-cards .n { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.cs-cards .k { display: block; font-size: 13.5px; color: var(--text-3); }
.cs-cards b { display: block; font-weight: 500; font-size: 17px; margin-top: 4px; line-height: 1.3; }
.cs-cards p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.cs-content .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.cs-content table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.cs-content th, .cs-content td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cs-content th { font-size: 14px; color: var(--text-3); font-weight: 500; background: var(--surface); }
.cs-content td { color: var(--text-2); }
.cs-content td:first-child { color: var(--text); font-weight: 500; }
.cs-content tr:last-child td { border-bottom: 0; }
.cs-content blockquote { font-size: clamp(21px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; padding-left: 22px; border-left: 3px solid var(--lime); max-width: 36ch; }
.cs-content .kicker { font-size: 15px; font-weight: 500; color: var(--text); }
.more { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.more > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; font-weight: 500; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary span { color: var(--text-3); font-weight: 400; font-size: 15px; }
.more > summary:hover { color: var(--lime); }
.more-body { padding: 4px 18px 22px; }
.more-body > * + * { margin-top: 18px; }
.glance-box { border: 1px solid rgba(7, 203, 16, .35); background: linear-gradient(180deg, rgba(7, 203, 16, .08), rgba(7, 203, 16, 0) 60%); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); margin-top: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.glance-box h2 { font-size: 15px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); font-weight: 500; }
.glance-box dl { margin-top: 14px; display: grid; gap: 14px; }
.glance-box dt { font-size: 14px; color: var(--text-3); }
.glance-box dd { color: var(--text); margin-top: 2px; }

/* guide */
.guide { max-width: 820px; }
.guide h2 { margin-top: 64px; }
.guide h3 { margin-top: 30px; font-size: 21px; }
.guide p { margin-top: 12px; color: var(--text-2); }
.guide ol { margin-top: 16px; border-top: 1px solid var(--line); }
.guide ol li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .95); display: none; flex-direction: column; }
.lb.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gut); color: #fff; }
.lb-top b { font-weight: 500; }
.lb-count { color: #aab1b7; margin-left: 10px; font-size: 14.5px; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 calc(var(--gut) + 48px); min-height: 0; position: relative; }
.lb-stage-media { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; background: #fff; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: var(--lime); color: #000; border-color: var(--lime); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: var(--gut); } .lb-next { right: var(--gut); }
.lb-bottom { padding: 16px var(--gut) 22px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.lb-dot.on { background: var(--lime); }

.empty { padding: clamp(28px, 4vw, 48px); border-radius: var(--r); border: 1px dashed var(--line-2); }

/* ---------- reveal (opacity-led, short travel) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .caps { grid-template-columns: 1fr 1fr; }
  .products, .feature { grid-template-columns: 1fr; }
  .plans, .capgrid { grid-template-columns: 1fr 1fr; }
  .lab, .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .phases { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .phase:nth-child(3) { padding-left: 0; border-left: 0; }
  .phase:nth-child(3)::before { left: 0; }
  .cs-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .product { min-height: 540px; }
  .feature .media { min-height: 300px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  :root { --pad: 64px; }
  .vhero { min-height: max(560px, 88svh); }
  .vhero-pause { bottom: auto; top: calc(var(--nav-h) + 28px); }
  .split, .split.even, .glance-box { grid-template-columns: 1fr; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .sticky { position: static; }
  .g2, .g3, .g4, .plans, .capgrid, .offices, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stats, .glance { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(3), .glance div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats .stat:nth-child(n+3), .glance div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team { grid-template-columns: 1fr 1fr; }
  .team { grid-auto-rows: 200px; }
  .team figure:first-child { grid-column: 1 / -1; }
  .f-offices { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .form .two, .pairs .row { grid-template-columns: 1fr; gap: 6px; }
  .pairs .hd { display: none; }
  .pairs .row p:first-child::before { content: "Challenge — "; color: var(--text-3); }
  .pairs .row p:last-child::before { content: "Solution — "; color: var(--lime); }
  .faq .ans { padding-right: 0; }
  .pnav { grid-template-columns: 1fr; }
  .pnav a:last-child { text-align: left; }
  .product ul { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 var(--gut); }
  .lb-nav { top: auto; bottom: -64px; transform: none; }
}
@media (max-width: 560px) {
  :root { --nav-h: 58px; }
  .nav { inset: 10px 10px auto; padding-left: 18px; }
  .nav-logo img { height: 18px; }
  .caps, .phases, .lab, .f-top { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid li { height: 64px; padding: 10px 12px; }
  .phase + .phase { padding-left: 0; border-left: 0; }
  .phase + .phase::before { left: 0; }
  .stat + .stat, .stats .stat + .stat { padding-left: 16px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .btns .btn { flex: 1 1 auto; }
  .num { font-size: 44px; }
}

/* portfolio on phones: image + title only, two columns */
@media (max-width: 560px) {
  #pf-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  #pf-grid .card-body { padding: 12px 12px 14px; gap: 4px; }
  #pf-grid .card-body p, #pf-grid .views { display: none; }
  #pf-grid .h4 { font-size: 15px; }
  #pf-grid .tag { font-size: 12.5px; }
}

/* visual-pass fixes */
.product .bg img { object-position: 50% 0; }
.more[open] > summary span { font-size: 0; }
.more[open] > summary span::after { content: "Hide"; font-size: 15px; }
.media img.left { object-position: 0 50%; }
.media img.right { object-position: 100% 50%; }
.pulse-mods h3 { margin-top: 0; }
@media (max-width: 860px) {
  .product { min-height: 0; }
  .product .bg { position: relative; inset: auto; height: 220px; }
  .product .bg::after, .product.alt .bg::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(7,9,11,.92) 100%); }
  .product .bg img { object-position: 88% 0; }
  .product { background: #07090b; }
  .product-body { padding-top: 8px; }
  .caps .media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
