/* ==========================================================================
   Becoming Free Indeed — design system
   Built on the Wasafiri pattern library: quiet, editorial, cinematic.
   Deep purple + white + ink, one gold accent (both taken from the logo).
   No emojis anywhere: every symbol is an inline SVG icon.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand purple (logo) */
  --purple-950: #1c0a22;
  --purple-900: #2b1033;
  --purple-800: #3b1745;   /* primary dark */
  --purple-700: #5e2c6a;   /* italic emphasis */
  --purple-600: #7c3e8b;   /* logo purple */
  --purple-200: #ddcbe3;
  --purple-100: #efe5f2;
  --purple-50:  #f7f2f8;

  /* Gold accent (logo) */
  --gold-700: #8a690b;     /* small text on light (AA 5.1:1 on white) */
  --gold-600: #b48d14;
  --gold-500: #d1a621;     /* buttons, lines, icons */
  --gold-300: #ecc95e;     /* text on dark purple */

  /* Neutrals */
  --white: #ffffff;
  --ivory: #faf7f2;
  --sand:  #f0ebe3;
  --ink:   #150b18;
  --charcoal: #2e2731;
  --muted: #625a66;
  --line: rgba(21, 11, 24, .12);
  --line-strong: rgba(21, 11, 24, .22);
  --line-light: rgba(255, 255, 255, .2);
  --whatsapp: #1f9e53;

  --bg: var(--white);
  --text: var(--charcoal);
  --heading: var(--ink);
  --focus: var(--gold-500);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-hero: clamp(3rem, 1.8rem + 4.6vw, 6rem);
  --fs-display: clamp(2.5rem, 1.7rem + 3.2vw, 4.25rem);
  --fs-display-sm: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
  --fs-h3: clamp(1.55rem, 1.35rem + .8vw, 2rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .72rem;
  --tracking: .2em;

  /* Space */
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1rem, .5rem + 3vw, 3rem);
  --container: 1320px;
  --container-narrow: 860px;

  /* Shape */
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 30px 60px -30px rgba(28, 10, 34, .3);
  --shadow-panel: 0 24px 70px -28px rgba(28, 10, 34, .38);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .12, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .35s;

  --header-h: 88px;
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.012em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--purple-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--purple-800); color: var(--white); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.icon { flex: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--ink); color: var(--white); padding: .75rem 1.25rem; border-radius: 4px; transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease); }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 3. Typography helpers --------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.25rem;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking);
  text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; flex: none; }
.eyebrow--light { color: var(--gold-300); }
.display { font-size: var(--fs-display); margin-bottom: 1.5rem; }
.display--sm { font-size: var(--fs-display-sm); margin-bottom: 1.25rem; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.section--dark .lead { color: rgba(255,255,255,.9); }
.subhead { font-size: .74rem; letter-spacing: var(--tracking); text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 2.25rem 0 1rem; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--purple-700); margin: 1.75rem 0; }

/* ---------- 4. Buttons & links ------------------------------------------ */
.btn {
  --btn-h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: var(--btn-h); padding: 0 1.9rem; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn--sm { --btn-h: 44px; padding: 0 1.35rem; font-size: .72rem; }
.btn__arrow { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--gold-500); color: var(--purple-950); }
.btn--primary:hover { background: var(--gold-300); }
.btn--dark { background: var(--purple-800); color: var(--white); }
.btn--dark:hover { background: var(--purple-950); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: #17803f; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) { .btn { white-space: normal; padding: .9rem 1.4rem; } }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-800); }
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-300); }
.text-link { color: var(--purple-700); border-bottom: 1px solid var(--purple-200); transition: border-color .3s var(--ease); }
.text-link:hover { border-color: var(--purple-700); }

