/* ═══════════════════════════════════════════════════════════════════
   3WHY.de — Redesign · Swiss × Spa · Voice-First Sales Coaching
   Default: Cream / Emerald (light, honors brand logo)
   Toggle:  Deep Navy / Gold (dark, premium)
═══════════════════════════════════════════════════════════════════ */

:root {
  /* LIGHT (default) — cream × emerald */
  --bg:           #F4F1EA;
  --bg-2:         #EBE7DD;
  --bg-3:         #E0DBCD;
  --surface:      #FFFFFF;
  --ink:          #0A1B14;
  --ink-2:        #3B4E45;
  --ink-3:        #828A82;
  --line:         rgba(10, 27, 20, 0.10);
  --line-2:       rgba(10, 27, 20, 0.05);
  --hairline:     rgba(10, 27, 20, 0.18);

  --accent:       #2D5A27;          /* Emerald (logo color) */
  --accent-mid:   #3A7232;
  --accent-soft:  rgba(45, 90, 39, 0.08);
  --accent-lt:    rgba(45, 90, 39, 0.14);

  --gold:         #B8902E;
  --gold-soft:    rgba(184, 144, 46, 0.16);

  --danger:       #B33B3B;
  --grain:        0.025;

  --inverse-bg:   #0A1A12;          /* used by inverse sections in light mode */
  --inverse-ink:  #F4F1EA;
}

html[data-theme="dark"] {
  --bg:           #0A1A12;          /* deep forest-midnight */
  --bg-2:         #07140D;
  --bg-3:         #122821;
  --surface:      #11261D;
  --ink:          #F4F1EA;
  --ink-2:        #BFC9C2;
  --ink-3:        #7E8C84;
  --line:         rgba(244, 241, 234, 0.10);
  --line-2:       rgba(244, 241, 234, 0.05);
  --hairline:     rgba(244, 241, 234, 0.22);

  --accent:       #B8902E;          /* gold leads in dark */
  --accent-mid:   #D4AF37;
  --accent-soft:  rgba(184, 144, 46, 0.14);
  --accent-lt:    rgba(184, 144, 46, 0.22);

  --gold:         #D4AF37;
  --gold-soft:    rgba(212, 175, 55, 0.18);

  --inverse-bg:   #F4F1EA;
  --inverse-ink:  #0A1A12;
  --grain:        0.035;
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
  transition: background 600ms cubic-bezier(.2,.7,.2,1), color 600ms cubic-bezier(.2,.7,.2,1);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-lt); color: var(--ink); }

/* Override preview-host transparent bg with !important + higher specificity */
html body {
  background: var(--bg) !important;
  color: var(--ink);
}
/* The Claude preview iframe injects `html,body{background:transparent}` which
   makes any iframe-internal bg invisible. In production (3why.de) this rule
   isn't present, so the body background renders correctly in either theme. */

