/* =========================================================================
   DREAMWORLD — where dreams create realities
   Design system + scene engine styles.
   Palette derived from the official logo and the Visual Continuity Bible.
   ========================================================================= */

/* ------------------------------------------------------------ tokens ---- */
:root {
  /* Night — the substrate of every dream */
  --night-900: #05070f;
  --night-800: #070a1f;
  --night-700: #0b1033;
  --night-600: #141a45;
  --night-500: #1b1f4b;

  /* Light — the Tree of Life constant */
  --gold-400: #f0c25e;
  --gold-300: #ffd98a;
  --gold-200: #ffe9bd;
  --cream: #fdf6e3;

  /* Dream glow */
  --teal-400: #35d6c4;
  --cyan-400: #4fd1e8;
  --violet-400: #8b5cf6;
  --violet-300: #b79bff;

  /* Chakra spectrum — root to crown */
  --c-root: #e0453c;
  --c-sacral: #f58a31;
  --c-solar: #f5c542;
  --c-heart: #3fbf6f;
  --c-throat: #35a7e0;
  --c-thirdeye: #9b6be0;
  --c-crown: #e8dff7;

  /* Per-scene tint, swapped by the scene engine */
  --tint: var(--c-crown);
  --tint-soft: rgba(232, 223, 247, 0.16);

  --font-display: "Cinzel", "Georgia", serif;
  --font-title: "Marcellus", "Georgia", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --shell: min(1180px, 92vw);
  --radius: 18px;
  --radius-lg: 28px;

  --ease-dream: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-veil: cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h: 74px;
}

/* ------------------------------------------------------------- reset ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* the scene engine reads scroll position; keep the bar out of the way */
  scrollbar-color: var(--gold-400) var(--night-800);
}

body {
  margin: 0;
  background: var(--night-800);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* `height: auto` is load-bearing: every <img> ships width/height attributes for
   layout stability, and those attributes act as a used height that silently
   beats `aspect-ratio`. Without this, any image whose CSS box differs from its
   intrinsic ratio gets cropped to a sliver by object-fit. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

::selection { background: var(--gold-400); color: var(--night-900); }

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ======================================================== SCENE ENGINE ==
   Fixed, full-viewport art layers. Only one is visible at a time; the
   engine crossfades between them as sections come into view. Each layer
   carries its own slow parallax drift driven by scroll + pointer.
   ======================================================================= */
.worlds {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--night-600), var(--night-900) 70%);
}

.world {
  position: absolute;
  inset: -6% -4%;
  opacity: 0;
  transition: opacity 1100ms var(--ease-dream);
  will-change: opacity, transform;
}

.world.is-active { opacity: 1; }

.world__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 900ms var(--ease-dream);
  will-change: transform;
}

/* Reading scrim. The commissioned art deliberately keeps its left 45% calm and
   bright — measured luminance up to 222 — which is lovely to look at and
   impossible to put cream text on. So the scrim is horizontal, not vertical:
   heavy where the copy sits, almost absent over the artwork on the right. */
.world__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(4, 6, 14, 0.88) 0%,
      rgba(4, 6, 14, 0.84) 24%,
      rgba(4, 6, 14, 0.66) 42%,
      rgba(4, 6, 14, 0.34) 60%,
      rgba(4, 6, 14, 0.16) 100%),
    linear-gradient(180deg,
      rgba(4, 6, 14, 0.55) 0%,
      rgba(4, 6, 14, 0) 20%,
      rgba(4, 6, 14, 0) 72%,
      rgba(4, 6, 14, 0.62) 100%);
}

/* One column on small screens: the copy runs the full width, so the scrim has
   to cover the whole frame rather than just one side. */
@media (max-width: 900px) {
  .world__grade {
    background:
      linear-gradient(180deg,
        rgba(4, 6, 14, 0.86) 0%,
        rgba(4, 6, 14, 0.74) 40%,
        rgba(4, 6, 14, 0.78) 70%,
        rgba(4, 6, 14, 0.9) 100%);
  }
}