/* ---------- 5. Header ---------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .5s var(--ease); }
.header__inner { display: flex; align-items: center; gap: 2rem; height: 100%; }
.brand { display: block; flex: none; position: relative; }
.brand__logo { height: 50px; width: auto; transition: opacity .4s var(--ease), height .5s var(--ease); }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(1rem, 1.6vw, 2rem); }
.primary-nav a { position: relative; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 1.25rem; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; }

.site-header.is-transparent { color: var(--white); }
.site-header.is-transparent::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(to bottom, rgba(18,6,22,.6), transparent); pointer-events: none; z-index: -1; transition: opacity .5s var(--ease); }
.site-header.is-solid, .site-header.is-scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-scrolled { --header-h: 74px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-solid .brand__logo--light, .site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark, .site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .brand__logo { height: 42px; }
.site-header.is-hidden { transform: translateY(-100%); }

@media (max-width: 1199px) {
  .primary-nav, [data-header-cta] { display: none; }
  .header__inner { justify-content: space-between; }
  .brand__logo { height: 44px; }
}
@media (min-width: 1200px) { .menu-toggle { display: none; } }

/* ---------- 6. Mobile menu ---------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--purple-950); color: var(--white); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 88px; flex: none; }
.mobile-menu__top .brand__logo { height: 44px; }
.menu-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; color: var(--white); }
.mobile-menu__list { padding: 3vh 0; }
.mobile-menu__list li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.06s * var(--i) + .1s); border-bottom: 1px solid var(--line-light); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.1; }
.mobile-menu__list a[aria-current="page"] { font-style: italic; color: var(--gold-300); }
.mobile-menu__foot { margin-top: auto; padding-block: 1.5rem 2.5rem; display: grid; gap: 1.25rem; }
.mobile-menu__foot .btn { justify-self: start; }
.mobile-menu__foot p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; }
.mobile-menu__tag { font-family: var(--font-display); font-style: italic; font-size: 1.2rem !important; }
body.menu-open { overflow: hidden; }

/* ---------- 7. Home hero ------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero__media, .page-hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(22,7,28,.88) 0%, rgba(22,7,28,.5) 42%, rgba(22,7,28,.2) 72%),
  linear-gradient(to right, rgba(22,7,28,.72), rgba(22,7,28,.12) 68%); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--white); }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--gold-500); opacity: 1; }
.hero__content { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(9rem, 17vh, 12rem); }
.hero__title { color: var(--white); font-size: var(--fs-hero); line-height: 1; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.hero__title em { color: var(--white); display: inline-block; position: relative; }
.hero__stroke { display: block; width: min(64%, 440px); height: 16px; margin: .35rem 0 0 .2em; color: var(--gold-500); stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.8s .9s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { max-width: 36rem; margin-top: 1.75rem; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255,255,255,.92); }
.hero .eyebrow, .hero__title, .hero__lead, .hero .btn-row, .hero .trust-line { animation: rise 1.4s var(--ease-out) both; }
.hero__title { animation-delay: .15s; }
.hero__lead { animation-delay: .35s; }
.hero .btn-row { animation-delay: .5s; }
.hero .trust-line { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 110px); color: var(--bg); }

/* Rotating badge */
.badge-spin { position: absolute; z-index: 3; display: none; place-items: center; width: clamp(190px, 18vw, 280px); aspect-ratio: 1; color: var(--white); right: clamp(1.5rem, 4.5vw, 5.5rem); top: 44%; transform: translateY(-50%); }
.page-hero .badge-spin { width: clamp(150px, 13vw, 200px); top: 56%; }
.badge-spin__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-spin__text { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.badge-spin__logo { display: grid; place-items: center; width: 58%; aspect-ratio: 1; border-radius: 50%; background: rgba(28,10,34,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transition: background-color .4s var(--ease); }
.badge-spin__logo img { width: 70%; height: auto; }
.badge-spin:hover .badge-spin__logo { background: rgba(28,10,34,.65); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1000px) { .badge-spin { display: grid; } }

/* Start-here finder (pill overlapping the hero) */
.finder-wrap { position: relative; z-index: 5; margin-top: clamp(-7rem, -8vw, -4rem); }
.finder { display: grid; grid-template-columns: 1fr; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); padding: .5rem; border: 1px solid var(--line); }
.finder__label-row { padding: .9rem 1.25rem .4rem; margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: var(--tracking); text-transform: uppercase; color: var(--gold-700); }
.finder__cell { position: relative; display: grid; grid-template-columns: 22px 1fr 16px; column-gap: .9rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); border-radius: var(--radius); transition: background-color .3s var(--ease); }
.finder__cell:hover, .finder__cell:focus-visible { background: var(--purple-50); }
.finder__icon { grid-row: span 2; color: var(--gold-600); }
.finder__go { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); transition: transform .3s var(--ease); }
.finder__cell:hover .finder__go { transform: translateX(3px); color: var(--purple-800); }
.finder__label { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.finder__text { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.finder__submit { margin: .5rem; }
@media (min-width: 1000px) {
  .finder { grid-template-columns: repeat(4, 1fr) auto; align-items: center; border-radius: var(--radius-pill); padding: .5rem .5rem .5rem 1rem; }
  .finder__label-row { display: none; }
  .finder__cell { border-bottom: 0; padding: .7rem 1.1rem; border-radius: var(--radius-pill); }
  .finder__cell + .finder__cell::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
  .finder__submit { margin: 0; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .finder__label-row, .finder__submit { grid-column: 1 / -1; }
}

/* ---------- 8. Sections -------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--ivory { background: var(--ivory); }
.section--tint { background: var(--purple-50); }
.section--dark { background: var(--purple-900); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark h2 em, .section--dark h3 em { color: var(--gold-300); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head__text { max-width: 46rem; }
.section-head__title { font-size: var(--fs-display); }
.section-head__lead { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.075rem; max-width: 38rem; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.section-head--center .section-head__lead { margin-inline: auto; }
.section-head--light .eyebrow { color: var(--gold-300); }
.section-head--light .section-head__lead { color: rgba(255,255,255,.75); }

.grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
@media (min-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Trust strip */
.why-row { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.why-row__item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.why-row__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--purple-50); color: var(--purple-800); }
.why-row__title { font-family: var(--font-body); font-size: .95rem; font-weight: 700; line-height: 1.35; margin: .3rem 0; }
.why-row__text { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0; }
@media (min-width: 640px) { .why-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .why-row { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .why-row__item { padding: 0 2rem; border-left: 1px solid var(--line); }
  .why-row__item:first-child { border-left: 0; padding-left: 0; }
}

/* Intro / story (main image + inset) */
.intro__grid { display: grid; gap: clamp(3rem, 5vw, 7rem); align-items: center; }
.intro__media { position: relative; padding: 0 12% 14% 0; margin: 0; }
.intro__main { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.intro__inset { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 8px solid var(--bg); box-shadow: var(--shadow-soft); }
.section--ivory .intro__inset { border-color: var(--ivory); }
.intro__text { max-width: 38rem; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1.05fr; } .intro__grid--flip .intro__media { order: 2; } }

/* ---------- 9. Program cards (Wasafiri "tour card") ---------------------- */
.card { position: relative; display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.5rem; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: 0 0 .8rem; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card__title { font-size: var(--fs-h3); margin-bottom: .75rem; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__summary { color: var(--muted); font-size: .97rem; line-height: 1.65; margin-bottom: .75rem; }
.card__foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.card__foot .link-arrow, .card__foot .btn { position: relative; z-index: 1; }
.card__note { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--purple-700); }

/* Outline panel card (no image) */
.panel { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: box-shadow .6s var(--ease), transform .6s var(--ease), border-color .6s var(--ease); }
.panel:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); border-color: transparent; }
.panel--featured { border: 1.5px solid var(--gold-500); }
.panel__flag { position: absolute; top: -12px; left: 2rem; background: var(--gold-500); color: var(--purple-950); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--radius-pill); }
.panel__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--purple-50); color: var(--purple-800); margin-bottom: 1rem; }
.panel__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.panel__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.panel p { color: var(--muted); }
.panel .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 1rem; }
.panel .btn { margin-top: auto; align-self: flex-start; }
.panel .highlights { margin: .5rem 0 1.5rem; }
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--radius-pill); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--purple-100); color: var(--purple-800); }
.tag--gold { background: #f6ecc9; color: var(--gold-700); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1rem; }

/* ---------- 10. Icon row (who this is for) ------------------------------- */
.styles-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.style-item { border-bottom: 1px solid var(--line); display: grid; justify-items: center; align-content: start; text-align: center; gap: .7rem; padding: 2.25rem 1rem; }
.style-item:nth-child(odd) { border-right: 1px solid var(--line); }
.style-item__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--purple-200); color: var(--purple-800); transition: all .5s var(--ease); }
.style-item:hover .style-item__icon { background: var(--purple-800); color: var(--white); border-color: var(--purple-800); }
.style-item__name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; color: var(--ink); }
.style-item__line { font-size: .86rem; line-height: 1.55; color: var(--muted); max-width: 15rem; margin: 0; }
@media (min-width: 900px) {
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .style-item:nth-child(odd) { border-right: 0; }
  .style-item:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .styles-grid { grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
  .style-item { border-bottom: 0; }
  .style-item:not(:nth-child(3n)) { border-right: 0; }
  .style-item:not(:last-child) { border-right: 1px solid var(--line); }
}

/* ---------- 11. Pillars & stats (dark band) ------------------------------ */
.why__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.why__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.pillars { display: grid; border-top: 1px solid var(--line-light); }
.pillar { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.pillar__num { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-300); line-height: 1.2; }
.pillar__title { font-size: 1.6rem; margin-bottom: .35rem; }
.pillar__text { font-size: .95rem; line-height: 1.65; color: rgba(255,255,255,.74); margin: 0; }
@media (min-width: 900px) { .why__grid { grid-template-columns: .9fr 1.1fr; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
.stat { display: grid; gap: .5rem; align-content: start; padding: 2rem 1rem 0 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem); line-height: 1; color: var(--white); }
.stat__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); font-weight: 700; }
.stats-note { margin-top: 1.5rem; font-size: .8rem; color: rgba(255,255,255,.55); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat + .stat { padding-left: 2rem; border-left: 1px solid var(--line-light); } }

