/* Shared design system for the fleet. Per-site tokens (--accent, --accent-2,
   --accent-rgb, --bg) are injected inline in each page head. */

:root {
  --bg: #05070a;
  --bg-2: #090c11;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #eef1f5;
  --muted: rgba(238, 241, 245, 0.64);
  --faint: rgba(238, 241, 245, 0.4);
  --accent: #45c4e8;
  --accent-2: #9be6f8;
  --accent-rgb: 69, 196, 232;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius: 20px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--accent-rgb), 0.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

main { overflow-x: clip; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* ── type ───────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.h-xl, .h-lg, .h-md, .h-sm { font-family: var(--display); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
.h-xl { font-size: clamp(44px, 7.4vw, 108px); }
.h-lg { font-size: clamp(36px, 5.2vw, 76px); }
.h-md { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; }
.h-sm { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--muted); max-width: 46ch; margin: 22px 0 0; }
.accent { color: var(--accent); }
.grad {
  background: linear-gradient(100deg, var(--text) 10%, var(--accent-3, var(--accent-2)) 55%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
  cursor: pointer; border: 0; font-family: var(--body);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #031016; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5), 0 10px 40px -10px rgba(var(--accent-rgb), 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.12), 0 18px 50px -12px rgba(var(--accent-rgb), 0.75); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── header ─────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.site-header.solid {
  background: rgba(5, 7, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-word { height: var(--logo-h, 30px); width: auto; display: block; }
.footer-about .brand-word { height: calc(var(--logo-h, 30px) - 2px); }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav-drop > button {
  padding: 9px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 500;
  background: none; border: 0; font-family: var(--body); cursor: pointer; transition: color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-drop { position: relative; }
.nav-drop svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 560px; padding: 14px; border-radius: 18px;
  background: rgba(12, 15, 20, 0.96); box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel, .nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-panel a { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.drop-panel a:hover { background: var(--surface-2); color: var(--text); }
.drop-panel a small { color: var(--faint); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.header-phone:hover { color: var(--text); }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 0; color: var(--text); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.6px; background: currentColor; margin: 4px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 89; background: rgba(5, 7, 10, 0.98);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.mobile-menu .mm-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 26px 0 6px; }
.mobile-menu .mm-svc a { font-size: 16px; color: var(--muted); padding: 11px 0; }
.mobile-menu .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ── film ───────────────────────────────────────────── */
.film-track { position: relative; height: 640vh; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.film-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, rgba(5, 7, 10, 0.85) 100%),
    linear-gradient(to bottom, rgba(5, 7, 10, 0.75), transparent 16%, transparent 80%, rgba(5, 7, 10, 0.95));
}
.film-screens { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.film-scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; }
.film-scrim.l { background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0.82) 30%, rgba(var(--bg-rgb), 0) 62%); }
.film-scrim.r { background: linear-gradient(270deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0.82) 30%, rgba(var(--bg-rgb), 0) 62%); }
.film-scrim.b { background: linear-gradient(0deg, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.6) 12%, rgba(var(--bg-rgb), 0) 26%); }
.film-screens .scr { position: absolute; overflow: hidden; opacity: 0; transition: opacity 0.6s var(--ease); }
.film-screens .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity 0.7s var(--ease); }
.film-screens .scr img.on { opacity: 1; }
.film-screens .scr.phone { border-radius: 9% / 4.5%; }
.film-screens.live .scr { opacity: 1; }
.cap {
  position: absolute; z-index: 5; opacity: 0; pointer-events: none; will-change: opacity, transform;
  max-width: min(640px, 86vw);
}
.cap.interactive { pointer-events: auto; }
.cap .h-xl { font-size: clamp(42px, 6.6vw, 98px); }
.cap .h-lg { font-size: clamp(34px, 4.8vw, 70px); }
.cap p { color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); margin: 18px 0 0; max-width: 40ch; }
.cap-l { left: max(var(--gutter), 6vw); top: 50%; }
.cap-r { right: max(var(--gutter), 6vw); top: 50%; text-align: right; }
.cap-r p { margin-left: auto; }
.cap-t { left: 50%; top: 13vh; text-align: center; }
.cap-t p { margin-left: auto; margin-right: auto; }
/* closing caption: one slim row under the devices, so the client sites on the screens stay clear */
.cap-b { left: 50%; bottom: 3.5vh; max-width: none; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); white-space: nowrap; }
.cap-b .h-lg, .cap-b .h-xl { font-size: clamp(24px, 2.5vw, 38px); margin: 0 !important; }
.cap-b .btn-row { margin: 0; flex-wrap: nowrap; }
.scroll-cue {
  position: absolute; z-index: 6; left: 50%; bottom: 4vh; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity 0.4s;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.35; } }
