/* ===================== Base ===================== */
:root {
  --gold: #ffc857;
  --cream: #fff8ee;
  --ink: #241a10;
  --panel-dark: #1a1030;
  --pink: #ff5d8f;
  --coral: #ff6b5e;
  --amber: #ffb703;
  --green: #06d6a0;
  --purple: #9b5de5;
  --cyan: #4cc9f0;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  font-size: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--panel-dark);
  color: var(--cream);
  font-family: "Georgia", "Iowan Old Style", serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Colorful festive base so nothing is ever flat dark, even before images load */
body {
  background:
    radial-gradient(circle at 15% 20%, rgba(155,93,229,0.25), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(76,201,240,0.22), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255,93,143,0.20), transparent 45%),
    var(--panel-dark);
}

h1, h2, h3 { font-family: "Palatino Linotype", Georgia, serif; margin: 0; }

button {
  font-family: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

img { max-width: 100%; display: block; }

.panel {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-bg {
  position: absolute;
  inset: 0;
  /* 'contain' shows the whole photo (portrait shots aren't cropped/cut off on a
     wide desktop panel); the panel color fills the letterbox bands. */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #160f2a;
  z-index: 0;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.panel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* default colorful overlay; per-panel color classes override the hue */
  background: linear-gradient(155deg, rgba(255,93,143,0.45) 0%, rgba(26,16,48,0.88) 92%);
}
.panel-bg.no-image {
  background: radial-gradient(circle at 50% 30%, #3a2a5a, #160f2a 75%);
}

/* Spotify-Wrapped style color blocks — each panel a different vibrant hue */
.c0 .panel-bg::after { background: linear-gradient(155deg, rgba(255,93,143,0.55), rgba(26,16,48,0.9) 92%); }
.c1 .panel-bg::after { background: linear-gradient(155deg, rgba(255,183,3,0.55),  rgba(26,16,48,0.9) 92%); }
.c2 .panel-bg::after { background: linear-gradient(155deg, rgba(6,214,160,0.5),   rgba(26,16,48,0.9) 92%); }
.c3 .panel-bg::after { background: linear-gradient(155deg, rgba(255,107,94,0.55), rgba(26,16,48,0.9) 92%); }
.c4 .panel-bg::after { background: linear-gradient(155deg, rgba(155,93,229,0.55), rgba(26,16,48,0.9) 92%); }
.c5 .panel-bg::after { background: linear-gradient(155deg, rgba(76,201,240,0.5),  rgba(26,16,48,0.9) 92%); }

.panel-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 760px;
}

/* ===================== Hero ===================== */
#hero .panel-content { max-width: 900px; }
#hero-bg::after {
  background: linear-gradient(155deg,
    rgba(255,93,143,0.5) 0%,
    rgba(155,93,229,0.45) 40%,
    rgba(76,201,240,0.4) 70%,
    rgba(26,16,48,0.9) 100%);
  background-size: 200% 200%;
  animation: heroshift 14s ease-in-out infinite alternate;
}
@keyframes heroshift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}

#hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  color: var(--gold);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
#hero h1.in-view { opacity: 1; transform: scale(1); }

