/* All colours come from tokens.css (generated from src/tokens.js). No literals here. */
:root {
  --ink: var(--c-ink);
  --muted: color-mix(in srgb, var(--c-ink) 78%, var(--c-bg));
  --faint: color-mix(in srgb, var(--c-ink) 55%, var(--c-bg));
  --line: color-mix(in srgb, var(--c-ink) 17%, transparent);
  --line-soft: color-mix(in srgb, var(--c-ink) 9%, transparent);
  --glass: color-mix(in srgb, var(--c-raised) 92%, transparent);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shell: min(1320px, calc(100% - 112px));
  --top-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ol { list-style: none; margin: 0; padding: 0; }
.shell { width: var(--shell); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--c-bg); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--c-purple), var(--c-accent)); pointer-events: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; min-height: 44px; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-sm { font-size: 15px; letter-spacing: -.02em; }
.brand-sm .brand-logo { width: 24px; height: 24px; }
.nav { display: flex; gap: 10px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 0 6px; min-height: 44px; font-size: 12px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--ink); }
.socials { display: flex; align-items: center; gap: 4px; margin-left: 0; flex-shrink: 0; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); border: 1px solid var(--line-soft); transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
a.social:hover { background: color-mix(in srgb, var(--c-ink) 10%, transparent); border-color: var(--line); transform: translateY(-1px); }
.social.is-inert { opacity: .38; cursor: not-allowed; }

/* contract address bar */
.ca-bar { border-top: 1px solid var(--line-soft); background: color-mix(in srgb, var(--c-raised) 70%, transparent); }
.ca-wrap { display: flex; justify-content: center; padding: 8px 0; }
.ca { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; width: 100%; min-height: 56px; padding: 8px 18px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--c-purple) 18%, var(--c-surface)); text-align: center; position: relative; overflow: hidden; transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
button.ca:hover { border-color: color-mix(in srgb, var(--c-ink) 45%, transparent); background: color-mix(in srgb, var(--c-purple) 30%, var(--c-surface)); }
button.ca:active { transform: scale(.995); }
.ca-tag { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .12em; padding: 4px 9px; border-radius: 6px; background: var(--ink); color: var(--c-bg); }
.ca-value { font-family: var(--font-mono); font-weight: 600; font-size: clamp(13px, 2.1vw, 22px); letter-spacing: -.01em; overflow-wrap: anywhere; word-break: break-all; line-height: 1.35; }
.ca-action { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); min-width: 64px; justify-content: center; }
.ca-action svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ca.is-copied { border-color: var(--c-accent); }
.ca.is-copied .ca-action { color: var(--c-accent); }
.ca.is-inert { cursor: default; opacity: .9; }
.ca.is-inert .ca-value { font-family: var(--font-body); font-weight: 500; font-size: clamp(13px, 1.8vw, 16px); color: var(--muted); }

/* hero */
.hero.shell { position: relative; isolation: isolate; width: min(1500px, calc(100% - 28px)); padding: 0 clamp(22px, 3vw, 48px) 28px; margin-top: 14px; }
.hero-surface { position: absolute; inset: 0; z-index: -1; border-radius: 22px; overflow: hidden; pointer-events: none; background: var(--c-raised); }
.hero-surface canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-surface::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--c-bg) 25%, transparent), color-mix(in srgb, var(--c-bg) 40%, transparent) 54%, color-mix(in srgb, var(--c-bg) 82%, transparent)), radial-gradient(ellipse 48% 40% at 50% 33%, color-mix(in srgb, var(--c-bg) 76%, transparent), transparent 88%); }
.hero-copy { text-align: center; max-width: 950px; margin: 0 auto; padding: 64px 0 0; }
.status-pill, .state-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 7px 14px; border-radius: 50px; border: 1px solid var(--line); background: var(--glass); margin-bottom: 22px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 35%, transparent); animation: dot-pulse 2.4s ease-in-out infinite; flex-shrink: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 4.6vw, 66px); letter-spacing: -.065em; line-height: 1.06; margin: 0 auto 18px; text-wrap: balance; }
.hero-desc { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--c-bg); border-color: var(--ink); }
.btn-ghost { background: var(--glass); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--c-ink) 50%, transparent); }

