/* ============================================================
   THE NUDGE ACADEMY — varsity athletics × AI academy
   Two themes: light (yellow on white, default) and dark (ink).
   Type: Archivo (wide, heavy) + Instrument Sans + Spline Sans Mono.
   ============================================================ */

:root {
  /* brand constants */
  --gold: #f9a80a;
  --gold-2: #ffc24b;
  --gold-deep: #b37500;
  --ink: #0c0b09;
  --cream: #f6efdf;
  --cream-2: #efe5cd;

  /* light theme (default): yellow on white */
  --bg: #ffffff;
  --bg-warm: #fff8ea;
  --surface: #ffffff;
  --text: #14120d;
  --muted: #6b6350;
  --line: rgba(12, 11, 9, 0.16);
  --border: #14120d;
  --shadow: rgba(12, 11, 9, 0.16);
  --accent-text: var(--gold-deep);
  --wm-stroke: rgba(12, 11, 9, 0.1);
  --nav-bg: #ffffff;
  --input-bg: #ffffff;
  --grain-o: 0.55;

  --disp: "Archivo", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "Spline Sans Mono", monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #0c0b09;
  --bg-warm: #14110c;
  --surface: #161310;
  --text: #f6efdf;
  --muted: #a99f8a;
  --line: rgba(246, 239, 223, 0.14);
  --border: rgba(246, 239, 223, 0.2);
  --shadow: rgba(249, 168, 10, 0.22);
  --accent-text: var(--gold);
  --wm-stroke: rgba(246, 239, 223, 0.07);
  --nav-bg: #0c0b09;
  --input-bg: #161310;
  --grain-o: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s, color 0.35s;
}

::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* theme-conditional elements */
.only-dark { display: none !important; }
html[data-theme="dark"] .only-dark { display: initial !important; }
html[data-theme="dark"] .only-light { display: none !important; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  opacity: var(--grain-o);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: "▸ "; }
.eyebrow--ink { color: var(--ink); opacity: 0.75; }

.section-head { max-width: 60rem; padding: 0 var(--pad); margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
.section-head h2 em { font-style: normal; color: var(--gold); }
html:not([data-theme="dark"]) .section-head h2 em {
  color: var(--ink);
  background: linear-gradient(transparent 55%, var(--gold) 55%, var(--gold) 92%, transparent 92%);
  padding: 0 0.08em;
}
.section-head__sub {
  margin-top: 1.4rem; max-width: 40rem;
  color: var(--muted); font-size: 1.1rem;
}
.section-head--ink h2 { color: var(--ink); }
.section-head--ink .section-head__sub { color: rgba(12, 11, 9, 0.65); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--disp); font-weight: 800; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.85rem; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s, color 0.2s;
}
.btn--lg { font-size: 0.95rem; padding: 1.05rem 1.7rem; }

/* the nudge: a quick jerky side-to-side jolt, like an elbow to the ribs */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(6px); }
  35% { transform: translateX(-4px); }
  55% { transform: translateX(5px); }
  75% { transform: translateX(-2px); }
}
.btn:hover, .btn:focus-visible { animation: nudge 0.4s linear; }

.btn--gold {
  background: var(--gold); color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--shadow);
}
.btn--gold:hover { background: var(--gold-2); }
html[data-theme="dark"] .btn--gold { border-color: transparent; }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--accent-text); }
.btn--ink {
  background: var(--ink); color: var(--cream);
  box-shadow: 4px 4px 0 rgba(12, 11, 9, 0.22);
}
.btn--ink:hover { color: var(--gold); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2.2rem;
  padding: 0.35rem var(--pad);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.35s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__logo { height: 76px; width: auto; display: block; }
.nav__logo--plate { border-radius: 5px; }

.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent-text); }

