/* ============================================================
   Education Last — animated exposé
   Palette pulled from the Emmanuel crest: deep teal + gold
   ============================================================ */

:root {
  --teal:        #0e6e7a;
  --teal-deep:   #074852;
  --teal-darker: #04323a;
  --teal-soft:   #2c8f9a;
  --teal-glow:   #4dd0d8;
  --gold:        #f4c430;
  --gold-soft:   #ffe082;
  --gold-warm:   #d9a91a;
  --cream:       #eef7f7;
  --paper:       #ffffff;
  --ink:         #0e2a2e;
  --muted:       #4a6b6f;
  --line:        #c8dcde;
  --danger:      #c84a3a;
  --max:         1200px;
  --shadow:      0 8px 28px rgba(7, 72, 82, 0.16);
  --shadow-lg:   0 20px 48px rgba(7, 72, 82, 0.22);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

}

h1, h2, h3, h4 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--teal-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 900;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold-warm); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== top parody ribbon (legacy) ===== */
.parody-banner {
  background: var(--teal-darker);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--gold);
}
.parody-banner strong { color: var(--gold-soft); }

/* ===== top headline (parent advisory + quick links) ===== */
.top-headline {
  background:
    linear-gradient(180deg, var(--teal-darker) 0%, var(--teal-deep) 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.top-headline-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 22px 24px;
}
.top-headline-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--teal-darker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.top-headline-h2 {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
  font-weight: 900;
}
.top-headline-h2 strong { color: var(--gold-soft); }
.top-headline-sub {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-width: 60ch;
}
.top-headline-sub strong { color: var(--gold-soft); }
.top-headline-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.top-headline-btn {
  background: rgba(244, 196, 48, 0.12);
  border: 1px solid rgba(244, 196, 48, 0.45);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.top-headline-btn:hover {
  background: rgba(244, 196, 48, 0.2);
  border-color: var(--gold);
  transform: translateY(-1px);
  color: #fff;
}
.th-btn-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}
.th-btn-url {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}
.top-headline-btn--official { border-left: 4px solid var(--gold); }
.top-headline-btn--map      { border-left: 4px solid var(--teal-glow); }

@media (max-width: 760px) {
  .top-headline-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; }
  .top-headline-links { flex-direction: row; flex-wrap: wrap; }
  .top-headline-btn   { flex: 1 1 220px; }
}

/* ===== header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand-wordmark { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px;
  background: var(--teal-deep);
  color: var(--gold);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  animation: pulse-mark 3s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(7, 72, 82, 0.3);
}
@keyframes pulse-mark {
  0%, 100% { box-shadow: 0 4px 12px rgba(7, 72, 82, 0.3); }
  50%      { box-shadow: 0 4px 20px rgba(244,196,48, 0.5); }
}
.brand-wordmark:hover .brand-mark {
  animation-play-state: paused;
}
.brand-text {
  display: flex; flex-direction: column;
  line-height: 1;
  font-family: "Merriweather", Georgia, serif;
}
.brand-line-top {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--muted);
}
.brand-line-bot {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: 0.05em; color: var(--teal-deep);
  margin-top: 3px;
}
.primary-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.primary-nav a {
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.primary-nav a:hover { border-bottom-color: var(--gold); color: var(--teal); }

/* ============================================================
   HERO — animated, no image
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, var(--teal) 0%, var(--teal-deep) 50%, var(--teal-darker) 100%);
  color: #fff;
  overflow: hidden;
  padding: 80px 0 100px;
  isolation: isolate;

}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, rgba(244,196,48,0.15), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(77,208,216,0.18), transparent 40%);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes aurora {
  0%   { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(20deg) scale(1.2); }
}

/* rotating crest */
.crest3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  animation: crest-rotate 24s linear infinite;
}
.crest3d .ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--gold);
  border-radius: 50%;
}
.crest3d .ring-1 { transform: rotate(0deg); }
.crest3d .ring-2 { transform: rotate(60deg); border-color: var(--teal-glow); }
.crest3d .ring-3 { transform: rotate(120deg); border-style: solid; border-width: 1px; }
.crest3d .core {
  position: absolute;
  inset: 30%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-core 3s ease-in-out infinite;
}
@keyframes crest-rotate {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes pulse-core {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,196,48,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,196,48,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.floating {
  position: absolute;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  color: rgba(244,196,48,0.08);
  font-size: 5vw;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: drift 22s linear infinite;
  text-transform: uppercase;
}
.floating-1 { top: 10%; left: -10%; animation-delay: -2s; }
.floating-2 { top: 28%; right: -10%; animation: drift-r 26s linear infinite; }
.floating-3 { top: 52%; left: -10%; animation-delay: -8s; }
.floating-4 { top: 70%; right: -10%; animation: drift-r 30s linear infinite; animation-delay: -5s; }
.floating-5 { top: 18%; right: 10%; font-size: 1.2rem; font-style: italic; font-family: "Source Sans 3"; font-weight: 400; color: rgba(255,255,255,0.12); animation: float-up 9s ease-in-out infinite; }
.floating-6 { top: 60%; left: 8%; font-size: 1rem; font-family: "JetBrains Mono", monospace; font-weight: 400; color: rgba(244,196,48,0.16); animation: float-up 11s ease-in-out infinite; animation-delay: -3s; }
.floating-7 { bottom: 15%; right: 18%; font-size: 1.1rem; font-family: "JetBrains Mono", monospace; font-weight: 400; color: rgba(255,255,255,0.12); animation: float-up 13s ease-in-out infinite; animation-delay: -6s; }
.floating-8 { top: 42%; left: 22%; font-size: 1rem; font-family: "JetBrains Mono", monospace; font-weight: 400; color: rgba(244,196,48,0.14); animation: float-up 10s ease-in-out infinite; animation-delay: -1s; }

@keyframes drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(120vw); }
}
@keyframes drift-r {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-120vw); }
}
@keyframes float-up {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(-20px); opacity: 1; }
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244,196,48,0.14);
  border: 1px solid rgba(244,196,48,0.4);
  color: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 30px;
  font-family: "JetBrains Mono", monospace;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244,196,48,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,196,48,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(244,196,48,0); }
}

