/* ================================================================
   CORNELIA PAULINE — Quiz Funnel
   Editorial design system for a globally-mobile creator brand.
   ================================================================ */

:root {
  /* Palette: Editorial Navy (default) */
  --ink:    #0F1E2E;
  --ink-2:  #1A2E44;
  --gold:   #C9A86B;
  --teal:   #2A6F6A;
  --cream:  #F5EFE4;
  --cream-2:#EDE5D4;
  --paper:  #FBF8F1;
  --slate:  #4A5868;
  --slate-2:#8A93A0;
  --line:   rgba(15, 30, 46, 0.12);
  --line-2: rgba(15, 30, 46, 0.06);

  /* Type */
  --font-serif: 'Lora', 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  --rad: 4px;
  --rad-lg: 10px;
  --maxw: 1240px;
}

/* Palette: Stark Ink */
body[data-palette="stark"] {
  --ink:    #1A1A1A;
  --ink-2:  #2C2C2C;
  --gold:   #1A1A1A;
  --teal:   #1A1A1A;
  --cream:  #F4F2EE;
  --cream-2:#E8E5DF;
  --paper:  #FFFFFF;
  --slate:  #555555;
  --slate-2:#9A9A9A;
  --line:   rgba(0,0,0,.14);
  --line-2: rgba(0,0,0,.06);
}

/* Palette: Warm Terracotta */
body[data-palette="terracotta"] {
  --ink:    #2A1F18;
  --ink-2:  #3D2D24;
  --gold:   #B8633D;
  --teal:   #6B8E7F;
  --cream:  #F1E8DC;
  --cream-2:#E5D8C5;
  --paper:  #F9F2E7;
  --slate:  #5C4A3F;
  --slate-2:#8F7A6B;
  --line:   rgba(42,31,24,.14);
  --line-2: rgba(42,31,24,.06);
}

/* Display font swap */
body[data-display="cormorant"] {
  --font-serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
}
body[data-display="sans"] {
  --font-serif: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
a { color: inherit; }

/* ── type utilities ── */
.serif { font-family: var(--font-serif); font-weight: 400; }
.mono  { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
}
.eyebrow .dot { color: var(--gold); margin: 0 0.4em; }

/* ── reusable: gold underline word ── */
.gold-mark {
  color: var(--ink);
  background-image: linear-gradient(transparent 70%, color-mix(in oklab, var(--gold) 35%, transparent) 70%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
}

/* ── shell ── */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

/* ── topbar ── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line-2);
  background: var(--cream);
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark .glyph {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.topnav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--slate);
}
.topnav a {
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .15s;
}
.topnav a:hover { color: var(--ink); }
.topnav .active { color: var(--ink); }

/* ── EN / DE language toggle in the nav ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.lang-opt {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--slate);
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  padding: 4px 2px;
  cursor: pointer;
  transition: color .15s;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt.is-active {
  color: var(--gold);
  font-weight: 500;
}
.lang-sep {
  color: var(--slate-2);
  font-weight: 300;
}
/* Apply page variant — light on dark */
.apply-page .lang-toggle { border-left-color: color-mix(in oklab, var(--paper) 14%, transparent); }
.apply-page .lang-opt { color: color-mix(in oklab, var(--paper) 60%, transparent); }
.apply-page .lang-opt:hover { color: var(--paper); }
.apply-page .lang-opt.is-active { color: var(--gold); }
.apply-page .lang-sep { color: color-mix(in oklab, var(--paper) 30%, transparent); }
/* Mobile menu variant — toggle slots in as a flat row */
.topbar.is-mobile-open .lang-toggle {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
  padding: 16px 24px;
  width: 100%;
  justify-content: flex-start;
  border-top: 1px solid var(--line-2);
}

/* ── countries marquee ── */
.countries {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.countries .sep { color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════════════ */
.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  max-width: 100%;
  position: relative;
}

.hero-left {
  padding: 72px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 36px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.hero-headline em {
  font-style: italic;
  color: var(--ink);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin: 0 0 12px;
  font-weight: 300;
}

.hero-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 500px;
  margin: 0 0 36px;
  font-weight: 300;
  font-style: italic;
}
.hero-body .nots {
  color: var(--ink);
  font-style: normal;
  font-weight: 400;
}

/* ── opt-in form ── */
.optin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin-top: 4px;
}
.optin-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
}
.field {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 300;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.field::placeholder { color: var(--slate-2); }
.field:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.btn {
  appearance: none;
  border: none;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 16px 22px;
  border-radius: var(--rad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s, transform .15s;
  width: 100%;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: color-mix(in oklab, var(--gold) 88%, var(--ink) 12%); }

.trust-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: 14px;
}
.trust-line .sep { margin: 0 8px; color: var(--gold); }

/* ── hero-right (editorial portrait slot) ── */
.hero-right {
  background: var(--cream-2);
  border-left: 1px solid var(--line-2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  overflow: hidden;
}

/* Real photo treatment — fills the right column edge-to-edge */
.portrait-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.portrait-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.02);
}
.portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--ink) 8%, transparent) 0%,
    color-mix(in oklab, var(--ink) 18%, transparent) 35%,
    color-mix(in oklab, var(--ink) 60%, transparent) 78%,
    color-mix(in oklab, var(--ink) 88%, transparent) 100%);
  pointer-events: none;
}
.portrait-quote {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 84px;
  color: var(--paper);
  z-index: 2;
  max-width: 460px;
}
.portrait-quote-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
.portrait-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.32;
  color: var(--paper);
  margin: 0 0 22px;
  font-weight: 400;
  text-wrap: pretty;
}
.portrait-quote .portrait-sig {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.portrait-quote .portrait-sig .name { color: var(--paper); font-weight: 500; }
.portrait-quote .portrait-sig .sep { color: var(--gold); }

.portrait-stamp {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  background: color-mix(in oklab, var(--ink) 35%, transparent);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  padding: 8px 14px;
  border: 1px solid color-mix(in oklab, var(--paper) 25%, transparent);
}
.portrait-stamp .pct { color: var(--gold); }

.portrait-slot {
  position: absolute;
  inset: 32px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 18px,
      color-mix(in oklab, var(--ink) 4%, transparent) 18px,
      color-mix(in oklab, var(--ink) 4%, transparent) 19px
    ),
    linear-gradient(180deg, color-mix(in oklab, var(--ink) 6%, var(--cream-2)) 0%, var(--cream-2) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.portrait-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.portrait-label .pct { color: var(--gold); }

.portrait-meta {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
  max-width: 320px;
}
.portrait-meta::before {
  content: "“";
  font-size: 56px;
  line-height: 0.2;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  font-style: normal;
}
.portrait-sig {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 16px;
}
.portrait-sig .name { color: var(--ink); font-weight: 500; }

/* ── proof band ── */
.proof-band {
  border-top: 1px solid var(--line-2);
  padding: 22px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  flex-wrap: wrap;
  gap: 16px;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* ════════════════════════════════════════════════════════════════
   QUIZ
   ════════════════════════════════════════════════════════════════ */
.quiz-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  position: relative;
}
.quiz-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line-2);
  gap: 24px;
}
.quiz-head .wordmark { justify-self: start; }
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
}
.progress-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.progress-text b { color: var(--ink); font-weight: 500; }
.progress-track {
  width: 220px;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--gold);
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
}
.quiz-exit {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: none;
  padding: 6px 10px;
  transition: color .15s;
}
.quiz-exit:hover { color: var(--ink); }

.quiz-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.quiz-card {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.quiz-question {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  max-width: 820px;
  margin: 0 0 48px;
  text-wrap: balance;
}

.quiz-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 820px;
}

