/* ROOTS Quest — v2 single-page flow
   Ported from the original Next.js site. Same palette, type and card language. */

@import url("https://fonts.googleapis.com/css2?family=Asta+Sans:wght@500;600;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --nav-height: 58px;
  --display: "Asta Sans", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;

  --gold: #c8a84b;
  --gold-bright: #e5c055;
  --gold-hover: #f0cf68;
  --gold-shadow: #8f7222;
  --gold-edge: rgba(255, 240, 166, 0.8);

  --sage: #ccdecd;
  --sage-text: #112e1b;
  --sage-text-2: #23452f;
  --tan: #b7977d;
  --tan-text: #2c1f14;
  --tan-edge: rgba(220, 197, 176, 0.65);
  --brown: #9c7561;
  --brown-edge: rgba(218, 198, 182, 0.35);
  --blue: #b6d8ee;
  --blue-text: #2e5167;
  --blue-edge: rgba(217, 239, 255, 0.7);
  --green-deep: rgba(16, 45, 33, 0.8);

  --glass: rgba(0, 0, 0, 0.28);
  --glass-edge: rgba(255, 255, 255, 0.15);
  --radius: clamp(18px, 2vw, 30px);
  --radius-sm: clamp(14px, 1.5vw, 22px);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  --gutter: clamp(18px, 4vw, 56px);
  --section-y: clamp(72px, 10vh, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; }
.h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.2vw, 62px); }
.h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(20px, 2.2vw, 32px); }
.eyebrow { font-family: var(--body); font-size: clamp(11px, 0.9vw, 13px); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.lede { font-size: clamp(16px, 1.45vw, 22px); line-height: 1.5; letter-spacing: -0.01em; }
.copy { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; }
.rule { display: block; height: 1px; width: clamp(62px, 8vw, 112px); background: var(--gold); margin-bottom: clamp(12px, 1.6vh, 18px); }
.rule--white { background: rgba(255, 255, 255, 0.6); }
.rule--center { margin-inline: auto; }

/* ---------- Layout ---------- */
.section,
.footer {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.section > *, .footer > * { width: 100%; }
.section {
  position: relative;
  padding: max(var(--section-y), calc(var(--nav-height) + 36px)) var(--gutter) var(--section-y);
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.section--tall { background-size: cover; background-position: center top; }
.wrap { position: relative; max-width: 1480px; margin: 0 auto; }
.wrap--narrow { max-width: 1100px; }
.stack > * + * { margin-top: clamp(28px, 4vh, 56px); }
.grid { display: grid; gap: clamp(14px, 2.4vw, 36px); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--about { grid-template-columns: 1.08fr 0.92fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .grid--2, .grid--about, .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: clamp(22px, 3vw, 46px);
}
.glass--light { background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(2px); }
.panel { border-radius: var(--radius-sm); padding: clamp(16px, 2.4vw, 34px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22); }
.panel--sage { background: rgba(204, 222, 205, 0.94); border: 1px solid rgba(220, 235, 221, 0.7); color: var(--sage-text); }
.panel--tan { background: rgba(183, 151, 125, 0.95); border: 1px solid var(--tan-edge); color: var(--tan-text); }
.panel--brown { background: rgba(156, 117, 97, 0.88); border: 1px solid var(--brown-edge); color: #fff; }
.panel--green { background: var(--green-deep); border: 1px solid rgba(185, 212, 192, 0.3); color: #fff; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); background: #111; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--portrait { aspect-ratio: 3 / 4; }
.photo--fill { height: 100%; min-height: 260px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 clamp(22px, 2.8vw, 42px);
  border-radius: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.35vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease), background-color 0.2s;
}
.btn--gold {
  background: var(--gold-bright);
  color: #1e1e1e;
  border-color: var(--gold-edge);
  box-shadow: 0 4px 0 var(--gold-shadow), 0 10px 24px rgba(0, 0, 0, 0.22);
}
.btn--gold.btn--deep { background: var(--gold); }
.btn--gold:hover { transform: translateY(-4px) scale(1.025); filter: brightness(1.05); box-shadow: 0 6px 0 var(--gold-shadow), 0 16px 30px rgba(0, 0, 0, 0.3); }
.btn--gold:active { transform: translateY(0) scale(0.99); box-shadow: 0 2px 0 var(--gold-shadow), 0 6px 14px rgba(0, 0, 0, 0.22); }
.btn--lg { min-height: clamp(60px, 8vh, 84px); font-size: clamp(20px, 2.4vw, 36px); border-radius: clamp(16px, 1.8vw, 26px); width: 100%; max-width: 640px; }
.btn--silver {
  background: #d9d9d9; color: #000; border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 0 #8b8b8b, 0 16px 38px rgba(0, 0, 0, 0.35);
}
.btn--silver:hover { transform: translateY(-4px); filter: brightness(1.05); box-shadow: 0 8px 0 #8b8b8b, 0 22px 46px rgba(0, 0, 0, 0.45); }
.btn--silver:active { transform: translateY(0) scale(0.99); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; font-family: var(--body); font-weight: 500; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: 14px; opacity: 0.75; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-height);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(12px, 2vw, 28px);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--display);
  transition: background-color 0.3s;
}
.nav.is-scrolled { background: rgba(0, 0, 0, 0.62); }
.nav__logo { display: block; width: 36px; height: 36px; border-radius: 50%; justify-self: start; transition: transform 0.2s; }
.nav__logo:hover { transform: scale(1.06); }
.nav__logo img { width: 100%; height: 100%; }
.nav__right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav__register {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 999px;
  background: var(--gold-bright); color: #183023; border: 1px solid rgba(246, 217, 120, 0.7);
  font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, background-color 0.2s;
}
.nav__register:hover { transform: translateY(-2px); background: var(--gold-hover); }
.nav__social { display: block; width: 24px; height: 24px; border-radius: 3px; transition: transform 0.2s; }
.nav__social:hover { transform: scale(1.08); }
.nav__social img { width: 100%; height: 100%; }
.nav__burger { display: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); align-items: center; justify-content: center; cursor: pointer; }
.nav__burger .icon { width: 20px; height: 20px; }
.nav__burger .icon--x { display: none; }
.nav.is-open .nav__burger .icon--menu { display: none; }
.nav.is-open .nav__burger .icon--x { display: block; }

.tabs { position: relative; display: flex; align-items: center; width: fit-content; margin: 0 auto; padding: 3px 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(2px); }
.tabs__list { position: relative; display: flex; align-items: center; }
.tabs__link, .tabs__ghost {
  display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1; text-decoration: none;
}
.tabs__link { color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.tabs__link:hover { color: #fff; }
.tabs__indicator { position: absolute; inset: 3px 4px; z-index: 2; overflow: hidden; pointer-events: none; clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 0.28s ease; }
.tabs__indicator-inner { display: flex; align-items: center; height: 100%; background: #fff; }
.tabs__ghost { color: var(--sage-text); }

.nav__menu { display: none; }
@media (max-width: 1000px) {
  .tabs { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0; z-index: 99;
    display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 18px;
    background: rgba(8, 10, 9, 0.94); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.is-open + .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu a { padding: 13px 10px; border-radius: 10px; font-family: var(--display); font-size: 18px; text-decoration: none; color: rgba(255,255,255,.85); }
  .nav__menu a:hover, .nav__menu a.is-active { background: rgba(255,255,255,.08); color: #fff; }
  .nav__menu a.is-active { color: var(--gold-bright); }
}
@media (max-width: 560px) { .nav__social { display: none; } .nav__register { height: 32px; padding: 0 12px; font-size: 13px; } }

/* ---------- Hero ---------- */
.hero {
  align-items: center;
  padding: calc(var(--nav-height) + 24px) var(--gutter) 72px;
  text-align: center;
}
.hero__card {
  width: 100%; max-width: 1040px;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(32px, 7vh, 72px) clamp(22px, 6vw, 90px);
  border-radius: clamp(20px, 2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.hero__title { font-size: clamp(48px, 8vw, 100px); text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); line-height: 1.04; }
.hero__tagline { margin-top: clamp(10px, 1.8vh, 16px); max-width: 44ch; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; font-size: clamp(17px, 2vw, 30px); }
.hero__cta { margin-top: clamp(22px, 4vh, 38px); min-height: clamp(52px, 7vh, 72px); border-radius: 20px; padding-inline: clamp(30px, 4vw, 58px); font-size: clamp(16px, 1.7vw, 26px); }
.hero__facts { margin-top: clamp(18px, 3vh, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.hero__facts span { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.25); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.45); color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); backdrop-filter: blur(4px);
  animation: bob 1.35s ease-in-out infinite;
}
.hero__scroll .icon { width: 24px; height: 24px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }

/* ---------- Section headers ---------- */
.section-head { max-width: 900px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: clamp(12px, 2vh, 20px); opacity: 0.92; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }

/* ---------- About ---------- */
.about-intro { display: flex; flex-direction: column; gap: clamp(12px, 1.8vh, 18px); }
.about-intro .copy + .copy { margin-top: 0; }
.about-video { display: flex; flex-direction: column; gap: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.22); background: #0b120e; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; background: linear-gradient(160deg, rgba(16,45,33,.9), rgba(0,0,0,.85)); }
.video__placeholder .play { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-bright); color: #1e1e1e; box-shadow: 0 4px 0 var(--gold-shadow), 0 10px 24px rgba(0,0,0,.3); }
.video__placeholder .play .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 3px; }
.video__placeholder strong { font-family: var(--display); font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.video__placeholder span { font-size: 14px; opacity: .7; max-width: 36ch; }
.video__caption { font-size: 14px; line-height: 1.45; opacity: 0.8; padding-inline: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 6px; }
.fact { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.fact b { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.02em; }
.fact span { font-size: 13px; opacity: .78; }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

.forest-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(14px, 2.4vw, 36px); align-items: stretch; }
.forest-card__title { font-size: clamp(26px, 3.4vw, 50px); color: #d9d9d9; }
@media (max-width: 820px) { .forest-card { grid-template-columns: 1fr; } }

/* ROOTS meaning */
.meaning { display: grid; gap: clamp(14px, 2.2vh, 24px); margin-top: clamp(20px, 3vh, 32px); }
.meaning__row { position: relative; display: flex; padding-left: 28px; }
.meaning__bar { flex: 1; display: flex; align-items: center; min-height: 76px; padding: 14px 20px 14px clamp(56px, 6vw, 84px); border-radius: 0 12px 12px 12px; background: var(--sage); color: var(--sage-text); font-size: clamp(15px, 1.35vw, 21px); line-height: 1.35; letter-spacing: -0.01em; }
.meaning__letter { position: absolute; left: 0; top: 0; width: clamp(50px, 5vw, 66px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: var(--gold); color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.03em; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
@media (max-width: 560px) { .meaning__row { padding-left: 18px; } .meaning__bar { padding-left: 52px; } .meaning__letter { width: 46px; font-size: 22px; } }

/* ---------- Accordion ---------- */
.acc { width: 100%; }
.acc__item { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px);
  padding: clamp(12px, 1.7vh, 18px) clamp(14px, 1.8vw, 28px);
  background: transparent; border: 0; text-align: left; cursor: pointer;
  color: rgba(255, 255, 255, 0.65); transition: color 0.2s, background-color 0.2s;
}
.acc__btn:hover { color: #fff; }
.acc__num { width: 2ch; flex: none; font-size: 13px; font-variant-numeric: tabular-nums; opacity: 0.7; }
.acc__week { width: clamp(60px, 6vw, 88px); flex: none; font-size: clamp(11px, 0.95vw, 14px); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.acc__title { flex: 1; min-width: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(19px, 2.4vw, 36px); }
.acc--weeks .acc__title { font-size: clamp(17px, 1.9vw, 28px); }
.acc__plus { width: clamp(18px, 1.7vw, 26px); height: clamp(18px, 1.7vw, 26px); transition: transform 0.2s; }
.acc__item.is-open .acc__plus { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel-inner { overflow: hidden; }
.acc__body { padding: 0 clamp(16px, 2vw, 32px) clamp(14px, 2vh, 24px) clamp(44px, 6vw, 92px); font-size: clamp(15px, 1.35vw, 21px); line-height: 1.45; letter-spacing: -0.01em; }
.acc--faq .acc__item.is-open .acc__btn { background: var(--sage); color: var(--sage-text); border-radius: 14px 14px 0 0; }
.acc--faq .acc__item.is-open .acc__panel { background: var(--sage); color: var(--sage-text-2); border-radius: 0 0 14px 14px; }
.acc--weeks .acc__item.is-open .acc__btn { background: var(--tan); color: var(--tan-text); border-radius: 14px 14px 0 0; }
.acc--weeks .acc__item.is-open .acc__panel { background: var(--tan); color: var(--tan-text); border-radius: 0 0 14px 14px; }
.acc--weeks .acc__body { padding-left: clamp(88px, 9.5vw, 140px); }
@media (max-width: 560px) { .acc__body, .acc--weeks .acc__body { padding-left: 16px; } .acc__week { width: 50px; font-size: 10px; } }

/* ---------- Problem ---------- */
.problem { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 24px); margin-top: clamp(22px, 3.5vh, 40px); }
.problem__card { padding: clamp(18px, 2vw, 28px); border-radius: var(--radius-sm); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(3px); }
.problem__card .num { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 600; color: var(--gold-bright); letter-spacing: -0.03em; line-height: 1; }
.problem__card h3 { margin-top: 12px; }
.problem__card p { margin-top: 10px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; opacity: .9; }
@media (max-width: 820px) { .problem { grid-template-columns: 1fr; } }
.beyond { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(14px, 2.4vw, 36px); align-items: stretch; }
.beyond__text { display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px); }
.beyond__photos { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 820px) { .beyond { grid-template-columns: 1fr; } .beyond__photos { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .beyond__photos .photo { aspect-ratio: 4/3; min-height: 0; } }

/* ---------- Course ---------- */
.connection { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(14px, 2.4vw, 36px); }
.connection__text { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(18px, 3vh, 32px); }
.connection__title { font-size: clamp(30px, 4.4vw, 66px); }
.connection__right { display: grid; grid-template-rows: 1fr auto; gap: clamp(12px, 2vh, 22px); }
@media (max-width: 820px) { .connection { grid-template-columns: 1fr; } .connection__right .photo { aspect-ratio: 3/2; min-height: 0; } }

.outcomes { margin-top: clamp(18px, 3vh, 30px); }
.outcome { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-sm); background: rgba(156, 117, 97, 0.9); border: 1px solid rgba(226, 205, 189, 0.35); color: #fff; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28); }
.outcome__text { padding: clamp(16px, 1.8vw, 27px); }
.outcome__text p { margin-top: 10px; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.45; }
.outcome__img { aspect-ratio: 4 / 3; overflow: hidden; border-top: 1px solid rgba(255,255,255,.15); margin-top: auto; }
.outcome__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.outcome:hover .outcome__img img { transform: scale(1.05); }

.topic { display: grid; gap: clamp(22px, 3.5vh, 40px); }
.topic__head { width: min(100%, 900px); margin-inline: auto; text-align: center; padding: clamp(22px, 4vh, 42px) clamp(20px, 4vw, 60px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.18); backdrop-filter: blur(2px); box-shadow: 0 24px 65px rgba(0,0,0,.24); }
.topic__head h3 { font-size: clamp(28px, 4.2vw, 64px); line-height: 1.14; }
.topic__head h3 span { display: block; }
.notes { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 34px); max-width: 820px; margin-inline: auto; }
.notes--5 { max-width: none; }
.note {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: clamp(150px, 15vw, 225px); aspect-ratio: 1.16; padding: clamp(12px, 1.4vw, 22px);
  border-radius: 4px; border: 1px solid rgba(222, 197, 176, 0.7); background: var(--tan); color: var(--tan-text);
  text-align: center; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  transform: rotate(var(--r, 0deg));
}
.note::before { content: ""; position: absolute; left: 50%; top: 0; width: 42%; height: 9px; transform: translate(-50%, -50%); background: rgba(241, 223, 207, 0.5); }
.note p { font-family: Georgia, serif; font-weight: 500; font-size: clamp(14px, 1.35vw, 21px); line-height: 1.22; letter-spacing: -0.02em; }
@media (max-width: 420px) { .note { width: calc(50% - 8px); } .notes { gap: 16px; } }

.weeks { display: flex; flex-direction: column; }
.weeks__head { border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: clamp(12px, 1.8vh, 18px); text-align: center; }
.weeks__head h3 { font-size: clamp(24px, 3.4vw, 52px); }
.weeks .acc { margin-top: clamp(12px, 1.8vh, 18px); }

.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cta-inline p { font-family: var(--display); font-size: clamp(18px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; }

/* ---------- Who ---------- */
.who-head { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(14px, 3vw, 46px); align-items: end; }
.who-head .panel--tan { font-size: clamp(15px, 1.3vw, 20px); line-height: 1.4; }
@media (max-width: 820px) { .who-head { grid-template-columns: 1fr; } }
.fits { margin-top: clamp(16px, 2.6vh, 28px); }
.fit {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(16px, 1.8vw, 27px); border-radius: var(--radius-sm);
  background: rgba(183, 151, 125, 0.95); border: 1px solid var(--tan-edge); color: var(--tan-text);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  min-height: 220px;
}
.fit:hover { transform: translateY(-4px); background: #c4a58b; box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36); }
.fit__deco { position: absolute; right: 0; top: 0; height: 100%; width: 66%; opacity: 0.7; pointer-events: none; }
.fit__head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(111, 76, 55, 0.2); }
.fit__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.6; }
.fit__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(111, 76, 55, 0.2); background: rgba(234, 211, 192, 0.45); }
.fit__icon .icon { width: 20px; height: 20px; stroke-width: 1.7; }
.fit__body { position: relative; z-index: 1; margin-top: auto; padding-top: 16px; }
.fit__body p { margin-top: 8px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.4; }

/* ---------- Instructor ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 36px); align-items: stretch; }
.member { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1.2fr; gap: clamp(16px, 2vw, 28px); align-items: start; padding: clamp(16px, 2vw, 28px); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(3px); }
.member__photo { align-self: stretch; min-width: 0; min-height: 260px; }
.member__photo.is-empty { border: 1px dashed rgba(255,255,255,.4); background: rgba(0,0,0,.18); box-shadow: none; display: grid; place-items: center; }
.member__photo.is-empty img { display: none; }
.member__photo.is-empty::after { content: attr(data-empty); padding: 16px; text-align: center; font-size: 13px; opacity: .7; line-height: 1.5; }
.member .copy { margin-top: clamp(10px, 1.6vh, 16px); font-size: clamp(14px, 1.1vw, 17px); }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .member { grid-template-columns: 1fr; } .member__photo { aspect-ratio: 4 / 3; min-height: 0; } }
.instructor-quote { display: flex; align-items: center; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.5; margin-bottom: 0; margin-inline: 0; }
.instructor-quote p { font-style: normal; }
.instructor-name { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.02em; }
.instructor-role { font-size: 14px; opacity: .8; margin-top: 2px; }

/* ---------- Real world ---------- */
.cases { margin-top: clamp(16px, 2.6vh, 28px); }
.case {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  border-radius: clamp(12px, 1.2vw, 18px); border: 1px solid var(--blue-edge); background: var(--blue); color: var(--blue-text);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38); }
.case__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid rgba(127, 169, 196, 0.6); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case__img--zoom img { transform: scale(1.12); }
.case:hover .case__img img { transform: scale(1.05); }
.case:hover .case__img--zoom img { transform: scale(1.17); }
.case__icon { position: absolute; left: 5%; top: 5%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(54, 94, 116, 0.2); background: rgba(217, 239, 255, 0.9); color: #315e74; backdrop-filter: blur(4px); box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.case__icon .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.case__title { display: flex; align-items: center; justify-content: flex-end; min-height: 3.4em; padding: 5% 8%; text-align: right; font-size: clamp(14px, 1.1vw, 17px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }

/* ---------- Final CTA ---------- */
.signup { text-align: center; }
.signup__card { width: 100%; max-width: 940px; margin-inline: auto; padding: clamp(30px, 6vh, 62px) clamp(22px, 6vw, 88px); border-radius: clamp(20px, 2vw, 32px); border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.35); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42); backdrop-filter: blur(3px); }
.signup__kicker { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; font-size: clamp(18px, 2.3vw, 35px); color: rgba(255, 255, 255, 0.85); }
.signup__title { margin-top: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.4vw, 66px); }
.signup__rule { width: min(320px, 60%); height: 1px; margin: clamp(16px, 2.8vh, 26px) auto; background: rgba(255, 255, 255, 0.35); }
.signup__copy { max-width: 35ch; margin-inline: auto; white-space: pre-line; font-size: clamp(16px, 1.6vw, 26px); line-height: 1.35; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.9); }
.signup .btn--lg { margin: clamp(20px, 4vh, 36px) auto 0; }
.signup__fine { margin-top: 14px; font-size: 14px; opacity: .7; }

/* ---------- Footer ---------- */
.footer { background: #070907; border-top: 1px solid rgba(255,255,255,.08); padding: calc(var(--nav-height) + 36px) var(--gutter) 40px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__brand b { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.footer h2 { margin-top: 22px; font-size: clamp(30px, 4vw, 56px); line-height: 0.98; letter-spacing: -0.045em; }
.footer .copy { margin-top: 18px; max-width: 46ch; color: rgba(255,255,255,.65); }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.footer__mail:hover { text-decoration-color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .eyebrow { margin-bottom: 4px; }
.footer__col a { text-decoration: none; color: rgba(255,255,255,.75); font-size: 16px; }
.footer__col a:hover { color: #fff; }
.footer__socials { display: flex; gap: 12px; margin-top: 8px; }
.footer__socials a { width: 30px; height: 30px; }
.footer__bottom { margin-top: clamp(32px, 5vh, 56px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.55s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.reveal--scale { transform: translateY(40px) scale(0.92) rotate(calc(var(--r, 0deg) - 4deg)); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1) rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal--scale { opacity: 1; transform: rotate(var(--r, 0deg)); transition: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
