/* ============================================================
   moodscale explained — an animated walkthrough of the private
   PHQ-9 / GAD-7 self-test. Same family as the app: bone + oxblood,
   the graduated-band motif. Light + dark, WCAG-AA in both.
   All motion respects prefers-reduced-motion (degrades to static).
   ============================================================ */

:root {
  /* Light (default) */
  --bg:        #F4EFE6;  /* bone */
  --surface:   #FBF7EF;  /* lifted bone card */
  --surface2:  #EFE7D9;
  --ink:       #26211C;  /* warm ink */
  --ink-soft:  #5c5348;  /* AA on bone ~6.5:1 */
  --hair:      #d8ccba;  /* clay hairline */
  --hair2:     #cabfad;
  --accent:    #6F1D2B;  /* oxblood */
  --accent-ink:#FBF7EF;  /* text ON oxblood */
  --accent-2:  #8a2636;
  --focus:     #6F1D2B;
  --ok:        #3f6b4a;
  --bad:       #8a2f2f;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 940px;
  --shadow: 0 16px 40px -28px rgba(38,33,28,0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #181210;  /* espresso-black */
    --surface:   #221a17;
    --surface2:  #2c221d;
    --ink:       #EDE6D8;  /* bone text */
    --ink-soft:  #b6ab9a;  /* AA on espresso ~7:1 */
    --hair:      #3a2e28;
    --hair2:     #46372f;
    --accent:    #C97B85;  /* lifted rose-oxblood, AA on espresso */
    --accent-ink:#1a1210;
    --accent-2:  #d9929b;
    --focus:     #C97B85;
    --ok:        #8fbf9c;
    --bad:       #e08b8b;
    --shadow: 0 18px 46px -26px rgba(0,0,0,0.75);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
b { font-weight: 700; }
em { font-style: normal; font-weight: 700; color: var(--ink); }
.accent { color: var(--accent); }
code { font-family: var(--mono); }
.num, [class*="__v"], .adder__cell, .adder__total, .blab, .tlab, .ic-num {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  z-index: 90; transition: top 0.18s var(--ease); text-decoration: none;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hair);
}
.topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 11px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -0.03em; color: var(--ink);
}
.wordmark__ruler {
  width: 26px; height: 14px; border-radius: 3px; flex: 0 0 auto;
  background:
    repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, var(--surface2), var(--surface2));
  position: relative; border: 1px solid var(--hair);
}
.wordmark__ruler::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: 62%;
  width: 2px; background: var(--accent); border-radius: 2px;
}
.wordmark__tag {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--hair); border-radius: 999px; padding: 2px 8px;
}

/* ---------- CTA button ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.15s;
}
.cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.cta__arrow { transition: transform 0.18s var(--ease); }
.cta:hover .cta__arrow { transform: translateX(3px); }
.cta--sm { padding: 8px 16px; font-size: 0.9rem; }
.cta--big {
  padding: 16px 34px; font-size: 1.15rem; margin-top: 26px;
  box-shadow: var(--shadow);
}

/* ---------- scenes ---------- */
.scene { padding: clamp(64px, 11vh, 128px) 22px; border-bottom: 1px solid var(--hair); }
.scene:last-of-type { border-bottom: none; }
.scene__inner { max-width: var(--wrap); margin: 0 auto; }
.scene__inner--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft); font-weight: 700; margin-bottom: 14px;
}
.eyebrow--accent { color: var(--accent); }

.lede, .scene__lede {
  margin-top: 18px; max-width: 62ch; color: var(--ink-soft); font-size: 1.08rem;
}
.scene__lede--center { margin-left: auto; margin-right: auto; }
.lede em, .scene__lede em { color: var(--ink); }

/* ---------- hook / hero ---------- */
.scene--hook { padding-top: clamp(48px, 8vh, 84px); }
#hookH { font-size: clamp(2rem, 5vw, 3.1rem); max-width: 20ch; }

.hero-band { margin: 44px 0 8px; }
.bandsvg { width: 100%; height: auto; display: block; }
.bandsvg--hero { max-width: 760px; }
.hero-band__cap, .trend-demo__cap {
  margin-top: 12px; color: var(--ink-soft); font-size: 0.9rem; max-width: 58ch;
}

