/* ==========================================================================
   RealRelay Academy public site
   Brand: RealRelay red #C8102E on ink navy #181226, warm cream surfaces.
   Type: Sora (headings) + Inter (body), as in the Academy brochure.
   ========================================================================== */

:root {
  --red: #C8102E;
  --red-deep: #A20C25;
  --red-soft: #FF5A6E;         /* accent word on dark surfaces */
  --pink: #FDF1F2;             /* tinted cards */
  --pink-2: #F9E3E6;
  --ink: #181226;
  --ink-2: #221B33;
  --ink-3: #2E2740;
  --cream: #F8F4F3;
  --cream-2: #F2ECEA;
  --white: #FFFFFF;
  --text: #1B1726;
  --muted: #5B556A;
  --muted-2: #8A8497;
  --line: rgba(24, 18, 38, .10);
  --line-dark: rgba(255, 255, 255, .12);

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);

  --shadow-card: 0 10px 30px rgba(24, 18, 38, .08);
  --shadow-lift: 0 24px 60px rgba(24, 18, 38, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0; }
.accent { color: var(--red); }
.on-dark .accent, .dark .accent { color: var(--red-soft); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--pill); z-index: 1000; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Eyebrow / headings / buttons
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.dark .eyebrow, .on-dark .eyebrow { color: var(--red-soft); }
.lede { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 62ch; }
.dark .lede { color: rgba(255,255,255,.72); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--pill);
  font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(200,16,46,.28); }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 16px 34px rgba(200,16,46,.34); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(24,18,38,.25); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .on-dark .btn-ghost, .nav .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .banner .btn-ghost, .menu .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.dark .btn-ghost:hover, .on-dark .btn-ghost:hover, .nav .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .banner .btn-ghost:hover, .menu .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Intro video band (top of home, like the New Creation welcome reel)
   -------------------------------------------------------------------------- */
.intro {
  background: var(--ink);
  padding: clamp(10px, 1.5vw, 20px) var(--gutter) 0;
  position: relative;
}
.intro-frame {
  position: relative;
  width: min(1320px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 7.4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}
@media (max-width: 760px) { .intro-frame { aspect-ratio: 4 / 5; } }
.intro-frame video, .intro-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,18,38,.15) 0%, rgba(24,18,38,.05) 40%, rgba(24,18,38,.55) 100%);
}
.intro-word {
  position: absolute; inset: 0; z-index: 2;
  display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; white-space: nowrap;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(56px, 13vw, 200px);
  letter-spacing: -0.05em; line-height: 1; color: #fff;
  text-transform: uppercase; pointer-events: none;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.intro-word span { display: inline-block; opacity: 0; transform: translateY(.25em); animation: wordIn .8s var(--ease) forwards; }
.intro-word .w-dot { color: var(--red-soft); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.intro-tag {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.intro-tag i { width: 32px; height: 1px; background: rgba(255,255,255,.5); }
.intro-mute {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(24,18,38,.45); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
}
.intro-mute svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Navigation. Sits under the intro reel on home, sticks when scrolled
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-stuck { background: rgba(24,18,38,.92); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav-inner {
  width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 32px; width: auto; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,.28); }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { color: rgba(255,255,255,.86); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red-soft); transition: right .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; place-items: center; }
.nav-burger svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-burger { display: grid; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 480px) { .nav-cta .btn-red { display: none; } .brand img { height: 28px; } }

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff;
  padding: 24px var(--gutter); display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 54px; }
.menu-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; }
.menu-close svg { width: 18px; height: 18px; }
.menu-links { margin-top: 40px; display: grid; gap: 6px; }
.menu-links a { font-family: var(--font-head); font-size: clamp(32px, 8vw, 48px); font-weight: 700; letter-spacing: -0.03em; padding: 8px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.menu-links a span { font-size: 13px; font-family: var(--font-body); color: var(--red-soft); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.menu-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 30px; }
.menu-foot p { color: rgba(255,255,255,.6); font-size: 14px; }

/* --------------------------------------------------------------------------
   Hero (dark). Headline, accent words, circle photo
   -------------------------------------------------------------------------- */
.hero { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 110px) 0 clamp(72px, 9vw, 130px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -20vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200,16,46,.22), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero .lede { margin-top: 26px; color: rgba(255,255,255,.74); }
.hero-ctas { margin-top: 36px; }
.scroll-cue {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  display: inline-grid; place-items: center; color: #fff; margin-left: 6px;
}
.scroll-cue svg { width: 18px; height: 18px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.levels-strip { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-soft); }
.levels-strip li { display: flex; align-items: center; gap: 22px; }
.levels-strip li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35); }
.hero-media { position: relative; aspect-ratio: 1; }
.hero-circle {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: var(--ink-2); box-shadow: 0 40px 100px rgba(0,0,0,.45);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.hero-media:hover .hero-circle img { transform: scale(1); }
.hero-badge {
  position: absolute; left: -6%; bottom: 8%;
  background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-lift); display: flex; gap: 14px; align-items: center; min-width: 230px;
}
.hero-badge b { font-family: var(--font-head); font-size: 26px; color: var(--red); letter-spacing: -0.03em; line-height: 1; }
.hero-badge span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.hero-badge.alt { left: auto; right: -4%; top: 10%; bottom: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin: 10px auto 0; width: 100%; }
  .hero-badge { left: 0; } .hero-badge.alt { right: 0; }
}