.hero-title {
  font-family: "Merriweather", Georgia, serif;
  color: #fff;
  font-size: clamp(1.8rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise2d 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title .line-1 { animation-delay: 0.1s; }
.hero-title .line-2 { animation-delay: 0.3s; color: var(--gold-soft); font-style: italic; font-weight: 400; }
.hero-title .line-3 {
  animation-delay: 0.6s; margin-top: 0.2em;
  animation: rise2d 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards, float2d 6s ease-in-out 1.6s infinite;
}
@keyframes rise2d {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float2d {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-title .quote { color: var(--gold); }
.hero-title .quote-mark { color: var(--gold-warm); }
.hero-title .typed { color: #fff; font-style: italic; }
.hero-title .caret {
  display: inline-block;
  color: var(--gold);
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-attr {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0 0 32px;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--gold);
  color: var(--teal-darker);
  box-shadow: 0 6px 0 var(--gold-warm);
}
.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--gold-warm);
  color: var(--teal-darker);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-warm); }
.btn-primary.big { padding: 16px 28px; font-size: 1rem; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: #fff;
}

/* hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto 32px;
}
.stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,196,48,0.18);
  border-radius: 6px;
  padding: 18px 14px;
  transition: transform 0.3s, border-color 0.2s, background 0.2s, box-shadow 0.3s;
  cursor: default;
}
.stat:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--gold);
  background: rgba(244,196,48,0.1);
  box-shadow: 0 18px 40px rgba(244,196,48,0.25), 0 0 0 1px var(--gold);
}
.stat-num {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-suffix { font-size: 1.2rem; color: var(--gold-soft); }
.stat-label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-scroll {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--gold);
  color: var(--teal-darker);
  overflow: hidden;
  border-top: 3px solid var(--teal-deep);
  border-bottom: 3px solid var(--teal-deep);
  padding: 14px 0;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 1rem;
  text-transform: uppercase;
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  padding-left: 28px;
}
.ticker-track span:nth-child(odd) { font-style: italic; }
.ticker-track span:nth-child(even) { color: var(--teal); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Section heads
   ============================================================ */
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  background: var(--teal-deep);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
}
.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { padding: 80px 0; background: var(--cream); }
.tl {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  position: relative;
}
.tl::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--teal-deep));
  border-radius: 2px;
}
.tl-item {
  position: relative;
  padding: 0 0 28px 80px;
}
.tl-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: #fff;
  color: var(--teal-deep);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--cream), var(--shadow);
  transition: transform 0.3s, background 0.2s, color 0.2s, box-shadow 0.3s;
}
.tl-marker:hover {
  transform: scale(1.15);
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream), 0 12px 24px rgba(244,196,48,0.5);
}
.tl-item.active .tl-marker {
  background: var(--teal-deep);
  color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 0 4px var(--cream), 0 0 30px rgba(244,196,48,0.7);
}
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
.tl-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg), -4px 4px 0 rgba(244,196,48,0.2);
}
.tl-when {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tl-card h3 { margin: 0 0 10px; }
.tl-snippet {
  background: var(--cream);
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  font-style: italic;
  color: var(--teal-deep);
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.tl-detail {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  transition: max-height 0.35s ease, margin 0.35s, padding 0.35s;
}
.tl-item.active .tl-detail {
  max-height: 200px;
  margin-top: 14px;
}

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence { padding: 80px 0; background: #fff; }
.evidence-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  animation: card-float 7s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.evidence-card:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 40px 80px rgba(7, 72, 82, 0.35);
}
.evidence-meta {
  background: var(--teal-darker);
  color: rgba(255,255,255,0.85);
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.evidence-status { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-green 1.6s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.review { padding: 24px 28px 28px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #5a3a8e, #3a5a8e);
  flex-shrink: 0;
}
.avatar--owner {
  background: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 900; font-size: 1rem;
  font-family: "Merriweather", Georgia, serif;
  border: 2px solid var(--gold);
}
.review-author { font-weight: 700; }
.owner-tag { color: var(--muted); font-weight: 400; font-size: 0.9em; }
.review-meta { color: var(--muted); font-size: 0.85rem; }
.stars { margin: 8px 0 12px; font-size: 1.1rem; letter-spacing: 2px; }
.stars .s { color: var(--line); }
.stars .s.on { color: var(--gold); }
.review-body { font-size: 0.98rem; line-height: 1.55; }
.review-actions {
  display: flex; gap: 16px;
  color: var(--muted); margin-top: 12px;
  font-size: 0.88rem;
}
.reveal-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reveal-btn {
  background: var(--teal-deep);
  color: var(--gold);
  border: 0;
  padding: 11px 18px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s;
}
.reveal-btn:hover { background: var(--teal); transform: translateY(-1px); }
.reveal-icon { transition: transform 0.3s; display: inline-block; }
.evidence-card.revealed .reveal-icon { transform: rotate(90deg); }
.reveal-hint {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.owner-reply {
  background: var(--cream);
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  position: relative;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.5s ease, opacity 0.4s, padding 0.4s, margin 0.4s;
}
.evidence-card.revealed .owner-reply {
  max-height: 280px;
  opacity: 1;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-top: 18px;
}
.redaction {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, var(--teal-darker) 0 12px, #000 12px 24px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.reply-text mark {
  background: var(--gold);
  color: var(--teal-darker);
  padding: 2px 6px;
  font-weight: 700;
  font-style: italic;
  border-radius: 2px;
}

/* ============================================================
   PRIORITIES
   ============================================================ */
.priorities { padding: 80px 0; background: var(--cream); }
.prio-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  gap: 12px;
}
.prio {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.2s;
  position: relative;
}
.prio:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg), -4px 4px 0 var(--gold);
  border-left-color: var(--teal);
}
.prio-rank {
  font-family: "Merriweather", Georgia, serif;
  font-size: 2.2rem;
  color: var(--teal-deep);
  font-weight: 900;
  line-height: 1;
  transition: transform 0.4s, color 0.3s;
}
.prio:hover .prio-rank {
  transform: scale(1.3);
  color: var(--gold);
}
.prio h3 { margin-bottom: 6px; }
.prio p { color: var(--muted); margin-bottom: 14px; }
.bar {
  width: 100%;
  height: 8px;
  background: var(--cream);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.prio.in-view .bar > span { width: var(--w); }
.bar-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.bar-num { color: var(--teal-deep); font-weight: 700; }
.prio-last {
  border-left-color: var(--danger);
  background: #fff8f7;
}
.prio-last .prio-rank { color: var(--danger); }
.bar-last > span { background: linear-gradient(90deg, var(--danger), var(--danger)) !important; }

/* ============================================================
   QUOTE BREAK
   ============================================================ */
.quote-break {
  background: var(--teal-darker);
  color: var(--gold-soft);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-break::before, .quote-break::after {
  content: "“";
  position: absolute;
  font-family: "Merriweather", Georgia, serif;
  font-size: 22rem;
  color: rgba(244,196,48,0.06);
  line-height: 0.8;
  pointer-events: none;
}
.quote-break::before { top: -20px; left: 4%; }
.quote-break::after { content: "”"; bottom: -120px; right: 4%; }
.big-quote {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.2;
  font-style: italic;
}
.bq-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
}
.quote-break.in-view .bq-line { animation: rise2d-big 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes rise2d-big {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.bq-emph {
  color: var(--gold);
  text-shadow: 0 4px 30px rgba(244,196,48,0.5);
  animation: emph-pulse 3s ease-in-out infinite 1.5s;
}
@keyframes emph-pulse {
  0%, 100% { transform: scale(1); text-shadow: 0 4px 30px rgba(244,196,48,0.5); }
  50%      { transform: scale(1.04); text-shadow: 0 4px 60px rgba(244,196,48,0.9); }
}
.big-cite {
  display: block;
  margin-top: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-style: normal;
}

/* ============================================================
   STORE
   ============================================================ */
.store { padding: 80px 0; background: #fff; border-top: 3px solid var(--gold); }
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  position: relative;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(244,196,48,0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
  border-radius: 8px;
}
.product:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(7, 72, 82, 0.3);
}
.product:hover::before { opacity: 1; }
.product-img {
  background: var(--cream);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img > * {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  animation: float-prod 5s ease-in-out infinite;
}
.product:nth-child(2) .product-img > * { animation-delay: -1.5s; }
.product:nth-child(3) .product-img > * { animation-delay: -3s; }
.product:nth-child(4) .product-img > * { animation-delay: -2s; }
.product:nth-child(5) .product-img > * { animation-delay: -4s; }
.product:nth-child(6) .product-img > * { animation-delay: -2.5s; }
@keyframes float-prod {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.product:hover .product-img > * {
  animation-play-state: paused;
  transform: scale(1.12);
}

.product-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.product-quote { color: var(--muted); font-style: italic; font-size: 0.9rem; margin: 0 0 16px; flex: 1; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  color: var(--teal-deep);
  font-size: 1.15rem;
}
.btn-buy {
  background: var(--teal-deep);
  color: var(--gold);
  border: 0;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  font-family: inherit;
}
.btn-buy:hover { background: var(--gold); color: var(--teal-darker); transform: translateY(-1px); }
.store-disclaimer {
  margin-top: 36px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

/* ----- product CSS art ----- */
.product-cap { background: linear-gradient(180deg, #d8eced, #b9d8da); }
.cap { position: relative; width: 70%; aspect-ratio: 2 / 1.2; }
.cap-crown {
  position: absolute; top: 0; left: 8%;
  width: 84%; height: 78%;
  background: var(--teal-deep);
  border-radius: 50% 50% 8% 8% / 80% 80% 12% 12%;
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.25), 0 6px 14px rgba(0,0,0,0.18);
}
.cap-brim {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 22%;
  background: var(--teal-darker);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.cap-text {
  position: absolute; top: 22%; left: 0; right: 0;
  text-align: center;
  color: var(--gold);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.cap-text.small { font-size: 0.85rem; }
.product-cap-alt { background: linear-gradient(180deg, #e6f3f4, #c2dee0); }
.cap-alt .cap-crown { background: var(--teal-soft); }

/* tee */
.tee-navy { background: linear-gradient(180deg, #d4e8ea, #b0cdd0); }
.tee-cream { background: linear-gradient(180deg, #f6f1e3, #e6dcc4); }
.tee { position: relative; width: 78%; aspect-ratio: 1 / 1; }
.tee-body {
  position: absolute; left: 18%; right: 18%; top: 12%; bottom: 0;
  background: var(--teal-deep);
  border-radius: 6px 6px 4px 4px;
  box-shadow: inset 0 -16px 30px rgba(0,0,0,0.2);
}
.tee.tee-light .tee-body { background: var(--cream); border: 1px solid #b8d3d5; box-shadow: inset 0 -16px 30px rgba(0,0,0,0.06); }
.tee-sleeve { position: absolute; top: 12%; width: 24%; height: 30%; background: var(--teal-deep); box-shadow: inset 0 -8px 12px rgba(0,0,0,0.2); }
.tee.tee-light .tee-sleeve { background: var(--cream); border: 1px solid #b8d3d5; }
.tee-sleeve-l { left: 0; border-radius: 50% 10% 60% 0 / 50% 30% 90% 0; }
.tee-sleeve-r { right: 0; border-radius: 10% 50% 0 60% / 30% 50% 0 90%; }
.tee-collar {
  position: absolute; left: 50%; top: 10%;
  transform: translateX(-50%);
  width: 22%; height: 8%;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.tee.tee-light .tee-collar { background: var(--teal-deep); }
.tee-print {
  position: absolute; inset: 35% 25% auto 25%;
  text-align: center;
  color: var(--gold);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  line-height: 1.1;
}
.tee-print-1 { font-size: 0.95rem; letter-spacing: 0.08em; }
.tee-print-2 { font-size: 0.95rem; letter-spacing: 0.08em; font-style: italic; }
.tee-print-cite { margin-top: 6px; font-size: 0.55rem; font-weight: 400; letter-spacing: 0.05em; font-style: italic; color: var(--gold-soft); font-family: "Source Sans 3", sans-serif; }
.tee-print-light { color: var(--teal-deep); }
.tee-print-light .strike { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 2px; color: var(--muted); }

/* mug */
.product-mug { background: linear-gradient(180deg, #e5f1f2, #c3dadd); }
.mug { position: relative; width: 60%; aspect-ratio: 1 / 1; }
.mug-body {
  position: absolute; left: 0; top: 8%;
  width: 78%; height: 84%;
  background: #fff;
  border: 2px solid var(--teal-deep);
  border-radius: 6px 6px 14px 14px;
  display: flex; align-items: center; justify-content: center;
}
.mug-handle {
  position: absolute; right: 6%; top: 22%;
  width: 28%; height: 50%;
  border: 6px solid var(--teal-deep);
  border-left: 0;
  border-radius: 0 60% 60% 0 / 0 50% 50% 0;
}
.mug-print { text-align: center; color: var(--teal-deep); font-family: "Merriweather", Georgia, serif; font-weight: 900; line-height: 1.05; }
.mug-line { font-size: 1rem; letter-spacing: 0.08em; }
.mug-line.small { font-size: 0.7rem; font-weight: 400; font-style: italic; letter-spacing: 0.04em; color: var(--muted); }
.mug-divider { width: 40%; height: 2px; background: var(--gold); margin: 6px auto; }

/* tote */
.product-tote { background: linear-gradient(180deg, #e7f1f2, #c3dadd); }
.tote { position: relative; width: 62%; aspect-ratio: 1 / 1.1; }
.tote-body {
  position: absolute; left: 0; right: 0; top: 28%; bottom: 0;
  background: var(--cream);
  border: 1px solid #98bdc0;
  display: flex; align-items: center; justify-content: center;
}
.tote-handle {
  position: absolute; top: 0;
  width: 14%; height: 36%;
  border: 5px solid var(--teal-deep);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.tote-handle-l { left: 18%; }
.tote-handle-r { right: 18%; }
.tote-print { text-align: center; color: var(--teal-deep); font-family: "Merriweather", Georgia, serif; line-height: 1.05; padding: 0 10px; }
.tote-line { font-size: 0.7rem; letter-spacing: 0.12em; }
.tote-line.big { font-size: 0.95rem; font-weight: 900; margin-top: 2px; }
.tote-line.italic { font-style: italic; color: var(--gold-warm); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 80px 0; background: var(--cream); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: 4px;
  transition: border-left-color 0.2s, transform 0.2s;
}
.faq details[open] { border-left-color: var(--teal); transform: translateX(4px); }
.faq summary {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  color: var(--teal-deep);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: -2px;
  font-size: 1.5rem;
  color: var(--gold);
  font-family: sans-serif;
  transition: transform 0.25s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  background: var(--teal-deep);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.cta-strip h2 { color: #fff; max-width: 38ch; margin: 0 auto 16px; }
.cta-strip .cta-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: 0.98rem;
}
.cta-strip .btn { margin: 0 6px 8px; }
.cta-strip .btn.big.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   Hero — parent target line
   ============================================================ */
.hero-target {
  margin: 0 auto 28px;
  max-width: 56ch;
  color: var(--gold-soft);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(244, 196, 48, 0.12);
  border: 1px solid rgba(244, 196, 48, 0.4);
  border-radius: 6px;
  padding: 12px 18px;
}
.hero-target em {
  font-style: italic;
  color: #fff;
}

/* ============================================================
   FOR PARENTS section
   ============================================================ */
.parents {
  padding: 80px 0;
  background:
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
}
.parent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.parent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  padding: 28px 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.parent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--teal);
}
.parent-card-num {
  position: absolute;
  top: -18px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--gold);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(7, 72, 82, 0.25);
}
.parent-card h3 {
  font-size: 1.15rem;
  margin: 4px 0 10px;
  color: var(--teal-deep);
}
.parent-card h3 em {
  color: var(--danger);
  font-style: italic;
}
.parent-card p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.55;
}
.parent-card p:last-child { margin-bottom: 0; }
.parent-checklist {
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.parent-checklist li {
  margin-bottom: 8px;
  position: relative;
}
.parent-checklist li::marker {
  color: var(--gold-warm);
}
.parent-checklist a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}
.parent-checklist a:hover { color: var(--teal-deep); }
.parent-link {
  display: inline-block;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.parent-link:hover {
  color: var(--gold-warm);
  border-bottom-color: var(--teal);
}
.parent-status {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--cream);
  border-left: 3px solid var(--teal);
  font-size: 0.88rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--teal-deep);
}
.parent-status strong { color: var(--teal-deep); }

@media (max-width: 760px) {
  .parent-grid { grid-template-columns: 1fr; }
}

/* ===== verify block (official site link + map embed) ===== */
.verify-block {
  margin: 36px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--teal-darker);
  border: 1px solid var(--teal-deep);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.verify-text {
  padding: 28px 28px 26px;
  color: rgba(255, 255, 255, 0.9);
}
.verify-text .section-eyebrow {
  background: var(--gold);
  color: var(--teal-darker);
  margin-bottom: 12px;
}
.verify-text h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.verify-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.55;
}
.verify-text strong { color: var(--gold-soft); }
.verify-links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost--dark {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost--dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: #fff;
}
.verify-map {
  position: relative;
  background: #1a1a1a;
  min-height: 320px;
}
.verify-map iframe {
  display: block;
  filter: contrast(1.05) saturate(0.85);
}
.verify-map-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(4, 50, 58, 0.92);
  color: var(--gold-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .verify-block { grid-template-columns: 1fr; }
  .verify-map { min-height: 260px; }
}

/* ============================================================
   ALTERNATIVES — other CEWA schools
   ============================================================ */
.alternatives {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.alternatives .alt-cta {
  text-align: center;
  margin-top: 18px;
}
.alt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.alt-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.alt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-top-color: var(--gold);
}
.alt-card-empty {
  background: repeating-linear-gradient(45deg, var(--cream) 0 10px, #fff 10px 20px);
  border-top-color: var(--gold);
  border-style: dashed;
}
.alt-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.alt-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  background: var(--teal-deep);
  color: var(--gold);
  padding: 3px 9px;
  letter-spacing: 0.06em;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.alt-card-empty .alt-badge {
  background: var(--gold);
  color: var(--teal-darker);
  font-size: 0.95rem;
  padding: 0 10px;
  line-height: 22px;
  height: 22px;
}
.alt-suburb {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.alt-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--teal-deep);
}
.alt-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.alt-link {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  text-decoration: none;
}
.alt-link:hover {
  color: var(--gold-warm);
  border-bottom-color: var(--teal);
}
.alt-disclaimer {
  margin: 32px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 960px) {
  .alt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .alt-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--teal-darker);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}
.footer-simple { max-width: 820px; margin: 0 auto; text-align: center; }
.footer-simple p { font-size: 0.92rem; line-height: 1.6; }
.contact-row {
  background: rgba(244, 196, 48, 0.1);
  border: 1px solid rgba(244, 196, 48, 0.35);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px auto !important;
  max-width: 560px;
}
.contact-row strong { color: var(--gold-soft); }
.contact-mail {
  display: inline-block;
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  text-decoration: none;
}
.contact-mail:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}
.footer-meta {
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.04em;
}
.footer-meta strong { color: var(--gold-soft); }
.acknowledgment a {
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.acknowledgment a:hover { color: var(--gold); }
.acknowledgment {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ============================================================
   Reveal-on-scroll utility
   ============================================================ */
.in-view-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.in-view-target.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .primary-nav { gap: 14px; }
  .tl::before { left: 22px; }
  .tl-item { padding-left: 64px; }
  .tl-marker { width: 48px; height: 48px; font-size: 1.1rem; }
  .prio { grid-template-columns: 50px 1fr; gap: 14px; padding: 18px; }
  .prio-rank { font-size: 1.7rem; }
  .reveal-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .products, .hero-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   HEADER eBucks
   ============================================================ */
.header-ebucks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ebucks-level {
  background: var(--teal-deep);
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}
.ebucks-pill {
  background: linear-gradient(135deg, var(--gold), var(--gold-warm));
  color: var(--teal-darker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(244,196,48,0.3);
}

/* ============================================================
   STORE — eBucks overrides
   ============================================================ */
.product-req {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.btn-buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-buy.btn-locked {
  background: var(--muted);
  color: #fff;
}
.btn-buy.btn-owned {
  background: #4ade80;
  color: var(--teal-darker);
}
.product-owned {
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
}
.product-owned::after {
  content: "OWNED";
  position: absolute;
  top: 12px; right: 12px;
  background: #4ade80;
  color: var(--teal-darker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  z-index: 3;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.game-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--teal-darker) 0%, #041e24 100%);
  color: #fff;
  border-top: 3px solid var(--gold);
}
.game-section .section-head h2 { color: var(--gold); }
.game-section .section-eyebrow { background: var(--gold); color: var(--teal-darker); }
.game-section .lede { color: rgba(255,255,255,0.7); }

.game-wrapper {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

/* HUD */
.game-hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.game-hud-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
  min-width: 72px;
}
.hud-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.hud-value {
  display: block;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold);
}
.hud-combo-hot { color: #fb923c; animation: pulse-combo 0.4s ease-in-out infinite; }
.hud-combo-fire { color: #ef4444; font-size: 1.3rem; }
@keyframes pulse-combo {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
.game-hud-ebucks .hud-value { color: #4ade80; }


/* === 3D GAME UI === */
.game3d-wrapper {
  display: grid;
  grid-template-columns: 1fr 220px;
  grid-template-rows: auto auto;
  gap: 0;
  background: #0a0a0a;
  border: 2px solid rgba(244,196,48,0.3);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.game3d-viewport {
  position: relative;
  background: #000;
  aspect-ratio: 640/400;
}
.game3d-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  cursor: crosshair;
}

.game3d-sidebar {
  background: rgba(4,50,58,0.95);
  padding: 16px;
  border-left: 1px solid rgba(244,196,48,0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 400px;
}

.game3d-day {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(244,196,48,0.2);
}
.game3d-hint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.4;
}

.stat-group { display: flex; flex-direction: column; gap: 6px; }
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "JetBrains Mono", monospace; font-size: 0.65rem;
}
.stat-label { color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-val { color: var(--gold); font-weight: 700; }
.stat-det { color: #ef4444; }
.stat-ebucks-row .stat-val { color: #4ade80; }

.stat-bar {
  height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden;
}
.stat-bar-fill {
  height: 100%; border-radius: 3px; transition: width 0.4s ease;
}
.stat-bar-rep { background: linear-gradient(90deg, #4ade80, #22c55e); }
.stat-bar-reb { background: linear-gradient(90deg, #f97316, #ef4444); }
.stat-bar-kno { background: linear-gradient(90deg, #60a5fa, #3b82f6); }

.game3d-minimap {
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 1;
  image-rendering: pixelated;
  margin-top: auto;
}

/* Dialogue */
.game3d-dialogue {
  grid-column: 1 / -1;
  min-height: 0;
  transition: min-height 0.3s;
}
.game3d-dialogue.dialogue-visible {
  min-height: 180px;
  border-top: 2px solid var(--gold);
  background: rgba(4,30,36,0.97);
}
.dialogue-inner {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
}
.dialogue-portrait {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
.dialogue-text-area { flex: 1; }
.dialogue-speaker {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dialogue-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.dialogue-choices { display: flex; flex-direction: column; gap: 6px; }
.dialogue-choice {
  background: rgba(244,196,48,0.08);
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 6px;
  padding: 8px 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dialogue-choice:hover {
  background: rgba(244,196,48,0.2);
  border-color: var(--gold);
  color: #fff;
}

/* Overlay */
.game3d-overlay {
  position: absolute; inset: 0;
  background: rgba(4,30,36,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 15; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}

/* Interaction prompt */
.interact-prompt {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7); border: 1px solid var(--gold);
  color: var(--gold); padding: 8px 18px; border-radius: 6px;
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.06em;
  animation: prompt-pulse 1.5s ease-in-out infinite;
  z-index: 10;
}
@keyframes prompt-pulse {
  0%, 100% { opacity: 0.8; } 50% { opacity: 1; border-color: #fff; }
}

/* Notification toast */
.game-notification {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: rgba(74,222,128,0.9); color: #041e24;
  padding: 10px 20px; border-radius: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.04em;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 20; pointer-events: none;
}
.notification-visible { transform: translateX(-50%) translateY(0); }

/* Scene title card */
.scene-title {
  text-align: center;
  animation: scene-fade-in 0.6s ease-out;
}
.scene-title-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.scene-title h3 {
  color: var(--gold);
  font-size: 2rem;
  font-family: "Merriweather", Georgia, serif;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(244,196,48,0.3);
}
.scene-title-hint {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-style: italic;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}
@keyframes scene-fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Controls hint */
.game3d-controls-hint {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 16px; flex-wrap: wrap;
}
.game3d-controls-hint span {
  font-family: "JetBrains Mono", monospace; font-size: 0.68rem;
  color: rgba(255,255,255,0.4); letter-spacing: 0.08em;
}

/* Start button */
.game3d-start-btn {
  display: block; margin: 24px auto 0; font-size: 1.1rem; padding: 14px 36px;
}


@media (max-width: 560px) {
  .products, .hero-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   HEADER eBucks
   ============================================================ */
.header-ebucks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ebucks-level {
  background: var(--teal-deep);
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}
.ebucks-pill {
  background: linear-gradient(135deg, var(--gold), var(--gold-warm));
  color: var(--teal-darker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(244,196,48,0.3);
}

/* ============================================================
   STORE — eBucks overrides
   ============================================================ */
.product-req {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.btn-buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-buy.btn-locked {
  background: var(--muted);
  color: #fff;
}
.btn-buy.btn-owned {
  background: #4ade80;
  color: var(--teal-darker);
}
.product-owned {
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
}
.product-owned::after {
  content: "OWNED";
  position: absolute;
  top: 12px; right: 12px;
  background: #4ade80;
  color: var(--teal-darker);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  z-index: 3;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.game-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--teal-darker) 0%, #041e24 100%);
  color: #fff;
  border-top: 3px solid var(--gold);
}
.game-section .section-head h2 { color: var(--gold); }
.game-section .section-eyebrow { background: var(--gold); color: var(--teal-darker); }
.game-section .lede { color: rgba(255,255,255,0.7); }

.game-wrapper {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

/* HUD */
.game-hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.game-hud-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
  min-width: 72px;
}
.hud-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.hud-value {
  display: block;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold);
}
.hud-combo-hot { color: #fb923c; animation: pulse-combo 0.4s ease-in-out infinite; }
.hud-combo-fire { color: #ef4444; font-size: 1.3rem; }
@keyframes pulse-combo {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
.game-hud-ebucks .hud-value { color: #4ade80; }

/* GAME BOARD — 3D Isometric */
.game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(14,110,122,0.25) 0%, rgba(4,50,58,0.6) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(244,196,48,0.06) 49px, rgba(244,196,48,0.06) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(244,196,48,0.06) 49px, rgba(244,196,48,0.06) 50px);
  border: 2px solid rgba(244,196,48,0.3);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  min-height: 440px;
  transform-style: preserve-3d;
  transform: rotateX(25deg) rotateY(0deg) rotateZ(0deg);
  transition: transform 0.3s ease-out, box-shadow 0.3s;
  box-shadow:
    0 40px 60px -20px rgba(0,0,0,0.6),
    0 0 80px -10px rgba(14,110,122,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.game-board::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244,196,48,0.2), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.game-board--slow {
  box-shadow:
    0 40px 60px -20px rgba(0,0,0,0.6),
    0 0 60px rgba(96,165,250,0.4),
    inset 0 0 30px rgba(96,165,250,0.1);
  border-color: rgba(96,165,250,0.5);
}

.game-cell {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  transform-style: preserve-3d;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.04);
}
.game-cell:hover {
  background: rgba(244,196,48,0.1);
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.3), 0 0 16px rgba(244,196,48,0.15);
  transform: translateZ(4px);
}
.game-cell:active {
  background: rgba(244,196,48,0.2);
  transform: translateZ(-2px);
}

.game-hole {
  position: absolute;
  bottom: 4px; left: 12%; right: 12%;
  height: 24%;
  background: radial-gradient(ellipse at 50% 80%, #000 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.3) 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 4px rgba(0,0,0,0.4), inset 0 -2px 6px rgba(0,0,0,0.5);
}
.game-hole::after {
  content: "";
  position: absolute;
  top: 15%; left: 15%; right: 15%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(77,208,216,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

/* STUDENT — 3D */
.student {
  position: absolute;
  bottom: -110%;
  left: 50%;
  transform: translateX(-50%) translateZ(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  user-select: none;
  z-index: 2;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.5));
  transform-style: preserve-3d;
}
.student--pop { bottom: 12%; }
.student--sink { bottom: -110%; transition: bottom 0.35s ease-in; }
.student--caught {
  animation: caught3d 0.45s ease-out forwards;
}
.student--wrong {
  animation: wrong-shake3d 0.4s ease-out forwards;
}
.student--golden .student-uniform {
  background: var(--gold) !important;
  box-shadow: 0 0 24px rgba(244,196,48,0.9), 0 4px 8px rgba(0,0,0,0.3);
}

@keyframes caught3d {
  0%   { transform: translateX(-50%) translateZ(30px) scale(1); opacity: 1; }
  30%  { transform: translateX(-50%) translateZ(60px) scale(1.4); opacity: 0.9; }
  100% { transform: translateX(-50%) translateZ(100px) scale(0) rotateY(180deg); opacity: 0; }
}
@keyframes wrong-shake3d {
  0%, 100% { transform: translateX(-50%) translateZ(30px); }
  15%  { transform: translateX(calc(-50% + 10px)) translateZ(30px) rotateZ(5deg); }
  30%  { transform: translateX(calc(-50% - 10px)) translateZ(30px) rotateZ(-5deg); }
  45%  { transform: translateX(calc(-50% + 6px)) translateZ(30px) rotateZ(3deg); }
  60%  { transform: translateX(calc(-50% - 6px)) translateZ(30px) rotateZ(-3deg); }
  80%  { transform: translateX(calc(-50% + 2px)) translateZ(30px); }
}

.student-hat {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: -6px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  transform: translateZ(8px);
}
.student-head {
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.25));
  transform: translateZ(6px);
}
.student-body-wrap {
  position: relative;
  margin-top: -3px;
  transform: translateZ(4px);
}
.student-uniform {
  width: 42px;
  height: 32px;
  background: linear-gradient(180deg, var(--teal-deep), #053e48);
  border-radius: 6px 6px 2px 2px;
  border: 1px solid var(--teal);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.student-uniform--boss {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border-color: #475569;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.student--violator .student-uniform {
  box-shadow: 0 0 14px rgba(239,68,68,0.6), 0 4px 8px rgba(0,0,0,0.3);
  border-color: #ef4444;
}
.student--compliant .student-uniform {
  border-color: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.2), 0 4px 8px rgba(0,0,0,0.3);
}
.student-badge {
  position: absolute;
  top: -6px; right: -14px;
  font-size: 0.9rem;
  background: rgba(239,68,68,0.95);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  animation: badge-bounce3d 0.6s ease-out;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
  transform: translateZ(12px);
}
.student-badge-pwr {
  background: rgba(96,165,250,0.95);
  font-size: 0.6rem;
  font-weight: 900;
  color: #fff;
}
.student-badge-boss {
  background: rgba(239,68,68,0.95);
}
.student-check {
  position: absolute;
  top: -4px; left: -14px;
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 900;
  filter: drop-shadow(0 0 4px rgba(74,222,128,0.5));
  transform: translateZ(10px);
}
@keyframes badge-bounce3d {
  0%   { transform: translateZ(12px) scale(0); }
  60%  { transform: translateZ(20px) scale(1.3); }
  100% { transform: translateZ(12px) scale(1); }
}

/* SCORE FLOATER */
.score-floater {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 10;
  animation: float-score 0.8s ease-out forwards;
}
@keyframes float-score {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(1.4); }
}

/* PARTICLES */
.particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: particle-fly 0.6s ease-out forwards;
}
@keyframes particle-fly {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}

/* CONFETTI */
.confetti {
  position: absolute;
  top: -10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  z-index: 20;
  pointer-events: none;
  animation: confetti-fall 3s ease-in forwards;
}
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}

/* HIDDEN PIXEL EASTER EGG */
.hidden-pixel {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(244,196,48,0.15);
  cursor: pointer;
  z-index: 5;
  border-radius: 1px;
}
.hidden-pixel:hover {
  background: rgba(244,196,48,0.6);
  box-shadow: 0 0 6px var(--gold);
}

/* GAME CONTROLS */
.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.game-powerups {
  display: flex;
  gap: 8px;
}
.game-powerup {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.game-powerup:hover {
  background: rgba(244,196,48,0.15);
  border-color: var(--gold);
}
.game-powerup span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
}
.game-start-btn {
  font-size: 1rem;
  padding: 12px 28px;
}

/* GAME OVERLAY */
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,50,58,0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.game-overlay--visible {
  opacity: 1;
  pointer-events: all;
}
.overlay-content {
  text-align: center;
  padding: 32px;
}
.overlay-content h3 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.overlay-stats {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 2;
}
.overlay-gameover h3 { color: #ef4444; }
.overlay-win h3 { color: var(--gold); text-shadow: 0 0 20px rgba(244,196,48,0.6); }
.overlay-win p { color: var(--gold-soft); font-style: italic; font-size: 1.1rem; }

.overlay-typer { max-width: 500px; }
.typer-target {
  background: rgba(0,0,0,0.4);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  line-height: 1.6;
}
.typer-input {
  background: rgba(244,196,48,0.1);
  border: 1px solid var(--gold);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 12px;
  min-height: 44px;
  text-align: left;
  line-height: 1.6;
}
.typer-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

/* GAME STATS */
.game-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.game-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,196,48,0.15);
  border-radius: 6px;
  padding: 14px 20px;
  text-align: center;
  min-width: 140px;
}
.game-stat span:first-child {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.game-stat span:last-child {
  display: block;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
}

@media (max-width: 560px) {
  .game-board { gap: 8px; padding: 10px; min-height: 300px; transform: rotateX(15deg); }
  .game-hud { gap: 4px; }
  .game-hud-item { padding: 6px 8px; min-width: 52px; }
  .hud-value { font-size: 0.9rem; }
  .game-controls { flex-direction: column; }
  .game-stats { gap: 10px; }
  .header-ebucks { display: none; }
}
