/* ============================================================
   小龙虾 AI 编程营 · Friendly Tech Design System (v0.2)
   Direction: Friendly Tech + Editorial Integrity
   吸收：编程猫（IP 多彩）· 童程童美（体系清晰）· 西瓜创客（数据背书 + CTA 强）
   保留：政策对齐 + 教研感 = 我们的差异化
   ============================================================ */

:root {
  /* palette — 升级为更亲和的"Friendly Tech" */
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --cream: #FFFBF2;
  --paper: #FFFFFF;
  --mist:  #F5F0E3;

  --ember: #FF6B35;
  --ember-d: #E84E1C;
  --ember-l: #FFE4D3;

  --mint: #00C896;
  --mint-l: #D6F7EC;

  --amber: #FFC83D;
  --amber-l: #FFF3CE;

  --lilac: #8B7FFF;
  --lilac-l: #EAE6FF;

  --sky: #3B82F6;
  --sky-l: #DCEAFE;

  --ok: #16A34A;
  --warn: #EF4444;

  --line: rgba(15,23,42,.09);
  --line-2: rgba(15,23,42,.06);

  --display: "Fraunces", "Noto Serif SC", "Songti SC", ui-serif, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-1: 0 2px 8px rgba(15, 23, 42, .04);
  --sh-2: 0 8px 24px rgba(15, 23, 42, .06);
  --sh-3: 0 20px 48px rgba(15, 23, 42, .08);
  --sh-brand: 0 16px 40px rgba(255, 107, 53, .28);

  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);

  --fs-h1: clamp(40px, 6.5vw, 88px);
  --fs-h2: clamp(32px, 4.5vw, 56px);
  --fs-h3: clamp(20px, 1.7vw, 26px);
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-lede: clamp(17px, 1.3vw, 20px);
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--ember); color: #fff; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
em, i { font-style: normal; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,107,53,.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0,200,150,.04), transparent 40%);
}
main, section, header, footer { position: relative; z-index: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: all .25s ease;
  white-space: nowrap;
  letter-spacing: .02em;
  border: 2px solid transparent;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary {
  background: var(--ember);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover {
  background: var(--ember-d);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(255,107,53,.36);
}
.btn--primary .btn__sub {
  font-size: 11px; font-weight: 500; opacity: .85;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.2);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  position: relative;
  z-index: 50;
}
.topbar__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}
.topbar__tag {
  background: var(--ember); color: #fff;
  padding: 2px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.topbar a {
  color: var(--amber); font-weight: 600;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 1px;
}
.topbar a:hover { color: #fff; border-color: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px; align-items: center;
  background: rgba(255, 251, 242, .88);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  transition: all .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px var(--pad-x);
  background: rgba(255, 251, 242, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-1);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ember);
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(255,107,53,.3);
  transform: rotate(-6deg);
  transition: transform .3s;
}
.nav__brand:hover .nav__logo { transform: rotate(0) scale(1.05); }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav__zh { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav__en {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: .15em;
}
.nav__links {
  display: flex; gap: 28px; justify-content: center;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--ember);
  transition: right .25s ease;
}
.nav__links a:hover { color: var(--ember); }
.nav__links a:hover::after { right: 0; }