body::before {
  /* film grain */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: var(--grain);
  mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════════════════════════════
   TYPE
═══════════════════════════════════════════════════════════════════ */
.display, h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Aktiv Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.serif {
  font-family: "Instrument Serif", "LL Brown", "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
html[data-theme="dark"] .serif { color: var(--gold); }
.mono, .tag, .num-label, .label {
  font-family: "JetBrains Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════════════ */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
section {
  position: relative;
  padding: clamp(72px, 11vh, 140px) 0;
}
.rule { height: 1px; background: var(--line); width: 100%; }

/* Section heading row */
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: clamp(48px, 7vh, 88px);
}
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }
.section-head .num-label { padding-top: 6px; }
.section-head h2 {
  font-size: clamp(32px, 4.8vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section-head h2 .serif { font-weight: 400; }
.section-head .lede {
  color: var(--ink-2);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  max-width: 42ch;
  margin-top: 4px;
}

/* Eyebrow tag (with leading bar) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
html[data-theme="dark"] .eyebrow { color: var(--gold); }
html[data-theme="dark"] .eyebrow::before { background: var(--gold); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms ease, filter 200ms ease, background 200ms ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
html[data-theme="dark"] .btn-primary { background: var(--gold); color: var(--bg); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--line-2); }

/* ═══════════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line-2);
  transition: padding 240ms ease, background 600ms ease;
}
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }

.nav-logo {
  display: flex; align-items: baseline; gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--ink);
  transition: color 600ms ease;
}
/* Typographic wordmark — Space Grotesk + Instrument Serif italic .de
   Replaces the legacy PNG logo. currentColor + accent var makes it theme-adaptive. */
.wm {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: inherit;
  display: inline-flex;
  align-items: baseline;
}
.wm-tld {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-left: 1px;
}
html[data-theme="dark"] .wm-tld { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: clamp(6px, 1vw, 18px);
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--line-2); }
.nav-caret { width: 8px; height: 8px; transition: transform .2s; }
.nav-has-drop:hover .nav-caret, .nav-has-drop.open .nav-caret { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(10,27,20,0.18);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 300;
}
.nav-has-drop:hover .nav-drop,
.nav-has-drop.open .nav-drop {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.nav-drop a:hover { color: var(--accent); background: var(--accent-soft); }
html[data-theme="dark"] .nav-drop a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-toggle {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px;
  gap: 2px;
}
.lang-toggle button {
  appearance: none; background: transparent; border: 0;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em;
  padding: 6px 10px; border-radius: 999px;
  cursor: pointer;
  transition: all 180ms ease;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink); color: var(--bg);
}
.theme-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 300ms ease, background 200ms ease;
}
.theme-btn:hover { transform: rotate(20deg); background: var(--line-2); }
.btn-nav-cta {
  background: var(--accent); color: #FFFFFF;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 10px 16px; border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 200ms ease, transform 200ms ease;
}
.btn-nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
html[data-theme="dark"] .btn-nav-cta { background: var(--gold); color: var(--bg); }

.progress-bar {
  position: absolute; bottom: 0; left: 0;
  height: 1.5px; width: 0%;
  background: var(--accent);
  transition: width .1s linear;
  pointer-events: none;
}
html[data-theme="dark"] .progress-bar { background: var(--gold); }

@media (max-width: 1100px) {
  .nav-links > li.collapse-md { display: none; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* Side dot nav */
.dot-nav {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column;
}
.dot-nav-item {
  position: relative; padding: 9px 0;
  cursor: pointer;
}
.dot-nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-3); opacity: 0.4;
  transition: all .3s cubic-bezier(.25,.1,.25,1);
  display: block;
}
.dot-nav-item.active .dot-nav-dot {
  width: 7px; height: 7px; background: var(--accent); opacity: 1;
}
html[data-theme="dark"] .dot-nav-item.active .dot-nav-dot { background: var(--gold); }
.dot-nav-item:hover .dot-nav-dot { background: var(--accent); opacity: 1; }
.dot-nav-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0; transition: all .2s;
  pointer-events: none;
}
.dot-nav-item:hover .dot-nav-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1100px) { .dot-nav { display: none; } }

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: grid;
  align-content: end;
  padding-bottom: 0;
  overflow: hidden;
}
.hero .shell { width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: end;
  gap: 60px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 {
  font-size: clamp(48px, 7.5vw, 128px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 20px 0 22px;
}
.hero h1 .serif {
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero h1 .word { display: inline-block; vertical-align: bottom; }

.hero-sub {
  font-size: clamp(15px, 1.08vw, 18px);
  color: var(--ink-2);
  max-width: 38ch;
  line-height: 1.6;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 0;
  padding-left: 0;
}
@media (min-width: 901px) { .hero-meta { padding-left: 24px; border-left: 1px solid var(--line); } }
.hero-meta .row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}
.hero-meta .row .k { color: var(--ink-3); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-meta .row .v { color: var(--ink); font-weight: 500; }

.waves {
  position: absolute;
  inset: auto 0 0 0;
  height: 38vh; min-height: 240px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  mask-image: linear-gradient(to top, #000 60%, transparent 100%);
}
.waves svg { width: 100%; height: 100%; }
.waves path { fill: none; stroke-width: 1; }
.waves path:nth-child(1) { stroke: var(--accent); opacity: 0.30; }
.waves path:nth-child(2) { stroke: var(--ink-3); opacity: 0.20; }
.waves path:nth-child(3) { stroke: var(--accent); opacity: 0.18; stroke-width: 0.6; }
html[data-theme="dark"] .waves path:nth-child(1),
html[data-theme="dark"] .waves path:nth-child(3) { stroke: var(--gold); }

/* Stats strip */
.stats-strip {
  margin-top: clamp(60px, 8vh, 100px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative; z-index: 2;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
}
@media (max-width: 720px) { .stats-strip { grid-template-columns: 1fr; } }
.stat {
  padding: 30px clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num .sign { color: var(--accent); font-size: 0.5em; }
html[data-theme="dark"] .stat .num .sign { color: var(--gold); }
.stat .num .unit { color: var(--ink-3); font-size: 0.4em; margin-left: 2px; }
.stat .lbl { margin-top: 12px; max-width: 30ch; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.stat .src { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   PROBLEM — inverse section (dark in light mode, deeper in dark)
═══════════════════════════════════════════════════════════════════ */
.section-inverse {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
}
.section-inverse .section-head h2,
.section-inverse h2, .section-inverse h3 { color: var(--inverse-ink); }
.section-inverse .num-label,
.section-inverse .lede { color: color-mix(in oklab, var(--inverse-ink) 55%, transparent); }
.section-inverse .serif { color: var(--gold); }
.section-inverse .eyebrow { color: var(--gold); }
.section-inverse .eyebrow::before { background: var(--gold); }
html[data-theme="dark"] .section-inverse .serif { color: var(--accent); }
html[data-theme="dark"] .section-inverse .eyebrow { color: var(--accent); }
html[data-theme="dark"] .section-inverse .eyebrow::before { background: var(--accent); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.problem-card {
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--inverse-ink) 10%, transparent);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 300ms ease, background 300ms ease;
}
.problem-card:hover {
  border-color: var(--gold);
  background: color-mix(in oklab, var(--inverse-ink) 6%, transparent);
}
.problem-card .pn {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 300;
  color: color-mix(in oklab, var(--inverse-ink) 30%, transparent);
}
.problem-card .pt {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(19px, 1.5vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-weight: 500;
  color: var(--inverse-ink);
  margin-top: auto;
}
.problem-card .pd {
  color: color-mix(in oklab, var(--inverse-ink) 55%, transparent);
  font-size: 14px; line-height: 1.6;
  margin-top: 10px;
  max-width: 32ch;
}
.problem-card .pstat {
  position: absolute; top: 28px; right: 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px; font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--gold);
}
html[data-theme="dark"] .problem-card .pstat { color: var(--accent-mid); }
.pc-1 { grid-column: span 5; }
.pc-2 { grid-column: span 4; margin-top: 40px; }
.pc-3 { grid-column: span 3; margin-top: 20px; }
.pc-4 { grid-column: 2 / span 4; margin-top: -30px; }
.pc-5 { grid-column: span 4; }
.pc-6 { grid-column: span 4; margin-top: -60px; }
@media (max-width: 900px) {
  .pc-1, .pc-2, .pc-3, .pc-4, .pc-5, .pc-6 { grid-column: 1 / -1; margin-top: 0; }
}

.system-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid color-mix(in oklab, var(--inverse-ink) 10%, transparent);
  border-left: 2px solid var(--gold);
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  text-decoration: none;
  transition: background 250ms, border-left-color 250ms;
}
.system-teaser:hover { background: color-mix(in oklab, var(--inverse-ink) 7%, transparent); }
.system-teaser .quote {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: color-mix(in oklab, var(--inverse-ink) 80%, transparent);
}
.system-teaser .quote em { color: var(--gold); font-style: italic; }
.system-teaser .src {
  display: block; margin-top: 10px;
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--inverse-ink) 40%, transparent);
}
.system-teaser .cta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0;
}
.system-teaser .cta .lbl {
  font-size: 13px; color: color-mix(in oklab, var(--inverse-ink) 55%, transparent);
  text-align: right; max-width: 22ch;
}
.system-teaser .cta .lnk {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 720px) { .system-teaser { grid-template-columns: 1fr; } .system-teaser .cta { align-items: flex-start; } }

/* ═══════════════════════════════════════════════════════════════════
   FRAMEWORK — 3 Why cards
═══════════════════════════════════════════════════════════════════ */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .frame-grid { grid-template-columns: 1fr; } }
.frame-card {
  padding: 44px 32px 48px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 520px;
  position: relative;
  background: var(--bg);
  transition: background 500ms ease;
}
.frame-card:last-child { border-right: 0; }
.frame-card:hover { background: color-mix(in oklab, var(--accent) 5%, var(--bg)); }
html[data-theme="dark"] .frame-card:hover { background: color-mix(in oklab, var(--gold) 4%, var(--bg)); }

.why-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-weight: 300;
  color: var(--ink);
}
.why-num .small {
  font-size: 0.3em;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  margin-left: 6px;
  vertical-align: top;
}
.frame-card h3 {
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.1;
  margin-top: 22px;
  font-weight: 500;
}
.frame-card h3 .serif { display: block; margin-top: 2px; }
.frame-card .label-row {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 16px;
}
.frame-card .body {
  color: var(--ink-2); margin-top: 14px;
  font-size: 14.5px; line-height: 1.65;
  max-width: 36ch;
}
.frame-card ul {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.frame-card .ftag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 3px;
}
html[data-theme="dark"] .frame-card .ftag { color: var(--gold); background: var(--gold-soft); }
.frame-card .ftag.muted {
  color: var(--ink-2); background: var(--line-2);
}

/* ═══════════════════════════════════════════════════════════════════
   PLATFORM
═══════════════════════════════════════════════════════════════════ */
.plat-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .plat-intro { grid-template-columns: 1fr; gap: 24px; } }
.plat-intro h3 {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.03em;
}
.plat-intro p { color: var(--ink-2); font-size: 16px; }

