/* ===== Accessibility utilities ===== */
/* Visually-hidden until focused. Standard "sr-only with reveal-on-focus" pattern. */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 100000;
  background: var(--accent, #9bc99c);
  color: var(--accent-ink, #000);
  border-radius: 0 0 6px 0;
  font-family: var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.faq-row:focus-visible {
  outline: 2px solid var(--accent, #9bc99c);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Crooker — design tokens ===== */
:root {
  /* type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* SLATE — distant-future cool, no warmth */
  --bg: oklch(14% 0.012 200);
  --bg-2: oklch(17.5% 0.014 200);
  --ink: oklch(95% 0.008 200);
  --ink-2: oklch(74% 0.010 200);
  --ink-3: oklch(54% 0.014 200);
  --line: oklch(95% 0.008 200 / 0.13);
  --line-soft: oklch(95% 0.008 200 / 0.06);
  --accent: oklch(82% 0.14 148);   /* luminous sage */
  --accent-ink: oklch(14% 0.012 200);
  --warn: oklch(70% 0.16 60);

  /* layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 4px;
  --radius-lg: 14px;
}

[data-theme="frost"] {
  --bg: oklch(96% 0.008 180);
  --bg-2: oklch(93% 0.010 180);
  --ink: oklch(18% 0.020 200);
  --ink-2: oklch(38% 0.018 200);
  --ink-3: oklch(56% 0.015 200);
  --line: oklch(18% 0.020 200 / 0.12);
  --line-soft: oklch(18% 0.020 200 / 0.06);
  --accent: oklch(58% 0.13 148);
  --accent-ink: oklch(96% 0.008 180);
}

[data-theme="moss"] {
  --bg: oklch(17% 0.028 155);
  --bg-2: oklch(21% 0.030 155);
  --ink: oklch(94% 0.010 145);
  --ink-2: oklch(75% 0.012 145);
  --ink-3: oklch(56% 0.018 145);
  --line: oklch(94% 0.010 145 / 0.13);
  --line-soft: oklch(94% 0.010 145 / 0.06);
  --accent: oklch(86% 0.13 140);
  --accent-ink: oklch(17% 0.028 155);
}

/* ===== base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ===== type utilities ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.mono { font-family: var(--font-mono); }
.serif, .ser { font-family: var(--font-sans); font-weight: 300; font-style: normal; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-2); }

/* ===== shell ===== */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.divider { height: 1px; background: var(--line); width: 100%; }

/* ===== nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.02em; font-size: 18px;
  white-space: nowrap;
}
.brand-mark, .bm {
  width: 28px; height: 28px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
.bm .bm-bg {
  fill: color-mix(in oklab, var(--bg-2) 70%, var(--ink) 0%);
  stroke: var(--line);
  stroke-width: 1;
}
.bm .bm-stroke {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.bm .bm-fill {
  fill: color-mix(in oklab, var(--accent) 18%, transparent);
}
.bm .bm-dot {
  fill: var(--accent);
}
.bm .bm-spoke {
  stroke: var(--accent);
  stroke-width: 0.7;
  stroke-opacity: 0.5;
}
.nav-links {
  display: flex; gap: 22px; margin-left: 18px;
  font-size: 14px; color: var(--ink-2);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink); }
.btn.accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ===== hero ===== */
.hero {
  padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tick { color: var(--ink-3); }
.hero-headline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero-headline .ser {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.hero-headline .acc { color: var(--accent); }
.hero-sub {
  max-width: 620px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.hero-meta > div {
  padding: 24px 24px 24px 24px;
  border-right: 1px solid var(--line);
}
.hero-meta > div:first-child { padding-left: 0; }
.hero-meta > div:last-child { border-right: 0; padding-right: 0; }
.hero-meta .v {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero-meta .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===== marquee ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 18px; }
.marquee-track .dot { width: 4px; height: 4px; background: var(--ink-3); border-radius: 50%; opacity: 0.6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== logos strip ===== */
.logos {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.logos-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.logos-grid > div {
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  min-height: 96px;
}
.logos-grid > div:last-child { border-right: 0; }
.logo-ph {
  text-align: center;
  line-height: 1.3;
}
.logo-ph .pname {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  display: block;
}

/* ===== sections ===== */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.section-head h2 .ser {
  font-family: var(--font-sans); font-style: normal; color: var(--ink-2); font-weight: 300;
}
.section-head p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0;
}
.section-head .right {
  display: flex; flex-direction: column; gap: 16px;
}

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  grid-column: span 4;
  padding: 40px 36px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
  min-height: 380px;
  position: relative;
  transition: background .25s ease;
}
.services-3 .service-card { min-height: 440px; }
.service-card:hover { background: var(--bg-2); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.service-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.service-card h3 .ser { font-family: var(--font-sans); font-style: normal; font-weight: 300; color: var(--accent); }
.service-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 28px;
}
.service-card ul {
  margin: auto 0 0; padding: 0; list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.service-card li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

/* approach */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 32px 28px 36px 28px;
  border-right: 1px solid var(--line);
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; padding-right: 0; }
.step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 36px;
}
.step h4 {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 500;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 30ch;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.stat {
  padding: 64px 32px 64px 0;
  border-right: 1px solid var(--line);
}
.stat:not(:first-child) { padding-left: 32px; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat:last-child { border-right: 0; }
.stat .big {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  word-break: break-word;
}
.stat .big .plus { color: var(--accent); }
.stat .big .ser { font-family: var(--font-sans); font-style: normal; font-weight: 300; }
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.stat .desc { font-size: 14px; color: var(--ink-2); max-width: 28ch; line-height: 1.5; }

/* case */
.case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 480px;
}
.case-text { padding: 56px 48px; display: flex; flex-direction: column; }
.case-text .quote {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
}
.case-text .who { display: flex; align-items: center; gap: 14px; }
.case-text .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; }
.case-text .meta { font-size: 13px; }
.case-text .meta .name { font-weight: 500; }
.case-text .meta .role { color: var(--ink-3); }
.case-text .results {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.case-text .results .v {
  font-family: var(--font-sans); font-style: normal; font-size: 36px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px;
}
.case-text .results .v .plus { color: var(--accent); }
.case-text .results .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.case-visual {
  background: oklch(9% 0.022 200);
  color: oklch(95% 0.008 200);
  padding: 40px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.case-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 110% -10%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%),
    radial-gradient(600px 300px at -10% 120%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.case-visual .tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.65;
}
.case-visual .title {
  font-family: var(--font-sans); font-style: normal; font-weight: 600;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.02em;
  margin-top: 16px;
  position: relative;
}
.case-visual .term {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.7;
  opacity: 0.85;
  position: relative;
}
.case-visual .term .ln { display: block; }
.case-visual .term .pp { color: color-mix(in oklab, var(--accent) 80%, white); }
.case-visual .term .ok { color: color-mix(in oklab, var(--accent) 60%, white); }
.cursor::after {
  content: "▍"; display: inline-block; margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.member {
  padding: 24px 24px 28px 24px;
  border-right: 1px solid var(--line);
}
.member:first-child { padding-left: 0; }
.member:last-child { border-right: 0; padding-right: 0; }
.avatar-ph {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(135deg, var(--bg-2) 0 10px, var(--bg) 10px 20px);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3);
}
.member .name { font-size: 16px; font-weight: 500; margin-bottom: 2px; letter-spacing: -0.01em; }
.member .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 12px; text-transform: uppercase; }
.member .bio { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* faq */
.faq {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.faq-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr 1fr; gap: 32px;
  cursor: pointer;
  align-items: start;
}
.faq-row .n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); padding-top: 4px; letter-spacing: 0.06em; }
.faq-row .q { font-size: 20px; letter-spacing: -0.01em; font-weight: 500; }
.faq-row .q .ser { font-family: var(--font-sans); font-style: normal; font-weight: 300; color: var(--ink-2); }
.faq-row .a { font-size: 14px; color: var(--ink-2); line-height: 1.6; max-width: 52ch; }

/* CTA */
.cta {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.cta-card {
  background: oklch(9% 0.022 200);
  color: oklch(95% 0.008 200);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 90% -20%, color-mix(in oklab, var(--accent) 50%, transparent), transparent 55%),
    radial-gradient(900px 500px at -10% 120%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 50%);
  pointer-events: none;
}
.cta-eyebrow { color: color-mix(in oklab, oklch(95% 0.008 200) 65%, transparent); }
.cta-card h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
  position: relative;
  max-width: 18ch;
}
.cta-card h2 .ser { font-family: var(--font-sans); font-style: normal; font-weight: 300; color: color-mix(in oklab, oklch(95% 0.008 200) 70%, transparent); }
.cta-card p {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.5;
  color: color-mix(in oklab, oklch(95% 0.008 200) 75%, transparent);
  margin: 0 0 40px;
  position: relative;
}
.cta-card .btn.accent { position: relative; }
.cta-card .btn.ghost {
  border-color: color-mix(in oklab, oklch(95% 0.008 200) 30%, transparent);
  color: oklch(95% 0.008 200);
}

/* footer */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.footer h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--ink-2); font-size: 14px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);
  gap: 24px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(56px, 14vw, 200px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  margin: 16px 0 32px;
}
.wordmark .ser { font-family: var(--font-sans); font-style: normal; font-weight: 300; color: var(--ink-2); }
.wordmark .acc { color: var(--accent); }

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-meta > div:nth-child(2) { border-right: 0; }
  .hero-meta > div:nth-child(1), .hero-meta > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .service-card { grid-column: span 6; min-height: 320px; }
  .services-3 .service-card { grid-column: span 12; min-height: 0; border-right: 0; }
  .approach { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .case { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .status-pill { display: none; }
  .service-card { grid-column: span 12; min-height: 0; }
  .approach { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; padding-right: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .stat:last-child { border-bottom: 0; }
  .team { grid-template-columns: 1fr; }
  .member { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; padding-right: 0; }
  .member:last-child { border-bottom: 0; }
  .faq-row { grid-template-columns: 32px 1fr; gap: 16px; }
  .faq-row .a { grid-column: 2; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .hero-meta > div:last-child { border-bottom: 0; }
  .case-text, .case-visual { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ====================================================================
   GRAPHICS — aurora, topo lines, stars, HUD, icons, terrain map
   ==================================================================== */

.hero { position: relative; overflow: hidden; min-height: clamp(540px, 88vh, 820px); }
.hero .shell { position: relative; z-index: 2; }
.hero-hud { z-index: 3; }

.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* --- Aurora glows --- */
.aurora { position: absolute; inset: 0; overflow: hidden; }
.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.aurora-glow.a {
  width: 780px; height: 780px;
  top: -240px; right: -260px;
  background: var(--accent);
  opacity: 0.45;
  animation: drift1 28s ease-in-out infinite alternate;
}
.aurora-glow.b {
  width: 620px; height: 620px;
  top: 100px; right: 28%;
  background: oklch(72% 0.14 175);
  opacity: 0.30;
  animation: drift2 42s ease-in-out infinite alternate;
}
.aurora-glow.c {
  width: 560px; height: 560px;
  bottom: -160px; right: 12%;
  background: oklch(70% 0.12 230);
  opacity: 0.28;
  animation: drift3 56s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, 80px) scale(1.1); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(160px, -80px) scale(0.95); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -110px) scale(1.08); }
}

/* --- Hero topographic ridgelines --- */
.hero-topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}
.hero-topo path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.07;
  stroke-width: 1;
  animation: topoBreathe 14s ease-in-out infinite alternate;
}
.hero-topo path:nth-child(3n) {
  stroke: var(--accent);
  stroke-opacity: 0.18;
}
.hero-topo path:nth-child(7n) {
  stroke-opacity: 0.28;
  stroke-width: 1.2;
}
@keyframes topoBreathe {
  0%, 100% { stroke-opacity: 0.06; }
  50%      { stroke-opacity: 0.18; }
}

/* --- Stars / particles --- */
.stars { position: absolute; inset: 0; }
.star {
  position: absolute;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.4;
  animation: twinkle 4s ease-in-out infinite alternate;
  box-shadow: 0 0 4px color-mix(in oklab, var(--ink) 30%, transparent);
}
.star:nth-child(7n) { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.3); }
}

/* --- Hero HUD --- */
.hero-hud {
  position: absolute;
  top: 96px;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: flex; flex-direction: column;
  gap: 6px;
  text-align: right;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(8px);
  min-width: 188px;
  white-space: nowrap;
}
.hero-hud .hud-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}
.hero-hud .k { opacity: 0.5; text-transform: uppercase; text-align: left; }
.hero-hud .v { color: var(--ink); font-feature-settings: "tnum"; text-align: right; }
.hud-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-out infinite;
}
@media (max-width: 1180px) {
  .hero-hud { display: none; }
}

