/* ============================================================
   K–12 AI Universe · by CEAMLS at Morgan State
   Shared stylesheet — dayofai.org-inspired visual language
   Palette: Morgan State navy #16294A + orange #C2611F on white
   ============================================================ */

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

:root {
  /* ── Morgan State two-colour system ───────────────────────
     Navy #16294A + Orange #C2611F only. White is never touched.
     Everything else is a shade/tint of these two hues.
     Both carry white text at WCAG AA (navy ~13:1, orange ~5.3:1).
     Legacy variable names (--blue/--coral/--teal/--yellow) are kept
     so the whole site re-skins from this block alone.            */

  /* Navy — primary. Used for headings, links, educator audiences. */
  --blue:        #16294A;   /* navy            */
  --blue-deep:   #0E1B33;   /* navy, darker    */
  --blue-ink:    #0A1322;   /* navy, deepest   */

  /* Orange — accent. CTAs, highlights, the student audience. */
  --yellow:      #C2611F;   /* was bright yellow — now orange  */
  --coral:       #C2611F;   /* orange          */
  --coral-deep:  #9A4C16;   /* orange, darker (hover)          */
  --orange-lite: #E8834A;   /* orange, lighter — for text on navy */

  /* Teal retired: students now use orange, so these map to it. */
  --teal:        #C2611F;
  --teal-deep:   #9A4C16;

  /* Neutrals — re-tinted from periwinkle to navy */
  --ink:         #0F1D33;
  --muted:       #5B6B82;
  --paper:       #FFFFFF;   /* untouched */
  --mist:        #F4F7FB;
  --line:        #DDE4EE;

  /* Audience accents — orange = students, navy = educators */
  --student:      var(--coral);
  --student-deep: var(--coral-deep);
  --student-tint: #FBEDE3;
  --teacher:      var(--blue);
  --teacher-deep: var(--blue-deep);
  --teacher-tint: #E8EDF4;
  --leader:       var(--blue);
  --leader-deep:  var(--blue-deep);
  --leader-tint:  #E8EDF4;
  --yellow-tint:  #FBEDE3;
  /* Shape */
  --radius:    20px;
  --radius-lg: 28px;
  --pill:      999px;
  --shadow-sm: 0 2px 10px rgba(15,29,51,0.07);
  --shadow-md: 0 10px 30px rgba(15,29,51,0.12);
  --max:       1180px;
  --tr:        0.22s ease;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Focus Mode */
body.focus-mode main > *:not(:focus-within) { opacity: 0.3; transition: opacity var(--tr); }
body.focus-mode main > *:focus-within { opacity: 1; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 0.6rem 1.3rem; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none; transition: top var(--tr);
}
.skip-link:focus { top: 0; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1rem; min-height: 72px;
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1.15;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
.nav-logo .logo-main { font-size: 1.15rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.nav-logo .logo-main span { color: var(--coral); }
.nav-logo .logo-sub { font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 0.1rem; flex-wrap: wrap; }
.nav-links a {
  display: block; color: var(--ink); text-decoration: none;
  font-size: 0.92rem; font-weight: 600; padding: 0.45rem 0.8rem;
  border-radius: var(--pill); transition: background var(--tr), color var(--tr);
}
.nav-links a:hover, .nav-links a:focus { background: var(--mist); color: var(--blue); outline: none; }
.nav-links a[aria-current="page"] { background: var(--blue); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.focus-toggle {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--pill);
  padding: 0.35rem 0.95rem; font-size: 0.82rem; font-weight: 700;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.focus-toggle:hover { border-color: var(--blue); color: var(--blue); }
.focus-toggle[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

.hamburger {
  display: none; background: transparent; border: 2px solid var(--line);
  border-radius: 10px; padding: 0.45rem 0.55rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.5rem; gap: 0.25rem; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 0.65rem 0.9rem; border-radius: 12px; }
}

/* ── Layout utilities ──────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4.5rem 0; }
.section-sm { padding: 2.25rem 0; }
.section-alt { background: var(--mist); }

.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.6rem;
}
.section-label.tone-student { color: var(--student-deep); }
.section-label.tone-leader  { color: var(--coral-deep); }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.8rem;
}
.section-subtitle { font-size: 1.06rem; color: var(--muted); max-width: 62ch; margin-bottom: 2.25rem; }

.highlight { background: linear-gradient(transparent 58%, rgba(194,97,31,0.28) 58%); padding: 0 0.1em; }

.time-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--yellow-tint); border: 1px solid var(--yellow);
  color: var(--coral-deep); border-radius: var(--pill);
  padding: 0.22rem 0.8rem; font-size: 0.78rem; font-weight: 700;
  vertical-align: middle;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.9rem; border-radius: var(--pill);
  font-family: inherit; font-size: 0.98rem; font-weight: 800;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform var(--tr), background var(--tr), color var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 8px 22px rgba(22,41,74,0.35); }
.btn-yellow { background: var(--yellow); color: #fff; }
.btn-yellow:hover { background: var(--coral-deep); box-shadow: 0 8px 22px rgba(194,97,31,0.42); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); box-shadow: 0 8px 22px rgba(194,97,31,0.4); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.88rem; }

/* ── Breadcrumbs ───────────────────────────────────────────── */
.breadcrumbs-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0; font-size: 0.88rem; color: var(--muted); list-style: none;
}
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--muted); }
.breadcrumbs a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ── TL;DR box ─────────────────────────────────────────────── */
.tldr-box {
  background: var(--mist); border-left: 6px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.5rem; margin: 2rem 0; max-width: 72ch;
}
.tldr-box strong {
  color: var(--blue); font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; display: block; margin-bottom: 0.3rem;
}
.tldr-box p { font-size: 0.98rem; color: var(--ink); margin: 0; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue); color: #fff;
  padding: 5.5rem 0 6.5rem;
}
.hero.hero-student { background: var(--teal-deep); }
.hero.hero-leader  { background: var(--coral-deep); }
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--pill); padding: 0.35rem 1.05rem;
  font-size: 0.84rem; font-weight: 700; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.025em;
  max-width: 21ch; margin-bottom: 1.2rem;
}
.hero h1 .hl-yellow { color: var(--yellow); }
.hero-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.65;
  color: rgba(255,255,255,0.88); max-width: 58ch; margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Signature: geometric shape band (dayofai motif) */