.answer {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 22px 24px 22px 22px;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
  position: relative;
  min-height: 96px;
}
.answer:hover {
  border-color: var(--ink);
  background: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -20px rgba(15,30,46,.5);
}
.answer.selected {
  border-color: var(--ink);
  background: color-mix(in oklab, var(--gold) 16%, var(--paper));
}
.answer-letter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition: background .18s, color .18s, border-color .18s;
}
.answer:hover .answer-letter,
.answer.selected .answer-letter {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.answer-text { color: inherit; }
.answer-tick {
  font-family: var(--font-mono);
  color: var(--slate-2);
  font-size: 14px;
  opacity: 0;
  transition: opacity .18s, transform .18s;
}
.answer:hover .answer-tick { opacity: 1; color: var(--ink); transform: translateX(2px); }
.answer.selected .answer-tick { opacity: 1; color: var(--ink); }

.quiz-foot {
  padding: 18px 40px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
}
.quiz-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: none;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s;
}
.quiz-back:hover { color: var(--ink); }
.quiz-back[disabled] { opacity: 0.3; pointer-events: none; }
.quiz-tip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* Question fade-in animation */
.quiz-card { animation: qFade .42s cubic-bezier(.2,.7,.2,1); }
@keyframes qFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── calculating overlay ── */
.calc-overlay {
  position: absolute;
  inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 24px;
  animation: calcFade .3s ease;
}
@keyframes calcFade { from { opacity: 0; } to { opacity: 1; } }
.calc-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.calc-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.calc-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ════════════════════════════════════════════════════════════════
   RESULT PAGE
   ════════════════════════════════════════════════════════════════ */
.result {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.result-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border-bottom: 1px solid var(--line-2);
}
.result-left {
  padding: 64px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-type-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.result-type-label .ix {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  border-radius: 2px;
}
.result-type-name {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px;
}
.result-type-name em { font-style: italic; }
.result-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--slate);
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 620px;
  text-wrap: pretty;
}
.result-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 620px;
  font-weight: 300;
}
.result-body p { margin: 0 0 18px; }
.result-body p:last-child { margin-bottom: 0; }

/* right card */
.result-right {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.result-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      transparent 0, transparent 32px,
      rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.cta-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
}
.cta-portrait {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
}
.cta-portrait img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 2px solid color-mix(in oklab, var(--gold) 80%, transparent);
  flex-shrink: 0;
}
.cta-portrait-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 4px;
  line-height: 1;
}
.cta-portrait-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  line-height: 1.3;
}
.cta-card-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 16px;
  position: relative;
  text-wrap: pretty;
}
.cta-card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  margin: 0 0 28px;
  position: relative;
  font-weight: 300;
}
.cta-btn {
  appearance: none;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 18px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--rad);
  transition: background .18s, transform .15s;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover { background: color-mix(in oklab, var(--gold) 88%, white 12%); }
.cta-btn:active { transform: translateY(1px); }
.cta-btn .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform .2s;
}
.cta-btn:hover .arrow { transform: translateX(3px); }
.cta-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  margin-top: 18px;
  position: relative;
}
.cta-foot .sep { color: var(--gold); margin: 0 6px; }

/* what to expect strip */
.what-to-expect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-2);
  background: var(--paper);
}
.wte-cell {
  padding: 36px 40px;
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wte-cell:last-child { border-right: none; }
.wte-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.wte-h {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.wte-p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
}

/* other types row */
.other-types {
  padding: 56px 80px 72px;
  background: var(--cream);
}
.other-types-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.type-tile {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, transform .15s;
}
.type-tile.is-yours {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.type-tile.is-yours .tt-meta { color: var(--gold); }
.type-tile.is-yours .tt-name { color: var(--paper); }
.type-tile.is-yours .tt-sub { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.tt-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tt-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.tt-sub {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

/* ── retake bar ── */
.retake-bar {
  padding: 24px 80px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
  gap: 12px;
}
.retake-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13.5px;
  padding: 12px 18px;
  border-radius: var(--rad);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.retake-btn:hover { background: var(--paper); border-color: var(--ink); }
.retake-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE — shared section heads
   ════════════════════════════════════════════════════════════════ */
.section-head {
  padding: 80px 80px 36px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.section-h {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 880px;
  text-wrap: pretty;
}
.section-h em { font-style: italic; }

/* navy-break coda line */
.navy-break-coda {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 28px;
}

/* ════ WHO THIS IS FOR ════ */
.who-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 32px;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 80px 72px;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.who-cell {
  padding: 36px 32px 0;
  border-right: 1px solid var(--line-2);
}
.who-cell:last-child { border-right: none; }
.who-cell:first-child { padding-left: 0; }
.who-cell:last-child { padding-right: 0; }
.who-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 16px;
}
.who-h {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
}
.who-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
}

/* ════ INVISIBLE RULES (3 pillars) ════ */
.rules-section {
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 80px;
}
.rules-list {
  list-style: none;
  margin: 0;
  padding: 0 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.rule-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line-2);
  align-items: baseline;
}
.rule-row:first-child { border-top: none; padding-top: 0; }
.rule-num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.rule-body { max-width: 760px; }
.rule-h {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.rule-p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
}

/* ════ THE WORK (Family Money Map) ════ */
.work-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 80px 88px;
  gap: 64px;
}
.work-left { max-width: 660px; }
.work-h {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 16px 0 18px;
}
.work-h em { font-style: italic; }
.work-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 40px;
  font-weight: 300;
  max-width: 560px;
}

/* New: editorial intro paragraph in serif (replaces the old sans-serif sub) */
.work-intro {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 44px;
  max-width: 620px;
  font-weight: 400;
  text-wrap: pretty;
}
.work-intro em {
  font-style: italic;
  color: color-mix(in oklab, var(--ink) 80%, var(--gold) 20%);
}
.work-sessions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.work-session {
  padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
}
.work-session-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.work-session-h {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
}
.work-session-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
}
.work-session-aside {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--ink) 85%, var(--gold) 15%);
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  font-weight: 400;
  max-width: 560px;
}
.work-session--async .work-session-num {
  color: var(--slate-2);
}

/* "What you don't have to do" relief block (sits after the sessions) */
.work-relief {
  margin-top: 40px;
  padding: 28px 28px 28px;
  background: var(--cream);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  max-width: 640px;
}
.work-relief-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.work-relief-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 300;
}
.work-relief-coda {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.work-relief-coda em {
  font-style: italic;
  color: color-mix(in oklab, var(--ink) 78%, var(--gold) 22%);
  font-weight: 400;
}

/* ── Dark pricing card: deliverables / value stack / founding rate ── */
.work-card-eyebrow + .work-deliverables { margin-top: 4px; }

.work-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.work-deliverables li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 92%, transparent);
  font-weight: 300;
}
.work-deliverables strong {
  color: var(--paper);
  font-weight: 500;
}
.work-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  position: relative;
  top: 2px;
}

/* divider between sections of the pricing card */
.work-divider {
  border: none;
  border-top: 1px solid color-mix(in oklab, var(--paper) 16%, transparent);
  margin: 24px 0 22px;
  position: relative;
}

/* Value stack — denser, slightly smaller for visual hierarchy */
.work-stack {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}
.work-stack li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  font-weight: 300;
  padding: 4px 0;
}
.work-stack .ws-l {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.work-stack .ws-l .work-bullet { font-size: 11px; top: 1px; }
.work-stack .ws-v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 88%, transparent);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.work-stack-total {
  border-top: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  margin-top: 4px;
  padding-top: 12px !important;
  font-size: 14px !important;
  color: var(--paper) !important;
}
.work-stack-total strong { font-weight: 600; }
.work-stack-total .ws-v {
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 16px;
}

/* The real math — outcome-value callout */
.work-math {
  margin: 22px 0 22px;
  padding: 16px 18px 18px;
  background: color-mix(in oklab, var(--paper) 5%, transparent);
  border-left: 3px solid var(--gold);
  position: relative;
}
.work-math-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.work-math-body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
  margin: 0;
  font-weight: 400;
}
.work-math-body em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.work-right {
  background: var(--ink);
  color: var(--paper);
  padding: 44px 40px 36px;
  position: relative;
  overflow: hidden;
  align-self: start;
  position: sticky;
  top: 24px;
}
.work-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.work-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
}
.work-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 14px;
  position: relative;
}
.work-card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  margin: 0 0 28px;
  position: relative;
  font-weight: 300;
}
.work-price {
  position: relative;
  padding-top: 4px;
  margin-bottom: 24px;
}
.work-price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.work-price-amount {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.work-price-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  margin: 0;
  font-weight: 300;
}
.work-right .cta-btn { width: 100%; position: relative; }
.work-right .cta-foot {
  position: relative;
  flex-wrap: wrap;
}