.stage { position: relative; margin-top: 44px; aspect-ratio: 3 / 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--c-raised); isolation: isolate; }
.mesh { position: absolute; inset: -12%; z-index: 0; filter: blur(40px); }
.blob { position: absolute; border-radius: 50%; will-change: transform; animation: mesh-drift 22s ease-in-out infinite alternate; }
.b1 { width: 55%; height: 90%; left: 0; top: -10%; background: radial-gradient(circle, color-mix(in srgb, var(--c-purple) 85%, transparent), transparent 70%); }
.b2 { width: 45%; height: 80%; right: 5%; top: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--c-purple) 60%, var(--c-ink)), transparent 70%); opacity: .5; animation-duration: 28s; animation-delay: -6s; }
.b3 { width: 35%; height: 60%; left: 35%; bottom: -15%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 38%, transparent), transparent 70%); opacity: .45; animation-duration: 34s; animation-delay: -12s; }
.b4 { width: 40%; height: 70%; left: 50%; top: -20%; background: radial-gradient(circle, color-mix(in srgb, var(--c-purple) 70%, transparent), transparent 70%); animation-duration: 26s; animation-delay: -3s; }
.stage-art { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; z-index: 1; mix-blend-mode: normal; }
.float { position: absolute; z-index: 2; width: 9%; opacity: .5; will-change: transform; animation: bob 9s ease-in-out infinite; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c-purple) 70%, transparent)); pointer-events: none; }
.f1 { left: 40%; top: 12%; width: 6%; opacity: .55; }
.f2 { left: 46%; bottom: 8%; width: 11%; opacity: .22; filter: blur(2px); animation-duration: 12s; animation-delay: -4s; }
.f3 { left: 33%; bottom: 20%; width: 4%; opacity: .4; animation-duration: 7s; animation-delay: -2s; }
.stage-vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 60%, color-mix(in srgb, var(--c-bg) 55%, transparent)); }

/* ticker */
.ticker { margin-top: 44px; border-block: 1px solid var(--line); overflow: hidden; background: color-mix(in srgb, var(--c-raised) 50%, transparent); position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--c-bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--c-bg), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-size: 13px; white-space: nowrap; border-right: 1px solid var(--line-soft); }
.tick b { font-family: var(--font-display); font-weight: 700; }
.tick .up { color: var(--c-accent); }
.tick .dn { color: var(--c-down); }
.tick-skel { width: 150px; height: 18px; margin: 14px 26px; }

/* tiles & logos */
.tile { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--c-purple) 55%, var(--c-raised)); font-family: var(--font-display); font-weight: 800; font-size: 13px; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.is-brand { background: var(--c-raised); border: 1px solid var(--line); }
.tile.is-brand img { object-fit: contain; padding: 5px; }
.tick .tile { width: 22px; height: 22px; font-size: 10px; }

/* board */
.board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 56px; padding-top: 88px; align-items: start; }
.board-intro { position: sticky; top: 160px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .08em; margin-bottom: 16px; color: var(--muted); }
.eyebrow-idx { color: var(--faint); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; }
.board-intro h2, .craft-head h2, .story h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.board-intro h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 16px; }
.board-desc { color: var(--muted); max-width: 420px; line-height: 1.75; font-size: 14px; }
.source-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 14px; font-size: 13px; color: var(--muted); transition: color .2s; }
.source-link:hover { color: var(--ink); }
.source-link svg { width: 14px; height: 14px; }