.theme-toggle {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: none; border: 2px solid var(--border); color: var(--text);
  font-size: 1.05rem; line-height: 1; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--accent-text); transform: rotate(15deg); }
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__burger span { width: 24px; height: 2px; background: var(--accent-text); transition: 0.25s; }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; z-index: 99;
  background: var(--bg); border-bottom: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 1.6rem var(--pad) 2rem;
}
.mobile-menu a {
  color: var(--text); text-decoration: none;
  font-family: var(--disp); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; font-size: 1.15rem;
}
.mobile-menu .btn { align-self: flex-start; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(7.5rem, 14vh, 11rem) 0 clamp(3rem, 6vh, 5rem);
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(249, 168, 10, 0.18), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(249, 168, 10, 0.1), transparent 60%),
    var(--bg);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem; align-items: center;
  padding: 0 var(--pad); max-width: 84rem; margin: 0 auto;
}
.hero__title {
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  display: flex; flex-direction: column;
  margin: 0.5rem 0 1.6rem;
}
.hero__line--gold { color: var(--gold); }
html:not([data-theme="dark"]) .hero__line--gold {
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}
html[data-theme="dark"] .hero__line--gold {
  text-shadow: 0 0 60px rgba(249, 168, 10, 0.35);
}
.hero__sub { max-width: 34rem; color: var(--muted); font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 3rem; padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-family: var(--disp); font-weight: 900; font-stretch: 118%;
  font-size: 1.7rem; color: var(--accent-text);
}
.hero__stats dd {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); max-width: 11rem;
}

/* hero art: framed illustration + logo patch */
.hero__art { position: relative; display: grid; place-items: center; }
.hero__frame {
  position: relative; z-index: 2;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--gold);
  transform: rotate(-1.5deg);
  background: var(--cream);
  max-width: 34rem;
}
.hero__frame img { display: block; width: 100%; height: auto; }
.hero__patch {
  position: absolute; z-index: 3;
  width: clamp(5.5rem, 8vw, 7.5rem); height: auto;
  top: -2.2rem; right: 4%;
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 6px 6px 0 rgba(12, 11, 9, 0.25);
  transform: rotate(7deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-12px); }
}
.hero__rings { position: absolute; inset: 0; z-index: 1; }
.hero__rings::before, .hero__rings::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  border: 1px solid rgba(249, 168, 10, 0.55); border-radius: 50%;
}
.hero__rings::before { width: 30rem; height: 30rem; animation: spin 40s linear infinite; border-style: dashed; }
.hero__rings::after { width: 38rem; height: 38rem; opacity: 0.5; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__badge {
  position: absolute; z-index: 4; background: var(--surface);
  border: 2px solid var(--ink); padding: 0.6rem 0.9rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text);
  box-shadow: 5px 5px 0 var(--gold);
}
html[data-theme="dark"] .hero__badge { border-color: var(--line); }
.hero__badge span { display: block; color: var(--accent-text); font-weight: 600; }
.hero__badge--a { top: 4%; left: -2%; animation: bob 6s 0.6s ease-in-out infinite; }
.hero__badge--b { bottom: -4%; right: 2%; animation: bob 6.6s 1.2s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__watermark {
  position: absolute; bottom: -0.16em; left: 50%; transform: translateX(-50%);
  font-family: var(--disp); font-weight: 900; font-stretch: 125%;
  font-size: clamp(9rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--wm-stroke);
  pointer-events: none; user-select: none; white-space: nowrap; z-index: 1;
}

/* hero load stagger */
.hero__el { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
.hero__copy > .hero__el:nth-of-type(1) { animation-delay: 0.05s; }
.hero__title .hero__line:nth-child(1) { animation-delay: 0.15s; }
.hero__title .hero__line:nth-child(2) { animation-delay: 0.26s; }
.hero__title .hero__line:nth-child(3) { animation-delay: 0.38s; }
.hero__sub { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.62s; }
.hero__stats { animation-delay: 0.74s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__art { opacity: 0; animation: rise 1.1s 0.45s var(--ease) forwards; }

/* ============ TICKER ============ */
.ticker {
  background: var(--gold); color: var(--ink);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  overflow: hidden; transform: rotate(-1.2deg) scale(1.02);
  position: relative; z-index: 3;
}
.ticker__track {
  display: flex; gap: 2.2rem; align-items: center;
  width: max-content; padding: 0.7rem 0;
  animation: ticker 26s linear infinite;
}
.ticker__track span {
  font-family: var(--disp); font-weight: 900; font-stretch: 120%;
  text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.03em;
  white-space: nowrap;
}
.ticker__track i { font-style: normal; font-size: 0.9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ METHOD ============ */
.method { padding: clamp(5rem, 10vh, 8rem) 0 clamp(4rem, 8vh, 7rem); background: var(--bg-warm); }
.method__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  padding: 0 var(--pad); max-width: 82rem; margin: 0 auto;
}
.method__card {
  position: relative; background: var(--surface);
  border: 2px solid var(--border); padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: 8px 8px 0 var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.method__card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--shadow); }
.method__card:nth-child(2) { transform: translateY(1.6rem); }
.method__card:nth-child(2):hover { transform: translate(-3px, calc(1.6rem - 3px)); }
.method__num {
  font-family: var(--disp); font-weight: 900; font-stretch: 125%;
  font-size: 4.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  display: block; margin-bottom: 1.2rem;
}
html:not([data-theme="dark"]) .method__num { -webkit-text-stroke-width: 2px; }
.method__card h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.method__card p { color: var(--muted); font-size: 0.98rem; }
.method__tag {
  display: inline-block; margin-top: 1.4rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--gold); border: 1px solid var(--ink);
  padding: 0.35rem 0.7rem;
}

/* ---------- hazard stripe divider ---------- */
.stripe {
  height: 22px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 18px, var(--ink) 18px 36px);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}