.challenges { display: grid; gap: .9rem; margin-top: 2.5rem; }
.challenges li { display: flex; gap: .8rem; align-items: center; color: rgba(255,255,255,.85); }
.challenges svg { color: var(--gold-300); }
@media (min-width: 900px) { .challenges { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 12. Quote band ----------------------------------------------- */
.quote-band { text-align: center; }
.quote-band__mark { display: inline-grid; color: var(--gold-500); margin: 0 auto 1.5rem; }
.quote-band__quote { margin: 0 auto; max-width: 54rem; }
.quote-band__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.85rem); line-height: 1.25; color: var(--ink); }
.section--dark .quote-band__quote p { color: var(--white); }
.quote-band__by { margin-top: 1.75rem; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); }
.section--dark .quote-band__by { color: var(--gold-300); }

.contrast { display: grid; gap: 1.5rem; max-width: 60rem; margin: 0 auto; }
.contrast__col { padding: 2rem; border-radius: var(--radius-lg); }
.contrast__col--not { background: var(--white); border: 1px solid var(--line); }
.contrast__col--is { background: var(--purple-800); color: rgba(255,255,255,.88); }
.contrast__label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--muted); }
.contrast__col--is .contrast__label { color: var(--gold-300); }
.contrast__col li { display: flex; gap: .75rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.contrast__col--is li { border-color: var(--line-light); color: var(--white); }
.contrast__col li:last-child { border-bottom: 0; }
.contrast__col--not svg { color: var(--muted); }
.contrast__col--is svg { color: var(--gold-300); }
@media (min-width: 760px) { .contrast { grid-template-columns: 1fr 1fr; } }

/* ---------- 13. Notes panel (latest teachings) --------------------------- */
.notes { display: grid; gap: 1.5rem; background: var(--purple-50); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.notes__intro { align-self: center; max-width: 26rem; }
.notes__intro p:not(.eyebrow) { color: var(--muted); }
.notes__intro .btn { margin-top: 1rem; }
@media (min-width: 900px) { .notes { grid-template-columns: 1.1fr 1fr 1fr; gap: 2.25rem; } }

.note-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.note-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.note-card__body { display: grid; gap: .45rem; padding: 1.4rem 1.5rem 1.6rem; }
.note-card__kicker { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.note-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--ink); margin: 0; }
.note-card__meta { font-size: .9rem; color: var(--muted); margin: 0; }
.section--ivory .note-card { border: 1px solid var(--line); }

/* Video thumbnail button */
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), opacity .4s var(--ease); }
.video-thumb:hover img { transform: scale(1.05); opacity: .85; }
.video-thumb__play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--purple-800); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.video-thumb:hover .video-thumb__play { transform: scale(1.08); }

/* ---------- 14. CTA band (curved image edge) ----------------------------- */
.cta-band-wrap { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.cta-band { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--purple-900); color: rgba(255,255,255,.82); }
.cta-band__media { position: relative; min-height: 280px; }
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__body { padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-self: center; }
.cta-band__title { color: var(--white); font-size: var(--fs-display-sm); margin-bottom: 1.25rem; }
.cta-band__title em { color: var(--gold-300); }
.cta-band__text { max-width: 30rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.1fr 1fr; min-height: 500px; } .cta-band__media { clip-path: ellipse(100% 120% at 0% 50%); } }

.trust-line { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .82rem; color: var(--muted); }
.trust-line li { display: inline-flex; align-items: center; gap: .45rem; }
.trust-line svg { color: var(--purple-600); }
.trust-line--light { color: rgba(255,255,255,.85); }
.trust-line--light svg { color: var(--gold-300); }

