/* =====================================================================
   Reverse Aging Wellness Clinic · design system
   Canonical source: Danuta Domurad's workbook covers.
   Cosmic midnight base · metallic gold · violet lotus · starlight cream.
   ===================================================================== */

/* ----------  Tokens  ---------- */
:root {
  /* Cosmic base */
  --navy-950: #050917;
  --navy-900: #0B1437;   /* base, from the covers */
  --navy-800: #101d52;
  --navy-700: #16276b;
  --blue-600: #1B3A8B;   /* royal cosmic blue */
  --blue-500: #2c52a8;

  /* Metallic gold */
  --gold-600: #b8932f;
  --gold-500: #D4AF37;
  --gold-400: #e6c667;
  --gold-300: #FFD37A;   /* warm glow */

  /* Violet / lotus */
  --violet-600: #7E4FB0;
  --violet-500: #9B5DE5;
  --violet-300: #c39bf0;

  /* Starlight */
  --cream: #F4EFE6;
  --cream-80: rgba(244, 239, 230, 0.80);
  --cream-65: rgba(244, 239, 230, 0.65);
  --cream-45: rgba(244, 239, 230, 0.45);

  /* Surfaces */
  --panel: rgba(20, 32, 84, 0.38);
  --panel-strong: rgba(12, 20, 55, 0.66);
  --hairline: rgba(212, 175, 55, 0.22);
  --hairline-violet: rgba(155, 93, 229, 0.28);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-script: "Great Vibes", "Cormorant Garamond", cursive;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --container-narrow: 820px;
  --section-y: clamp(4.5rem, 11vh, 8.5rem);
  --radius: 18px;
  --radius-lg: 26px;

  /* Glows */
  --glow-gold: 0 0 40px rgba(255, 211, 122, 0.28);
  --glow-violet: 0 0 60px rgba(155, 93, 229, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--cream-80);
  background-color: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ----------  Cosmic background  ---------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, #16276b 0%, rgba(11, 20, 55, 0) 55%),
    radial-gradient(90% 60% at 85% 10%, rgba(155, 93, 229, 0.22) 0%, rgba(11, 20, 55, 0) 50%),
    radial-gradient(80% 70% at 10% 30%, rgba(27, 58, 139, 0.45) 0%, rgba(11, 20, 55, 0) 55%),
    radial-gradient(120% 90% at 50% 110%, #101d52 0%, rgba(5, 9, 23, 0) 60%),
    linear-gradient(180deg, #0B1437 0%, #070d27 50%, #050917 100%);
}
.cosmos__stars,
.cosmos__stars--2 {
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  opacity: 0.9;
}
/* Star layers are painted by JS into CSS vars for crispness; fallback below. */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ----------  Layout helpers  ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.center { text-align: center; }

/* Keep in-page anchors clear of the fixed header when jumped to. */
.section, .footer, #top { scroll-margin-top: clamp(72px, 9vh, 96px); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before,
.eyebrow.eyebrow--flanked::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.eyebrow.eyebrow--flanked::after { background: linear-gradient(90deg, var(--gold-500), transparent); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--cream); letter-spacing: 0.01em; }
.h-display { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); font-weight: 600; }
.h-section { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.h-card { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-300);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 211, 122, 0.35);
}

.lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--cream-80); font-weight: 300; }
.muted { color: var(--cream-45); }
.gold-text { color: var(--gold-400); }

.section__head { max-width: 46rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head .eyebrow { margin-bottom: 1.1rem; }
.section__head p { margin-top: 1.1rem; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease);
  will-change: transform;
}
.btn .btn__arrow { transition: transform 0.5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  color: #1a1304;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(212, 175, 55, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost { background: rgba(244, 239, 230, 0.04); color: var(--cream); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-2px); box-shadow: var(--glow-gold); }
.btn--block { width: 100%; justify-content: center; }

/* ----------  Panels / cards  ---------- */
.panel {
  background: var(--panel);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 39, 107, 0.42), rgba(11, 20, 55, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.2rem);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -20%, rgba(155, 93, 229, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, 0.4); box-shadow: 0 24px 60px rgba(5, 9, 23, 0.55); }