/* ── Apply link (the subtle text CTA under the gold button) ── */
.apply-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  align-self: flex-start;
  transition: color .15s, border-color .15s;
}
.apply-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.apply-link .arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  transition: transform .15s;
}
.apply-link:hover .arrow { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════════
   APPLY PAGE (full-page /apply, dark navy)
   ════════════════════════════════════════════════════════════════ */
.apply-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
}
.apply-page .topbar {
  background: var(--ink);
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.apply-page .topbar .wordmark { color: var(--paper); }
.apply-page .topbar .wordmark .glyph { color: var(--gold); }
.apply-page .topnav a {
  color: color-mix(in oklab, var(--paper) 65%, transparent);
}
.apply-page .topnav a:hover { color: var(--paper); }
.apply-page .topnav a.active { color: var(--paper); }

.apply-page-hero {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.apply-page-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
  z-index: 0;
}
.apply-page-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 80px 96px;
  align-items: start;
}

/* gold horizon line top-left, same accent as navy-break */
.apply-page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 80px;
  width: 56px;
  height: 1px;
  background: var(--gold);
  z-index: 2;
}

/* ── Left column (headline + meta) ── */
.apply-page-left { max-width: 520px; }
.apply-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.apply-page-h {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.apply-page-h em { font-style: italic; }
.apply-page-mark {
  background-image: linear-gradient(transparent 70%, color-mix(in oklab, var(--gold) 55%, transparent) 70%);
  background-repeat: no-repeat;
}
.apply-page-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  margin: 0 0 40px;
  font-weight: 300;
  max-width: 480px;
}
.apply-page-meta {
  border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply-page-meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
}
.apply-page-meta-row:last-child { border-bottom: none; }
.apply-page-meta-l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}
.apply-page-meta-v {
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--paper);
  font-weight: 400;
}

/* ── Right column (form) ── */
.apply-page-right {
  background: color-mix(in oklab, var(--paper) 5%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  padding: 40px 40px 36px;
  position: relative;
}
.apply-page-right::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 28px; height: 28px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.apply-page-right::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 28px; height: 28px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}

.apply-page-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.apply-page-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply-page-label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: color-mix(in oklab, var(--paper) 92%, transparent);
  line-height: 1.4;
}
.apply-page-label .req { color: var(--gold); margin-left: 2px; }

.apply-page-field {
  appearance: none;
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14.5px;
  padding: 14px 16px;
  border-radius: 4px;
  width: 100%;
  transition: border-color .15s, background .15s;
  line-height: 1.5;
}
.apply-page-field::placeholder {
  color: color-mix(in oklab, var(--paper) 35%, transparent);
}
.apply-page-field:focus {
  outline: none;
  border-color: var(--gold);
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
.apply-page-field[aria-invalid="true"] {
  border-color: color-mix(in oklab, var(--gold) 70%, #e54);
}
.apply-page-textarea {
  resize: vertical;
  min-height: 140px;
}

.apply-page-submit {
  appearance: none;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.005em;
  padding: 18px 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  transition: background .15s, transform .15s, opacity .15s;
  cursor: pointer;
}
.apply-page-submit:hover { background: color-mix(in oklab, var(--gold) 88%, white 12%); }
.apply-page-submit:active { transform: translateY(1px); }
.apply-page-submit[disabled] { opacity: 0.4; cursor: not-allowed; }
.apply-page-submit .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform .15s;
}
.apply-page-submit:hover .arrow { transform: translateX(3px); }

.apply-page-submit--secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 32%, transparent);
}
.apply-page-submit--secondary:hover {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border-color: color-mix(in oklab, var(--paper) 55%, transparent);
}

.apply-page-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  text-align: center;
  margin-top: 4px;
  line-height: 1.6;
}

/* ── Thank-you state ── */
.apply-page-thanks {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}
.apply-page-h--thanks {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 24px;
}
.apply-page-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 48px;
}
.apply-page-thanks-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.apply-page-thanks-actions .apply-page-submit { max-width: 320px; width: 100%; }
.apply-page-thanks-link {
  font-family: var(--font-sans);
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.apply-page-thanks-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 980px) {
  .apply-page-inner { grid-template-columns: 1fr; padding: 56px 28px 72px; gap: 40px; }
  .apply-page-hero::after { left: 28px; }
  .apply-page-right { padding: 28px 24px 24px; }
  .apply-page-meta-row { grid-template-columns: 120px 1fr; }
}
@media (max-width: 560px) {
  .apply-page-meta-row { grid-template-columns: 1fr; gap: 4px; padding-bottom: 14px; }
  .apply-page-h--thanks { font-size: 32px; }
}

/* ════════════════════════════════════════════════════════════════
   APPLY MODAL (deprecated — removed in favour of /apply page)
   ════════════════════════════════════════════════════════════════ */
.apply-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 85%, transparent);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 100000;
  animation: applyFade .22s ease;
  overflow-y: auto;
}
@keyframes applyFade { from { opacity: 0; } to { opacity: 1; } }

.apply-card {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  border-radius: 4px;
  padding: 48px 48px 40px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  animation: applyRise .32s cubic-bezier(.2, .7, .3, 1);
}
@keyframes applyRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.apply-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.apply-card > * { position: relative; }
.apply-card::after {
  /* gold horizon line top-left, same as navy-break */
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  z-index: 1;
}

.apply-close {
  appearance: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
  z-index: 2;
}
.apply-close:hover {
  background: color-mix(in oklab, var(--paper) 10%, transparent);
  color: var(--paper);
}

.apply-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.apply-h {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.apply-h em { font-style: italic; color: var(--gold); }
.apply-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  margin: 0 0 28px;
  font-weight: 300;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.apply-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: color-mix(in oklab, var(--paper) 88%, transparent);
}
.apply-label .req { color: var(--gold); margin-left: 2px; }
.apply-field {
  appearance: none;
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 16%, transparent);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 4px;
  width: 100%;
  transition: border-color .15s, background .15s;
}
.apply-field::placeholder {
  color: color-mix(in oklab, var(--paper) 35%, transparent);
}
.apply-field:focus {
  outline: none;
  border-color: var(--gold);
  background: color-mix(in oklab, var(--paper) 10%, transparent);
}
.apply-field[aria-invalid="true"] {
  border-color: color-mix(in oklab, var(--gold) 70%, #e54);
}
.apply-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.apply-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 45%, transparent);
}

.apply-submit {
  appearance: none;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  padding: 16px 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  transition: background .15s, transform .15s, opacity .15s;
  cursor: pointer;
}
.apply-submit:hover { background: color-mix(in oklab, var(--gold) 88%, white 12%); }
.apply-submit:active { transform: translateY(1px); }
.apply-submit[disabled] { opacity: 0.4; cursor: not-allowed; }
.apply-submit .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform .15s;
}
.apply-submit:hover .arrow { transform: translateX(3px); }
.apply-submit--secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 28%, transparent);
}
.apply-submit--secondary:hover {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border-color: color-mix(in oklab, var(--paper) 50%, transparent);
}

.apply-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  text-align: center;
  margin-top: 6px;
}

.apply-thanks {
  display: flex;
  flex-direction: column;
}
.apply-thanks .apply-h { margin-bottom: 16px; }

/* responsive: stack name/email + reduce padding */
@media (max-width: 640px) {
  .apply-card { padding: 36px 24px 28px; }
  .apply-card::after { left: 24px; }
  .apply-row { grid-template-columns: 1fr; }
  .apply-h { font-size: 24px; }
}

/* ════ ABOUT PREVIEW (on homepage) ════ */
.about-preview {
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
}
.about-preview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 80px;
  gap: 64px;
  align-items: center;
}
.about-preview-text { max-width: 620px; }
.about-preview-p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 18px;
  font-weight: 300;
}
.btn-inline {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  padding: 12px 22px;
  font-size: 13.5px;
  margin-top: 12px;
}
.about-preview-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 360px;
  justify-self: end;
}
.about-preview-frame {
  position: relative;
  background: var(--paper);
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(15, 30, 46, 0.4);
  width: 100%;
}
.about-preview-frame::before,
.about-preview-frame::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
}
.about-preview-frame::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.about-preview-frame::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.about-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}
.about-preview-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.about-preview-figure figcaption .name { color: var(--ink); font-weight: 500; }
.about-preview-figure figcaption .sep { color: var(--gold); }

