/* Aether Chronicles front site. Colours are pulled from the game's painted
   scenes and gilt frames; Cinzel and Inter are the game's own faces. */

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0f0b1e;
  --dusk: #1c1533;
  --plum: #2b2048;
  --gilt: #d9b56b;
  --gilt-dim: #8f7542;
  --vellum: #eee7da;
  --mist: #aba1c8;
  --aether: #7457d9;

  --fire: #e0603f;
  --wind: #8cc7e3;
  --earth: #7faf5e;
  --water: #4a80de;
  --light: #f0d79a;
  --shadow: #a06ad8;

  --display: "Cinzel", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--vellum);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gilt); text-underline-offset: 3px; }
a:hover { color: #efd08d; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: 0.01em; color: var(--vellum); }
h3 { font-size: 1.2rem; letter-spacing: 0.02em; color: var(--gilt); }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--vellum); color: var(--night); border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 12px;
  font: 600 1rem/1 var(--body); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-aether {
  color: #fff;
  background: linear-gradient(180deg, #8768ea 0%, #6243c8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(168, 142, 255, 0.45),
    0 10px 30px -10px rgba(116, 87, 217, 0.9);
}
.btn-aether:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32),
  0 0 0 1px rgba(190, 170, 255, 0.7), 0 14px 36px -10px rgba(140, 110, 245, 1); }
.btn-ghost {
  color: var(--vellum);
  background: rgba(15, 11, 30, 0.45);
  box-shadow: inset 0 0 0 1px rgba(217, 181, 107, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--vellum); box-shadow: inset 0 0 0 1px var(--gilt); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; border-radius: 10px; }

/* Top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}
.bar[data-scrolled] {
  background: rgba(15, 11, 30, 0.88);
  box-shadow: 0 1px 0 rgba(217, 181, 107, 0.18);
  backdrop-filter: blur(10px);
}
.bar-mark {
  font: 600 1.05rem/1 var(--display); letter-spacing: 0.04em; color: var(--gilt);
  text-decoration: none; opacity: 0; transition: opacity 220ms ease;
}
.bar[data-scrolled] .bar-mark { opacity: 1; }
.bar-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.bar-nav a:not(.btn) { color: var(--vellum); text-decoration: none; font-size: 0.95rem; }
.bar-nav a:not(.btn):hover { color: var(--gilt); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 760px);
  display: grid; grid-template-rows: auto 1fr;
}
.hero-scene img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(15, 11, 30, 0.15), rgba(15, 11, 30, 0.7) 100%),
    linear-gradient(180deg, rgba(15, 11, 30, 0.45) 0%, rgba(15, 11, 30, 0) 30%, rgba(15, 11, 30, 0.55) 62%, var(--night) 100%);
}
.hero-motes {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 1;
  padding: clamp(72px, 9vh, 112px) var(--gutter) 0;
  text-align: center;
}
.hero-mark img {
  width: min(430px, 72vw, 44vh); margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.65));
}
.hero-pitch {
  max-width: 36ch; margin: 18px auto 0;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; color: var(--vellum);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 26px;
}
.hero-note {
  margin-top: 16px; font-size: 0.92rem; color: var(--mist);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* The hand: one real card from each element, fanned at the foot of the hero */
.hand {
  --w: clamp(118px, 13.5vw, 214px);
  --spread: calc(var(--w) * 0.66);
  position: relative;
  min-height: calc(var(--w) * 1.38 + 64px);
  align-self: end; z-index: 1;
}
.hand-caption {
  position: absolute; left: 0; right: 0; top: 0;
  display: grid; justify-items: center; gap: 2px;
  padding: 0 var(--gutter); text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hand-caption-name { font: 600 1.15rem/1.3 var(--display); color: var(--gilt); }
.hand-caption-el { font-weight: 600; color: var(--glow, var(--vellum)); }
.hand-caption-line { font-size: 0.95rem; color: var(--mist); max-width: 46ch; }
.hand-fan { list-style: none; margin: 0; padding: 0; }
/* The hero's floor: cards sink into the page instead of being cut off. */
.hand::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--w) * 0.22);
  background: linear-gradient(180deg, rgba(15, 11, 30, 0), var(--night));
  z-index: 6; pointer-events: none;
}
.hand-fan li {
  --d: 0; --x: calc((var(--i) - 2.5) * var(--spread));
  --y: calc(var(--d) * var(--d) * 7px); --r: calc((var(--i) - 2.5) * 6deg);
  position: absolute; left: 50%; bottom: calc(var(--w) * -0.3);
  width: var(--w);
  transform: translateX(-50%) translateX(var(--x)) translateY(var(--y)) rotate(var(--r));
  transform-origin: 50% 100%;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}