.persona-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.persona-tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 220ms ease;
}
.persona-tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.persona-tab:hover { color: var(--ink); }

.persona-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
  min-height: 560px;
}
.persona-panel {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 5fr 7fr;
  opacity: 0; pointer-events: none;
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1);
}
.persona-panel[data-active="true"] { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) {
  .persona-stage { min-height: 0; }
  .persona-panel { grid-template-columns: 1fr; position: relative; }
  .persona-panel:not([data-active="true"]) { display: none; }
}

.persona-copy {
  padding: 44px;
  display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid var(--line);
}
.persona-copy .role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
html[data-theme="dark"] .persona-copy .role { color: var(--gold); }
.persona-copy h4 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.1;
}
.persona-copy .pq { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 42ch; }

.persona-copy .ftags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.persona-copy .ftag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 5px 10px; border-radius: 3px;
}
html[data-theme="dark"] .persona-copy .ftag { color: var(--gold); background: var(--gold-soft); }

.persona-mock {
  background:
    radial-gradient(at 30% 0%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--surface));
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-window {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(10,27,20,0.18);
}
.mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-3);
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mock-row { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; }
.mock-row .who {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 11px;
}
html[data-theme="dark"] .mock-row .who { background: var(--gold); color: var(--bg); }
.mock-row .who.ai { background: var(--ink); color: var(--bg); }
.mock-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-2);
  max-width: 88%;
  line-height: 1.5;
}
.mock-bubble.ai { background: transparent; border-color: var(--line-2); color: var(--ink); }
.mock-meter {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.mock-meter .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
html[data-theme="dark"] .mock-meter .live { color: var(--gold); }
.mock-meter .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 0 currentColor;
  animation: pulse 1.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 currentColor; }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.mock-meter .bars { display: flex; gap: 3px; flex: 1; align-items: center; height: 16px; }
