/* ==========================================================================
   GBM Studies — Prototype 01 "Emerald Charter" — homepage styles
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-900);
  background: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--gold-400); color: var(--emerald-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--gold { color: var(--gold-400); }
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
}
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: var(--lh-snug); }
.h2 em, .h3 em, .hero__title em, .founder__quote em, .cta__title em { font-style: italic; }
.gold-text {
  background: var(--grad-gold); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShift 6s linear infinite;
}
@keyframes goldShift { to { background-position: -200% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  height: var(--h); padding: 0 1.6rem; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn i { font-size: .85em; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn--gold { background: var(--grad-gold); background-size: 160% 100%; color: var(--emerald-950); box-shadow: var(--shadow-gold); }
.btn--gold::after { background: var(--ivory-50); }
.btn--ghost { color: var(--ivory-50); box-shadow: inset 0 0 0 1px rgba(246, 238, 219, .35); backdrop-filter: blur(8px); }
.btn--ghost::after { background: var(--ivory-50); }
.btn--ghost:hover { color: var(--emerald-950); }
.btn--dark { background: var(--emerald-900); color: var(--ivory-50); }
.btn--dark::after { background: var(--gold-500); }
.btn--dark:hover { color: var(--emerald-950); }
.btn--sm { --h: 42px; padding: 0 1.15rem; font-size: .85rem; }
.btn--lg { --h: 64px; padding: 0 2.1rem; font-size: 1.05rem; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; pointer-events: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--emerald-950); z-index: 0; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; z-index: 1; text-align: center; color: var(--gold-300); }
.loader__crest { width: 92px; margin: 0 auto 1.4rem; border-radius: 50%; filter: drop-shadow(0 10px 40px rgba(197,161,90,.4)); }
.loader__count { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--ivory-50); }
.loader__count sup { font-size: .35em; color: var(--gold-400); margin-left: .1em; }
.loader__line { margin-top: .8rem; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; opacity: .7; }

/* ---------- Cursor / progress / grain ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; border-radius: 50%; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid var(--gold-400); display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
  mix-blend-mode: normal;
}
.cursor__label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-950); opacity: 0; transition: opacity .2s; }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold-400); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(214,185,124,.15); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-400); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: calc(var(--z-nav) + 1); }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }

.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Navigation (adapts to the section beneath it) ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: var(--z-nav);
  width: min(calc(100% - 2 * var(--gutter)), 1240px); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 18px; border-radius: var(--radius-pill);
  color: var(--ivory-50);
  background: rgba(6, 28, 20, .35);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(230, 211, 166, .14);
  transition: background .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s, transform .6s var(--ease-out);
}
.nav.is-light { color: var(--ink-900); background: rgba(251, 249, 244, .72); box-shadow: inset 0 0 0 1px rgba(12,21,17,.08), var(--shadow-sm); }
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.nav__brand img { width: 38px; height: 38px; border-radius: 50%; }
.nav__brand em { font-style: italic; color: var(--gold-400); }
.nav.is-light .nav__brand em { color: var(--gold-700); }
.nav__brand sup { font-family: var(--font-mono); font-size: .45em; margin-left: 2px; opacity: .6; }
.nav__links { display: flex; gap: 2rem; font-size: .9rem; }
.nav__links a { position: relative; opacity: .85; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: .9rem; }
.nav__login { font-size: .88rem; display: inline-flex; gap: .45rem; align-items: center; opacity: .85; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 23px; }
.nav__burger.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: var(--grad-emerald); color: var(--ivory-50);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.menu nav { display: grid; gap: .4rem; }
.menu nav a { font-family: var(--font-display); font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.1; display: flex; align-items: baseline; gap: 1rem; }
.menu nav small { font-family: var(--font-mono); font-size: .75rem; color: var(--gold-400); }
.menu__foot { margin-top: 3rem; font-family: var(--font-mono); font-size: .8rem; color: var(--gold-300); }

/* ==========================================================================
   01 HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; color: var(--ivory-50); background: var(--emerald-950);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.15); }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(3,17,11,.55) 0%, rgba(3,17,11,.1) 35%, rgba(3,17,11,.75) 78%, var(--emerald-950) 100%),
    radial-gradient(80% 60% at 15% 70%, rgba(14,51,36,.85), transparent 70%),
    linear-gradient(90deg, rgba(10,38,27,.55), transparent 60%);
}
.hero__arcs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__content { padding-top: 9rem; padding-bottom: 3rem; }
.hero__eyebrow { margin-bottom: 1.8rem; }
.hero__eyebrow::before { display: none; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(214,185,124,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(214,185,124,0); } 100% { box-shadow: 0 0 0 0 rgba(214,185,124,0); } }
.hero__title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1);
  line-height: var(--lh-tight); letter-spacing: -0.02em; max-width: 14ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__row { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__lead { max-width: 46ch; font-size: var(--fs-lead); color: rgba(246, 238, 219, .78); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding-top: 1.4rem; padding-bottom: 2rem; border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small); color: rgba(246, 238, 219, .7);
}
.hero__ticker { display: flex; gap: .6rem; align-items: center; }
.hero__ticker-label i { color: var(--gold-400); margin-right: .3rem; }
.hero__ticker-city { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ivory-50); display: inline-block; min-width: 8ch; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--gold-400), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory-50); animation: drip 1.8s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }
.hero__rating { justify-self: end; display: flex; align-items: center; gap: .7rem; }
.stars { color: var(--gold-400); display: flex; gap: 2px; font-size: .8rem; }

/* ==========================================================================
   02 TRUST STRIP
   ========================================================================== */
