:root {
  --felt: #0E4A33;
  --felt-deep: #08311F;
  --felt-hi: #13603F;
  --ivory: #F3EBDA;
  --paper: #EFE5D1;
  --ink: #12160F;
  --muted: rgba(243, 235, 218, .62);
  --muted-ink: rgba(18, 22, 15, .6);
  --brass: #D9A441;
  --brass-hi: #F6D98B;
  --brass-lo: #9C6B1E;
  --clay: #E0795A;
  --rule: rgba(243, 235, 218, .16);
  --rule-ink: rgba(18, 22, 15, .14);
  --r: 14px;
  --display: 'Fraunces', Georgia, serif;
  --text: 'Manrope', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .1, 1);
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.defs { position: absolute; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
em { font-style: italic; }
.k { color: var(--muted); }

/* felt texture */
.felt {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--felt-hi) 0%, var(--felt) 45%, var(--felt-deep) 100%);
  color: var(--ivory);
  isolation: isolate;
}
.felt::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.felt::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(100% 70% at 50% 40%, transparent 55%, rgba(0, 0, 0, .35));
}

/* intro */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--felt-deep); color: var(--brass);
}
.intro__mark { width: 64px; height: 64px; }
.intro__word { font: 400 italic 22px var(--display); color: var(--ivory); opacity: .8; }
.no-js .intro, .reduced .intro { display: none; }

/* nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 18px;
  background: rgba(8, 49, 31, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(217, 164, 65, .28); border-radius: 999px;
  color: var(--ivory);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; color: var(--brass); }
.brand__word { font: 600 19px/1 var(--display); letter-spacing: -.01em; font-variation-settings: 'SOFT' 100, 'opsz' 40; }
.brand__word em { color: var(--brass-hi); font-weight: 500; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav__links a { opacity: .78; transition: opacity .3s; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__status {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(243, 235, 218, .08); font: 500 12px var(--mono); letter-spacing: .04em; white-space: nowrap;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(217, 164, 65, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(217, 164, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 164, 65, 0); } }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav.open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* type */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-hi); }
.eyebrow--ink { color: var(--brass-lo); }
.eyebrow__rule { width: 36px; height: 1px; background: currentColor; }
.h2 {
  font: 600 clamp(38px, 5.6vw, 84px)/.98 var(--display); letter-spacing: -.025em;
  font-variation-settings: 'SOFT' 60, 'opsz' 120;
  max-width: 16ch;
}
.h2 em { font-weight: 400; color: var(--brass-lo); }
.felt .h2 em { color: var(--brass-hi); }
.h2--sm { font-size: clamp(30px, 3.6vw, 52px); }
.lede { max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--muted-ink); }
.lede--ivory { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .4s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass {
  color: var(--ink);
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, #B9812A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .18), 0 10px 30px -10px rgba(217, 164, 65, .6);
}
.btn--brass::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--brass:hover::before { transform: translateX(120%); }
.btn--ghost { color: var(--ivory); border: 1px solid rgba(243, 235, 218, .3); }
.btn--ghost:hover { border-color: var(--brass); }
.btn > * { position: relative; }

/* HERO */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 72px);
  padding: clamp(120px, 14vh, 160px) var(--pad) 40px;
  overflow: hidden;
}
.hero__copy { align-self: center; display: grid; gap: 28px; }
.hero__title {
  font: 700 clamp(60px, 9.4vw, 156px)/.86 var(--display);
  letter-spacing: -.045em;
  font-variation-settings: 'SOFT' 100, 'opsz' 144, 'WONK' 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--lead { font-size: .5em; letter-spacing: -.03em; padding-bottom: .22em; color: var(--muted); }
.hero__title em {
  font-weight: 400; font-variation-settings: 'SOFT' 100, 'opsz' 144, 'WONK' 1;
  background: linear-gradient(100deg, var(--brass-hi) 10%, var(--brass) 45%, #FFE8AE 60%, var(--brass) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
  padding-right: .08em;
}
@keyframes sheen { to { background-position: -200% 0; } }
.hero__lede { max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* stage */
.stage { position: relative; align-self: center; display: grid; justify-items: center; gap: 22px; padding-top: 24px; perspective: 1400px; }
.stage__spot { position: absolute; inset: -10% -20% 10%; background: radial-gradient(50% 45% at 50% 42%, rgba(246, 217, 139, .22), transparent 70%); pointer-events: none; }
.stage__label { display: flex; gap: 14px; color: var(--brass-hi); z-index: 1; }
.stage__label [data-stage-ago] { color: var(--muted); }
.slab { width: min(330px, 62vw); aspect-ratio: 5 / 8; position: relative; transform-style: preserve-3d; z-index: 1; }
.slab__inner {
  position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out;
  border-radius: 18px;
}
.slab__face {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .3));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 40px 60px -20px rgba(0, 0, 0, .65), 0 18px 24px -12px rgba(0, 0, 0, .5);
  padding: 10px;
}
.slab__face img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; opacity: 0; transition: opacity .5s; background: rgba(0, 0, 0, .18); }
.slab__face img.on { opacity: 1; }
.slab__foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 120, 200, .35) 35%, rgba(120, 220, 255, .35) 45%, rgba(255, 240, 150, .35) 55%, transparent 70%);
  background-size: 250% 250%; background-position: var(--fx, 50%) var(--fy, 50%);
}
.slab__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; font: italic 400 20px var(--display); color: var(--muted); }
.slab.has-img .slab__empty { display: none; }
.stage__plate { width: min(420px, 100%); z-index: 1; text-align: center; display: grid; gap: 12px; }
.stage__name { font: 500 17px/1.3 var(--display); min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage__nums { display: grid; grid-template-columns: 1fr 1fr 1.2fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stage__nums > div { padding: 12px 8px; display: grid; gap: 2px; }
.stage__nums > div + div { border-left: 1px solid var(--rule); }
.stage__nums b { font: 500 22px var(--mono); letter-spacing: -.02em; }
.verdict { place-content: center; font: 600 15px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.verdict.hit { color: var(--ink); background: linear-gradient(180deg, var(--brass-hi), var(--brass)); }
.verdict.brick { color: var(--clay); }

/* pot */
.pot { grid-column: 1 / -1; margin-top: 48px; padding: 22px 0 6px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 220px 1fr minmax(0, 340px); gap: 28px; align-items: center; }
.pot__head { display: grid; gap: 4px; }
.pot__val { font: 500 italic 26px var(--display); color: var(--ivory); }
.pot__rail { position: relative; height: 10px; border-radius: 99px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); margin: 22px 0 26px; }
.pot__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); }
.pot__chip { position: absolute; left: var(--x); top: 50%; width: 0; height: 0; font: 500 11px var(--mono); color: var(--muted); }
.pot__chip i { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed rgba(246, 217, 139, .55); background: var(--felt-deep); }
.pot__chip b { position: absolute; top: 18px; left: 0; transform: translateX(-50%); font-weight: 500; white-space: nowrap; }
.pot__chip:last-child b { transform: translateX(-100%); left: 11px; }
.pot__chip:first-of-type b { }
.pot__note { font-size: 14px; color: var(--muted); }