#hero p.subtitle {
  margin-top: 1.2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  opacity: 0;
  transition: opacity 1.1s ease 0.3s;
}
#hero p.subtitle.in-view { opacity: 1; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}
.scroll-cue .chevron {
  font-size: 1.8rem;
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.scroll-cue.hidden { opacity: 0; pointer-events: none; }

/* ===================== Stat panels ===================== */
.stat-panel .panel-content {
  perspective: 1200px;
}
.stat-number {
  font-size: clamp(3rem, 11vw, 7.5rem);
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 0 40px rgba(255,255,255,0.15);
}
/* number tint follows the panel color for that Wrapped pop */
.c0 .stat-number { color: #ffd1e0; }
.c1 .stat-number { color: #ffe6a8; }
.c2 .stat-number { color: #b8ffec; }
.c3 .stat-number { color: #ffd3cc; }
.c4 .stat-number { color: #e6d4ff; }
.c5 .stat-number { color: #c9f0ff; }
.stat-caption {
  margin-top: 0.8rem;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}
.stat-inner {
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(60px) rotateY(25deg) scale(0.9);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.3,1);
}
.stat-inner.in-view {
  opacity: 1;
  transform: translateY(0) rotateY(0) scale(1);
}

/* ===================== Quiz ===================== */
.quiz-panel .panel-content { max-width: 640px; }
.quiz-question {
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  margin-bottom: 1.8rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.quiz-option {
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--gold);
  color: var(--cream);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 1.15rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.quiz-option:hover,
.quiz-option:focus-visible {
  background: rgba(230,182,77,0.25);
}
.quiz-option:active { transform: scale(0.97); }
.quiz-option[disabled] { opacity: 0.5; cursor: default; }

.quiz-reveal {
  margin-top: 1.6rem;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--gold);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.34,1.56,.64,1);
}
.quiz-reveal.revealed { opacity: 1; transform: scale(1); }

.confetti-piece {
  position: fixed;
  top: -10px;
  width: 10px;
  height: 14px;
  z-index: 50;
  pointer-events: none;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  to { transform: translateY(105vh) rotate(540deg); opacity: 0.9; }
}

/* ===================== Transition ===================== */
#transition .panel-content p {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-style: italic;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#transition .panel-content p.in-view { opacity: 1; }

/* ===================== Memory Jar ===================== */
#jar-section {
  min-height: 100vh;
  padding: 5rem 1.5rem 8rem;
  text-align: center;
}
#jar-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}
#jar-prompt {
  margin: 0 0 3rem;
  opacity: 0.85;
}

.jar-scene {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 560px;
}

/* Jar sits on the LEFT and tips to the right, pouring chits out */
#jar-img-wrap {
  position: absolute;
  left: 24px;
  top: 60px;
  width: 180px;
  cursor: pointer;
  transform-origin: 55% 88%;
  transition: transform 0.9s cubic-bezier(.34,1.45,.5,1);
  z-index: 4;
}
#jar-img-wrap.tipped {
  transform: rotate(62deg);
}
#jar-img-wrap img { width: 100%; }

.jar-css-shape {
  width: 160px;
  height: 210px;
  margin: 0 auto;
  border: 6px solid rgba(255,255,255,0.5);
  border-top: none;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(230,182,77,0.25), rgba(230,182,77,0.08));
  position: relative;
}
.jar-css-shape::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 10px;
  right: 10px;
  height: 22px;
  border: 6px solid rgba(255,255,255,0.5);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

/* crumpled paper chits piled inside the jar, before it's tipped */
.jar-fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#jar-img-wrap.tipped .jar-fill { opacity: 0; } /* they've poured out */
/* A scrunched-up paper note: irregular torn silhouette (clip-path),
   light-catching facets + shadowed creases (layered gradients), a couple
   of sharp fold lines, and a soft drop shadow underneath. --paper tints
   each one; the white/black gradients on top read as the crumple. */