/* Chakra grade. Now that every world has its own painting the tint is a
   whisper, not a repaint — it ties the section's accents to its backdrop. */
.world__tint {
  position: absolute;
  inset: 0;
  background: var(--w-tint, transparent);
  mix-blend-mode: soft-light;
  opacity: 0.35;
}

/* Fine grain so gradients never band on large screens */
.worlds::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* Dream particles — the motif that ties every book together */
#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================= CURTAIN ==
   The velvet veil. Seven children stand before it; parting it is the
   act of entering Dreamworld.
   ======================================================================= */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--night-900);
  cursor: pointer;
  transition: opacity 700ms var(--ease-dream), visibility 700ms;
}

.curtain[hidden] { display: none; }
.curtain.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

/* Two velvet halves that sweep apart */
.curtain__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.42) 0px,
      rgba(0, 0, 0, 0.06) 26px,
      rgba(255, 255, 255, 0.05) 52px,
      rgba(0, 0, 0, 0.42) 82px),
    linear-gradient(180deg, #2a0f3d 0%, #4a1454 42%, #2d0c34 100%);
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.8);
  transition: transform 1600ms var(--ease-veil);
  will-change: transform;
}

.curtain__panel--l { left: 0; transform-origin: left center; }
.curtain__panel--r { right: 0; transform-origin: right center; }

.curtain.is-parting .curtain__panel--l { transform: translateX(-102%) scaleX(0.86); }
.curtain.is-parting .curtain__panel--r { transform: translateX(102%) scaleX(0.86); }

/* Gold valance across the top */
.curtain__valance {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(48px, 9vh, 108px);
  background: linear-gradient(180deg, var(--gold-300), #a97b28);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  transition: transform 1200ms var(--ease-veil);
}

.curtain.is-parting .curtain__valance { transform: translateY(-110%); }

/* The seven, silhouetted in front of the veil */
.curtain__stage {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  transition: transform 1400ms var(--ease-veil), opacity 900ms var(--ease-dream);
}

.curtain.is-parting .curtain__stage { transform: scale(1.35); opacity: 0; }

.curtain__seven {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(-14px, -1vw, 0px);
  margin-bottom: 2rem;
}

/* Each child is a stack: the artwork, plus a blink frame layered on top that
   is normally transparent. `--i` is their index, used to desynchronise every
   loop so the seven never move as one machine. */
.curtain__kid {
  position: relative;
  width: clamp(46px, 8vw, 92px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translateY(14px);
  animation:
    kidRise 900ms var(--ease-dream) calc(120ms + var(--i) * 100ms) forwards,
    kidFloat 5.5s ease-in-out calc(1.2s + var(--i) * 0.37s) infinite;
}

.curtain__kid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 217, 138, 0.5);
  filter: brightness(0.42) contrast(1.15) saturate(0.5);
  box-shadow: 0 0 0 0 var(--kid, var(--gold-300));
  transition: filter 700ms var(--ease-dream), box-shadow 700ms var(--ease-dream);
}

/* Breathing lives on the artwork so it composes with the float above it */
.curtain.is-lit .curtain__kid img {
  filter: brightness(1) contrast(1) saturate(1.05);
  box-shadow: 0 0 26px 2px var(--kid, var(--gold-300));
  animation: kidBreathe 4.2s ease-in-out calc(var(--i) * 0.29s) infinite;
}

/* Blink frame: hidden until the JS flips it on for ~140ms */
.curtain__kid .kid-blink { opacity: 0; }
.curtain__kid.is-blinking .kid-base { opacity: 0; }
.curtain__kid.is-blinking .kid-blink { opacity: 1; }

@keyframes kidRise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kidFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes kidBreathe {
  0%, 100% { scale: 1 1; }
  50% { scale: 1.018 1.03; }
}

/* Full-body cutouts: standing figures, not medallions. The keyed art comes out
   around 1:3.1 (a child is tall and narrow once the background is gone), so the
   frame has to match or they float in empty boxes, small and far apart. */