.film-skip {
  position: absolute; z-index: 6; right: var(--gutter); bottom: 4vh;
  font-size: 13px; color: var(--faint); padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.2s, box-shadow 0.2s;
}
.film-skip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.film-loader { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; height: 2px; z-index: 7; background: transparent; }
.film-loader i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, transparent, var(--accent)); transition: width 0.25s, opacity 0.6s; }
.film-loader.done i { opacity: 0; }

/* ── sections ───────────────────────────────────────── */
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section.tight { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h-lg, .section-head .h-md { max-width: 16ch; margin-top: 18px; }
.section-head .lead { margin: 0; max-width: 42ch; }
.glow-top::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: min(900px, 100vw); height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.16), transparent);
  filter: blur(10px);
}
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after, .marquee-track { animation: none; }
}

/* manifesto */
.manifesto .h-xl { max-width: 14ch; }
.manifesto .cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.manifesto .lead { max-width: 52ch; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); }
.stat { padding: 30px 26px 0 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 650; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 22ch; }

/* client marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.02em; color: var(--faint); white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* feature case */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.feature-media { position: relative; }
.feature-media .main { border-radius: var(--radius); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); }
.blend { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 58%, transparent 100%); }
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 30px); margin-top: clamp(40px, 6vw, 80px); }
.proof-row figure { margin: 0; }
.proof-row figcaption { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: -6px; }
.proof-row img { width: 100%; will-change: transform; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 34px; background: var(--line); border-radius: 16px; overflow: hidden; }
.mini-stats div { background: var(--bg-2); padding: 20px 22px; }
.mini-stats b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1; }
.mini-stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; margin-top: 30px; }
.text-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* work cards */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.work-card {
  position: relative; grid-column: span 4; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.work-card.wide { grid-column: span 6; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(var(--accent-rgb), 0.35); }
.work-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-card .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.work-card .big { font-family: var(--display); font-weight: 650; font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.04em; line-height: 1; margin-top: 10px; }
.work-card .big small { display: block; font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.work-card h3 { margin: 0; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.work-card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.work-card .arrow { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(5, 7, 10, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--ease); }
.work-card .arrow svg { width: 15px; height: 15px; }
.work-card:hover .arrow { background: var(--accent); color: #031016; transform: rotate(-45deg); }

/* bar compare (before/after) */
.bars { display: grid; gap: 12px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.bar i { display: block; height: 10px; border-radius: 99px; background: var(--line-2); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.bar.hi i { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.5), var(--accent)); box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.5); }
.in .bar i { transform: scaleX(var(--w, 1)); }
.bar b { color: var(--text); font-family: var(--display); font-size: 15px; }

/* AI visibility band */
.ai-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ai-stack { position: relative; aspect-ratio: 16 / 13; }
.ai-stack img { position: absolute; will-change: transform; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 47%, #000 58%, transparent 100%); }
.ai-stack img:nth-child(1) { right: -6%; top: 0; width: 72%; opacity: 0.85; }
.ai-stack img:nth-child(2) { left: -4%; bottom: 0; width: 86%; }
.engines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.engines span { padding: 9px 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }

/* apps */
.app-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.app-info { display: flex; flex-direction: column; gap: 10px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -15px rgba(0, 0, 0, 0.8); }
.app-info h3 { margin: 10px 0 0; font-family: var(--display); font-size: 26px; letter-spacing: -0.025em; font-weight: 650; }
.app-info p { margin: 0; color: var(--muted); font-size: 15px; }
.store-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.store-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 600; transition: background 0.2s; }
.store-links a:hover { background: var(--surface-2); }
.store-links svg { width: 15px; height: 15px; fill: currentColor; }
.app-shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.app-shots::-webkit-scrollbar { display: none; }
.app-shots img { height: clamp(300px, 34vw, 440px); width: auto; border-radius: 22px; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.9); flex: none; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.svc {
  position: relative; background: var(--bg); padding: 34px 32px 30px; display: grid; grid-template-columns: 54px 1fr auto; gap: 6px 18px; align-items: start;
  transition: background 0.35s;
}
.svc:hover { background: var(--bg-2); }
.svc .num { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.svc h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.svc p { grid-column: 2 / 4; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.svc .price { font-family: var(--mono); font-size: 12px; color: var(--text); padding: 6px 10px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3); white-space: nowrap; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease); }
.svc:hover::after { transform: scaleY(1); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step b { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.step h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* pricing strip */
.price-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 50px; }
.price-strip div { background: var(--bg-2); padding: 26px 24px; }
.price-strip b { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1; }
.price-strip span { display: block; color: var(--muted); font-size: 14px; margin-top: 10px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 90px); background: radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), 0.22), transparent 55%), var(--bg-2); box-shadow: 0 0 0 1px var(--line-2); }
.cta-band .h-lg { max-width: 15ch; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.25), transparent); pointer-events: none; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 30px; color: var(--muted); font-size: 15px; }
.contact-lines a:hover { color: var(--text); }