/* ============ PROGRAMS ============ */
.programs {
  background: var(--cream); color: var(--ink);
  padding: clamp(5rem, 10vh, 8rem) 0;
}
.programs__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  padding: 0 var(--pad); max-width: 82rem; margin: 0 auto;
}
.program {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream-2); border: 2px solid var(--ink);
  padding: 0 1.6rem 1.8rem;
  box-shadow: 8px 8px 0 rgba(12, 11, 9, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.program:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 rgba(12, 11, 9, 0.16); }
.program--feature { background: var(--gold); box-shadow: 8px 8px 0 rgba(12, 11, 9, 0.28); }
.program__art {
  margin: 0 -1.6rem 1.5rem;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.program__art img {
  display: block; width: 100%; height: 12.5rem; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.program:hover .program__art img { transform: scale(1.05); }
.program header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--ink); padding-bottom: 0.8rem;
}
.program__no { font-weight: 600; }
.program h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 0.9rem; }
.program__pitch { font-size: 0.98rem; margin-bottom: 1.4rem; color: rgba(12, 11, 9, 0.78); }
.program ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.program li {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.55rem 0 0.55rem 1.4rem; position: relative;
  border-bottom: 1px dashed rgba(12, 11, 9, 0.25);
}
.program li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); }
.program--feature li::before { color: var(--ink); }
.program .btn { align-self: flex-start; }
.program__flag {
  position: absolute; top: 0.9rem; right: -0.5rem; z-index: 2;
  background: var(--ink); color: var(--gold);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0.45rem 0.8rem;
  transform: rotate(2deg);
}

/* ---------- Drop-in (P·01) — .nudges block ---------- */
.nudges {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  background: var(--ink); color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(12, 11, 9, 0.28);
  padding: 2.4rem 2.2rem;
  max-width: calc(82rem - 2 * var(--pad)); margin: 0 auto 2.5rem;
}
@media (min-width: 1001px) {
  .nudges { margin-left: max(var(--pad), calc((100% - 82rem) / 2 + var(--pad))); margin-right: max(var(--pad), calc((100% - 82rem) / 2 + var(--pad))); }
}
.nudges__flag { top: -1rem; right: 1.4rem; background: var(--gold); color: var(--ink); }
.nudges__intro header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.4rem; color: var(--gold);
  border-bottom: 2px solid rgba(249, 168, 10, 0.5); padding-bottom: 0.8rem;
}
.nudges h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 0.9rem; color: var(--cream); }
.nudges .program__pitch { color: rgba(246, 239, 223, 0.8); }
.nudges .program__pitch strong { color: var(--gold); }