.mock-meter .bars span {
  display: inline-block; width: 3px; background: var(--accent); border-radius: 2px;
  animation: bar 900ms ease-in-out infinite;
}
html[data-theme="dark"] .mock-meter .bars span { background: var(--gold); }
@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Session modes (3 cells) */
.session-modes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .session-modes { grid-template-columns: 1fr; } }
.session-mode {
  padding: 28px;
  border-right: 1px solid var(--line);
}
.session-mode:last-child { border-right: 0; }
.session-mode .stag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
html[data-theme="dark"] .session-mode .stag { color: var(--gold); }
.session-mode.featured { background: var(--accent-soft); }
html[data-theme="dark"] .session-mode.featured { background: var(--gold-soft); }
.session-mode h4 {
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.session-mode p {
  color: var(--ink-2); font-size: 13.5px; line-height: 1.6;
  max-width: 32ch;
}

/* Deliverables 3-col */
.deliverables {
  margin-top: 48px;
  background: var(--accent-soft);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
html[data-theme="dark"] .deliverables { background: var(--gold-soft); }
@media (max-width: 900px) { .deliverables { grid-template-columns: 1fr; gap: 24px; padding: 24px; } }
.deliverables h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
html[data-theme="dark"] .deliverables h5 { color: var(--gold); }
.deliverables ul { list-style: none; padding: 0; margin: 0; }
.deliverables li {
  font-size: 13px; line-height: 1.55;
  color: var(--ink-2);
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
}
.deliverables li:first-child { border-top: 0; }

/* System Intelligence */
.sys-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 720px) { .sys-grid { grid-template-columns: 1fr; } }
.sys-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  transition: transform 250ms ease, border-color 250ms ease;
}
.sys-card:hover { border-color: var(--accent); }
html[data-theme="dark"] .sys-card:hover { border-color: var(--gold); }
.sys-card .ic {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.sys-card h4 {
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.sys-card p { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.sys-card .ftags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sys-card .ftag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 8px; border-radius: 3px;
}
html[data-theme="dark"] .sys-card .ftag { color: var(--gold); background: var(--gold-soft); }

/* Philosophy dark callout */
.philosophy {
  margin-top: 48px;
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
@media (max-width: 720px) { .philosophy { grid-template-columns: 1fr; gap: 24px; padding: 32px; } }
.philosophy h3 {
  color: var(--inverse-ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 10px;
}
.philosophy h3 .serif { color: var(--gold); }
html[data-theme="dark"] .philosophy h3 .serif { color: var(--accent); }
.philosophy p { color: color-mix(in oklab, var(--inverse-ink) 60%, transparent); font-size: 14.5px; line-height: 1.7; }
.philosophy .label {
  color: color-mix(in oklab, var(--inverse-ink) 35%, transparent);
  display: block; margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   NUTZEN / VALUE
═══════════════════════════════════════════════════════════════════ */
.bar-row {
  display: grid; grid-template-columns: 1fr; gap: 26px;
  padding-top: 8px;
}
.bar {
  display: grid; grid-template-columns: 1fr auto; row-gap: 8px;
  align-items: baseline;
}
.bar .lbl { font-size: 13px; color: var(--ink-2); letter-spacing: 0.01em; }
.bar .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1;
  letter-spacing: -0.03em; color: var(--ink); font-weight: 400;
}
.bar .num .sign { color: var(--accent); font-size: 0.6em; vertical-align: 0.1em; }
html[data-theme="dark"] .bar .num .sign { color: var(--gold); }
.bar .track {
  grid-column: 1 / -1;
  height: 1px; background: var(--line); position: relative; overflow: hidden;
}
.bar .fill {
  position: absolute; inset: 0 var(--right, 30%) 0 0;
  background: linear-gradient(90deg, transparent, var(--accent));
  height: 1px;
}
html[data-theme="dark"] .bar .fill { background: linear-gradient(90deg, transparent, var(--gold)); }
.bar .fill::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 1px; height: 9px; background: var(--accent);
}
html[data-theme="dark"] .bar .fill::after { background: var(--gold); }

.value-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; gap: 32px; } }

.value-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin: 0 0 56px;
}
@media (max-width: 720px) { .value-kpis { grid-template-columns: 1fr; } }
.kpi {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.kpi:last-child { border-right: 0; }
.kpi.featured { background: var(--accent-soft); }
html[data-theme="dark"] .kpi.featured { background: var(--gold-soft); }
.kpi .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--accent);
  font-weight: 400;
}
html[data-theme="dark"] .kpi .num { color: var(--gold); }
.kpi .num .u { font-size: 0.4em; vertical-align: 0.2em; }
.kpi .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 10px 0 12px;
}
.kpi p { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.kpi .src { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--ink-3); margin-top: 10px; letter-spacing: 0.1em; }

