/* GritFlair — Direction B "Precision Aurora"
   Graphite instrument panel, lit by an ember-to-tide aurora.
   Tokens first; every rule below references them. */

/* Self-hosted fonts (SIL OFL 1.1, licences in assets/fonts/). No visitor data goes to a font service. */
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("assets/fonts/sora-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* Ground and surfaces (graphite ladder) */
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --surface: #13161a;
  --surface-2: #191d22;
  --surface-3: #20252b;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(20, 23, 27, 0.56);
  --glass-strong: rgba(16, 18, 22, 0.78);

  /* Ink */
  --ink: #f4f5f7;
  --ink-2: #c8ccd3;
  --muted: #959ca8;

  /* Signature hue pair: Ember (grit) and Tide (flair), Gold only inside the aurora */
  --ember: #ff6b3d;
  --ember-hi: #ff8b62;
  --ember-ink: #1a0a04;
  --tide: #3fe0c5;
  --tide-hi: #7cf0dc;
  --gold: #ffc266;
  --danger: #ff6b6b;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step-display: clamp(2.35rem, 5.3vw, 5.25rem);
  --step-h2: clamp(1.9rem, 3.4vw, 3.4rem);
  --step-h3: clamp(1.15rem, 1.35vw, 1.4rem);
  --step-lead: clamp(1.05rem, 1.25vw, 1.25rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
  --step-mono: 0.8125rem;

  /* Space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --gutter: clamp(20px, 3vw, 40px);
  --maxw: 1320px;
  --section: clamp(96px, 12vw, 176px);

  /* Shape */
  --r-panel: 18px;
  --r-ui: 10px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 900ms;

  /* Elevation: only for things that float */
  --float-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65), 0 12px 24px -12px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--tide); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ember); color: var(--ember-ink); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2a3037 var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a3037; border-radius: 10px; border: 2px solid var(--bg); }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; transition: top var(--t-fast); }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(72px, 8vw, 120px); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }

.h2 { font-size: var(--step-h2); }
.h3 { font-size: var(--step-h3); letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.lead { font-size: var(--step-lead); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: var(--step-mono); letter-spacing: 0; }
.section-head { display: grid; gap: var(--s5); margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: var(--s7); }
.section-head--split .lead { justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #0b0c0e;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 0.975rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-mid), color var(--t-mid), border-color var(--t-mid);
}
.btn .arrow { transition: transform var(--t-mid) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--ember { --b-bg: var(--ember); --b-fg: var(--ember-ink); }
.btn--ember:hover { --b-bg: var(--ember-hi); }
.btn--light:hover { --b-bg: #ffffff; }
.btn--ghost { --b-bg: rgba(255, 255, 255, 0.04); --b-fg: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.32); --b-bg: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color var(--t-mid), color var(--t-mid); }
.textlink:hover { border-color: var(--tide); color: var(--tide-hi); }
.textlink .arrow { transition: transform var(--t-mid) var(--ease-out); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 14px; pointer-events: none; }
.site-header .bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s5);
  height: 60px; padding: 0 10px 0 20px;
  border-radius: var(--r-pill);
  background: rgba(12, 14, 17, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color var(--t-mid), border-color var(--t-mid);
}
.site-header.is-scrolled .bar { background: rgba(12, 14, 17, 0.82); border-color: var(--line-2); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 650; font-size: 1.22rem; letter-spacing: -0.045em; text-decoration: none; color: var(--ink); }
.wordmark .mark { width: 22px; height: 22px; border-radius: 7px; position: relative; overflow: hidden; background: conic-gradient(from 210deg, var(--ember), var(--gold), var(--tide), var(--ember)); }
.wordmark .mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--bg); }
.wordmark:hover .mark { animation: spinmark 1.4s var(--ease-out); }
.wordmark { flex-shrink: 0; }
.wordmark img { display: block; width: 130px; height: 26px; max-width: none; }
@keyframes spinmark { to { transform: rotate(360deg); } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 14px; border-radius: var(--r-pill); font-size: 0.94rem; color: var(--ink-2); text-decoration: none; transition: color var(--t-fast), background-color var(--t-fast); }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ember); }
.nav .btn { margin-left: 10px; color: var(--b-fg); }
.nav .btn:hover { color: var(--b-fg); background: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--t-mid) var(--ease-out); }
.menu-toggle span::before { transform: translateY(-5px); }
.menu-toggle span::after { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Aurora (signature) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--bg); }
.aurora canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.aurora.is-live canvas { opacity: 1; }
/* CSS fallback / first paint: soft fields of the same hue pair */
.aurora::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 72% 30%, rgba(255, 107, 61, 0.42), transparent 70%),
    radial-gradient(38% 40% at 88% 58%, rgba(63, 224, 197, 0.32), transparent 70%),
    radial-gradient(30% 30% at 58% 12%, rgba(255, 194, 102, 0.22), transparent 70%);
  filter: blur(30px);
  animation: drift 22s var(--ease-io) infinite alternate;
}
.aurora.is-live::before { opacity: 0; transition: opacity 1.4s; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.aurora .grain { position: absolute; inset: 0; background-image: url("assets/grain.svg"); background-size: 220px; opacity: 0.18; mix-blend-mode: overlay; pointer-events: none; }
.aurora .scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 11, 13, 0.82) 0%, rgba(10, 11, 13, 0.45) 42%, rgba(10, 11, 13, 0) 70%), linear-gradient(180deg, rgba(10, 11, 13, 0) 60%, var(--bg) 100%); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: center; padding-top: 120px; padding-bottom: 72px; isolation: isolate; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: var(--s7); }
.hero-grid > .hero-copy { display: contents; }
.hero-grid h1 { grid-column: 1 / -1; }
.hero-grid .sub, .hero-grid .btn-row, .hero-grid .tagline { grid-column: 1; }
.hero-grid .stack { grid-column: 2; grid-row: 2 / span 3; margin-top: -40px; }
.hero h1 { font-size: clamp(2rem, 6vw, 5.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 .line { white-space: nowrap; display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero .sub { margin-top: 36px; max-width: 34em; font-size: var(--step-lead); color: var(--ink-2); line-height: 1.55; }
.hero .btn-row { margin-top: 36px; }
.hero .tagline { margin-top: 44px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.hero .tagline::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }

/* Masked headline reveal (signature move) */
.js .reveal-lines .line > span { transform: translateY(105%); }
.js.is-loaded .reveal-lines .line > span { transform: none; transition: transform var(--t-slow) var(--ease-out); }
.js.is-loaded .reveal-lines .line:nth-child(2) > span { transition-delay: 110ms; }
.js .reveal-after { opacity: 0; transform: translateY(14px); }
.js.is-loaded .reveal-after { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) 480ms, transform 700ms var(--ease-out) 480ms; }

/* ---------- Product UI fragments (data-ui) ---------- */
[data-ui] { font-family: var(--font-text); font-size: 13px; line-height: 1.4; color: var(--ink); font-weight: 400; letter-spacing: -0.005em; }
[data-ui] .ui-mono, [data-ui] .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ui-card {
  position: relative; border-radius: 16px; padding: 16px;
  background: linear-gradient(180deg, rgba(30, 34, 40, 0.72), rgba(16, 18, 22, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ui-title { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.ui-sub { color: var(--muted); font-size: 12px; }
.ui-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; background: rgba(255, 255, 255, 0.06); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.07); }
.ui-tag--ember { background: rgba(255, 107, 61, 0.14); color: #ffb196; border-color: rgba(255, 107, 61, 0.25); }
.ui-tag--tide { background: rgba(63, 224, 197, 0.12); color: var(--tide-hi); border-color: rgba(63, 224, 197, 0.22); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tide); display: inline-block; }
.dot--ember { background: var(--ember); }
.dot--live { box-shadow: 0 0 0 0 rgba(63, 224, 197, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(63, 224, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 197, 0); } }
.sample { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding: 2px 7px; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 6px; white-space: nowrap; }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: var(--ink); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.ui-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.ui-btn:active { transform: scale(0.97); }
.ui-btn--primary { background: var(--ember); color: var(--ember-ink); border-color: transparent; font-weight: 600; }
.ui-btn--primary:hover { background: var(--ember-hi); }
.ui-btn[aria-pressed="true"] { background: rgba(63, 224, 197, 0.14); border-color: rgba(63, 224, 197, 0.4); color: var(--tide-hi); }
.bar-track { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ember), var(--gold)); transform-origin: left; }
.bar-fill--tide { background: linear-gradient(90deg, #26b9a0, var(--tide)); }

/* Card stack in the hero */
.stack { position: relative; height: 520px; perspective: 1400px; }
.stack-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform 600ms var(--ease-out); }
.stack .ui-card { position: absolute; box-shadow: var(--float-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07); will-change: transform; }
.stack .c-pipe { width: 430px; left: 4%; top: 6%; transform: translateZ(0px); animation: floatA 9s var(--ease-io) infinite alternate; }
.stack .c-target { width: 290px; right: 0; top: 40%; transform: translateZ(80px); animation: floatB 7.5s var(--ease-io) infinite alternate; }
.stack .c-field { width: 320px; left: 0; bottom: 2%; transform: translateZ(140px); animation: floatC 8.5s var(--ease-io) infinite alternate; }
@keyframes floatA { to { transform: translateZ(0px) translateY(-10px); } }
@keyframes floatB { to { transform: translateZ(80px) translateY(12px); } }
@keyframes floatC { to { transform: translateZ(140px) translateY(-8px); } }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kcol { display: grid; gap: 6px; align-content: start; }
.kcol .kh { font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 2px; font-family: var(--font-text); }
.lead-chip { padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.07); font-size: 11.5px; line-height: 1.3; transition: transform var(--t-fast), border-color var(--t-fast), background-color var(--t-fast); }
.lead-chip b { display: block; font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.lead-chip span { color: var(--muted); }
.lead-chip:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.18); }
.lead-chip.is-hot { border-color: rgba(255, 107, 61, 0.45); background: rgba(255, 107, 61, 0.09); }
.lead-chip.is-won { border-color: rgba(63, 224, 197, 0.35); background: rgba(63, 224, 197, 0.07); }

.ring { width: 92px; height: 92px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 17px; font-weight: 500; }
.target-row { display: flex; gap: 14px; align-items: center; }
.target-meta { display: grid; gap: 6px; font-size: 12px; }
.target-meta div { display: flex; justify-content: space-between; gap: 14px; }

.checkin { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: linear-gradient(135deg, rgba(63, 224, 197, 0.35), rgba(63, 224, 197, 0.08)); color: var(--tide-hi); }
.avatar--ember { background: linear-gradient(135deg, rgba(255, 107, 61, 0.4), rgba(255, 107, 61, 0.08)); color: #ffc3ad; }
.minimap { margin-top: 12px; height: 92px; border-radius: 10px; overflow: hidden; position: relative; background: #0f1215; border: 1px solid rgba(255, 255, 255, 0.07); }
.minimap svg { width: 100%; height: 100%; }
.actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- What we solve (live selector) ---------- */
.solver { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s6); align-items: stretch; }
.problems { display: grid; gap: 8px; align-content: start; }
.problem {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015);
  cursor: pointer; transition: background-color var(--t-mid), border-color var(--t-mid), transform var(--t-fast);
}
.problem:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); }
.problem:active { transform: scale(0.995); }
.problem .p-q { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.problem .p-a { display: block; margin-top: 4px; font-size: 0.94rem; color: var(--muted); transition: color var(--t-mid); }
.problem .chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color var(--t-mid), border-color var(--t-mid), transform var(--t-mid) var(--ease-out); }
.problem[aria-selected="true"] { border-color: rgba(255, 107, 61, 0.45); background: rgba(255, 107, 61, 0.08); }
.problem[aria-selected="true"] .p-a { color: var(--ink); }
.problem[aria-selected="true"] .chev { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); transform: rotate(-45deg); }
.answer-stage { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: 480px; border: 1px solid var(--line); background: var(--bg-2); isolation: isolate; }
.answer-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 80% 10%, rgba(255, 107, 61, 0.2), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(63, 224, 197, 0.14), transparent 70%); }
.answer { position: absolute; inset: 0; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.answer[hidden] { display: none; }
.js .answer.is-entering { animation: answerIn 520ms var(--ease-out); }
@keyframes answerIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.answer .statement { font-family: var(--font-display); font-weight: 550; font-size: clamp(1.25rem, 1.7vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.22; max-width: 28ch; }
.answer .answer-ui { align-self: end; }

/* Mini mockups inside answers */
.mock-site { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #0d0f12; }
.mock-site .chrome { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); align-items: center; }
.mock-site .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.mock-site .chrome .url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mock-site .body { padding: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; }
.mock-site .big { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; }
.mock-site .ph { aspect-ratio: 4/3; border-radius: 10px; background: url("assets/india-night.webp") center/cover; }
.vitals { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 22px 18px; }
.ads-rows { display: grid; gap: 8px; }
.ads-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 12px; align-items: center; font-size: 12.5px; }
.flow { display: grid; gap: 10px; }
.flow-step { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.flow-step .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(63, 224, 197, 0.12); color: var(--tide-hi); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.kpi .k { color: var(--muted); font-size: 11.5px; }
.kpi .v { font-family: var(--font-mono); font-size: 20px; font-weight: 500; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .d { font-size: 11.5px; margin-top: 2px; }
.up { color: var(--tide-hi); }
.down { color: #ff9c80; }
.spark { height: 64px; margin-top: 10px; }

/* ---------- Two ways ---------- */
.ways { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s5); }
.way { position: relative; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); padding: clamp(28px, 3vw, 44px); overflow: hidden; display: grid; gap: 22px; align-content: start; isolation: isolate; transition: border-color var(--t-mid); }
.way:hover { border-color: var(--line-2); }
.way::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t-mid); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 107, 61, 0.14), transparent 60%); }
.way:hover::after { opacity: 1; }
.way h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -0.035em; }
.way p { color: var(--ink-2); max-width: 46ch; }
.way--crm .crop { margin: 8px calc(-1 * clamp(28px, 3vw, 44px)) calc(-1 * clamp(28px, 3vw, 44px)) clamp(28px, 3vw, 44px); border-top-left-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-right: 0; border-bottom: 0; background: #0f1215; padding: 18px; }
.svc-list { display: grid; gap: 0; margin-top: 4px; }
.svc-list li { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list li span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }

/* ---------- Market switch (one control, blown up) ---------- */
.market { position: relative; min-height: 92svh; overflow: hidden; isolation: isolate; display: flex; align-items: stretch; transition: background-color 700ms var(--ease-out); background: #170c08; }
.market[data-market="us"] { background: #07101a; }
.market .photo { position: absolute; inset: 0; z-index: -2; }
.market .photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 900ms var(--ease-out), transform 2400ms var(--ease-out); }
.market .photo img.is-on { opacity: 0.8; transform: scale(1.0); }
.market::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.6) 45%, rgba(10, 11, 13, 0.15) 100%), linear-gradient(0deg, rgba(10, 11, 13, 0.8), transparent 40%); }
.market .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s7); align-items: center; padding-block: var(--section); }
.market h2 { font-size: var(--step-h2); }
.market h2 .swap { color: inherit; display: inline-block; }
.market .lead { margin-top: 24px; }
.market .credit { position: absolute; right: var(--gutter); bottom: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.switch-ui { font-size: clamp(15px, 1.5vw, 22px); }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 0.3em; border-radius: 1em; background: rgba(10, 11, 13, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); position: relative; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.seg .thumb { position: absolute; top: 0.3em; bottom: 0.3em; left: 0.3em; width: calc(50% - 0.3em); border-radius: 0.75em; background: var(--ink); transition: transform 520ms var(--ease-out); }
.seg[data-active="us"] .thumb { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 0.7em 1.6em; font-size: 2.2em; font-weight: 600; letter-spacing: -0.04em; color: var(--ink-2); border-radius: 0.6em; transition: color 400ms; min-width: 4.2em; }
.seg button[aria-pressed="true"] { color: #0b0c0e; }
.settings { margin-top: 1em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5em; max-width: 30em; }
.setting { padding: 0.8em 1em; border-radius: 0.8em; background: rgba(10, 11, 13, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.setting .k { font-size: 13px; color: var(--muted); }
.setting .v { font-family: var(--font-mono); font-size: 0.9em; margin-top: 0.2em; transition: opacity 300ms; }
.setting .v.is-swapping { opacity: 0; }

/* ---------- Process: one card, four fields ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 68svh; }
.field { position: relative; padding: clamp(24px, 2.4vw, 40px); display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.field:nth-child(1) { background: #0e1013; }
.field:nth-child(2) { background: #14171b; }
.field:nth-child(3) { background: #1b1f25; }
.field:nth-child(4) { background: #2a1610; }
.field .fhead { min-height: 1.2em; }
.field .fhead h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.field .tcard { align-self: center; justify-self: center; width: min(296px, 100%); transition: transform 260ms var(--ease-out); }
.field:hover .tcard { transform: translateY(-6px); }
.field .clause { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.2; font-weight: 500; }
.field .clause small { display: block; margin-top: 10px; font-family: var(--font-text); font-size: 0.95rem; font-weight: 350; letter-spacing: 0; color: var(--ink-2); line-height: 1.5; }
.tcard .row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tcard .row:first-of-type { border-top: 0; }
.tcard .row span:first-child { color: var(--muted); }
.check { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 3px 0; }
.check i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.25); flex: none; display: grid; place-items: center; }
.check.on i { background: var(--tide); border-color: var(--tide); }
.check.on i::after { content: ""; width: 6px; height: 3px; border-left: 1.5px solid #062; border-bottom: 1.5px solid #062; transform: rotate(-45deg) translate(0, -1px); }

/* ---------- Why (spec sheet) ---------- */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
.spec li { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 32px 0; border-top: 1px solid var(--line); }
.spec li h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.15; }
.spec li p { color: var(--ink-2); max-width: 44ch; }

/* ---------- Founder teaser / letter ---------- */
.founder-teaser { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line); }
.portrait .aurora { border-radius: inherit; }
.portrait .aurora .scrim { background: linear-gradient(180deg, rgba(10, 11, 13, 0) 40%, rgba(10, 11, 13, 0.7) 100%); }
.portrait .portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 1; }
.portrait:has(.portrait-img)::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(120% 90% at 50% 35%, rgba(10,11,13,0) 55%, rgba(10,11,13,0.35) 100%), linear-gradient(180deg, rgba(10,11,13,0) 58%, rgba(10,11,13,0.82) 100%); }
.portrait .mono-mark { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.portrait .mono-mark span { font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 11vw, 9.5rem); letter-spacing: -0.08em; color: rgba(255, 255, 255, 0.92); line-height: 1; mix-blend-mode: overlay; }
.portrait .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 0.9rem; }
.portrait .cap b { font-weight: 600; display: block; }
.portrait .cap span { color: var(--ink-2); }
.portrait .sample { font-size: 13px; color: var(--ink-2); }
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.28; font-weight: 450; max-width: 26ch; margin: 0; }
.quote-by { margin-top: 28px; display: flex; gap: 14px; align-items: center; color: var(--ink-2); }