/* footer */
.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: 14.5px; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin: 16px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ── inner pages ────────────────────────────────────── */
.page-hero { padding: clamp(150px, 18vw, 230px) 0 clamp(50px, 7vw, 90px); position: relative; }
.page-hero .h-xl { max-width: 15ch; margin-top: 20px; }
.page-hero .lead { max-width: 54ch; }
.crumbs { font-size: 13px; color: var(--faint); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--text); }

.case-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.case-facts div { background: var(--bg-2); padding: 18px 20px; }
.case-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.case-facts dd { margin: 6px 0 0; font-size: 15px; }
.case-hero-img { margin-top: clamp(40px, 6vw, 80px); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 60px 140px -50px rgba(0, 0, 0, 0.95); }
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden; }
.case-stats div { background: var(--bg-2); padding: 30px 26px; }
.case-stats b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 58px); letter-spacing: -0.045em; line-height: 1; }
.case-stats span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.case-body { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 100px); }
.case-body aside { position: sticky; top: 110px; align-self: start; }
.case-body aside h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.case-body aside ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.12; margin: 56px 0 16px; font-weight: 650; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin: 34px 0 10px; font-weight: 600; }
.prose p, .prose li { color: var(--muted); font-size: 17.5px; line-height: 1.75; }
.prose p strong, .prose li strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gallery { display: grid; gap: 24px; margin-top: 50px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 40px 100px -40px rgba(0, 0, 0, 0.9); width: 100%; }
.gallery img.blend { border-radius: 0; box-shadow: none; }
.gallery figcaption { color: var(--faint); font-size: 13.5px; margin-top: 12px; }
.next-case { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-case .h-md { transition: color 0.3s; }
.next-case:hover .h-md { color: var(--accent); }

.svc-hero-price { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 28px; padding: 12px 18px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.28); }
.svc-hero-price b { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; }
.svc-hero-price span { color: var(--muted); font-size: 14px; }
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.included li { padding: 20px 22px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.included li svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.included li strong { color: var(--text); display: block; font-weight: 600; margin-bottom: 2px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.015em; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }

.legal .prose { max-width: 820px; }
.legal .prose h1 { display: none; }
.sms-wrap { max-width: 760px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-2); margin-top: 30px; }
.sms-form input[type="text"], .sms-form input[type="tel"] {
  width: 100%; max-width: 420px; padding: 14px 16px; border-radius: 12px; border: 0; margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: inherit;
}
.sms-form input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgba(var(--accent-rgb), 0.15); }
.sms-form .consent-label { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.sms-form .consent-label input { margin-right: 10px; accent-color: var(--accent); width: 17px; height: 17px; vertical-align: -3px; }
.sms-form .consent-label a { color: var(--accent); }
.sms-form button { padding: 14px 30px; border-radius: 999px; border: 0; background: var(--accent); color: #031016; font-weight: 700; font-size: 15px; cursor: pointer; font-family: var(--body); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 30px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.4s var(--ease); display: block; }
a.contact-card:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45); transform: translateY(-4px); }
.contact-card small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.contact-card b { display: block; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; margin-top: 14px; font-weight: 600; word-break: break-word; }
.contact-card p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.disc { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.disc h3 { margin: 0 0 8px; font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.disc p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav, .header-cta .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .work-card, .work-card.wide { grid-column: span 6; }
  .steps, .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .manifesto .cols, .feature, .ai-band, .case-head, .case-body { grid-template-columns: 1fr; }
  .case-body aside { position: static; }
  .stats, .price-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 26px; }
  .svc-grid, .included, .contact-grid { grid-template-columns: 1fr; }
  .app-row { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; }
  .ai-stack img:nth-child(1) { right: 0; }
  .ai-stack img:nth-child(2) { left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .work-card, .work-card.wide { grid-column: span 12; }
  .steps, .disc-grid, .footer-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 40px 1fr; padding: 26px 22px; }
  .svc .price { grid-column: 2; justify-self: start; margin-top: 6px; }
  .svc p { grid-column: 2; }
  .cap-l, .cap-r { left: var(--gutter); right: var(--gutter); top: auto; bottom: 14vh; text-align: left; }
  .cap-r p { margin-left: 0; }
  .cap-t { top: 12vh; }
  .cap-b { flex-direction: column; gap: 14px; white-space: normal; text-align: center; width: calc(100% - 2 * var(--gutter)); bottom: 4vh; }
  .cap-b .btn-row { justify-content: center; }
  .film-skip { display: none; }
  .bar { grid-template-columns: 74px 1fr auto; }
}

