/* $RUDOLPH: a short opening, then one page in the manner of a meal-meter site, in dark red.
   Everything is visible by default; main.js only adds motion on top. */

:root {
  --bg: #07070a;
  --card: #101016;
  --card-2: #15151d;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f2f2f4;
  --soft: #a4a4b0;
  --dim: #6f6f7c;
  --red: #ff2b2b;
  --red-soft: #ff5a4a;
  --glow: rgba(255, 43, 43, 0.55);
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, monospace;
  --pad: clamp(18px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.opening, html.opening body { overscroll-behavior: none; }   /* while the opening plays (hero.js holds the page still) */
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main, .footer { overflow-x: clip; }   /* things waiting off to the side never widen the page */
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-transform: uppercase; letter-spacing: 0.012em; line-height: 1; }
h2 { font-size: clamp(44px, 7.6vw, 118px); line-height: 0.96; }
h2 em, .how-outro em { font-style: normal; color: var(--red); filter: drop-shadow(0 0 14px rgba(255, 43, 43, 0.45)); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sec-n { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--soft); display: flex; align-items: center; }
.sec-n span { color: var(--red); margin-right: 14px; }
.sec-n span::after { content: ''; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; opacity: 0.7; }
.label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
/* headlines split into letters by main.js */
.char { display: inline-block; will-change: transform; }
.wm { position: relative; z-index: 1; display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.08em; margin-top: -0.08em; padding-bottom: 0.05em; margin-bottom: -0.05em; }

/* ---------- small parts ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); box-shadow: 0 0 12px var(--glow); transform-origin: 0 50%; transform: scaleX(0); }
#snow { position: fixed; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#snow.on { opacity: 1; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 130; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #fff; color: #0a0a0d; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 999px; max-width: 92vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.5s var(--ease), opacity 0.3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; border-radius: 999px; padding: 14px 26px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.03); color: var(--ink); transition: background 0.25s, box-shadow 0.25s, border-color 0.25s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.4); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 30px var(--glow); }
.btn-primary:hover { background: #ff4141; border-color: #ff4141; box-shadow: 0 0 46px var(--glow); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- nav: only after the first screen ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--pad); background: rgba(7, 7, 10, 0.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: transform 0.6s var(--ease), opacity 0.4s; }
.nav.hidden { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: 0.05em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle, #ffd0c0, var(--red) 60%); box-shadow: 0 0 14px 3px var(--glow); animation: pulse 2.6s ease-in-out infinite; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--soft); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
@media (max-width: 700px) { .nav-links { display: none; } }
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.12); } }

/* ---------- the first screen ---------- */
.hero { position: relative; height: 100vh; height: 100lvh; overflow: hidden; background: #000; }
.hero-media { position: absolute; inset: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.hero-canvas.on { opacity: 1; }
.hero-still, .hero-fog-still { position: absolute; inset: 0; opacity: 0; background-repeat: no-repeat; }
.hero-still { background-image: url(img/hero.jpg); transition: opacity 1.6s ease; }
.hero-gl .hero-still, .hero-gl .hero-fog-still, .hero-gl .hero-nose { display: none; }
.hero-nose { position: absolute; width: calc(var(--r, 120px) * 2); height: calc(var(--r, 120px) * 2); margin: calc(var(--r, 120px) * -1) 0 0 calc(var(--r, 120px) * -1); border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255, 90, 60, 0.55), rgba(255, 43, 43, 0.22) 38%, transparent 68%); mix-blend-mode: screen; transition: opacity 1.6s ease 0.3s; }
/* the words of the first screen: a fine serif in sentence case, softly lit (one family for all of them) */
.hero { --story: var(--display); --story-style: normal; --story-weight: 400; --story-track: 0.03em; --story-case: uppercase; --story-scale: 1; }
.hero-say { --story-scale: 1; }
.hero-side .hero-line { --story-scale: 1; }
.hero-line em { white-space: nowrap; }
.hero-line { position: absolute; z-index: 2; left: 0; right: 0; top: var(--y, 31svh); height: 0; margin: 0; padding: 0 var(--pad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--story); font-style: var(--story-style); font-weight: var(--story-weight); letter-spacing: var(--story-track); text-transform: var(--story-case);
  font-size: calc(clamp(36px, 5.2vw, 92px) * var(--story-scale)); line-height: 1.06; color: #f7f1ec; text-shadow: 0 0 24px rgba(255, 236, 225, 0.2), 0 2px 28px rgba(0, 0, 0, 0.85);
  opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.hero-line span { display: block; position: relative; }
.hero-line::before { content: ''; position: absolute; z-index: -1; left: 8%; right: 8%; top: -1.5em; bottom: -1.5em; background: radial-gradient(closest-side, rgba(2, 3, 6, 0.55), rgba(2, 3, 6, 0.26) 55%, transparent); }
.hero-line em { font-style: var(--story-style); color: #ff4b3e; text-shadow: 0 0 26px rgba(255, 43, 43, 0.7), 0 2px 26px rgba(0, 0, 0, 0.8); }
.hero-line.l1 { --y: 31svh; }
@media (max-aspect-ratio: 1/1) {
  .hero-line { font-size: calc(clamp(28px, 7.8vw, 74px) * var(--story-scale)); }
  .hero-line.l1 { --y: 25svh; }
}
/* beside him (under him on a tall screen): line 2, then in the same place the short line and the buttons */
.hero-side { position: absolute; z-index: 3; display: grid; left: var(--pad); right: var(--pad); bottom: calc(100px + env(safe-area-inset-bottom)); justify-items: center; align-items: end; text-align: center; }
.hero-side > * { grid-area: 1 / 1; }
.lay-side .hero-side { right: auto; top: 0; bottom: 0; width: var(--side-w, 420px); justify-items: start; align-items: center; text-align: left; }
.hero-side .hero-line { position: relative; left: auto; right: auto; top: auto; height: auto; padding: 0; align-items: inherit; text-align: inherit; font-size: calc(clamp(30px, 3.7vw, 64px) * var(--story-scale)); }
.lay-side .hero-side .hero-line { align-items: flex-start; }
.lay-side .hero-side .hero-line::before { left: -12%; right: -6%; }
.hero-cta { display: grid; gap: clamp(16px, 2.6vh, 28px); justify-items: inherit; }
.hero-say { position: relative; margin: 0; max-width: 100%; text-wrap: balance; font-family: var(--story); font-style: var(--story-style); font-weight: var(--story-weight); letter-spacing: var(--story-track); text-transform: var(--story-case);
  font-size: calc(clamp(28px, 3.4vw, 64px) * var(--story-scale)); line-height: 1.08; color: #f7f1ec; text-shadow: 0 0 22px rgba(255, 236, 225, 0.16), 0 2px 24px rgba(0, 0, 0, 0.9); font-variant-numeric: lining-nums; }
.hero-say > span { display: block; }
.hero-say::before { content: ''; position: absolute; z-index: -1; left: -14%; right: -10%; top: -0.9em; bottom: -2.6em; background: radial-gradient(closest-side, rgba(2, 3, 6, 0.5), rgba(2, 3, 6, 0.22) 60%, transparent); pointer-events: none; }
.hero-btns { display: flex; gap: clamp(10px, 1vw, 16px); flex-wrap: wrap; justify-content: inherit; }
.hero-btns .btn { font-size: clamp(16px, 1.35vw, 22px); padding: clamp(16px, 1.4vw, 24px) clamp(28px, 2.7vw, 48px); }
.lay-low .hero-btns { justify-content: center; }
.hero-cta:not(.is-on) .hero-btns { pointer-events: none; }
@media (max-aspect-ratio: 1/1) {
  .hero-side .hero-line { font-size: calc(clamp(28px, 7.6vw, 60px) * var(--story-scale)); }
  .hero-say { font-size: calc(clamp(24px, 6.8vw, 44px) * var(--story-scale)); }
}
.scroll-cue { position: absolute; z-index: 2; left: 50%; top: calc(100svh - 74px); width: 30px; height: 52px; margin-left: -15px; display: grid; justify-items: center; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.scroll-cue i { display: block; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(255, 255, 255, 0.9)); animation: cue 2.4s var(--ease) infinite; }
.cue .scroll-cue { opacity: 0.75; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
/* still version (no WebGL): the fog picture, then the reindeer, fading; the lines fade with them */
.hero-static .hero-fog-still { background-image: url(img/grounded.jpg); background-size: cover; background-position: 50% 62%; transition: opacity 1.2s ease; }
.hero-static.op-fog .hero-fog-still { opacity: 1; }
.hero-static.op-deer .hero-fog-still { opacity: 0; transition-duration: 1.6s; }
.hero-static.op-deer .hero-still, .hero-static.op-deer .hero-nose { opacity: 1; }
.hero-static.op-deer .hero-nose { animation: nose 3.4s ease-in-out infinite; }
.hero-static .hero-line { transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.hero-static.op-fog .l1, .hero-static.op-deer .l2 { opacity: 1; visibility: visible; transition-delay: 0.4s, 0s; }
.hero-static.op-deer .l1, .hero-static.op-done .l2 { opacity: 0; visibility: hidden; transition-delay: 0s, 0.9s; }
.hero-static .hero-say, .hero-static .hero-btns { transition: opacity 0.9s ease 0.9s, visibility 0s linear; }
.hero-static:not(.op-done) .hero-say, .hero-static:not(.op-done) .hero-btns { opacity: 0; visibility: hidden; transition-delay: 0s, 0.9s; }
.hero-static::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
@keyframes nose { 0%, 100% { transform: scale(0.85); } 50% { transform: scale(1.15); } }
@media (max-width: 699px), (max-height: 699px) { .hero-still { background-image: url(img/hero-1448.jpg); } }
@media (max-aspect-ratio: 1/1) { .hero-static .hero-fog-still { background-image: url(img/grounded-phone.jpg); background-size: 108% auto; background-position: 50% 56%; } }

/* ---------- 01 the gift meter: one wide card, one screen tall ---------- */
.meter { position: relative; z-index: 2; padding: clamp(20px, 3.4vh, 40px) clamp(12px, 2.2vw, 36px); scroll-margin-top: 58px; }
.meter-card { position: relative; max-width: 1760px; margin: 0 auto; padding: clamp(18px, 2.6vh, 30px) clamp(16px, 3vw, 54px) clamp(18px, 2.8vh, 32px); text-align: center; border-radius: clamp(22px, 2.6vw, 40px); border: 1px solid rgba(255, 43, 43, 0.3); background: radial-gradient(ellipse 60% 300px at 50% 0, rgba(255, 43, 43, 0.15), transparent 72%), linear-gradient(165deg, #14141b, #0b0b10); box-shadow: 0 0 90px rgba(255, 43, 43, 0.1), 0 40px 90px rgba(0, 0, 0, 0.5); }
/* it comes in with one rise and then never moves (main.js adds .rise-ready, then .risen) */
.rise-ready [data-rise] { opacity: 0; transform: translateY(46px); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
.rise-ready [data-rise].risen { opacity: 1; transform: none; }
.meter-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.meter-top .sec-n { margin: 0; }
.gifts-main { position: relative; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 clamp(14px, 1.8vw, 30px); margin-top: clamp(2px, 0.8vh, 10px); }
.live { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.live i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: ping 1.8s ease-out infinite; }
.live b { font-weight: 600; }
.live.is-idle i, .live.is-error i { background: var(--dim); }
.live.is-idle i::after, .live.is-error i::after { display: none; }
.live.is-error { color: var(--red-soft); }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.odo { display: flex; justify-content: center; font-family: var(--display); font-size: clamp(74px, min(10.5vw, 17vh), 168px); line-height: 1; letter-spacing: 0.01em; color: #fff; filter: drop-shadow(0 0 26px rgba(255, 43, 43, 0.5)); }
.odo .mtr-c { color: var(--red); }
.gifts-title { font-size: clamp(30px, min(4.4vw, 7vh), 70px); line-height: 1; letter-spacing: 0.05em; color: var(--red); filter: drop-shadow(0 0 16px var(--glow)); }
.gifts-line { margin: clamp(6px, 1.2vh, 14px) auto 0; font-size: clamp(15px, 1.35vw, 19px); color: var(--soft); }
.gifts-line b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.gifts-line a { color: var(--ink); text-underline-offset: 3px; }
.gifts-line i { font-style: normal; color: var(--dim); margin: 0 0.35em; }
.gifts-line > span { display: inline-block; }
.meter-pop { top: 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--red-soft); text-shadow: 0 0 24px var(--glow); z-index: 2; }
.meter-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(12px, 2.2vh, 26px) 0 0; text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meter-facts > div { position: relative; padding: clamp(10px, 1.6vh, 16px) clamp(10px, 1.6vw, 26px); border-left: 1px solid var(--line); }
.meter-facts > div:first-child { border-left: 0; padding-left: 0; }
.meter-facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.meter-facts dd { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 36px); line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.meter-facts .rate dd { color: var(--red-soft); }
.bar { display: block; height: 4px; margin-top: 8px; max-width: 220px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--red); box-shadow: 0 0 10px var(--glow); transition: width 1.4s var(--ease); }
.meter-bottom { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(18px, 3.6vw, 64px); margin-top: clamp(12px, 2.2vh, 24px); text-align: left; align-items: start; }
.trail { list-style: none; margin: 4px 0 0; padding: 0; }
.trail li { display: grid; grid-template-columns: 30px 1fr auto 5.4em; align-items: center; gap: 2px 14px; padding: clamp(8px, 1.3vh, 13px) 0; border-bottom: 1px solid var(--line); }
.t-n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 13px; font-weight: 600; color: var(--ink); }
.trail .is-main .t-n { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 14px var(--glow); }
.t-body b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.t-body small { display: block; font-size: 13px; color: var(--dim); line-height: 1.35; }
.t-amt { font-family: var(--display); font-size: clamp(18px, 1.6vw, 23px); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.trail .is-main .t-amt { color: var(--red-soft); }
.t-link { font-size: 13px; font-weight: 600; color: var(--red-soft); text-decoration: none; white-space: nowrap; text-align: right; }
.t-link.off { visibility: hidden; }
.side { display: grid; gap: clamp(8px, 1.4vh, 14px); align-content: start; }
.cd-label { margin-bottom: 6px; }
.cd { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.cd span { display: flex; flex-direction: column; align-items: center; min-width: 1.6em; }
.cd b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, min(3.8vw, 7vh), 60px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd span:last-child b { color: var(--red); }
.cd small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.meter-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: 12.5px; color: var(--dim); }
.meter-meta a { font-family: var(--mono); font-size: 13px; color: var(--ink); text-underline-offset: 3px; }
.lock-slot { margin: 0; min-height: 1.5em; font-size: 13px; color: var(--soft); }   /* its room is kept, so nothing shifts when the line arrives */
.meter-note { margin: 0; padding-top: clamp(8px, 1.3vh, 12px); border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; color: var(--dim); }
.meter-note b { color: var(--soft); font-weight: 600; }
.meter-note a { color: var(--soft); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 900px) {
  .meter-bottom { grid-template-columns: 1fr; gap: 14px; }
  .meter-facts { grid-template-columns: 1fr 1fr; }
  .meter-facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .meter-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .meter-card { padding: 14px 14px 16px; }
  .meter-top { justify-content: space-between; }
  .live { padding: 5px 10px; font-size: 11px; }
  .gifts-line { font-size: 14px; }
  .gifts-line i { display: none; }
  .gifts-line > span { margin: 0 0.3em; }
  .meter-facts > div { padding: 8px 10px; }
  .meter-facts dd { font-size: 21px; }
  .trail li { grid-template-columns: 26px 1fr auto auto; gap: 0 10px; padding: 7px 0; }
  .t-n { width: 24px; height: 24px; font-size: 12px; }
  .t-body small { display: none; }
  .t-body b { font-size: 14px; }
  .t-link.off { display: none; }
  .cd { justify-content: flex-start; }
  .cd b { font-size: 32px; }
  .xmas { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .cd-label { margin: 0; max-width: 6em; }
  .meter-note { font-size: 11.5px; line-height: 1.45; }
}

/* ---------- two bands ---------- */
.bands { position: relative; z-index: 2; padding: clamp(30px, 6vh, 70px) 0; overflow: hidden; }
.band { width: 112%; margin-left: -6%; overflow: hidden; padding: clamp(10px, 1.4vw, 18px) 0; }
.band-red { background: var(--red); color: #0a0a0d; transform: rotate(-2.4deg); box-shadow: 0 0 60px rgba(255, 43, 43, 0.35); }
.band-dark { background: #0e0e13; color: rgba(255, 255, 255, 0.8); transform: rotate(1.6deg); margin-top: -10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 4.4vw, 64px); line-height: 1; padding-right: 0.2em; animation: marquee 30s linear infinite; }
.band-dark .marquee-track span { font-size: clamp(16px, 2vw, 26px); letter-spacing: 0.12em; }
.marquee-track.reverse span { animation-direction: reverse; animation-duration: 38s; }
.marquee-track i { display: inline-block; width: 0.32em; height: 0.32em; margin: 0 0.5em; border-radius: 50%; background: currentColor; }
.band-dark .marquee-track i { background: var(--red); box-shadow: 0 0 10px var(--glow); }
.marquee-track b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 02 the story: short sentences, each on its own, the words lighting up as you read ---------- */
.lore { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: clamp(50px, 9vh, 110px) var(--pad) clamp(50px, 9vh, 110px); }
.lore-text p { margin: 0 0 0.62em; font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 5.1vw, 82px); line-height: 1.16; letter-spacing: 0.016em; color: #fff; }
.lore-text p:last-child { margin-bottom: 0; }
.lore-text .word { display: inline-block; }
/* the key phrases sit in a box that fills with red as you reach them */
.lore-text mark { position: relative; display: inline; padding: 0 0.14em; margin: 0 -0.04em; color: inherit; background: linear-gradient(var(--red), var(--red)) no-repeat 0 62% / var(--fill, 100%) 82%; border-radius: 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- 03 how it works ---------- */
.how { position: relative; z-index: 2; padding: clamp(60px, 11vh, 130px) 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.how-track { display: flex; flex-direction: column; gap: 18px; padding: 0 var(--pad); }
.how-intro { max-width: 900px; margin-bottom: 14px; }
.how-lead { margin: 18px 0 0; max-width: 32em; color: var(--soft); font-size: clamp(16px, 1.6vw, 19px); }
/* each step is a wrapped present: dark paper, a red ribbon with a bow, snow settled on the top edge */
.how-card { position: relative; overflow: hidden; padding: clamp(40px, 3.4vw, 50px) clamp(70px, 6vw, 92px) clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px); border-radius: 24px; border: 1px solid rgba(255, 90, 74, 0.2); background: radial-gradient(ellipse 90% 60% at 20% 0, rgba(255, 43, 43, 0.1), transparent 70%), linear-gradient(165deg, #17141a, #0c0b10); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 24px 60px rgba(0, 0, 0, 0.45); }
.how-card::before { content: ''; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='22' viewBox='0 0 220 22'%3E%3Cpath fill='%23f3eff0' d='M0 0H220V7C211 15 203 6 193 10C184 14 178 19 166 13C156 8 150 12 140 15C128 19 121 8 109 9C97 10 92 18 80 14C70 10 63 5 52 9C41 13 35 20 23 15C14 11 8 13 0 9Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.55' d='M0 0H220V3C150 6 70 6 0 3Z'/%3E%3C/svg%3E") repeat-x 0 0 / 220px 22px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45)); opacity: 0.94; pointer-events: none; }
.how-card::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; right: clamp(30px, 2.8vw, 44px); width: 20px; background: linear-gradient(90deg, #5a080b, #b3181d 26%, #e8393c 50%, #b3181d 74%, #5a080b); box-shadow: 0 0 14px rgba(255, 43, 43, 0.16); pointer-events: none; }
.bow { position: absolute; z-index: 3; top: 6px; right: calc(clamp(30px, 2.8vw, 44px) + 10px - 56px); width: 112px; height: 72px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(255, 43, 43, 0.35)); pointer-events: none; }
.how-card:nth-of-type(4) { border-color: rgba(255, 43, 43, 0.45); box-shadow: 0 0 50px rgba(255, 43, 43, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45); }
.how-num { display: block; font-family: var(--display); font-size: clamp(64px, 8vw, 118px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28); margin-bottom: 0.22em; }
.how-card h3 { font-size: clamp(34px, 3.8vw, 54px); color: #fff; margin-bottom: 12px; }
.how-card p { margin: 0; color: var(--soft); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45; }
.track-links { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.track-links li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--soft); }
.track-links a { color: var(--red-soft); font-weight: 600; text-decoration: none; white-space: nowrap; }
.track-links a[data-m-ca] { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.track-links a:not([href]) { color: var(--dim); font-family: var(--sans); font-weight: 400; }
.track-links em { font-style: normal; color: var(--dim); }
.track-links .t-link.off { display: none; }
.track-links .t-link:not(.off) + em { display: none; }
.how-outro { display: grid; align-items: center; padding: 20px 0; }
.how-outro p { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 7vw, 110px); line-height: 0.96; color: #fff; }
/* a string of small lights across the top */
.how-lights { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(8px, 2vh, 20px); height: 56px; pointer-events: none; }
.how-lights svg { display: block; width: 100%; height: 100%; overflow: visible; }
.how-lights .wire { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.2; }
.how-lights .cap { fill: #2a2a31; }
.how-lights .bulb { fill: var(--red); filter: drop-shadow(0 0 6px rgba(255, 43, 43, 0.9)); animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.how-lights .bulb.warm { fill: #ffe2c4; filter: drop-shadow(0 0 6px rgba(255, 210, 160, 0.85)); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 45% { opacity: 0.42; } 60% { opacity: 0.9; } }
.flow { display: none; }
@media (min-width: 901px) {
  /* the sideways track, only while the scroll scene runs */
  .how.is-pinned { height: 100svh; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; justify-content: center; }
  .how.is-pinned .how-track { flex-direction: row; align-items: stretch; width: max-content; gap: 26px; padding-right: 12vw; }
  .how.is-pinned .how-intro { width: min(48vw, 680px); flex: none; margin: 0 4vw 0 0; align-self: center; }
  .how.is-pinned .how-card { width: min(32vw, 430px); flex: none; min-height: min(54svh, 460px); display: flex; flex-direction: column; justify-content: flex-end; }
  .how.is-pinned .how-outro { flex: none; padding: 0 6vw 0 4vw; }
  .how.is-pinned .how-outro p { white-space: nowrap; }
  .how.is-pinned .how-lights { top: clamp(64px, 9svh, 96px); }
  /* no motion: the same four steps in a plain grid, nothing cut off */
  .how:not(.is-pinned) .how-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .how:not(.is-pinned) .how-intro, .how:not(.is-pinned) .how-outro { grid-column: 1 / -1; }
  .how:not(.is-pinned) .how-intro { margin-bottom: 20px; }
  .how.is-pinned .flow { display: block; margin: clamp(22px, 4svh, 46px) var(--pad) 0; }
  .flow-line { position: relative; height: 1px; background: rgba(255, 255, 255, 0.14); }
  .flow-line span { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--glow); }
  .flow-nose { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle, #ffd0c0, var(--red) 60%); box-shadow: 0 0 18px 6px var(--glow); }
  .flow-labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
  .flow-labels span:nth-child(2) { text-align: center; padding-right: 30%; }
  .flow-labels span:nth-child(3) { text-align: center; padding-left: 30%; }
  .flow-labels span:last-child { text-align: right; }
}
@media (min-width: 1200px) { .how:not(.is-pinned) .how-track { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .how-track { max-width: 620px; margin: 0 auto; } .how-intro { margin-top: 40px; } }

/* ---------- 04 the coin ---------- */
.token { position: relative; z-index: 2; padding: clamp(70px, 12vh, 150px) clamp(12px, 2.2vw, 36px); scroll-margin-top: 58px; }
.token-head { max-width: 1760px; margin: 0 auto clamp(22px, 3.6vh, 40px); padding: 0 clamp(16px, 3vw, 54px); }
.token-lead { color: var(--soft); max-width: 36em; margin: 16px 0 0; font-size: clamp(17px, 1.7vw, 21px); }
/* the coin card: as wide as the gift meter, one clean row for the address and the buttons */
.ca-card { position: relative; overflow: hidden; max-width: 1760px; margin: 0 auto; border-radius: clamp(22px, 2.6vw, 40px); padding: clamp(20px, 3vh, 34px) clamp(16px, 3vw, 54px) clamp(18px, 2.6vh, 28px); border: 1px solid rgba(255, 43, 43, 0.3); background: radial-gradient(ellipse 60% 300px at 50% 0, rgba(255, 43, 43, 0.12), transparent 72%), linear-gradient(165deg, #14141b, #0b0b10); box-shadow: 0 0 90px rgba(255, 43, 43, 0.1), 0 40px 90px rgba(0, 0, 0, 0.5); }
.ca-glow { position: absolute; left: 50%; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 43, 43, 0.22), transparent 65%); }
.ca-top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(10px, 1.6vh, 16px); }
.ca-net { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.ca-net i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--glow); }
.ca-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px 36px; flex-wrap: wrap; }
.ca-value { position: relative; margin: 0; font-family: var(--display); font-size: clamp(34px, 4.6vw, 72px); line-height: 1.05; letter-spacing: 0.04em; color: #fff; white-space: nowrap; cursor: default; }
.ca-value.is-address { font-family: var(--mono); font-size: clamp(13px, 1.5vw, 26px); letter-spacing: 0; line-height: 1.4; }
.ca-value .ch { display: inline-block; text-align: center; }
.ca-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(18px, 3vh, 28px) 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: clamp(12px, 1.8vh, 18px) clamp(10px, 1.6vw, 26px) 2px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; color: #fff; text-transform: uppercase; }
.ca-note { position: relative; margin: clamp(14px, 2vh, 20px) 0 0; font-size: 12.5px; color: var(--dim); }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); padding-top: 12px; }
}
@media (max-width: 600px) {
  .ca-value.is-address { white-space: normal; word-break: break-all; font-size: 14px; }
  .ca-actions .btn { flex: 1 1 auto; justify-content: center; }
  .token h2 em { display: block; }
}

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; padding: clamp(60px, 10vh, 120px) var(--pad) 30px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 380px at 50% 0, rgba(255, 43, 43, 0.12), transparent 70%); }
.foot-cta { max-width: 1400px; margin: 0 auto clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); padding-top: 10px; }
.sources { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.sources a { color: var(--soft); text-underline-offset: 3px; }
.sources a:hover { color: #fff; }
.disclaimer { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--dim); }
.disclaimer a { color: var(--soft); text-underline-offset: 3px; white-space: nowrap; }
.foot-end { max-width: 1400px; margin: clamp(30px, 5vw, 60px) auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.foot-end a { color: var(--soft); text-decoration: none; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .brand-dot, .live i::after, .scroll-cue i, .hero-nose, .marquee-track span, .how-lights .bulb { animation: none !important; }
  .bar i { transition: none; }
  .rise-ready [data-rise] { opacity: 1; transform: none; transition: none; }
}