/* ---------- CTA (first step, already open) ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; min-height: 88svh; display: flex; align-items: center; }
.cta .aurora .scrim { background: linear-gradient(90deg, rgba(10, 11, 13, 0.75), rgba(10, 11, 13, 0.25) 60%, rgba(10, 11, 13, 0.5)), linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%); }
.cta .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s8); align-items: center; padding-block: var(--section); }
.cta h2 { font-size: clamp(1.7rem, 4.4vw, 4.4rem); letter-spacing: -0.045em; line-height: 0.98; }
.lines .line { display: block; white-space: nowrap; }
.crm-h1 { font-size: clamp(1.7rem, 4.4vw, 4.2rem) !important; max-width: none !important; }
.cta .lead { margin-top: 28px; }
.dialog { border-radius: 18px; padding: 22px; background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: var(--float-shadow); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.dialog .ui-title { font-size: 15px; }
.dlg-field { margin-top: 14px; display: grid; gap: 6px; }
.dlg-field label { font-size: 12px; color: var(--ink-2); }
.dlg-field textarea { width: 100%; min-height: 96px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.3); font-size: 14px; line-height: 1.5; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.dlg-field textarea:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px rgba(63, 224, 197, 0.18); }
.minseg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); }
.minseg button { height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.minseg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.dialog .btn { width: 100%; margin-top: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: 168px; padding-bottom: clamp(72px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.0; max-width: 18ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero .aurora .scrim { background: linear-gradient(90deg, rgba(10, 11, 13, 0.85) 0%, rgba(10, 11, 13, 0.4) 55%, rgba(10, 11, 13, 0.15) 100%), linear-gradient(180deg, transparent 55%, var(--bg) 100%); }

/* ---------- CRM dashboard ---------- */
.dash-wrap { position: relative; margin-top: clamp(-40px, -3vw, -20px); z-index: 3; }
.dash { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.11); background: rgba(13, 15, 18, 0.9); box-shadow: var(--float-shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.dash-side { padding: 16px 12px; border-right: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.015); display: grid; align-content: start; gap: 2px; }
.dash-side .brand { display: flex; align-items: center; gap: 8px; padding: 6px 10px 18px; font-weight: 600; font-size: 14px; letter-spacing: -0.02em; }
.dash-side button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; border: 0; background: none; color: var(--ink-2); font-size: 13px; text-align: left; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.dash-side button:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.dash-side button[aria-current="true"] { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.dash-side button svg { width: 16px; height: 16px; opacity: 0.8; flex: none; }
.dash-side .sep { height: 1px; background: rgba(255, 255, 255, 0.07); margin: 10px 4px; }
.dash-side .who { margin-top: 18px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 12px; color: var(--muted); }
.dash-main { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-top .ui-h { font-size: 17px; letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; margin-right: auto; }
.search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.25); color: var(--muted); font-size: 12.5px; min-width: 200px; }
.search kbd { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 1px 5px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.14); }
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
.panel { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.025); padding: 14px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tabs-mini { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); }
.tabs-mini button { height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 12px; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.tabs-mini button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pipeline .kcol .kh { font-size: 11.5px; }
.pipeline .lead-chip { cursor: pointer; display: block; width: 100%; text-align: left; color: var(--ink); font: inherit; font-size: 11.5px; }
.pipeline .lead-chip > span:not(.meta) { display: block; }
.pipeline .lead-chip[aria-pressed="true"] { border-color: var(--tide); background: rgba(63, 224, 197, 0.1); }
.pipeline .lead-chip .meta { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
.lead-detail { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 12.5px; min-height: 48px; }
.lead-detail b { font-weight: 600; }
.chart { position: relative; }
.chart svg { width: 100%; height: 220px; overflow: visible; }
.chart .bar { transition: opacity var(--t-fast), height 600ms var(--ease-out), y 600ms var(--ease-out); cursor: pointer; }
.chart .bar:hover, .chart .bar:focus-visible { opacity: 1 !important; outline: none; }
.chart .tip { position: absolute; pointer-events: none; padding: 6px 9px; border-radius: 8px; background: #f4f5f7; color: #0b0c0e; font-size: 12px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity var(--t-fast); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.6); font-family: var(--font-mono); }
.chart .tip.is-on { opacity: 1; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.mapbox { position: relative; height: 270px; border-radius: 10px; overflow: hidden; background: #0c0f12; border: 1px solid rgba(255, 255, 255, 0.07); }
.mapbox svg { width: 100%; height: 100%; }
.pin { cursor: pointer; }
.pin circle.halo { transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease-out) infinite; }
@keyframes halo { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.6); opacity: 0; } }
.pin:focus-visible { outline: none; }
.pin:focus-visible circle.core, .pin[aria-pressed="true"] circle.core { stroke: #fff; stroke-width: 2.5; }
.map-card { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(13, 15, 18, 0.88); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; font-size: 12px; }
.map-card .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
.team-list { display: grid; gap: 6px; margin-top: 10px; }
.team-list div { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); }
.module { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; position: relative; isolation: isolate; transition: background-color var(--t-mid); }
.module::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t-mid); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 224, 197, 0.1), transparent 60%); }
.module:hover::after { opacity: 1; }
.module h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -0.03em; }
.module .mlabel { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.9rem; }
.module .mlabel svg { width: 20px; height: 20px; color: var(--ember); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { list-style: none; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast); }
.chips li:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--ink); }
.chain { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.chain span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.chain i { color: var(--ember); font-style: normal; }

.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.note { border-radius: var(--r-panel); padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; align-content: start; }
.note h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -0.035em; }
.note p { color: var(--ink-2); max-width: 46ch; }
.note--photo { position: relative; overflow: hidden; isolation: isolate; border-color: rgba(255, 107, 61, 0.28); background: #120c09; }
.note--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.7; transition: transform 2.4s var(--ease-out); }
.note--photo:hover img { transform: scale(1.04); }
.note--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.45)); }
.status-line { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.service { position: relative; border-radius: var(--r-panel); padding: 30px 28px 28px; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; overflow: hidden; isolation: isolate; transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out); }
.service:hover { border-color: var(--line-2); transform: translateY(-4px); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t-mid); background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 107, 61, 0.16), transparent 60%); }
.service:hover::after { opacity: 1; }
.service .glyph { width: 44px; height: 44px; color: var(--ink); }
.service h2 { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.15; }
.service .value { color: var(--ink-2); margin-top: -6px; }
.service ul { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); align-content: start; }
.service li { list-style: none; display: flex; gap: 10px; align-items: baseline; font-size: 0.98rem; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--ember); transform: translateY(-2px); }
.service .btn { justify-self: start; margin-top: 6px; }
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.engage li { list-style: none; padding: 28px; border-radius: var(--r-panel); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.engage h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.engage p { color: var(--ink-2); }
.sources { margin-top: var(--s7); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); padding: 28px 32px; border-radius: var(--r-panel); border: 1px solid var(--line); background: linear-gradient(90deg, rgba(63, 224, 197, 0.08), rgba(255, 107, 61, 0.08)); }
.sources p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.025em; font-weight: 500; }