.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__actions .btn { padding: 8px 18px; font-size: 14px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px; background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span {
  display: block; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(60px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px; color: var(--ink-2);
  font-weight: 500;
  box-shadow: var(--sh-1);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(0,200,150,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(0,200,150,.2); }
  50%     { box-shadow: 0 0 0 8px rgba(0,200,150,.05); }
}

.hero__title {
  margin-top: 20px;
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__title span { display: block; }
.hero__title em {
  color: var(--ember);
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero__line2 .h-mark {
  background: linear-gradient(180deg, transparent 60%, var(--amber) 60%);
  padding: 0 6px;
}
.hero__line3 .h-hand {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ember);
  position: relative;
  display: inline-block;
}
.hero__line3 .h-hand::after {
  content: "";
  position: absolute; left: 2%; right: 2%; bottom: -4px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  opacity: .55;
  z-index: -1;
  transform: skewX(-4deg);
}
.hero__emoji {
  display: inline-block;
  transform: translateY(-4px) rotate(-10deg);
  animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle {
  0%,100% { transform: translateY(-4px) rotate(-10deg); }
  50%     { transform: translateY(-8px) rotate(6deg); }
}

.hero__lede {
  margin-top: 24px;
  font-size: var(--fs-lede);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.65;
}
.hero__lede strong { color: var(--ink); font-weight: 700; }

.hero__cta {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero__trust {
  margin-top: 36px;
  display: flex; flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

.hero__right {
  position: relative;
  aspect-ratio: 1 / 1.05;
  min-height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-3);
  border: 1px solid var(--line-2);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.hero-card--main {
  left: 8%; top: 10%;
  width: 76%;
  background: linear-gradient(160deg, var(--ember) 0%, #FF8A4C 100%);
  color: #fff;
  z-index: 2;
  transform: rotate(-3deg);
  padding: 32px;
}
.hero-card--main:hover { transform: rotate(-3deg) translateY(-6px); }
.hero-card__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  margin-bottom: 24px;
}
.hero-card__num {
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.hero-card__num .dash {
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin: 0 -4px;
  opacity: .6;
}
.hero-card__label {
  font-size: 14px; font-weight: 500; opacity: .9;
  margin-top: 8px;
}
.hero-card__chips {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.hero-card__chips span {
  padding: 4px 10px;
  background: rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-card--float-1,
.hero-card--float-2,
.hero-card--float-3 {
  width: 160px;
  padding: 16px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.hero-card--float-1 {
  right: 4%;  top: 5%;
  --rot: rotate(4deg);
  transform: var(--rot);
  background: var(--paper);
}
.hero-card--float-2 {
  left: -2%;  bottom: 18%;
  --rot: rotate(-5deg);
  transform: var(--rot);
  background: var(--mint-l);
  animation-delay: -2s;
}
.hero-card--float-3 {
  right: 6%;  bottom: 6%;
  --rot: rotate(3deg);
  transform: var(--rot);
  background: var(--amber-l);
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: var(--rot) translateY(0); }
  50%     { transform: var(--rot) translateY(-8px); }
}

.float-emoji {
  font-size: 28px; line-height: 1;
  margin-bottom: 8px;
}
.float-title { font-weight: 800; font-size: 14px; }
.float-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .35;
  z-index: 0; pointer-events: none;
}
.hero__blob--1 {
  width: 300px; height: 300px;
  background: var(--ember);
  top: -40px; left: -40px;
}
.hero__blob--2 {
  width: 240px; height: 240px;
  background: var(--mint);
  bottom: -40px; right: -20px;
}

.hero__watermark {
  position: absolute;
  right: calc(-1 * var(--pad-x) - 20px);
  bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .4em;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: .5;
}

/* Stats */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #1E293B 100%);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
  color: #fff;
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}
.stats__grid::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,107,53,.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,200,150,.2), transparent 40%);
  pointer-events: none;
}
.stats__grid li {
  position: relative;
  padding: 12px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stats__grid li:last-child { border-right: 0; }
.stats__grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stats__grid strong em {
  font-size: .5em;
  margin-left: 2px;
  color: var(--amber);
}
.stats__grid span {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* Ticker */
.ticker {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 22px 0;
  background: var(--ember);
  color: #fff;
  overflow: hidden;
  transform: rotate(-1deg);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.ticker__track {
  display: inline-flex; gap: 28px;
  white-space: nowrap;
  padding-left: 100%;
  animation: tickerRun 40s linear infinite;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
}
.ticker__dot { color: var(--amber); font-size: 10px; }
@keyframes tickerRun {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Section head common */
section {
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  padding: 6px 14px;
  background: var(--ember-l);
  border-radius: 999px;
}
.section-eyebrow--light { background: rgba(255,255,255,.12); color: var(--amber); }

.section-title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}
.section-title em {
  color: var(--ember);
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 100;
}
.section-title--light { color: #fff; }
.section-title--light em { color: var(--amber); }

.section-lede {
  margin-top: 18px;
  font-size: var(--fs-lede);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.65;
}
.section-lede strong { color: var(--ink); font-weight: 700; }

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 36px 32px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.why-card:hover { transform: translateY(-6px); }
.why-card--orange { background: #FFEEE3; }
.why-card--mint   { background: #DEF8EC; }
.why-card--yellow { background: #FFF4CC; }

.why-card__icon { font-size: 40px; margin-bottom: 14px; }
.why-card__no {
  position: absolute;
  right: 28px; top: 28px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  opacity: .18;
  font-variation-settings: "opsz" 144;
  line-height: 1;
}
.why-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.why-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.why-card p strong { color: var(--ink); font-weight: 700; }
.why-card__tags {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.why-card__tags li {
  padding: 4px 12px;
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* Courses */
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: all .3s;
  display: flex; flex-direction: column;
}
.course:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-3);
  border-color: var(--ember);
}
.course--featured {
  background: linear-gradient(160deg, var(--ink) 0%, #1E293B 100%);
  color: #fff;
  border: 0;
  transform: scale(1.02);
}
.course--featured:hover { transform: scale(1.02) translateY(-8px); }

.course__ribbon {
  position: absolute; top: -14px; right: 24px;
  padding: 6px 14px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 6px 18px rgba(255,200,61,.5);
}
.course__hat {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.course__age {
  font-size: 13px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ember-l);
  color: var(--ember-d);
}
.course--featured .course__age {
  background: rgba(255,107,53,.2);
  color: var(--amber);
}
.course__level {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .1em;
}
.course--featured .course__level { color: rgba(255,255,255,.5); }
.course__emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 6px 12px rgba(15,23,42,.12));
}
.course__name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.course__subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ember);
  margin-top: 6px;
}
.course--featured .course__subtitle { color: var(--amber); }
.course__desc {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.course--featured .course__desc { color: rgba(255,255,255,.75); }

.course__list {
  margin-top: 22px;
  display: grid; gap: 10px;
  font-size: 14px;
}
.course__list li {
  padding: 10px 14px;
  background: rgba(15,23,42,.03);
  border-radius: 12px;
}
.course--featured .course__list li { background: rgba(255,255,255,.06); }

.course__foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.course__price {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ember);
  font-variation-settings: "opsz" 120;
}
.course--featured .course__price { color: var(--amber); }
.course__price em {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: .02em;
}
.course--featured .course__price em { color: rgba(255,255,255,.5); }

.courses__note {
  margin-top: 40px;
  text-align: center;
  padding: 18px 24px;
  background: var(--amber-l);
  border-radius: var(--r-lg);
  font-size: 15px;
  color: var(--ink);
}
.courses__note em {
  color: var(--ember);
  font-weight: 800;
}

/* Roadmap */
.roadmap {
  position: relative;
  padding-left: 64px;
}
.roadmap::before {
  content: "";
  position: absolute; left: 23px; top: 24px; bottom: 24px;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ember) 0 8px,
    transparent 8px 16px
  );
}
.rm {
  position: relative;
  padding: 28px 0 32px;
  display: flex; gap: 24px;
  align-items: flex-start;
}
.rm__bullet {
  position: absolute; left: -64px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ember);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ember);
  box-shadow: var(--sh-2);
  transition: all .3s;
}
.rm:hover .rm__bullet {
  background: var(--ember);
  color: #fff;
  transform: scale(1.1);
}
.rm__body {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  transition: all .3s;
}
.rm:hover .rm__body {
  border-color: var(--ember);
  box-shadow: var(--sh-2);
}
.rm__meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.rm__age {
  font-size: 13px; font-weight: 700;
  color: var(--ink-2);
}
.rm__tag {
  padding: 3px 12px;
  background: var(--ember);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.rm--02 .rm__tag { background: var(--mint); }
.rm--03 .rm__tag { background: var(--amber); color: var(--ink); }
.rm--04 .rm__tag { background: var(--lilac); }

.rm__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.rm__desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.rm__pills {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.rm__pills span {
  padding: 6px 14px;
  background: var(--mist);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Sample */
.sample {
  background: var(--mist);
  max-width: 100%;
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  border-radius: var(--r-xl);
}
.sample > .section-head,
.sample > .sample__wrap,
.sample > .sample__note {
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
}
.sample__wrap {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--sh-2);
  overflow: auto;
}
.sample__table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}
.sample__table thead th {
  padding: 18px 16px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
  border-bottom: 2px solid var(--line);
  font-weight: 600;
}
.sample__table tbody td {
  padding: 18px 16px;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
}
.sample__table tbody tr:last-child td { border-bottom: 0; }
.sample__table tbody tr:hover { background: var(--cream); }
.sample__d {
  font-family: var(--display);
  font-size: 22px !important;
  font-weight: 700;
  color: var(--ember);
  font-variation-settings: "opsz" 120;
  width: 70px;
}
.sample__table b { color: var(--ink); font-weight: 700; }
.sample__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
}

/* Projects */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .3s;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--ember);
}
.project__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c, var(--ember-l));
  display: grid; place-items: center;
  overflow: hidden;
}
.project__cover::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.5), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(15,23,42,.06), transparent 40%);
}
.project__emoji {
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 8px 16px rgba(15,23,42,.15));
  position: relative; z-index: 1;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.project:hover .project__emoji { transform: scale(1.15) rotate(-5deg); }
