/* ═══════════════════════════════════════════════════════════
   THE TEAM GAP — Design System
   Palette: Deep Forest Green · Antique Gold · Ivory · Slate
   Typography: Playfair Display (headings) + DM Sans (body)
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Primary palette */
  --color-forest:       oklch(0.24 0.08 155);   /* deep forest green — nav, dark sections */
  --color-forest-mid:   oklch(0.32 0.09 155);   /* medium forest — hover states */
  --color-forest-light: oklch(0.42 0.10 155);   /* lighter green — accents */
  --color-gold:         oklch(0.72 0.14 80);    /* antique gold — primary CTA, stripe */
  --color-gold-light:   oklch(0.82 0.12 85);    /* pale gold — highlights */
  --color-ivory:        oklch(0.97 0.008 90);   /* warm ivory — page background */
  --color-ivory-deep:   oklch(0.93 0.012 85);   /* deeper ivory — card backgrounds */
  --color-slate:        oklch(0.35 0.04 240);   /* slate — body text on light */
  --color-slate-light:  oklch(0.55 0.03 240);   /* lighter slate — secondary text */

  /* Stripe colors (Hockney-style divider) */
  --stripe-1: var(--color-gold);
  --stripe-2: var(--color-forest-light);
  --stripe-3: var(--color-ivory);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --gap-card-radius: 4px;

  /* Transitions */
  --trans-fast: 200ms ease;
  --trans-med:  400ms ease;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-ivory);
  color: var(--color-slate);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ─── STRIPE DIVIDER ─────────────────────────────────────── */
.stripe-divider {
  height: 6px;
  background: linear-gradient(
    to right,
    var(--stripe-1) 0% 33.33%,
    var(--stripe-2) 33.33% 66.66%,
    var(--stripe-3) 66.66% 100%
  );
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast), transform var(--trans-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-gold);
  color: var(--color-forest);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}
.btn-secondary:hover {
  background: var(--color-forest);
  color: var(--color-ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ivory);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm    { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--color-forest);
  border-bottom: 3px solid var(--color-gold);
  transition: box-shadow var(--trans-med);
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--color-gold);
  color: var(--color-forest);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ivory);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color var(--trans-fast), background var(--trans-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-forest);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans-fast);
}
.nav-cta:hover { background: var(--color-gold-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-ivory);
  border-radius: 1px;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-forest-mid);
  padding: 0.5rem 0;
}
.nav-mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--trans-fast), background var(--trans-fast);
}
.nav-mobile-menu a:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.04);
}
.nav-mobile-menu.open { display: flex; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--color-forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 64px;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, oklch(0.32 0.09 155 / 0.6), transparent 70%);
  pointer-events: none;
}

.hero-ticker {
  position: absolute;
  bottom: 5rem;
  left: 0; right: 0;
  overflow: hidden;
  opacity: 0.18;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 1.5rem;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-track .dot { color: var(--color-gold); opacity: 0.6; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  color: var(--color-ivory);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--trans-fast);
  z-index: 1;
}
.hero-scroll:hover { color: var(--color-gold); }
.hero-scroll svg { animation: bounce 2s ease infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}
.section-cream  { background: var(--color-ivory); }
.section-forest { background: var(--color-forest); }

.chapter-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.chapter-label-light { color: var(--color-gold-light); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-forest);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.section-title-light { color: var(--color-ivory); }

.section-intro {
  font-size: 1.1rem;
  color: var(--color-slate-light);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.75;
}
.section-intro-light { color: rgba(255,255,255,0.7); }

/* ─── PROSE COLUMNS (Chapter 01) ────────────────────────── */
.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.prose-col p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-slate);
}
.prose-col p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-forest);
  border-left: 4px solid var(--color-gold);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 1.75rem 0;
  line-height: 1.35;
}