.curtain__seven.has-cutouts {
  align-items: flex-end;
  gap: clamp(2px, 0.6vw, 10px);
  margin-bottom: 1.4rem;
}

.curtain__seven.has-cutouts .curtain__kid {
  width: clamp(38px, 8.2vw, 104px);
  aspect-ratio: 1 / 3.1;
}

.curtain__seven.has-cutouts .curtain__kid img {
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: bottom center;
  box-shadow: none;
  filter: brightness(0.5) contrast(1.1) saturate(0.55);
}

.curtain.is-lit .curtain__seven.has-cutouts .curtain__kid img {
  filter: drop-shadow(0 0 20px var(--kid, var(--gold-300)));
  box-shadow: none;
}

.curtain__kicker {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold-300);
  opacity: 0;
  animation: fadeUp 900ms var(--ease-dream) 900ms forwards;
}

.curtain__welcome {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 4.6rem);
  color: var(--gold-300);
  text-shadow: 0 0 60px rgba(240, 194, 94, 0.45);
  margin: 0.4em 0 0.15em;
  opacity: 0;
  animation: fadeUp 1100ms var(--ease-dream) 1150ms forwards;
}

.curtain__tagline {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1100ms var(--ease-dream) 1500ms forwards;
}

.curtain__enter {
  margin-top: 2.4rem;
  opacity: 0;
  animation: fadeUp 900ms var(--ease-dream) 2000ms forwards;
}

.curtain__hint {
  display: block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.5);
  animation: pulse 2.6s ease-in-out infinite;
}

.curtain__skip {
  position: absolute;
  z-index: 4;
  bottom: 1.6rem; right: 1.6rem;
  background: none; border: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.45);
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 600ms var(--ease-dream) 2600ms forwards;
}

.curtain__skip:hover { color: var(--gold-300); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.8; }
}

/* ================================================================= NAV == */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background 500ms var(--ease-dream), backdrop-filter 500ms;
}

.nav.is-stuck {
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.88), rgba(5, 7, 15, 0));
  backdrop-filter: blur(10px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav__logo { width: 42px; height: 42px; }

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  line-height: 1;
}

.nav__wordmark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  color: rgba(253, 246, 227, 0.55);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: rgba(253, 246, 227, 0.78);
  transition: color 300ms, background 300ms;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover { color: var(--gold-300); }

.nav__link.is-current {
  color: var(--night-900);
  background: var(--gold-300);
}

/* Language picker */
.lang {
  position: relative;
  margin-left: 0.5rem;
  flex: 0 0 auto;
}

.lang__btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 194, 94, 0.35);
  background: rgba(5, 7, 15, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 300ms, background 300ms;
}

.lang__btn:hover { border-color: var(--gold-300); background: rgba(240, 194, 94, 0.12); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(240, 194, 94, 0.22);
  background: rgba(7, 10, 31, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 250ms, transform 250ms, visibility 250ms;
}

.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.86rem;
  transition: background 200ms;
}

.lang__menu a:hover { background: rgba(240, 194, 94, 0.14); }
.lang__menu a[aria-current="true"] { color: var(--gold-300); }
.lang__menu span { opacity: 0.45; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* Burger (mobile) */
.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid rgba(240, 194, 94, 0.35);
  border-radius: 12px;
  background: rgba(5, 7, 15, 0.45);
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.6px;
  background: var(--gold-300);
  transition: transform 300ms var(--ease-dream), opacity 200ms;
}

.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }

body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================ SECTIONS == */
main { position: relative; z-index: 2; }

.scene {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 5rem) 0 6rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tint);
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.scene__title {
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  color: var(--cream);
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 58ch;
  color: rgba(253, 246, 227, 0.88);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.body-text { max-width: 62ch; color: rgba(253, 246, 227, 0.8); }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms var(--ease-dream), transform 900ms var(--ease-dream);
}

[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 120ms; }
[data-reveal][data-delay="2"] { transition-delay: 240ms; }
[data-reveal][data-delay="3"] { transition-delay: 360ms; }
[data-reveal][data-delay="4"] { transition-delay: 480ms; }