/* --- Capability icons --- */
.cap-icon {
  width: 52px; height: 52px;
  stroke: var(--accent);
  stroke-width: 1.4;
  fill: none;
  margin: 4px 0 0;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 12px color-mix(in oklab, var(--accent) 40%, transparent));
}
.cap-icon .filled { fill: var(--accent); stroke: none; }
.cap-icon .dim { stroke-opacity: 0.25; }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

/* --- Terrain field map section --- */
.terrain {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg,
    var(--bg) 0%,
    color-mix(in oklab, var(--bg) 80%, var(--bg-2)) 100%);
  overflow: hidden;
}
.terrain-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  text-align: center;
}
.terrain-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.terrain-title .ser {
  font-family: var(--font-sans); font-weight: 300;
  color: var(--accent);
}
.terrain-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto;
  text-wrap: pretty;
}
.terrain-canvas {
  position: relative;
  width: 100%;
  height: clamp(420px, 50vw, 640px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 70%, var(--bg-2));
  overflow: hidden;
}
.terrain-svg {
  width: 100%; height: 100%;
}
.terrain-grid line {
  stroke: var(--ink);
  stroke-opacity: 0.05;
  stroke-width: 1;
}
.terrain-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.18;
  stroke-width: 1;
}
.terrain-ring.r-0 { stroke-opacity: 0.30; }
.terrain-ring.r-1 { stroke-opacity: 0.18; }
.terrain-ring.r-2 { stroke-opacity: 0.12; }
.terrain-ring.r-3 { stroke-opacity: 0.08; stroke-dasharray: 3 4; }