/* Persona-by-role dark band */
.persona-band {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  padding: 44px 44px 36px;
  border-radius: 2px;
  margin: 48px 0 56px;
}
@media (max-width: 720px) { .persona-band { padding: 28px 24px; } }
.persona-band h3 {
  color: var(--inverse-ink);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 8px;
}
.persona-band h3 .serif { color: var(--gold); }
html[data-theme="dark"] .persona-band h3 .serif { color: var(--accent); }
.persona-band > .lede { color: color-mix(in oklab, var(--inverse-ink) 45%, transparent); font-size: 14.5px; margin-bottom: 36px; max-width: 56ch; }
.persona-band .label { color: color-mix(in oklab, var(--inverse-ink) 35%, transparent); display: block; margin-bottom: 14px; }
.pcards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr; } }
.pcard {
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--inverse-ink) 8%, transparent);
  border-radius: 6px; overflow: hidden;
}
.pcard .head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--inverse-ink) 6%, transparent);
}
.pcard .ic {
  display: block; margin-bottom: 12px;
  width: 26px; height: 26px;
}
.pcard .role-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--inverse-ink);
  margin-bottom: 4px;
}
.pcard .role-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--inverse-ink) 30%, transparent);
}
.pcard .body { padding: 22px; }
.pcard .ttl {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: color-mix(in oklab, var(--inverse-ink) 35%, transparent);
  margin-bottom: 10px;
}
.pcard .ttl.pos { color: var(--gold); }
html[data-theme="dark"] .pcard .ttl.pos { color: var(--accent-mid); }
.pcard ul { list-style: none; padding: 0; margin: 0 0 18px; }
.pcard li {
  font-size: 12.5px; line-height: 1.7;
  color: color-mix(in oklab, var(--inverse-ink) 60%, transparent);
  padding-left: 16px; position: relative;
}
.pcard li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--danger);
}
.pcard li.pos { color: color-mix(in oklab, var(--inverse-ink) 75%, transparent); }
.pcard li.pos::before { background: var(--gold); }
html[data-theme="dark"] .pcard li.pos::before { background: var(--accent-mid); }
.pcard .pull {
  border-left: 2px solid var(--gold);
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  padding: 12px 14px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 13px; line-height: 1.55;
  color: color-mix(in oklab, var(--inverse-ink) 60%, transparent);
}
html[data-theme="dark"] .pcard .pull { border-left-color: var(--accent-mid); }

/* Method rows */
.method-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 720px) { .method-row { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; } }
.method-row:first-child { border-top: 0; padding-top: 0; }
.method-row .ml {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.method-row h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.15;
}
.method-row p { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.method-row p:last-child { margin-bottom: 0; }
.method-row .mtags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.mtag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 2px;
}
.mtag.em {
  color: var(--accent); background: var(--accent-soft); border-color: transparent;
}
html[data-theme="dark"] .mtag.em { color: var(--gold); background: var(--gold-soft); }

/* ═══════════════════════════════════════════════════════════════════
   POSITIONING TABLE
═══════════════════════════════════════════════════════════════════ */
.pos-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin-top: 32px;
}
.pos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 760px;
}
.pos-table thead { background: var(--inverse-bg); }
.pos-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--inverse-ink) 50%, transparent);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.pos-table thead th.featured-col {
  color: var(--gold); background: color-mix(in oklab, var(--inverse-ink) 8%, var(--inverse-bg));
}
html[data-theme="dark"] .pos-table thead th.featured-col { color: var(--accent-mid); }
.pos-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.pos-table tbody td.dim { color: var(--ink-3); }
.pos-table tbody td.dim::before { content: "— "; }
.pos-table tbody td.k { color: var(--ink); font-weight: 500; white-space: nowrap; }
.pos-table tbody td.win {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}
html[data-theme="dark"] .pos-table tbody td.win { background: var(--gold-soft); color: var(--gold); }
.pos-table tbody td.win::before { content: "✓ "; }
.pos-table tbody tr:nth-child(even) td { background-color: var(--bg-2); }
.pos-table tbody tr:nth-child(even) td.win { background: color-mix(in oklab, var(--accent) 14%, transparent); }
html[data-theme="dark"] .pos-table tbody tr:nth-child(even) td.win { background: color-mix(in oklab, var(--gold) 22%, transparent); }
.pos-table tbody tr:last-child td { border-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
}
.testimonials .eyebrow { color: var(--gold); }
.testimonials .eyebrow::before { background: var(--gold); }
html[data-theme="dark"] .testimonials .eyebrow { color: var(--accent-mid); }
html[data-theme="dark"] .testimonials .eyebrow::before { background: var(--accent-mid); }
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 40px;
}
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }
.testi {
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--inverse-ink) 8%, transparent);
  padding: 30px;
  position: relative;
}
.testi.featured { border-left: 2px solid var(--gold); }
html[data-theme="dark"] .testi.featured { border-left-color: var(--accent-mid); }
.testi .q {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: color-mix(in oklab, var(--inverse-ink) 85%, transparent);
  margin-bottom: 22px;
}
.testi .who {
  border-top: 1px solid color-mix(in oklab, var(--inverse-ink) 10%, transparent);
  padding-top: 14px;
}
.testi .who .name { font-size: 13px; font-weight: 500; color: color-mix(in oklab, var(--inverse-ink) 72%, transparent); }
.testi .who .sub { font-family: "JetBrains Mono", monospace; font-size: 10px; color: color-mix(in oklab, var(--inverse-ink) 35%, transparent); margin-top: 3px; letter-spacing: 0.08em; }

.audio-card {
  margin-top: 36px;
  background: color-mix(in oklab, var(--inverse-ink) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--inverse-ink) 8%, transparent);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 22px;
}
@media (max-width: 600px) { .audio-card { flex-direction: column; align-items: flex-start; } }
.audio-card .play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  color: var(--inverse-bg);
  flex-shrink: 0;
}
html[data-theme="dark"] .audio-card .play-btn { background: var(--accent-mid); }
.audio-card .meta { flex: 1; min-width: 0; }
.audio-card .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
html[data-theme="dark"] .audio-card .lbl { color: var(--accent-mid); }
.audio-card .t {
  font-size: 15px; font-weight: 500; color: color-mix(in oklab, var(--inverse-ink) 80%, transparent);
  margin-bottom: 10px;
}
.audio-card audio {
  width: 100%; height: 32px;
  filter: invert(.85) hue-rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════════
   INSIGHTS / ACADEMIC
═══════════════════════════════════════════════════════════════════ */
.insights { background: var(--bg-2); }
.insight-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
}
.insight-card.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .insight-card.dual { grid-template-columns: 1fr; } }
.insight-card.tinted { background: var(--accent-soft); }
html[data-theme="dark"] .insight-card.tinted { background: var(--gold-soft); }
.insight-card.dark { background: var(--bg-3); }
.insight-card .idx {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.insight-card .idx .n { color: var(--accent); font-weight: 500; }
html[data-theme="dark"] .insight-card .idx .n { color: var(--gold); }
.insight-card h2 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 6px;
}
.insight-card .src {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.05em;
  color: var(--ink-3);
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.insight-card p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-bottom: 12px; }
.insight-card p strong { color: var(--ink); font-weight: 500; }