/* Process strip (compact) */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: none; }
.strip li { list-style: none; position: relative; padding-top: 28px; }
.strip li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ember), var(--gold) 50%, var(--tide)); background-size: 400% 100%; }
.strip li:nth-child(1)::before { background-position: 0% 0; }
.strip li:nth-child(2)::before { background-position: 33% 0; }
.strip li:nth-child(3)::before { background-position: 66% 0; }
.strip li:nth-child(4)::before { background-position: 100% 0; }
.strip h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.strip p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Founder page ---------- */
.founder-hero { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s8); align-items: end; }
.founder-hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.0; }
.bio { margin-top: 32px; font-size: var(--step-lead); line-height: 1.6; color: var(--ink); max-width: 38em; }
.howi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.howi li { list-style: none; padding: 32px 28px; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 40px; align-content: space-between; min-height: 230px; transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out); }
.howi li:hover { border-color: var(--line-2); transform: translateY(-3px); }
.howi .order { font-family: var(--font-mono); font-size: 13px; color: var(--ember); }
.howi p { font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.65rem); letter-spacing: -0.03em; line-height: 1.2; font-weight: 500; }
.skills { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.skill-list li { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -0.03em; font-weight: 500; transition: padding-left var(--t-mid) var(--ease-out), color var(--t-mid); }
.skill-list li:last-child { border-bottom: 1px solid var(--line); }
.skill-list li:hover { padding-left: 10px; color: var(--tide-hi); }
.skill-list li svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.profile-links { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s6); align-items: start; }
.form { border-radius: 22px; padding: clamp(24px, 3vw, 40px); background: var(--glass-strong); border: 1px solid var(--line-2); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: grid; gap: 20px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: grid; gap: 8px; }
.fld label { font-size: 0.92rem; color: var(--ink-2); font-weight: 450; }
.fld .opt { color: var(--muted); font-weight: 350; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.32); color: var(--ink); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.fld textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8ccd3' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fld select option { background: #14171b; color: var(--ink); }
.fld input::placeholder, .fld textarea::placeholder { color: #7f8692; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 4px rgba(63, 224, 197, 0.16); background: rgba(0, 0, 0, 0.42); }
.fld[data-invalid] input, .fld[data-invalid] textarea { border-color: var(--danger); }
.fld .err { font-size: 0.86rem; color: #ff9c9c; display: none; }
.fld[data-invalid] .err { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: 0.9rem; color: var(--muted); max-width: 32ch; }
.thanks { display: none; text-align: left; gap: 18px; }
.form.is-sent > :not(.thanks) { display: none; }
.form.is-sent .thanks { display: grid; animation: answerIn 600ms var(--ease-out); }
.thanks .tick { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(63, 224, 197, 0.14); color: var(--tide-hi); }
.thanks h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.thanks p { color: var(--ink-2); max-width: 44ch; }
.direct { display: grid; gap: var(--s4); }
.direct-card { padding: 26px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.direct-card .k { color: var(--muted); font-size: 0.9rem; }
.direct-card a.v, .direct-card .v { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.025em; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.direct-card a.v:hover { color: var(--tide-hi); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.socials a { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 0.92rem; text-decoration: none; color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast); }
.socials a:hover { border-color: var(--tide); color: var(--ink); background: rgba(63, 224, 197, 0.06); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(80px, 10vw, 140px); padding-bottom: 32px; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.6fr)); gap: var(--s7); }
.foot-top h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; font-weight: 500; max-width: 18ch; line-height: 1.2; }
.foot-col h3 { font-size: 0.9rem; font-weight: 450; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; font-family: var(--font-text); }
.foot-col ul { display: grid; gap: 10px; }
.foot-col li { list-style: none; }
.foot-col a { text-decoration: none; color: var(--ink); transition: color var(--t-fast); }
.foot-col a:hover { color: var(--tide-hi); }
.foot-crop { margin-top: clamp(56px, 8vw, 110px); height: calc((min(100vw, 1400px) - 2 * var(--gutter)) / 3.45 * 0.56); overflow: hidden; }
.foot-word { margin-top: 0; font-family: var(--font-display); font-weight: 650; letter-spacing: -0.07em; line-height: 0.8; font-size: calc((min(100vw, 1400px) - 2 * var(--gutter)) / 3.45); color: #2c3138; user-select: none; white-space: nowrap; margin-left: -0.04em; }
.foot-base { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--muted); font-size: 0.875rem; }
.foot-base .credits { flex-basis: 100%; max-width: 110ch; font-size: 0.8125rem; color: #8a919c; }
.foot-base .credits a { color: #a1a7b1; }

/* ---------- Entrances ---------- */
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: 80ms; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: 160ms; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: 240ms; }
.js [data-reveal].is-in > *:nth-child(5) { transition-delay: 320ms; }
.js [data-reveal].is-in > *:nth-child(6) { transition-delay: 400ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .stack { transform: scale(0.88); transform-origin: center; }
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pipeline .kcol:nth-child(n+4) { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .stack { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .stack { height: 520px; transform: none; max-width: 560px; margin: 8px auto 0; width: 100%; }
  .solver, .ways, .founder-teaser, .cta .wrap, .market .wrap, .honest, .skills, .founder-hero, .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .lead { justify-self: start; }
  .portrait { max-width: 460px; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header.is-open .nav { display: grid; position: absolute; left: var(--gutter); right: var(--gutter); top: 84px; padding: 10px; border-radius: 22px; background: rgba(12, 14, 17, 0.96); border: 1px solid var(--line-2); gap: 2px; pointer-events: auto; box-shadow: var(--float-shadow); }
  .site-header.is-open .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .site-header.is-open .nav a[aria-current="page"]::after { left: auto; right: 18px; top: 50%; margin-top: -2px; }
  .site-header.is-open .nav .btn { margin: 8px 0 0; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec, .howi, .engage, .strip { grid-template-columns: 1fr; }
  .howi li { min-height: 0; gap: 24px; }
  .strip { gap: var(--s6); }
}
@media (max-width: 640px) {
  :root { --step-body: 1rem; }
  .hero { padding-top: 112px; min-height: 0; }
  .hero h1 { font-size: 8.3vw; }
  .hero .sub { margin-top: 24px; font-size: 1.02rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero .tagline { margin-top: 28px; }
  .stack { height: auto; margin-top: 32px; perspective: none; }
  .stack-inner { position: relative; transform: none !important; display: grid; }
  .stack .ui-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; animation: none; transform: none; }
  .stack .c-pipe { width: 100%; }
  .stack .c-pipe .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stack .c-pipe .kcol:nth-child(4) { display: none; }
  .stack .c-target { width: 82%; justify-self: end; margin-top: -18px; }
  .stack .c-field { width: 88%; margin-top: -18px; }
  .answer-stage { min-height: 520px; }
  .mock-site .body { grid-template-columns: 1fr; }
  .mock-site .ph { display: none; }
  .process { grid-template-columns: 1fr; }
  .field { min-height: 0; gap: 20px; }
  .field .tcard { justify-self: start; }
  .market { min-height: 0; }
  .seg button { font-size: 1.6em; padding: 0.6em 1em; min-width: 0; }
  .settings { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: 132px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
  .services { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline .kcol:nth-child(n+3) { display: none; }
  .kpi .v { font-size: 17px; }
  .search { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .sources { padding: 24px; }
  .cta h2 { font-size: 7.2vw; }
  .crm-h1 { font-size: 7.6vw !important; }
  .crm-h1 .line { white-space: normal; display: inline; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal-lines .line > span, .js .reveal-after, .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
}

/* Contact form: preview vs live (live when data-endpoint is set) */
.form:not(.is-live) .live-only, .form.is-live .preview-only { display: none !important; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #ff9c9c; font-size: 0.95rem; }
.form-error a { color: inherit; text-decoration: underline; }
.form { position: relative; }

/* ==========================================================================
   v2 (2026-10-28): hero switcher + scenes, three-pillar bento, project planner,
   richer footer, privacy page. Same tokens as design B.
   ========================================================================== */

/* ---------- Hero: what-we-build switcher ---------- */
.hero-grid .svc-switch { grid-column: 1; }
.hero-grid .stack { grid-row: 2 / span 4; }
.svc-switch {
  position: relative; justify-self: start; margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.svc-switch button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font: 500 0.94rem/1 var(--font-text); letter-spacing: -0.01em; cursor: pointer; overflow: hidden;
  transition: color var(--t-mid), background-color var(--t-mid);
}
.svc-switch button .i { font-family: var(--font-mono); font-size: 11px; color: var(--muted); transition: color var(--t-mid); }
.svc-switch button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.svc-switch button[aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.svc-switch button[aria-selected="true"] .i { color: var(--ember); }
.svc-switch button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ember), var(--gold)); transform: scaleX(0); transform-origin: left; }
.svc-switch.is-auto button[aria-selected="true"]::after { animation: swProgress var(--sw-dur, 6500ms) linear forwards; }
.svc-switch.is-paused button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes swProgress { to { transform: scaleX(1); } }

/* Scenes: one set of floating screens per service */
.stack .scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.js .stack .scene { transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-out), filter 650ms var(--ease-out), visibility 0s linear 0s; }
.js .stack .scene:not(.is-on) {
  opacity: 0; transform: translate3d(0, 28px, -180px); filter: blur(8px); visibility: hidden; pointer-events: none;
  transition: opacity 450ms var(--ease-out), transform 600ms var(--ease-out), filter 450ms var(--ease-out), visibility 0s linear 600ms;
}
html:not(.js) .stack .scene:not(#scene-crm) { display: none; }

.stack .c-browser, .stack .c-video, .stack .c-report { width: 450px; left: 3%; top: 4%; transform: translateZ(0px); animation: floatA 9s var(--ease-io) infinite alternate; }
.stack .c-checks { width: 262px; left: 1%; bottom: 3%; transform: translateZ(80px); animation: floatB 7.5s var(--ease-io) infinite alternate; }
.stack .c-campaign { width: 286px; right: 0; top: 44%; transform: translateZ(80px); animation: floatB 7.5s var(--ease-io) infinite alternate; }
.stack .c-approve { width: 286px; left: 0; bottom: 2%; transform: translateZ(80px); animation: floatB 7.5s var(--ease-io) infinite alternate; }
.stack .c-calendar { width: 316px; left: 0; bottom: 1%; transform: translateZ(140px); animation: floatC 8.5s var(--ease-io) infinite alternate; }
.stack .c-phone, .stack .c-mobile { width: 196px; right: 2%; top: 22%; transform: translateZ(140px); animation: floatC 8.5s var(--ease-io) infinite alternate; padding: 7px; border-radius: 30px; }

/* Mini website (hero + bento) */
.mini-site, .b-browser { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #0d0f12; }
.mini-site .chrome, .b-browser .chrome { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); align-items: center; }
.mini-site .chrome i, .b-browser .chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); flex: none; }
.mini-site .chrome .url, .b-browser .chrome .url { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-body { padding: 14px; display: grid; gap: 12px; container-type: inline-size; }
.ms-nav { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.ms-nav b { font-weight: 650; letter-spacing: -0.02em; margin-right: auto; }
.ms-nav span { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.ms-nav em { font-style: normal; font-size: 10px; padding: 4px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-weight: 600; white-space: nowrap; }
.ms-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; align-items: center; }
.ms-h { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.08; letter-spacing: -0.035em; }
.ms-h.sm { font-size: 15px; }
.ms-l { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); margin-top: 10px; }
.ms-l.short { width: 60%; margin-top: 6px; }
.ms-btn { justify-self: start; display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--ember); color: var(--ember-ink); font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.ms-img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(80% 80% at 72% 18%, rgba(63, 224, 197, 0.55), transparent 62%), radial-gradient(70% 70% at 18% 92%, rgba(255, 107, 61, 0.55), transparent 62%), #15191e; }
.ms-img.sm { aspect-ratio: 16 / 10; }
.ms-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ms-cards span { height: 44px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }

/* Phones */
.phone { position: relative; display: grid; gap: 10px; padding: 26px 12px 14px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.14); background: #0d0f12; }
.phone .notch { position: absolute; top: 9px; left: 50%; width: 46px; height: 6px; margin-left: -23px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.phone .ms-btn { margin-top: 2px; }
.app-h { display: grid; gap: 2px; font-size: 11.5px; margin-bottom: 2px; }
.app-h b { font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }
.stock { display: grid; grid-template-columns: 1fr auto 8px; gap: 8px; align-items: center; font-size: 11.5px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.045); }
.stock i { width: 8px; height: 8px; border-radius: 50%; }
.stock i.ok { background: var(--tide); }
.stock i.low { background: var(--ember); }
.scan { width: 100%; margin-top: 2px; }

/* Video + timeline */
.vid-frame { position: relative; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: radial-gradient(70% 90% at 80% 10%, rgba(255, 107, 61, 0.55), transparent 60%), radial-gradient(60% 80% at 10% 100%, rgba(63, 224, 197, 0.4), transparent 60%), #111418; }
.vid-frame .play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.vid-frame .play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #0a0b0d; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vid-cap { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-display); font-weight: 650; font-size: 15px; letter-spacing: -0.025em; }
.vid-time { position: absolute; right: 12px; bottom: 12px; font-size: 11px; color: var(--ink-2); }
.tracks { position: relative; display: grid; gap: 6px; margin-top: 12px; --tk: 58px; }
.track { display: grid; grid-template-columns: var(--tk) 1fr; gap: 8px; align-items: center; font-size: 11px; }
.track .tk { color: var(--muted); }
.lane { position: relative; height: 20px; border-radius: 5px; background: rgba(255, 255, 255, 0.04); }
.lane b { position: absolute; top: 2px; bottom: 2px; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); border-radius: 4px; padding: 0 6px; overflow: hidden; white-space: nowrap; font-size: 9.5px; line-height: 14px; font-weight: 600; color: #ffd2c2; background: rgba(255, 107, 61, 0.26); border: 1px solid rgba(255, 107, 61, 0.45); }
.lane--tide b { color: var(--tide-hi); background: rgba(63, 224, 197, 0.16); border-color: rgba(63, 224, 197, 0.4); }
.lane--gold b { background: rgba(255, 194, 102, 0.2); border-color: rgba(255, 194, 102, 0.45); }
.lane--wave { background: repeating-linear-gradient(90deg, rgba(255, 194, 102, 0.4) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(180deg, transparent 20%, #000 20% 80%, transparent 80%); mask: linear-gradient(180deg, transparent 20%, #000 20% 80%, transparent 80%); }
.playhead { position: absolute; top: -4px; bottom: -4px; left: calc(var(--tk) + 8px); width: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, 0.55); animation: playhead 9s linear infinite; }
@keyframes playhead { from { left: calc(var(--tk) + 8px); } to { left: calc(100% - 2px); } }

/* Campaigns, calendar, approvals, report */
.camp { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.camp-total, .g-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; }
.camp-total { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
[data-ui] .big { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal > div { display: grid; gap: 6px; align-content: start; min-height: 66px; padding: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06); }
.cal .d { font-size: 10.5px; color: var(--muted); }
.post { font-size: 10px; font-weight: 600; padding: 4px 5px; border-radius: 5px; background: rgba(255, 107, 61, 0.16); color: #ffc3ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post--tide { background: rgba(63, 224, 197, 0.14); color: var(--tide-hi); }
.appr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12px; }
.appr b { display: block; font-weight: 600; }
.appr .muted { font-size: 11.5px; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 96px; margin-top: 14px; }
.bars span { height: calc(var(--h) * 1%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--tide), rgba(63, 224, 197, 0.2)); transform-origin: bottom; transition: height 900ms var(--ease-out); }
.bars span:nth-child(5) { background: linear-gradient(180deg, var(--ember), rgba(255, 107, 61, 0.22)); }
.bar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 6px; font-size: 10.5px; color: var(--muted); text-align: center; font-family: var(--font-mono); }
.js .scene.is-on .bars span { animation: barUp 900ms var(--ease-out) both; }
.js .scene.is-on .bars span:nth-child(2) { animation-delay: 50ms; } .js .scene.is-on .bars span:nth-child(3) { animation-delay: 100ms; }
.js .scene.is-on .bars span:nth-child(4) { animation-delay: 150ms; } .js .scene.is-on .bars span:nth-child(5) { animation-delay: 200ms; }
.js .scene.is-on .bars span:nth-child(6) { animation-delay: 250ms; } .js .scene.is-on .bars span:nth-child(7) { animation-delay: 300ms; }
@keyframes barUp { from { transform: scaleY(0.08); } to { transform: none; } }

/* ---------- Three pillars (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.pillar {
  position: relative; display: grid; gap: 32px; align-content: space-between; padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate;
  transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.pillar:hover { border-color: var(--line-2); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity var(--t-mid); background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), var(--glow, rgba(255, 107, 61, 0.14)), transparent 60%); }
.pillar:hover::after { opacity: 1; }
.pillar--web { grid-column: span 7; }
.pillar--growth { grid-column: span 5; --glow: rgba(255, 194, 102, 0.12); }
.pillar--ops { grid-column: span 12; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 4vw, 64px); --glow: rgba(63, 224, 197, 0.12); }
.pill-k { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.pillar h3 { margin-top: 14px; font-size: clamp(1.55rem, 2.3vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.08; }
.pillar p { margin-top: 12px; color: var(--ink-2); max-width: 44ch; }
.pillar .textlink { margin-top: 22px; }
.pillar .btn-row .textlink { margin-top: 0; }
.pillar .btn-row { margin-top: 22px; }

.b-browser .chrome .seg-mini { margin-left: auto; display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); flex: none; }
.seg-mini button { height: 26px; padding: 0 11px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font: 500 11.5px/1 var(--font-text); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.seg-mini button:hover { color: var(--ink); }
.seg-mini button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); color: var(--ink); }
.b-stage { display: grid; justify-items: center; padding: 18px; min-height: 270px; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%); }
.b-site { width: 100%; display: grid; gap: 12px; align-content: start; padding: 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.07); background: #0f1215; container-type: inline-size; transition: width 600ms var(--ease-out); }
.b-browser[data-device="mobile"] .b-site { width: 236px; border-radius: 22px; padding-top: 22px; }
@container (max-width: 250px) {
  .ms-hero { grid-template-columns: 1fr; }
  .ms-nav span { display: none; }
  .ms-cards { grid-template-columns: 1fr 1fr; }
  .ms-img { aspect-ratio: 16 / 10; order: -1; }
}

.g-ui .tracks { --tk: 46px; margin-top: 4px; }
.g-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.g-stats > div { flex-direction: column; align-items: flex-start; gap: 4px; }
[data-roll].bump { animation: bump 600ms var(--ease-out); }
@keyframes bump { 30% { color: var(--tide-hi); transform: translateY(-3px); } }
[data-roll] { display: inline-block; }

.o-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; align-items: end; }
.o-h { font-size: 12px; color: var(--muted); }
.o-chart .bars { height: 132px; }
.o-side { display: grid; gap: 14px; }
.meter .mh { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; margin-bottom: 6px; }
.meter .bar-fill { transition: width 900ms var(--ease-out); }
.feed { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); min-height: 92px; align-content: start; }
.feed-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .dot { flex: none; }
.feed-row.is-new { animation: answerIn 520ms var(--ease-out); }

/* ---------- Project planner ---------- */
.planner { position: relative; padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; }
.planner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 90% 0%, rgba(255, 107, 61, 0.14), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(63, 224, 197, 0.1), transparent 70%); }
.planner-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.planner-pills button { height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); color: var(--ink-2); font: 500 0.95rem/1 var(--font-text); letter-spacing: -0.01em; cursor: pointer; transition: color var(--t-mid), border-color var(--t-mid), background-color var(--t-mid), transform var(--t-fast); }
.planner-pills button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.28); }
.planner-pills button:active { transform: scale(0.98); }
.planner-pills button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.plan { margin-top: clamp(28px, 3.4vw, 48px); outline: none; }
.plan[hidden] { display: none; }
.plan-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.plan-steps::before, .plan-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; }
.plan-steps::before { background: var(--line-2); }
.plan-steps::after { background: linear-gradient(90deg, var(--ember), var(--gold), var(--tide)); transform-origin: left; }
.plan.is-entering .plan-steps::after { animation: lineFill 1200ms var(--ease-out) both; }
@keyframes lineFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.plan-step { position: relative; display: grid; gap: 10px; align-content: start; }
.plan-step .n { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.plan-step:last-child .n { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); font-weight: 600; }
.plan-step h3 { margin-top: 8px; font-size: 1.12rem; letter-spacing: -0.02em; }
.plan-step p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.plan-step .deliv { justify-self: start; margin-top: 4px; padding: 5px 9px; border-radius: 7px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.35; color: var(--tide-hi); background: rgba(63, 224, 197, 0.1); border: 1px solid rgba(63, 224, 197, 0.22); }
.plan.is-entering .plan-step { animation: answerIn 600ms var(--ease-out) both; }
.plan.is-entering .plan-step:nth-child(2) { animation-delay: 90ms; }
.plan.is-entering .plan-step:nth-child(3) { animation-delay: 180ms; }
.plan.is-entering .plan-step:nth-child(4) { animation-delay: 270ms; }
.plan-foot { margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.plan-foot p { color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- Footer additions ---------- */
.foot-top { grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.6fr)); }
.foot-about { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.foot-col address { font-style: normal; }
.foot-links { display: inline-flex; gap: 18px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--tide-hi); }

/* ---------- Services anchors + privacy page ---------- */
.service { scroll-margin-top: 112px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--ink-2); line-height: 1.65; }
.prose a { color: var(--ink); }
.prose a:hover { color: var(--tide-hi); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1180px) {
  .stack .c-browser, .stack .c-video, .stack .c-report { width: 420px; }
}
@media (max-width: 1024px) {
  .hero-grid .stack { grid-row: auto; }
  .bento { grid-template-columns: 1fr; }
  .pillar--web, .pillar--growth, .pillar--ops { grid-column: auto; }
  .pillar--ops { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .plan-steps::before, .plan-steps::after { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .o-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-switch { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; width: 100%; }
  .svc-switch button { justify-content: flex-start; border-radius: 15px; }
  .stack .scene { position: relative; inset: auto; display: grid; }
  .stack .scene > .ui-card { left: auto; right: auto; top: auto; bottom: auto; animation: none; transform: none; }
  .js .stack .scene:not(.is-on) { display: none; }
  .stack .c-browser, .stack .c-video, .stack .c-report { width: 100%; }
  .stack .scene > .ui-card:nth-child(2) { width: 84%; justify-self: end; margin-top: -18px; }
  .stack .scene > .ui-card:nth-child(3) { width: 88%; justify-self: start; margin-top: -18px; }
  .stack .scene > .ui-card.c-phone, .stack .scene > .ui-card.c-mobile { width: 58%; }
  .b-stage { padding: 12px; min-height: 0; }
  .b-browser .chrome .url { display: none; }
  .b-browser[data-device="mobile"] .b-site { width: 200px; }
  .g-stats { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: 1fr; row-gap: 26px; }
  .plan-step { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; }
  .plan-step .n { grid-row: 1 / span 3; }
  .plan-step > :not(.n) { grid-column: 2; }
  .plan-step h3 { margin-top: 5px; }
  .plan-foot .btn { flex: 1 1 100%; }
  .foot-top { grid-template-columns: 1fr; }
  .cal { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .playhead { animation: none; left: 45%; }
  .js .stack .scene, .js .stack .scene:not(.is-on) { transition: none; filter: none; transform: none; }
  .js .scene.is-on .bars span, .plan.is-entering .plan-step, .plan.is-entering .plan-steps::after, .feed-row.is-new { animation: none; }
}


/* =========================================================
   v3 launch (Nov 2026): logo, two front doors, prices,
   teardown, founding offer, sticky mobile CTA, legal pages
   ========================================================= */
.btn--tide { --b-bg: var(--tide); --b-fg: #04201b; }
.btn--tide:hover { --b-bg: var(--tide-hi); }

/* Two front doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.door { position: relative; display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--door, var(--ember)); opacity: 0.9; }
.door::after { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; z-index: -1; background: radial-gradient(closest-side, var(--door-glow, rgba(255, 107, 61, 0.16)), transparent); }
.door--dist { --door: var(--tide); --door-glow: rgba(63, 224, 197, 0.13); }
.door h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.035em; }
.door p { color: var(--ink-2); max-width: 46ch; }
.door-list { display: grid; gap: 10px; margin: 4px 0 8px; }
.door-list li { list-style: none; display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.door-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--door, var(--ember)); transform: translateY(-1px); }
.door .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; }

/* Price menu */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.price-card { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t-mid); }
.price-card:hover { border-color: var(--line-2); }
.price-card--lead { background: linear-gradient(180deg, rgba(255, 107, 61, 0.1), var(--surface) 55%); border-color: rgba(255, 107, 61, 0.35); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-top h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.pc-flag { font-family: var(--font-mono); font-size: 11.5px; color: var(--ember-hi); border: 1px solid rgba(255, 107, 61, 0.4); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-price .num { font-family: var(--font-mono); font-size: clamp(1.9rem, 2.6vw, 2.35rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.pc-price .per { color: var(--muted); font-size: 0.92rem; }
.pc-what { color: var(--ink-2); font-size: 0.97rem; line-height: 1.55; }
.pc-in { margin-top: auto; padding-top: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.price-card .btn { width: 100%; }
.price-extra { margin-top: var(--s4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.px-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 20px; padding: 22px 26px; border-radius: var(--r-panel); border: 1px dashed var(--line-2); }
.px-row h3 { font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.25; }
.px-row p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.px-row .pc-price .num { font-size: 1.5rem; }
.px-row .textlink { grid-column: 1 / -1; justify-self: start; }
.price-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); max-width: 90ch; }
.price-note a { color: var(--ink-2); }

/* Founding-client offer */
.founding { margin-top: var(--s7); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-panel); background: radial-gradient(120% 140% at 0% 0%, rgba(255, 194, 102, 0.12), transparent 55%), var(--surface); border: 1px solid var(--line-2); }
.founding h3 { margin-top: 10px; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.03em; }
.founding p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }

/* Free teardown */
.teardown { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s7); align-items: center; }
.td-copy .h2 { margin-top: 14px; }
.td-copy .lead { margin-top: 20px; }
.td-steps { margin-top: 28px; display: grid; gap: 14px; }
.td-steps li { list-style: none; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--ink-2); }
.td-steps b { color: var(--ink); font-weight: 550; }
.td-steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ember-hi); border: 1px solid rgba(255, 107, 61, 0.4); transform: translateY(-2px); }
.td-form { padding: 26px; }
.dlg-field input, .dlg-field select { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(0, 0, 0, 0.3); font-size: 15px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.dlg-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8ccd3' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.dlg-field select option { background: #14171b; color: var(--ink); }
.dlg-field input::placeholder { color: #7f8692; }
.dlg-field input:focus, .dlg-field select:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px rgba(63, 224, 197, 0.18); }
.td-form .dlg-field label { font-size: 13px; }
.td-fine { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Hero video slot (placeholder, off until the CEO approves the film) */
.hero-video { grid-column: 1; margin: 28px 0 0; width: min(100%, 360px); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }

/* Contact form extras */
.consent { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--ink-2); }
.prefill-note { margin-top: -8px; font-size: 0.92rem; color: var(--tide-hi); }

/* Footer v3 */
.foot-logo { width: 160px; height: 32px; margin-bottom: 22px; }
.foot-top { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 0.62fr)); gap: var(--s6); }
.foot-contact a { overflow-wrap: anywhere; }

/* Legal pages */
.prose ul { margin-top: 12px; display: grid; gap: 10px; padding-left: 1.2em; color: var(--ink-2); }
.prose li { line-height: 1.6; }
.prose li::marker { color: var(--ember); }
.prose strong { color: var(--ink); font-weight: 550; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--surface-2); }
.prose h2 { scroll-margin-top: 110px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.toc a { font-size: 0.88rem; padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); border-color: var(--tide); }
.facts { margin: 16px 0 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.legal-date { margin-top: 48px !important; }

/* Sticky mobile CTA */
.mcta { display: none; }
@media (max-width: 820px) {
  .mcta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: rgba(12, 14, 17, 0.9); border: 1px solid var(--line-2); box-shadow: var(--float-shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .mcta a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.97rem; text-decoration: none; }
  .mcta-wa { color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
  .mcta-call { color: var(--ember-ink); background: var(--ember); }
  body { padding-bottom: 84px; }
}

@media (max-width: 1180px) {
  .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teardown { grid-template-columns: 1fr; }
  .td-form { max-width: 560px; }
}
@media (max-width: 820px) {
  .doors, .price-extra { grid-template-columns: 1fr; }
  .founding { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); line-height: 1.04; }
  .hero h1 .line { white-space: normal; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card, .px-row { padding: 22px; }
  .founding .btn { width: 100%; white-space: normal; }
  .door .btn-row .btn { flex: 1 1 100%; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .foot-contact { grid-column: 1 / -1; }
}

/* Giant footer word is decoration only: drawn by CSS so it is not read or contrast-checked as text */
.foot-word::before { content: "GritFlair"; }

/* v3 hero: option A headline is longer, so give the preview stack room and let phone lines flow */
.hero h1 { font-size: clamp(2rem, 5.6vw, 5.2rem); }
.hero-grid .stack { margin-top: 12px; }
@media (max-width: 1024px) { .hero-grid .stack { margin-top: 8px; } }
@media (max-width: 640px) {
  .hero h1 .line { display: inline; white-space: normal; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
}
@media (max-width: 640px) { .hero h1 .line > span { display: inline; } }
.pc-price .num { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.foot-word { font-size: calc((min(100vw, 1400px) - 2 * var(--gutter)) / 3.8); }

/* v3 performance: composited-only animations, and skip rendering of far-off sections until they are near */
.dot--live { position: relative; animation: none; box-shadow: none; }
.dot--live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(63, 224, 197, 0.55); animation: halo 2s var(--ease-out) infinite; }
.playhead { left: calc(var(--tk) + 8px); right: 2px; width: auto; background: none; box-shadow: none; animation: playheadT 9s linear infinite; pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, 0.55); }
@keyframes playheadT { from { transform: translateX(0); } to { transform: translateX(100%); } }
main > section:not(.hero):not(.page-hero), .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
@media (prefers-reduced-motion: reduce) {
  .playhead { animation: none; left: calc(var(--tk) + 8px); transform: translateX(45%); }
  .dot--live::after { animation: none; display: none; }
}

/* text-wrap: pretty is costly on long pages: keep it for lead lines only */
p { text-wrap: wrap; }
.lead, .sub, .quote, .statement { text-wrap: pretty; }

/* v3 a11y: every keyboard stop shows focus (WCAG 2.4.7) */
.plan:focus-visible { outline: 2px solid var(--tide); outline-offset: 10px; border-radius: 14px; }
.chart .bar:focus-visible { stroke: var(--tide); stroke-width: 2px; }
.pin:focus-visible circle:not(.halo) { stroke: var(--tide); stroke-width: 3px; }

/* v3 polish (impeccable critique): no accent stripe on rounded cards; the door colour lives in its label, bullets and glow */
.door::before { display: none; }
.door .pill-k { color: var(--door, var(--ember)); }
.door--local { --door: var(--ember-hi); }
.pc-flag { font-size: 12px; }

#prices, #teardown { scroll-margin-top: 104px; }

/* v3.1 mobile speed: the glow keeps its colours but drops the costly blur and endless drift on phones and tablets */
@media (max-width: 820px), (pointer: coarse) {
  .aurora::before { filter: none; animation: none; inset: 0; } /* inset 0: its top edge never moves, so no layout shift */
}

/* v3.1 mobile speed: on phones the preview cards sit below the first screen, so let the browser skip them until they are near */
@media (max-width: 640px) {
  .hero .stack { content-visibility: auto; contain-intrinsic-size: auto 560px; }
}

/* v3.1 founder page: name eyebrow above the new headline, a second bio paragraph, four "How I work" cards */
.founder-eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--ember-hi); margin-bottom: 18px; }
.bio--why { margin-top: 16px; color: var(--ink-2); }
.howi--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.howi--4 .order { font-family: var(--font-display); font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -0.025em; color: var(--ink); font-weight: 600; }
.howi--4 p { font-family: var(--font-text); font-size: 1rem; letter-spacing: 0; line-height: 1.55; font-weight: 350; color: var(--ink-2); }
.howi--4 li { gap: 14px; align-content: start; }
@media (max-width: 1024px) { .howi--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .howi--4 { grid-template-columns: 1fr; } }

/* v3.2 founder page, executive bio layout */
.exec-hero .founder-hero { align-items: center; }
.exec-intro h1 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.04; max-width: 20ch; }
.exec-intro .bio { margin-top: 28px; max-width: 58ch; color: var(--ink-2); }
.exec-intro .profile-links { margin-top: 32px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.principles li { list-style: none; padding: clamp(28px, 3.4vw, 48px); background: var(--bg-2); display: grid; gap: 14px; align-content: start; }
.principles h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.03em; line-height: 1.15; }
.principles p { color: var(--ink-2); max-width: 46ch; }
.expertise { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 40px; align-items: center; padding-block: 28px; border-block: 1px solid var(--line); }
.exp-k { font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted); }
.exp-strip { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.exp-strip li { list-style: none; font-family: var(--font-display); font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -0.02em; font-weight: 500; display: inline-flex; align-items: center; }
.exp-strip li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--ember); margin-right: 12px; }
@media (max-width: 820px) {
  .principles { grid-template-columns: 1fr; }
  .expertise { grid-template-columns: 1fr; }
  .exp-strip { display: grid; gap: 10px; }
}