/* ════ QUIZ CTA (homepage) ════ */
.quiz-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 80px;
  position: relative;
  overflow: hidden;
}
.quiz-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.quiz-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.quiz-cta-h {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--paper);
  margin: 18px 0 14px;
}
.quiz-cta-h em { font-style: italic; }
.quiz-cta-h .gold-mark {
  background-image: linear-gradient(transparent 70%, color-mix(in oklab, var(--gold) 55%, transparent) 70%);
  color: var(--paper);
}
.quiz-cta-sub {
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  margin: 0 0 40px;
  max-width: 720px;
  font-weight: 300;
}
.quiz-cta-promises {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
}
.quiz-cta-promises li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  align-items: baseline;
}
.quiz-cta-promises li:last-child { border-right: none; padding-right: 0; }
.quiz-cta-promises li:not(:first-child) { padding-left: 28px; }
.qcp-n {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold);
  font-weight: 500;
}
.quiz-cta-promises h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
  margin: 0 0 6px;
}
.quiz-cta-promises p {
  font-size: 13.5px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 65%, transparent);
  margin: 0;
  font-weight: 300;
}
.quiz-cta .trust-line { color: color-mix(in oklab, var(--paper) 55%, transparent); }

/* ════ MUSINGS CTA ════ */
.musings-cta {
  background: var(--cream);
  padding: 72px 80px;
}
.musings-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.musings-h {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin: 14px 0 12px;
}
.musings-p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
  max-width: 560px;
}
.musings-cta-right {
  display: flex;
  justify-content: flex-end;
}
.musings-cta-right .btn {
  width: auto;
  max-width: max-content;
}

/* ════ RESULT FINAL (Sound familiar?) ════ */
.result-final {
  background: var(--paper);
  border-top: 1px solid var(--line-2);
  padding: 64px 80px 80px;
  text-align: center;
}
.result-final-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.result-final-h {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.012em;
}
.result-final-h em { font-style: italic; }
.result-final-p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 28px;
}

/* ════════════════════════════════════════════════════════════════
   RESULT — BADGE THEMING & DIAGNOSTIC STRIP
   ════════════════════════════════════════════════════════════════ */

/* Per-badge accent token (drives chip, type-tile, diag eyebrow) */
.result--navy        { --badge-accent: var(--ink);   --badge-fg: var(--paper); }
.result--gold        { --badge-accent: var(--gold);  --badge-fg: var(--ink);   }
.result--sage        { --badge-accent: #6B8E7F;      --badge-fg: var(--paper); }
.result--terracotta  { --badge-accent: #B8633D;      --badge-fg: var(--paper); }

/* Stark mode keeps everything ink so it doesn't fight the palette */
body[data-palette="stark"] .result--navy,
body[data-palette="stark"] .result--gold,
body[data-palette="stark"] .result--sage,
body[data-palette="stark"] .result--terracotta {
  --badge-accent: var(--ink);
  --badge-fg: var(--paper);
}

/* "YOUR TYPE" pill now uses the badge accent */
.result-type-label .badge-chip {
  background: var(--badge-accent);
  color: var(--badge-fg);
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  border-radius: 2px;
  font-weight: 500;
}

/* Tagline under the archetype name */
.result-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
  color: var(--badge-accent);
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 620px;
}

/* "This is you if" + "Blind spot" two-col diagnostic */
.result-diagnostic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
}
.diag-cell {
  padding: 48px 56px;
  border-right: 1px solid var(--line-2);
}
.diag-cell:last-child { border-right: none; }
.diag-cell--you {
  background: var(--paper);
}
.diag-cell--blind {
  background: var(--cream);
  position: relative;
}
.diag-cell--blind::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 56px;
  background: var(--badge-accent);
}
.diag-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.diag-eyebrow--alt { color: var(--badge-accent); }
.diag-body {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 540px;
  text-wrap: pretty;
  font-weight: 400;
}

/* type-tile per-badge stripe so the grid mirrors the page's theme */
.type-tile--navy        { box-shadow: inset 3px 0 0 var(--ink);   }
.type-tile--gold        { box-shadow: inset 3px 0 0 var(--gold);  }
.type-tile--sage        { box-shadow: inset 3px 0 0 #6B8E7F;      }
.type-tile--terracotta  { box-shadow: inset 3px 0 0 #B8633D;      }
.type-tile.is-yours.type-tile--navy { box-shadow: none; }
.type-tile.is-yours.type-tile--gold { background: var(--gold); color: var(--ink); box-shadow: none; }
.type-tile.is-yours.type-tile--gold .tt-meta { color: var(--ink); }
.type-tile.is-yours.type-tile--gold .tt-name { color: var(--ink); }
.type-tile.is-yours.type-tile--gold .tt-sub { color: color-mix(in oklab, var(--ink) 78%, transparent); }
.type-tile.is-yours.type-tile--sage { background: #6B8E7F; color: var(--paper); box-shadow: none; }
.type-tile.is-yours.type-tile--sage .tt-meta { color: var(--gold); }
.type-tile.is-yours.type-tile--sage .tt-name { color: var(--paper); }
.type-tile.is-yours.type-tile--sage .tt-sub { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.type-tile.is-yours.type-tile--terracotta { background: #B8633D; color: var(--paper); box-shadow: none; }
.type-tile.is-yours.type-tile--terracotta .tt-meta { color: var(--cream); }
.type-tile.is-yours.type-tile--terracotta .tt-name { color: var(--paper); }
.type-tile.is-yours.type-tile--terracotta .tt-sub { color: color-mix(in oklab, var(--paper) 70%, transparent); }

/* The accent ring around the headshot picks up the badge */
.result--gold .cta-portrait img        { border-color: var(--gold);  }
.result--sage .cta-portrait img        { border-color: #6B8E7F;      }
.result--terracotta .cta-portrait img  { border-color: #B8633D;      }
.result--navy .cta-portrait img        { border-color: var(--gold);  }

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════════ */
.about {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

/* ── about hero ── */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-bottom: 1px solid var(--line-2);
}
.about-hero-left {
  padding: 72px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 32px;
}
.about-eyebrow .dot { color: var(--gold); margin: 0 0.5em; }
.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: pretty;
  max-width: 720px;
}
.about-headline em { font-style: italic; }
.about-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 580px;
  margin: 0 0 36px;
  font-weight: 300;
}
.about-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.about-stat-l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 6px;
}
.about-stat-v {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}

/* ── about hero right (headshot) ── */
.about-hero-right {
  background: var(--cream);
  border-left: 1px solid var(--line-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
}
.about-portrait-figure {
  margin: 0;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
}
.about-portrait-frame {
  position: relative;
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(15, 30, 46, 0.4);
}
.about-portrait-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 36px;
  height: 36px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.about-portrait-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 36px;
  height: 36px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}
.about-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}
.about-portrait-cap {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: transparent;
  padding: 0;
}
.about-portrait-cap .name { color: var(--ink); font-weight: 500; }
.about-portrait-cap .sep { color: var(--gold); }

/* ── the story (long-form) ── */
.about-story {
  padding: 88px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
}
.about-story-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  text-align: center;
}
.about-story-body {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 400;
}
.about-story-body p { margin: 0 0 22px; text-wrap: pretty; }
.about-story-body p:last-child { margin-bottom: 0; }
.about-story-body em { font-style: italic; color: color-mix(in oklab, var(--ink) 85%, var(--gold) 15%); }
.dropcap {
  font-family: var(--font-serif);
  font-size: 70px;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}

/* ── the approach ── */
.about-approach {
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-2);
}
.approach-cell {
  padding: 44px 56px 48px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.approach-cell:nth-child(2n) { border-right: none; }
.approach-cell:nth-last-child(-n+2) { border-bottom: none; }
.approach-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}
.approach-h {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  max-width: 420px;
}
.approach-p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
  max-width: 480px;
}

/* ── section headings (countries, numbers) ── */
.about-section-head {
  padding: 72px 80px 36px;
  border-bottom: 1px solid var(--line-2);
}
.about-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.about-section-h {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  max-width: 720px;
}

/* ── countries grid ── */
.about-countries {
  background: var(--cream);
}
.countries-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.country-cell {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background: var(--cream);
}
.country-cell:last-child { border-right: none; }
.country-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}
.country-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.country-name {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
}
.country-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
}