.trust { background: var(--ivory-50); padding: 3.2rem 0 3.4rem; border-bottom: 1px solid var(--line-light); }
.trust__label { display: flex; justify-content: center; margin-bottom: 2rem; }
.trust__label::before { display: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 4.5rem; align-items: center; will-change: transform; }
.logo-mark { display: flex; align-items: center; gap: .8rem; color: var(--ink-700); opacity: .72; line-height: 1.15; font-size: .95rem; transition: opacity .3s, color .3s; white-space: nowrap; }
.logo-mark:hover { opacity: 1; color: var(--emerald-700); }
.logo-mark i { font-size: 1.7rem; color: var(--emerald-700); }
.logo-mark small { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.logo-mark--serif { font-family: var(--font-display); font-size: 1.8rem; }
.logo-mark--serif em { color: var(--gold-700); }
.logo-mark--mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .25em; font-size: .95rem; }

/* ==========================================================================
   03 MANIFESTO
   ========================================================================== */
.manifesto { background: var(--ivory-50); padding: var(--section-y) 0; }
.manifesto__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 2rem 4rem; }
.manifesto__text {
  grid-column: 2; font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 1.14; letter-spacing: -0.01em; color: var(--ink-900);
}
.manifesto__text .w { color: rgba(12,21,17,.14); transition: color .2s; }
.manifesto__text .w.is-on { color: var(--ink-900); }
.manifesto__text .w.is-gold { font-style: italic; }
.manifesto__text .w.is-gold.is-on { color: var(--gold-700); }
.manifesto__aside { grid-column: 2; display: flex; align-items: center; gap: 1.6rem; margin-top: 1.5rem; color: var(--ink-500); max-width: 52ch; }
.manifesto__video { flex: 0 0 168px; height: 108px; border-radius: var(--radius-pill); overflow: hidden; box-shadow: var(--shadow-md); }
.manifesto__video video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   05a NETWORK — "The GBM network" (dark). Always live, no scroll scrubbing:
   one route is traced at a time; hover previews, click locks a route.
   ========================================================================== */
.net { position: relative; padding: var(--section-y) 0; background: var(--emerald-950); color: var(--ivory-50); overflow: clip; isolation: isolate; }
.net::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 45% at 50% 64%, rgba(27,90,64,.42), transparent 70%), radial-gradient(34% 30% at 90% 6%, rgba(197,161,90,.07), transparent 70%); }
.net__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem 4rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.net__head .h2 { margin-top: .9rem; max-width: 21ch; }
.net__head .h2 em { color: var(--gold-300); }
.net__intro { max-width: 36ch; font-size: 1.02rem; line-height: 1.6; color: rgba(251,249,244,.66); }

/* the frame: hairline border + engraved corner marks */
.net__panel {
  --c: rgba(230,211,166,.55); position: relative; border-radius: var(--radius-lg);
  padding: clamp(3.2rem, 2.4rem + 2.4vw, 4.4rem) clamp(1rem, .2rem + 2.6vw, 3rem) clamp(1rem, .8rem + 1vw, 1.6rem);
  background: radial-gradient(80% 60% at 50% 0%, rgba(27,90,64,.26), transparent 70%), linear-gradient(180deg, rgba(10,38,27,.5), rgba(3,17,11,.55));
  box-shadow: inset 0 0 0 1px rgba(230,211,166,.13), 0 50px 120px -60px rgba(0,0,0,.9);
}
.net__panel::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none; background-repeat: no-repeat;
  background-image: linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
}

.net__map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr); column-gap: clamp(4.5rem, 1rem + 7vw, 9rem); align-items: center; }
.net__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; z-index: 0; }
.net__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .95rem; }
.net__col--in { align-items: flex-end; }
.net__col--out { align-items: flex-start; }
.net__label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: rgba(251,249,244,.42); margin-bottom: .15rem; }

