/* =========================================================
   Mega Millions ($MEGA) — site styles
   Palette and type follow the reference direction: cream
   ground, near-black navy ink, one warm gold accent.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --ground:      #FBF5E7;
  --surface:     #FFFFFF;
  --ink:         #070D1A;
  --ink-muted:   rgba(7, 13, 26, 0.62);
  --ink-faint:   rgba(7, 13, 26, 0.50);
  --rule:        rgba(7, 13, 26, 0.12);
  --rule-soft:   rgba(7, 13, 26, 0.07);
  --band:        #111827;
  --band-ink:    #FBF5E7;
  --band-muted:  rgba(251, 245, 231, 0.68);
  --band-faint:  rgba(251, 245, 231, 0.45);
  --accent:      #9A5A18;
  --accent-soft: rgba(154, 90, 24, 0.10);
  --header-bg:   rgba(251, 245, 231, 0.85);
  --shadow:      0 1px 2px rgba(7, 13, 26, 0.04), 0 8px 24px rgba(7, 13, 26, 0.04);

  --display: Fraunces, "Georgia Pro", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --measure: 65ch;
  --wrap: 1060px;
  --header-h: 64px;
}

/* Dark tokens are declared three times on purpose: the media query
   carries the OS preference, and the two [data-theme] blocks let an
   explicit toggle win over it in BOTH directions. Components below
   only ever read the tokens, never redeclare colors. */
