/* ============================================================
   Spider-Man: Brand New Day — main.css
   One night over New York turning into morning as you scroll.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink: #070b16;
  --ink-2: #0d1322;
  --dusk: #1a1030;
  --red: #e23636;
  --red-deep: #b32430;
  --gold: #ffb454;
  --paper: #f4f1ea;
  --mist: rgba(244, 241, 234, 0.72);
  --line: rgba(244, 241, 234, 0.14);
  --sky-now: 0;                       /* 0 dusk → 1 daylight, set by JS */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --ease-swing: cubic-bezier(0.22, 1.4, 0.36, 1);
  --ease-drop: cubic-bezier(0.5, 0, 0.3, 1);
  --pad: clamp(20px, 5vw, 64px);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05rem, 17px);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--red); color: #fff;
  border-radius: 8px; text-decoration: none; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---------- fonts ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/BSD-700-900-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/Caveat-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- the living sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 118%,
      rgba(255, 180, 84, calc(var(--sky-now) * 0.55)) 0%,
      transparent 55%),
    linear-gradient(
      180deg,
      color-mix(in oklab, #0a0e1e 100%, transparent) 0%,
      color-mix(in oklab, #1a1030 calc(100% - var(--sky-now) * 62%), #7fb2d9) 45%,
      color-mix(in oklab, #241536 calc(100% - var(--sky-now) * 80%), #ffd9a0) 100%);
  transition: background 0.15s linear;
}
.sky-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 34% 8%, #fff6 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 58% 22%, #fff5 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 76% 12%, #fff7 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 90% 28%, #fff4 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 22% 34%, #fff3 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 40%, #fff3 50%, transparent 51%);
  opacity: calc(1 - var(--sky-now));
}
.sky-glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 42% at 78% 86%,
    rgba(255, 170, 70, calc(0.05 + var(--sky-now) * 0.22)), transparent 70%);
}
.sky-sun {
  position: absolute; left: 50%; bottom: -14vmin;
  width: 44vmin; height: 44vmin; border-radius: 50%;
  translate: -50% calc(var(--sky-now) * -34vh);
  background: radial-gradient(circle,
    rgba(255, 214, 140, calc(0.12 + var(--sky-now) * 0.5)) 0%,
    rgba(255, 170, 70, calc(0.05 + var(--sky-now) * 0.28)) 42%,
    transparent 70%);
  filter: blur(6px);
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 10px var(--pad);
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.82), rgba(7, 11, 22, 0));
  backdrop-filter: blur(2px);
}
.brand img { width: 132px; height: auto; }
.topnav {
  display: flex; gap: clamp(10px, 2vw, 22px); margin-inline: auto;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.topnav a {
  text-decoration: none; color: var(--mist); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.topnav a:hover, .topnav a:focus-visible { color: #fff; border-color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; user-select: none;
  transition: transform 0.18s var(--ease-swing), box-shadow 0.18s, background 0.2s, border-color 0.2s;
  min-height: 44px; min-width: 44px;
}
.btn-red {
  background: linear-gradient(180deg, #ef4b4b, var(--red-deep));
  color: #fff; box-shadow: 0 6px 22px -8px rgba(226, 54, 54, 0.75);
}
.btn-red:hover, .btn-red:focus-visible { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px -8px rgba(226, 54, 54, 0.85); }
.btn-red:active { transform: translateY(1px) scale(0.98); }
.btn-ghost {
  border-color: rgba(244, 241, 234, 0.35); color: var(--paper);
  background: rgba(244, 241, 234, 0.04);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(244, 241, 234, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-top { margin-left: auto; }
@media (max-width: 640px) {
  .topnav { display: none; }
  .btn-top { margin-left: auto; }
  .brand img { width: 108px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 96px var(--pad) 72px;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  transform: translateY(calc(var(--scrollp, 0) * 12%)) scale(calc(1.04 + var(--scrollp, 0) * 0.05));
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0.55) 0%, rgba(7, 11, 22, 0.12) 38%, rgba(7, 11, 22, 0.88) 100%),
    radial-gradient(90% 60% at 50% 100%, rgba(7, 11, 22, 0.6), transparent 70%);
}
.hero-content { text-align: center; max-width: 780px; }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero-title { line-height: 0; }
.hero-title img {
  width: min(560px, 86vw); height: auto; margin-inline: auto;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.55));
}
.hero-tag {
  margin-top: 22px; font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--paper);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.hero-tag strong { color: #fff; }
.hero-date { margin-top: 10px; color: var(--mist); font-size: 0.95rem; letter-spacing: 0.06em; }
.hero-date time { color: var(--gold); font-weight: 600; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.spider-emblem {
  position: absolute; right: 18px; bottom: 18px; z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 11, 22, 0.5); border: 1px solid rgba(244, 241, 234, 0.16);
  color: rgba(244, 241, 234, 0.5); cursor: pointer;
  transition: transform 0.2s var(--ease-swing), color 0.2s, border-color 0.2s;
}
.spider-emblem:hover, .spider-emblem:focus-visible { color: var(--red); border-color: var(--red); transform: rotate(-8deg) scale(1.08); }
.spider-emblem.thwipped { animation: emblem-pop 0.5s var(--ease-swing); }
@keyframes emblem-pop { 40% { transform: scale(1.35) rotate(10deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0;
  display: grid; justify-items: center; gap: 4px;
  text-decoration: none; color: var(--mist); font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-cue .webline {
  stroke: rgba(244, 241, 234, 0.55); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: webdraw 2.6s var(--ease-drop) infinite;
}
@keyframes webdraw { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- shared section chrome ---------- */
section { position: relative; padding: clamp(72px, 12vh, 140px) 0; }
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 0.95;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.section-sub { margin-top: 14px; color: var(--mist); max-width: 56ch; }
.statement {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.04;
  text-wrap: balance;
}
.statement span { display: block; }
.accent { color: var(--red); text-shadow: 0 0 34px rgba(226, 54, 54, 0.35); }

/* ---------- prologue ---------- */
.prologue .statement { margin-top: 6px; }
.prose { margin-top: 26px; display: grid; gap: 16px; color: rgba(244, 241, 234, 0.86); max-width: 66ch; }
.note-card {
  margin-top: 40px; padding: 26px 28px 18px; position: relative;
  background: linear-gradient(178deg, #f7f3e8, #ece5d2);
  color: #23201a; border-radius: 4px;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.65);
  rotate: -1.4deg; max-width: 480px;
}
.note-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; translate: -50% 0;
  width: 92px; height: 24px; background: rgba(226, 54, 54, 0.28);
  border-inline: 1px dashed rgba(35, 32, 26, 0.25); rotate: 1deg;
}
.note-card p { font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.3; }
.note-card figcaption {
  margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(35, 32, 26, 0.55);
}
.cinema-frame { margin-top: clamp(48px, 9vh, 96px); }
.cinema-frame img {
  width: 100%; border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}
.cinema-frame figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--mist); text-align: center; }

/* ---------- cast / the web ---------- */
.cast { background: linear-gradient(180deg, transparent, rgba(13, 19, 34, 0.75) 18%, rgba(13, 19, 34, 0.75) 82%, transparent); }
.dossiers {
  margin-top: 44px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.dossier {
  position: relative; padding: 22px 22px 20px;
  background: linear-gradient(165deg, rgba(244, 241, 234, 0.055), rgba(244, 241, 234, 0.02));
  border: 1px solid var(--line); border-radius: 16px;
  transition: transform 0.25s var(--ease-swing), border-color 0.25s, box-shadow 0.25s;
}
.dossier:hover, .dossier:focus-within {
  transform: translateY(-5px) rotate(-0.4deg);
  border-color: rgba(226, 54, 54, 0.45);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.85);
}
.dossier h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.5rem; line-height: 1.05; letter-spacing: 0.02em;
}
.dossier h3 span { color: var(--red); display: block; font-size: 1.05rem; }
.actor { margin-top: 4px; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--mist);
}
.dossier blockquote {
  margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--red);
  font-style: italic; color: rgba(244, 241, 234, 0.92);
}
.dossier > p:last-child { margin-top: 12px; font-size: 0.92rem; color: var(--mist); }
.dossier-redacted { border-style: dashed; }
.redact-bar span {
  display: inline-block; background: #20242f; color: transparent;
  border-radius: 3px; user-select: none; letter-spacing: 0;
}
.also { margin-top: 34px; text-align: center; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--mist); }

/* ---------- media / trailers ---------- */
.reel {
  margin-top: 44px; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
}
.video-card { position: relative; }
.facade {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; background: var(--ink-2);
  transition: transform 0.25s var(--ease-swing), box-shadow 0.25s, border-color 0.25s;
}
.facade img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s var(--ease-drop), filter 0.3s; }
.facade:hover, .facade:focus-visible { transform: translateY(-4px) scale(1.01); border-color: rgba(226, 54, 54, 0.5); box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.9); }
.facade:hover img { transform: scale(1.05); }
.play-badge {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(226, 54, 54, 0.92); color: #fff;
  box-shadow: 0 10px 34px -6px rgba(226, 54, 54, 0.8);
  transition: transform 0.25s var(--ease-swing);
}
.facade:hover .play-badge, .facade:focus-visible .play-badge { transform: scale(1.14); }
.video-label {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-weight: 600; font-size: 0.95rem; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.video-label em { font-style: normal; font-size: 0.75rem; color: var(--gold); white-space: nowrap; }
.video-meta { margin-top: 12px; font-size: 0.88rem; color: var(--mist); }
.video-fallback { display: inline-block; margin-top: 8px; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold); text-decoration: none; }
.video-fallback:hover, .video-fallback:focus-visible { text-decoration: underline; }
.video-frame { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.onesheet { margin-top: 56px; display: grid; justify-items: center; gap: 12px; }
.onesheet img {
  width: min(340px, 74vw); border-radius: 10px;
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-swing);
}
.onesheet img:hover { transform: scale(1.02) rotate(0.5deg); }
.poster-cap { font-size: 0.8rem; color: var(--mist); letter-spacing: 0.08em; }