/* ── legacy legal content (kept verbatim for compliance) ── */
.legacy { --text-2: var(--muted); --text-3: var(--faint); padding-bottom: 40px; }
.legacy .hero { position: relative; padding: clamp(150px, 18vw, 220px) 0 30px; }
.legacy .hero-glow { position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none; background: radial-gradient(60% 80% at 30% 0%, rgba(var(--accent-rgb), 0.16), transparent 70%); }
.legacy .hero-inner { position: relative; max-width: 860px; }
.legacy .hero-inner h1 { font-family: var(--display); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(40px, 6vw, 80px); margin: 18px 0 0; }
.legacy .lede { color: var(--muted); font-size: 18px; margin-top: 18px; }
.legacy .container { max-width: 900px; }
.legacy .def { padding: 26px 28px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.legacy .def-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.legacy .def p, .legacy .prose-list li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legacy .prose-list { padding-left: 20px; margin: 14px 0 0; }
.legacy .prose-list li { margin: 8px 0; }
.legacy .prose-list li::marker { color: var(--accent); }
.legacy h3 { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; margin: 24px 0 8px; }
.legacy a { color: var(--accent); }
.legacy .panel-zone { margin-top: 36px; max-width: 760px; }
.legacy .includes { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -50px rgba(var(--accent-rgb), 0.35); }
.legacy .includes .def-label { margin-bottom: 22px; }
.legacy .section { padding: 40px 0 0; }
.legacy .btn-ghost { margin-top: 24px; }

/* ── contact form ───────────────────────────────────── */
.cta-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; position: relative; z-index: 1; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(5, 7, 10, 0.55); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -50px rgba(var(--accent-rgb), 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 7px; }
.field label span { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 0; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field select option { background: #0b0f15; color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgba(var(--accent-rgb), 0.14); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.captcha-slot { min-height: 78px; display: flex; align-items: center; }
.captcha-slot .ph { font-size: 13px; color: var(--faint); }
.form-note { font-size: 12.5px; color: var(--faint); margin: 14px 0 0; }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(52, 211, 153, 0.1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35); color: #b9f5dd; }
.form-status.err { display: block; background: rgba(251, 113, 133, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35); color: #fecdd3; }
.form-card button[disabled] { opacity: 0.6; cursor: wait; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .cta-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .captcha-slot { transform: scale(0.92); transform-origin: left center; }
}

/* generated legal pages */
.legal-prose { max-width: 760px; }
.legal-prose h2 { margin-top: 2.2em; }
.legal-prose a { color: var(--accent); }