.card:hover::after { opacity: 1; }

.icon-disc {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: radial-gradient(circle at 50% 35%, rgba(255, 211, 122, 0.16), rgba(11, 20, 55, 0.2));
  margin-bottom: 1.4rem;
}
.icon-disc svg { width: 32px; height: 32px; }
.icon { stroke: var(--gold-400); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ----------  Decorative geometry  ---------- */
.geo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: grid;
  place-items: center;
  color: rgba(212, 175, 55, 0.16);
}
.geo svg { width: min(110%, 60rem); height: auto; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-block: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-500);
}
.divider::before, .divider::after { content: ""; height: 1px; width: min(28%, 12rem); background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5)); }
.divider::after { background: linear-gradient(90deg, rgba(212,175,55,0.5), transparent); }
.divider svg { width: 26px; height: 26px; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
  padding-block: 1.1rem;
  padding-top: calc(1.1rem + env(safe-area-inset-top, 0px));
}
.nav.is-scrolled {
  background: rgba(7, 13, 39, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.14);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand svg { width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--cream); line-height: 1.05; letter-spacing: 0.02em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-400); margin-top: 2px; }
.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--cream-65); transition: color 0.4s var(--ease); position: relative; }
.nav__links a:hover { color: var(--gold-300); }
.nav__links a.is-active { color: var(--gold-300); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 0.4rem;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 11, 35, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-content: center;
  gap: 1.4rem;
  text-align: center;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; color: var(--cream); }