/* ---------- countdown ---------- */
.countdown { text-align: center; }
.cd-state { margin-top: 12px; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
.cd-grid {
  margin: 34px auto 0; display: flex; gap: clamp(8px, 2.5vw, 20px); justify-content: center;
}
.cd-cell {
  min-width: clamp(68px, 18vw, 108px); padding: 16px 8px 12px;
  background: rgba(244, 241, 234, 0.05); border: 1px solid var(--line); border-radius: 14px;
}
.cd-cell output {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-cell span { display: block; margin-top: 6px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); }
.countdown .hero-cta { margin-top: 36px; }
.cd-note { margin-top: 16px; font-size: 0.82rem; color: var(--mist); }

/* ---------- finale + bugle ---------- */
.finale { padding-bottom: 120px; }
.finale-sub { margin-top: 16px; color: var(--mist); }
.socials { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bugle {
  margin: 64px auto 0; display: block; width: min(560px, 100%);
  text-align: center; padding: 22px 20px 18px; cursor: pointer;
  background: linear-gradient(178deg, #f6efe0, #e9e0cb); color: #1d1a15;
  border: 0; border-radius: 3px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
  transition: transform 0.25s var(--ease-swing), box-shadow 0.25s;
}
.bugle:hover, .bugle:focus-visible { transform: rotate(-0.6deg) translateY(-3px); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.85); }
.bugle-mast {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 6vw, 2.4rem); letter-spacing: 0.04em;
  border-bottom: 3px double #1d1a15; padding-bottom: 6px;
}
.bugle-head { display: block; margin-top: 10px; font-weight: 700; font-size: clamp(0.95rem, 3vw, 1.15rem); line-height: 1.3; }
.bugle-more { display: block; margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(29, 26, 21, 0.55); }
.bugle[aria-expanded="true"] .bugle-more { opacity: 0; }
.bugle-body {
  width: min(560px, 100%); margin: 0 auto; padding: 20px 22px;
  background: #efe7d4; color: #2a261e; text-align: left;
  border-radius: 0 0 3px 3px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
  animation: unfold 0.45s var(--ease-drop);
}
@keyframes unfold { from { opacity: 0; transform: translateY(-8px); } }
.bugle-body p { font-size: 0.95rem; line-height: 1.55; }
.bugle-body p + p { margin-top: 12px; }
.bugle-fine { font-size: 0.8rem !important; color: rgba(42, 38, 30, 0.75); }

/* ---------- footer ---------- */
.footer {
  padding: 48px 0 64px; border-top: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.7); font-size: 0.82rem; color: var(--mist);
}
.footer p + p { margin-top: 12px; }
.foot-brand img { width: 116px; opacity: 0.9; margin-bottom: 14px; }
.foot-tech code { font-size: 0.78rem; color: var(--gold); }