/* start points + outcomes */
.net__node { position: relative; display: flex; align-items: center; gap: .95rem; padding: .15rem; border-radius: var(--radius-pill); text-align: right; color: var(--ivory-50); transition: opacity .45s var(--ease-out); }
.net__node--out { text-align: left; }
button.net__node { cursor: pointer; }
button.net__node:focus-visible { outline: 1px solid var(--gold-400); outline-offset: 4px; }
.net__txt { display: grid; gap: .12rem; }
.net__txt b { font-size: .98rem; font-weight: 500; letter-spacing: -.005em; transition: color .45s; }
.net__txt small { font-size: .76rem; color: rgba(251,249,244,.48); }
.net__dot {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: .88rem; color: var(--gold-300);
  background: radial-gradient(circle at 32% 25%, #134a33, #071d14 72%); box-shadow: inset 0 0 0 1px rgba(230,211,166,.28), 0 8px 20px -10px rgba(0,0,0,.8);
  transition: box-shadow .45s, background .45s, color .45s;
}
.net__node--out .net__dot { color: var(--gold-400); }
button.net__node:hover .net__dot { box-shadow: inset 0 0 0 1px var(--gold-400), 0 0 0 5px rgba(214,185,124,.08); }
.net__node.is-hot .net__dot { background: var(--grad-gold); color: var(--emerald-950); box-shadow: 0 0 0 5px rgba(214,185,124,.12), 0 10px 26px -8px rgba(197,161,90,.55); }
.net__node.is-hot .net__txt b { color: var(--gold-300); }
.net__node[aria-pressed="true"] .net__txt b::before { content: "\f023"; font: var(--fa-font-solid); font-size: .66rem; margin-right: .4rem; color: var(--gold-400); }
.net__ping { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px var(--gold-300); opacity: 0; pointer-events: none; }
.net__map.has-hot .net__node:not(.is-hot), .net__map.has-hot .net__prog:not(.is-hot) { opacity: .3; }

/* the plate: GBM Studies and its five programmes */
.net__plate {
  --pad: 1.1rem; position: relative; z-index: 1; padding: 5.3rem var(--pad) var(--pad); border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, rgba(20,68,48,.6), rgba(6,28,20,.94) 42%), var(--emerald-900);
  box-shadow: inset 0 0 0 1px rgba(230,211,166,.2), inset 0 1px 0 rgba(255,255,255,.05), 0 40px 90px -40px rgba(0,0,0,.95);
}
.net__crest {
  position: absolute; left: 50%; top: -44px; width: 88px; height: 88px; margin-left: -44px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 25%, #1b5a40, #061c14 72%); box-shadow: inset 0 0 0 1px rgba(230,211,166,.38), 0 18px 40px -16px rgba(0,0,0,.9);
}
.net__crest img { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; }
/* one fixed-size SVG centred on the crest, so the ring can never drift */
.net__bezel { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; max-width: none; margin: -66px 0 0 -66px; overflow: visible; pointer-events: none; animation: netSpin 120s linear infinite; }
.net__bezel circle { fill: none; stroke: rgba(230,211,166,.16); stroke-width: .6; }
.net__bezel line { stroke: rgba(230,211,166,.3); stroke-width: .55; }
.net__bezel line.is-major { stroke: rgba(230,211,166,.7); stroke-width: .8; }
.net__bezel .is-mark { fill: var(--gold-300); stroke: none; }
.net:not(.is-inview) .net__bezel { animation-play-state: paused; }
@keyframes netSpin { to { transform: rotate(360deg); } }
.net__plate-k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); }
.net__plate-t { margin: .35rem 0 1.15rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.net__plate-t em { color: var(--gold-300); }
.net__progs { display: grid; gap: .45rem; }
.net__prog {
  position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: .75rem; padding: .6rem .85rem .6rem .6rem; border-radius: 14px; text-align: left;
  font-size: .88rem; font-weight: 500; color: var(--ivory-50); background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(230,211,166,.1);
  cursor: pointer; transition: background-color .45s, box-shadow .45s, opacity .45s var(--ease-out);
}
.net__prog i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .72rem; color: var(--gold-300); background: rgba(230,211,166,.08); transition: background .45s, color .45s; }
.net__prog b { font-family: var(--font-mono); font-size: .72rem; font-weight: 400; color: rgba(230,211,166,.55); }
.net__prog::before, .net__prog::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--emerald-950); box-shadow: inset 0 0 0 1.5px rgba(214,185,124,.6); transition: background-color .45s, box-shadow .45s; }
.net__prog::before { left: calc(-1 * var(--pad) - 3.5px); }
.net__prog::after { right: calc(-1 * var(--pad) - 3.5px); }
.net__prog:hover { background: rgba(230,211,166,.06); }
.net__prog:focus-visible { outline: 1px solid var(--gold-400); outline-offset: 3px; }
.net__prog.is-hot { background: linear-gradient(90deg, rgba(197,161,90,.22), rgba(197,161,90,.07)); box-shadow: inset 0 0 0 1px rgba(214,185,124,.55); }
.net__prog.is-hot i { background: var(--grad-gold); color: var(--emerald-950); }
.net__prog.is-hot b { color: var(--gold-300); }
.net__prog.is-hot::before, .net__prog.is-hot::after { background: var(--gold-300); box-shadow: 0 0 10px rgba(230,211,166,.75); }