.hand-fan li:nth-child(1), .hand-fan li:nth-child(6) { --d: 2.5; }
.hand-fan li:nth-child(2), .hand-fan li:nth-child(5) { --d: 1.5; }
.hand-fan li:nth-child(3), .hand-fan li:nth-child(4) { --d: 0.5; }
.hand-fan li[data-active] {
  --y: calc(var(--w) * -0.28); --r: 0deg; z-index: 5;
}
.card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 7%/5%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 220ms ease-out, filter 260ms ease;
}
.card img { border-radius: 7%/5%; }
/* Foil sheen: a soft highlight that follows the pointer across the face. */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: 7%/5%; pointer-events: none;
  background:
    radial-gradient(circle at var(--sx, 50%) var(--sy, 25%), rgba(255, 250, 235, 0.38), rgba(255, 250, 235, 0) 42%),
    linear-gradient(115deg, transparent 25%, rgba(160, 136, 255, 0.22) 42%, rgba(240, 215, 154, 0.2) 58%, transparent 75%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, var(--sx, 50%) var(--sy, 50%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 240ms ease;
}
.hand-fan li[data-active] .card::after { opacity: 1; }
.hand-fan li[data-active] .card {
  filter: drop-shadow(0 0 1px var(--glow)) drop-shadow(0 0 22px var(--glow)) drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6));
}
.hand[data-focus] li:not([data-active]) .card {
  filter: brightness(0.62) saturate(0.85) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}
.card:focus-visible { outline-offset: 6px; border-radius: 12px; }

[data-el="fire"] { --glow: var(--fire); }
[data-el="wind"] { --glow: var(--wind); }
[data-el="earth"] { --glow: var(--earth); }
[data-el="water"] { --glow: var(--water); }
[data-el="light"] { --glow: var(--light); }
[data-el="shadow"] { --glow: var(--shadow); }

/* Sections */
section[id] { scroll-margin-top: 72px; }
.duel, .elements, .modes, .fair, .lookup {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter) 0;
}
.lede { margin-top: 16px; font-size: 1.15rem; color: var(--vellum); max-width: 46ch; }

.duel {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.rules { margin: 36px 0 0; display: grid; gap: 26px; }
.rules dt { font: 600 1.25rem/1.3 var(--display); color: var(--gilt); }
.rules dd { margin: 6px 0 0; color: var(--mist); max-width: 46ch; }
/* A portrait phone frame: capped so it sits beside the rules, not over them. */
.duel-shot { margin: 0; justify-self: center; width: min(100%, 320px); }
.duel-shot img {
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(217, 181, 107, 0.35), 0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -40px rgba(116, 87, 217, 0.55);
}
.duel-shot figcaption, .wheel figcaption {
  margin-top: 14px; font-size: 0.9rem; color: var(--mist);
}

.elements {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.elements-text p { margin-top: 16px; color: var(--mist); max-width: 44ch; }
.elements-text p:first-of-type { color: var(--vellum); font-size: 1.15rem; }
.wheel { margin: 0; }
.wheel svg { width: 100%; height: auto; overflow: visible; color: rgba(171, 161, 200, 0.55); }
.wheel .node circle { fill: none; stroke: var(--glow); stroke-width: 3; }
.wheel .node text {
  fill: var(--vellum); font: 600 17px var(--display); text-anchor: middle; letter-spacing: 0.04em;
}
.wheel .arc { stroke: rgba(171, 161, 200, 0.6); }
.wheel-tear { stroke: rgba(240, 215, 154, 0.6); }

.story {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(80px, 11vw, 140px);
  min-height: clamp(460px, 62vw, 680px);
  display: flex; align-items: center;
}
.story-art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
}
.story::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 11, 30, 0.94) 0%, rgba(15, 11, 30, 0.75) 38%, rgba(15, 11, 30, 0.1) 72%),
    linear-gradient(180deg, var(--night) 0%, transparent 18%, transparent 82%, var(--night) 100%);
}
.story-text { max-width: 540px; padding: 0 var(--gutter); margin-left: max(0px, calc((100vw - 1200px) / 2)); }
.story-text p { margin-top: 18px; color: var(--vellum); }
.story-text p + p { color: var(--mist); }

