@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/fonts/barlowc-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(/fonts/barlowc-800.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); }

:root {
  --night: #0c1538;
  --night-2: #16204a;
  --snow: #fbf6ee;
  --snow-2: #f1eadf;
  --ink: #0b0b14;
  --muted: #4a4a58;
  --pink: #e8293f;      /* red */
  --teal: #23a35a;      /* pine green */
  --teal-2: #dcf1e3;
  --yellow: #ffc93c;    /* gold */
  --lime: #8fdc3c;
  --m: clamp(16px, 2.2vw, 32px);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(3rem, 1.4rem + 6vw, 7.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 var(--step-body)/1.5 var(--text); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--pink); color: var(--ink); }
.num, .tbl td, .hp, .dial-val { font-variant-numeric: tabular-nums; }

/* ---------- bar ---------- */
.bar { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 32px; padding: 22px var(--m); color: var(--snow); }
.mark { font: 800 34px/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 500; font-size: 17px; transition: color .2s; }
.links a:hover { color: var(--yellow); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font: 700 19px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; padding: 14px 22px; border-radius: 0; transition: transform .18s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd970; }
.btn-big { font-size: 24px; padding: 18px 30px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--night); color: var(--snow); overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.pops { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.hero-copy { position: relative; z-index: 5; padding: 104px var(--m) 32px; width: min(50%, 720px); align-self: center; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
h1 { white-space: nowrap; font: 800 clamp(56px, min(7.6vw, 15svh), 160px)/0.86 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
h1 .line > span { display: block; }
.lead { margin-top: 26px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.38; }

.live { margin-top: 28px; max-width: 540px; background: var(--night-2); padding: 24px 26px 26px; }
.live-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.live-name { font: 700 26px/1 var(--display); text-transform: uppercase; }
.live-left { font-size: 17px; }
.live-left b { font: 800 40px/1 var(--display); color: var(--yellow); margin-right: 4px; }
.live-status { margin-top: 14px; font: 700 24px/1.1 var(--display); text-transform: uppercase; color: var(--yellow); }
.live-sub { margin-top: 8px; font-size: 16px; color: #c8cde6; }
.hash { color: var(--snow); }
.inside { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.k { font-size: 16px; color: #c8cde6; }
.v { margin-top: 2px; font-size: 18px; }
.v b { font: 800 44px/1 var(--display); margin-right: 6px; }
.w { font-size: 16px; color: #c8cde6; margin-top: 4px; }
.split p { font-size: 16px; white-space: nowrap; }
.split p + p { margin-top: 6px; }
.split b { font-weight: 600; margin-left: 4px; }
.dot { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.dot-y { background: var(--yellow); } .dot-p { background: var(--pink); }
.live-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ca { display: inline-flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 58px; background: transparent; color: var(--snow); border: 0; box-shadow: inset 0 0 0 2px #3a4580; cursor: pointer; font: 500 16px/1 var(--text); transition: box-shadow .2s, transform .18s var(--ease); }
.ca:hover { box-shadow: inset 0 0 0 2px var(--snow); }
.ca:active { transform: scale(.98); }
.ca em { font-style: normal; color: var(--yellow); font-weight: 600; }

.ticker { position: relative; z-index: 5; background: var(--yellow); color: var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-run { display: inline-flex; gap: 48px; padding: 14px 0; font: 700 22px/1 var(--display); text-transform: uppercase; animation: run 40s linear infinite; }
.ticker-run span b { color: #a8122a; }
@keyframes run { to { transform: translateX(-50%); } }

.pop { position: absolute; transform: translate(-50%, -50%); font: 800 34px/1 var(--display); text-transform: uppercase; color: var(--snow); white-space: nowrap; text-align: center; animation: pop 1.6s var(--ease) forwards; }
.pop.small { font-size: 22px; color: #e6f4ff; }
.pop.small small { display: none; }
.pop small { display: block; font: 500 16px/1.2 var(--text); text-transform: none; margin-top: 4px; color: #dfe3f5; }
.pop.big { font-size: 64px; color: var(--yellow); }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.08); } 30% { transform: translate(-50%, -70%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -170%); } }
.tip { position: absolute; transform: translate(-50%, -100%); background: var(--snow); color: var(--ink); padding: 10px 14px; font: 500 16px/1.3 var(--text); max-width: 240px; animation: tip 2.4s var(--ease) forwards; }
@keyframes tip { 0% { opacity: 0; } 10%, 80% { opacity: 1; } 100% { opacity: 0; } }
.banner { position: absolute; left: 72%; top: 14%; width: min(46%, 640px); transform: translateX(-50%); text-align: center; z-index: 7; pointer-events: none; animation: banner 4.6s var(--ease) forwards; }
.banner p { font: 800 clamp(3.4rem, 1rem + 6vw, 8rem)/0.86 var(--display); text-transform: uppercase; color: var(--yellow); }
.banner small { display: block; margin-top: 14px; font: 600 var(--step-lead)/1.3 var(--text); color: var(--snow); }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, 20px) scale(.9); } 10%, 82% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -20px); } }

/* ---------- how ---------- */
.how { padding: 160px var(--m) 170px; background: var(--snow); }
.head { font: 800 var(--step-head)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.stages { margin-top: 64px; display: flex; gap: 6px; height: 24vh; min-height: 180px; }
.stage-seg { flex-basis: 0; min-width: 12%; padding: 22px; }
.seg-big { font: 800 clamp(26px, 1rem + 2.2vw, 52px)/0.95 var(--display); text-transform: uppercase; }
.seg-pink { background: var(--pink); } .seg-teal { background: var(--teal); } .seg-yellow { background: var(--yellow); }
.stage-notes { display: flex; gap: 6px; margin-top: 22px; }
.stage-notes p { flex-basis: 0; min-width: 12%; max-width: none; padding-right: 28px; font-size: 18px; }

/* ---------- calc ---------- */
.calc { position: relative; min-height: 92svh; overflow: hidden; background: var(--pink); padding: 140px var(--m) 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; transition: background-color .5s var(--ease); }
.calc[data-state="teal"] { background: var(--teal); }
.calc-h { font: 800 clamp(3rem, 1rem + 4.6vw, 6.5rem)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.calc-p { margin-top: 24px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.38; }
.calc-out { margin-top: 48px; display: grid; gap: 22px; }
.calc-out dt { font-size: 17px; }
.calc-out dd { font-size: 18px; }
.calc-out dd b { font: 800 clamp(34px, 1rem + 2.4vw, 56px)/1 var(--display); margin-right: 6px; text-transform: uppercase; }
.dial { align-self: center; justify-self: end; width: 118%; margin-right: -24%; font-size: clamp(12px, 1.25vw, 22px); }
.dial-label { display: block; font: 700 3em/1 var(--display); text-transform: uppercase; }
.dial-val { display: block; font: 800 11em/0.85 var(--display); letter-spacing: -0.03em; margin: 0.08em 0 0.12em; }
.dial-range { -webkit-appearance: none; appearance: none; width: 100%; height: 2.4em; background: transparent; cursor: grab; margin: 0; }
.dial-range:active { cursor: grabbing; }
.dial-range::-webkit-slider-runnable-track { height: 1.1em; background: var(--ink); }
.dial-range::-moz-range-track { height: 1.1em; background: var(--ink); }
.dial-range::-webkit-slider-thumb { -webkit-appearance: none; width: 3.4em; height: 3.4em; margin-top: -1.15em; background: var(--yellow); border: 0.35em solid var(--ink); border-radius: 50%; transition: transform .18s var(--ease); }
.dial-range::-moz-range-thumb { width: 2.7em; height: 2.7em; background: var(--yellow); border: 0.35em solid var(--ink); border-radius: 50%; }
.dial-range:hover::-webkit-slider-thumb { transform: scale(1.06); }
.dial-scale { display: flex; justify-content: space-between; margin-top: 0.6em; font: 600 1.3em/1 var(--text); }

/* ---------- hitters ---------- */
.hitters { background: var(--night); color: var(--snow); padding: 160px var(--m) 170px; }
.hitters-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hitters-p { font-size: var(--step-lead); line-height: 1.38; max-width: 32ch; }
.tbl { width: 100%; margin-top: 64px; border-collapse: collapse; font: 600 clamp(20px, 0.8rem + 1.2vw, 30px)/1.5 var(--display); text-transform: uppercase; }
.tbl th { text-align: left; font: 500 16px/1.4 var(--text); text-transform: none; padding-bottom: 14px; color: inherit; opacity: .8; }
.tbl th:last-child, .tbl td:last-child { text-align: right; }
.tbl td { padding: 0.18em 0; }
.tbl td:first-child { width: 34%; }
.tbl tr.new td { animation: rowin 1.2s var(--ease); }
.tbl tr.me td { color: var(--yellow); }
@keyframes rowin { from { color: var(--yellow); } }
.hitters .tbl td:nth-child(2), .hitters .tbl th:nth-child(2) { width: 22%; }
.hitters .tbl td:nth-child(3), .hitters .tbl th:nth-child(3) { width: 16%; }

/* ---------- stat ---------- */
.stat { position: relative; background: var(--yellow); min-height: 92svh; padding: 140px var(--m) 110px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: 40px; }
.stat-h { grid-column: 1 / -1; font: 800 clamp(36px, 1rem + 2vw, 48px)/1 var(--display); text-transform: uppercase; }
.stat-low { align-self: end; margin-top: 24vh; }
.fig { font: 800 clamp(180px, 6rem + 18vw, 400px)/0.8 var(--display); letter-spacing: -0.04em; }
.fig sup { font-size: 0.33em; vertical-align: top; position: relative; top: 0.06em; margin-left: 0.04em; }
.stat-cap { margin-top: 28px; max-width: 36ch; font-size: 18px; }
.stat-pool { align-self: end; justify-self: end; width: 100%; max-width: 440px; background: var(--ink); color: var(--snow); padding: 28px; }
.stat-pool .note { margin-top: 18px; font-size: 16px; color: #c8cde6; }

/* ---------- broken ---------- */
.broken { background: var(--snow); padding: 160px var(--m) 170px; }
.broken .tbl td:first-child { width: 14%; }
.broken .tbl td:nth-child(2) { width: 24%; }
.tbl a { text-decoration: none; transition: color .2s; }
.tbl a:hover { color: var(--pink); }
.broken .tbl tr.new td { animation: rowin2 1.6s var(--ease); }
@keyframes rowin2 { from { color: var(--pink); } }

/* ---------- faq ---------- */
.faq-head { background: var(--teal); min-height: 40svh; display: flex; align-items: flex-end; padding: 56px var(--m); }
.faq-head h2 { font: 800 clamp(3.4rem, 1rem + 6vw, 8rem)/0.88 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 56px var(--m); background: var(--snow); }
.band-alt { background: var(--teal-2); }
.band h3 { grid-column: 1 / 6; font: 800 clamp(28px, 1rem + 1vw, 36px)/1.05 var(--display); text-transform: uppercase; }
.band p { grid-column: 7 / 13; font-size: 18px; max-width: 58ch; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--night); color: var(--snow); }
.foot-pic { background: var(--pink); overflow: hidden; position: relative; }
.foot-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transform: scale(1.18); transform-origin: 30% 40%; transition: transform 6s linear; }
.foot-pic:hover img { transform: scale(1.24); }
.foot-menu { padding: 80px var(--m) 32px clamp(24px, 6vw, 96px); display: flex; flex-direction: column; }
.foot-mark { font: 800 34px/1 var(--display); text-transform: uppercase; }
.foot-menu nav { margin-top: 56px; display: flex; flex-direction: column; gap: 14px; }
.foot-menu nav a { font: 800 clamp(34px, 1rem + 2.6vw, 64px)/1 var(--display); text-transform: uppercase; text-decoration: none; transition: transform .25s var(--ease), color .25s; width: fit-content; }
.foot-menu nav:hover a { color: #6c76a8; }
.foot-menu nav a:hover { color: var(--yellow); transform: translateX(12px); }
.foot-blocks { margin-top: 64px; display: flex; gap: 48px; font-size: 16px; color: #c8cde6; }
.foot-blocks a { color: var(--snow); }
.legal { margin-top: auto; padding-top: 48px; font-size: 14px; color: #a2a9cc; max-width: 60ch; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; background: var(--ink); color: var(--snow); padding: 14px 20px; font-weight: 500; z-index: 50; transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* entrances */
[data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise] { opacity: 1; transform: none; }
h1 .line > span { transform: translateY(105%); transition: transform .9s var(--ease); }
h1.in .line > span { transform: none; }
h1.in .line:nth-child(2) > span { transition-delay: .11s; }
.hero .lead, .hero .live { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s; }
.hero.ready .lead, .hero.ready .live { opacity: 1; transform: none; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .hero-copy { width: min(58%, 640px); }
  .links { display: none; }
  .bar .btn { margin-left: auto; }
}
@media (max-width: 820px) {
  .banner { left: 50%; top: 8%; width: 92%; }
  .hero { grid-template-rows: auto auto; }
  .stage { inset: 0 0 auto 0; height: 54svh; }
  .hero-copy { width: 100%; padding-top: calc(54svh - 24px); align-self: start; }
  h1 { font-size: 19vw; }
  .head { font-size: 14vw; }
  .lead { margin-top: 22px; font-size: 18px; }
  .live { margin-top: 26px; padding: 20px; }
  .v b { font-size: 36px; }
  .inside { grid-template-columns: 1fr; }
  .how, .hitters, .broken { padding: 110px var(--m) 120px; }
  .stages { flex-direction: column; height: auto; }
  .stage-seg { min-height: 90px; }
  .stage-seg:nth-child(1) { min-height: 90px; } .stage-seg:nth-child(2) { min-height: 200px; } .stage-seg:nth-child(3) { min-height: 140px; }
  .stage-notes { display: none; }
  .stage-seg::after { content: attr(data-note); }
  .calc { grid-template-columns: minmax(0, 1fr); min-height: 86svh; padding: 110px var(--m) 80px; }
  .dial { width: 130vw; margin: 40px 0 0 0; justify-self: start; font-size: 12px; }
  .hitters-head { grid-template-columns: 1fr; }
  .tbl { font-size: 20px; }
  .hitters .tbl th:nth-child(3), .hitters .tbl td:nth-child(3) { display: none; }
  .broken .tbl th:nth-child(4), .broken .tbl td:nth-child(4), .broken .tbl th:nth-child(5), .broken .tbl td:nth-child(5) { display: none; }
  .stat { grid-template-columns: 1fr; min-height: 80svh; padding: 110px var(--m) 80px; }
  .stat-low { margin-top: 12vh; }
  .fig { font-size: 46vw; }
  .stat-pool { justify-self: start; margin-top: 40px; }
  .band { grid-template-columns: 1fr; padding: 32px 20px; }
  .band h3, .band p { grid-column: 1; }
  .band p { margin-top: 12px; font-size: 17px; }
  .faq-head { min-height: 30svh; }
  .foot { grid-template-columns: 1fr; }
  .foot-pic { height: 50svh; }
  .foot-menu nav a { font-size: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-rise], h1 .line > span, .hero .lead, .hero .live { opacity: 1 !important; transform: none !important; }
}