.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--glass); padding: 22px; position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c-purple) 32%, transparent), transparent 62%); border-radius: inherit; }
.spot:hover::before { opacity: 1; }
.panel > *, article.spot > * { position: relative; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-title { display: flex; align-items: center; gap: 12px; }
.panel-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-raised); border: 1px solid var(--line); }
.panel-title h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.panel-title span { font-size: 12px; color: var(--faint); }
.state-pill { margin: 0; padding: 6px 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.state-pill[data-state="syncing"] .live-dot { background: var(--faint); animation-duration: 1s; }
.state-pill[data-state="offline"] .live-dot { background: var(--c-down); animation: none; }

.cols, .row { display: grid; grid-template-columns: 34px minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 12px; align-items: center; }
.cols { padding: 0 14px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line-soft); }
.num { text-align: right; }
.rows { display: grid; gap: 2px; margin-top: 6px; }
.row { position: relative; min-height: 60px; padding: 8px 14px; border-radius: 12px; border-left: 2px solid transparent; font-size: 13px; transition: background .3s var(--ease); overflow: hidden; }
a.row:hover { background: color-mix(in srgb, var(--c-ink) 6%, transparent); }
.row::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c-purple) 40%, transparent), transparent 70%); }
.row:hover::before { opacity: 1; }
.row > * { position: relative; min-width: 0; }
.rank { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who-text { min-width: 0; }
.who-text b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-text small { display: block; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell .val { display: inline-block; border-radius: 4px; }
.cell { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; border-radius: 4px; }
.cell .lbl { display: none; }
.cell.up { color: var(--c-accent); }
.cell.dn { color: var(--c-down); }
.cell.dash { color: var(--faint); }
.flash-up { animation: flash-up .8s ease-out; }
.flash-down { animation: flash-down .8s ease-out; }

.row.own { border-left: 2px solid var(--color-accent); background: color-mix(in srgb, var(--c-accent) 6%, transparent); animation: ownPulse 2.4s ease-in-out infinite; }
.row.own .rank { color: var(--c-accent); font-weight: 700; }
.row.placeholder { cursor: default; }
.row.placeholder .cell { color: var(--faint); }

/* skeleton + reveal of data */
.skel { position: relative; overflow: hidden; border-radius: 6px; background: color-mix(in srgb, var(--c-ink) 8%, transparent); color: transparent !important; }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-ink) 12%, transparent), transparent); animation: shimmer 1.5s ease-in-out infinite; }
.tile.skel { border-radius: 50%; }
.row.is-in { animation: row-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
.panel-note { margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: 12px; color: var(--c-down); border: 1px solid color-mix(in srgb, var(--c-down) 35%, transparent); }

/* strip */
.strip { display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--line); padding: 24px 0; gap: 24px; margin-top: 88px; }
.strip-heading { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.metric { display: flex; align-items: baseline; gap: 11px; }
.metric strong { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric span { font-size: 10px; color: var(--faint); line-height: 1.5; max-width: 80px; }

/* craft */
.craft { padding-top: 44px; padding-bottom: 48px; }
.craft-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.craft-head h2 { font-size: 19px; letter-spacing: -.5px; }
.craft-head span { font-size: 11px; color: var(--faint); }
.craft-grid { display: grid; grid-template-columns: 1.1fr 1.15fr 1fr; gap: 38px; }
.craft-grid article { position: relative; border-radius: 12px; }
.craft-grid article:not(:first-child) { border-left: 1px solid var(--line); padding-left: 35px; border-radius: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sec-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 11px; }
.sec-tag { font-size: 10px; letter-spacing: .1em; color: var(--faint); }
.lead { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; max-width: 340px; }
.steps { display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { font-size: 11px; color: var(--c-accent); font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps p { display: grid; gap: 2px; }
.steps strong { font-weight: 600; font-size: 13px; }
.steps small { font-size: 12px; color: var(--faint); line-height: 1.6; }

/* story */
.story { display: flex; align-items: center; gap: 40px; border-top: 1px solid var(--line); padding-block: 62px; position: relative; }
.story-symbol { width: 94px; height: 94px; flex-shrink: 0; color: var(--muted); transform: rotate(-18deg); }
.story-symbol svg { width: 100%; height: 100%; }
.story h2 { font-size: 26px; line-height: 1.3; letter-spacing: -1px; margin-bottom: 18px; }
.story p { font-size: 12px; line-height: 1.9; color: var(--muted); max-width: 550px; margin-bottom: 10px; }
.story-copy > span { font-size: 10px; color: var(--faint); }
.story-side { margin-left: auto; font-family: Georgia, serif; font-style: italic; color: var(--faint); font-size: 17px; transform: rotate(-7deg); white-space: nowrap; }

.footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 26px; gap: 20px; font-size: 10px; color: var(--faint); }
.footer p { font-size: 10px; }

/* reveal (JS adds .js to <html>; spring sets inline transform/opacity) */
.js [data-reveal] { opacity: 0; will-change: transform, opacity; }
.js [data-reveal].is-revealed { will-change: auto; }

@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 35%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-accent) 0%, transparent); } }
@keyframes ownPulse { 0%, 100% { box-shadow: inset 0 0 0 0 color-mix(in srgb, var(--c-accent) 0%, transparent), 0 0 0 0 color-mix(in srgb, var(--c-accent) 45%, transparent); } 50% { box-shadow: inset 0 0 30px 0 color-mix(in srgb, var(--c-accent) 14%, transparent), 0 0 0 5px color-mix(in srgb, var(--c-accent) 0%, transparent); } }
@keyframes mesh-drift { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(8%, 6%, 0) scale(1.18); } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -10px; rotate: 4deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes row-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes flash-up { 0% { background: color-mix(in srgb, var(--c-accent) 38%, transparent); } 100% { background: transparent; } }
@keyframes flash-down { 0% { background: color-mix(in srgb, var(--c-down) 38%, transparent); } 100% { background: transparent; } }