.key-callout {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: 12px 14px;
  margin: 14px 0;
}
html[data-theme="dark"] .key-callout { border-left-color: var(--gold); background: var(--gold-soft); }
.key-callout p { margin: 0; font-size: 13.5px; color: var(--ink); }
.key-callout strong { color: var(--accent); }
html[data-theme="dark"] .key-callout strong { color: var(--gold); }

.chart-box {
  position: relative; width: 100%; height: 260px;
  margin-top: 14px;
}
.chart-box.tall { height: 300px; }
.chart-caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; color: var(--ink-3);
  margin-top: 8px;
}

.spin-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 14px;
}
@media (max-width: 720px) { .spin-flow { grid-template-columns: repeat(2, 1fr); } }
.spin-step {
  background: var(--surface); border: 1px solid var(--line);
  padding: 14px 16px;
}
.spin-step.active { background: var(--accent-soft); border-color: var(--accent); }
html[data-theme="dark"] .spin-step.active { background: var(--gold-soft); border-color: var(--gold); }
.spin-step .l {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px; font-weight: 400; color: var(--accent);
  letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 6px;
}
html[data-theme="dark"] .spin-step .l { color: var(--gold); }
.spin-step h4 { font-size: 13px; font-weight: 500; }
.spin-step p { font-size: 11.5px; line-height: 1.5; color: var(--ink-2); margin: 4px 0 0; }

.wp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 14px;
}
@media (max-width: 720px) { .wp-grid { grid-template-columns: repeat(2, 1fr); } }
.wp-item {
  background: var(--surface); border: 1px solid var(--line);
  padding: 14px 16px;
}
.wp-item.hero { background: var(--accent-soft); border-color: var(--accent); }
html[data-theme="dark"] .wp-item.hero { background: var(--gold-soft); border-color: var(--gold); }
.wp-item .b {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
html[data-theme="dark"] .wp-item .b { color: var(--gold); }
.wp-item h4 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.wp-item p { font-size: 11.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }

.bib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 16px; }
@media (max-width: 900px) { .bib-grid { grid-template-columns: 1fr; } }
.bib-group h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  font-weight: 500;
}
html[data-theme="dark"] .bib-group h3 { color: var(--gold); }
.bib-entry { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-bottom: 14px; }
.bib-n { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--accent); font-weight: 500; }
html[data-theme="dark"] .bib-n { color: var(--gold); }
.bib-entry h4 { font-size: 13.5px; font-weight: 500; margin-bottom: 3px; }
.bib-entry .au { font-size: 11.5px; color: var(--ink-2); font-style: italic; margin-bottom: 3px; }
.bib-entry .nt { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════
   ABOUT / CARSTEN
═══════════════════════════════════════════════════════════════════ */
.founder {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 32px; } }
.portrait {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--inverse-bg);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.92);
  z-index: 0;
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in oklab, var(--inverse-bg) 30%, transparent) 50%,
    color-mix(in oklab, var(--inverse-bg) 90%, transparent) 100%);
  z-index: 1;
}
.portrait .ph {
  position: relative; z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--inverse-ink) 70%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--inverse-ink) 30%, transparent);
  padding-top: 14px; width: 100%;
  display: flex; justify-content: space-between;
}
.portrait .name {
  position: relative; z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400; letter-spacing: -0.035em; line-height: 1.05;
  color: var(--inverse-ink);
  margin-bottom: 18px;
}
.portrait .name .serif { color: var(--gold); }
html[data-theme="dark"] .portrait .name .serif { color: var(--accent-mid); }
.portrait .tagline {
  position: relative; z-index: 2;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 15px; line-height: 1.4;
  color: color-mix(in oklab, var(--inverse-ink) 70%, transparent);
  margin-bottom: 18px; max-width: 28ch;
}

.founder-body h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 14px;
}
.founder-body h3 .serif { display: block; margin-top: 2px; font-style: italic; }
.founder-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.founder-body p strong { color: var(--ink); font-weight: 500; }
.founder-body .chap { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.founder-body .chap:last-child { border-bottom: 0; }
.founder-body .chap-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}