/* --------------------------------------------------------------------------
   Surfaces
   -------------------------------------------------------------------------- */
.surface { background: var(--cream); color: var(--text); border-radius: var(--r-xl) var(--r-xl) 0 0; position: relative; }
.surface-flat { background: var(--cream); color: var(--text); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.dark { background: var(--ink); color: #fff; }
.dark-card {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 110px) clamp(20px, 5vw, 80px);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .lede { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--r-lg); padding: 30px 28px;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 12px; font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-pink { background: var(--pink); border-color: transparent; }
.card-red { background: var(--red); color: #fff; border-color: transparent; }
.card-red p, .card-red .card-kicker { color: rgba(255,255,255,.85); }
.card-outline { border: 1.5px solid var(--red); }
.card-kicker { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; display: block; }
.num { font-family: var(--font-head); font-size: 48px; font-weight: 800; color: var(--red); letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.outcome { margin-top: 18px; background: var(--pink); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }

.dark .card { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.dark .card p { color: rgba(255,255,255,.7); }
.dark .card .outcome { background: rgba(255,255,255,.08); color: #fff; }
.dark .card-kicker { color: var(--red-soft); }
.dark .card-red { background: var(--red); }

/* Horizontal card carousel (How it works) */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 700px) { .carousel-track { grid-auto-columns: 84%; } }
.carousel-bar { height: 3px; background: rgba(24,18,38,.12); margin-top: 26px; border-radius: 2px; overflow: hidden; }
.carousel-bar i { display: block; height: 100%; width: 25%; background: var(--ink); transition: width .2s linear, transform .2s linear; }
.dark .carousel-bar { background: rgba(255,255,255,.14); } .dark .carousel-bar i { background: #fff; }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -40px; margin-bottom: 20px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(24,18,38,.2); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .25s, color .25s; }
.carousel-nav button:hover { background: var(--ink); color: #fff; }
.carousel-nav button svg { width: 18px; height: 18px; }

.step-card { min-height: 360px; display: flex; flex-direction: column; }
.step-card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.step-card p { margin-top: auto; padding-top: 22px; }

/* Image cards with overlay titles (like NCC "Reaching Out") */
.media-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--ink-2); color: #fff; display: block; isolation: isolate;
}
.media-card img, .media-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-card:hover img { transform: scale(1.05); }
.media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,18,38,.1), rgba(24,18,38,.75)); }
.media-card .media-body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 3vw, 36px); z-index: 1; }
.media-card .media-top { position: absolute; inset: 0 0 auto 0; padding: clamp(22px, 3vw, 36px); z-index: 1; }
.media-card h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; max-width: 100%; }
.media-card.tall h3 { font-size: clamp(22px, 2vw, 30px); }
.media-card p { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 42ch; }
.media-card .chips { margin-top: 16px; }
.media-card.tall { aspect-ratio: 4 / 5; }
.media-card.wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .media-card.wide { aspect-ratio: 4 / 5; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.18); }
.chips-light .chip { background: var(--pink); color: var(--red); border-color: transparent; }

/* Full-bleed photo banner with centred copy */
.banner {
  position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff;
  min-height: clamp(460px, 60vh, 640px); display: grid; place-items: center; text-align: center; isolation: isolate;
}
.banner img, .banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,18,38,.55), rgba(24,18,38,.7)); z-index: -1; }
.banner-body { padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 820px; }
.banner h2 { color: #fff; }
.banner .lede { color: rgba(255,255,255,.82); margin: 22px auto 30px; }
.banner .eyebrow { color: #fff; }

/* Bullet list with red dots (brochure style) */
.dots { display: grid; gap: 18px; }
.dots li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--muted); }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.dots li b { color: var(--text); font-weight: 600; }
.dark .dots li { color: rgba(255,255,255,.72); } .dark .dots li b { color: #fff; }
.dots-2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 760px) { .dots-2 { grid-template-columns: 1fr; } }