/* graduated band segments (lightness ramp of the accent) */
.seg { fill: var(--accent); }
.seg1 { fill-opacity: 0.16; }
.seg2 { fill-opacity: 0.30; }
.seg3 { fill-opacity: 0.44; }
.seg4 { fill-opacity: 0.58; }
.seg5 { fill-opacity: 0.74; }
.band-ticks line { stroke: var(--ink-soft); stroke-width: 1.4; }
.blab, .tlab { fill: var(--ink-soft); font-size: 24px; font-weight: 700; text-anchor: middle; font-family: var(--sans); }
.tlab { text-anchor: end; }
.marker__stem { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.marker__dot { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }

/* draw-in animation for the hero band */
.hero-band .band-seg .seg { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.hero-band.in .band-seg .seg { animation: segIn 0.6s var(--ease) both; }
.hero-band.in .seg1 { animation-delay: 0.1s; }
.hero-band.in .seg2 { animation-delay: 0.22s; }
.hero-band.in .seg3 { animation-delay: 0.34s; }
.hero-band.in .seg4 { animation-delay: 0.46s; }
.hero-band.in .seg5 { animation-delay: 0.58s; }
@keyframes segIn { to { transform: scaleX(1); } }
.marker--hero { opacity: 0; }
.marker--hero .marker__stem { stroke-dasharray: 80; stroke-dashoffset: 80; }
.hero-band.in .marker--hero { animation: heroMarkerIn 0.7s var(--ease) 0.8s both; }
.hero-band.in .marker--hero .marker__stem { animation: dashIn 0.6s var(--ease) 0.8s both; }
@keyframes heroMarkerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dashIn { to { stroke-dashoffset: 0; } }

.scroll-hint {
  margin-top: 40px; display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700;
}
.scroll-hint__mouse {
  width: 20px; height: 32px; border: 2px solid var(--ink-soft); border-radius: 12px; position: relative;
}
.scroll-hint__mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; margin-left: -2px;
  width: 4px; height: 6px; border-radius: 2px; background: var(--accent);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

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

/* ---------- problem ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.prob-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.prob-card--good { border-color: color-mix(in srgb, var(--accent) 45%, var(--hair)); }
.prob-card--good .prob-card__label { color: var(--accent); }
.prob-card__label {
  font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 16px;
}
.prob-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.prob-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.98rem; }
.pip { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; position: relative; margin-top: 1px; }
.pip--x { background: color-mix(in srgb, var(--bad) 18%, transparent); }
.pip--x::before, .pip--x::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 2px; background: var(--bad); border-radius: 2px;
}
.pip--x::before { transform: rotate(45deg); }
.pip--x::after { transform: rotate(-45deg); }
.pip--check { background: color-mix(in srgb, var(--ok) 20%, transparent); }
.pip--check::after {
  content: ""; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px;
  border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(42deg);
}

/* the packet wire animation */
.wire {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--hair2);
  display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft);
}
.wire__node { background: var(--surface2); border: 1px solid var(--hair); border-radius: 6px; padding: 4px 9px; }
.wire__node--server { margin-left: auto; }
.wire__packets { position: relative; flex: 1; height: 14px; overflow: hidden; }
.wire__packets i {
  position: absolute; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); left: 0;
}
.wire--out .wire__packets i { animation: flowout 1.9s linear infinite; }
.wire--out .wire__packets i:nth-child(2) { animation-delay: 0.63s; }
.wire--out .wire__packets i:nth-child(3) { animation-delay: 1.26s; }
@keyframes flowout { from { left: 0; opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0.6; } }
.wire--blocked .wire__packets { flex: 0 0 44px; }
.wire--blocked .wire__packets i { background: var(--ok); animation: flowstop 1.9s var(--ease) infinite; }
.wire--blocked .wire__packets i:nth-child(2) { animation-delay: 0.4s; }
.wire--blocked .wire__packets i:nth-child(3) { animation-delay: 0.8s; }
@keyframes flowstop { 0% { left: 0; opacity: 1; } 55%,100% { left: 38px; opacity: 0.15; } }
.wire__wall {
  color: var(--ok); border: 1.5px solid var(--ok); border-radius: 6px; padding: 4px 9px;
}