.mobile-menu a:hover { color: var(--gold-300); }
.mobile-menu .btn { font-family: var(--font-body); font-size: 0.86rem; margin-top: 1rem; justify-self: center; }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}
/* Keep the longer program wordmark tidy beside the menu button on small phones. */
@media (max-width: 420px) {
  .brand svg { width: 32px; height: 32px; }
  .brand__name { font-size: 0.96rem; }
  .brand__name small { letter-spacing: 0.24em; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding-top: 7rem; padding-bottom: 4rem; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.hero__copy { text-align: center; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title { margin-bottom: 0.4rem; }
.hero__title .line-1 { display: block; font-weight: 500; color: var(--cream); }
.hero__script { display: block; font-size: clamp(3rem, 2rem + 7vw, 6.5rem); margin: 0.1em 0 0.15em; }
.hero__program {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.6rem;
}
.hero__lede { max-width: 38rem; margin: 0 auto 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__tm { margin-top: 2.6rem; font-style: italic; font-family: var(--font-display); font-size: 1.05rem; color: var(--cream-65); }
.hero__tm sup { font-style: normal; font-size: 0.55em; color: var(--gold-400); }

.hero__figure { position: relative; display: grid; place-items: center; margin-inline: auto; max-width: 460px; }
.hero__figure svg { width: 100%; height: auto; }
.hero__figure .figure-float { animation: float 9s ease-in-out infinite; transform-origin: center; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__figure .ring-spin { animation: spin 90s linear infinite; transform-origin: center; }
.hero__figure .ring-spin--rev { animation: spin 120s linear infinite reverse; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.chakra { animation: pulse 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 0.5rem; color: var(--cream-45); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--gold-400), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero__copy { text-align: left; }
  .hero__lede { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; }
  .eyebrow.hero__eyebrow { }
}

/* =====================================================================
   ORIENTATION / THE BRIDGE
   ===================================================================== */
.manifesto { display: grid; gap: 1.4rem; max-width: 50rem; margin-inline: auto; }
.manifesto p { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.4; color: var(--cream); font-weight: 400; }
.manifesto .accent { color: var(--gold-300); font-style: italic; }
.bridge-grid { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.bridge-card { text-align: center; padding: clamp(1.6rem, 1rem + 1.4vw, 2.2rem); }
.bridge-card .icon-disc { margin-inline: auto; }
.bridge-card h3 { margin-bottom: 0.5rem; }
.bridge-card p { font-size: 0.98rem; color: var(--cream-65); }
@media (min-width: 760px) { .bridge-grid { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   QUIZ (designed, not live)
   ===================================================================== */
.quiz { position: relative; }
.quiz__panel {
  position: relative;
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.8rem, 1.2rem + 3vw, 3.4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(155, 93, 229, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(22, 39, 107, 0.5), rgba(11, 20, 55, 0.62));
  border: 1px solid var(--hairline-violet);
  overflow: hidden;
}
@media (min-width: 920px) { .quiz__panel { grid-template-columns: 1fr 1fr; align-items: center; } }
.quiz__copy h2 { margin-bottom: 1rem; }
.quiz__copy .quiz__sub { font-style: italic; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300); margin: 0.4rem 0 1.4rem; }
.quiz__copy p { color: var(--cream-65); margin-bottom: 1.6rem; }

/* The orientation quiz, a live, client-side flow */
.quiz__preview { position: relative; }
.quiz-flow {
  background: linear-gradient(180deg, rgba(7, 13, 39, 0.86), rgba(11, 20, 55, 0.86));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: 0 30px 70px rgba(5, 9, 23, 0.6);
}
.quiz__dots { display: flex; gap: 7px; margin-bottom: 1.3rem; }
.quiz__dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(244,239,230,0.16); display: block; transition: background 0.5s var(--ease); }
.quiz__dots i.is-on { background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); }
.quiz__status { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-45); margin-bottom: 1rem; }

.quiz-step { display: block; }
.quiz-step[hidden] { display: none; }
@keyframes quizFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-step.is-appearing { animation: quizFade 0.5s var(--ease) both; }
.quiz-step__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.55rem); color: var(--cream); margin-bottom: 1.2rem; line-height: 1.25; }
.quiz-step__q:focus { outline: none; }
.quiz-step__q:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; border-radius: 6px; }
.quiz-step__options { display: grid; gap: 0.7rem; }

.quiz-option {
  position: relative;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(244,239,230,0.12);
  border-radius: 12px; color: var(--cream-80); font-size: 0.95rem;
  background: rgba(244,239,230,0.02);
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.quiz-option:hover { border-color: rgba(212,175,55,0.45); color: var(--cream); }
.quiz-option__input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.quiz-option__bullet { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(244,239,230,0.3); flex: none; display: grid; place-items: center; transition: border-color 0.4s var(--ease); }
.quiz-option__bullet::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-400); transform: scale(0); transition: transform 0.3s var(--ease); }
.quiz-option.is-selected,
.quiz-option:has(.quiz-option__input:checked) { border-color: var(--gold-400); background: rgba(212,175,55,0.1); color: var(--cream); }
.quiz-option.is-selected .quiz-option__bullet,
.quiz-option:has(.quiz-option__input:checked) .quiz-option__bullet { border-color: var(--gold-400); }
.quiz-option.is-selected .quiz-option__bullet::after,
.quiz-option:has(.quiz-option__input:checked) .quiz-option__bullet::after { transform: scale(1); }
.quiz-option:focus-within { border-color: var(--gold-300); box-shadow: 0 0 0 2px rgba(255, 211, 122, 0.45); }

.quiz__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.quiz__back {
  background: none; border: 0; color: var(--cream-45);
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5em 0.2em; transition: color 0.4s var(--ease);
}
.quiz__back:hover { color: var(--gold-300); }
.quiz__back[hidden] { display: none; }
.quiz__next {
  margin-left: auto;
  color: var(--navy-900); background: var(--gold-400);
  padding: 0.62em 1.5em; border-radius: 999px; border: 0;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s var(--ease);
}
.quiz__next .btn__arrow { transition: transform 0.4s var(--ease); }
.quiz__next:not(:disabled):hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }
.quiz__next:not(:disabled):hover .btn__arrow { transform: translateX(3px); }
.quiz__next:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz__next[hidden] { display: none; }