.project__tag {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 10px;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: var(--ink);
  z-index: 2;
}
.project__body {
  padding: 24px 24px 28px;
}
.project__body h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.project__body p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}
.project__meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  flex-wrap: wrap;
}

/* Faculty */
.founder {
  background: linear-gradient(135deg, var(--ink) 0%, #1E293B 100%);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,.2), transparent 60%);
  pointer-events: none;
}
.founder__portrait {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.founder__avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  display: grid; place-items: center;
  font-size: 70px;
  box-shadow: 0 20px 48px rgba(255,107,53,.4);
}
.founder__badges {
  display: flex; flex-direction: column; gap: 8px;
  align-items: center;
}
.founder__badges span {
  padding: 5px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.founder__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--amber);
  font-weight: 600;
}
.founder__body h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.founder__quote {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  padding-left: 20px;
  border-left: 3px solid var(--ember);
}
.founder__quote s { color: var(--amber); text-decoration-color: var(--ember); }
.founder__sign {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

.faculty__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fac {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: all .3s;
  text-align: center;
}
.fac:hover {
  border-color: var(--ember);
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}
.fac__avatar {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ember-l);
  display: grid; place-items: center;
  font-size: 36px;
}
.fac__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--mist);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.fac h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  min-height: 3em;
}
.fac p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* Voices */
.voices {
  max-width: 100%;
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  background: linear-gradient(160deg, var(--ink) 0%, #0B1F3A 100%);
  border-radius: var(--r-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.voices::before {
  content: "";
  position: absolute;
  right: -120px; top: 40%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.1), transparent 60%);
}
.voices > .section-head,
.voices > .voices__grid {
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.voice {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.voice:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-4px);
}
.voice blockquote {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  font-weight: 500;
  font-variation-settings: "opsz" 120;
  position: relative;
}
.voice blockquote::before {
  content: "\201C";
  position: absolute; top: -28px; left: -8px;
  font-size: 80px;
  color: var(--ember);
  line-height: 1;
  font-family: var(--display);
}
.voice blockquote strong { color: var(--amber); font-weight: 700; }
.voice figcaption {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 14px;
}
.voice__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ember);
  display: grid; place-items: center;
  font-size: 22px;
}
.voice figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.voice figcaption span {
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

/* Honors */
.honors__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.honor-logo {
  padding: 24px 16px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .3s;
}
.honor-logo:hover {
  border-style: solid;
  border-color: var(--ember);
  background: var(--ember-l);
  color: var(--ember-d);
  transform: translateY(-3px);
}
.honors__note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  text-align: center;
}

