/* =========================================================
   Angel Tree — styles
   ========================================================= */
:root {
  --night: #0b1626;
  --night-2: #13263f;
  --pine: #14402b;
  --pine-2: #1d5a3c;
  --berry: #b3122e;
  --berry-deep: #6c0c1d;
  --gold: #e8b04a;
  --gold-2: #f3c867;
  --snow: #fbf6ec;
  --snow-2: #f2eadb;
  --ink: #1d1b16;
  --muted: #6d6658;
  --line: rgba(29, 27, 22, .12);
  --live: #3ddc84;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(11, 22, 38, .45), 0 8px 24px -12px rgba(11, 22, 38, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- snow overlay ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--night); color: var(--snow);
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid rgba(232, 176, 74, .5);
  transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; word-break: break-all;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4em; justify-content: center;
  padding: .85em 1.5em; border-radius: 999px; font: 600 1rem/1 var(--f-body);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .ca-pill:focus-visible, a:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 10px 30px -10px rgba(232, 176, 74, .8); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(251, 246, 236, .55); color: var(--snow); }
.btn-ghost:hover { background: rgba(251, 246, 236, .1); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--snow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100% - 1160px) / 2));
  color: var(--snow);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(11, 22, 38, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(232, 176, 74, .25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--f-display); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--gold-2); }