/* ticker */
.ticker { background: var(--ink); color: var(--ivory); overflow: hidden; border-block: 1px solid #000; }
.ticker__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker__item { display: flex; align-items: center; gap: 12px; padding: 16px 28px; white-space: nowrap; font: 500 13px var(--mono); letter-spacing: .02em; border-right: 1px solid rgba(243, 235, 218, .12); }
.ticker__item img { width: 22px; height: 30px; object-fit: cover; border-radius: 3px; }
.ticker__item .n { max-width: 30ch; overflow: hidden; text-overflow: ellipsis; color: rgba(243, 235, 218, .85); }
.up { color: var(--brass-hi); }
.down { color: var(--clay); }

/* TABLE (how it works) */
.table { padding: clamp(96px, 12vw, 180px) var(--pad); max-width: 1440px; margin: 0 auto; }
.table__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 24px; align-items: end; }
.table__intro .eyebrow { grid-column: 1 / -1; }
.table__intro .h2 { grid-column: 1 / span 7; }
.table__intro .lede { grid-column: 9 / span 4; }
.table__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); margin-top: clamp(56px, 7vw, 100px); }
.table__diagram { position: sticky; top: 110px; align-self: start; padding: 28px; border-radius: 28px; background: var(--felt); box-shadow: inset 0 0 0 10px #6B4A22, inset 0 0 0 12px #3F2A12, 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.table__diagram::before { content: ''; position: absolute; inset: 0; opacity: .45; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.flow { position: relative; width: 100%; height: auto; display: block; }
.flow__disc { fill: rgba(0, 0, 0, .22); stroke: rgba(243, 235, 218, .3); stroke-width: 1.5; }
.flow__glass { fill: rgba(243, 235, 218, .1); stroke: rgba(243, 235, 218, .3); }
.flow__knob { fill: url(#brass); }
.chips ellipse { fill: url(#brass); stroke: #7A5317; stroke-width: 1; }
.flow__t { fill: rgba(243, 235, 218, .7); font: 500 11px var(--mono); letter-spacing: .14em; text-anchor: middle; }
.flow__big { fill: var(--ivory); font: 700 15px var(--display); text-anchor: middle; letter-spacing: .04em; }
.flow__slab { fill: rgba(243, 235, 218, .1); stroke: rgba(243, 235, 218, .45); stroke-width: 1.5; }
.flow__slab--brick { stroke-dasharray: 4 4; }
.flow__line { stroke: rgba(243, 235, 218, .45); }
.flow__wire { fill: none; stroke: rgba(243, 235, 218, .25); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.flow__wire--back { stroke: rgba(224, 121, 90, .5); }
.flow__step { transition: opacity .5s, transform .6s var(--ease); opacity: .35; transform-box: fill-box; transform-origin: center; }
.flow__step.on { opacity: 1; }
.flow__step.on .flow__disc, .flow__step.on .flow__slab { stroke: var(--brass-hi); }
.flow__wire.on { stroke: var(--brass-hi); animation: dash 1.2s linear infinite; }
.flow__wire--back.on { stroke: var(--clay); }
@keyframes dash { to { stroke-dashoffset: -18; } }
.steps { list-style: none; display: grid; }
.step { padding: clamp(40px, 7vh, 80px) 0; border-top: 1px solid var(--rule-ink); display: grid; grid-template-columns: 70px 1fr; gap: 6px 20px; opacity: .38; transition: opacity .6s; }
.step:last-child { border-bottom: 1px solid var(--rule-ink); }
.step.on { opacity: 1; }
.step__n { grid-row: span 2; padding-top: 10px; color: var(--brass-lo); }
.step h3 { font: 600 clamp(26px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -.02em; font-variation-settings: 'SOFT' 80; }
.step p { max-width: 48ch; color: var(--muted-ink); font-size: 17px; }

/* FLOOR */
.floor { padding: clamp(96px, 12vw, 170px) var(--pad); }
.floor__head { display: grid; gap: 22px; max-width: 1440px; margin: 0 auto; }
.floor__stats { max-width: 1440px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 26px 24px 28px; display: grid; align-content: start; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat b { font: 600 clamp(40px, 4.6vw, 68px)/1 var(--display); letter-spacing: -.03em; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.stat__s { font-size: 13px; color: var(--muted); }
.stat--best b { color: var(--brass-hi); }
.stat--best .stat__s { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.floor__list { max-width: 1440px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pull {
  position: relative; border-radius: var(--r); padding: 10px 10px 14px; background: rgba(0, 0, 0, .2);
  border: 1px solid var(--rule); display: grid; gap: 10px; transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.pull:hover { transform: translateY(-6px) rotate(-.6deg); border-color: rgba(246, 217, 139, .5); background: rgba(0, 0, 0, .3); }
.pull__img { aspect-ratio: 5 / 8; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.pull__img img { width: 100%; height: 100%; object-fit: cover; }
.pull__name { font: 500 13px/1.3 var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pull__nums { display: flex; justify-content: space-between; align-items: baseline; font: 500 13px var(--mono); }
.pull__meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.pull__meta { gap: 8px; display: flex; justify-content: space-between; font: 400 11px var(--mono); color: var(--muted); letter-spacing: .04em; }
.pull--hit { border-color: rgba(246, 217, 139, .45); }
.pull--hit::after { content: 'HIT'; position: absolute; top: 18px; right: 18px; padding: 3px 8px; border-radius: 99px; font: 600 10px var(--mono); letter-spacing: .12em; color: var(--ink); background: linear-gradient(180deg, var(--brass-hi), var(--brass)); }
.pull.enter { animation: dealIn .9s var(--ease) both; }
@keyframes dealIn { from { opacity: 0; transform: translateY(-30px) rotate(-6deg) scale(.92); } }
.floor__src { max-width: 1440px; margin: 22px auto 0; color: var(--muted); font-size: 11px; }
.empty { color: var(--muted); font-style: italic; grid-column: 1 / -1; }

/* ODDS */
.odds { padding: clamp(96px, 12vw, 170px) var(--pad); max-width: 1440px; margin: 0 auto; }
.odds__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 70px); }
.odds__head .h2 { max-width: 18ch; }
.board { border-top: 2px solid var(--ink); }
.board__row { display: grid; grid-template-columns: 1.4fr .6fr 2fr 1fr .7fr; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--rule-ink); transition: background .3s; }
.board__row:not(.board__row--head):hover { background: rgba(217, 164, 65, .08); }
.board__row--head { color: var(--muted-ink); padding-block: 14px; }
.board__m { font: 600 22px/1.1 var(--display); letter-spacing: -.01em; }
.board__m { min-width: 0; }
.board__m small { display: block; font: 400 12px var(--mono); color: var(--muted-ink); letter-spacing: .04em; margin-top: 4px; }
.board__p { font: 500 18px var(--mono); }
.bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: rgba(18, 22, 15, .08); }
.bar i { display: block; height: 100%; transform-origin: left; }
.t1 { background: #B9B09C; } .t2 { background: #4E8C6A; } .t3 { background: #C98F2E; } .t4 { background: #E0795A; }
.bar__txt { font: 400 11px var(--mono); color: var(--muted-ink); margin-top: 6px; letter-spacing: .02em; }
.hitrate { display: grid; gap: 6px; }
.hitrate b { font: 500 18px var(--mono); }
.hitrate .mini { height: 4px; border-radius: 99px; background: rgba(18, 22, 15, .1); overflow: hidden; }
.hitrate .mini i { display: block; height: 100%; background: var(--ink); }
.legend { display: flex; gap: 22px; margin-top: 18px; color: var(--muted-ink); font-size: 11px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }

/* RECORD */
.record { padding: clamp(80px, 10vw, 150px) var(--pad); }
.record__card { max-width: 1200px; margin: 0 auto; border-radius: 28px; padding: clamp(28px, 4vw, 56px); background: rgba(0, 0, 0, .18); border: 1px solid var(--rule); display: grid; gap: 40px; }
.record__head { display: grid; gap: 18px; }
.ledger__row { display: grid; grid-template-columns: .8fr 1fr 2fr 1fr 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ledger__empty { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; padding: 40px 0 10px; }
.ledger__empty svg { width: 120px; fill: none; stroke: rgba(246, 217, 139, .6); stroke-width: 1.5; stroke-dasharray: 4 5; }
.ledger__empty p { max-width: 56ch; color: var(--muted); font-size: 17px; }
.ledger__empty b { color: var(--ivory); font: 600 22px var(--display); display: block; margin-bottom: 6px; }

/* FREE ENTRY: an admission ticket */
.seat { padding: clamp(96px, 12vw, 170px) var(--pad) 0; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.seat__copy { display: grid; gap: 22px; }
.seat__facts { list-style: none; display: grid; gap: 0; margin-top: 10px; font-size: 12px; letter-spacing: .06em; color: var(--muted-ink); }
.seat__facts li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule-ink); }
.seat__facts li:last-child { border-bottom: 1px solid var(--rule-ink); }
.seat__facts span { color: var(--brass-lo); }
.ticket {
  --notch: 18px;
  position: relative; display: grid; grid-template-columns: 74px 1fr;
  background: var(--felt);
  color: var(--ivory); border-radius: 22px; isolation: isolate; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(8, 49, 31, .8), inset 0 0 0 1px rgba(246, 217, 139, .25);
  /* punched notches at the perforation */
  -webkit-mask: radial-gradient(circle var(--notch) at 74px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 74px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 74px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 74px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  transform: rotate(-1.2deg);
  transition: transform .8s var(--ease);
}
.ticket:hover, .ticket:focus-within { transform: rotate(0deg); }
.ticket::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.ticket__stub {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 34px 0;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 60%, #B9812A); color: var(--ink);
  border-right: 2px dashed rgba(18, 22, 15, .35);
  font: 600 12px var(--mono); letter-spacing: .32em; text-transform: uppercase;
}
.ticket__stub span { writing-mode: vertical-rl; transform: rotate(180deg); }
.ticket__body { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field[hidden] { display: none; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field__row:has([data-state-wrap][hidden]) { grid-template-columns: 1fr; }
.field__k { color: var(--brass-hi); font-size: 11px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(243, 235, 218, .22);
  background: rgba(0, 0, 0, .22); color: var(--ivory); font: 500 15px var(--text); outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass-hi) 50%), linear-gradient(135deg, var(--brass-hi) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(243, 235, 218, .35); }
.field input:focus, .field select:focus { border-color: var(--brass-hi); background: rgba(0, 0, 0, .3); box-shadow: 0 0 0 4px rgba(217, 164, 65, .16); }
.field input[aria-invalid="true"] { border-color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.checks { display: grid; gap: 10px; margin-top: 4px; }
.checks label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.checks input { appearance: none; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid rgba(246, 217, 139, .55); background: rgba(0, 0, 0, .2); display: grid; place-content: center; cursor: pointer; transition: background .25s, border-color .25s; }
.checks input::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); margin-top: -2px; }
.checks input:checked { background: var(--brass-hi); border-color: var(--brass-hi); }
.checks input:checked::after { transform: rotate(-45deg) scale(1); }
.checks a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }
.ticket .btn { justify-self: start; margin-top: 6px; }
.ticket .btn[disabled] { filter: saturate(.3) brightness(.85); cursor: not-allowed; }
.ticket__status { min-height: 1.5em; font-size: 14px; color: var(--muted); }
.ticket__status.ok { color: var(--brass-hi); }
.ticket__status.err { color: var(--clay); }
.ticket.done .ticket__stub { animation: stamp .9s var(--ease); }
.ticket__fields { display: grid; gap: 18px; }
.ticket__fields[hidden], .ticket__note[hidden], .ticket__human[hidden] { display: none; }
.ticket__note { display: grid; gap: 12px; padding: 6px 0 4px; }
.ticket__big { font: 400 clamp(34px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.03em; color: var(--ivory); font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.ticket__big em { color: var(--brass-hi); font-variation-settings: 'WONK' 1, 'SOFT' 100; }
.ticket__small { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
.ticket__small b { color: var(--brass-hi); font-family: var(--mono); font-weight: 400; word-break: break-all; }
.ticket__human { min-height: 65px; }
@keyframes stamp { 30% { transform: scale(1.06); filter: brightness(1.2); } }

/* RULES */
.rules { padding: clamp(96px, 12vw, 170px) var(--pad); max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 100px); }
.rules__title { font: 700 clamp(72px, 11vw, 180px)/.84 var(--display); letter-spacing: -.05em; font-variation-settings: 'SOFT' 100, 'opsz' 144; position: sticky; top: 120px; align-self: start; }
.rules__title em { font-weight: 400; color: var(--brass-lo); font-variation-settings: 'WONK' 1, 'SOFT' 100; }
.rules__list { list-style: none; display: grid; }
.rules__list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--rule-ink); }
.rules__list li span { color: var(--brass-lo); padding-top: 4px; }
.rules__list p { max-width: 58ch; color: var(--muted-ink); font-size: 17px; }
.rules__list b { color: var(--ink); font: 600 21px var(--display); display: block; margin-bottom: 4px; }

/* FOOTER */
.foot { padding: clamp(64px, 8vw, 120px) var(--pad) 36px; overflow: hidden; }
.foot__word { font: 700 clamp(56px, 12.5vw, 220px)/.85 var(--display); letter-spacing: -.05em; font-variation-settings: 'SOFT' 100, 'opsz' 144; white-space: nowrap; }
.foot__word em { font-weight: 400; color: var(--brass-hi); }
.foot__row { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.foot__row p:first-child { max-width: 60ch; }

/* reveal helpers */
.rv { opacity: 0; transform: translateY(36px); }
.reduced .rv, .no-gsap .rv { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .floor__list { grid-template-columns: repeat(4, 1fr); }
  .floor__list .pull:nth-child(n+9) { display: none; }
}
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav__links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 22px; background: rgba(8, 49, 31, .96); border-radius: 24px; border: 1px solid rgba(217, 164, 65, .28); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease); }
  .nav__links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .nav__links a:last-child { border: 0; }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__status { margin-left: auto; }
  .nav__burger { display: block; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 118px; }
  .stage { margin-top: 48px; }
  .pot { grid-template-columns: 1fr; gap: 6px; margin-top: 36px; }
  .table__intro .h2, .table__intro .lede { grid-column: 1 / -1; }
  .table__grid { grid-template-columns: 1fr; }
  .table__diagram { position: sticky; top: 74px; z-index: 2; padding: 14px; max-width: 360px; width: 100%; justify-self: center; }
  .table__diagram .flow { max-height: 30vh; }
  .step { grid-template-columns: 48px 1fr; padding: 36px 0; }
  .floor__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .stat--best { grid-column: 1 / -1; border-left: 0 !important; }
  .floor__list { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .floor__list .pull:nth-child(n+7) { display: none; }
  .board__row { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .board__row--head { display: none; }
  .board__row > :nth-child(3) { grid-column: 1 / -1; }
  .board__row > :nth-child(4) { grid-column: 1; }
  .board__row > :nth-child(5) { text-align: right; }
  .board__row > :nth-child(5)::after { content: " sell-back"; font-size: 11px; color: var(--muted-ink); }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .pot__rail { margin: 18px 12px 34px; }
  .ledger__row { display: none; }
  .ledger__empty { grid-template-columns: 1fr; gap: 18px; padding-top: 10px; }
  .rules { grid-template-columns: 1fr; }
  .seat { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 52px 1fr; --notch: 14px; transform: none; -webkit-mask: radial-gradient(circle var(--notch) at 52px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 52px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle var(--notch) at 52px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 52px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
  .ticket__stub { font-size: 10px; letter-spacing: .26em; }
  .field__row { grid-template-columns: 1fr; }
  .ticket .btn { justify-self: stretch; justify-content: center; }
  .rules__title { position: static; }
  .rules__list li { grid-template-columns: 40px 1fr; }
  .foot__row { flex-direction: column; }
}
@media (max-width: 520px) {
  .nav__status { font-size: 11px; padding: 7px 11px; }
  .hide-sm { display: none; }
  .brand__word { font-size: 17px; white-space: nowrap; }
  .hero__title { font-size: clamp(56px, 18.5vw, 90px); }
  .btn { height: 52px; padding: 0 22px; }
  .floor__list { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 14px; }
  .stage__nums b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* house ledger rows (engine data) */
.ledger__row--pull { color: var(--ivory); align-items: center; padding: 16px 0; font-size: 14px; }
.ledger__row--pull .ledger__card { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__row--pull .ledger__card b { color: var(--ivory); font-weight: 600; }
.ledger__row--pull.is-hit { background: linear-gradient(90deg, rgba(217, 164, 65, .12), transparent 60%); }
.ledger__tx a, .ledger__tx span { color: var(--brass-hi); }
@media (max-width: 900px) {
  .ledger__row--pull { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
  .ledger__row--pull .ledger__card, .ledger__row--pull .ledger__tx { grid-column: 1 / -1; }
}

/* X (@dealtcash) links */
.nav__links .nav__x { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -6px 0; border-radius: 50%; border: 1px solid rgba(217, 164, 65, .35); opacity: .9; transition: background .3s, border-color .3s, color .3s; }
.nav__links .nav__x::after { display: none; }
.nav__links .nav__x:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.nav__x svg { width: 13px; height: 13px; }
.nav__x span { display: none; }
.foot__meta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot__x { text-transform: none; letter-spacing: .02em; display: inline-flex; gap: 8px; align-items: center; color: var(--brass-hi); transition: color .3s; }
.foot__x:hover { color: var(--ivory); }
.foot__x svg { width: 12px; height: 12px; }
@media (max-width: 900px) {
  .nav__links .nav__x { width: auto; height: auto; margin: 0; border: 0; border-radius: 0; justify-content: flex-start; gap: 12px; color: var(--brass-hi); }
  .nav__links .nav__x:hover { background: none; color: var(--ivory); }
  .nav__x span { display: inline; }
  .nav__x svg { width: 15px; height: 15px; }
}
