:root {
  --bg: #f4eee2;        /* cream */
  --bg2: #ebe3d3;
  --card: #faf6ee;
  --line: #d9cdb7;
  --text: #1b1915;      /* warm ink */
  --dim: #6e665a;
  --acc: #d98a0b;       /* amber */
  --acc-ink: #b06d00;
  --on-acc: #1b1915;
  --stop: #c2432c;
  --go: #2e8b4f;
  --wine: #6b1a1f;      /* oxblood: the splash of colour */
  --wine-ink: #8a2328;
  --on-wine: #f4e6d6;
  --sans: 'Geist', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --rail: 88px;
  --vt: 56px;
  --stage: 38vw;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #15130f;
  --bg2: #1d1a15;
  --card: #1a1813;
  --line: #34302a;
  --text: #f2ebdd;
  --dim: #9c9384;
  --acc: #f0a52a;
  --acc-ink: #f0a52a;
  --on-acc: #15130f;
  --stop: #e2583f;
  --go: #4cc47a;
  --wine: #4e1216;
  --wine-ink: #d0575c;
  --on-wine: #f2e2d2;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
html, body { margin: 0; }
body {
  min-width: 1200px;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--acc-ink); }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.lime { color: var(--go) !important; }
::selection { background: var(--acc); color: var(--on-acc); }

#trail { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 50; pointer-events: none; }

/* ---------- NAV 1: left rail ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 30;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 28px 0; border-right: 1px solid var(--line); background: var(--bg);
}
.logo { color: var(--text); }
.logo svg { width: 36px; height: 36px; transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.logo:hover svg { transform: rotate(120deg); }
.rail-links { display: flex; flex-direction: column; gap: 4px; }
.rail-links a {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; color: var(--dim); padding: 14px 8px; position: relative;
  transition: color .15s;
}
.rail-links a:hover { color: var(--text); }
.rail-links a.on { color: var(--text); }
.rail-links a.on::after { content: ''; position: absolute; right: -1px; top: 14px; bottom: 14px; width: 2px; background: var(--acc); }

.theme { width: 30px; height: 54px; border-radius: 15px; border: 1px solid var(--line); background: var(--bg2); position: relative; cursor: pointer; }
.theme span { position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
[data-theme="dark"] .theme span { transform: translateY(24px); background: var(--acc); }

/* ---------- NAV 2: top-right ---------- */
.corner { position: fixed; top: 22px; right: calc(var(--vt) + 22px); z-index: 30; display: flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  color: var(--text); font: 500 13px var(--mono); text-decoration: none; cursor: pointer;
  transition: border-color .15s;
}
.chip:hover { border-color: var(--text); }
.chip b { color: var(--acc-ink); font-weight: 600; }
.chip.x { width: 42px; padding: 0; justify-content: center; }
.chip.x svg { width: 16px; height: 16px; }
.chip.go-btn { background: var(--text); border-color: var(--text); color: var(--bg); font: 600 14px var(--sans); }
.chip.go-btn:hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }

/* ---------- NAV 3: bottom pill ---------- */
.pill {
  position: fixed; bottom: 24px; left: calc(var(--rail) + 56px); z-index: 30;
  display: flex; align-items: center; gap: 2px; padding: 5px 18px 5px 5px;
  border-radius: 10px; background: var(--text); color: var(--bg);
}
.pill a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; font: 500 13px var(--mono); text-decoration: none; opacity: .55; transition: background .2s, opacity .2s, color .2s; }
.pill a:hover { opacity: 1; }
.pill a.on { background: var(--acc); color: var(--on-acc); opacity: 1; }
.pill-name { font: 600 14px var(--sans); margin-left: 12px; min-width: 70px; }
.pill-bar { position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; overflow: hidden; }
.pill-bar b { display: block; height: 100%; width: 0; background: var(--acc); }

/* ---------- right edge ticker ---------- */
.vticker { position: fixed; right: 0; top: 0; bottom: 0; width: var(--vt); z-index: 20; overflow: hidden; background: var(--text); color: var(--bg); }
.vt-track { writing-mode: vertical-rl; display: flex; white-space: nowrap; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding-left: 18px; will-change: transform; }
.vt-track span { padding: 20px 0; }
.vt-track span::after { content: '—'; padding-top: 20px; opacity: .35; }
.vt-track em { font: 600 13px var(--mono); font-style: normal; color: var(--acc); letter-spacing: .02em; }