.shape-band { position: absolute; left: 0; right: 0; bottom: -6px; height: 74px; pointer-events: none; }
.shape-band svg { width: 100%; height: 100%; display: block; }

/* ── Stat band (blue impact strip) ─────────────────────────── */
.stat-band { background: var(--blue-deep); color: #fff; padding: 4rem 0; }
.stat-band .section-label { color: var(--orange-lite); }
.stat-band .section-title { color: #fff; }
.stat-band .section-subtitle { color: rgba(255,255,255,0.78); }
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 1rem; margin-top: 2.25rem;
}
.stat-item { text-align: left; border-left: 4px solid var(--yellow); padding-left: 1rem; }
.stat-item:nth-child(3n+2) { border-left-color: var(--coral); }
.stat-item:nth-child(3n)   { border-left-color: var(--teal); }
.stat-num {
  display: block; font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #fff;
}
.stat-num .stat-suffix { font-size: 0.55em; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.78); margin-top: 0.4rem; line-height: 1.4; }
.stat-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 2rem; }

/* ── Generic card grids ────────────────────────────────────── */
.card-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.card p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; }
.card .card-body { flex: 1; }

.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.15rem; background: var(--mist);
}
.card.tone-student { border-top: 6px solid var(--student); }
.card.tone-teacher { border-top: 6px solid var(--teacher); }
.card.tone-leader  { border-top: 6px solid var(--leader); }
.card.tone-yellow  { border-top: 6px solid var(--yellow); }
.card.tone-student .card-icon { background: var(--student-tint); }
.card.tone-teacher .card-icon { background: var(--teacher-tint); }
.card.tone-leader  .card-icon { background: var(--leader-tint); }
.card.tone-yellow  .card-icon { background: var(--yellow-tint); }

.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  margin-top: 1.4rem; padding: 0.55rem 1.35rem; border-radius: var(--pill);
  font-size: 0.9rem; font-weight: 800; text-decoration: none;
  transition: opacity var(--tr), transform var(--tr);
}
.card-link:hover { opacity: 0.88; transform: translateY(-1px); }
.card.tone-student .card-link { background: var(--student); color: var(--blue-ink); }
.card.tone-teacher .card-link { background: var(--teacher); color: #fff; }
.card.tone-leader  .card-link { background: var(--leader); color: #fff; }
.card.tone-yellow  .card-link { background: var(--yellow); color: #fff; }

/* Pills / chips */
.chip {
  display: inline-block; border-radius: var(--pill);
  padding: 0.18rem 0.75rem; font-size: 0.73rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.chip-student { background: var(--student-tint); color: var(--student-deep); }
.chip-teacher { background: var(--teacher-tint); color: var(--blue); }
.chip-leader  { background: var(--leader-tint); color: var(--coral-deep); }
.chip-yellow  { background: var(--yellow-tint); color: var(--coral-deep); }
.chip-all     { background: var(--mist); color: var(--muted); }

/* ── Announcements / news cards ────────────────────────────── */
.ann-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.ann-date { font-size: 0.8rem; font-weight: 600; color: var(--muted); }

.feature-card {
  background: var(--blue); color: #fff; border: none;
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.feature-card h3 { color: #fff; font-size: 1.5rem; }
.feature-card p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.feature-card .chip { background: var(--yellow); color: #fff; }
.feature-facts { list-style: none; display: grid; gap: 0.55rem; }
.feature-facts li { display: flex; gap: 0.6rem; font-size: 0.93rem; color: rgba(255,255,255,0.9); }
.feature-facts li::before { content: "●"; color: var(--orange-lite); font-size: 0.7rem; line-height: 1.9; }
@media (max-width: 820px) { .feature-card { grid-template-columns: 1fr; } }

/* ── Question of the Day ───────────────────────────────────── */
.qotd-section { background: var(--blue-ink); color: #fff; }
.qotd-inner { max-width: 800px; }
.qotd-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.qotd-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(232,131,74,0.16); border: 1px solid rgba(232,131,74,0.4);
  color: var(--orange-lite); border-radius: var(--pill);
  padding: 0.3rem 0.95rem; font-size: 0.8rem; font-weight: 800;
}
.qotd-question {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800;
  line-height: 1.3; margin-bottom: 1.6rem; max-width: 55ch;
}
.vote-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.vote-btn {
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.25);
  color: #fff; border-radius: var(--pill); padding: 0.6rem 1.5rem;
  font-family: inherit; font-size: 0.98rem; font-weight: 700; cursor: pointer;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
}
.vote-btn:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.55); transform: translateY(-2px); }
.vote-btn[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.results-bars { display: flex; flex-direction: column; gap: 0.85rem; }
.result-row { display: flex; align-items: center; gap: 1rem; }
.result-label { font-size: 0.88rem; color: rgba(255,255,255,0.75); min-width: 110px; }
.result-bar-wrap { flex: 1; background: rgba(255,255,255,0.1); border-radius: var(--pill); overflow: hidden; height: 10px; }
.result-bar { height: 100%; border-radius: var(--pill); background: var(--yellow); }
.result-bar.bar-coral { background: var(--coral); }
.result-bar.bar-teal  { background: var(--teal); }
.result-pct { font-size: 0.85rem; font-weight: 800; color: var(--yellow); min-width: 42px; text-align: right; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial-card { position: relative; padding-top: 2.4rem; }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 0.4rem; left: 1.4rem;
  font-size: 4.6rem; line-height: 1; font-family: Georgia, serif;
  color: var(--yellow); pointer-events: none;
}
.testimonial-quote { font-size: 0.98rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: var(--blue-ink);
}
.author-name { font-weight: 800; font-size: 0.95rem; line-height: 1.2; }
.author-role { font-size: 0.82rem; color: var(--muted); }
.illustrative-note { font-size: 0.8rem; color: var(--muted); margin-top: 1.5rem; }

/* ── Quiz (teachers readiness) & sliders ───────────────────── */
.quiz-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-sm);
  max-width: 860px;
}
.quiz-question { margin-bottom: 1.6rem; }
.quiz-question label, .slider-question label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: 0.98rem; font-weight: 700; margin-bottom: 0.55rem;
}
.q-num {
  font-size: 0.72rem; font-weight: 800; color: var(--blue);
  background: var(--teacher-tint); border-radius: var(--pill);
  padding: 0.12rem 0.6rem; white-space: nowrap;
}
.slider-wrap { display: flex; align-items: center; gap: 1rem; }
input[type="range"] {
  flex: 1; appearance: none; -webkit-appearance: none;
  height: 8px; border-radius: var(--pill); background: var(--line); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); border: 4px solid #fff;
  box-shadow: 0 1px 6px rgba(20,21,58,0.35);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 4px solid #fff;
  box-shadow: 0 1px 6px rgba(20,21,58,0.35);
}
.slider-val {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--mist); border-radius: 12px; font-weight: 800; font-size: 1rem;
}
.slider-labels { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); margin-top: 0.35rem; }