@media (prefers-color-scheme: dark) {
  :root {
    --ground:      #0E1116;
    --surface:     #161A21;
    --ink:         #F2ECDD;
    --ink-muted:   rgba(242, 236, 221, 0.66);
    --ink-faint:   rgba(242, 236, 221, 0.42);
    --rule:        rgba(242, 236, 221, 0.14);
    --rule-soft:   rgba(242, 236, 221, 0.08);
    --band:        #05070B;
    --band-ink:    #F2ECDD;
    --band-muted:  rgba(242, 236, 221, 0.66);
    --band-faint:  rgba(242, 236, 221, 0.45);
    --accent:      #E8A94B;
    --accent-soft: rgba(232, 169, 75, 0.12);
    --header-bg:   rgba(14, 17, 22, 0.85);
    --shadow:      0 1px 2px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

:root[data-theme="dark"] {
  --ground:      #0E1116;
  --surface:     #161A21;
  --ink:         #F2ECDD;
  --ink-muted:   rgba(242, 236, 221, 0.66);
  --ink-faint:   rgba(242, 236, 221, 0.42);
  --rule:        rgba(242, 236, 221, 0.14);
  --rule-soft:   rgba(242, 236, 221, 0.08);
  --band:        #05070B;
  --band-ink:    #F2ECDD;
  --band-muted:  rgba(242, 236, 221, 0.66);
  --band-faint:  rgba(242, 236, 221, 0.45);
  --accent:      #E8A94B;
  --accent-soft: rgba(232, 169, 75, 0.12);
  --header-bg:   rgba(14, 17, 22, 0.85);
  --shadow:      0 1px 2px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.25);
}

:root[data-theme="light"] {
  --ground:      #FBF5E7;
  --surface:     #FFFFFF;
  --ink:         #070D1A;
  --ink-muted:   rgba(7, 13, 26, 0.62);
  --ink-faint:   rgba(7, 13, 26, 0.50);
  --rule:        rgba(7, 13, 26, 0.12);
  --rule-soft:   rgba(7, 13, 26, 0.07);
  --band:        #111827;
  --band-ink:    #FBF5E7;
  --band-muted:  rgba(251, 245, 231, 0.68);
  --band-faint:  rgba(251, 245, 231, 0.45);
  --accent:      #9A5A18;
  --accent-soft: rgba(154, 90, 24, 0.10);
  --header-bg:   rgba(251, 245, 231, 0.85);
  --shadow:      0 1px 2px rgba(7, 13, 26, 0.04), 0 8px 24px rgba(7, 13, 26, 0.04);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* anchor targets must clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--band);
  color: var(--band-ink);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.masthead-in {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }

/* On narrow screens the links drop to their own full-width row
   beneath the brand rather than disappearing entirely. */
@media (max-width: 800px) {
  .brand { margin-right: 0; }
  .masthead-in { justify-content: space-between; }
  .nav {
    order: 3;
    width: 100%;
    gap: 16px;
    justify-content: flex-start;
    padding-top: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  /* tightened so the labels fit a 375px viewport without scrolling */
  .nav a { font-size: 11px; letter-spacing: 0.11em; }
}

/* ---------- buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease,
              background 0.15s ease, border-color 0.15s ease;
}
.pill-solid { background: var(--band); color: var(--band-ink); }
.pill-solid:hover { transform: translateY(-1px); opacity: 0.92; }
.pill-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.pill-ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.pill-invert { background: var(--ground); color: var(--ink); }
.pill-invert:hover { transform: translateY(-1px); opacity: 0.92; }
.pill-nav { padding: 9px 18px; font-size: 13px; }

/* ---------- section rhythm ---------- */
.section { padding-block: clamp(56px, 8vw, 92px); }
.section + .section { border-top: 1px solid var(--rule-soft); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  letter-spacing: -0.015em;
  font-weight: 400;
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px); }
.hero-in { display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 1.04;
  max-width: 16ch;
}
.hero-lede {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 54ch;
  line-height: 1.62;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* live countdown to the top of the hour */
.clock {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  align-self: flex-start;
  border: 1px solid var(--rule);
  border-radius: 9999px;
  padding: 7px 16px 7px 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.clock-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.clock-time {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- fact strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border-block: 1px solid var(--rule-soft);
}
.fact {
  background: var(--ground);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fact h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.fact p { font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 780px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
}
.step {
  background: var(--surface);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: 30px clamp(20px, 3vw, 34px);
  align-items: start;
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.step-body h3 { font-size: 1.24rem; font-weight: 400; letter-spacing: -0.012em; }
.step-body p { color: var(--ink-muted); max-width: var(--measure); font-size: 15px; }

.step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.step-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.step-meta dd {
  font-family: var(--mono);
  font-size: 12.5px;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-num { padding-top: 0; }
}

/* ---------- ticket calculator ---------- */
.calc {
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 28px;
  box-shadow: var(--shadow);
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 0;
}
.calc-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.calc-field input {
  font-family: var(--mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: var(--ground);
  color: var(--ink);
  width: 100%;
}
.calc-field input:focus-visible { border-color: var(--accent); }

.calc-out { display: flex; flex-direction: column; gap: 6px; }
.calc-tickets {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.calc-note {
  font-size: 13px;
  color: var(--ink-muted);
  flex-basis: 100%;
  margin: 0;
}

/* ---------- two-column lists ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 56px);
}
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }

.col h3 {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.col li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.col li span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- hero image ----------
   Hidden until app.js confirms an image both exists and loaded, so an empty
   or broken slot costs no layout at all. */
.hero-art {
  display: none;
  margin: 0;
  flex-direction: column;
  gap: 10px;
  /* 800px wide, but never wider than the screen. */
  width: 800px;
  max-width: 100%;
}
.hero-art.is-ready { display: flex; }
.hero-art img {
  display: block;
  width: 100%;
  /* 800 x 400. Held as a ratio rather than a fixed height so the box scales
     down intact on narrow screens instead of overflowing or letterboxing. */
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow);
  animation: art-in 0.5s ease both;
}
.hero-art figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@keyframes art-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- jackpot band ----------
   The one loud element on the page: a dark full-bleed band so the gold
   numerals carry, against a site that is otherwise quiet cream. Single
   theme by design — this band is the same in light and dark. */
.jackpot-band {
  background: var(--band);
  border-bottom: 1px solid rgba(232, 169, 75, 0.16);
  position: relative;
  overflow: hidden;
}
/* Faint radial warmth behind the number, so the band is not a flat slab. */
.jackpot-band::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 180%;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 169, 75, 0.18), transparent 62%);
  pointer-events: none;
}
.jackpot-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-block: clamp(34px, 6vw, 60px);
  text-align: center;
}

.jackpot-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 245, 231, 0.62);
}
.jackpot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E8A94B;
  box-shadow: 0 0 0 0 rgba(232, 169, 75, 0.7);
  animation: jackpot-pulse 2.6s ease-out infinite;
}
@keyframes jackpot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 169, 75, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 169, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 169, 75, 0); }
}