/* ---------- coin stage ---------- */
.stage {
  position: fixed; top: 0; bottom: 0; right: var(--vt); width: var(--stage); z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; border-left: 1px solid var(--line); background: var(--bg2);
}
.ts-slot { width: 100%; max-width: 600px; position: relative; }
.readout { display: flex; align-items: center; gap: 12px; font: 500 15px var(--mono); letter-spacing: .2em; color: var(--stop); margin-top: 4px; }
.readout .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--stop); }
body.go .readout { color: var(--go); }
body.go .readout .lamp { background: var(--go); }
.pops { position: absolute; left: 0; right: 0; top: 30%; height: 0; }
.pop { position: absolute; left: 40%; font: 600 22px var(--mono); color: var(--acc-ink); animation: pop 1.3s ease-out forwards; }
@keyframes pop { 0% { opacity: 0; transform: translateY(16px); } 20% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-70px); } }

/* ---------- main column ---------- */
main { margin-left: var(--rail); margin-right: calc(var(--vt) + var(--stage)); padding: 0 64px 140px; position: relative; z-index: 10; }
/* every section is one full screen */
.sec { position: relative; min-height: 100vh; padding: 110px 0 120px; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; }
.sec > .title, .sec > .title-row { margin-top: 0; }
.more-btn { margin-top: 20px; align-self: flex-start; }
.kicker { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin: 0 0 24px; }
.big { font: 500 26px/1.35 var(--sans); letter-spacing: -.02em; margin: 30px 0 0; }
.title { font-size: clamp(52px, 5vw, 88px); line-height: 1; margin-bottom: 48px; }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.note { font: 500 20px var(--sans); margin: 40px 0 0; color: var(--dim); letter-spacing: -.01em; }
.sub { font-size: 26px; margin: 48px 0 14px; }