.nudges__packs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.6rem;
}
.pack {
  position: relative; display: flex; flex-direction: column;
  background: #161310; border: 1px solid rgba(246, 239, 223, 0.18);
  padding: 1.4rem 1.3rem;
}
.pack--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pack__flag {
  position: absolute; top: -0.85rem; right: 0.9rem;
  background: var(--cream); color: var(--ink);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.35rem 0.65rem; transform: rotate(2deg);
  border: 1px solid var(--ink);
}
.pack__name {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: inherit; opacity: 0.75;
}
.pack__price {
  font-family: var(--disp); font-weight: 900; font-stretch: 120%;
  font-size: 2.3rem; line-height: 1.1; margin: 0.3rem 0 0.9rem;
  color: var(--gold);
}
.pack--gold .pack__price { color: var(--ink); }
.pack__price em {
  display: block; font-style: normal;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7;
}
.pack ul { list-style: none; flex: 1; margin-bottom: 1.2rem; }
.pack li {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  padding: 0.45rem 0 0.45rem 1.3rem; position: relative;
  border-bottom: 1px dashed rgba(246, 239, 223, 0.18);
}
.pack--gold li { border-bottom-color: rgba(12, 11, 9, 0.3); }
.pack li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.pack--gold li::before { color: var(--ink); }
.pack .btn { align-self: flex-start; }
.pack--gold .btn { box-shadow: 4px 4px 0 rgba(12, 11, 9, 0.35); }
/* founding lifer: compact card spanning both pack columns */
.pack--founding {
  grid-column: 1 / -1;
  gap: 1rem;
  border: 2px dashed rgba(249, 168, 10, 0.65);
  padding: 1.2rem 1.3rem;
}
.pack--founding__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; flex-wrap: wrap;
}
.pack--founding__price { display: flex; flex-direction: column; }
.pack--founding .pack__price { font-size: 1.9rem; margin-bottom: 0; }
.pack--founding__note {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em;
  color: rgba(246, 239, 223, 0.75);
  border-top: 1px dashed rgba(246, 239, 223, 0.18); padding-top: 0.9rem;
}
.nudges__fine {
  margin-top: 1.1rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(246, 239, 223, 0.55);
}

.nudges__topics {
  border-left: 1px solid rgba(246, 239, 223, 0.18); padding-left: 2.2rem;
}
.nudges__topics h4 {
  font-family: var(--disp); font-weight: 900; font-stretch: 118%;
  text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em;
  color: var(--gold); margin-bottom: 1.3rem;
}
.track { margin-bottom: 1.4rem; }
.track__label {
  display: inline-block;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
  background: var(--gold); padding: 0.3rem 0.6rem; margin-bottom: 0.6rem;
}
.track ul { list-style: none; }
.track li {
  font-size: 0.95rem; color: rgba(246, 239, 223, 0.85);
  padding: 0.4rem 0 0.4rem 1.2rem; position: relative;
  border-bottom: 1px dashed rgba(246, 239, 223, 0.14);
}
.track li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; }
.track__more {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-top: 1rem;
}

/* ============ PLAYBOOK ============ */
.playbook { padding: clamp(5rem, 10vh, 8rem) 0; background: var(--bg); }
.playbook__inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem; padding: 0 var(--pad); max-width: 82rem; margin: 0 auto;
  align-items: start;
}
.playbook__head { position: sticky; top: 7rem; }
.playbook__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.playbook__crest {
  width: 8rem; height: auto; margin-top: 2.5rem;
  transform: rotate(-6deg);
}
.playbook__crest--plate {
  border: 3px solid var(--line); border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(249, 168, 10, 0.3);
}