/* Lab screens */
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.screen { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: #fff; }
.screen img { width: 100%; }
.caption { font-size: 13px; color: var(--muted-2); margin-top: 14px; }
@media (max-width: 700px) { .screens { grid-template-columns: 1fr; } }

/* Level ladder (four columns with red top rules) */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ladder > div { border-top: 3px solid var(--red); padding-top: 18px; }
.ladder .lvl { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.ladder h3 { font-size: 28px; margin: 8px 0 6px; }
.ladder .who { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.ladder p { font-size: 15px; color: var(--muted); }
.dark .ladder .lvl { color: var(--red-soft); }
.dark .ladder .who, .dark .ladder p { color: rgba(255,255,255,.7); }
@media (max-width: 960px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

/* Tracks table */
.tracks-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tracks-table th, .tracks-table td { text-align: left; vertical-align: top; padding: 18px 14px; border-bottom: 1px solid var(--line); }
.tracks-table th { font-family: var(--font-head); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 700; border-bottom: 2px solid var(--line); }
.tracks-table th:first-child { color: var(--muted); }
.tracks-table td:first-child { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; width: 18%; }
.tracks-table td:first-child small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: 0; }
.tracks-table td b { display: block; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.tracks-table td { color: var(--muted); }
.tracks-table .group td { padding: 30px 14px 10px; font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 880px; }

/* Track tiles (tracks page, mobile-friendly alternative) */
.track-tile { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; }
.track-tile h3 { font-size: 22px; }
.track-tile small { color: var(--muted-2); font-size: 13px; }
.track-tile .ladder-mini { display: grid; gap: 10px; }
.track-tile .ladder-mini div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: baseline; }
.track-tile .ladder-mini span { font-family: var(--font-head); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.track-tile .ladder-mini b { color: var(--text); font-weight: 600; display: block; }

/* Timeline (a week in the academy) */
.timeline { display: grid; gap: 22px; }
.timeline li { position: relative; padding-left: 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(200,16,46,.14); }
.timeline li::after { content: ""; position: absolute; left: 4.5px; top: 1.6em; bottom: -22px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-weight: 700; color: var(--text); font-family: var(--font-head); letter-spacing: -0.01em; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Semester plan */
.plan { display: grid; gap: 14px; }
.plan li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.plan .when { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.plan b { display: block; font-family: var(--font-head); font-size: 20px; margin: 6px 0 6px; letter-spacing: -0.02em; }
.plan p { color: var(--muted); font-size: 14.5px; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 44px; }
.partners span { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.partners img { height: 30px; width: auto; }
.partners img.cwg { height: 34px; }
.partners img.rr { height: 36px; }

/* CTA band */
.cta {
  background: var(--pink); border-radius: var(--r-xl); text-align: center;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.cta h2 { font-size: clamp(40px, 6vw, 80px); }
.cta .mail { display: inline-block; margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 36px); color: var(--red); letter-spacing: -0.02em; }
.cta .mail:hover { text-decoration: underline; text-underline-offset: 6px; }
.cta .sites { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-weight: 600; }
.cta .btn-row { justify-content: center; margin-top: 32px; }

/* Forms (contact) */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(24,18,38,.18); background: #fff; color: var(--text); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(200,16,46,.35); border-color: var(--red); }
.form-note { font-size: 13px; color: var(--muted-2); }

/* Page hero (sub pages) */
.page-hero { background: var(--ink); color: #fff; padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; right: -15vw; top: -20vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,16,46,.22), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); max-width: 16ch; }
.page-hero .lede { margin-top: 24px; color: rgba(255,255,255,.74); }
.page-hero .wrap { position: relative; }
.page-hero-media { margin-top: clamp(36px, 5vw, 60px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21/9; background: var(--ink-2); }
.page-hero-media img, .page-hero-media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .page-hero-media { aspect-ratio: 4/3; } }

/* Footer */
.footer { background: var(--cream); color: var(--text); padding: 40px 0 36px; }
.footer-rule { height: 2px; background: var(--ink); margin-bottom: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: 14px; }
.footer li a:hover { color: var(--red); }
.footer-brand img { height: 34px; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .25s; }
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-partners { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-partners span { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.footer-partners img { height: 26px; width: auto; }
.footer-bottom { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--red); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro-word span { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .scroll-cue svg { animation: none; }
}

/* Utilities */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 44px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 28px; }
.max-62 { max-width: 62ch; }
.pull { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.35; max-width: 32ch; }
.dark .pull { color: #fff; }
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 10px; vertical-align: middle; opacity: .5; }
.notice { font-size: 13px; color: var(--muted-2); }