.mode-list {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px;
}
.mode-list img {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: 88% 50%; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(217, 181, 107, 0.22);
}
.mode-list h3 { margin-top: 18px; }
.mode-list p { margin-top: 6px; color: var(--mist); font-size: 0.98rem; }

.fair-list {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.fair-list li { padding-top: 20px; border-top: 1px solid rgba(217, 181, 107, 0.4); }
.fair-list h3 { color: var(--vellum); font-size: 1.12rem; }
.fair-list p { margin-top: 10px; color: var(--mist); font-size: 0.98rem; }

.lookup { text-align: center; }
.lookup > p { margin: 16px auto 0; color: var(--mist); max-width: 52ch; }
.lookup-form {
  display: flex; gap: 10px; max-width: 620px; margin: 30px auto 0;
}
.lookup-form input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 18px;
  border: 0; border-radius: 12px; background: var(--dusk); color: var(--vellum);
  font: 400 1rem var(--body);
  box-shadow: inset 0 0 0 1px rgba(171, 161, 200, 0.35);
}
.lookup-form input::placeholder { color: rgba(171, 161, 200, 0.75); }
.lookup-form input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--gilt); }
.lookup .lookup-more { margin-top: 22px; font-size: 0.98rem; }

.close {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(90px, 12vw, 150px);
  min-height: clamp(440px, 52vw, 600px);
  display: grid; place-items: center; text-align: center;
  padding: 0 var(--gutter);
}
.close-art {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.close::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(15, 11, 30, 0.55), rgba(15, 11, 30, 0.25) 70%),
    linear-gradient(180deg, var(--night) 0%, transparent 25%, transparent 75%, var(--night) 100%);
}
.close-text p { margin: 16px auto 0; max-width: 44ch; color: var(--vellum); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.close-text h2 { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); }

/* Footer */
.foot { padding: 64px var(--gutter) 48px; border-top: 1px solid rgba(217, 181, 107, 0.16); }
.foot-cols {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px;
  font-size: 0.95rem; color: var(--mist);
}
.foot-mark { font: 600 1.15rem/1.2 var(--display); color: var(--gilt); margin-bottom: 8px; }
.foot nav { display: grid; align-content: start; gap: 8px; }
.foot nav h2 { font: 600 0.95rem/1.4 var(--body); color: var(--vellum); letter-spacing: 0; margin-bottom: 4px; }
.foot nav a { color: var(--mist); text-decoration: none; }
.foot nav a:hover { color: var(--gilt); }

/* Narrow screens */
@media (max-width: 900px) {
  .duel, .elements { grid-template-columns: minmax(0, 1fr); }
  .elements .wheel { order: 2; }
  .mode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fair-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bar-nav a:not(.btn) { display: none; }
  .bar-nav a[href$="/aether/"] { display: inline; }
  .hero { min-height: max(100svh, 700px); }
  .hand { --w: 27vw; --spread: calc(var(--w) * 0.52); min-height: calc(var(--w) * 1.6 + 84px); }
  .hand-fan li { bottom: calc(var(--w) * -0.12); }
  .bar-mark { font-size: 0.92rem; white-space: nowrap; }
  .wheel .node text { font-size: 25px; }
  .hand-fan li { --r: calc((var(--i) - 2.5) * 5deg); }
  .hero-actions .btn { width: 100%; }
  .hero-actions { max-width: 360px; margin-inline: auto; }
  .mode-list, .fair-list { grid-template-columns: minmax(0, 1fr); }
  .lookup-form { flex-direction: column; }
  .story::before { background: linear-gradient(180deg, var(--night) 0%, rgba(15, 11, 30, 0.82) 30%, rgba(15, 11, 30, 0.82) 70%, var(--night) 100%); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* Motion. One orchestrated arrival in the hero, then reveals as you scroll.
   Every keyframe here is switched off under reduced motion below. */

/* The scene settles out of the dark, then breathes very slowly. */
.hero-scene img {
  animation: settle 2600ms cubic-bezier(0.2, 0.7, 0.2, 1) both,
    breathe 28s 2600ms ease-in-out infinite alternate;
}
@keyframes settle {
  from { transform: scale(1.14); filter: brightness(0.25) saturate(0.6); }
  to { transform: scale(1.04); filter: none; }
}
@keyframes breathe {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}

/* The wordmark resolves out of a blur, and a glint crosses it now and then. */
.hero-mark { position: relative; width: fit-content; margin: 0 auto; }
.hero-mark img { animation: resolve 1500ms 250ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-mark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 246, 220, 0.85) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  -webkit-mask: url("/img/wordmark.webp") center / contain no-repeat;
  mask: url("/img/wordmark.webp") center / contain no-repeat;
  mix-blend-mode: soft-light;
  animation: glint 9s 1900ms ease-in-out infinite;
}
@keyframes resolve {
  from { opacity: 0; filter: blur(14px) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.65)); transform: scale(0.94); }
  to { opacity: 1; filter: blur(0) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.65)); transform: none; }
}
@keyframes glint {
  0% { background-position: 160% 0; }
  16%, 100% { background-position: -60% 0; }
}