/* hero */
.hero { padding-top: 60px; }
.mega { font-size: clamp(72px, 7vw, 132px); line-height: .92; letter-spacing: -.055em; font-weight: 600; }
.mega span { display: block; }
.mega .out { color: var(--wine-ink); }
.mega .acc { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acc-ink); letter-spacing: -.03em; }
.cta { display: flex; gap: 12px; margin-top: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px;
  border-radius: 8px; border: 1px solid var(--text); background: transparent; color: var(--text);
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.hot { background: var(--text); color: var(--bg); }
.btn.hot:hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.btn.sm { height: 48px; padding: 0 20px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: wait; }

.stats { display: flex; gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; padding: 24px 48px 0 0; margin-right: 48px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { font: 600 48px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: color .6s; }
.stats b.bump { color: var(--acc-ink); transition: color 0s; }
.stats span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin-top: 10px; }

/* marquee bands */
.band { position: absolute; left: -64px; right: -64px; bottom: 0; overflow: hidden; background: var(--text); color: var(--bg); padding: 22px 0; }
.band.alt { background: var(--acc); color: var(--on-acc); }
.band-track { display: flex; gap: 32px; width: max-content; animation: marq 34s linear infinite; font: 500 30px var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.band.alt .band-track { animation-direction: reverse; }
.band i { font-style: normal; opacity: .4; }
@keyframes marq { to { transform: translateX(-50%); } }

/* how */
.how { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.how li { display: flex; align-items: center; gap: 36px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.how li b { font: 500 14px var(--mono); color: var(--dim); width: 40px; }
.how h3 { font-size: clamp(34px, 3vw, 52px); line-height: 1; transition: color .2s; }
.how code { display: inline-block; margin-top: 12px; font: 500 15px var(--mono); color: var(--dim); }
.how code.pink { color: var(--stop); }
.how code.lime { color: var(--go); }
.how li:hover h3 { color: var(--acc-ink); }

/* live */
.live { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono); letter-spacing: .16em; color: var(--dim); margin-top: 18px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--go); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.tolls { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.toll {
  display: grid; grid-template-columns: 1.6fr 1fr .7fr 1fr .6fr; align-items: center; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid var(--line); font: 400 16px var(--mono);
}
.toll .n { font: 600 21px var(--sans); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toll .p { font: 600 20px var(--mono); color: var(--acc-ink); }
.toll .t { text-align: right; color: var(--dim); }
.toll .w, .toll .w a { color: var(--dim); text-decoration: none; }
.toll.new { animation: rowin 1.6s ease; }
@keyframes rowin { 0% { background: color-mix(in srgb, var(--acc) 22%, transparent); } 100% { background: transparent; } }
.tag { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--text); width: max-content; }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--text); }
.tag.robinhood::before { background: var(--acc); }
.empty { font: 500 20px var(--sans); color: var(--dim); }
.empty a { color: var(--acc-ink); }

/* booths */
.search, input {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: 400 17px var(--mono); outline: none; transition: border-color .15s;
}
input:focus { border-color: var(--acc); }
input::placeholder { color: var(--dim); opacity: .7; }
.search { margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bcard {
  padding: 28px; background: var(--bg); cursor: pointer;
  display: flex; flex-direction: column; gap: 16px; transition: background .2s;
}
.bcard:hover { background: var(--card); }
.bcard.sel { background: var(--card); box-shadow: inset 3px 0 0 var(--acc); }
.bcard h3 { font-size: 24px; line-height: 1.15; }
.bcard .bp { font: 600 40px/1 var(--sans); letter-spacing: -.04em; color: var(--acc-ink); }
.bcard .bp small { font: 400 14px var(--mono); color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.bcard .bm { display: flex; justify-content: space-between; align-items: center; font: 400 14px var(--mono); color: var(--dim); }

.seg { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--card); }
.seg label { display: block; }
.seg input { display: none; }
.seg span { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 6px; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--dim); cursor: pointer; }
.seg input:checked + span { background: var(--text); color: var(--bg); }
.big-seg { height: 56px; }
.big-seg label { flex: 1; }
.big-seg span { height: 48px; justify-content: center; font: 600 15px var(--sans); letter-spacing: 0; }

.try { margin-top: 40px; border: 1px solid var(--text); border-radius: 12px; padding: 32px; background: var(--card); }
.try-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.try-head .kicker { margin-bottom: 10px; color: var(--acc-ink); }
.try-head h3 { font-size: 34px; }
.try-head p { margin: 8px 0 0; font-size: 15px; }
.try-head .with-btn { width: 320px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow li { border: 1px solid var(--line); border-radius: 8px; padding: 16px; opacity: .35; transition: opacity .3s, border-color .3s; background: var(--bg); }
.flow li.on { opacity: 1; border-color: var(--go); }
.flow li[data-s="2"].on { border-color: var(--stop); }
.flow b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.flow pre { margin: 10px 0 0; font: 400 13px/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; max-height: 200px; overflow: auto; }

/* form */
.form { display: grid; gap: 24px; margin-top: 48px; }
.form label, .field { display: grid; gap: 10px; }
.form label > span, .field > span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.price:focus-within { border-color: var(--acc); }
.price b { padding-left: 18px; font: 600 22px var(--mono); color: var(--acc-ink); }
.price input { border: 0; background: none; font-size: 22px; }
.with-btn { display: flex; gap: 8px; }
.with-btn.grow { flex: 1; }
.more summary { cursor: pointer; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--acc-ink); list-style: none; }
.more[open] summary { margin-bottom: 22px; }
.more > label, .more > .row { margin-bottom: 18px; }
.check { display: flex !important; align-items: center; gap: 12px !important; font: 400 16px var(--sans); }
.check input { width: 18px; height: 18px; accent-color: var(--acc); }
.form-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.form-foot b { color: var(--acc-ink); font-weight: 600; }
.err { margin: 0; color: var(--stop); font: 500 16px var(--mono); }

.result { margin-top: 40px; border: 1px solid var(--text); border-radius: 12px; padding: 32px; background: var(--card); display: grid; gap: 16px; }
.result .kicker { margin: 0; color: var(--go) !important; }
.url-box { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 8px; background: var(--text); color: var(--bg); }
.url-box code { flex: 1; font: 500 16px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-box .btn { border-color: var(--bg); color: var(--bg); }
.url-box .btn:hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.tabs { display: flex; gap: 4px; }
.tabs button { border: 1px solid transparent; background: none; color: var(--dim); font: 500 13px var(--mono); padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.tabs button.on { color: var(--text); border-color: var(--line); background: var(--bg); }
pre.code { margin: 0; padding: 20px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font: 400 14px/1.7 var(--mono); overflow: auto; white-space: pre; }

/* dashboard */
.connect { display: flex; gap: 10px; align-items: center; }

/* footer */
.foot { display: flex; flex-direction: column; gap: 16px; padding: 120px 0 40px; border-top: 1px solid var(--text); margin-top: 40px; }
.foot-big { font: 400 italic clamp(72px, 8vw, 150px)/1 var(--serif); letter-spacing: -.03em; color: var(--text); }
.foot .dim { font-size: 14px; }
.coin { display: flex; gap: 18px; font: 500 14px var(--mono); }
.coin a { color: var(--acc-ink); text-decoration: none; }
.up { color: var(--go); } .down { color: var(--stop); }

.toast { position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 8px; background: var(--text); color: var(--bg); font: 500 14px var(--mono); transition: all .25s; z-index: 60; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- the coin ---------- */
.ts-slot { display: flex; justify-content: center; }
.coin-wrap { --size: min(26vw, 440px); width: var(--size); height: calc(var(--size) * 1.25); position: relative; perspective: 1400px; display: flex; align-items: center; justify-content: center; }
.coin { position: relative; width: var(--size); height: var(--size); transform-style: preserve-3d; will-change: transform; }
.coin .edge { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #7a4d10, #b98128 45%, #e0ad55 55%, #8c5a14); }
.coin .face { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; overflow: hidden; }
.coin .face svg { display: block; width: 100%; height: 100%; }
.coin .sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 47%, rgba(255,255,255,0) 60%);
  background-size: 260% 100%; background-position: var(--sx, 50%) 0; mix-blend-mode: soft-light;
}
.coin-shadow { position: absolute; bottom: 2%; left: 18%; right: 18%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40,25,5,.45), transparent); }
.c-ring { font: 500 15px var(--mono); letter-spacing: .28em; fill: #7a4c0e; }
.c-big { font: 600 112px var(--sans); letter-spacing: -.05em; fill: #8a5810; }
.c-big.hi { fill: #ffe4a6; fill-opacity: .8; }
.c-small { font: 500 13px var(--mono); letter-spacing: .3em; fill: #7a4c0e; }

/* ---------- reveals + intro ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.how li.reveal:nth-child(2) { transition-delay: .08s; }
.how li.reveal:nth-child(3) { transition-delay: .16s; }
.how li.reveal:nth-child(4) { transition-delay: .24s; }
body.intro .reveal { opacity: 0 !important; transform: translateY(36px) !important; }
body.intro .rail, body.intro .corner, body.intro .pill, body.intro .vticker { opacity: 0; }
.rail, .corner, .pill, .vticker { transition: opacity .8s ease; }
body.intro .stage { right: 50%; transform: translateX(50%); border-color: transparent; background: transparent; }
.stage { transition: right .7s cubic-bezier(.7,0,.2,1), transform .7s cubic-bezier(.7,0,.2,1), background .8s, border-color .8s; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(5) { transition-delay: .4s; }

/* oxblood: one splash — the top scrolling band, plus two words */
.band:not(.alt) { background: var(--wine); color: var(--on-wine); }
.band:not(.alt) i { color: var(--acc); opacity: 1; }

/* booth cards: fuller detail */
.bcard { gap: 12px; }
.bh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); white-space: nowrap; }
.bd { margin: 0; font-size: 15px; color: var(--dim); line-height: 1.4; }
.brow { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 6px; }
.spark { width: 90px; height: 28px; fill: var(--acc); opacity: .75; }
.bcard .bm { gap: 14px; justify-content: flex-start; font-size: 13px; flex-wrap: wrap; }
.bcard .bm .t { margin-left: auto; }

.mega.long { font-size: clamp(56px, 5.4vw, 104px); line-height: .98; }

/* oxblood accents, spread lightly through the page */
.kicker, .how li b, .cat, .more summary, .try-head .kicker { color: var(--wine-ink); }
.title::after { content: ''; display: block; width: 72px; height: 4px; background: var(--wine); margin-top: 22px; }
.title-row .title::after { margin-top: 22px; }
.rail-links a.on { color: var(--wine-ink); }
.rail-links a.on::after { background: var(--wine); }
.how li:hover h3 { color: var(--wine-ink); }
.how li:hover b { color: var(--acc-ink); }
.btn.hot:hover, .chip.go-btn:hover { background: var(--wine); border-color: var(--wine); color: var(--on-wine); }
.btn:hover { box-shadow: inset 0 -3px 0 var(--wine); }
input:focus, .price:focus-within { border-color: var(--wine); }
.bcard:hover { box-shadow: inset 3px 0 0 var(--wine); }
.bcard.sel { box-shadow: inset 4px 0 0 var(--wine); }
.tag::before { background: var(--wine); }
.tag.robinhood::before { background: var(--acc); }
.try, .result { border-color: var(--wine); box-shadow: inset 4px 0 0 var(--wine); }
.tabs button.on { border-color: var(--wine); }
.stats div:first-child b { color: var(--wine-ink); }
.foot { border-top-color: var(--wine); }
.foot-big { color: var(--wine-ink); }
.pill a.on { background: var(--wine); color: var(--on-wine); }
.pill-bar b { background: var(--wine); }
.stats div:first-child b.bump { color: var(--acc-ink); }

/* section titles: red lead words (italic word stays amber), second band red too */
.title { color: var(--wine-ink); }
.band.alt { background: var(--wine); color: var(--on-wine); }
.band.alt i { color: var(--acc); opacity: 1; }

/* snap firmly to each full-screen section */
html { scroll-snap-type: y mandatory; }
.sec { scroll-snap-align: start; scroll-snap-stop: always; }
.foot { scroll-snap-align: end; }

/* live tolls: bigger, fuller table */
#live { justify-content: flex-start; padding-top: 120px; padding-bottom: 150px; }
#live .title { margin-bottom: 36px; }
#live .toll { padding: 22px 6px; grid-template-columns: 1.7fr 1fr .7fr 1.1fr .5fr; }
#live .toll .n { font-size: 26px; }
#live .toll .p { font-size: 24px; }
#live .toll .w { font-size: 17px; }
#live .toll .t { font-size: 17px; }
#live .tag { font-size: 15px; }

/* shinier coin: brighter edge, strong moving sheen, specular hotspot, periodic glint */
.coin .edge { background: linear-gradient(90deg, #7d500f, #e7b450 40%, #fff1c2 50%, #e2a948 60%, #8a5a14); }
.coin .sheen {
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.0) 38%, rgba(255,255,255,.75) 47%, rgba(255,255,255,0) 58%);
  background-size: 260% 100%; background-position: var(--sx, 50%) 0; mix-blend-mode: screen; opacity: .55;
}
.coin .face::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.7) 0%, rgba(255,255,255,.18) 18%, transparent 42%);
  mix-blend-mode: screen;
}
.coin .face::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%);
  background-size: 300% 100%; background-position: 150% 0; mix-blend-mode: screen;
  animation: glint 6s ease-in-out infinite;
}
@keyframes glint { 0%, 70% { background-position: 150% 0; } 85%, 100% { background-position: -50% 0; } }
.coin .face svg { filter: contrast(1.08) saturate(1.1); }