@media (max-width: 640px) {
  .cta h2 .line { white-space: normal; }
  .cta .btn-row .btn { white-space: normal; text-align: center; flex: 1 1 100%; }
}

/* v3.2 founder page rhythm: one consistent, generous step between blocks instead of full section gaps */
.exec-why { padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.exec-why .section-head { margin-bottom: 0; align-items: start; }
.exec-how { padding-block: clamp(40px, 5vw, 64px); }
.exec-exp { padding-block: clamp(40px, 5vw, 64px) clamp(72px, 9vw, 128px); }
.exec-cta { min-height: 0; }
.exec-cta .wrap { padding-block: clamp(72px, 9vw, 128px); }

@media (max-width: 1024px) {
  /* real photo (31 Oct): portrait first again, kept compact */
  .exec-hero .portrait { aspect-ratio: 4 / 5; height: auto; width: min(100%, 340px); max-width: 340px; } /* keep the approved 4:5 photo on phones, just smaller */
  .exec-hero .portrait .mono-mark span { font-size: clamp(4rem, 16vw, 6rem); }
}

/* v4 founder: second intro paragraph and a quiet credential line (text only, no badge) */
.exec-intro .bio--2 { margin-top: 16px; }
.credential { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: 0.95rem; color: var(--ink-2); max-width: 58ch; }

/* ---------- Feedback dialog (footer link, built by site.js) ---------- */
.fb-dialog { padding: 0; border: 0; background: transparent; color: var(--ink); width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; margin: auto; }
.fb-dialog::backdrop { background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fb-dialog .form { background: #13161a; gap: 18px; padding: clamp(20px, 4vw, 32px); }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-close { width: 44px; height: 44px; margin: -8px -8px -8px 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; }
.fb-close:hover { border-color: var(--line-2); color: var(--ink); }
.fb-rating { border: 0; padding: 0; margin: 0; min-width: 0; }
.fb-rating legend { padding: 0; margin-bottom: 8px; font-size: 0.92rem; color: var(--ink-2); font-weight: 450; }
.fb-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.fb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-stars label { width: 48px; height: 48px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.22); cursor: pointer; border-radius: 12px; transition: color 120ms; }
.fb-stars label:hover, .fb-stars label:hover ~ label, .fb-stars input:checked ~ label { color: var(--gold); }
.fb-stars input:focus-visible + label { outline: 2px solid var(--tide); outline-offset: 2px; }
.fb-rating[data-invalid] .err { display: block; }
.fb-count { font-size: 0.8rem; color: var(--muted); justify-self: end; }
.fb-dialog .form-foot .btn { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .fb-stars label { transition: none; } }