/* circuit: hairline, soft glow under the active route, comet on top */
.net__svg g { transition: opacity .45s; }
.net__line { fill: none; stroke: rgba(214,185,124,.22); stroke-width: 1.1; transition: stroke .5s; }
.net__halo { fill: none; stroke: rgba(214,185,124,0); stroke-width: 7; transition: stroke .5s; }
.net__svg g.is-hot .net__line { stroke: rgba(230,211,166,.85); }
.net__svg g.is-hot .net__halo { stroke: rgba(214,185,124,.1); }
.net__map.has-hot .net__svg g:not(.is-hot) { opacity: .22; }
.net__comet { fill: none; stroke-linecap: round; opacity: 0; }
.net__comet.c { stroke: #fff6dc; stroke-width: 2; }
.net__comet.g { stroke: #d6b97c; stroke-width: 8; stroke-opacity: .22; }

/* route bar: what is lit, in words, with the way in */
.net__route { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem 1.6rem; margin-top: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); padding: .85rem .85rem .85rem 1.4rem; border-radius: var(--radius-pill); background: rgba(3,17,11,.6); box-shadow: inset 0 0 0 1px rgba(230,211,166,.12); }
.net__route-k { display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); white-space: nowrap; }
.net__route-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 3px rgba(230,211,166,.14); animation: netBlink 1.8s ease-in-out infinite; }
.net__route.is-locked .net__route-k::before { animation: none; }
@keyframes netBlink { 50% { opacity: .25; } }
.net__route-path { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; min-width: 0; font-size: .9rem; color: rgba(251,249,244,.78); }
.net__route-path li { display: inline-flex; align-items: center; gap: .75rem; }
.net__route-path li + li::before { content: "\f061"; font: var(--fa-font-solid); font-size: .6rem; color: rgba(230,211,166,.45); }
.net__route-path li:nth-child(2) { font-family: var(--font-display); font-size: 1.18rem; color: var(--gold-300); }
.net__route-cta { display: flex; align-items: center; gap: .45rem; }
.net__route-price { margin-right: .5rem; font-size: .88rem; white-space: nowrap; }
.net__route-price s { margin-left: .25rem; color: rgba(251,249,244,.4); }
.net__route-link { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 1.05rem; border-radius: var(--radius-pill); font-size: .84rem; font-weight: 500; white-space: nowrap; color: var(--ivory-50); box-shadow: inset 0 0 0 1px rgba(230,211,166,.26); transition: box-shadow .3s, transform .3s var(--ease-out); }
.net__route-link:hover { box-shadow: inset 0 0 0 1px var(--gold-400); }
.net__route-link--gold { background: var(--grad-gold); color: var(--emerald-950); box-shadow: none; }
.net__route-link--gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.net__route-link i { font-size: .66rem; }

@media (max-width: 1180px) {
  .net__map { grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); }
  .net__txt small { display: none; }
  .net__route { grid-template-columns: auto minmax(0, 1fr); border-radius: 24px; }
  .net__route-cta { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 900px) {
  .net__panel { padding: 2.2rem .9rem .9rem; border-radius: 22px; }
  .net__map { grid-template-columns: 1fr; }
  .net__col { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .5rem; }
  .net__label { width: 100%; text-align: center; margin-bottom: .2rem; }
  .net__node { gap: .55rem; padding: .3rem .85rem .3rem .3rem; text-align: left; background: rgba(6,28,20,.92); box-shadow: inset 0 0 0 1px rgba(230,211,166,.14); }
  .net__col--in .net__node { flex-direction: row-reverse; }
  .net__dot { width: 30px; height: 30px; font-size: .72rem; }
  .net__txt b { font-size: .84rem; }
  .net__plate { width: 100%; max-width: 460px; justify-self: center; margin: 6.2rem 0 4.6rem; padding: 5.1rem .75rem .75rem; }
  .net__col--out .net__label { padding: .25rem 0; background: linear-gradient(#061a12, #061a12) center / 12em 100% no-repeat; } /* a quiet plate behind the label where lines pass */
  .net__prog::before, .net__prog::after { display: none; }
  .net__route { grid-template-columns: 1fr; gap: .7rem; margin-top: 1.6rem; padding: 1.1rem; border-radius: 18px; }
  .net__route-cta { justify-content: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .net__bezel, .net__route-k::before { animation: none; }
}

/* ==========================================================================
   04 THE ASCENT (pinned storytelling)
   ========================================================================== */
.ascent { position: relative; background: var(--emerald-900); color: var(--ivory-50); overflow: clip; }
.ascent__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; filter: hue-rotate(-20deg) saturate(.7); }
.ascent__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 30% 50%, rgba(10,38,27,.6), var(--emerald-900) 85%); }
.ascent__pin { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; }
.ascent__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ascent__left .h2 { margin: 1.4rem 0 2rem; max-width: 13ch; }
.ascent__tree { width: 200px; height: 250px; fill: none; stroke: url(#gGold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ascent__meter { margin-top: 2rem; width: 220px; height: 2px; background: var(--line-dark); }
.ascent__meter span { display: block; height: 100%; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }
.ascent__count { margin-top: .8rem; font-family: var(--font-mono); font-size: .8rem; color: var(--gold-300); letter-spacing: .1em; }
.ascent__right { position: relative; min-height: 440px; }
.chapter {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 2.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(246,238,219,.07), rgba(246,238,219,.02));
  box-shadow: inset 0 0 0 1px var(--line-dark); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(40px) scale(.97); pointer-events: none;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
.chapter.is-past { opacity: 0; transform: translateY(-40px) scale(.97); }
.chapter__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; color: var(--emerald-950); background: var(--grad-gold); box-shadow: var(--shadow-gold); margin-bottom: 1.6rem; }
.chapter__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold-400); margin-bottom: .8rem; }
.chapter .h3 { margin-bottom: 1rem; }
.chapter > p:not(.chapter__num) { color: rgba(246,238,219,.72); max-width: 44ch; }
.chapter__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.chapter__tags li { font-size: .8rem; padding: .4rem .9rem; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--gold-300); }