.callout-box {
  background: var(--color-forest);
  padding: 1.75rem;
  border-radius: var(--gap-card-radius);
  border-top: 3px solid var(--color-gold);
  margin-top: 1.5rem;
}
.callout-text {
  color: rgba(255,255,255,0.75) !important;
  font-size: 1rem !important;
  margin-bottom: 0.5rem !important;
}
.callout-emphasis {
  color: var(--color-gold-light) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  margin-bottom: 0 !important;
}

/* ─── FRAMEWORK (Chapter 02) ─────────────────────────────── */
.framework-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.framework-intro p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.five-questions {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--color-gold);
  padding: 2rem 2.5rem;
  border-radius: var(--gap-card-radius);
  margin-bottom: 2.5rem;
  max-width: 680px;
}
.questions-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.questions-list {
  padding-left: 1.5rem;
}
.questions-list li {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.questions-list li::marker { color: var(--color-gold); }

.framework-gap-def {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.framework-gap-def p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.gap-definition {
  color: var(--color-ivory) !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
}
.gap-definition strong { color: var(--color-gold); }

.framework-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--color-gold-light);
  border-left: 4px solid var(--color-gold);
  padding: 1rem 0 1rem 2rem;
  max-width: 760px;
  line-height: 1.5;
}

/* ─── SIX GAPS GRID ──────────────────────────────────────── */
.gaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.gap-card {
  background: var(--color-ivory-deep);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--gap-card-radius);
  overflow: hidden;
  transition: box-shadow var(--trans-med), transform var(--trans-med);
}
.gap-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.gap-card-header {
  background: var(--color-forest);
  padding: 1.5rem 1.75rem;
  border-bottom: 3px solid var(--color-gold);
}
.gap-number {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.gap-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
}
.gap-lens {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  line-height: 1.5;
}

.gap-card-body {
  padding: 1.75rem;
}
.gap-card-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: 1rem;
}
.gap-card-body p:last-child { margin-bottom: 0; }
.gap-card-body em { color: var(--color-forest-mid); font-style: italic; }

.gap-asks {
  background: var(--color-forest);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}
.gap-asks-label {
  font-family: var(--font-body);
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--color-gold) !important;
  margin-bottom: 0.5rem !important;
}
.gap-asks p:last-child {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}

/* ─── SYNTHESIS (Chapter 04) ─────────────────────────────── */
.synthesis-question {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 3rem;
  line-height: 1.2;
}

.three-questions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.tq-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--color-gold);
  padding: 2rem;
  border-radius: var(--gap-card-radius);
  transition: background var(--trans-fast);
}
.tq-card:hover { background: rgba(255,255,255,0.08); }

.tq-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.tq-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 1rem;
}
.tq-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.tq-gap {
  font-size: 0.85rem !important;
  color: var(--color-gold-light) !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}
.tq-gap strong { color: var(--color-gold); }

.bottom-line {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.bottom-line-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--color-ivory);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  padding: 0;
  border: none;
}
.bottom-line-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ─── DIAGNOSTIC ─────────────────────────────────────────── */
.diagnostic-wrapper {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 420px;
}

.diag-screen {
  display: none;
  animation: fadeIn 0.35s ease;
}
.diag-screen.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intro card */
.diag-intro-card {
  background: var(--color-forest);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--color-gold);
  padding: 3rem;
  border-radius: var(--gap-card-radius);
  text-align: center;
}
.diag-intro-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--color-ivory);
  margin-bottom: 1rem;
}
.diag-intro-card p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.diag-intro-card p:last-of-type { margin-bottom: 2rem; }

/* Progress bar */
.diag-progress-bar {
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.diag-progress-fill {
  height: 100%;
  background: var(--color-gold);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}
.diag-progress-label {
  font-size: 0.78rem;
  color: var(--color-slate-light);
  text-align: right;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}

/* Question card */
.diag-question-card {
  background: var(--color-ivory-deep);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-forest);
  padding: 2.5rem;
  border-radius: var(--gap-card-radius);
}

.diag-q-gap-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.diag-q-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 2rem;
  line-height: 1.35;
}