/* Safety */
.safety {
  background: linear-gradient(160deg, #0B1F3A 0%, var(--ink) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  max-width: 100%;
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.safety::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.safety > * { position: relative; z-index: 1; max-width: var(--max); margin-left: auto; margin-right: auto; }
.safety__title {
  margin-top: 18px;
  margin-bottom: 56px;
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}
.safety__title em { color: var(--amber); font-style: italic; font-variation-settings: "opsz" 120, "SOFT" 100; }
.safety__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.safety__card {
  padding: 30px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.safety__card:hover {
  border-color: var(--ember);
  background: rgba(255,107,53,.08);
  transform: translateY(-4px);
}
.safety__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--amber);
  padding: 3px 10px;
  border: 1px solid rgba(255,200,61,.3);
  border-radius: 999px;
  margin-bottom: 14px;
}
.safety__card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}
.safety__card p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

/* FAQ */
.faq__list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item:has(.faq__q[aria-expanded="true"]) {
  border-color: var(--ember);
}
.faq__q {
  width: 100%;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background .2s;
}
.faq__q:hover { background: var(--cream); }
.faq__plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ember-l);
  position: relative;
  transition: all .3s;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--ember);
  border-radius: 2px;
  transition: transform .3s;
}
.faq__plus::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__plus::after  { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__q[aria-expanded="true"] .faq__plus {
  background: var(--ember);
  transform: rotate(90deg);
}
.faq__q[aria-expanded="true"] .faq__plus::before,
.faq__q[aria-expanded="true"] .faq__plus::after { background: #fff; }
.faq__q[aria-expanded="true"] .faq__plus::after { transform: translate(-50%,-50%) rotate(90deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__a { max-height: 300px; }
.faq__a p {
  padding: 0 28px 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}
.faq__a p strong { color: var(--ink); font-weight: 700; }

/* CTA */
.cta {
  background:
    radial-gradient(ellipse at top, var(--amber-l), transparent 60%),
    linear-gradient(160deg, var(--ember) 0%, #FF8A4C 100%);
  border-radius: var(--r-xl);
  max-width: 100%;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta::before {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 60%);
  top: -120px; left: -80px;
}
.cta::after {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,200,61,.25), transparent 60%);
  bottom: -60px; right: 10%;
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta__sticker {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 18px;
  transform: rotate(-3deg);
}
.cta__title {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}
.cta__title em {
  color: var(--amber);
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 100;
  display: inline-block;
  padding: 0 8px;
  background: var(--ink);
  border-radius: 8px;
  margin: 0 4px;
}
.cta__lede {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
}

.cta__form {
  margin-top: 36px;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  color: var(--ink);
}
.cta__field {
  display: flex; flex-direction: column;
  gap: 6px;
  text-align: left;
}
.cta__field span {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: .05em;
}
.cta__field input,
.cta__field select {
  padding: 12px 14px;
  background: var(--mist);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  transition: all .2s;
  -webkit-appearance: none;
  appearance: none;
}
.cta__field input:focus,
.cta__field select:focus {
  outline: 0;
  border-color: var(--ember);
  background: var(--paper);
}
.cta__field--select { grid-column: span 2; }
.cta__field--select select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F172A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.cta__submit {
  grid-column: span 2;
  width: 100%;
  margin-top: 4px;
}
.cta__micro {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  min-height: 1.4em;
}
.cta__trust {
  margin-top: 24px;
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

/* Footer */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: clamp(56px, 8vw, 88px) var(--pad-x) 32px;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot__brand {
  display: flex; align-items: center; gap: 12px;
}
.foot__mark {
  width: 44px; height: 44px;
  background: var(--ember);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  transform: rotate(-6deg);
}
.foot__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.foot__tagline {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 30ch;
}
.foot__social {
  margin-top: 20px;
  display: flex; gap: 10px;
}
.foot__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  font-size: 18px;
  transition: all .2s;
}
.foot__social a:hover {
  background: var(--ember);
  color: #fff;
  transform: translateY(-2px);
}
.foot__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot__nav > div { display: flex; flex-direction: column; gap: 10px; }
.foot__nav p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--amber);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.foot__nav a {
  font-size: 14px;
  transition: color .2s;
}
.foot__nav a:hover { color: var(--ember); }

.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.foot__legal { max-width: 60ch; font-style: italic; }

/* FAB */
.fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 50;
  display: flex; align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--ember);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--sh-brand);
  transition: all .3s;
  font-weight: 700;
  animation: fabBob 3s ease-in-out infinite;
}
.fab:hover {
  background: var(--ember-d);
  transform: translateY(-4px) scale(1.03);
  animation-play-state: paused;
}
.fab__emoji {
  font-size: 22px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
}
.fab__text { display: flex; flex-direction: column; line-height: 1.15; }
.fab__text strong { font-size: 14px; }
.fab__text em {
  font-size: 11px;
  font-weight: 500;
  opacity: .85;
}
@keyframes fabBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid li:nth-child(3) { border-right: 0; }
  .stats__grid li:nth-child(1),
  .stats__grid li:nth-child(2),
  .stats__grid li:nth-child(3) {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: 24px;
    margin-bottom: 12px;
  }
  .why__grid,
  .courses__grid,
  .projects__grid,
  .safety__grid { grid-template-columns: repeat(2, 1fr); }
  .faculty__grid { grid-template-columns: repeat(2, 1fr); }
  .honors__logos { grid-template-columns: repeat(3, 1fr); }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__portrait { flex-direction: row; }
  .founder__badges { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .founder__quote { text-align: left; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: auto auto; gap: 12px; }
  .nav__links,
  .nav__actions { display: none; }
  .nav__toggle { display: flex; justify-self: end; }

  .nav.is-open .nav__links,
  .nav.is-open .nav__actions {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
  }
  .nav.is-open .nav__links a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--line-2);
  }
  .nav.is-open .nav__actions .btn { justify-content: center; }

  .hero { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 60px; }
  .hero__right { min-height: 420px; max-width: 420px; margin: 0 auto; }
  .hero__watermark { display: none; }

  .voices__grid { grid-template-columns: 1fr; }
  .founder__portrait { flex-direction: column; }
}