/* ==========================================================================
   05 PROGRAMMES (pinned horizontal)
   ========================================================================== */
.programmes { background: var(--ivory-100); overflow: clip; }
.programmes__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 6rem 0 2.5rem; gap: 2.4rem; }
.programmes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.programmes__head .h2 { margin-top: 1.2rem; }
.programmes__head .h2 em { color: var(--emerald-600); }
.programmes__meta { max-width: 340px; color: var(--ink-500); }
.programmes__progress { margin-top: 1.4rem; height: 2px; background: var(--line-light); }
.programmes__progress span { display: block; height: 100%; background: var(--emerald-700); transform-origin: 0 50%; transform: scaleX(.05); }
.programmes__rail { display: flex; gap: 1.6rem; padding-inline: var(--gutter); width: max-content; will-change: transform; }

.course {
  position: relative; flex: 0 0 auto; width: clamp(290px, 26vw, 380px); border-radius: var(--radius-lg);
  background: var(--ivory-50); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-light);
  overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s var(--ease-out);
}
.course:hover { box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(197,161,90,.4); }
.course__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.course__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.course:hover .course__media img { transform: scale(1.14); }
.course__badge {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 500;
  background: rgba(3,17,11,.6); color: var(--gold-300); backdrop-filter: blur(8px);
}
.course__num { position: absolute; right: 16px; bottom: 6px; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: rgba(255,255,255,.85); text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.course__body { padding: 1.5rem 1.6rem 1.6rem; }
.course__cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.course__cats span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-600); background: rgba(35,112,79,.08); padding: .25rem .55rem; border-radius: var(--radius-xs); }
.course__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.12; margin-bottom: .9rem; min-height: 2.3em; }
.course__facts { display: flex; gap: 1.1rem; font-size: .82rem; color: var(--ink-500); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-light); }
.course__facts i { color: var(--gold-600); margin-right: .35rem; }
.course__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1.1rem; }
.course__price b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; }
.course__price s { color: var(--ink-300); margin-left: .5rem; font-size: .9rem; }
.course__go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald-900); color: var(--gold-300); transition: transform .5s var(--ease-out), background .3s; }
.course:hover .course__go { transform: rotate(-45deg); background: var(--gold-500); color: var(--emerald-950); }
.course--end { width: clamp(260px, 22vw, 320px); display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--emerald-900); color: var(--ivory-50); }
.course--end .h3 em { color: var(--gold-400); }
.course--end p { color: rgba(246,238,219,.7); }

/* ==========================================================================
   05b CERTIFIED — text-mask video zoom (CSS sticky, light → dark)
   ========================================================================== */