/* ── numbers ── */
.about-numbers {
  background: var(--paper);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.number-cell {
  padding: 44px 36px 48px;
  border-right: 1px solid var(--line-2);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.number-cell:last-child { border-right: none; }
.number-n {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.number-l {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.25;
}
.number-s {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}

/* ── from the road (photo strip) ── */
.about-photos {
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
}
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.photo-cell {
  margin: 0;
  padding: 40px 32px 48px;
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.photo-cell:last-child { border-right: none; }
.photo-frame {
  position: relative;
  background: var(--paper);
  padding: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 56px -40px rgba(15, 30, 46, 0.4);
}
.photo-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 32px;
  height: 32px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.photo-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 32px;
  height: 32px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}
.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}
/* per-photo crop tuning so each subject stays in frame after the 4/5 crop */
.photo-cell--seoul .photo-frame img  { object-position: 50% 60%; }
.photo-cell--uae   .photo-frame img  { object-position: 50% 40%; }
.photo-cell--swiss .photo-frame img  { object-position: 72% 50%; }
.photo-cap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}
.photo-cap-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  gap: 8px;
  align-items: center;
}
.photo-cap-meta .photo-cap-where { color: var(--ink); font-weight: 500; }
.photo-cap-meta .sep { color: var(--gold); }
.photo-cap-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
  font-weight: 400;
  text-wrap: pretty;
}
.photo-cap-note em { color: var(--ink); }

/* ── about CTA strip ── */
.about-cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  padding: 64px 80px;
  background: var(--cream);
  border-top: 1px solid var(--line-2);
  gap: 48px;
  align-items: center;
}
.about-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.about-cta-h {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.about-cta-h em { font-style: italic; }
.about-cta-sub {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  max-width: 520px;
  font-weight: 300;
}
.about-cta-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.about-cta-right .cta-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 24px;
  font-size: 15.5px;
}
.about-cta-right .cta-btn:hover { background: var(--ink-2); }
.about-cta-right .cta-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   NAVY SECTION BREAK — premise / manifesto band
   ════════════════════════════════════════════════════════════════ */
.navy-break {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 80px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink);
}
.navy-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.navy-break::after {
  /* subtle gold horizon line at top */
  content: "";
  position: absolute;
  top: 0; left: 80px;
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.navy-break-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.navy-break-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.navy-break-quote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 32px;
  text-wrap: pretty;
  max-width: 920px;
}
.navy-break-quote em { font-style: italic; }
.navy-break-mark {
  background-image: linear-gradient(transparent 70%, color-mix(in oklab, var(--gold) 55%, transparent) 70%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
}
.navy-break-sig {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.navy-break-sig .sep { color: var(--gold); }

/* On the result page the navy break sits between two cream bands, so an
   extra top accent helps signal "different rhythm". */
.navy-break-result {
  border-top: 1px solid var(--line-2);
}

/* "The question I get asked most" variant — large headline question + body */
.navy-break--question {
  border-top: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
}
.navy-break-quote--question {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  color: var(--paper);
}
.navy-break-quote--question em {
  font-style: italic;
}
.navy-break-quote--question .navy-break-mark {
  color: var(--paper);
}
.navy-break-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--paper) 82%, transparent);
}
.navy-break-body p { margin: 0; text-wrap: pretty; }
.navy-break-body em {
  font-style: italic;
  color: var(--gold);
}
.navy-break-emph {
  color: var(--paper);
  font-weight: 500;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
}
.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  position: relative;
  top: 2px;
}
body[data-palette="stark"] .check-mark { background: var(--ink); }

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}
.btn-hero {
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.btn-hero[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════════
   SCORECARD PREVIEW (inside hero portrait slot)
   ════════════════════════════════════════════════════════════════ */
.scorecard-preview {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 22px 22px 18px;
  margin: 24px 0 18px;
  max-width: 360px;
  box-shadow: 0 24px 60px -32px rgba(15,30,46,.35);
}
.scp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.scp-pct {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  font-weight: 500;
}
.scp-rows { display: flex; flex-direction: column; gap: 8px; }
.scp-row {
  display: grid;
  grid-template-columns: 102px 1fr 22px;
  gap: 10px;
  align-items: center;
}
.scp-lbl {
  font-size: 11px;
  color: var(--slate);
  font-weight: 400;
}
.scp-bar {
  height: 4px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.scp-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--gold);
  border-radius: 999px;
}
.scp-val {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   CAPTURE PAGE
   ════════════════════════════════════════════════════════════════ */
.capture-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.capture-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 100%;
}
.capture-card {
  padding: 72px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capture-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.capture-headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 600px;
  text-wrap: pretty;
}
.capture-headline em { font-style: italic; }
.capture-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 540px;
  margin: 0 0 32px;
  font-weight: 300;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field-label .req { color: var(--gold); margin-left: 2px; }

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.consent-box {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  top: 1px;
  transition: background .15s, border-color .15s;
}
.consent-box.on {
  background: var(--ink);
  border-color: var(--ink);
}
.consent-tick {
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}
.consent-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  font-weight: 300;
}

.capture-aside {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.capture-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    transparent 0, transparent 32px,
    rgba(255,255,255,.025) 32px, rgba(255,255,255,.025) 33px);
  pointer-events: none;
}
.aside-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  position: relative;
}
.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.aside-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
}
.aside-num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold);
  font-weight: 500;
}
.aside-list h4 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 6px;
  line-height: 1.2;
}
.aside-list p {
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  margin: 0;
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════════
   RESULT — SCORE BANNER
   ════════════════════════════════════════════════════════════════ */
.score-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.score-left {
  padding: 48px 56px 48px 80px;
  border-right: 1px solid var(--line-2);
}
.score-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.score-ring-wrap {
  flex-shrink: 0;
  position: relative;
}
.score-meta { display: flex; flex-direction: column; gap: 8px; }
.score-meta-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.score-meta-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  max-width: 280px;
}
.score-meta-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 280px;
  font-weight: 300;
  margin-top: 6px;
}

.score-right {
  padding: 48px 80px 48px 56px;
}
.factors-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 14px;
}
.factors-head-r { color: var(--slate-2); }

.factors-list { list-style: none; padding: 0; margin: 0; }
.factor-row {
  display: grid;
  grid-template-columns: 32px 158px 1fr 36px;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.factor-row:last-child { border-bottom: none; }
.factor-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-2);
  letter-spacing: 0.1em;
}
.factor-label {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
}
.factor-bar {
  height: 6px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.factor-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  transition: width .9s cubic-bezier(.3,.7,.3,1);
}
.factor-fill.tone-high { background: var(--gold); }
.factor-fill.tone-mid  { background: color-mix(in oklab, var(--gold) 68%, var(--slate)); }
.factor-fill.tone-low  { background: color-mix(in oklab, var(--gold) 35%, var(--slate-2)); }
.factor-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — comprehensive mobile / tablet / desktop overhaul
   Breakpoints:
     1180px — small desktop / large tablet (tighten outer padding)
     980px  — tablet (two-cols become one)
     768px  — mobile (hamburger menu, smaller type)
     480px  — small mobile (minimum viable layout)
   ════════════════════════════════════════════════════════════════ */

/* ── Hamburger button (hidden on desktop) ── */
.topbar-burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .15s, border-color .15s;
}
.topbar-burger:hover { background: var(--cream); border-color: var(--ink); }
.topbar-burger .burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
  border-radius: 2px;
}
.topbar.is-mobile-open .topbar-burger .burger-line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.topbar.is-mobile-open .topbar-burger .burger-line:nth-child(2) {
  opacity: 0;
}
.topbar.is-mobile-open .topbar-burger .burger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}
/* burger inherits color from page background context */
.apply-page .topbar-burger { background: transparent; border-color: color-mix(in oklab, var(--paper) 24%, transparent); }
.apply-page .topbar-burger:hover { background: color-mix(in oklab, var(--paper) 8%, transparent); }
.apply-page .topbar-burger .burger-line { background: var(--paper); }

/* ════ 1180px — tighten outer padding (small desktop / large tablet) ════ */
@media (max-width: 1180px) {
  .topbar { padding: 20px 32px; }
  .hero-left { padding: 64px 40px 56px 48px; }
  .hero-right { padding: 28px; }
  .portrait-quote { left: 32px; right: 32px; bottom: 64px; }
  .portrait-stamp { top: 24px; left: 28px; }
  .proof-band { padding: 20px 48px; }
  .navy-break { padding: 72px 48px; }
  .navy-break::after { left: 48px; }
  .navy-break-quote { font-size: clamp(24px, 3.2vw, 36px); }
  .section-head { padding: 64px 48px 28px; }
  .who-grid { padding: 0 48px 56px; }
  .rules-list { padding: 0 48px; }
  .work-grid { padding: 64px 48px 72px; gap: 48px; }
  .about-preview-grid { padding: 72px 48px; gap: 48px; }
  .quiz-cta { padding: 72px 48px; }
  .musings-cta { padding: 56px 48px; }
  .result-hero .result-left { padding: 56px 40px 56px 48px; }
  .result-hero .result-right { padding: 40px 40px; }
  .result-diagnostic .diag-cell { padding: 40px 40px; }
  .other-types { padding: 48px 48px 64px; }
  .retake-bar { padding: 22px 48px 48px; }
  .result-final { padding: 56px 48px 64px; }
  .about-hero-left { padding: 64px 48px 56px; }
  .about-section-head { padding: 56px 48px 32px; }
  .about-cta, .other-types, .retake-bar { padding-left: 48px; padding-right: 48px; }
  .apply-page-inner { padding: 72px 48px 88px; gap: 56px; }
  .apply-page-hero::after { left: 48px; }
  .quiz-head, .quiz-foot { padding: 18px 32px; }
}