/* Result */
.quiz-result__eyebrow { display: inline-block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.8rem; }
.quiz-result__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--cream); margin-bottom: 0.8rem; line-height: 1.2; }
.quiz-result__title:focus { outline: none; }
.quiz-result__title:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; border-radius: 6px; }
.quiz-result__body { color: var(--cream-80); font-size: 0.98rem; margin-bottom: 1.4rem; }
.quiz-result__cta { margin-bottom: 1.1rem; }
.quiz-result__note { font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: var(--cream-45); }
.quiz-result__restart {
  background: none; border: 0; color: var(--gold-400);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.4rem; padding: 0.3em 0;
  transition: color 0.4s var(--ease);
}
.quiz-result__restart svg { width: 14px; height: 14px; transform: rotate(180deg); }
.quiz-result__restart:hover { color: var(--gold-300); }

/* No-script fallback (JS replaces it with the live flow) */
.quiz-fallback__lead { color: var(--cream-65); margin-bottom: 1rem; font-size: 0.95rem; }
.quiz-fallback__list { display: grid; gap: 0.7rem; }
.quiz-fallback__list a { display: block; padding: 0.8rem 1rem; border: 1px solid rgba(244,239,230,0.12); border-radius: 12px; color: var(--cream-80); font-size: 0.95rem; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
.quiz-fallback__list a:hover { border-color: var(--gold-400); color: var(--gold-300); }

.note-line { font-size: 0.82rem; color: var(--cream-45); margin-top: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.note-line svg { width: 15px; height: 15px; flex: none; }

/* =====================================================================
   WORKBOOK CURRICULUM
   ===================================================================== */
.curriculum-wrap { max-width: 60rem; margin-inline: auto; margin-top: clamp(2rem, 4vw, 3rem); }
.curriculum__lead { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold-300); margin-bottom: 1.6rem; }
.curriculum { display: grid; gap: 0 2.4rem; }
@media (min-width: 640px) { .curriculum { grid-template-columns: 1fr 1fr; } }
.curriculum li { display: flex; gap: 0.9rem; align-items: baseline; font-size: 0.96rem; color: var(--cream-80); padding: 0.55rem 0.2rem; border-bottom: 1px solid rgba(244, 239, 230, 0.07); }
.curriculum li b { font-family: var(--font-display); font-weight: 600; color: var(--gold-400); font-size: 0.92rem; min-width: 1.7em; flex: none; }
.curriculum__note { text-align: center; margin-top: 1.4rem; font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: var(--cream-45); }

/* =====================================================================
   MODALITIES
   ===================================================================== */
.modalities-grid { display: grid; gap: 1.4rem; }
@media (min-width: 680px) { .modalities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .modalities-grid { grid-template-columns: repeat(3, 1fr); } }
.modality.is-featured {
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(180deg, rgba(27, 58, 139, 0.5), rgba(11, 20, 55, 0.55));
  box-shadow: 0 0 0 1px rgba(212,175,55,0.08), 0 18px 50px rgba(5,9,23,0.4);
}
.modality .featured-tag { position: absolute; top: 1.1rem; right: 1.1rem; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); border: 1px solid var(--hairline); border-radius: 999px; padding: 0.3em 0.7em; }
.modality h3 { margin-bottom: 0.5rem; }
.modality p { font-size: 0.95rem; color: var(--cream-65); }
@media (min-width: 1000px) {
  .modality.span-feature { }
}

/* =====================================================================
   WORKBOOK
   ===================================================================== */