/* ---------- how: verbatim question ---------- */
.qdemo {
  margin-top: 32px; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); max-width: 640px;
}
.qdemo__stem { color: var(--ink-soft); font-size: 0.9rem; }
.qdemo__item { margin-top: 10px; font-size: 1.12rem; font-weight: 700; display: flex; gap: 10px; }
.qdemo__num { color: var(--accent); }
.qdemo__opts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--hair); border-radius: 10px; padding: 12px 16px;
  font-weight: 600; color: var(--ink); background: var(--bg);
}
.opt--on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.opt__v {
  font-weight: 800; color: var(--ink-soft); border: 1px solid var(--hair);
  border-radius: 6px; min-width: 26px; text-align: center; padding: 1px 0;
}
.opt--on .opt__v { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.qdemo__note { margin-top: 16px; color: var(--ink-soft); font-size: 0.82rem; }
/* stagger options in when revealed */
.qdemo__opts.in .opt { animation: optin 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.09s + 0.15s); }
@keyframes optin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.qdemo__opts.in .opt--on { animation: optin 0.5s var(--ease) both, optpop 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.09s + 0.15s); }
@keyframes optpop { 0%,70% { box-shadow: 0 0 0 0 transparent; } 85% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- how: scoring ---------- */
.score-demo { margin-top: 32px; }
.adder {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 28px;
  font-size: 1.35rem; font-weight: 800;
}
.adder__cell {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 9px; color: var(--ink);
}
.adder.in .adder__cell { animation: cellpop 0.4s var(--ease) both; animation-delay: calc(var(--d) * 0.08s); }
@keyframes cellpop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
.adder__eq { color: var(--ink-soft); margin: 0 4px; }
.adder__total {
  width: 58px; height: 52px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); border-radius: 11px; font-size: 1.6rem;
}
.adder.in .adder__total { animation: cellpop 0.5s var(--ease) both; animation-delay: 0.85s; }

.bandsvg--score { max-width: 820px; }
.marker--score { opacity: 0; }
.marker--score .marker__stem, .marker--score .marker__dot { transition: none; }
/* on reveal, slide the marker group from x=0 to the "13" position (46.2% of 1000 = 462) */
.bandsvg--score.in .marker--score { animation: markerin 0.9s var(--ease) 1s both; }
@keyframes markerin { 0% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 100% { opacity: 1; transform: translateX(462px); } }

.score-verdict { margin-top: 24px; max-width: 60ch; font-size: 1.05rem; }
.band-chip {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; border-radius: 999px; padding: 2px 14px;
}

/* ---------- how: crisis ---------- */
.crisis-demo {
  margin-top: 32px; max-width: 560px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--hair));
  border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.crisis-demo__head { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.crisis-demo__dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: 0 0 auto;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 8%, transparent); } }