.cv-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.cv-row:last-child { border-bottom: 1px solid var(--line); }
.cv-row .yr {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--accent); letter-spacing: 0.1em;
  padding-top: 2px;
}
html[data-theme="dark"] .cv-row .yr { color: var(--gold); }
.cv-row .role { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cv-row .org { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.cv-row .desc { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.04em; }

.quote-block {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 18px;
  margin: 18px 0;
}
html[data-theme="dark"] .quote-block { border-left-color: var(--gold); background: var(--gold-soft); }
.quote-block p {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 17px; line-height: 1.5;
  color: var(--ink); margin: 0 0 6px;
}
.quote-block .attr {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-2);
}

.values {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-top: 18px;
}
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.val {
  padding: 18px 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.val:nth-child(2n) { border-right: 0; }
.val:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) { .val { border-right: 0; } .val:nth-child(2n) { border-right: 0; } }
.val h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
html[data-theme="dark"] .val h4 { color: var(--gold); }
.val p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════
   SUMMARY (3-row table)
═══════════════════════════════════════════════════════════════════ */
.summary {
  border: 1px solid var(--line);
  background: var(--surface);
}
.summary-row {
  display: grid; grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
}
.summary-row:last-child { border-bottom: 0; }
@media (max-width: 720px) { .summary-row { grid-template-columns: 1fr; } }
.summary-row .badge {
  padding: 24px 22px;
  display: flex; align-items: flex-start;
  border-right: 1px solid var(--line);
}
@media (max-width: 720px) { .summary-row .badge { border-right: 0; padding-bottom: 6px; } }
.summary-row .badge span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 12px; border-radius: 2px;
  white-space: nowrap;
  font-weight: 600;
}
html[data-theme="dark"] .summary-row .badge span { background: var(--gold); color: var(--inverse-bg); }
.summary-row .badge.b-strategic span { background: var(--ink-2); }
.summary-row .badge.b-big span { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] .summary-row .badge.b-big span { background: var(--inverse-ink); color: var(--inverse-bg); }
.summary-row .txt {
  padding: 26px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════════ */
.cta {
  background: var(--accent);
  color: #FFFFFF;
  text-align: center;
}
html[data-theme="dark"] .cta { background: var(--gold); color: var(--inverse-bg); }
.cta .eyebrow,
.cta .eyebrow::before { color: rgba(255,255,255,0.6); }
.cta .eyebrow::before { background: rgba(255,255,255,0.6); }
html[data-theme="dark"] .cta .eyebrow,
html[data-theme="dark"] .cta .eyebrow::before { color: rgba(10,26,18,0.6); background: rgba(10,26,18,0.6); }
.cta h2 {
  color: inherit;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95; letter-spacing: -0.04em; font-weight: 400;
  max-width: 18ch; margin: 0 auto 18px;
}
.cta h2 .serif { color: rgba(255,255,255,0.7); }
html[data-theme="dark"] .cta h2 .serif { color: rgba(10,26,18,0.6); }
.cta p { color: rgba(255,255,255,0.7); max-width: 36ch; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; }
html[data-theme="dark"] .cta p { color: rgba(10,26,18,0.7); }
.btn-on-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FFFFFF; color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  padding: 16px 28px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform 200ms ease, filter 200ms ease;
}
.btn-on-cta:hover { transform: translateY(-1px); filter: brightness(0.95); }
html[data-theme="dark"] .btn-on-cta { background: var(--inverse-bg); color: var(--gold); }
.cta-mail {
  margin-top: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
html[data-theme="dark"] .cta-mail { color: rgba(10,26,18,0.55); }
.cta-mail a { color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.35); }
html[data-theme="dark"] .cta-mail a { color: rgba(10,26,18,0.85); border-bottom-color: rgba(10,26,18,0.4); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-2);
  padding: 60px 0 28px;
}
.foot-top {
  display: grid; grid-template-columns: 3fr 9fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; gap: 32px; } }
.foot-brand .wm-lg {
  font-size: 38px;
}
.foot-brand .wm-lg .wm-tld { font-size: 32px; }
.foot-brand p {
  margin-top: 12px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 17px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 28ch;
}
.foot-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-col a {
  font-size: 13px; color: var(--ink-2);
  transition: color 200ms ease;
}
.foot-col a:hover { color: var(--accent); }
html[data-theme="dark"] .foot-col a:hover { color: var(--gold); }
.foot-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════════════════════
   REVEAL — opt-in, never hides content
   (kept as no-op so future enhancements can hook in without breaking)
═══════════════════════════════════════════════════════════════════ */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .word span { animation: none; transform: none; }
  .mock-meter .live::before, .mock-meter .bars span { animation: none; }
}

/* Section anchors offset for fixed nav */
section[id] { scroll-margin-top: 80px; }

/* Back to top */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 80;
  width: 40px; height: 40px;
  background: var(--ink); color: var(--bg);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--accent); color: #fff; }