.terrain-station .ring {
  fill: none; stroke: var(--accent); stroke-width: 1.2;
  animation: stationPulse 3.5s ease-in-out infinite;
}
.terrain-station .dot { fill: var(--accent); }
.terrain-station line { stroke: var(--accent); stroke-opacity: 0.55; stroke-width: 1; }
.terrain-station text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  fill: var(--ink);
  text-transform: uppercase;
}
.terrain-station text.sub { fill: var(--ink-3); }
@keyframes stationPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); transform-origin: center; }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.terrain-coords text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: var(--ink-3);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .terrain-head { grid-template-columns: 1fr; gap: 20px; }
  .service-card-top { margin-bottom: 24px; }
}


/* ====================================================================
   HORIZON — layered mountain landscape strip
   ==================================================================== */
.horizon {
  position: relative;
  width: 100%;
  height: clamp(280px, 32vw, 460px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg) 80%, var(--bg-2) 0%) 0%,
    color-mix(in oklab, var(--bg) 50%, oklch(20% 0.030 200)) 60%,
    color-mix(in oklab, var(--bg-2) 60%, oklch(22% 0.020 200)) 100%);
}
.horizon-svg { width: 100%; height: 100%; display: block; }

.horizon .h-star { fill: var(--ink); opacity: 0.55; }
.horizon .moon { fill: color-mix(in oklab, var(--ink) 75%, var(--accent) 15%); opacity: 0.92; }
.horizon .moon-glow { fill: var(--accent); opacity: 0.18; filter: blur(14px); }
.horizon .aurora-band-svg { fill: var(--accent); opacity: 0.10; filter: blur(20px); }