/* ---------- 15. Accordion (FAQ + framework weeks) ------------------------ */
.acc-group { display: grid; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__summary { display: flex; align-items: baseline; gap: 1.25rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.acc__summary::-webkit-details-marker { display: none; }
.acc__num { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); min-width: 6rem; }
.acc__q { flex: 1; font-family: var(--font-display); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); line-height: 1.25; color: var(--ink); margin: 0; font-weight: 500; }
.acc__icon { flex: none; position: relative; width: 16px; height: 16px; align-self: center; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc[open] .acc__icon::after { transform: rotate(0); }
.acc__body { padding: 0 2.5rem 1.75rem 0; color: var(--text); animation: fadeIn .6s var(--ease) both; }
.acc--stage .acc__body { padding-left: 7.25rem; }
.acc__pillar { margin-bottom: .9rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) { .acc--stage .acc__summary { flex-wrap: wrap; gap: .3rem 1rem; } .acc--stage .acc__num { width: 100%; } .acc--stage .acc__body { padding-left: 0; } }

.highlights { display: grid; gap: .7rem; }
.highlights li { position: relative; padding-left: 2rem; line-height: 1.6; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .8em; width: 1.1rem; height: 1px; background: var(--gold-500); }
.section--dark .highlights li { color: rgba(255,255,255,.82); }

/* Pillar chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1.15rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--white); }
.chip svg { color: var(--gold-600); }

/* ---------- 16. Marks (safeguarding / gains) ----------------------------- */
.marks { display: grid; gap: 2rem; }
.mark { display: grid; gap: .4rem; align-content: start; }
.mark__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--purple-200); color: var(--purple-800); margin-bottom: .6rem; }
.section--dark .mark__icon { border-color: var(--line-light); color: var(--gold-300); }
.mark__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0; }
.section--dark .mark__title { color: var(--white); }
.mark__text { margin: 0; font-size: .92rem; color: var(--muted); }
.section--dark .mark__text { color: rgba(255,255,255,.72); }
@media (min-width: 700px) { .marks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .marks--4 { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } .marks--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- 17. Letter --------------------------------------------------- */
.letter { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); box-shadow: var(--shadow-soft); }
.letter__salutation { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--purple-700); margin-bottom: 1.25rem; }
.letter p { font-size: 1.08rem; }
.letter__sign { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; }
.letter__sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.letter__sign strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.letter__sign span { font-size: .85rem; color: var(--muted); }

/* ---------- 18. Facts list ----------------------------------------------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.facts > div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1.3; }

/* ---------- 19. Truths & steps ------------------------------------------- */
.truths { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.truth { display: grid; grid-template-columns: 112px 1fr; gap: 1.5rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.truth__img { width: 112px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.truth__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-700); margin-bottom: .2rem; }
.truth__title { font-size: 1.65rem; margin-bottom: .6rem; }
.truth p { color: var(--muted); margin-bottom: .6rem; }
.truth__verse { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-700); }
@media (min-width: 900px) { .truths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .truth { grid-template-columns: 1fr; } .truth__img { width: 100%; aspect-ratio: 16 / 10; } }

.steps { display: grid; border-top: 1px solid var(--line-light); }
.step { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-300); line-height: 1.2; }
.step h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.step p { margin: 0; color: rgba(255,255,255,.74); }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; } }
.steps--light { border-color: var(--line); }
.steps--light .step { border-color: var(--line); }
.steps--light .step__num { color: var(--gold-700); }
.steps--light .step p { color: var(--muted); }

/* ---------- 20. Page hero ------------------------------------------------ */
.page-hero { position: relative; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; min-height: 64vh; }
.page-hero--sm { min-height: 52vh; }
.page-hero--plain { background: radial-gradient(900px 500px at 85% 10%, rgba(209,166,33,.22), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(124,62,139,.55), transparent 60%), var(--purple-900); }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,7,28,.9), rgba(22,7,28,.4) 55%, rgba(22,7,28,.5)); }
.page-hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-hero__title { color: var(--white); font-size: clamp(2.8rem, 1.8rem + 4.5vw, 5.5rem); line-height: 1; max-width: 16ch; animation: rise 1.3s var(--ease-out) both; }
.page-hero__title em { color: var(--gold-300); }
.page-hero__lead { max-width: 40rem; margin-top: 1.4rem; font-size: var(--fs-lead); color: rgba(255,255,255,.9); animation: rise 1.3s .2s var(--ease-out) both; }
.page-hero .btn-row { animation: rise 1.3s .35s var(--ease-out) both; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a { opacity: .8; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 21. Book ----------------------------------------------------- */
.book-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: var(--section); background: radial-gradient(900px 500px at 90% 0%, rgba(209,166,33,.16), transparent 60%), var(--ivory); }
.book-hero .breadcrumbs { color: var(--muted); }
.book-hero__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.book-hero__cover { max-width: 380px; width: 100%; margin: 0 auto; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(28,10,34,.55); transform: rotate(-2deg); }
@media (min-width: 900px) { .book-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.pay-box { padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--purple-50); border-left: 2px solid var(--gold-500); margin: 1.5rem 0; }
.pay-box__label { display: flex; align-items: center; gap: .55rem; margin: 0 0 .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple-700); }
.pay-box__number { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--ink); margin: 0 0 .25rem; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.fee-table th, .fee-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.fee-table th { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); position: sticky; top: 0; background: var(--white); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; white-space: nowrap; }
.fee-table td:last-child { font-weight: 600; }
.fees-scroll { max-height: 320px; overflow: auto; }

/* ---------- 22. Forms ---------------------------------------------------- */
.form-card { background: var(--ivory); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.form-card__title { font-size: var(--fs-display-sm); margin-bottom: .75rem; }
.form-grid { display: grid; gap: 1.5rem 1.75rem; margin-top: 2rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field .opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-size: 1rem; color: var(--ink); transition: border-color .3s var(--ease); }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23150b18' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right center; padding-right: 1.5rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: .9rem 0; font-size: .9rem; }
.field input::placeholder, .field textarea::placeholder { color: #8d8590; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom: 2px solid var(--purple-800); }
.field__hint { font-size: .82rem; color: var(--muted); margin: .2rem 0 0; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.form-foot__note { margin: 0; font-size: .85rem; color: var(--muted); max-width: 24rem; }
.form-status { display: none; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #e7f4ec; color: #145c33; font-weight: 500; }
.form-status.is-shown { display: flex; }
.hp { position: absolute; left: -5000px; }

/* ---------- 23. Gallery -------------------------------------------------- */
.gallery-grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.photo { margin: 0; }
.photo__btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sand); cursor: zoom-in; }
.photo__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.photo__btn:hover img { transform: scale(1.06); }
.photo__zoom { position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transition: opacity .4s var(--ease); }
.photo__btn:hover .photo__zoom, .photo__btn:focus-visible .photo__zoom { opacity: 1; }
.photo figcaption { padding-top: 1.1rem; }
.photo__date { display: inline-flex; align-items: center; gap: .45rem; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .4rem; }
.photo__title { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--ink); margin-bottom: .3rem; }
.photo__text { display: block; font-size: .93rem; color: var(--muted); }

/* ---------- 24. Partners ------------------------------------------------- */
.partner__logo { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; margin-bottom: 1.4rem; }
.partner__logo img { max-width: 70%; max-height: 72%; object-fit: contain; }
.partner__logo--photo img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 25. Dialog (video + lightbox) -------------------------------- */
dialog.modal { border: 0; padding: 0; background: transparent; width: min(980px, 92vw); max-width: none; max-height: 92vh; overflow: visible; }
dialog.modal::backdrop { background: rgba(18, 6, 22, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__inner { background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1.25rem; background: var(--purple-950); color: var(--white); }
.modal__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin: 0; line-height: 1.2; }
.modal__close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.1); }
.modal__close:hover { background: rgba(255,255,255,.22); }
.modal__frame { aspect-ratio: 16 / 9; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }

/* ---------- 26. Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .92rem; padding-top: clamp(4rem, 6vw, 6rem); }
.footer__top { display: grid; gap: 3rem; padding-bottom: 4rem; }
.footer__logo { height: 64px; width: auto; margin-bottom: 1.5rem; }
.footer__brand p { max-width: 22rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: var(--white); transition: all var(--dur-fast) var(--ease); }
.social:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--purple-950); }
.footer__heading { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 1.4rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { transition: color var(--dur-fast) var(--ease); }
.footer__col a:hover { color: var(--gold-300); }
.footer__contact a, .footer__plain { display: inline-flex; align-items: flex-start; gap: .7rem; }
.footer__contact svg { flex: none; margin-top: .3rem; color: var(--gold-300); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.footer__bottom p { margin: 0; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,.85); }
@media (min-width: 700px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 4rem; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 40; display: inline-flex; align-items: center; gap: .6rem; height: 56px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--whatsapp); color: var(--white); box-shadow: 0 14px 34px -12px rgba(15,80,40,.6); transition: background-color .4s var(--ease), transform .4s var(--ease); }
.wa-float:hover { background: #17803f; transform: translateY(-2px); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: max-width .6s var(--ease), margin .6s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label, .wa-float.is-intro .wa-float__label { max-width: 160px; margin-right: .3rem; }

/* ---------- 27. Scroll reveal & section entrances ------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.grid > [data-reveal]:nth-child(4n+2), .why-row > [data-reveal]:nth-child(4n+2), .styles-grid > [data-reveal]:nth-child(6n+2), .marks > [data-reveal]:nth-child(4n+2), .truths > [data-reveal]:nth-child(2n+2), .gallery-grid > [data-reveal]:nth-child(3n+2) { transition-delay: .1s; }
.grid > [data-reveal]:nth-child(4n+3), .why-row > [data-reveal]:nth-child(4n+3), .styles-grid > [data-reveal]:nth-child(6n+3), .marks > [data-reveal]:nth-child(4n+3), .gallery-grid > [data-reveal]:nth-child(3n+3) { transition-delay: .2s; }
.grid > [data-reveal]:nth-child(4n+4), .why-row > [data-reveal]:nth-child(4n+4), .styles-grid > [data-reveal]:nth-child(6n+4), .marks > [data-reveal]:nth-child(4n+4) { transition-delay: .3s; }
.styles-grid > [data-reveal]:nth-child(6n+5) { transition-delay: .4s; }
.styles-grid > [data-reveal]:nth-child(6n+6) { transition-delay: .5s; }

.js [data-anim] > .container > * { opacity: 0; transition: opacity .85s var(--ease), transform 1.15s var(--anim-ease, var(--ease-out)), filter .9s var(--ease), clip-path 1.15s var(--ease-out); }
.js [data-anim].is-in > .container > * { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.js [data-anim].anim-done > .container > * { transform: none; filter: none; clip-path: none; transition: none; }
.js [data-anim]::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 4; background: linear-gradient(90deg, var(--gold-500), transparent 70%); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease-out); }
.js [data-anim].is-in::before { transform: scaleX(1); }
.js [data-anim].anim-done::before { opacity: 0; transition: opacity .6s var(--ease); }
.js [data-anim="rise"] > .container > *        { transform: translateY(80px); }
.js [data-anim="slide-right"] > .container > * { transform: translateX(110px); }
.js [data-anim="slide-left"] > .container > *  { transform: translateX(-110px); }
.js [data-anim="zoom"] > .container > *        { transform: scale(.9); filter: blur(6px); }
.js [data-anim="blur"] > .container > *        { transform: scale(1.04); filter: blur(18px) saturate(.5); }
.js [data-anim="wipe-up"] > .container > *     { clip-path: inset(100% 0 0 0); transform: translateY(50px); }
.js [data-anim="curtain"] > .container > *     { clip-path: inset(0 50% 0 50%); transform: scale(.97); }
.js [data-anim="rise"], .js [data-anim="slide-left"], .js [data-anim="slide-right"] { --anim-ease: cubic-bezier(.16, .9, .2, 1.06); }
.js [data-anim] > .container > :nth-child(2) { transition-delay: .08s; }
.js [data-anim] > .container > :nth-child(3) { transition-delay: .16s; }
.js [data-anim] > .container > :nth-child(n+4) { transition-delay: .24s; }
.js [data-anim].anim-done > .container > * { transition-delay: 0s; }
@media (max-width: 699px) { .js [data-anim="slide-right"] > .container > *, .js [data-anim="slide-left"] > .container > * { transform: translateY(60px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-anim] > .container > * { opacity: 1; transform: none; filter: none; clip-path: none; }
  .hero__stroke { stroke-dashoffset: 0; }
  .badge-spin__ring { animation: none; }
}

/* ---------- 28. Print ---------------------------------------------------- */
@media print {
  .site-header, .wa-float, .mobile-menu, .cta-band-wrap { display: none !important; }
  .hero, .page-hero { min-height: auto; color: var(--ink); }
  .js [data-reveal], .js [data-anim] > .container > * { opacity: 1; transform: none; }
}