.chit-ball {
  position: absolute;
  width: 34px;
  height: 30px;
  --paper: #fff3c4;
  background:
    linear-gradient(118deg, transparent 44%, rgba(0,0,0,0.12) 47%, transparent 50%),
    linear-gradient(58deg, transparent 58%, rgba(0,0,0,0.09) 61%, transparent 64%),
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.75) 0 16%, transparent 42%),
    radial-gradient(circle at 66% 38%, rgba(255,255,255,0.5) 0 12%, transparent 36%),
    radial-gradient(circle at 80% 68%, rgba(255,255,255,0.35) 0 10%, transparent 34%),
    radial-gradient(circle at 52% 74%, rgba(0,0,0,0.18) 0 18%, transparent 46%),
    radial-gradient(circle at 20% 66%, rgba(0,0,0,0.14) 0 14%, transparent 40%),
    radial-gradient(circle at 84% 24%, rgba(0,0,0,0.1) 0 12%, transparent 38%),
    var(--paper);
  clip-path: polygon(
    50% 1%, 64% 7%, 79% 3%, 89% 17%, 97% 33%, 90% 49%,
    99% 65%, 85% 79%, 71% 93%, 51% 97%, 35% 92%, 21% 97%,
    9% 81%, 2% 63%, 11% 47%, 3% 31%, 15% 15%, 33% 7%
  );
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.28));
}
.chit-ball.b0 { --paper: #fff3c4; left: 58px; bottom: 24px; transform: rotate(-8deg); }
.chit-ball.b1 { --paper: #ffd6e0; left: 90px; bottom: 20px; width: 32px; height: 29px; transform: rotate(14deg); }
.chit-ball.b2 { --paper: #c7f0e0; left: 72px; bottom: 44px; transform: rotate(23deg); }
.chit-ball.b3 { --paper: #ffe0c2; left: 102px; bottom: 40px; width: 31px; height: 28px; transform: rotate(-17deg); }
.chit-ball.b4 { --paper: #e2d5ff; left: 66px; bottom: 62px; width: 32px; transform: rotate(6deg); }
.chit-ball.b5 { --paper: #d0eeff; left: 94px; bottom: 60px; width: 30px; height: 27px; transform: rotate(-25deg); }

/* Landing area for the fallen chits (to the right of / below the jar) */
.notes-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.note {
  position: absolute;
  /* start point = roughly the jar's mouth; JS animates each chit to a
     landing spot down + to the right, so they read as falling out */
  left: 150px;
  top: 70px;
  width: 128px;
  height: 128px;
  color: var(--ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(0,0) scale(0.15) rotate(0deg);
  clip-path: polygon(6% 4%, 40% 0%, 60% 8%, 94% 2%, 100% 40%, 92% 62%, 100% 96%, 60% 100%, 42% 92%, 4% 100%, 0% 60%, 8% 38%);
  cursor: pointer;
  pointer-events: none;
  /* gravity-ish fall with a small landing bounce (overshoot easing) */
  transition: box-shadow 0.2s ease,
              transform 0.95s cubic-bezier(.3,1.15,.5,1),
              opacity 0.35s ease;
}
/* each chit a different paper color for that colorful, playful pile */
.note.n0 { background: #fff3c4; }
.note.n1 { background: #ffd6e0; }
.note.n2 { background: #c7f0e0; }
.note.n3 { background: #ffe0c2; }
.note.n4 { background: #e2d5ff; }
.note.n5 { background: #d0eeff; }
.note:hover { box-shadow: 0 24px 70px rgba(0,0,0,0.5); z-index: 10; }

.note.scattered { opacity: 1; pointer-events: auto; }

.note-open-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,7,4,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.note-open-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,3,2,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lightbox-overlay.visible { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.note-media img { cursor: zoom-in; }

.note-card {
  background: var(--cream);
  color: var(--ink);
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transform: scale(0.4) rotate(-8deg);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
  max-height: 80vh;
  overflow-y: auto;
}
.note-open-overlay.visible .note-card {
  transform: scale(1) rotate(0deg);
}
.note-card .category {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: #8a6a2c;
  font-weight: bold;
}
.note-card h3 {
  font-size: 1.6rem;
  margin: 0.4rem 0 0.8rem;
}
.note-card p { font-size: 1.1rem; line-height: 1.6; }
.note-media { margin-top: 1rem; }
.note-media img,
.note-media video {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.note-media audio { width: 100%; margin-top: 0.5rem; }
.note-media.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.note-media.gallery img { width: 100%; height: 140px; object-fit: cover; }

/* ---- staged gallery reveal (intro → click me → slideshow → grid) ---- */
.gf-intro {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gf-scrollcue {
  font-size: 1.1rem;
  font-weight: bold;
  color: #8a6a2c;
  animation: gfbounce 1.4s ease-in-out infinite;
}
@keyframes gfbounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.gf-firstphoto {
  position: relative;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gf-firstphoto img { width: 100%; display: block; }
.gf-clickme {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  animation: gfglow 1.6s ease-in-out infinite;
}
@keyframes gfglow { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
.gf-slideshow {
  position: relative;
  width: 100%;
  height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
/* while the auto-slideshow plays, break out of the note card and fill the screen */
.note-media[data-stage="slideshow"] .gf-slideshow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  z-index: 160;
}
/* the card's transform would trap the fixed slideshow inside it; drop it while
   the fullscreen slideshow (which covers the card anyway) is playing */
.note-card:has(.note-media[data-stage="slideshow"]) {
  transform: none !important;
}
.gf-slideshow img {
  /* shrink the photo so it doesn't fill the screen; aspect ratio stays natural.
     a portrait photo is capped by max-width (~42vw) so 2–3 would fit across. */
  max-width: 42vw;
  max-height: 72vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.45s ease, transform 1s ease;
}
.gf-slideshow img.in { opacity: 1; transform: scale(1); }
.note-card .close-btn {
  margin-top: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
}
.note-card .delete-btn {
  margin-top: 1.5rem;
  margin-left: 0.6rem;
  background: transparent;
  color: #b23a3a;
  border: 2px solid #b23a3a;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
}

/* ===================== Call-to-action (make your own) ===================== */
.cta-wrap {
  margin-top: 5rem;
  text-align: center;
}
.cta-line {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.cta-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: #241a10;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  box-shadow: 0 10px 30px rgba(255,93,143,0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.cta-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 40px rgba(255,93,143,0.5); }
.cta-btn:active { transform: scale(0.98); }

.hint-pulse {
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(-3deg); }
}

footer.credits {
  text-align: center;
  padding: 2rem;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* ===================== Responsive ===================== */
@media (max-width: 700px) {
  :root { font-size: 17px; }
  .jar-scene { min-height: 620px; }
  #jar-img-wrap { left: 50%; margin-left: -70px; width: 140px; top: 20px; }
  .note { left: 50%; margin-left: -64px; top: 150px; width: 112px; height: 112px; font-size: 0.85rem; }
  /* 42vw is only ~160px on a phone — too small. Size the fullscreen
     slideshow photo by the phone viewport instead. */
  .gf-slideshow img { max-width: 86vw; max-height: 66vh; }
}

/* ===================== Create-your-own page ===================== */
.create-header {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}
.create-header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold);
}
.create-header p { opacity: 0.85; margin-top: 0.5rem; }
.create-header .back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 1rem;
}

.create-form {
  max-width: 560px;
  margin: 1.5rem auto 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.6rem;
}
.create-form label {
  display: block;
  margin: 0.9rem 0 0.35rem;
  font-size: 1rem;
  color: var(--cream);
}
.create-form input[type="text"],
.create-form textarea,
.create-form input[type="file"] {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.25);
  color: var(--cream);
}
.create-form textarea { min-height: 90px; resize: vertical; }
.create-form input[type="file"] { padding: 0.6rem; }
.create-form .add-btn {
  margin-top: 1.4rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.9rem;
  font-size: 1.15rem;
  font-weight: bold;
  color: #241a10;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  cursor: pointer;
}
.create-form .add-btn:active { transform: scale(0.98); }
.create-form .form-msg { margin-top: 0.8rem; text-align: center; min-height: 1.2em; color: var(--amber); }

.create-jar-wrap {
  text-align: center;
  padding: 1rem 1.5rem 6rem;
}
.create-jar-wrap h2 { color: var(--gold); font-size: clamp(1.4rem, 4vw, 2rem); }
.create-empty { opacity: 0.7; margin-top: 1rem; }

/* When JS disables pinning (mobile/short viewport), panels just stack
   and fade in via .in-view instead of being scroll-jacked. */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Spotify-Wrapped screen transitions (GSAP / rich mode only).
   A solid color panel covers each screen and sweeps away to
   reveal it. When GSAP drives things, the CSS entrance states
   above are neutralized so GSAP has sole control (no fighting).
   ============================================================ */
.screen-wipe {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  /* covers its screen by default; GSAP sweeps it up on entry */
  will-change: transform;
}
.screen-wipe::after {
  /* a lighter diagonal band so the wipe reads as a moving panel, not a flat fill */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.22) 0%, transparent 45%);
}
.gsap-mode .stat-inner { opacity: 1; transform: none; transition: none; }
.gsap-mode .reveal { opacity: 1; transform: none; transition: none; }
.gsap-mode #transition .panel-content p { opacity: 1; transition: none; }

/* Confirms no dead-blank state if CDN fails: base content is visible
   without any JS/animation classes applied (see script.js no-js fallback). */
.no-anim .stat-inner,
.no-anim #hero h1,
.no-anim #hero p.subtitle,
.no-anim .quiz-reveal,
.no-anim #transition p {
  opacity: 1 !important;
  transform: none !important;
}