.zoom { position: relative; height: 320vh; background: var(--ivory-100); }
.zoom__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.zoom__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zoom__shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(3,17,11,.88), rgba(3,17,11,.25) 70%); }
/* Ivory layer + black type in "screen" blend: the ivory hides the video, the letters reveal it. */
.zoom__mask {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--ivory-100);
  mix-blend-mode: screen; transform-origin: 50% 50%; will-change: transform, opacity; backface-visibility: hidden;
}
.zoom__mask span { font-family: var(--font-sans); font-weight: 700; font-size: 19vw; line-height: .8; letter-spacing: -0.06em; color: #000; }
.zoom__caption { position: absolute; left: 0; right: 0; bottom: 12vh; color: var(--ivory-50); opacity: 0; }
.zoom__caption .h2 { margin-top: 1.2rem; }
.zoom__caption .h2 em { color: var(--gold-300); }

/* ==========================================================================
   06 CERTIFICATE
   ========================================================================== */
.cert { background: var(--emerald-950); color: var(--ivory-50); overflow: clip; }
.cert__pin { min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; }
.cert__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.cert__copy .h2 { margin: 1.4rem 0 2.4rem; }
.cert__list { display: grid; gap: 1.4rem; }
.cert__list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.cert__list i { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); box-shadow: inset 0 0 0 1px var(--line-dark); }
.cert__list b { display: block; font-weight: 500; margin-bottom: .2rem; }
.cert__list span { color: rgba(246,238,219,.65); font-size: .95rem; }
.cert__stage { position: relative; perspective: 1600px; }
.cert__glow { position: absolute; inset: 10% 5%; z-index: 0; background: radial-gradient(closest-side, rgba(197,161,90,.4), transparent); filter: blur(30px); }
.certificate {
  position: relative; z-index: 1; aspect-ratio: 1.414 / 1; padding: 7% 8%;
  background: linear-gradient(135deg, #fffdf7, #f4ecd8); color: var(--ink-900);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transform-style: preserve-3d; will-change: transform;
}
.certificate__border { position: absolute; inset: 14px; border: 1px solid var(--gold-500); outline: 4px double rgba(197,161,90,.45); outline-offset: 4px; pointer-events: none; }
.certificate__crest { width: 13%; border-radius: 50%; margin-bottom: 3%; }
.certificate__kicker { font-family: var(--font-mono); font-size: clamp(.55rem, .8vw, .78rem); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-700); }
.certificate__presented { margin-top: 3%; font-size: clamp(.65rem, .9vw, .85rem); color: var(--ink-500); }
.certificate__name { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.1; margin: 1.5% 0; min-height: 1.15em; color: var(--emerald-800); border-bottom: 1px solid var(--sand-300); padding: 0 1.5rem .2rem; }
.certificate__name .caret { display: inline-block; width: 2px; height: .9em; background: var(--gold-600); margin-left: 3px; vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.certificate__course { font-size: clamp(.65rem, .95vw, .9rem); color: var(--ink-700); }
.certificate__foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; }
.certificate__sig { text-align: left; font-size: clamp(.55rem, .8vw, .75rem); color: var(--ink-500); }
.certificate__sig-img { width: 70%; clip-path: inset(0 100% 0 0); border-bottom: 1px solid var(--sand-300); margin-bottom: .3rem; }
/* signature.png has wide transparent margins: crop to the ink */
.sig-crop { overflow: hidden; aspect-ratio: 140 / 75; }
.sig-crop img { width: 357%; max-width: none; margin-left: -123%; }
.certificate__seal { position: relative; width: clamp(64px, 8vw, 110px); transform: scale(0) rotate(-40deg); }
.certificate__seal svg { width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(138,106,47,.45)); }
.certificate__seal i { position: absolute; inset: 0; display: grid; place-items: center; color: var(--emerald-900); font-size: clamp(1rem, 1.8vw, 1.6rem); }
.certificate__id { text-align: right; font-size: clamp(.5rem, .75vw, .72rem); color: var(--ink-500); }
.certificate__id b { display: block; font-family: var(--font-mono); font-weight: 500; color: var(--ink-900); letter-spacing: .06em; }

/* ==========================================================================
   07 STATS
   ========================================================================== */
.stats { background: var(--sand-200); padding: var(--section-y) 0; }
.stats__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 4rem; }
.stats__head .h2 { max-width: 15ch; }
.stats__head .h2 em { color: var(--emerald-600); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat {
  position: relative; padding: 2.4rem 1.8rem; border-radius: var(--radius-lg); background: var(--ivory-50);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.stat:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.stat svg { position: absolute; top: 1.6rem; right: 1.6rem; width: 64px; height: 64px; transform: rotate(-90deg); }
.stat circle { fill: none; stroke-width: 5; }
.stat .track { stroke: var(--sand-200); }
.stat .fill { stroke: var(--gold-500); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.stat > i { position: absolute; top: calc(1.6rem + 21px); right: calc(1.6rem + 21px); width: 22px; text-align: center; color: var(--emerald-700); }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: 1; margin-top: 3.2rem; color: var(--emerald-900); }
.stat span { color: var(--ink-500); font-size: .95rem; }

/* ==========================================================================
   08 AUDIENCE (hover image index)
   ========================================================================== */
.audience { background: var(--ivory-50); padding: var(--section-y) 0; position: relative; }
.audience__head { margin-bottom: 3.2rem; }
.audience__head .h2 { margin-top: 1.2rem; }
.audience__head .h2 em { color: var(--emerald-600); }
.audience__list li {
  display: grid; grid-template-columns: 70px 1.3fr 1fr 40px; align-items: center; gap: 1.5rem;
  padding: 1.8rem .5rem; border-top: 1px solid var(--line-light); cursor: pointer; position: relative;
  transition: padding .5s var(--ease-out), color .4s;
}
.audience__list li:last-child { border-bottom: 1px solid var(--line-light); }
.audience__list li::before { content: ""; position: absolute; inset: 0; background: var(--emerald-900); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); z-index: 0; }
.audience__list li > * { position: relative; z-index: 1; }
.audience__list li:hover { color: var(--ivory-50); padding-left: 1.5rem; padding-right: 1.5rem; }
.audience__list li:hover::before { transform: scaleY(1); }
.audience__list .idx { font-family: var(--font-mono); font-size: .8rem; color: var(--gold-700); }
.audience__list li:hover .idx { color: var(--gold-400); }
.audience__list b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); line-height: 1.1; }
.audience__list .desc { color: var(--ink-500); transition: color .4s; }
.audience__list li:hover .desc { color: rgba(246,238,219,.75); }
.audience__list li > i { justify-self: end; transition: transform .5s var(--ease-out); }
.audience__list li:hover > i { transform: translateX(6px); color: var(--gold-400); }
.audience__float {
  position: fixed; top: 0; left: 0; z-index: 40; width: 300px; aspect-ratio: 4/3; border-radius: var(--radius-md);
  overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); box-shadow: var(--shadow-lg);
}
.audience__float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .audience__float { display: none; } }