.crisis-demo__body { margin-top: 12px; color: var(--ink-soft); font-size: 0.95rem; }
.hlines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hlines li {
  background: var(--bg); border: 1px solid var(--hair); border-radius: 9px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.hlines b { font-size: 0.9rem; }
.hlines span { color: var(--ink-soft); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.crisis-demo__ver { margin-top: 14px; color: var(--ink-soft); font-size: 0.8rem; }

/* ---------- how: trend ---------- */
.trend-demo { margin-top: 32px; }
.trendsvg { width: 100%; height: auto; max-width: 820px; display: block; }
.tband { fill: var(--accent); }
.tband1 { fill-opacity: 0.08; }
.tband2 { fill-opacity: 0.16; }
.tband3 { fill-opacity: 0.26; }
.tband4 { fill-opacity: 0.38; }
.tband5 { fill-opacity: 0.52; }
.taxis line { stroke: var(--ink-soft); stroke-width: 1.4; }
.tline { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.trend-demo.in .tline { animation: draw 1.8s var(--ease) 0.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tdots circle { fill: var(--accent); stroke: var(--bg); stroke-width: 3; opacity: 0; }
.trend-demo.in .tdots circle { animation: dotin 0.4s var(--ease) both; animation-delay: calc(var(--d) * 0.3s + 0.4s); }
@keyframes dotin { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
.tdots circle { transform-box: fill-box; transform-origin: center; }

/* ---------- privacy ---------- */
.csp-card {
  margin-top: 32px; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center;
}
.csp-code {
  font-family: var(--mono); font-size: clamp(1.2rem, 3.4vw, 1.9rem); font-weight: 700;
  color: var(--ink); background: var(--surface2); border: 1px solid var(--hair);
  border-radius: 10px; padding: 12px 22px; display: inline-block;
}
.csp-none { color: var(--accent); font-weight: 800; }
.csp-card__say { margin-top: 18px; color: var(--ink-soft); font-size: 0.98rem; }
.csp-anim {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft);
}
.csp-anim__from, .csp-anim__net {
  background: var(--bg); border: 1px solid var(--hair); border-radius: 8px; padding: 8px 12px;
}
.csp-anim__try { position: relative; width: 74px; height: 14px; overflow: hidden; }
.csp-anim__try i {
  position: absolute; top: 4px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: tryblock 2s var(--ease) infinite;
}
.csp-anim__try i:nth-child(2) { animation-delay: 0.5s; }
.csp-anim__try i:nth-child(3) { animation-delay: 1s; }
@keyframes tryblock { 0% { left: 0; opacity: 1; } 55%,100% { left: 60px; opacity: 0.1; } }
.csp-anim__shield { color: var(--accent); display: inline-flex; align-items: center; }
.csp-anim__shield svg { display: block; }
.csp-foot { margin-top: 22px; color: var(--ink-soft); font-size: 0.9rem; max-width: 60ch; }

/* ---------- feature tour ---------- */
.tour-grid { list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.tour-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 40px; margin-bottom: 12px;
  background: var(--surface2); border: 1px solid var(--hair); border-radius: 10px;
}
.tour-ic svg { width: 34px; height: auto; }
.tour-card h3 { margin-bottom: 6px; }
.tour-card p { color: var(--ink-soft); font-size: 0.94rem; }
.ic-band { fill: var(--accent); fill-opacity: 0.4; }
.ic-mark { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.ic-dot { fill: var(--accent); }
.ic-num { fill: var(--accent); font-size: 15px; font-weight: 800; font-family: var(--sans); }
.ic-shield, .ic-line, .ic-globe, .ic-sheet { stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ic-rule { stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; }
.ic-slash { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

/* ---------- cta ---------- */
.scene--cta { background: var(--surface); }
.cta-band { margin: 0 0 22px; }
.cta-band .bandsvg { max-width: 320px; margin: 0 auto; }
.cta__sub { margin-top: 16px; color: var(--ink-soft); font-size: 0.86rem; }

/* ---------- footer ---------- */
.foot { background: var(--surface2); padding: 34px 22px; }
.foot__inner { max-width: var(--wrap); margin: 0 auto; }
.foot__disc { color: var(--ink-soft); font-size: 0.82rem; max-width: 80ch; }
.foot__links {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  color: var(--ink-soft); font-size: 0.85rem;
}
.foot__links a { color: var(--accent); font-weight: 700; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .problem-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .hlines { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION — every animation degrades to a legible static
   state; nothing depends on motion to be understood.
   ============================================================ */
@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;
  }
  /* show everything in its final state */
  .reveal { opacity: 1 !important; transform: none !important; }
  .band-seg .seg { transform: none !important; }
  .marker--hero, .marker--score, .tdots circle { opacity: 1 !important; }
  .marker--score { transform: translateX(462px) !important; }
  .marker--hero .marker__stem { stroke-dashoffset: 0 !important; }
  .tline { stroke-dashoffset: 0 !important; }
  .opt, .adder__cell, .adder__total { opacity: 1 !important; transform: none !important; }
  .scroll-hint { display: none; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .scroll-hint, .cta { display: none !important; }
  .scene { padding: 20px 0; border-color: #ccc; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