/* ════ 980px — tablet: two-cols collapse to one ════ */
@media (max-width: 980px) {
  /* Topbar nav transitions to hamburger overlay */
  .topbar { padding: 16px 24px; }
  .topbar-burger { display: inline-flex; }
  .topnav {
    position: fixed;
    inset: 65px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--line-2);
    transform: translateY(-110%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    z-index: 1000;
    overflow-y: auto;
    pointer-events: none;
  }
  .topbar.is-mobile-open .topnav {
    transform: translateY(0);
    pointer-events: auto;
  }
  .topnav a {
    display: block;
    padding: 18px 24px;
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--ink);
    border-bottom: 1px solid var(--line-2);
    letter-spacing: -0.005em;
    line-height: 1.2;
  }
  .topnav a:hover { background: var(--paper); color: var(--ink); }
  .topnav a.active { color: var(--gold); }
  /* Variant for apply page (navy bg) */
  .apply-page .topnav { background: var(--ink); border-top-color: color-mix(in oklab, var(--paper) 12%, transparent); }
  .apply-page .topnav a { color: var(--paper); border-bottom-color: color-mix(in oklab, var(--paper) 10%, transparent); }
  .apply-page .topnav a:hover { background: color-mix(in oklab, var(--paper) 6%, transparent); }
  .apply-page .topnav a.active { color: var(--gold); }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 28px 40px; }
  .hero-right { min-height: 460px; padding: 0; }
  .portrait-quote { left: 28px; right: 28px; bottom: 72px; max-width: 540px; }
  .portrait-quote p { font-size: 20px; }
  .portrait-stamp { top: 20px; left: 24px; }
  .proof-band { padding: 18px 28px; }
  .navy-break { padding: 56px 28px; }
  .navy-break::after { left: 28px; }
  .navy-break-quote { font-size: clamp(22px, 4.2vw, 30px); }
  .navy-break-quote--question { font-size: clamp(32px, 7vw, 48px); }
  .navy-break-body { font-size: 16px; }
  .navy-break-coda { font-size: 18px; }

  .result-hero { grid-template-columns: 1fr; }
  .result-hero .result-left { padding: 48px 28px 40px; }
  .result-hero .result-right { padding: 36px 28px; }
  .result-diagnostic { grid-template-columns: 1fr; }
  .result-diagnostic .diag-cell { border-right: none; border-bottom: 1px solid var(--line-2); padding: 32px 28px; }
  .result-diagnostic .diag-cell:last-child { border-bottom: none; }
  .what-to-expect { grid-template-columns: 1fr; }
  .wte-cell { border-right: none; border-bottom: 1px solid var(--line-2); }
  .wte-cell:last-child { border-bottom: none; }
  .other-types, .retake-bar { padding-left: 28px; padding-right: 28px; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .result-final { padding: 48px 28px 56px; }

  .quiz-head, .quiz-foot { padding: 16px 24px; }
  .quiz-head { grid-template-columns: auto 1fr auto; gap: 16px; }
  .quiz-head .wordmark { font-size: 16px; }
  .quiz-head .glyph { display: none; }
  .quiz-body { padding: 28px 20px; }
  .quiz-answers { grid-template-columns: 1fr; }
  .answer { min-height: auto; padding: 18px 18px; }
  .progress-track { width: 140px; }

  .capture-body { grid-template-columns: 1fr; }
  .capture-card { padding: 48px 28px 40px; }
  .capture-aside { padding: 40px 28px; }

  /* Homepage sections */
  .section-head { padding: 56px 28px 28px; }
  .section-h { font-size: clamp(26px, 5vw, 36px); }
  .who-section { padding-bottom: 24px; }
  .who-grid { grid-template-columns: 1fr; padding: 0 28px 48px; }
  .who-cell { border-right: none; border-bottom: 1px solid var(--line-2); padding: 28px 0; }
  .who-cell:first-child { padding-top: 0; }
  .who-cell:last-child { border-bottom: none; }
  .rules-section { padding-bottom: 56px; }
  .rules-list { padding: 0 28px; }
  .rule-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .rule-num { font-size: 36px; }
  .rule-h { font-size: 22px; }
  .work-section .work-grid { grid-template-columns: 1fr; padding: 56px 28px 64px; gap: 40px; }
  .work-right { position: static; padding: 32px 24px 32px; }
  .work-h { font-size: clamp(30px, 6vw, 44px); }
  .work-price-amount { font-size: 40px; }
  .about-preview-grid { grid-template-columns: 1fr; padding: 56px 28px; gap: 36px; }
  .about-preview-figure { justify-self: start; max-width: 240px; }
  .about-preview-frame img { aspect-ratio: 4 / 4; }
  .quiz-cta { padding: 56px 28px; }
  .quiz-cta-h { font-size: clamp(30px, 6vw, 44px); }
  .quiz-cta-promises { grid-template-columns: 1fr; border-top: none; }
  .quiz-cta-promises li {
    border-right: none;
    border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
    padding: 20px 0;
  }
  .quiz-cta-promises li:not(:first-child) { padding-left: 0; }
  .musings-cta { padding: 48px 28px; }
  .musings-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .musings-cta-right { justify-content: flex-start; }

  /* About page */
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-left { padding: 48px 28px 40px; }
  .about-hero-right { min-height: auto; padding: 24px 28px 48px; border-left: none; border-top: 1px solid var(--line-2); }
  .about-portrait-figure { max-width: 260px; }
  .about-stats { gap: 28px; }
  .about-stats .about-stat-v { font-size: 16px; }
  .about-story { padding: 56px 28px; }
  .about-story-body { font-size: 17px; }
  .about-section-head { padding: 56px 28px 32px; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
  .country-cell { border-right: none; border-bottom: 1px solid var(--line-2); padding: 28px 20px; }
  .country-cell:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .country-cell:nth-last-child(-n+1) { border-bottom: none; }
  .country-name { font-size: 22px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-cell { border-right: none; border-bottom: 1px solid var(--line-2); padding: 32px 24px 36px; }
  .number-cell:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .number-n { font-size: 44px; }
  .about-cta { grid-template-columns: 1fr; padding: 48px 28px; gap: 28px; }
  .about-cta-right .cta-foot { justify-content: flex-start; }
  /* approach */
  .approach-grid { grid-template-columns: 1fr; }
  .approach-cell { padding: 28px 28px 32px; border-right: none; border-bottom: 1px solid var(--line-2); }
  .approach-cell:nth-child(2n) { border-right: none; }
  .approach-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .approach-cell:last-child { border-bottom: none; }
  /* photo strip */
  .photos-grid { grid-template-columns: 1fr; }
  .photo-cell { border-right: none; border-bottom: 1px solid var(--line-2); padding: 32px 28px 36px; }
  .photo-cell:last-child { border-bottom: none; }

  /* Apply page */
  .apply-page-inner { grid-template-columns: 1fr; padding: 56px 28px 72px; gap: 36px; }
  .apply-page-hero::after { left: 28px; }
  .apply-page-right { padding: 28px 24px 24px; }
  .apply-page-meta-row { grid-template-columns: 120px 1fr; }
}

/* ════ 768px — pure mobile ════ */
@media (max-width: 768px) {
  /* Tighter outer padding throughout */
  .topbar { padding: 14px 18px; }
  .wordmark { font-size: 16px; }
  .glyph { font-size: 9px; }
  .hero-left { padding: 36px 22px 32px; }
  .hero-headline { font-size: 36px; line-height: 1.05; letter-spacing: -0.01em; }
  .hero-sub { font-size: 16px; }
  .hero-body { font-size: 14px; }
  .hero-right { min-height: 420px; }
  .portrait-quote { left: 22px; right: 22px; bottom: 56px; }
  .portrait-quote p { font-size: 18px; line-height: 1.32; }
  .portrait-quote-mark { font-size: 56px; margin-bottom: 16px; }
  .portrait-stamp { font-size: 10px; padding: 6px 12px; top: 16px; left: 18px; }

  .check-list li { font-size: 14px; }
  .btn-hero { padding: 16px 20px; font-size: 14.5px; }
  .trust-line { font-size: 10px; letter-spacing: 0.1em; }

  .proof-band { padding: 16px 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .countries { font-size: 10px; letter-spacing: 0.12em; gap: 10px; }

  .navy-break { padding: 48px 22px; }
  .navy-break::after { left: 22px; }
  .navy-break-quote { font-size: 22px; }
  .navy-break-quote--question { font-size: 30px; }
  .navy-break-body { font-size: 15px; }
  .navy-break-coda { font-size: 16px; }
  .navy-break-sig { font-size: 10px; flex-direction: column; gap: 6px; align-items: flex-start; }
  .navy-break-sig .sep { display: none; }

  .section-head { padding: 44px 22px 24px; }
  .section-eyebrow { font-size: 10.5px; }
  .section-h { font-size: 26px; line-height: 1.12; }
  .who-grid { padding: 0 22px 40px; }
  .who-h { font-size: 19px; }
  .who-p, .rule-p, .work-session-p, .quiz-cta-promises p { font-size: 14px; }
  .rules-list { padding: 0 22px; }
  .rule-row { padding: 24px 0; }
  .rule-h { font-size: 19px; }
  .rule-num { font-size: 32px; }

  .work-section .work-grid { padding: 44px 22px 56px; gap: 32px; }
  .work-h { font-size: 32px; }
  .work-sub { font-size: 15px; margin-bottom: 32px; }
  .work-intro { font-size: 17px; margin-bottom: 32px; }
  .work-session-h { font-size: 18px; }
  .work-relief { padding: 22px 22px; margin-top: 32px; }
  .work-relief-coda { font-size: 17px; }
  .work-right { padding: 28px 22px; }
  .work-card-title { font-size: 21px; }
  .work-price-amount { font-size: 44px; }
  .work-deliverables li { font-size: 14px; }
  .work-stack li { font-size: 12.5px; }

  .about-preview-grid { padding: 44px 22px; gap: 28px; }
  .about-preview-figure { max-width: 220px; }
  .about-preview-p { font-size: 14.5px; }

  .quiz-cta { padding: 48px 22px; }
  .quiz-cta-h { font-size: 30px; }
  .quiz-cta-sub { font-size: 15px; margin-bottom: 32px; }
  .quiz-cta-promises h4 { font-size: 16px; }

  .musings-cta { padding: 40px 22px; }
  .musings-h { font-size: 26px; }
  .musings-p { font-size: 14px; }

  /* Quiz screen */
  .quiz-head { grid-template-columns: 1fr auto; padding: 14px 18px; gap: 12px; }
  .quiz-progress { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
  .progress-track { width: 100%; flex: 1; }
  .quiz-body { padding: 24px 16px; }
  .quiz-num { margin-bottom: 18px; font-size: 10.5px; }
  .quiz-question { font-size: 22px; margin-bottom: 24px; }
  .answer { padding: 16px 16px; font-size: 14px; gap: 14px; }
  .answer-letter { width: 26px; height: 26px; }
  .quiz-foot { padding: 14px 18px; }
  .quiz-tip { font-size: 10px; letter-spacing: 0.1em; max-width: 60%; text-align: right; }
  .calc-text { font-size: 17px; text-align: center; padding: 0 16px; }
  .calc-sub { font-size: 10.5px; text-align: center; padding: 0 16px; }

  /* Capture page */
  .capture-card { padding: 40px 22px 32px; }
  .capture-headline { font-size: 28px; }
  .capture-sub { font-size: 14.5px; }
  .capture-aside { padding: 32px 22px; }
  .aside-list h4 { font-size: 17px; }
  .aside-list p { font-size: 13px; }
  .aside-num { font-size: 18px; }

  /* Result page */
  .result-hero .result-left { padding: 40px 22px 32px; }
  .result-hero .result-right { padding: 28px 22px; }
  .result-type-name { font-size: 32px; }
  .result-tagline { font-size: 18px; margin-bottom: 28px; }
  .result-body { font-size: 14.5px; }
  .cta-portrait img { width: 48px; height: 48px; }
  .cta-card-title { font-size: 21px; }
  .cta-card-body { font-size: 14px; }
  .result-diagnostic .diag-cell { padding: 28px 22px; }
  .diag-body { font-size: 16px; }
  .other-types { padding: 36px 22px 48px; }
  .types-grid { grid-template-columns: 1fr; }
  .retake-bar { padding: 20px 22px 36px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .result-final { padding: 40px 22px 48px; }
  .result-final-h { font-size: 24px; }

  /* About page */
  .about-hero-left { padding: 40px 22px 32px; }
  .about-headline { font-size: 30px; line-height: 1.06; }
  .about-sub { font-size: 15px; }
  .about-stats { flex-direction: column; gap: 18px; padding-top: 20px; }
  .about-hero-right { padding: 20px 22px 40px; }
  .about-portrait-figure { max-width: 240px; }
  .about-story { padding: 40px 22px; }
  .about-story-body { font-size: 16px; line-height: 1.6; }
  .about-story-body p { margin-bottom: 16px; }
  .dropcap { font-size: 56px; padding-right: 10px; }
  .about-section-head { padding: 40px 22px 24px; }
  .country-cell { padding: 24px 16px; }
  .country-name { font-size: 19px; }
  .country-note { font-size: 13px; }
  .number-cell { padding: 24px 18px 28px; }
  .number-n { font-size: 36px; }
  .number-l { font-size: 15px; }
  .approach-cell { padding: 24px 22px 28px; }
  .approach-h { font-size: 19px; }
  .approach-p { font-size: 14px; }
  .photo-cell { padding: 28px 22px 32px; }
  .photo-cap-note { font-size: 15px; }
  .about-cta { padding: 36px 22px; }
  .about-cta-h { font-size: 26px; }
  .about-cta-sub { font-size: 14.5px; }

  /* Apply page */
  .apply-page-inner { padding: 40px 22px 56px; gap: 28px; }
  .apply-page-hero::after { left: 22px; }
  .apply-page-h { font-size: 32px; }
  .apply-page-h--thanks { font-size: 28px; }
  .apply-page-sub { font-size: 15px; }
  .apply-page-right { padding: 24px 20px 22px; }
  .apply-page-meta-row { grid-template-columns: 1fr; gap: 4px; padding-bottom: 12px; }
  .apply-page-meta-v { font-size: 14.5px; }
  .apply-page-field { padding: 12px 14px; font-size: 14px; }
  .apply-page-submit { padding: 16px 22px; font-size: 14.5px; }

  /* Tweaks panel — smaller / less invasive on mobile */
  .twk-panel { width: 240px; right: 12px; bottom: 12px; }
}

/* ════ 480px — small mobile (iPhone SE, small Androids) ════ */
@media (max-width: 480px) {
  .topbar { padding: 12px 14px; }
  .hero-left { padding: 28px 18px 28px; }
  .hero-headline { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-body { font-size: 13.5px; }
  .hero-right { min-height: 380px; }
  .portrait-quote { left: 18px; right: 18px; bottom: 48px; }
  .portrait-quote p { font-size: 16px; }
  .portrait-stamp { font-size: 9px; letter-spacing: 0.12em; padding: 5px 10px; }

  .navy-break { padding: 36px 18px; }
  .navy-break::after { left: 18px; }
  .navy-break-quote { font-size: 19px; }

  .section-head { padding: 36px 18px 20px; }
  .section-h { font-size: 22px; }
  .who-grid, .rules-list { padding-left: 18px; padding-right: 18px; }
  .who-h { font-size: 18px; }
  .rule-h { font-size: 18px; }
  .rule-num { font-size: 28px; }

  .work-section .work-grid { padding: 36px 18px 44px; }
  .work-h { font-size: 28px; }
  .work-right { padding: 24px 18px; }
  .work-price-amount { font-size: 32px; }

  .about-preview-grid { padding: 36px 18px; }
  .quiz-cta { padding: 40px 18px; }
  .quiz-cta-h { font-size: 26px; }
  .musings-cta { padding: 32px 18px; }
  .musings-h { font-size: 22px; }

  .quiz-question { font-size: 19px; }
  .answer { padding: 14px 14px; font-size: 13.5px; min-height: 64px; }
  .answer-letter { width: 24px; height: 24px; font-size: 10.5px; }
  .quiz-tip { font-size: 9px; letter-spacing: 0.08em; }

  .capture-card { padding: 32px 18px 28px; }
  .capture-headline { font-size: 24px; }
  .optin-row { grid-template-columns: 1fr; }
  .field { padding: 12px 14px; font-size: 14px; }

  .result-hero .result-left { padding: 32px 18px 28px; }
  .result-hero .result-right { padding: 24px 18px; }
  .result-type-name { font-size: 28px; }
  .result-tagline { font-size: 16px; }
  .other-types { padding-left: 18px; padding-right: 18px; }

  .about-hero-left { padding: 32px 18px 24px; }
  .about-headline { font-size: 26px; }
  .about-sub { font-size: 14.5px; }
  .about-story { padding: 36px 18px; }
  .about-story-body { font-size: 15.5px; }
  .about-section-head { padding: 36px 18px 20px; }
  .countries-grid { grid-template-columns: 1fr; }
  .country-cell { border-right: none !important; padding: 22px 18px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-cell { border-right: none !important; padding: 24px 18px; }
  .approach-cell, .photo-cell { padding: 22px 18px; }
  .about-cta { padding: 32px 18px; }
  .about-cta-h { font-size: 22px; }

  .apply-page-inner { padding: 32px 18px 48px; }
  .apply-page-hero::after { left: 18px; }
  .apply-page-h { font-size: 28px; }
  .apply-page-h--thanks { font-size: 24px; }
  .apply-page-right { padding: 20px 16px 18px; }
  .apply-page-form { gap: 18px; }
  .apply-page-textarea { min-height: 110px; }

  /* Smaller Tweaks panel + force out of way on tiny screens */
  .twk-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; max-height: calc(100vh - 24px); }
}

/* ════ Touch-friendly tap targets ════ */
@media (hover: none) and (pointer: coarse) {
  .btn, .cta-btn, .answer, .field, .apply-page-field, .apply-page-submit,
  .topnav a, .topbar-burger, .retake-btn, .quiz-back, .quiz-exit {
    min-height: 44px;
  }
  /* Disable hover-shift translations on touch (they fire and stick) */
  .answer:hover { transform: none; }
  .btn:hover, .cta-btn:hover, .apply-page-submit:hover { transform: none; }
  .btn:hover .arrow, .cta-btn:hover .arrow,
  .apply-page-submit:hover .arrow, .apply-link:hover .arrow { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   SITE FOOTER (bottom of every page)
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  padding: 28px 80px;
  border-top: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
  position: relative;
}
.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer-left {
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.site-footer-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer-nav a {
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  text-decoration: none;
  transition: color .15s;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-footer-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.site-footer-sep { color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  animation: cookieRise .35s cubic-bezier(.2, .7, .3, 1);
  overflow: hidden;
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner::before {
  /* gold horizon line top-left */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: color-mix(in oklab, var(--paper) 88%, transparent);
  font-weight: 300;
  flex: 1;
  min-width: 280px;
}
.cookie-banner-icon {
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  position: relative;
  top: 1px;
}
.cookie-banner-sub {
  display: block;
  font-size: 12.5px;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
  margin-top: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  appearance: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cookie-btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.cookie-btn-gold:hover { background: color-mix(in oklab, var(--gold) 88%, white 12%); }
.cookie-btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 28%, transparent);
}
.cookie-btn-secondary:hover {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border-color: color-mix(in oklab, var(--paper) 50%, transparent);
}
.cookie-btn-ghost {
  background: transparent;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  padding: 10px 8px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  border-radius: 0;
}
.cookie-btn-ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* preferences expanded state */
.cookie-prefs-wrap { width: 100%; }
.cookie-prefs-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-prefs-h {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--paper);
  font-weight: 500;
}
.cookie-pref-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid color-mix(in oklab, var(--paper) 10%, transparent);
}
.cookie-pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
}
.cookie-pref-row:last-child { border-bottom: none; }
.cookie-pref-text { flex: 1; min-width: 0; }
.cookie-pref-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 2px;
}
.cookie-pref-desc {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  font-weight: 300;
}
.cookie-pref-locked {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
}
.cookie-toggle {
  appearance: none;
  border: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 14%, transparent);
  padding: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .18s;
}
.cookie-toggle[data-on="1"] { background: var(--gold); }
.cookie-toggle i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .18s;
  display: block;
}
.cookie-toggle[data-on="1"] i { transform: translateX(16px); background: var(--ink); }

/* ════════════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy + Impressum)
   ════════════════════════════════════════════════════════════════ */
.legal-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.legal-hero {
  padding: 88px 80px 40px;
  border-bottom: 1px solid var(--line-2);
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  background: var(--cream);
}
.legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.legal-h {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}
.legal-meta em {
  font-style: italic;
  color: color-mix(in oklab, var(--slate) 60%, var(--gold));
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: var(--font-serif);
  font-size: 14px;
}
.legal-body {
  flex: 1;
  background: var(--paper);
  border-top: 1px solid var(--line-2);
  padding: 64px 80px 96px;
}
.legal-body-inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 400;
  text-wrap: pretty;
}
.legal-lede em { font-style: italic; }
.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 18px;
  font-weight: 300;
  text-wrap: pretty;
}
.legal-body p strong {
  color: var(--ink);
  font-weight: 500;
}
.legal-body p em {
  font-style: italic;
  color: color-mix(in oklab, var(--slate) 60%, var(--gold));
}
.legal-body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 60%, transparent);
  transition: border-color .15s;
}
.legal-body a:hover {
  border-bottom-color: var(--gold);
}
.legal-foot {
  margin-top: 48px;
  padding: 22px 26px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
  line-height: 1.55;
}
.legal-foot em {
  font-style: italic;
  letter-spacing: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  text-transform: none;
  color: var(--ink);
}