.accordion-trigger, .win-item-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--mist); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.95rem 1.3rem; font-family: inherit; font-size: 0.98rem; font-weight: 700;
  color: var(--ink); cursor: pointer; text-align: left;
  transition: border-color var(--tr), background var(--tr);
}
.accordion-trigger:hover, .win-item-trigger:hover { border-color: var(--blue); }
.accordion-trigger .chevron, .win-item-trigger .chevron { transition: transform var(--tr); font-size: 0.8rem; color: var(--blue); }
.accordion-trigger[aria-expanded="true"] .chevron,
.win-item-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion-panel { display: none; padding-top: 1.4rem; }
.accordion-panel.open { display: block; }

.quiz-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
#score-display { display: none; margin-top: 2rem; background: var(--teacher-tint); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.score-number { font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.score-label { font-size: 1.2rem; font-weight: 800; margin-top: 0.3rem; }
.score-desc { font-size: 0.95rem; color: var(--muted); margin-top: 0.4rem; }

.pathway-result { display: none; margin-top: 1.8rem; }
.pathway-result.show { display: block; }
.pathway-result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.9rem; }
.pathway-result-card {
  border: 2px solid var(--line); border-radius: 14px; padding: 1rem;
  transition: border-color var(--tr), background var(--tr);
}
.pathway-result-card.active { border-color: var(--blue); background: var(--teacher-tint); }
.pr-tier { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pr-name { font-size: 1.02rem; font-weight: 800; margin: 0.2rem 0; }
.pr-range { font-size: 0.8rem; color: var(--muted); }
.pr-cta { font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-top: 0.4rem; }

/* ── 5-minute wins ─────────────────────────────────────────── */
.win-highlight {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--yellow-tint); border: 2px solid var(--yellow);
  border-radius: var(--radius-lg); padding: 1.9rem; margin-bottom: 2rem;
}
.win-star { font-size: 2.2rem; line-height: 1; }
.win-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9A4C16; margin-bottom: 0.3rem; }
.win-highlight h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.win-highlight p { font-size: 0.95rem; color: var(--ink); }
.win-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.9rem; }
.wins-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 860px; }
.win-trigger-left { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.win-panel { display: none; padding: 1.1rem 1.3rem 0.4rem; font-size: 0.94rem; color: var(--muted); line-height: 1.65; }
.win-panel.open { display: block; }

/* ── Fellows lesson cards (teachers page) ──────────────────── */
.lesson-card .lesson-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.lesson-teacher { font-size: 0.85rem; font-weight: 700; color: var(--blue); margin-bottom: 0.9rem; }
.lesson-note { border-radius: 12px; padding: 0.75rem 0.95rem; font-size: 0.88rem; line-height: 1.55; margin-top: 0.7rem; }
.lesson-note.problem { background: var(--mist); color: var(--ink); }
.lesson-note.solution { background: var(--student-tint); color: var(--ink); }
.lesson-note strong { font-weight: 800; }

/* ── PD modules timeline ───────────────────────────────────── */
.module-list { display: flex; flex-direction: column; gap: 1rem; max-width: 880px; margin-top: 2rem; }
.module-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.module-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
}
.module-item:nth-child(2) .module-num { background: var(--teal); color: var(--blue-ink); }
.module-item:nth-child(3) .module-num { background: var(--yellow); color: var(--ink); }
.module-item:nth-child(4) .module-num { background: var(--coral); }
.module-item:nth-child(5) .module-num { background: var(--blue-deep); }
.module-item h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.35rem; }
.module-item p { font-size: 0.92rem; color: var(--muted); }
.module-tools { font-size: 0.8rem; font-weight: 600; color: var(--blue); margin-top: 0.5rem; }

/* ── Leaders: stats with references ────────────────────────── */
.evidence-card { border-top: 6px solid var(--coral); }
.evidence-num { font-size: 2.7rem; font-weight: 800; color: var(--coral-deep); line-height: 1; letter-spacing: -0.02em; }
.evidence-card p { margin-top: 0.7rem; }
.evidence-src { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-top: 0.9rem; }
.evidence-src a { color: var(--blue); text-decoration: none; }
.evidence-src a:hover { text-decoration: underline; }