/* ============================================================= BUTTONS == */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 300ms var(--ease-dream), box-shadow 300ms, background 300ms, color 300ms, border-color 300ms;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--night-900);
  box-shadow: 0 10px 40px rgba(240, 194, 94, 0.28);
  font-weight: 700;
}

.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 54px rgba(240, 194, 94, 0.42); }

.btn--ghost {
  border-color: rgba(253, 246, 227, 0.35);
  color: var(--cream);
  background: rgba(5, 7, 15, 0.25);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-300); transform: translateY(-2px); }

.btn[disabled], .btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* ================================================================ HOME == */
.home__inner { max-width: 720px; }

.home__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.02;
  color: var(--gold-300);
  text-shadow: 0 0 80px rgba(240, 194, 94, 0.35);
  margin-bottom: 0.35em;
}

.home__saga {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 0.75rem 1.3rem;
  border-left: 2px solid var(--gold-400);
  background: rgba(5, 7, 15, 0.35);
  backdrop-filter: blur(6px);
}

.home__saga span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.55);
}

.home__saga strong {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--gold-200);
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.45);
}

.scroll-cue::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold-300), transparent);
  animation: cue 2.4s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ================================================================ SAGA == */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.pillar {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(253, 246, 227, 0.12);
  background: rgba(7, 10, 31, 0.45);
  backdrop-filter: blur(10px);
  transition: transform 400ms var(--ease-dream), border-color 400ms, background 400ms;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--tint);
  background: rgba(7, 10, 31, 0.62);
}

.pillar h3 {
  font-size: 1.1rem;
  color: var(--gold-200);
  margin-bottom: 0.5rem;
}

.pillar p { margin: 0; font-size: 0.94rem; color: rgba(253, 246, 227, 0.75); }

.quote {
  margin: 3rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold-400);
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--gold-200);
  max-width: 46ch;
}

.quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.5);
}

/* ========================================================== CHARACTERS == */



.kid img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(253, 246, 227, 0.2);
  filter: saturate(0.7) brightness(0.8);
  transition: filter 400ms, border-color 400ms, box-shadow 400ms;
}








   The card already sits inside the right-hand column of `.seven`, so it only
   has room to split again on genuinely wide screens — below that the text
   column would be squeezed to a couple of words per line. */



.pillar__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  opacity: 0.92;
}

.guides__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 3.5rem;
}

.guides__head img { width: 46px; height: 46px; opacity: 0.85; }

.symbols__crest {
  width: clamp(72px, 9vw, 108px);
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 26px rgba(240, 194, 94, 0.35));
}

.guides__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-300);
}

.guides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

/* The guides are painted at full length, robed and standing — a portrait card
   rather than a list row, so the figure actually gets to be seen. */
.guide {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(253, 246, 227, 0.12);
  background: rgba(7, 10, 31, 0.5);
  backdrop-filter: blur(10px);
  transition: transform 420ms var(--ease-dream), border-color 420ms, box-shadow 420ms;
}

.guide:hover {
  transform: translateY(-6px);
  border-color: var(--g);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in srgb, var(--g) 45%, transparent);
}

/* The seven children reuse this card wholesale; their paintings are 3:4, so
   only the frame's proportion changes. */
.guide--tall .guide__frame { aspect-ratio: 3 / 4; }

.guide__sub {
  font-style: italic;
  color: rgba(253, 246, 227, 0.6);
  margin: 0 0 0.6rem;
}

.guide__line {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--g, var(--gold-200));
  margin: 0 0 0.9rem;
}

.guide__frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  background: radial-gradient(circle at 50% 35%,
              color-mix(in srgb, var(--g) 22%, transparent), transparent 70%);
}

/* The guides are painted full length, but a whole robed figure shrunk into a
   card is a smudge. So the card frames the face by default and pulls back to
   the full standing portrait on hover — the zoom origin sits on the head,
   which every guide was painted to the same mark. */