/* bands: seamless loop + arrive with the rest of the page */
.band-track { gap: 0; animation-duration: 96s; }
.band-track > * { margin-right: 32px; }
.band { transition: opacity .8s ease .5s, transform .8s ease .5s; }
body.intro .band { opacity: 0; transform: translateY(24px); }

/* live tolls: sit lower, keep the longer feed */
#live { justify-content: center; padding-top: 140px; padding-bottom: 150px; }

/* top-left: CA + X */
.topleft { position: fixed; top: 22px; left: calc(var(--rail) + 64px); z-index: 30; display: flex; gap: 8px; transition: opacity .8s ease; }
.topleft .chip { background: var(--bg); }
.topleft .chip.ca code { color: var(--text); }
.topleft .chip.ca b { color: var(--wine-ink); }
body.intro .topleft { opacity: 0; }

/* hero coin field */
#field {
  position: absolute; top: 0; bottom: 0; left: -64px; width: calc(100% + 128px); height: 100%;
  z-index: 0; pointer-events: none; transition: opacity 1s ease .3s;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
}
body.intro #field { opacity: 0; }
.hero > *:not(#field):not(.band) { position: relative; z-index: 1; }
.hero .band { z-index: 2; }

/* no scroll snapping */
html { scroll-snap-type: none; }
.sec, .foot { scroll-snap-align: none; scroll-snap-stop: normal; }