/* ---------- 29. 404 ------------------------------------------------------ */
.not-found { min-height: 86vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.not-found .eyebrow { justify-content: center; }

/* Home hero photo: keep the two students in view, headline over the soft left side */
.hero__img--students { object-position: 22% 40%; }
@media (max-width: 699px) { .hero__img--students { object-position: 50% 35%; } }
.hero .badge-spin { top: auto; bottom: clamp(8.5rem, 17vh, 11.5rem); transform: none; width: clamp(150px, 12vw, 200px); }
@media (max-height: 820px) { .hero .badge-spin { display: none; } }

/* ---------- Home hero slideshow ---------- */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide .hero__img { animation: none; transform: scale(1.06); transition: transform 9s var(--ease-out); }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__img--walking { object-position: 62% 12%; }
.hero__controls { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; animation: rise 1.4s .8s var(--ease-out) both; }
.hero__dot { position: relative; width: 34px; height: 24px; }
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; transition: background-color .4s var(--ease); }
.hero__dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: var(--gold-500); border-radius: 2px; }
.hero__dot[aria-current="true"]::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__dot[aria-current="true"]::after { animation: none; width: 100%; }
@keyframes dotFill { to { width: 100%; } }
.hero__pause { display: grid; place-items: center; width: 36px; height: 36px; margin-left: .5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); color: var(--white); transition: background-color .3s var(--ease); }
.hero__pause:hover { background: rgba(255,255,255,.15); }
.hero__play-icon, .hero.is-paused .hero__pause-icon { display: none; }
.hero.is-paused .hero__play-icon { display: grid; }
@media (prefers-reduced-motion: reduce) { .hero__slide .hero__img { transform: none; } }


/* ---------- Invite dropdown (hero CTA) ---------- */
.invite-menu { position: relative; }
.invite-menu .btn { cursor: pointer; }
.invite-menu__chev { transition: transform .4s var(--ease); }
.invite-menu [aria-expanded="true"] .invite-menu__chev { transform: rotate(180deg); }
.invite-menu__list { position: absolute; left: 0; top: calc(100% + .6rem); z-index: 20; min-width: 15.5rem; padding: .4rem; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(20,6,26,.35); }
.invite-menu__list[hidden] { display: none; }
.invite-menu__list a { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: calc(var(--radius) - 4px); font-size: .86rem; font-weight: 600; color: inherit; }
.invite-menu__list a:hover, .invite-menu__list a:focus-visible { background: var(--sand); }
@media (max-width: 699px) { .invite-menu { width: 100%; } .invite-menu .btn { width: 100%; justify-content: center; } .invite-menu__list { left: 0; right: 0; } }
.hero__img--stressed { object-position: 70% 40%; }
@media (max-width: 699px) { .hero__img--stressed { object-position: 50% 30%; } }
.invite-menu { flex: 0 0 100%; display: flex; flex-direction: column; align-items: flex-start; }
.hero .btn-row, .page-hero .btn-row { position: relative; z-index: 5; }