/* Mobile / tablet adjustments */
@media (max-width: 980px) {
  .site-footer { padding: 24px 28px; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner { padding: 16px 18px; flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions { justify-content: flex-end; }
  .legal-hero { padding: 56px 28px 28px; }
  .legal-body { padding: 48px 28px 64px; }
}
@media (max-width: 480px) {
  .site-footer { padding: 22px 18px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-banner-inner { padding: 14px 14px; }
  .cookie-banner-text { font-size: 13px; }
  .cookie-btn { font-size: 12px; padding: 10px 12px; flex: 1; min-width: 0; }
  .cookie-btn-ghost { flex: none; width: 100%; order: 99; }
  .cookie-banner-actions { gap: 6px; }
  .cookie-pref-row { flex-direction: row; align-items: center; }
  .legal-hero { padding: 40px 18px 24px; }
  .legal-body { padding: 36px 18px 56px; }
  .legal-body h2 { font-size: 19px; }
}

/* Capture form: explanatory blurb + locked required checkbox + optional newsletter */
.consent-blurb {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--slate-2);
  margin: 4px 0 8px;
  font-weight: 300;
  font-style: italic;
  max-width: 480px;
}
.consent-row--locked {
  cursor: default;
  opacity: 0.92;
}
.consent-row--locked .consent-text {
  color: var(--slate);
}
.consent-row--locked .consent-text strong {
  color: var(--ink);
  font-weight: 500;
}
.consent-required {
  color: var(--slate-2);
  font-style: italic;
  font-size: 12.5px;
}
.consent-box--locked {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  cursor: not-allowed;
  position: relative;
}
.consent-box--locked .consent-tick {
  color: var(--gold);
}
.consent-box--locked::after {
  /* tiny lock indicator in the bottom-right corner */
  content: "";
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  border: 1.5px solid var(--paper);
}

/* ════════════════════════════════════════════════════════════════
   END LEGAL / FOOTER / COOKIE
   ════════════════════════════════════════════════════════════════ */

/* Stop horizontal scroll if anything overflows */
html, body { overflow-x: hidden; }
@media (max-width: 980px) {
  /* (Removed: superseded by the comprehensive RESPONSIVE block above.) */
}