.hero-pitch, .hero-copy .hero-actions, .hero-note {
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-pitch { animation-delay: 750ms; }
.hero-copy .hero-actions { animation-delay: 900ms; }
.hero-note { animation-delay: 1050ms; }
.hand-caption { animation: rise 900ms 1700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

/* Cards are dealt from below, then drift on their own breath. */
.card {
  animation: deal 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
    bob 5.5s ease-in-out infinite alternate;
  animation-delay: calc(1000ms + var(--i) * 95ms), calc(1900ms + var(--i) * 370ms);
}
@keyframes deal {
  from { opacity: 0; translate: 0 90%; rotate: calc((var(--i) - 2.5) * -5deg); }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}
@keyframes bob {
  from { translate: 0 0; }
  to { translate: 0 -7px; }
}
.hand-fan li[data-active] .card { animation-play-state: running, paused; }

/* Scroll reveals (only when the script is running to undo them). */
.js [data-reveal] {
  opacity: 0; translate: 0 32px;
  transition: opacity 900ms ease, translate 1000ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js .duel-shot[data-reveal] { translate: 0 48px; scale: 0.97; transition-property: opacity, translate, scale; }
.js .duel-shot[data-reveal].is-in { scale: 1; }

.mode-list .mode-art { overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(217, 181, 107, 0.22); }
.mode-list .mode-art img { box-shadow: none; border-radius: 0; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease; }
.mode-list li:hover .mode-art img { transform: scale(1.06); filter: brightness(1.1); }

/* The wheel draws itself: each arrow in turn, then Light and Shadow,
   then a spark keeps circling the four. */
.js .wheel .arc, .js .wheel-tear { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .wheel-tips path, .js .wheel-tear-tips, .js .wheel .node { opacity: 0; }
.wheel.is-in .node { animation: node-in 600ms calc(250ms + var(--n) * 260ms) ease both; }
.wheel.is-in .arc { animation: draw 520ms calc(450ms + var(--n) * 260ms) cubic-bezier(0.4, 0, 0.2, 1) both; }
.wheel.is-in .wheel-tips path { animation: fade-in 200ms calc(930ms + var(--n) * 260ms) ease both; }
.wheel.is-in .wheel-tear { animation: draw 600ms 1850ms cubic-bezier(0.4, 0, 0.2, 1) both, tear 3.2s 2450ms ease-in-out infinite alternate; }
.wheel.is-in .wheel-tear-tips { animation: fade-in 260ms 2350ms ease both; }
.wheel-spark { transition: opacity 600ms ease; }
.wheel[data-orbit] .wheel-spark { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes node-in {
  from { opacity: 0; filter: brightness(2.2); }
  to { opacity: 1; filter: none; }
}
@keyframes tear {
  from { stroke: rgba(240, 215, 154, 0.35); }
  to { stroke: rgba(240, 215, 154, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-scene img { transform: scale(1.04); }
  .js [data-reveal] { opacity: 1; translate: none; scale: none; }
  .js .wheel .arc, .js .wheel-tear { stroke-dashoffset: 0; }
  .js .wheel-tips path, .js .wheel-tear-tips, .js .wheel .node { opacity: 1; }
  .hero-motes, .wheel-spark { display: none; }
}