.jackpot-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 14px);
  margin: 0;
  line-height: 0.95;
}
.jackpot-amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 13vw, 8rem);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  /* Gold sweep across the digits. background-clip:text needs a background,
     so the gradient is oversized and slid behind the glyphs. */
  background: linear-gradient(
    100deg,
    #C98A2E 0%,
    #E8A94B 28%,
    #FFF4DC 46%,
    #E8A94B 64%,
    #C98A2E 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: jackpot-shimmer 5.5s linear infinite;
}
@keyframes jackpot-shimmer {
  from { background-position: 180% 0; }
  to   { background-position: -80% 0; }
}
.jackpot-unit {
  font-family: var(--mono);
  font-size: clamp(0.9rem, 2.2vw, 1.35rem);
  letter-spacing: 0.16em;
  color: rgba(232, 169, 75, 0.85);
}

/* USD sits under the ETH figure, secondary to it: the prize is denominated in
   ETH and the dollar value is a conversion, not the number that gets paid. */
.jackpot-usd {
  display: none;
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(251, 245, 231, 0.9);
}
.jackpot-usd.is-shown { display: block; }
/* Test ETH is not money. Mark the conversion so it cannot read as one. */
.jackpot-usd .jackpot-usd-caveat {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 245, 231, 0.5);
}

.jackpot-note {
  font-size: 14px;
  color: rgba(251, 245, 231, 0.66);
  max-width: 46ch;
}

/* The stand-in marker. Present whenever the figure is not real, and removed
   the instant the feed supplies contract data. */
.jackpot-badge {
  display: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 245, 231, 0.55);
  border: 1px dashed rgba(251, 245, 231, 0.28);
  border-radius: 9999px;
  padding: 4px 12px;
}
.jackpot-band[data-state="placeholder"] .jackpot-badge { display: inline-block; }
/* A placeholder should not pulse like a live feed. */
.jackpot-band[data-state="placeholder"] .jackpot-dot {
  animation: none;
  background: rgba(251, 245, 231, 0.35);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .jackpot-amount {
    animation: none;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #E8A94B;
  }
  .jackpot-dot { animation: none; }
}

/* ---------- buy CTA ----------
   Two states, deliberately distinct: a live link that reads as a button, and
   a dormant one that reads as clearly not-yet-a-button. */
.buy-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  /* Sits in the hero — .hero-in's own gap does the spacing, so no margin
     or rule of its own here. */
}
.buy-cta__note {
  font-size: 13px;
  color: var(--ink-muted);
  max-width: var(--measure);
}
/* Dormant: not a link, not focusable, and visibly inert. */
.buy-cta__pending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  background: transparent;
  border: 1px dashed var(--rule);
  cursor: not-allowed;
}
.buy-cta__pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}

/* ---------- note cards ---------- */
.notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 720px) { .notes { grid-template-columns: 1fr; } }
.note {
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.note h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.note p { font-size: 14px; color: var(--ink-muted); line-height: 1.58; }

/* ---------- CTA band ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band-in {
  padding-block: clamp(52px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.band h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.018em;
}
.band p { color: var(--band-muted); max-width: 52ch; }
.band .eyebrow { color: var(--band-faint); }
.band .pill { margin-top: 8px; }

/* ---------- footer ---------- */
.foot { padding-block: 36px; }
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
.foot p { font-size: 12.5px; color: var(--ink-faint); }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { font-size: 12.5px; color: var(--ink-muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }

/* scoped to outrank `.foot p` (0,1,1) — a bare `.disclaimer` (0,1,0) loses */
.foot .disclaimer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  color: var(--ink-muted);
  max-width: 78ch;
  line-height: 1.6;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