/* ---------- reveal-on-scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-swing);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- swing pulse (thwip feedback) ---------- */
.swing-pulse { animation: swing-pulse 0.6s var(--ease-swing); }
@keyframes swing-pulse {
  0% { transform: none; }
  25% { transform: translate3d(-6px, -3px, 0) rotate(-1.2deg); }
  55% { transform: translate3d(5px, 2px, 0) rotate(0.9deg); }
  100% { transform: none; }
}

/* ---------- toasts ---------- */
.toast-region { position: fixed; inset-inline: 0; bottom: 18px; z-index: 150; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  pointer-events: auto; max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px; border-radius: 999px;
  background: rgba(13, 19, 34, 0.94); border: 1px solid rgba(226, 54, 54, 0.5);
  color: var(--paper); font-size: 0.88rem; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  animation: toast-in 0.4s var(--ease-swing);
}
.toast b { color: var(--gold); }
.toast.hide { opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 180;
  display: grid; place-items: center; padding: 20px;
  background: rgba(4, 6, 12, 0.88); backdrop-filter: blur(6px);
  animation: toast-in 0.3s ease;
}
.lightbox[hidden] { display: none; }
.lb-panel { width: min(960px, 100%); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lb-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.2rem; }
.lb-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.06); cursor: pointer; font-size: 1.1rem;
}
.lb-close:hover, .lb-close:focus-visible { border-color: var(--red); color: var(--red); }
.lb-offline {
  margin-top: 10px; padding: 10px 14px; border-radius: 10px;
  background: rgba(226, 54, 54, 0.12); border: 1px solid rgba(226, 54, 54, 0.4);
  font-size: 0.85rem;
}

/* ---------- spider-sense cursor (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
  body.sense-on::after {
    content: ""; position: fixed; z-index: 90; pointer-events: none;
    left: var(--mx, 50vw); top: var(--my, 50vh);
    width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 54, 54, 0.10), transparent 62%);
    mix-blend-mode: screen;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sky { transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 480px) {
  .cd-grid { flex-wrap: nowrap; }
  .note-card { rotate: 0deg; }
  .dossier { padding: 18px 16px 16px; }
  .video-label em { display: none; }
}