.guide__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Scaling about origin o shows the source band [o - o/S, o + (1-o)/S].
     Anchoring at the top (o=0) with S=3.6 shows 0..0.278 — measured against a
     gridded strip of all sixteen guides, whose heads sit between 0.08 and 0.21
     and are all centred horizontally. A looser 2.6 showed chest, and any
     vertical origin above 0 pushed the band down past the shorter faces. */
  transform-origin: var(--ox, 50%) var(--oy, 0);
  transform: scale(var(--s, 3.6));
  transition: transform 900ms var(--ease-dream);
}

.guide:hover .guide__art,
.guide:focus-within .guide__art,
.guide.is-open .guide__art { transform: scale(1); }

/* The floor fade keeps the name legible over the art; on hover it lifts so the
   figure's feet are not swallowed. */
.guide__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 31, 0.92));
  pointer-events: none;
  opacity: 1;
  transition: opacity 700ms var(--ease-dream);
}

.guide:hover .guide__frame::after { opacity: 0.35; }

.guide__hint {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 7, 15, 0.72);
  border: 1px solid color-mix(in srgb, var(--g) 60%, transparent);
  color: var(--g);
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 400ms var(--ease-dream);
  pointer-events: none;
}

.guide:hover .guide__hint { opacity: 1; }

/* Placeholder plate for guides whose portrait has not been painted yet */
.guide__art--empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: none;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--g);
  background: rgba(5, 7, 15, 0.6);
}

/* ------------------------------------------------- guide lightbox ------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 6, 14, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-dream), visibility 400ms;
}

.lightbox.is-on { opacity: 1; visibility: visible; }

.lightbox__panel {
  display: grid;
  gap: 1.6rem;
  max-width: min(940px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--g, var(--gold-300)) 45%, transparent);
  background: rgba(7, 10, 31, 0.86);
  transform: translateY(14px) scale(0.98);
  transition: transform 450ms var(--ease-dream);
}

.lightbox.is-on .lightbox__panel { transform: none; }

@media (min-width: 760px) {
  .lightbox__panel { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; }
}

.lightbox__panel img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.lightbox__panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--g, var(--gold-300));
  margin-bottom: 0.15em;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 194, 94, 0.4);
  background: rgba(5, 7, 15, 0.7);
  color: var(--gold-300);
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox__close:hover { border-color: var(--gold-300); }

.guide__body {
  padding: 0 1.15rem 1.25rem;
  margin-top: -2.6rem;          /* lift the name over the fade */
  position: relative;
  z-index: 1;
}

.guide__n {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.45);
}

.guide__body h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--g);
  margin: 0.15rem 0 0.3rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.guide__meta {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(253, 246, 227, 0.6);
}

.guide__why {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  color: rgba(253, 246, 227, 0.78);
}
/* ============================================================= LIBRARY == */
.featured {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0 3.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .featured { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 3rem; }
}

.featured__cover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(240, 194, 94, 0.25);
  transform: perspective(1200px) rotateY(-7deg);
  transition: transform 700ms var(--ease-dream);
}

.featured__cover:hover { transform: perspective(1200px) rotateY(0deg) translateY(-6px); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--tint);
  color: var(--night-900);
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--gold-300);
  margin-bottom: 0.1em;
}

.featured__sub {
  font-family: var(--font-title);
  font-style: italic;
  color: rgba(253, 246, 227, 0.65);
  margin: 0 0 1.2rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0; }

.chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 246, 227, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(253, 246, 227, 0.75);
}

.chip strong { color: var(--gold-200); font-weight: 600; }

/* Shelf of sixteen */
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.1rem;
}

.spine {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 400ms var(--ease-dream);
}

.spine img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  transition: filter 400ms, box-shadow 400ms;
}

.spine[data-status="upcoming"] img { filter: grayscale(0.65) brightness(0.5); }
.spine[data-status="next"] img { filter: brightness(0.82); }

.spine:hover { transform: translateY(-6px); }
.spine:hover img { filter: none; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6); }

.spine__n {
  position: absolute;
  top: 8px; left: 8px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(5, 7, 15, 0.8);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 700;
}