/* ---------- Site loader: eight segments (eight truths, eight sessions) light up around the mark ---------- */
.loader { transition: opacity .7s var(--ease), visibility 0s linear .7s; color: var(--white); text-align: center; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: 1.1rem; padding: 1.5rem; }
.loader__mark { position: relative; width: clamp(150px, 26vw, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2.2; stroke-linecap: round; animation: spin 14s linear infinite; }
.loader__seg { stroke: rgba(209,166,33,.22); stroke-dasharray: 36 303.3; animation: loaderSeg 1.6s var(--ease) both; animation-delay: calc(var(--i) * .16s); animation-fill-mode: forwards; }
.loader__logo { width: 52%; height: auto; animation: loaderPulse 2.4s ease-in-out infinite; }
.loader__line { margin: .6rem 0 0; font-family: var(--font-display, "Cormorant Garamond", serif); font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-style: italic; opacity: 0; animation: rise 1.1s .9s var(--ease-out) forwards; }
.loader__sub { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500); opacity: 0; animation: rise 1.1s 1.3s var(--ease-out) forwards; }
@keyframes loaderSeg { 0% { stroke: rgba(209,166,33,.22); } 100% { stroke: #d1a621; } }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.05); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .loader__ring, .loader__logo { animation: none; } }
.hero .btn-row, .page-hero .btn-row { justify-content: flex-start; width: fit-content; max-width: 100%; }
.invite-menu { align-items: center; }
.invite-menu__list { left: 50%; transform: translateX(-50%); }
@media (max-width: 699px) { .invite-menu__list { left: 0; right: 0; transform: none; } .invite-menu { align-items: stretch; } }
@media (min-width: 700px) {
  .hero .btn-row, .page-hero .btn-row { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: .9rem; }
  .hero .btn-row > .invite-menu, .page-hero .btn-row > .invite-menu { grid-column: 1 / -1; justify-self: center; flex: none; }
}

/* ---------- Slide captions: one per photo, same footprint so nothing jumps ---------- */
.hero__captions { display: grid; }
.hero__caption { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 0s linear 1s; }
.hero__caption.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .35s, .35s, 0s; }
.hero__caption .hero__title, .hero__caption .eyebrow, .hero__caption .hero__lead { animation: none; }
.hero__caption.is-active:first-child .eyebrow, .hero__caption:first-child .hero__title, .hero__caption:first-child .hero__lead { animation: rise 1.4s var(--ease-out) both; }
.hero__img--church { object-position: 50% 40%; }
.hero__img--primary { object-position: 40% 50%; }
.hero__img--campus { object-position: 65% 50%; }
@media (prefers-reduced-motion: reduce) { .hero__caption { transition: none; transform: none; } }

/* ---------- Purple tint on photo heroes ---------- */
.page-hero__shade--purple { background: linear-gradient(to top, rgba(43,16,51,.94), rgba(75,30,92,.66) 55%, rgba(60,22,76,.72)); }

/* ---------- Request menu inside cards ---------- */
.invite-menu--inline { display: block; flex: none; margin-top: 1rem; align-self: flex-start; }
.invite-menu--inline .invite-menu__list { left: 0; transform: none; top: auto; bottom: calc(100% + .6rem); }
@media (max-width: 699px) {
  .hero .btn-row > .invite-menu, .page-hero .btn-row > .invite-menu { order: 99; }
  .hero .invite-menu__list, .page-hero .invite-menu__list { top: auto; bottom: calc(100% + .6rem); }
  .invite-menu--inline { width: 100%; align-self: stretch; }
}
.hero__caption .hero__title { max-width: 20ch; }
.hero__caption:first-child .hero__title { max-width: 14ch; }

/* Every slide title uses the same serif as slide 1 */
.hero__caption .hero__title { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.012em; line-height: 1; }
.hero__caption .hero__title em { font-style: italic; }

/* Captions overlap in one box whose height follows the active caption, so there is no empty gap above the buttons */
.hero__captions { display: block; position: relative; transition: height .7s var(--ease); }
.hero__caption { position: absolute; top: 0; left: 0; width: 100%; }
html:not(.js) .hero__caption:first-child { position: relative; }
.hero { min-height: max(100svh, var(--hero-min, 0px)); }

/* "What we help with": cards stretch to one height and the request buttons sit on one line */
.marks--4 .mark { display: flex; flex-direction: column; align-content: normal; }
.marks--4 .mark .mark__text { margin-bottom: 1.25rem; }
.marks--4 .mark .invite-menu--inline { margin-top: auto; }
/* dropdowns inside cards and the call-to-action band */
.card__foot .invite-menu--inline, .cta-band .invite-menu--inline { margin-top: 0; }
.card__foot .invite-menu--inline .btn, .cta-band .invite-menu--inline .btn { white-space: nowrap; }
.card__foot { min-height: calc(3.1rem + 1.1rem); align-items: center; }

/* ---------- Hero key figures: a counter rail on the far right, no box, just a colour wash ---------- */
.hero__actions { display: grid; gap: 1.5rem; }
.hero-stats { position: relative; color: var(--white); width: min(100%, 560px); padding: 1rem 0 .25rem; background: linear-gradient(90deg, rgba(209,166,33,.16), rgba(209,166,33,0) 85%); }
.hero-stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--gold-500), rgba(209,166,33,0) 80%); transform-origin: left; animation: railX 1.4s .6s var(--ease-out) both; }
.hero-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.hero-stat { display: flex; flex-direction: column; gap: .3rem; padding: 0 .7rem 0 0; animation: statIn 1s var(--ease-out) both; animation-delay: calc(.8s + var(--i, 0) * .16s); }
.hero-stat:nth-child(1) { --i: 0; } .hero-stat:nth-child(2) { --i: 1; } .hero-stat:nth-child(3) { --i: 2; } .hero-stat:nth-child(4) { --i: 3; }
.hero-stat__num { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--gold-300); font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-stat__label { font-size: .56rem; font-weight: 700; letter-spacing: .05em; line-height: 1.35; text-transform: uppercase; color: rgba(255,255,255,.88); }
.hero-stat__label .l-short { display: inline; }
.hero-stat__label .l-long { display: none; }
.hero-stats__note { margin: .6rem 0 0; font-size: .56rem; line-height: 1.4; color: rgba(255,255,255,.6); animation: statIn 1s 1.6s var(--ease-out) both; }

/* odometer digits: each column rolls up to its number */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; line-height: 1; }
.odo__reel { display: block; transform: translateY(0); transition: transform 2s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--col, 0) * .12s + var(--base, 1s)); will-change: transform; }
.odo__reel > i { display: block; height: 1em; font-style: normal; }
.hero-stats.is-run .odo__reel { transform: translateY(calc(var(--d) * -1em)); }
.hero-stat__sep, .hero-stat__unit { display: inline-block; }

@keyframes statIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes railX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes railY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(236,201,94,.55); } 50% { box-shadow: 0 0 0 9px rgba(236,201,94,0); } }

@media (min-width: 700px) { .hero-stat__num { font-size: 2.4rem; } .hero-stat__label { font-size: .64rem; } .hero-stat__label .l-long { display: inline; } .hero-stat__label .l-short { display: none; } }