/* ==========================================================================
   09 FOUNDER
   ========================================================================== */
.founder { background: var(--sand-200); padding: var(--section-y) 0; }
.founder__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: center; }
.founder__photo { position: relative; }
.founder__mask { border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; clip-path: inset(100% 0 0 0 round 240px 240px 28px 28px); }
.founder__mask img { width: 100%; aspect-ratio: 540 / 607; object-fit: cover; transform: scale(1.25); }
.founder__photo figcaption {
  position: absolute; right: -1.5rem; bottom: 2rem; padding: .9rem 1.2rem; border-radius: var(--radius-md);
  background: var(--emerald-900); color: var(--gold-300); font-size: .82rem; box-shadow: var(--shadow-md);
}
.founder__photo figcaption i { margin-right: .4rem; }
.founder__quote { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.16; margin: 1.6rem 0 1.8rem; color: var(--ink-900); }
.founder__quote em { color: var(--emerald-600); }
.founder__bio { color: var(--ink-700); max-width: 54ch; }
.founder__sign { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.founder__sign .sig-crop { width: 150px; clip-path: inset(0 100% 0 0); }
.founder__sign b { display: block; font-weight: 500; }
.founder__sign span { color: var(--ink-500); font-size: .9rem; }

/* ==========================================================================
   10 VOICES
   ========================================================================== */
.voices { background: var(--emerald-900); color: var(--ivory-50); padding: var(--section-y) 0; overflow: hidden; }
.voices__head { margin-bottom: 3.6rem; }
.voices__head .h2 { margin-top: 1.2rem; }
.voices__head .h2 em { color: var(--gold-400); }
.voices__rows { display: grid; gap: 1.4rem; }
.voices__row { display: flex; gap: 1.4rem; width: max-content; will-change: transform; }
.voice {
  width: 420px; padding: 2rem; border-radius: var(--radius-lg); flex: 0 0 auto;
  background: linear-gradient(160deg, rgba(246,238,219,.07), rgba(246,238,219,.02));
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .4s, transform .5s var(--ease-out);
}
.voice:hover { background: rgba(246,238,219,.1); transform: translateY(-4px); }
.voice .stars { margin-bottom: 1rem; }
.voice p { font-size: 1.02rem; line-height: 1.6; color: rgba(246,238,219,.86); }
.voice footer { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.voice__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--emerald-950); background: var(--grad-gold); }
.voice footer b { display: block; font-weight: 500; }
.voice footer span { font-size: .82rem; color: var(--gold-300); }
.voices__row { animation: voicesLoop 70s linear infinite; }
.voices__row--rev { animation-direction: reverse; animation-duration: 80s; }
.voices__rows:hover .voices__row { animation-play-state: paused; }
@keyframes voicesLoop { to { transform: translateX(-50%); } }

/* ==========================================================================
   11 FAQ
   ========================================================================== */
.faq { background: var(--ivory-50); padding: var(--section-y) 0; }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
.faq__intro { position: sticky; top: 7rem; }
.faq__intro .h2 { margin: 1.2rem 0 1.6rem; }
.faq__intro .h2 em { color: var(--emerald-600); }
.faq__intro p { color: var(--ink-500); }
.faq__intro a { color: var(--emerald-700); border-bottom: 1px solid currentColor; }
.qa { border-top: 1px solid var(--line-light); }
.qa:last-child { border-bottom: 1px solid var(--line-light); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; text-align: left; font-size: 1.15rem; font-weight: 500; }
.qa__icon { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: transform .5s var(--ease-out), background .3s, color .3s; }
.qa.is-open .qa__icon { transform: rotate(45deg); background: var(--emerald-900); color: var(--gold-300); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 3.5rem 1.8rem 0; color: var(--ink-500); }