.diag-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.diag-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--gap-card-radius);
  cursor: pointer;
  background: white;
  transition: border-color var(--trans-fast), background var(--trans-fast), box-shadow var(--trans-fast);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-slate);
  line-height: 1.5;
  width: 100%;
}
.diag-option:hover {
  border-color: var(--color-forest-light);
  background: oklch(0.97 0.015 155);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.diag-option.selected {
  border-color: var(--color-forest);
  background: oklch(0.95 0.02 155);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.diag-option.selected .option-dot {
  background: var(--color-forest);
  border-color: var(--color-forest);
}
.diag-option.selected .option-dot::after {
  opacity: 1;
}

.option-dot {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
  transition: background var(--trans-fast), border-color var(--trans-fast);
}
.option-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.option-score-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.diag-option.selected .option-score-badge { opacity: 1; }
.score-low  { background: oklch(0.92 0.08 30); color: oklch(0.35 0.12 30); }
.score-mid  { background: oklch(0.92 0.08 75); color: oklch(0.35 0.12 75); }
.score-high { background: oklch(0.92 0.08 155); color: oklch(0.28 0.1 155); }

.diag-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#btn-prev { color: var(--color-slate-light); border-color: rgba(0,0,0,0.15); }
#btn-prev:hover { color: var(--color-forest); border-color: var(--color-forest); background: transparent; }

/* Email gate */
.diag-email-card {
  background: var(--color-ivory-deep);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-gold);
  padding: 2.5rem;
  border-radius: var(--gap-card-radius);
}
.diag-email-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}
.diag-email-card p {
  color: var(--color-slate-light);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.email-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: 0.04em;
}
.req { color: var(--color-gold); }
.form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.12);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-slate);
  background: white;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
}
.form-group input:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px oklch(0.24 0.08 155 / 0.12);
}
.form-group input::placeholder { color: rgba(0,0,0,0.3); }

/* Results */
.diag-results-card {
  background: var(--color-ivory-deep);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-gold);
  padding: 2.5rem;
  border-radius: var(--gap-card-radius);
}
.results-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}
.results-sub {
  color: var(--color-slate-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Score ring */
.score-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.score-ring {
  position: relative;
  width: 120px; height: 120px;
  flex-shrink: 0;
}
.score-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-track {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 8;
}
.score-fill {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.2s ease, stroke 0.4s ease;
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-forest);
}
.score-band { flex: 1; min-width: 200px; }
.score-band-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}
.score-band-desc {
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.65;
}

/* Gap breakdown */
.gap-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gap-breakdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.gap-breakdown-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-forest);
  width: 160px;
  flex-shrink: 0;
}
.gap-breakdown-bar-wrap {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.gap-breakdown-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.bar-low  { background: oklch(0.62 0.18 30); }
.bar-mid  { background: oklch(0.72 0.14 80); }
.bar-high { background: oklch(0.42 0.10 155); }
.gap-breakdown-score {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-light);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* Top move */
.top-move {
  background: var(--color-forest);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 1.75rem;
  border-radius: var(--gap-card-radius);
  margin-bottom: 2rem;
}
.top-move-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.top-move-text {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-forest);
  padding: 3rem 0;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo-mark {
  width: 44px; height: 44px;
  background: var(--color-gold);
  color: var(--color-forest);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 0.4rem;
}
.footer-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-sub em { font-style: italic; }
.footer-sub strong { color: rgba(255,255,255,0.7); }
.footer-meta {
  text-align: right;
}
.footer-meta p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-copy { color: rgba(255,255,255,0.3) !important; }

/* ─── HONEYPOT HIDDEN FIELD ─────────────────────────────── */
.hidden-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .prose-columns { grid-template-columns: 1fr; gap: 2rem; }
  .gaps-grid { grid-template-columns: 1fr; }
  .three-questions { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .score-display { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
  .results-actions { flex-direction: column; }
  .diag-question-card, .diag-intro-card, .diag-email-card, .diag-results-card {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