/* ── Radar / bar chart results ─────────────────────────────── */
.dimension-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.dimension-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.dimension-icon { font-size: 1.4rem; }
.dimension-title { font-size: 1.02rem; font-weight: 800; }
.slider-question { margin-bottom: 1.2rem; }
.slider-question label { font-size: 0.9rem; }
.radar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.radar-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
#readiness-results { display: none; margin-top: 2.5rem; }
#readiness-results.visible { display: block; }
.results-heading { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.4rem; }
.bar-chart { display: flex; flex-direction: column; gap: 0.9rem; max-width: 720px; }
.bar-row { display: flex; align-items: center; gap: 1rem; }
.bar-label { min-width: 160px; font-size: 0.9rem; font-weight: 700; }
.bar-track { flex: 1; height: 14px; background: var(--mist); border-radius: var(--pill); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--pill); background: var(--coral); transition: width 0.7s ease; }
.bar-pct { min-width: 46px; text-align: right; font-weight: 800; font-size: 0.9rem; color: var(--coral-deep); }
.overall-score-wrap {
  display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem;
  background: var(--leader-tint); border-radius: var(--radius); padding: 1.5rem 1.8rem; max-width: 720px;
}
.overall-score-num { font-size: 2.8rem; font-weight: 800; color: var(--coral-deep); }
.overall-score-title { font-size: 1.15rem; font-weight: 800; }
.overall-score-rec { font-size: 0.92rem; color: var(--muted); margin-top: 0.25rem; }