.ca-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 500 .85rem/1 var(--f-mono); color: var(--snow);
  background: rgba(251, 246, 236, .08); border: 1px solid rgba(251, 246, 236, .3);
}
.ca-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ca-pill.has-ca .dot { background: var(--live); box-shadow: 0 0 10px var(--live); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--snow);
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(232, 176, 74, .18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(29, 90, 60, .55), transparent 60%),
    linear-gradient(180deg, #060d18 0%, var(--night) 45%, var(--night-2) 100%);
  padding: 130px 0 140px;
  overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 86% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 38%, #fff 50%, transparent 51%);
  opacity: .7; animation: twinkle 5s ease-in-out infinite alternate;
}
.star-glow { position: absolute; top: 12%; right: 18%; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 20px 6px rgba(255, 230, 163, .9), 0 0 80px 20px rgba(232, 176, 74, .35); }
@keyframes twinkle { from { opacity: .45; } to { opacity: .85; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.eyebrow { font: 500 .8rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 600; }
.lede { font-size: 1.15rem; max-width: 34em; margin: 26px 0 32px; color: rgba(251, 246, 236, .85); }
.lede strong { color: var(--snow); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.coin { position: absolute; inset: 8%; animation: float 6s ease-in-out infinite; perspective: 900px; }
.coin-face { width: 100%; height: 100%; border-radius: 50%; animation: spin 9s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)) drop-shadow(0 0 60px rgba(232, 176, 74, .35)); }
.coin-face img { width: 100%; height: 100%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin { 0%, 70% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: bob 4s ease-in-out infinite; }
.orb-1 { width: 38px; height: 38px; left: 2%; top: 22%; background: radial-gradient(circle at 35% 30%, #ff8095, var(--berry) 60%, #5c0715); }
.orb-2 { width: 26px; height: 26px; right: 4%; top: 64%; background: radial-gradient(circle at 35% 30%, #fff1c7, var(--gold) 60%, #8a5a12); animation-delay: -1.3s; }
.orb-3 { width: 20px; height: 20px; left: 14%; bottom: 6%; background: radial-gradient(circle at 35% 30%, #a9f0c6, #2f9a63 60%, #0f3d26); animation-delay: -2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.countdown { position: relative; margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.countdown-label { margin: 0; font: 500 .8rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 246, 236, .7); }
.countdown-units { display: flex; gap: 10px; }
.countdown-units div { min-width: 76px; padding: 12px 10px; border-radius: 14px; text-align: center;
  background: rgba(251, 246, 236, .06); border: 1px solid rgba(251, 246, 236, .16); }
.countdown-units b { display: block; font: 700 2rem/1 var(--f-mono); color: var(--snow); font-variant-numeric: tabular-nums; }
.countdown-units span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(251, 246, 236, .6); }
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* ---------- meter ---------- */
.meter { padding: 30px 0 90px; position: relative; z-index: 2; margin-top: -60px; }
.meter-card {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px); border-top: 6px solid var(--gold);
}
.meter-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.meter-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); flex: 1 1 auto; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em;
  padding: 7px 12px; border-radius: 999px; background: rgba(61, 220, 132, .12); color: #137a43; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 1.8s infinite; }
.live.is-idle { background: rgba(109, 102, 88, .12); color: var(--muted); }
.live.is-idle i { background: #a59e8f; animation: none; }
.live.is-error { background: rgba(232, 176, 74, .18); color: #8a5a12; }
.live.is-error i { background: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.tag { font: 500 .75rem/1 var(--f-mono); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

.meter-main { position: relative; padding: 26px 0 30px; border-bottom: 1px dashed var(--line); }
.meter-kicker { font: 500 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--berry); margin-bottom: 10px; }
.meter-big { font: 800 clamp(3.4rem, 10vw, 7rem)/1 var(--f-display); margin: 0; color: var(--pine); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.meter-sub { margin: 12px 0 0; color: var(--muted); font-family: var(--f-mono); font-size: .95rem; }
.meter-lock { margin: 14px 0 0; display: inline-block; font: 600 .85rem/1.3 var(--f-mono); color: var(--pine); background: rgba(20, 64, 43, .08); padding: 8px 12px; border-radius: 10px; }
.meter-lock[hidden] { display: none; }
.meter-pop { position: absolute; right: 0; top: 20px; font: 700 1.2rem/1 var(--f-display); color: var(--berry);
  background: #fff3f5; border: 1px solid rgba(179, 18, 46, .25); padding: 8px 14px; border-radius: 999px; animation: pop 2.6s ease forwards; }
@keyframes pop { 0% { opacity: 0; transform: translateY(20px) scale(.7); } 15% { opacity: 1; transform: translateY(0) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }

.meter-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.tile { background: var(--snow); border-radius: 16px; padding: 16px 18px; }
.tile > span { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tile b { font: 700 1.35rem/1.3 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }

.trail-title { font: 600 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.trail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trail li { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); }
.trail-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem/1 var(--f-mono); background: var(--pine); color: var(--gold-2); }
.trail li b { display: block; font-weight: 600; }
.trail li small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.trail-v { font: 600 .95rem/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trail-link { font-size: .85rem; font-weight: 600; color: var(--berry); text-decoration: none; white-space: nowrap; }
.trail-link:hover { text-decoration: underline; }
.trail-link.off { color: #b8b1a3; pointer-events: none; }

.market { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 22px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.market[hidden] { display: none; }
.market div { background: #fff; padding: 14px 16px; }
.market span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.market b { font: 600 1.05rem/1.3 var(--f-mono); font-variant-numeric: tabular-nums; }
.market .up { color: #137a43; } .market .down { color: var(--berry); }
.meter-foot { margin: 18px 0 0; font: 400 .8rem/1.4 var(--f-mono); color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { background: var(--berry); color: var(--snow); overflow: hidden; padding: 18px 0; border-block: 3px solid var(--gold); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font: 600 1.35rem/1 var(--f-display); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--gold-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- shared section bits ---------- */
.num { font: 500 .85rem/1 var(--f-mono); color: var(--berry); letter-spacing: .1em; margin: 0 0 14px; }
.section-head { margin-bottom: 44px; }
.section-head.light .num { color: var(--gold-2); }

/* ---------- story ---------- */
.story { padding: 120px 0; }
.story-grid { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.story-grid > div { max-width: 760px; }
.story h2 { margin-bottom: 26px; }
.story .big { font: 500 clamp(1.4rem, 2.6vw, 1.85rem)/1.35 var(--f-display); color: var(--pine); }
.story .aside { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 14px; }

/* ---------- how ---------- */
.how { padding: 110px 0; background: linear-gradient(180deg, var(--pine) 0%, #0f3322 100%); color: var(--snow); }
.how .num { color: var(--gold-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: var(--radius); background: rgba(251, 246, 236, .06); border: 1px solid rgba(251, 246, 236, .14); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 22px; right: 22px; font: 500 .8rem/1 var(--f-mono); color: rgba(251, 246, 236, .45); }
.step-icon { font-size: 2rem; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--gold-2); }
.step p { margin: 0; color: rgba(251, 246, 236, .82); }

/* ---------- tree ---------- */
.tree-sec { padding: 110px 0; background: radial-gradient(800px 500px at 70% 50%, rgba(232, 176, 74, .14), transparent 70%), var(--night); color: var(--snow); }
.tree-sec .num { color: var(--gold-2); }
.tree-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; }
.tree-copy h2 { margin-bottom: 20px; }
.tree-copy p { color: rgba(251, 246, 236, .85); font-size: 1.1rem; }
.tree-copy b { color: var(--gold-2); }
.tree-stats { display: flex; gap: 14px; margin: 28px 0 18px; }
.tree-stats div { padding: 16px 20px; border-radius: 16px; background: rgba(251, 246, 236, .06); border: 1px solid rgba(251, 246, 236, .14); min-width: 140px; }
.tree-stats b { display: block; font: 700 2rem/1 var(--f-mono); color: var(--snow); }
.tree-stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(251, 246, 236, .6); }
.tree-hint { font: 400 .85rem/1.4 var(--f-mono) !important; color: rgba(251, 246, 236, .55) !important; }
.tree-art { max-width: 460px; justify-self: center; width: 100%; }
.tree-svg { width: 100%; height: auto; overflow: visible; }
.garland { animation: garland 3s linear infinite; }
@keyframes garland { to { stroke-dashoffset: -36; } }
.orn { fill: #2d4a3b; stroke: rgba(0, 0, 0, .25); stroke-width: 1; transition: fill .6s, filter .6s; }
.orn.on { stroke: rgba(255, 255, 255, .5); animation: shimmer 2.4s ease-in-out infinite; }
.orn.on.c0 { fill: #e23a55; filter: drop-shadow(0 0 6px #ff6b81); }
.orn.on.c1 { fill: #f3c867; filter: drop-shadow(0 0 6px #ffe39a); }
.orn.on.c2 { fill: #63c7f2; filter: drop-shadow(0 0 6px #9fe1ff); }
.orn.on.c3 { fill: #f5f1e6; filter: drop-shadow(0 0 6px #ffffff); }
@keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
.orn.just-lit { animation: lit .9s ease-out; }
@keyframes lit { 0% { transform: scale(.4); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
.orn { transform-box: fill-box; transform-origin: center; }
.tree-star path { fill: #6b6656; stroke: rgba(0, 0, 0, .3); stroke-width: 1.5; transition: fill .8s; }
.tree-star .star-halo { opacity: 0; transition: opacity .8s; }
.tree-star.on path { fill: var(--gold-2); }
.tree-star.on .star-halo { opacity: 1; animation: halo 2.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.15); opacity: 1; } }

/* ---------- token ---------- */
.token { padding: 120px 0; background: var(--snow); }
.token-intro { font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.4 var(--f-display); max-width: 800px; color: var(--pine); }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0; }
.token-grid div { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.token-grid dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.token-grid dd { margin: 6px 0 0; font: 700 1.2rem/1.3 var(--f-display); }
.ca-box { background: var(--night); color: var(--snow); border-radius: 26px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.ca-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 176, 74, .35), transparent 70%); }
.ca-label { font: 500 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-2); }
.ca-value { display: block; font: 700 clamp(1.1rem, 3vw, 2rem)/1.3 var(--f-mono); word-break: break-all; margin: 8px 0 24px; position: relative; z-index: 1; }
.ca-value.is-address { font-size: clamp(.85rem, 2vw, 1.3rem); }
.ca-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ca-box .btn-ghost-dark { border-color: rgba(251, 246, 236, .55); color: var(--snow); }
.ca-box .btn-ghost-dark:hover { background: rgba(251, 246, 236, .1); }
.ca-warn { margin: 22px 0 0; font-size: .9rem; color: rgba(251, 246, 236, .7); position: relative; z-index: 1; }

/* ---------- roadmap ---------- */
.roadmap { padding: 120px 0; color: var(--snow);
  background: radial-gradient(900px 500px at 20% 0%, rgba(232, 176, 74, .18), transparent 60%), linear-gradient(180deg, var(--berry) 0%, var(--berry-deep) 100%); }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.road li { padding: 28px 24px; border-radius: var(--radius); background: rgba(0, 0, 0, .16); border: 1px solid rgba(251, 246, 236, .18); }
.roman { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--berry-deep); font: 800 1.1rem/1 var(--f-display); margin-bottom: 18px; }
.road h3 { font-size: 1.5rem; margin-bottom: 10px; }
.road p { margin: 0; color: rgba(251, 246, 236, .85); }
.road-close { font: italic 500 clamp(1.3rem, 2.6vw, 1.8rem)/1.3 var(--f-display); margin: 50px 0 26px; }
.road-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- fine print ---------- */
.fine { padding: 80px 0; background: var(--snow-2); }
.fine-title { font-size: 1.6rem; margin-bottom: 18px; }
.sources { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.sources a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--pine); }
.sources a:hover { border-color: var(--pine); }
.disclaimer { font-size: .88rem; color: var(--muted); max-width: 900px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(251, 246, 236, .75); padding: 26px 0; font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer a { text-decoration: none; color: var(--gold-2); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding: 110px 0 120px; }
  .hero-grid, .tree-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; order: -1; }
  .steps, .road, .token-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand span { font-size: 1.1rem; }
  .countdown-units div { min-width: 0; flex: 1; padding: 10px 6px; }
  .countdown-units { width: 100%; }
  .countdown-units b { font-size: 1.6rem; }
  .meter-tiles { grid-template-columns: 1fr; }
  .market { grid-template-columns: repeat(2, 1fr); }
  .trail li { grid-template-columns: 32px 1fr; }
  .trail-v { grid-column: 2; }
  .trail-link { grid-column: 2; }
  .steps, .road, .token-grid { grid-template-columns: 1fr; }
  .tree-stats div { min-width: 0; flex: 1; }
  .story, .how, .tree-sec, .token, .roadmap { padding: 80px 0; }
}

/* Devices that ask for reduced motion (for example Windows with "Animation effects"
   off) get a calmer page, not a frozen one: no coin flips, no slide-in, a slower
   banner. The snow is slowed down in main.js. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coin-face { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .js .reveal { transform: none; transition: opacity .6s ease; }
  .orn.just-lit { animation: none; }
}