.spine__meta { padding: 0.6rem 0.2rem 0; }

.spine__title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.86rem;
  color: var(--cream);
  line-height: 1.25;
}

.spine__lesson {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tint);
  margin-top: 0.25rem;
}

/* ============================================================= BUNDLES == */
.bundles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.bundle {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(253, 246, 227, 0.14);
  background: rgba(7, 10, 31, 0.5);
  backdrop-filter: blur(10px);
  transition: transform 450ms var(--ease-dream), border-color 450ms;
}

.bundle:hover { transform: translateY(-6px); border-color: var(--bcolor); }

.bundle__img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: brightness(0.8); transition: filter 450ms; }
.bundle:hover .bundle__img { filter: brightness(1); }

.bundle__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(5, 7, 15, 0.82);
  border: 1px solid var(--bcolor);
  color: var(--bcolor);
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.bundle__body { padding: 1.4rem; }

.bundle__body h3 {
  font-size: 1.12rem;
  color: var(--gold-200);
  margin-bottom: 0.5rem;
}

.bundle__body p { font-size: 0.9rem; color: rgba(253, 246, 227, 0.72); margin: 0 0 1rem; }

.bundle__books {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle__ready {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(253, 246, 227, 0.1);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(253, 246, 227, 0.55);
}

.bundle__ready strong { color: var(--bcolor); font-weight: 600; }

.bundle__books li {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(253, 246, 227, 0.22);
  font-size: 0.66rem;
  color: rgba(253, 246, 227, 0.7);
}

/* ============================================================ RELEASES == */
.constellation {
  position: relative;
  margin-top: 3rem;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(240, 194, 94, 0.22);
}

.star-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(253, 246, 227, 0.07);
}

.star {
  position: absolute;
  left: calc(-1.4rem - 5px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(253, 246, 227, 0.18);
  box-shadow: 0 0 0 4px rgba(7, 10, 31, 0.9);
}

.star-row[data-status="published"] .star {
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(7, 10, 31, 0.9), 0 0 22px 3px var(--gold-400);
}

.star-row[data-status="next"] .star {
  background: var(--c-thirdeye);
  box-shadow: 0 0 0 4px rgba(7, 10, 31, 0.9), 0 0 18px 2px var(--c-thirdeye);
  animation: twinkle 2.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.star-row__n {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: rgba(253, 246, 227, 0.4);
  min-width: 2.2ch;
}

.star-row__title {
  font-family: var(--font-title);
  font-size: 1rem;
  color: rgba(253, 246, 227, 0.85);
}

.star-row__lesson {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.38);
}

.star-row__date {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: rgba(253, 246, 227, 0.5);
  white-space: nowrap;
}

.star-row[data-status="published"] .star-row__title { color: var(--gold-200); }
.star-row[data-status="published"] .star-row__date { color: var(--gold-300); }
.star-row[data-status="next"] .star-row__date { color: var(--c-thirdeye); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  font-size: 0.76rem;
  color: rgba(253, 246, 227, 0.6);
}

.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }

.legend i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================== AUTHOR == */
.museum {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.frame {
  padding: 1.6rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 194, 94, 0.28);
  background: rgba(7, 10, 31, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(5, 7, 15, 0.6);
  transition: transform 450ms var(--ease-dream), border-color 450ms;
}

.frame:hover { transform: translateY(-5px); border-color: var(--gold-300); }

.frame h3 {
  font-size: 1.02rem;
  color: var(--gold-200);
  margin-bottom: 0.5rem;
}

.frame p { margin: 0; font-size: 0.92rem; color: rgba(253, 246, 227, 0.74); }

/* ================================================================ SHOP == */
.shop {
  display: grid;
  gap: 2.4rem;
  margin-top: 2.6rem;
}

@media (min-width: 880px) {
  .shop { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 3rem; align-items: start; }
}

.counter {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 194, 94, 0.25);
  background: rgba(7, 10, 31, 0.6);
  backdrop-filter: blur(14px);
}