/* ── Decision simulator ────────────────────────────────────── */
.scenario-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-sm);
}
.scenario-tag {
  display: inline-block; background: var(--leader-tint); color: var(--coral-deep);
  border-radius: var(--pill); padding: 0.25rem 0.9rem;
  font-size: 0.78rem; font-weight: 800; margin-bottom: 1rem;
}
.scenario-text { font-size: 1.08rem; font-weight: 600; line-height: 1.6; max-width: 62ch; }
.choices-label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 0.9rem; }
.choices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.9rem; }
.choice-btn {
  display: flex; gap: 0.9rem; align-items: flex-start; text-align: left;
  background: var(--paper); border: 2px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.2rem; font-family: inherit; cursor: pointer;
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.choice-btn:hover { border-color: var(--coral); transform: translateY(-2px); }
.choice-btn.selected { border-color: var(--coral); background: var(--leader-tint); }
.choice-letter {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.choice-text { font-size: 0.93rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
#consequence-panel {
  display: none; margin-top: 1.8rem; border: 2px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
}
#consequence-panel.visible { display: block; }
.consequence-outcome { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.6rem; }
.consequence-detail { font-size: 0.94rem; line-height: 1.65; }
.consequence-expert { font-size: 0.9rem; font-style: italic; color: var(--muted); margin-top: 0.9rem; }
.consequence-resources { font-size: 0.9rem; font-weight: 600; margin-top: 0.9rem; }
.consequence-resources a { color: var(--blue); }

/* ── Playbooks / templates / roadmap ───────────────────────── */
.playbook-row { display: grid; grid-template-columns: 96px 1fr; gap: 0.8rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.playbook-row:first-of-type { border-top: none; }
.playbook-row-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.playbook-row-value { font-size: 0.9rem; line-height: 1.55; color: var(--ink); }
.playbook-outcome { color: var(--teal-deep); font-weight: 600; }
.playbook-school { font-size: 1.12rem; font-weight: 800; }
.playbook-district { font-size: 0.84rem; color: var(--muted); margin-bottom: 0.9rem; }

.templates-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; max-width: 880px; margin-top: 2rem; }
.template-item {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow-sm);
}
.template-icon { font-size: 1.6rem; }
.template-info { flex: 1; }
.template-title { font-size: 1rem; font-weight: 800; }
.template-desc { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }
@media (max-width: 620px) { .template-item { flex-direction: column; align-items: flex-start; } }

.roadmap-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 2.25rem; }
.roadmap-phase { position: relative; }
.phase-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem;
}
.roadmap-phase:nth-child(2) .phase-dot { background: var(--yellow); color: var(--ink); }
.roadmap-phase:nth-child(3) .phase-dot { background: var(--teal); color: var(--blue-ink); }
.roadmap-phase:nth-child(4) .phase-dot { background: var(--blue); }
.phase-name { font-size: 1.08rem; font-weight: 800; }
.phase-period { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0.2rem 0 0.6rem; }
.phase-tasks { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── DEAR method (lesson plans) ────────────────────────────── */
.dear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.dear-step { border-radius: var(--radius); padding: 1.7rem 1.5rem; color: var(--ink); }
.dear-step:nth-child(1) { background: var(--teacher-tint); }
.dear-step:nth-child(2) { background: var(--yellow-tint); }
.dear-step:nth-child(3) { background: var(--student-tint); }
.dear-step:nth-child(4) { background: var(--leader-tint); }
.dear-letter { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.dear-step:nth-child(1) .dear-letter { color: var(--blue); }
.dear-step:nth-child(2) .dear-letter { color: #9A4C16; }
.dear-step:nth-child(3) .dear-letter { color: var(--teal-deep); }
.dear-step:nth-child(4) .dear-letter { color: var(--coral-deep); }
.dear-step h3 { font-size: 1.06rem; font-weight: 800; margin: 0.6rem 0 0.4rem; }
.dear-step p { font-size: 0.9rem; color: var(--ink); opacity: 0.85; }

.session-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 0; max-width: 800px; margin-top: 2rem; }
.session-steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.6rem 3.4rem;
}
.session-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.session-steps li::after {
  content: ''; position: absolute; left: 18px; top: 42px; bottom: 4px;
  width: 2px; background: var(--line);
}
.session-steps li:last-child::after { display: none; }
.session-steps h3 { font-size: 1rem; font-weight: 800; }
.session-steps .step-time { font-size: 0.76rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.session-steps p { font-size: 0.92rem; color: var(--muted); margin-top: 0.25rem; }

/* ── CTA banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--blue); color: #fff;
  border-radius: var(--radius-lg); padding: 3rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; max-width: 24ch; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 0.98rem; margin-top: 0.5rem; max-width: 52ch; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.1rem; box-shadow: var(--shadow-sm);
}
.form-box h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.4rem; }
.form-box > p { font-size: 0.93rem; color: var(--muted); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 800; margin-bottom: 0.4rem; }
.form-group select, .form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 0.95rem;
  border: 2px solid var(--line); border-radius: 12px;
  font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(22,41,74,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.form-submit { width: 100%; }

/* ── Q&A list ──────────────────────────────────────────────── */
.qa-list { display: flex; flex-direction: column; gap: 1.25rem; }
.qa-item {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.qa-question { font-size: 1rem; font-weight: 800; margin-bottom: 0.7rem; display: flex; gap: 0.6rem; }
.qa-question::before {
  content: 'Q'; flex-shrink: 0;
  background: var(--teal); color: var(--blue-ink); border-radius: 50%;
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; margin-top: 1px;
}
.qa-answer { font-size: 0.93rem; color: var(--muted); line-height: 1.65; padding-left: 2rem; }
.qa-meta { font-size: 0.8rem; color: var(--teal-deep); font-weight: 700; margin-top: 0.6rem; padding-left: 2rem; }

/* ── AI vs Human arena ─────────────────────────────────────── */
.arena-section { background: var(--blue-ink); color: #fff; }
.arena-section .section-title { color: #fff; }
.arena-section .section-subtitle { color: rgba(255,255,255,0.78); }
.arena-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.arena-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1.9rem; }
.arena-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.arena-tag {
  display: none; margin-bottom: 0.9rem;
  border-radius: var(--pill); padding: 0.22rem 0.85rem;
  font-size: 0.76rem; font-weight: 800;
}
.arena-revealed .arena-tag { display: inline-block; }
.arena-tag.human { background: var(--teal); color: var(--blue-ink); }
.arena-tag.ai { background: var(--coral); color: #fff; }
.arena-poem { font-size: 0.96rem; line-height: 1.8; color: rgba(255,255,255,0.9); }
.arena-credit { display: none; font-size: 0.84rem; color: var(--yellow); margin-top: 1rem; font-weight: 700; }
.arena-revealed .arena-credit { display: block; }
.arena-reveal-note { display: none; font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-top: 1.2rem; }
.arena-revealed-note.show, .arena-reveal-note.show { display: block; }

/* ── Badges ladder ─────────────────────────────────────────── */
.badge-path { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; position: relative; }
.badge-card { text-align: center; }
.badge-icon { font-size: 2.6rem; display: block; margin-bottom: 0.7rem; }
.badge-level { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.badge-req { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 0.9rem; flex: 1; }
.badge-reward { font-size: 0.82rem; font-weight: 700; color: var(--teal-deep); }
.badge-card.level-1 { border-bottom: 6px solid var(--yellow); }
.badge-card.level-2 { border-bottom: 6px solid var(--teal); }
.badge-card.level-3 { border-bottom: 6px solid var(--blue); }
.badge-card.level-4 { border-bottom: 6px solid var(--coral); }

.wall-of-fame { margin-top: 2.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.wall-of-fame h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem; }
.fame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.fame-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; }
.fame-item strong { font-weight: 800; }
.fame-item small { color: var(--muted); }
.fame-badge { font-size: 1.3rem; }

/* ── Showcase / example project cards ──────────────────────── */
.showcase-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.showcase-student { display: flex; align-items: center; gap: 0.6rem; }
.student-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: var(--blue-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.student-info strong { display: block; font-size: 0.9rem; font-weight: 800; }
.student-info span { font-size: 0.78rem; color: var(--muted); }

/* ── Team cards (about) ────────────────────────────────────── */
.team-card { text-align: center; align-items: center; }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff; background: var(--blue);
  margin-bottom: 1rem;
}
.team-card:nth-child(2) .team-avatar { background: var(--coral); }
.team-card:nth-child(3) .team-avatar { background: var(--teal); color: var(--blue-ink); }
.team-card:nth-child(4) .team-avatar { background: var(--yellow); color: var(--ink); }
.team-card:nth-child(5) .team-avatar { background: var(--blue-deep); }
.team-role { font-size: 0.85rem; color: var(--muted); }

/* ── Timeline (about) ──────────────────────────────────────── */
.journey-timeline { list-style: none; max-width: 760px; margin-top: 2rem; }
.journey-timeline li { position: relative; padding: 0 0 1.8rem 2.6rem; }
.journey-timeline li::before {
  content: ''; position: absolute; left: 8px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--blue);
}
.journey-timeline li:nth-child(2)::before { background: var(--coral); }
.journey-timeline li:nth-child(3)::before { background: var(--yellow); }
.journey-timeline li:nth-child(4)::before { background: var(--teal); }
.journey-timeline li:nth-child(5)::before { background: var(--blue-deep); }
.journey-timeline li::after {
  content: ''; position: absolute; left: 14px; top: 26px; bottom: 0;
  width: 2px; background: var(--line);
}
.journey-timeline li:last-child::after { display: none; }
.journey-date { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.journey-timeline h3 { font-size: 1.05rem; font-weight: 800; margin: 0.15rem 0 0.3rem; }
.journey-timeline p { font-size: 0.92rem; color: var(--muted); }

/* ── Partner strip ─────────────────────────────────────────── */
.partner-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; margin-top: 2rem; }
.partner-name { font-size: 1.02rem; font-weight: 800; color: var(--muted); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2.5rem; margin-bottom: 2.8rem; }
.footer-col h3 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.93rem; transition: color var(--tr); }
.footer-col a:hover { color: var(--yellow); }
.footer-contact p { font-size: 0.9rem; line-height: 1.6; }
.footer-contact a { color: var(--yellow); }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.partners-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

/* ── Back to top ───────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); border: none;
  font-size: 1.3rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 18px rgba(194,97,31,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top:focus { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 5rem; }
  .vote-buttons { flex-direction: column; align-items: stretch; }
  .cta-banner { padding: 2rem; }
  .quiz-card, .scenario-card { padding: 1.5rem; }
  .module-item { grid-template-columns: 1fr; }
  .playbook-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ============================================================
   DAYOFAI TRUE-PALETTE OVERRIDE LAYER
   Matched to dayofai.org screenshots: periwinkle / green /
   magenta on cream-white, black display type, light hero with
   circle motif, uppercase pill buttons, magenta announce bar.
   ============================================================ */
:root {
  /* ── MORGAN STATE TRUE-PALETTE (the live palette) ──────────
     Two colours only: navy #16294A + orange #C2611F.
     The periwinkle / green / magenta scheme is retired.
     Shades (-deep, -ink, -lite) are the same two hues lighter or
     darker — needed for hover states and AA contrast on dark.
     --paper stays the warm off-white it always was: untouched.  */

  /* Navy — primary: nav, headings, educator audiences */
  --blue:        #16294A;   /* navy — nav, primary            */
  --blue-deep:   #0E1B33;   /* navy — dark bands, hover       */
  --blue-ink:    #0A1322;   /* navy — deepest sections        */

  /* Orange — accent: CTAs, highlights, student audience */
  --yellow:      #C2611F;   /* orange fills the old CTA role  */
  --coral:       #C2611F;   /* orange fills the old coral role*/
  --coral-deep:  #9A4C16;
  --teal:        #C2611F;   /* students accent = orange       */
  --teal-deep:   #9A4C16;

  /* Neutrals — near-black display type kept; tints de-purpled */
  --ink:         #1C1C1E;   /* near-black headlines — unchanged */
  --muted:       #5F5F6E;
  --paper:       #FDFCFA;   /* warm off-white — DO NOT TOUCH  */
  --mist:        #F3F5F9;   /* alt sections, now navy-tinted  */
  --line:        #E1E6ED;

  /* Audience accents — orange = students, navy = educators */
  --student:      #C2611F;
  --student-deep: #9A4C16;
  --student-tint: #FBEDE3;
  --teacher:      #16294A;
  --teacher-deep: #0E1B33;
  --teacher-tint: #E8EDF4;
  --leader:       #16294A;
  --leader-deep:  #0E1B33;
  --leader-tint:  #E8EDF4;
  --yellow-tint:  #FBEDE3;  /* orange tint */
}

/* Text that sat on yellow-tint was dark gold — now dark green */
.tldr-box strong { color: var(--blue); }
.time-badge { background: var(--teacher-tint); border-color: var(--blue); color: var(--blue-deep); }
.win-eyebrow { color: var(--teal-deep); }
.win-highlight { background: var(--student-tint); border-color: var(--student); }
.chip-yellow { background: var(--student-tint); color: var(--teal-deep); }
.dear-step:nth-child(2) .dear-letter { color: var(--teal-deep); }

/* ── Announcement bar (magenta strip, like dayofai) ────────── */
.announce-bar {
  background: var(--coral); color: #fff; text-align: center;
  padding: 0.7rem 1.5rem; font-size: 0.95rem; font-weight: 700;
}
.announce-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce-bar a:hover { color: #FBE9DC; }

/* ── Buttons: uppercase pills with arrows ──────────────────── */
.btn {
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.9rem; padding: 0.9rem 2rem;
}
.btn-sm { font-size: 0.78rem; padding: 0.55rem 1.3rem; }
.btn-yellow { background: var(--teal); color: #fff; }              /* green CTA */
.btn-yellow:hover { background: var(--teal-deep); box-shadow: 0 8px 22px rgba(194,97,31,0.4); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }              /* magenta */
.btn-coral:hover { background: var(--coral-deep); box-shadow: 0 8px 22px rgba(194,97,31,0.4); }
.btn-primary { background: var(--blue); color: #fff; }             /* periwinkle */
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 8px 22px rgba(22,41,74,0.4); }

/* ── Nav: dayofai look (blue links on white, green register) ── */
.nav-logo .logo-main { color: var(--blue); font-weight: 800; }
.nav-logo .logo-main span { color: var(--coral); }
.nav-links a { color: var(--blue); font-weight: 700; }
.nav-links a[aria-current="page"] { background: var(--blue); color: #fff; }
.focus-toggle:hover { border-color: var(--teal); color: var(--teal-deep); }
.focus-toggle[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); }

/* ── Hero: LIGHT like dayofai — black headline on cream ────── */
.hero, .hero.hero-student, .hero.hero-leader {
  background: var(--paper); color: var(--ink);
  padding: 4.5rem 0 5rem;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem; align-items: center;
}
.hero h1 { color: var(--ink); font-weight: 800; }
.hero h1 .hl-yellow { color: var(--blue); }                 /* accent word: periwinkle */
.hero-student h1 .hl-yellow { color: var(--teal-deep); }    /* students: green */
.hero-leader h1 .hl-yellow { color: var(--coral); }         /* leaders: magenta */
.hero-subtitle { color: var(--muted); }
.hero-eyebrow {
  background: var(--mist); border: 1px solid var(--line);
  color: var(--blue-deep);
}
.hero-cta { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.hero-cta .btn { min-width: 300px; justify-content: space-between; }
.btn-ghost-light { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-ghost-light:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
@media (max-width: 640px) { .hero-cta .btn { min-width: 0; width: 100%; } }

/* Hero visual: circle-masked motif with overlapping periwinkle shapes */
.hero .shape-band {
  position: static; height: auto; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero .shape-band svg { display: none; }                     /* retire the old band */
.hero .shape-band::before {
  content: ''; display: block;
  width: min(360px, 70vw); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.35) 0 18%, transparent 19%),
    linear-gradient(140deg, var(--blue) 0%, var(--blue-deep) 55%, var(--blue-ink) 100%);
  box-shadow:
    -70px 55px 0 -18px var(--coral),
    80px -45px 0 -30px var(--teal),
    36px 90px 0 -44px var(--mist);
}
.hero-student .shape-band::before {
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: -70px 55px 0 -18px var(--blue), 80px -45px 0 -30px var(--coral), 36px 90px 0 -44px var(--mist);
}
.hero-leader .shape-band::before {
  background: linear-gradient(140deg, var(--coral) 0%, var(--coral-deep) 100%);
  box-shadow: -70px 55px 0 -18px var(--blue), 80px -45px 0 -30px var(--teal), 36px 90px 0 -44px var(--mist);
}
/* Swap the circle for a real photo by adding:
   <img class="hero-photo" src="..." alt="..."> inside .shape-band
   and the circle background hides automatically. */
.hero .shape-band:has(.hero-photo)::before { display: none; }
.hero-photo {
  width: min(380px, 72vw); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; box-shadow: -70px 55px 0 -18px var(--blue), 80px -45px 0 -30px var(--teal);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .shape-band { order: -1; margin-bottom: 1rem; }
  .hero .shape-band::before { width: min(240px, 60vw);
    box-shadow: -44px 34px 0 -14px var(--coral), 50px -28px 0 -22px var(--teal); }
}

/* ── Dark bands recolored to periwinkle family ─────────────── */
.stat-band { background: var(--blue); }
.stat-band .section-label { color: #E8834A; }
.stat-item { border-left-color: #E8834A; }
.stat-item:nth-child(3n+2) { border-left-color: #FBEDE3; }
.stat-item:nth-child(3n)   { border-left-color: #FFFFFF; }
.qotd-section, .arena-section { background: var(--blue-ink); }
.qotd-badge { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }
.result-bar { background: #E8834A; }
.result-bar.bar-coral { background: #FBEDE3; }
.result-bar.bar-teal { background: #FFFFFF; }
.result-pct { color: #E8834A; }
.vote-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.arena-tag.human { background: var(--teal); color: #fff; }
.arena-credit { color: #E8834A; }
.arena-reveal-note strong { color: #E8834A !important; }
.section-label[style*="--yellow"], .arena-section .section-label { color: #E8834A; }

/* Feature card (announcement hero card) → periwinkle */
.feature-card { background: var(--blue); }
.feature-card .chip { background: #fff; color: var(--blue-deep); }
.feature-facts li::before { color: #E8834A; }

/* Headline highlight: soft periwinkle underline instead of yellow */
.highlight { background: linear-gradient(transparent 60%, #C9D2E0 60%); }

/* Testimonial quote mark + back-to-top → periwinkle/green */
.testimonial-card::before { color: #C9D2E0; }
#back-to-top { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(194,97,31,0.45); }

/* TL;DR accent */
.tldr-box { border-left-color: var(--blue); }

/* CTA banners → periwinkle default (leaders override inline handled) */
.cta-banner { background: var(--blue); }

/* ============================================================
   DROPDOWN NAVIGATION (dayofai reference)
   ============================================================ */
.nav-item { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 700;
  color: var(--blue); padding: 0.45rem 0.8rem; border-radius: var(--pill);
  line-height: 1.25; text-align: center;
  transition: background var(--tr), color var(--tr);
}
.nav-drop-btn:hover, .nav-drop-btn:focus-visible { background: var(--mist); }
.nav-drop-btn .chev { font-size: 0.75rem; transition: transform var(--tr); }
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop-btn.current, .nav-plain.current { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 6px 6px 0 0; }

.nav-plain {
  display: inline-flex; align-items: center;
  color: var(--blue); text-decoration: none;
  font-size: 0.95rem; font-weight: 700; padding: 0.45rem 0.8rem;
  border-radius: var(--pill); transition: background var(--tr);
}
.nav-plain:hover, .nav-plain:focus-visible { background: var(--mist); }

.dropdown {
  list-style: none; display: none;
  position: absolute; top: calc(100% + 0.6rem); left: 0; z-index: 1100;
  min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(28,28,30,0.14);
  padding: 0.9rem 0;
}
.nav-item.open > .dropdown { display: block; }
/* hover-open for mouse users */
@media (hover: hover) and (min-width: 981px) {
  .nav-item.has-dropdown:hover > .dropdown,
  .nav-item.has-dropdown:focus-within > .dropdown { display: block; }
  .nav-item.has-dropdown:hover > .nav-drop-btn .chev { transform: rotate(180deg); }
}
.dropdown li a {
  display: block; padding: 0.55rem 1.4rem;
  color: var(--blue); text-decoration: none;
  font-size: 0.97rem; font-weight: 600; border-radius: 0;
  transition: background var(--tr), color var(--tr);
}
.dropdown li a:hover, .dropdown li a:focus-visible { background: var(--mist); color: var(--blue-deep); }
.dropdown li a[aria-current="page"] { color: var(--ink); font-weight: 800; }

/* Green REGISTER pill in the nav (like dayofai) */
.btn-register {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem; border-radius: var(--pill);
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
}
.btn-register:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(194,97,31,0.4); }
.btn-register span { font-size: 0.75rem; }

/* Mobile: dropdowns become indented accordions inside the menu */
@media (max-width: 980px) {
  .nav-item { width: 100%; }
  .nav-drop-btn, .nav-plain { width: 100%; justify-content: space-between; font-size: 1rem; padding: 0.65rem 0.9rem; border-radius: 12px; }
  .nav-drop-btn br { display: none; }
  .dropdown {
    position: static; box-shadow: none; border: none;
    border-left: 3px solid var(--mist); border-radius: 0;
    margin: 0.15rem 0 0.4rem 0.9rem; padding: 0.15rem 0; min-width: 0;
  }
  .btn-register { display: none; } /* shown inside menu instead if desired */
}
@media (max-width: 980px) {
  .nav-links.open { max-height: calc(100vh - 130px); overflow-y: auto; }
}
/* keep two-line "School Leaders" label tidy on desktop */
@media (min-width: 981px) { .nav-drop-btn br { line-height: 1; } }

/* ============================================================
   INDEX REFRESH: CEAMLS logo, SVG icon system, card images
   ============================================================ */
.icon {
  display: inline-block; width: 1.1em; height: 1.1em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.18em; flex-shrink: 0;
}
.nav-logo img { height: 54px; width: auto; display: block; }
@media (max-width: 640px) { .nav-logo img { height: 44px; } }

.card-icon .icon { width: 30px; height: 30px; }
.card.tone-student .card-icon { color: var(--student-deep); }
.card.tone-teacher .card-icon { color: var(--teacher-deep); }
.card.tone-leader  .card-icon { color: var(--coral-deep); }
.card.tone-yellow  .card-icon { color: var(--teal-deep); }

.card-img {
  width: calc(100% + 3.8rem); margin: -1.9rem -1.9rem 1.2rem;
  height: 200px; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.qotd-badge .icon, .announce-bar .icon { width: 1em; height: 1em; }
.qotd-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 1.4rem; }
.hero-eyebrow .icon { width: 1.05em; height: 1.05em; }

/* ============================================================
   SIGN-IN GATE
   ============================================================ */
.nav-signin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--blue); text-decoration: none;
  font-weight: 800; font-size: 0.9rem;
  padding: 0.55rem 1.1rem; border: 2px solid var(--blue);
  border-radius: var(--pill); white-space: nowrap;
  transition: background var(--tr), color var(--tr);
}
.nav-signin:hover { background: var(--blue); color: #fff; }
.nav-signin .signout { font-weight: 600; font-size: 0.8rem; opacity: 0.75; }
@media (max-width: 640px) { .nav-signin { display: none; } }

.nav-drop-btn { white-space: nowrap; }

.role-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0 2.25rem; max-width: 860px;
}
.role-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; cursor: pointer; font-family: inherit; text-align: left;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.role-card .icon { width: 30px; height: 30px; margin-bottom: 0.4rem; }
.role-card[data-role="student"] .icon { color: var(--student-deep); }
.role-card[data-role="teacher"] .icon { color: var(--teacher-deep); }
.role-card[data-role="leader"]  .icon { color: var(--coral-deep); }
.role-card .role-name { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.role-card .role-desc { font-size: 0.86rem; color: var(--muted); }
.role-card[aria-pressed="true"] { border-width: 2px; }
.role-card[data-role="student"][aria-pressed="true"] { border-color: var(--student); background: var(--student-tint); }
.role-card[data-role="teacher"][aria-pressed="true"] { border-color: var(--teacher); background: var(--teacher-tint); }
.role-card[data-role="leader"][aria-pressed="true"]  { border-color: var(--leader);  background: var(--leader-tint); }

.role-form { max-width: 560px; }
.login-privacy {
  display: flex; gap: 0.6rem; align-items: flex-start;
  max-width: 640px; margin-top: 2rem;
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
}
.login-privacy .icon { margin-top: 0.15rem; }
.login-privacy a { color: var(--blue); font-weight: 700; }

/* ── Dashboard ─────────────────────────────────────────────── */
.dash-stats { max-width: none; }
.dash-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dash-list.dash-quiz { flex-direction: column; gap: 0.4rem; }
.dash-list.dash-quiz li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.9rem; background: var(--mist); border-radius: 12px;
}
.dash-chip {
  background: var(--yellow-tint); color: var(--blue-ink); font-weight: 700;
  padding: 0.45rem 0.9rem; border-radius: var(--pill); font-size: 0.9rem;
  text-transform: capitalize;
}
.dash-empty { color: var(--muted); font-size: 0.9rem; }
.form-error { font-weight: 600; font-size: 0.92rem; }

/* ── Challenge page ────────────────────────────────────────── */
.card-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid.grid-4 { grid-template-columns: 1fr; } }

.challenge-date-badge {
  display: inline-block; margin: 0.4rem 0 1.2rem;
  background: var(--yellow-tint); color: var(--blue-ink);
  font-weight: 800; font-size: 1rem; padding: 0.5rem 1.1rem; border-radius: var(--pill);
}
.countdown-wrap { margin-top: 1.6rem; }
.countdown-lead { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 0.6rem; }
.countdown { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.countdown-unit {
  min-width: 74px; text-align: center; background: var(--ink); color: #fff;
  border-radius: 14px; padding: 0.7rem 0.5rem;
}
.countdown-number { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.countdown-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; opacity: 0.85; }

.team-card .team-role { color: var(--blue); font-weight: 700; margin: 0.2rem 0; }

/* Schedule tabs */
.sched-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0; }
.sched-tab {
  font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 2px solid var(--line);
  padding: 0.7rem 1.4rem; border-radius: var(--pill); transition: all var(--tr);
}
.sched-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.sched-panel { display: none; }
.sched-panel.active { display: block; }
.sched-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.sched-list li {
  display: flex; gap: 1.2rem; align-items: baseline;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 1.2rem;
}
.sched-time { flex: 0 0 84px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.sched-list li div { display: flex; flex-direction: column; }
.sched-list li strong { color: var(--ink); }
.sched-list li span { color: var(--muted); font-size: 0.9rem; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 1.5rem auto 0; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-trigger {
  width: 100%; text-align: left; font-family: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-icon { flex: 0 0 auto; font-size: 1.5rem; color: var(--blue); transition: transform var(--tr); }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height var(--tr); }
.faq-panel.open { max-height: 400px; }
.faq-panel p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ── NextGen winner cards (image-topped) ───────────────────── */
.winner-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.winner-photo {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0; display: block;
}
.winner-card .card-body { padding: 1.3rem 1.4rem 1.5rem; }
.winner-card .chip { margin-bottom: 0.7rem; }
.winner-card h3 { margin-bottom: 0.35rem; }
.winner-members {
  font-size: 0.82rem; font-weight: 700; color: var(--blue);
  margin-bottom: 0.7rem; line-height: 1.4;
}

/* Legal / prose pages */
.prose-list { margin: 0.5rem 0 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose-list li { line-height: 1.6; }
.section .container > h2.section-title { margin-top: 1.8rem; }
.section .container > p { margin-bottom: 0.9rem; }