.workbook__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .workbook__grid { grid-template-columns: 0.85fr 1.15fr; } }
.book-cover { perspective: 1400px; display: grid; justify-items: center; }
.book-cover__inner {
  width: min(300px, 70vw);
  aspect-ratio: 5 / 7;
  border-radius: 6px 12px 12px 6px;
  box-shadow: -10px 18px 50px rgba(5, 9, 23, 0.7), inset 0 0 0 1px rgba(212,175,55,0.18);
  transform: rotateY(-16deg) rotateX(3deg);
  transition: transform 0.9s var(--ease);
  overflow: hidden;
}
.book-cover:hover .book-cover__inner { transform: rotateY(-6deg); }
.book-cover__inner svg { width: 100%; height: 100%; }
.workbook__copy h2 { margin-bottom: 1.1rem; }
.workbook__promise { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-300); margin-bottom: 1.4rem; }
.curric { display: grid; gap: 0.8rem; margin: 1.6rem 0 2rem; }
.curric li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--cream-80); font-size: 0.98rem; }
.curric li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.reset-rewire { display: inline-flex; gap: 0.8rem; align-items: center; font-family: var(--font-display); font-style: italic; color: var(--gold-300); font-size: 1.15rem; letter-spacing: 0.02em; }
.reset-rewire span { color: var(--cream-45); }

/* =====================================================================
   BEGIN (contact / enquiry)
   ===================================================================== */
.begin-panel {
  position: relative; text-align: center;
  padding: clamp(2.2rem, 1.4rem + 3.5vw, 4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(155, 93, 229, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(22, 39, 107, 0.5), rgba(11, 20, 55, 0.62));
  border: 1px solid var(--hairline-violet);
  overflow: hidden;
}
.begin-panel .eyebrow { margin-bottom: 1rem; }
.begin-panel h2 { margin-bottom: 1rem; }
.begin-panel > p { color: var(--cream-80); max-width: 36rem; margin: 0 auto 2rem; }
.begin-contact { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: center; margin-top: 2rem; font-size: 0.92rem; color: var(--cream-65); }
.begin-contact .ln { display: inline-flex; gap: 0.6rem; align-items: center; }
.begin-contact .ln a { color: var(--cream-65); transition: color 0.4s var(--ease); }
.begin-contact .ln a:hover { color: var(--gold-300); }
.begin-contact svg { width: 17px; height: 17px; flex: none; color: var(--gold-400); }

/* =====================================================================
   PROGRAMS & TIERS
   ===================================================================== */
.tiers { display: grid; gap: 1.4rem; align-items: stretch; }
@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { display: flex; flex-direction: column; }
.tier.is-highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, rgba(126, 79, 176, 0.28), rgba(11, 20, 55, 0.6));
  box-shadow: 0 24px 70px rgba(5, 9, 23, 0.5), var(--glow-violet);
}
.tier__badge { align-self: flex-start; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-900); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); padding: 0.35em 0.9em; border-radius: 999px; font-weight: 600; margin-bottom: 1rem; }
.tier__band { align-self: flex-start; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); border: 1px solid var(--hairline); border-radius: 999px; padding: 0.35em 0.95em; margin-bottom: 1rem; }
.tier__name { font-size: 1.5rem; margin-bottom: 0.3rem; }
.tier__for { font-size: 0.82rem; color: var(--gold-400); letter-spacing: 0.04em; margin-bottom: 1.2rem; }
.tier__price { font-family: var(--font-display); margin-bottom: 0.3rem; }
.tier__price b { font-size: 2.6rem; font-weight: 600; color: var(--cream); }
.tier__price span { font-size: 0.86rem; color: var(--cream-45); font-family: var(--font-body); }
.tier__note { font-size: 0.78rem; color: var(--cream-45); margin-bottom: 1.5rem; }
.tier__list { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.tier__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--cream-80); }
.tier__list li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; }
.tier .btn { margin-top: auto; }
.tier-disclaimer { text-align: center; margin-top: 1.8rem; font-size: 0.8rem; color: var(--cream-45); }
.draft-flag { color: var(--gold-300); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.9fr 1.1fr; } }
.about__portrait { position: relative; display: grid; place-items: center; }
.about__portrait .frame { width: min(360px, 80vw); aspect-ratio: 4/5; border-radius: 200px 200px 18px 18px; overflow: hidden; border: 1px solid var(--hairline); background: radial-gradient(120% 80% at 50% 0%, rgba(155,93,229,0.3), rgba(11,20,55,0.4)); box-shadow: 0 30px 80px rgba(5,9,23,0.6); }
.about__portrait .frame svg { width: 100%; height: 100%; }
.about__copy h2 { margin-bottom: 0.4rem; }
.about__cred { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.4rem; }
.about__copy p { margin-bottom: 1.1rem; color: var(--cream-80); }
.founder-line { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--cream); border-left: 2px solid var(--gold-500); padding-left: 1.2rem; margin: 1.6rem 0; }
.about__tm { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300); font-style: italic; }
.about__tm sup { font-size: 0.5em; color: var(--gold-400); font-style: normal; }