.module { border-bottom: 1px solid var(--line); }
.module:first-of-type { border-top: 1px solid var(--line); }
.module summary {
  display: grid; grid-template-columns: 5.2rem 1fr auto;
  align-items: center; gap: 1.2rem;
  padding: 1.45rem 0.4rem; cursor: pointer; list-style: none;
  transition: background 0.2s, padding-left 0.25s var(--ease);
}
.module summary::-webkit-details-marker { display: none; }
.module summary:hover { background: rgba(249, 168, 10, 0.08); padding-left: 0.9rem; }
.module__wk {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em;
  color: var(--accent-text);
}
.module__name {
  font-family: var(--disp); font-weight: 800; font-stretch: 114%;
  text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.module__plus { position: relative; width: 16px; height: 16px; }
.module__plus::before, .module__plus::after {
  content: ""; position: absolute; background: var(--accent-text); inset: 0; margin: auto;
  transition: transform 0.3s var(--ease);
}
.module__plus::before { width: 16px; height: 2px; }
.module__plus::after { width: 2px; height: 16px; }
.module[open] .module__plus::after { transform: rotate(90deg); }
.module__body { padding: 0 0.4rem 1.6rem 6.8rem; color: var(--muted); max-width: 36rem; }
.module[open] .module__body { animation: rise 0.45s var(--ease); }

/* ============ STATS BAND ============ */
.band {
  background: var(--gold); color: var(--ink);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: clamp(2.5rem, 6vh, 4rem) 0;
}
.band__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding: 0 var(--pad); max-width: 82rem; margin: 0 auto;
}
.band__stat { text-align: center; }
.band__stat strong {
  display: block;
  font-family: var(--disp); font-weight: 900; font-stretch: 122%;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1;
}
.band__stat span {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.8;
}

/* ============ ALUMNI ============ */
.alumni { padding: clamp(5rem, 10vh, 8rem) 0; background: var(--bg-warm); }
.alumni__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  padding: 0 var(--pad); max-width: 82rem; margin: 0 auto;
}
.quote {
  background: var(--surface); border: 2px solid var(--border);
  padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1.6rem;
  box-shadow: 8px 8px 0 var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--shadow); }