@media (max-width: 1100px) {
  :root { --shell: calc(100% - 72px); }
  .craft-grid { gap: 25px; }
  .craft-grid article:not(:first-child) { padding-left: 25px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .socials { margin-left: auto; }
  .top-row { min-height: 56px; }
  .board { grid-template-columns: 1fr; gap: 28px; padding-top: 64px; }
  .board-intro { position: static; }
  .craft-grid { grid-template-columns: 1fr; gap: 27px; }
  .craft-grid article:not(:first-child) { border-left: 0; padding: 25px 0 0; border-top: 1px solid var(--line); }
  .story-side { display: none; }
  .strip { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 48px); }
  html { scroll-padding-top: 130px; }
  .stage { aspect-ratio: 4 / 3; }
  .stage-art { object-position: 78% 50%; }
  .float { display: none; }
  .panel { padding: 14px; border-radius: 12px; }
  .cols { display: none; }
  .row { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "rank who change" "rank price vol" "rank liq liq"; row-gap: 6px; padding: 12px 10px; min-height: 0; }
  .row > .rank { grid-area: rank; align-self: start; padding-top: 10px; }
  .row > .who { grid-area: who; }
  .row > [data-f="chg"] { grid-area: change; }
  .row > [data-f="price"] { grid-area: price; text-align: left; }
  .row > [data-f="vol"] { grid-area: vol; }
  .row > [data-f="liq"] { grid-area: liq; text-align: left; }
  .cell { font-size: 12px; }
  .cell .lbl { display: inline; color: var(--faint); margin-right: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
  .strip { gap: 20px; padding: 22px 0; }
  .metric { flex: 1 1 28%; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
  .metric span { max-width: none; }
  .strip-heading { width: 100%; justify-content: center; }
  .story { padding-block: 35px; align-items: flex-start; gap: 20px; }
  .story-symbol { width: 44px; height: 44px; margin-top: 4px; }
  .story h2 { font-size: 23px; }
  .footer { flex-wrap: wrap; gap: 12px; }
  .ticker::before, .ticker::after { width: 36px; }
}
@media (max-width: 560px) {
  :root { --shell: calc(100% - 40px); }
  .hero-copy { padding-top: 40px; }
  .hero-desc { font-size: 14px; }
  .brand { font-size: 18px; }
  .brand-logo { width: 30px; height: 30px; }
  .ca { padding: 8px 12px; gap: 8px; }
  .ca-action { min-width: 44px; }
  .craft-head { flex-direction: column; gap: 4px; }
}
@media (max-width: 400px) {
  :root { --shell: calc(100% - 30px); }
  .story h2 { font-size: 21px; }
  .metric strong { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker { overflow-x: auto; }
  .ticker-track { width: auto; }
  .skel::after { display: none; }
  .row.own { animation: none; }
}

/* keep the mint pulse running after the entrance animation */
.row.own.is-in { animation: row-in .55s var(--ease) both, ownPulse 2.4s ease-in-out .6s infinite; animation-delay: 0s, .6s; }
@media (prefers-reduced-motion: reduce) { .row.own, .row.own.is-in { animation: none !important; } }

@media (max-width: 560px) {
  .ca { justify-content: space-between; row-gap: 4px; }
  .ca-value { order: 3; flex-basis: 100%; text-wrap: balance; }
}