.horizon .ridge {
  /* far ridges lighter / cooler, near ridges darker */
}
.horizon .ridge-1 { fill: color-mix(in oklab, var(--bg-2) 70%, var(--accent) 6%); opacity: 0.85; }
.horizon .ridge-2 { fill: color-mix(in oklab, var(--bg-2) 92%, var(--ink) 2%); opacity: 0.92; }
.horizon .ridge-3 { fill: color-mix(in oklab, var(--bg) 80%, oklch(12% 0.020 200) 60%); }
.horizon .ridge-4 { fill: oklch(8% 0.018 200); }
.horizon .ground  { fill: oklch(6% 0.016 200); }
.horizon .pine    { fill: oklch(6% 0.016 200); }

.horizon .horizon-coords text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  fill: var(--ink-3);
}
.horizon .horizon-coords line {
  stroke: var(--accent);
  stroke-opacity: 0.5;
  stroke-width: 1;
}
[data-theme="frost"] .horizon {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg) 95%, var(--accent) 8%) 0%,
    color-mix(in oklab, var(--bg) 70%, oklch(78% 0.02 200)) 100%);
}
[data-theme="frost"] .horizon .ridge-3 { fill: color-mix(in oklab, var(--bg-2) 50%, oklch(50% 0.020 200)); }
[data-theme="frost"] .horizon .ridge-4 { fill: oklch(35% 0.025 200); }
[data-theme="frost"] .horizon .pine    { fill: oklch(28% 0.025 200); }
[data-theme="frost"] .horizon .ground  { fill: oklch(25% 0.025 200); }
[data-theme="frost"] .horizon .moon    { fill: color-mix(in oklab, var(--ink) 30%, white); }
[data-theme="frost"] .horizon .h-star  { fill: var(--ink); opacity: 0.18; }