.quote::before {
  content: "“"; font-family: var(--disp); font-weight: 900;
  font-size: 4rem; line-height: 0.6; color: var(--gold);
  display: block; margin-bottom: -1.4rem; margin-top: 0.6rem;
}
html:not([data-theme="dark"]) .quote::before { -webkit-text-stroke: 1px var(--ink); }
.quote blockquote { font-size: 1.02rem; color: var(--text); flex: 1; }
.quote figcaption strong {
  display: block; font-family: var(--disp); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; font-size: 0.9rem;
}
.quote figcaption span {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.quote--gold { background: var(--gold); border-color: var(--ink); }
.quote--gold blockquote, .quote--gold figcaption strong { color: var(--ink); }
.quote--gold::before { color: var(--cream); -webkit-text-stroke: 1px var(--ink); }
.quote--gold figcaption span { color: rgba(12, 11, 9, 0.6); }

/* ============ CTA ============ */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(6rem, 12vh, 9rem) var(--pad);
  background:
    radial-gradient(50rem 30rem at 50% 120%, rgba(249, 168, 10, 0.2), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__inner { max-width: 46rem; margin: 0 auto; position: relative; z-index: 2; }
.cta__crest {
  width: 5.2rem; height: auto; margin-bottom: 1.8rem;
  border: 3px solid var(--ink); border-radius: 10px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--gold);
  transform: rotate(-5deg);
  animation: bob 7s ease-in-out infinite;
}
.cta__crest--plate { background: var(--gold); }
.cta h2 { font-size: clamp(3.4rem, 9vw, 6.5rem); }
.cta h2 span { color: var(--gold); }
html:not([data-theme="dark"]) .cta h2 span {
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}
html[data-theme="dark"] .cta h2 span { text-shadow: 0 0 60px rgba(249, 168, 10, 0.4); }
.cta p { color: var(--muted); margin-top: 1.4rem; }
.cta__form {
  display: flex; gap: 0.8rem; justify-content: center;
  margin-top: 2.4rem; flex-wrap: wrap;
}
.cta__form input {
  background: var(--input-bg); border: 2px solid var(--border);
  color: var(--text); font-family: var(--mono); font-size: 0.9rem;
  padding: 1rem 1.2rem; min-width: 20rem; outline: none;
  transition: border-color 0.2s;
}
.cta__form input:focus { border-color: var(--gold); }
.cta__form input::placeholder { color: var(--muted); opacity: 0.7; }
.cta__done { color: var(--accent-text) !important; font-family: var(--mono); letter-spacing: 0.06em; }
.cta__fine {
  font-family: var(--mono); font-size: 0.72rem !important;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 2rem !important;
}

/* ============ FOOTER (always ink) ============ */
.footer { border-top: 3px solid var(--gold); background: #080706; color: var(--cream); }
.footer__top {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 3rem; align-items: center;
  padding: 3rem var(--pad); max-width: 82rem; margin: 0 auto;
}
.footer__logo { height: 64px; width: auto; display: block; border-radius: 6px; }
.footer__nav { display: flex; gap: 1.8rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a {
  color: #a99f8a; text-decoration: none;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; transition: color 0.2s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__motto {
  font-family: var(--disp); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; font-size: 0.95rem; line-height: 1.15;
  color: var(--gold); text-align: right;
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem var(--pad); max-width: 82rem; margin: 0 auto;
  border-top: 1px solid rgba(246, 239, 223, 0.12);
  color: #a99f8a; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.method__card.reveal:nth-child(2).is-in { transform: translateY(1.6rem); }

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; margin-top: 0.5rem; }
  .hero__rings::before { width: 22rem; height: 22rem; }
  .hero__rings::after { width: 28rem; height: 28rem; }
  .method__grid, .programs__grid, .alumni__grid { grid-template-columns: 1fr; max-width: 36rem; }
  .method__card:nth-child(2), .method__card.reveal:nth-child(2).is-in { transform: none; }
  .nudges { grid-template-columns: 1fr; margin-left: var(--pad); margin-right: var(--pad); padding: 1.8rem 1.4rem; }
  .nudges__topics { border-left: 0; padding-left: 0; border-top: 1px solid rgba(246, 239, 223, 0.18); padding-top: 1.8rem; }
  .nudges__packs { grid-template-columns: 1fr; }
  .playbook__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .playbook__head { position: static; }
  .playbook__crest { display: none; }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; display: flex; }
  .footer__motto { text-align: center; }
}
@media (max-width: 760px) {
  .nav { gap: 1.1rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo { height: 60px; }
  .hero__stats { display: none; }
  .hero__patch { top: -1.6rem; right: 0; width: 4.6rem; }
  .hero__badge--a { left: 0; }
  .hero__badge--b { right: 0; }
  .module summary { grid-template-columns: 3.4rem 1fr auto; gap: 0.8rem; }
  .module__body { padding-left: 4.6rem; }
  .cta__form input { min-width: 0; width: 100%; }
  .cta__form .btn { width: 100%; justify-content: center; }
  .band__grid { gap: 1.6rem; }
}

/* reduced motion: disable decorative/large motion, but keep the button
   nudge — it's a brief, small-amplitude micro-interaction the brand needs */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__el, .hero__art { opacity: 1; transform: none; }
  .btn:hover, .btn:focus-visible {
    animation-name: nudge !important;
    animation-duration: 0.4s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: 1 !important;
  }
  .ticker__track {
    animation-name: ticker !important;
    animation-duration: 26s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}