@media (max-width: 620px) {
  .topbar__inner { font-size: 12px; }
  .topbar__tag { font-size: 10px; }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
  }
  .stats__grid li {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 16px 8px !important;
    margin-bottom: 0 !important;
  }
  .stats__grid li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12) !important; }
  .stats__grid li:nth-child(n+5) { border-bottom: 0; }

  .why__grid,
  .courses__grid,
  .projects__grid,
  .safety__grid,
  .faculty__grid,
  .honors__logos { grid-template-columns: 1fr; }

  .course--featured { transform: scale(1); }
  .course--featured:hover { transform: translateY(-8px); }

  .roadmap { padding-left: 44px; }
  .roadmap::before { left: 14px; }
  .rm__bullet {
    left: -44px;
    width: 32px; height: 32px;
    font-size: 13px;
  }
  .rm__body { padding: 22px 20px; }

  .cta__form { grid-template-columns: 1fr; }
  .cta__field--select { grid-column: span 1; }
  .cta__submit { grid-column: span 1; }

  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__nav { grid-template-columns: repeat(2, 1fr); }

  .fab { right: 14px; bottom: 14px; padding: 12px 16px 12px 14px; }
  .fab__text strong { font-size: 13px; }
  .fab__text em { font-size: 10px; }
}

@media (max-width: 420px) {
  .foot__nav { grid-template-columns: 1fr; }
  .fab__text { display: none; }
  .fab { padding: 14px; }
  .fab__emoji { width: 28px; height: 28px; font-size: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__emoji,
  .hero-card--float-1,
  .hero-card--float-2,
  .hero-card--float-3,
  .fab { animation: none; }
}