/* =====================================================================
   PROMISE / featured statement (honest, her own words)
   ===================================================================== */
.promise { text-align: center; position: relative; }
.promise__mark { font-family: var(--font-display); font-size: 6rem; line-height: 0.5; color: var(--gold-500); opacity: 0.4; margin-bottom: 0.4rem; height: 2.4rem; }
.promise blockquote { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); line-height: 1.3; color: var(--cream); font-weight: 400; max-width: 40rem; margin-inline: auto; }
.promise blockquote .accent { color: var(--gold-300); font-style: italic; }
.promise cite { display: block; margin-top: 1.8rem; font-family: var(--font-body); font-style: normal; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2.5rem; border-top: 1px solid rgba(212,175,55,0.14); background: linear-gradient(180deg, transparent, rgba(5, 9, 23, 0.6)); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.footer__brand svg { width: 44px; height: 44px; }
.footer__brand .brand__name { font-size: 1.25rem; }
.footer p.footer__tag { color: var(--cream-45); max-width: 24rem; font-size: 0.92rem; }
.footer__tm { font-family: var(--font-display); font-style: italic; color: var(--gold-300); margin-top: 1.1rem; font-size: 1.02rem; }
.footer__tm sup { font-size: 0.55em; font-style: normal; color: var(--gold-400); }
.footer h3 { font-family: var(--font-body); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.7rem; }
.footer__links a, .footer__contact a { color: var(--cream-65); font-size: 0.93rem; transition: color 0.4s var(--ease); }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-300); }
.footer__cta-link { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.3rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); transition: color 0.4s var(--ease); }
.footer__cta-link svg { transition: transform 0.4s var(--ease); }
.footer__cta-link:hover { color: var(--gold-400); }
.footer__cta-link:hover svg { transform: translateX(3px); }
.footer__contact { display: grid; gap: 0.7rem; font-size: 0.93rem; color: var(--cream-65); }
.footer__contact .ln { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.footer__bar { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(244,239,230,0.08); font-size: 0.8rem; color: var(--cream-45); }
.footer__bar nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.footer__bar nav a { transition: color 0.4s var(--ease); }
.footer__bar nav a:hover { color: var(--gold-300); }
.footer__soon { display: inline-flex; align-items: baseline; gap: 0.5em; color: var(--cream-45); }
.footer__soon em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); border: 1px solid var(--hairline); border-radius: 999px; padding: 0.2em 0.65em; opacity: 0.85; }

/* ----------  Reveal on scroll  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ----------  Focus visibility (a11y)  ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-400); color: var(--navy-900); padding: 0.7em 1.2em; z-index: 200; border-radius: 0 0 8px 0; font-weight: 500; }
.skip-link:focus { left: 0; }