html[data-theme="dark"] .back-top:hover { background: var(--gold); color: var(--inverse-bg); }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE POLISH (< 600px)
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .shell { padding: 0 18px; }
  section { padding: 64px 0; }

  /* Nav: hide links (covered by one-pager scroll), keep brand + CTA + toggles */
  .nav { padding: 14px 18px; gap: 8px; }
  .nav.scrolled { padding: 10px 18px; }
  .wm { font-size: 22px; }
  .wm-tld { font-size: 20px; }
  .nav-right { gap: 6px; }
  .lang-toggle button { padding: 5px 8px; font-size: 9px; }
  .theme-btn { width: 30px; height: 30px; }
  .btn-nav-cta { font-size: 11px; padding: 8px 12px; }

  /* Hero */
  .hero { padding-top: 110px; min-height: 88vh; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); margin: 14px 0 16px; }
  .hero-sub { font-size: 15px; }
  .hero-meta .row { padding: 11px 0; font-size: 12px; }
  .hero-meta .row .k { font-size: 10px; letter-spacing: 0.12em; }

  /* Stats */
  .stats-strip { margin-top: 48px; }
  .stat { padding: 22px 18px; }
  .stat .num { font-size: 42px; }
  .stat .lbl { font-size: 12px; }

  /* Section head */
  .section-head { gap: 14px; margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(28px, 7.5vw, 40px); }
  .section-head .lede { font-size: 14.5px; }

  /* Problem cards */
  .problem-grid { gap: 14px; }
  .problem-card { padding: 22px 22px 24px; min-height: 220px; }
  .problem-card .pn { font-size: 56px; }
  .problem-card .pt { font-size: 18px; }
  .problem-card .pstat { font-size: 22px; top: 22px; right: 22px; }
  .system-teaser { padding: 22px 22px; margin-top: 36px; }
  .system-teaser .quote { font-size: 16px; }

  /* Framework cards */
  .frame-card { padding: 32px 24px 36px; min-height: 0; }
  .why-num { font-size: 64px; }
  .frame-card h3 { font-size: 22px; margin-top: 16px; }

  /* Platform */
  .plat-intro { gap: 18px; margin-bottom: 36px; }
  .plat-intro h3 { font-size: 26px; }
  .persona-tab { padding: 8px 14px; font-size: 10.5px; }
  .persona-copy { padding: 28px 22px; }
  .persona-copy h4 { font-size: 22px; }
  .persona-mock { padding: 22px; }
  .mock-body { padding: 16px; gap: 10px; }
  .mock-bubble { font-size: 12.5px; padding: 9px 12px; }
  .mock-row .who { width: 22px; height: 22px; flex-basis: 22px; font-size: 10px; }
  .session-mode { padding: 22px; }
  .session-mode h4 { font-size: 16px; }
  .deliverables { padding: 22px; gap: 22px; }
  .sys-card { padding: 22px; }
  .philosophy { padding: 28px 22px; gap: 18px; }
  .philosophy h3 { font-size: 20px; }

  /* Value */
  .value-kpis { margin-bottom: 36px; }
  .kpi { padding: 22px 20px; }
  .kpi .num { font-size: 40px; }
  .value-grid { gap: 28px; }
  .bar .num { font-size: 26px; }
  .bar .lbl { font-size: 12px; }
  .quote-block p { font-size: 16px; }
  .persona-band { padding: 28px 22px; margin: 36px 0 40px; }
  .persona-band h3 { font-size: 22px; }
  .pcard .head, .pcard .body { padding: 18px; }
  .method-row { padding: 22px 0; gap: 12px; }
  .method-row h3 { font-size: 18px; }

  /* Positioning */
  .pos-wrap { margin-top: 24px; }
  .pos-table { min-width: 600px; font-size: 11.5px; }
  .pos-table thead th, .pos-table tbody td { padding: 10px 12px; }

  /* Testimonials */
  .t-grid { gap: 14px; }
  .testi { padding: 22px; }
  .testi .q { font-size: 16px; margin-bottom: 18px; }
  .audio-card { padding: 18px 20px; gap: 14px; }
  .audio-card .play-btn { width: 44px; height: 44px; }
  .audio-card .t { font-size: 14px; }

  /* Insights */
  .insight-card { padding: 24px; }
  .insight-card.dual { padding: 24px; gap: 22px; }
  .insight-card h2 { font-size: 18px; }
  .chart-box { height: 200px; margin-top: 10px; }
  .chart-box.tall { height: 240px; }
  .spin-step .l { font-size: 18px; }
  .bib-entry h4 { font-size: 13px; }

  /* About / founder */
  .founder { gap: 28px; }
  .portrait { padding: 18px; }
  .portrait .name { font-size: 32px; margin-bottom: 14px; }
  .portrait .tagline { font-size: 13.5px; }
  .founder-body h3 { font-size: 20px; }
  .founder-body .chap { margin-bottom: 28px; padding-bottom: 18px; }
  .cv-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .cv-row .yr { font-size: 10.5px; }
  .quote-block p { font-size: 15px; }
  .values { grid-template-columns: 1fr; }
  .val { padding: 14px 16px; }

  /* Summary */
  .summary-row { grid-template-columns: 1fr; }
  .summary-row .badge { padding: 18px 20px 6px; border-right: 0; }
  .summary-row .txt { padding: 14px 20px 22px; font-size: 14px; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta h2 { font-size: clamp(32px, 8.5vw, 48px); }
  .cta p { font-size: 14.5px; }
  .btn-on-cta { padding: 14px 22px; font-size: 13px; }

  /* Footer */
  footer { padding: 40px 0 24px; }
  .foot-top { gap: 28px; padding-bottom: 28px; }
  .foot-brand .wm-lg { font-size: 30px; }
  .foot-brand .wm-lg .wm-tld { font-size: 26px; }
  .foot-brand p { font-size: 15px; margin-top: 10px; }
  .foot-cols { gap: 22px; }
  .foot-col h5 { margin-bottom: 10px; }
  .foot-col a { font-size: 12.5px; }
  .foot-bottom { font-size: 9.5px; gap: 12px; }

  /* Back to top — smaller, less in the way on mobile */
  .back-top { width: 36px; height: 36px; bottom: 18px; right: 18px; }
}

/* Very small screens (<400px) — final clamp */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(36px, 13vw, 48px); }
  .section-head h2 { font-size: clamp(24px, 8vw, 32px); }
  .stat .num { font-size: 36px; }
}