/* ====================================================================
   COMPANY DNA
   ==================================================================== */
.dna { position: relative; }
.dna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.dna-card {
  padding: 56px 48px 64px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
  min-height: 360px;
  position: relative;
  transition: background .25s ease;
}
.dna-card:hover { background: var(--bg-2); }
.dna-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
.dna-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.dna-quote {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.dna-quote .ser {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.012em;
}
.dna-em { color: var(--accent); padding: 0 4px; }

@media (max-width: 880px) {
  .dna-grid { grid-template-columns: 1fr; }
  .dna-card { padding: 36px 28px 44px; min-height: 0; }
}


/* DNA-flavored hero accents */
.accent-eyebrow { color: var(--accent); }
.hero-headline .acc { color: var(--accent); }
.hero-meta .acc-dot { color: var(--accent); }
.hero-cta .eyebrow { color: var(--ink-3); }


/* ====================================================================
   FOUNDERS — LinkedIn-style cards
   ==================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.founder-card {
  display: flex; flex-direction: column;
  padding: 36px 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.founder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 100% 0%,
    color-mix(in oklab, var(--accent) 18%, transparent),
    transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity .3s ease;
}
.founder-card:hover {
  background: var(--bg-2);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.founder-card:hover::before { opacity: 1; }

.founder-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
}
.founder-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--bg-2) 70%, var(--accent) 6%);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  overflow: hidden;
  position: relative;
}
.founder-avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.founder-initials {
  position: relative;
  z-index: 0;
}
.founder-card:hover .founder-avatar { border-color: var(--accent); }
.li-glyph {
  width: 26px; height: 26px;
  fill: var(--ink-3);
  transition: fill .25s ease;
}
.li-glyph rect { fill: var(--ink-3); }
.li-glyph .li-mark { fill: var(--bg); }
.founder-card:hover .li-glyph rect { fill: var(--accent); }
.founder-card:hover .li-glyph .li-mark { fill: var(--bg); }

.founder-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  position: relative;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  position: relative;
}
.founder-blurb {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 38ch;
  position: relative;
}
.founder-cta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  position: relative;
}
.founder-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent);
  transition: color .2s ease;
}
.founder-card:hover .founder-link { color: var(--accent); }
.founder-card:hover .founder-link .arrow { transform: translate(2px, -2px); }
.founder-link .arrow { transition: transform .2s ease; }

@media (max-width: 880px) {
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 28px 24px 26px; }
}


/* ====================================================================
   FIT & FINISH PASS — overlay corner labels, balanced stat padding
   ==================================================================== */

/* Horizon corner labels — sit in DOM coordinates so they don't get sliced */
.horizon { /* container is already position:relative */ }
.horizon-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.horizon-corners .hc {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.horizon-corners .bl { bottom: 12px; left: var(--gutter); }
.horizon-corners .br { bottom: 12px; right: var(--gutter); }

/* Terrain corner labels */
.terrain-canvas { position: relative; }
.terrain-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.terrain-corners .tc {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.terrain-corners .tl { top: 18px; left: var(--gutter); }
.terrain-corners .tr { top: 18px; right: var(--gutter); }
.terrain-corners .bl { bottom: 14px; left: var(--gutter); }
.terrain-corners .br { bottom: 14px; right: var(--gutter); }
@media (max-width: 640px) {
  .horizon-corners .hc, .terrain-corners .tc { font-size: 9px; letter-spacing: 0.08em; }
}

/* Balanced stat padding at 2-col layout — last in row gets no right pad, first in row gets no left pad */
@media (max-width: 1024px) {
  .stat:nth-child(1) { padding-left: 0; padding-right: 32px; border-right: 1px solid var(--line); }
  .stat:nth-child(2) { padding-left: 32px; padding-right: 0; border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; padding-right: 32px; border-right: 1px solid var(--line); }
  .stat:nth-child(4) { padding-left: 32px; padding-right: 0; border-right: 0; }

  /* hero-meta same pattern */
  .hero-meta > div:nth-child(1) { padding-left: 0; padding-right: 24px; }
  .hero-meta > div:nth-child(2) { padding-left: 24px; padding-right: 0; border-right: 0; }
  .hero-meta > div:nth-child(3) { padding-left: 0; padding-right: 24px; border-right: 1px solid var(--line); }
  .hero-meta > div:nth-child(4) { padding-left: 24px; padding-right: 0; border-right: 0; }

  /* team / members same pattern */
  .member:nth-child(1) { padding-left: 0; padding-right: 24px; }
  .member:nth-child(2) { padding-left: 24px; padding-right: 0; border-right: 0; }
  .member:nth-child(3) { padding-left: 0; padding-right: 24px; border-right: 1px solid var(--line); }
  .member:nth-child(4) { padding-left: 24px; padding-right: 0; border-right: 0; }
}
@media (max-width: 640px) {
  .stat:nth-child(n) { padding-left: 0 !important; padding-right: 0 !important; border-right: 0 !important; }
  .hero-meta > div:nth-child(n) { padding-left: 0 !important; padding-right: 0 !important; border-right: 0 !important; }
  .member:nth-child(n) { padding-left: 0 !important; padding-right: 0 !important; border-right: 0 !important; }
}