/* large screens: a vertical rail hugging the right edge of the screen */
@media (min-width: 1000px) {
  .hero-stats { position: absolute; z-index: 3; right: 0; top: calc(var(--header-h) + 2.5rem); width: clamp(250px, 22vw, 340px); padding: 3rem clamp(.9rem, 1.4vw, 1.5rem) 3rem 3.75rem; background: radial-gradient(farthest-side at 100% 50%, rgba(28,10,34,.86), rgba(43,16,51,.6) 48%, rgba(43,16,51,0) 100%); }
  .hero-stats::before { left: 3.1rem; right: auto; top: 3.4rem; bottom: 3.4rem; width: 2px; height: auto; background: linear-gradient(180deg, rgba(209,166,33,0), var(--gold-500) 14%, var(--gold-300) 86%, rgba(209,166,33,0)); transform-origin: top; animation: railY 1.6s .5s var(--ease-out) both; }
  .hero-stats__grid { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .hero-stat { position: relative; padding: 0; animation-name: statIn; }
  .hero-stat::before { content: ""; position: absolute; left: -.9rem; top: .75rem; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-300); transform: translateX(-50%); animation: dotPulse 3.2s calc(2.4s + var(--i) * .4s) ease-out infinite; }
  .hero-stat__num { font-size: clamp(2.6rem, 1.7rem + 2.2vw, 3.8rem); }
  .hero-stat__label { font-size: .66rem; max-width: 15rem; }
  .hero-stats__note { margin-top: 1.4rem; max-width: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stats::before, .hero-stat, .hero-stats__note, .hero-stat::before { animation: none; }
  .odo__reel { transition: none; }
}

/* ---------- Home hero: content sits right under the nav and the whole hero fits one screen ---------- */
.hero { align-items: flex-start; }
.hero__content { padding-top: calc(var(--header-h) + clamp(.6rem, 2.6vh, 2.25rem)); padding-bottom: clamp(3.75rem, 8vh, 6.5rem); }
.hero__title { font-size: min(var(--fs-hero), 8.6vh); }
.hero__lead { margin-top: clamp(.6rem, 2vh, 1.6rem); font-size: min(var(--fs-lead), max(.95rem, 2.5vh)); line-height: 1.5; }
.hero .btn-row { margin-top: clamp(.9rem, 2.4vh, 2rem); gap: clamp(.5rem, 1.3vh, .9rem); }
.hero .btn { --btn-h: clamp(40px, 6vh, 54px); }
.hero .trust-line { margin-top: clamp(.7rem, 1.8vh, 1.4rem); }
.hero__controls { margin-top: clamp(.6rem, 1.6vh, 1.4rem); }
@media (max-height: 660px) and (min-width: 700px) { .hero .trust-line { display: none; } }
/* key-figure rail scales with the screen height too */
@media (min-width: 1000px) {
  .hero-stats { top: calc(var(--header-h) + .75rem); padding-block: clamp(1.25rem, 3.5vh, 3rem); }
  .hero-stats::before { top: clamp(1.6rem, 4vh, 3.4rem); bottom: clamp(1.6rem, 4vh, 3.4rem); }
  .hero-stats__grid { row-gap: clamp(.6rem, 2.3vh, 1.6rem); }
  .hero-stat__num { font-size: min(clamp(2.6rem, 1.7rem + 2.2vw, 3.8rem), 7vh); }
  .hero-stat__label { font-size: clamp(.56rem, 1.25vh, .66rem); }
  .hero-stats__note { margin-top: clamp(.6rem, 1.8vh, 1.4rem); }
}
@media (min-width: 1000px) and (max-height: 640px) { .hero-stats__note { display: none; } }

/* ---------- Header: no white flash on scroll; it turns deep brand purple instead ---------- */
.site-header.is-transparent.is-scrolled { background: rgba(28,10,34,.94); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header.is-transparent.is-scrolled .brand__logo--light { opacity: 1; }
.site-header.is-transparent.is-scrolled .brand__logo--dark { opacity: 0; }

/* keep the last row clear of the curve and let short screens show the whole hero */
.hero { --curve-h: clamp(40px, 7vw, 110px); }
.hero__curve { height: var(--curve-h); }
.hero__content { padding-bottom: calc(var(--curve-h) + clamp(.4rem, 1.6vh, 1.5rem)); }
.hero__title { font-size: min(var(--fs-hero), 8.2vh); }
@media (max-height: 700px) { .hero { --curve-h: 34px; } }
.hero .badge-spin { bottom: calc(var(--curve-h) + 1.5rem); }

/* ---------- Inner-page heroes: same tight spacing under the nav as the home hero ---------- */
.page-hero { min-height: clamp(340px, 48vh, 540px); align-items: flex-start; }
.page-hero--sm { min-height: clamp(320px, 42vh, 460px); }
.page-hero__content { padding-top: calc(var(--header-h) + clamp(.6rem, 2.6vh, 2.25rem)); padding-bottom: clamp(2rem, 6vh, 4.5rem); }
.page-hero__title { font-size: min(clamp(2.8rem, 1.8rem + 4.5vw, 5.5rem), 8.6vh); }
.page-hero__lead { margin-top: clamp(.7rem, 2vh, 1.4rem); }
.page-hero .btn-row { margin-top: clamp(1rem, 2.6vh, 2rem); }
.page-hero .breadcrumbs { margin-bottom: clamp(.5rem, 1.6vh, 1.2rem); }


/* ---------- Home hero type: full size and weight, and every slide takes exactly the same space ---------- */
.hero { --hero-scale: 1; }
.hero__caption .eyebrow { font-size: calc(.78rem * var(--hero-scale)); font-weight: 700; }
.hero__caption .hero__title { font-size: calc(var(--fs-hero) * var(--hero-scale)); font-weight: 600; line-height: 1.02; max-width: 14ch; min-height: 3.06em; letter-spacing: -.015em; text-shadow: 0 2px 28px rgba(0,0,0,.35); }
.hero__caption .hero__lead { font-size: calc(var(--fs-lead) * var(--hero-scale)); font-weight: 500; line-height: 1.5; max-width: 36rem; min-height: 4.5em; margin-top: 1.1rem; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero__caption .hero__stroke { margin-top: .25rem; }
.hero .btn { --btn-h: calc(54px * var(--hero-scale)); }

/* trust line and slide dots share one row, and the curve is shallower, so the big type fits the first screen */
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; margin-top: 1.1rem; }
.hero__meta .trust-line { margin-top: 0; }
.hero__meta .hero__controls { margin-top: 0; }
@media (min-width: 700px) { .hero { --curve-h: clamp(40px, 4.5vw, 72px); } }

/* reserve the strip the "start here" bar covers, so the trust line and dots are never hidden behind it */
@media (min-width: 700px) { .hero__content { padding-bottom: calc(clamp(4rem, 8vw, 7rem) + .75rem); } }
.hero__meta { justify-content: flex-start; }

/* short laptop screens: the three buttons share one row, which lets the headline stay larger */
@media (min-width: 1200px) and (max-height: 760px) {
  .hero .btn-row { grid-template-columns: repeat(3, auto); }
  .hero .btn-row > .invite-menu { grid-column: auto; justify-self: start; }
}


/* ---------- Home hero, revised: two buttons, dots under them, and the "start here" bar back below the first screen ---------- */
@media (min-width: 700px) {
  .hero { --finder-overlap: clamp(4rem, 8vw, 7rem); min-height: max(calc(100svh + var(--finder-overlap)), var(--hero-min, 0px)); }
  .hero__content { padding-bottom: clamp(1rem, 2.5vh, 2rem); }
  .hero .badge-spin { bottom: calc(var(--curve-h) + var(--finder-overlap) + 1.5rem); }
  .hero .btn-row, .hero .btn-row { display: flex; flex-wrap: wrap; align-items: center; }
  .hero .btn-row > .invite-menu { flex: 0 0 auto; display: block; }
}
.hero__meta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .85rem; }
.hero__meta .hero__controls { order: -1; }
@media (max-width: 699px) { .hero__content { padding-bottom: 5.5rem; } }