.picker { margin-bottom: 1.6rem; }

.picker__label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.5);
  margin-bottom: 0.7rem;
}

.picker__opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.opt {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 246, 227, 0.22);
  background: transparent;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 300ms var(--ease-dream);
}

.opt:hover { border-color: var(--gold-300); color: var(--gold-300); }

.opt.is-on {
  background: var(--gold-300);
  border-color: var(--gold-300);
  color: var(--night-900);
  font-weight: 700;
}

.shop__note {
  font-size: 0.76rem;
  color: rgba(253, 246, 227, 0.45);
  margin-top: 1.2rem;
}

.gift {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(240, 194, 94, 0.35);
}

.gift h4 { font-family: var(--font-title); color: var(--gold-200); margin: 0 0 0.35rem; }
.gift p { margin: 0 0 0.8rem; font-size: 0.88rem; color: rgba(253, 246, 227, 0.7); }

.gift a { color: var(--gold-300); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.gift a:hover { text-decoration: underline; }

/* ============================================================= CONTACT == */
.contact {
  display: grid;
  gap: 2.4rem;
  margin-top: 2.4rem;
}

@media (min-width: 880px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 3rem; align-items: start; }
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.5);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(253, 246, 227, 0.18);
  background: rgba(5, 7, 15, 0.5);
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 300ms, background 300ms;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-300);
  background: rgba(5, 7, 15, 0.72);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.is-ok { color: var(--c-heart); }
.form-status.is-err { color: var(--c-root); }

.newsletter {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 194, 94, 0.25);
  background: rgba(7, 10, 31, 0.55);
  backdrop-filter: blur(12px);
}

.newsletter h3 { font-size: 1.1rem; color: var(--gold-200); }
.newsletter p { font-size: 0.9rem; color: rgba(253, 246, 227, 0.72); }

/* ============================================================== FOOTER == */
.footer {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.6), var(--night-900));
  border-top: 1px solid rgba(240, 194, 94, 0.16);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand { display: flex; align-items: center; gap: 0.9rem; }
.footer__brand img { width: 54px; }

.footer__tag {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--gold-200);
}

.footer__saga { font-size: 0.84rem; color: rgba(253, 246, 227, 0.55); max-width: 42ch; margin: 0.3rem 0 0; }

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer__social { display: flex; gap: 0.6rem; }

.social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 194, 94, 0.3);
  color: rgba(253, 246, 227, 0.7);
  transition: color 300ms, border-color 300ms, transform 300ms var(--ease-dream);
}

.social:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .footer__right { align-items: flex-start; }
}

.footer__links { display: flex; gap: 1.2rem; font-size: 0.8rem; }
.footer__links a { color: rgba(253, 246, 227, 0.6); text-decoration: none; }
.footer__links a:hover { color: var(--gold-300); }

.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 246, 227, 0.08);
  font-size: 0.76rem;
  color: rgba(253, 246, 227, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ========================================================== RESPONSIVE == */
/* Ten worlds is more than a horizontal bar can hold below this width */
@media (max-width: 1250px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: rgba(5, 7, 15, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(240, 194, 94, 0.2);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 350ms var(--ease-dream);
  }

  body.menu-open .nav__links { transform: none; opacity: 1; visibility: visible; }

  .nav__link { padding: 0.85rem 1rem; font-size: 0.95rem; border-radius: 10px; }
  .nav__burger { display: block; }
  .lang { order: 3; margin-left: 0.5rem; }
}

@media (max-width: 640px) {
  .scene { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
  .curtain__seven { gap: 2px; }
  .featured__cover { transform: none; }
}

/* ======================================================= REDUCED MOTION == */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .curtain__kid, .curtain__kicker, .curtain__welcome,
  .curtain__tagline, .curtain__enter, .curtain__skip { opacity: 1; }
  #particles { display: none; }
}

/* Manual toggle mirrors the OS preference */
body.no-motion [data-reveal] { opacity: 1; transform: none; }
body.no-motion #particles { display: none; }
body.no-motion .world__img { transform: scale(1.02); }