/* ==========================================================================
   12 CTA
   ========================================================================== */
.cta { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--ivory-50); overflow: hidden; isolation: isolate; background: var(--emerald-950); clip-path: inset(0 4% round var(--radius-xl)); }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,17,11,.92) 0%, rgba(3,17,11,.65) 50%, rgba(3,17,11,.3) 100%); }
.cta__inner { padding-top: 6rem; padding-bottom: 6rem; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.02em; margin: 1.4rem 0 1.6rem; }
.cta__sub { color: rgba(246,238,219,.75); margin-bottom: 2.6rem; max-width: 52ch; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--emerald-950); color: rgba(246,238,219,.75); padding-top: 7rem; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer__brand img { width: 300px; margin-bottom: 1.4rem; }
.footer__brand p { max-width: 38ch; font-size: .95rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.6rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.footer__social a:hover { background: var(--gold-500); color: var(--emerald-950); transform: translateY(-3px); }
.footer__col { display: flex; flex-direction: column; gap: .75rem; font-size: .93rem; }
.footer__col h4 { font-family: var(--font-mono); font-weight: 400; font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold-400); margin-bottom: .6rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--ivory-50); }
.footer__col i { width: 18px; color: var(--gold-500); margin-right: .3rem; }
.footer__pay { margin-top: .6rem; font-size: .82rem; opacity: .8; }
.footer__mega {
  font-family: var(--font-display); font-size: clamp(4rem, 17vw, 17rem); line-height: .85; white-space: nowrap; text-align: center;
  margin-top: 5rem; color: transparent; -webkit-text-stroke: 1px rgba(214,185,124,.35);
  background: linear-gradient(180deg, rgba(214,185,124,.18), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.footer__base { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; padding-bottom: 2rem; font-size: .82rem; }
.footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer__tokens { color: var(--gold-300); }
.footer__top i { margin-left: .4rem; }

/* ---------- Generic reveal helpers (set by JS) ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .manifesto__grid, .ascent__grid, .cert__grid, .founder__grid, .faq__grid { grid-template-columns: 1fr; }
  .manifesto__text, .manifesto__aside { grid-column: 1; }
  .ascent__pin, .cert__pin, .programmes__pin { min-height: auto; padding: var(--section-y) 0; }
  .ascent__left { display: flex; flex-direction: column; }
  .ascent__tree { width: 140px; height: 175px; }
  .ascent__meter, .ascent__count { display: none; }
  .ascent__right { min-height: 0; display: grid; gap: 1rem; }
  .chapter { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; padding: 2rem; }
  .programmes__rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
  .programmes__rail::-webkit-scrollbar { display: none; }
  .course { scroll-snap-align: center; width: 82vw; max-width: 380px; }
  .programmes__progress { display: none; }
  .faq__intro { position: static; }
  .founder__photo { max-width: 460px; }
  .founder__photo figcaption { right: 1rem; }
  .audience__list li { grid-template-columns: 44px 1fr 28px; }
  .audience__list .desc { display: none; }
  .cta { clip-path: none; }
  .hero__foot { grid-template-columns: 1fr; justify-items: start; }
  .hero__scroll { display: none; }
  .hero__rating { justify-self: start; }
}
@media (max-width: 560px) {
  .stats__grid, .footer__grid { grid-template-columns: 1fr; }
  .voice { width: 300px; padding: 1.5rem; }
  .nav .btn--sm { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .certificate { padding: 6% 6%; }
  .certificate__border { inset: 8px; }
  .footer__brand img { width: 240px; }
  .qa__a p { padding-right: 0; }
  .zoom__mask span { font-size: 21vw; }
}

/* Desktop scroll scenes: CSS sticky stages inside tall sections (no JS pinning,
   so nothing jumps when a scene starts or ends). Section heights = 100vh + scroll distance;
   the programmes height is set in JS from the rail width. */
@media (min-width: 901px) {
  .ascent { height: 420vh; }
  .cert { height: 300vh; }
  .ascent__pin, .programmes__pin, .cert__pin { position: sticky; top: 0; height: 100vh; min-height: 640px; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .programmes__head .h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); }
  .programmes__meta p { font-size: .9rem; }
  .course__body { padding: 1.1rem 1.3rem 1.2rem; }
  .course__title { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .zoom { height: auto; }
  .zoom__sticky { position: relative; }
  .zoom__mask { display: none; }
  .zoom__shade, .zoom__caption { opacity: 1; }
}

/* ---------- Footer legal row ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer__legal a { opacity: .7; transition: opacity .3s; }
.footer__legal a:hover { opacity: 1; }
