/* ==========================================================================
   all/in cat — underground poker room
   ========================================================================== */

:root {
  --ink: #0e0504;
  --mahogany-950: #130605;
  --mahogany-900: #1c0a08;
  --mahogany-800: #2a0f0c;
  --mahogany-700: #3b1510;
  --wood: #3a1a0f;
  --wood-light: #7a4a22;
  --burgundy: #4d1117;
  --burgundy-600: #6e1a21;

  --felt-900: #062618;
  --felt-800: #0b3a24;
  --felt-700: #0f4d30;
  --felt-600: #17653f;

  --gold: #d8a445;
  --gold-soft: #f0c877;
  --amber: #ffb85c;
  --cream: #f5e8cc;
  --cream-200: #eadbb8;
  --cream-400: #c9b58c;
  --red: #c5322b;
  --red-700: #8e1f1b;
  --red-900: #5a1310;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-caps: "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 68px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--mahogany-950);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* film grain over the whole room */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { overflow-x: clip; }

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

.container {
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.slash {
  color: var(--red);
  font-style: normal;
  margin-inline: .02em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.suit { font-size: 1.05em; letter-spacing: 0; color: var(--cream-200); }
.suit--red { color: var(--red); }

/* ---------- Chips (shared) ---------- */

.c-red   { --c: var(--red);      --s: var(--cream); --e: var(--red-900); }
.c-black { --c: #1b1412;         --s: var(--cream); --e: #000; }
.c-gold  { --c: var(--gold);     --s: #fff4d8;      --e: #7a5518; }
.c-green { --c: var(--felt-600); --s: var(--cream); --e: var(--felt-900); }
.c-cream { --c: var(--cream);    --s: var(--red);   --e: #9c865e; }

.chip-face,
.chipstack i,
.pchip {
  --c: var(--red);
  --s: var(--cream);
  --e: var(--red-900);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--c) 0 56%, var(--s) 57% 60%, var(--c) 61% 76%, transparent 77%),
    repeating-conic-gradient(var(--c) 0 20deg, var(--s) 20deg 30deg);
}
.chip-face.c-red, .chipstack i.c-red, .pchip.c-red       { --c: var(--red);      --s: var(--cream); --e: var(--red-900); }
.chip-face.c-black, .chipstack i.c-black, .pchip.c-black { --c: #1b1412;         --s: var(--cream); --e: #000; }
.chip-face.c-gold, .chipstack i.c-gold, .pchip.c-gold    { --c: var(--gold);     --s: #fff4d8;      --e: #7a5518; }
.chip-face.c-green, .chipstack i.c-green, .pchip.c-green { --c: var(--felt-600); --s: var(--cream); --e: var(--felt-900); }
.chip-face.c-cream, .chipstack i.c-cream, .pchip.c-cream { --c: var(--cream);    --s: var(--red);   --e: #9c865e; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--red);
  --fg: var(--cream);
  --edge: var(--red-900);
  --ring: rgba(245, 232, 204, .5);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: .1em 1.6em 0;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-caps);
  font-size: 1.3rem;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--edge), 0 12px 22px -8px rgba(0, 0, 0, .7);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1.5px dashed var(--ring);
  border-radius: inherit;
  pointer-events: none;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 55%);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--edge), 0 18px 28px -10px rgba(0, 0, 0, .75);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--edge), 0 6px 12px -6px rgba(0, 0, 0, .7);
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.btn svg { width: 1em; height: 1em; flex: none; }

.btn--chip { /* default red chip */ }
.btn--dark {
  --bg: #17100e;
  --edge: #000;
  --ring: rgba(245, 232, 204, .32);
}
.btn--dark:hover { --bg: #221816; }
.btn--felt {
  --bg: var(--felt-700);
  --edge: var(--felt-900);
  --ring: rgba(240, 200, 119, .45);
}
.btn--felt:hover { --bg: var(--felt-600); }
.btn--ghost {
  --bg: rgba(19, 6, 5, .35);
  --edge: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(245, 232, 204, .55);
  backdrop-filter: blur(4px);
}
.btn--ghost::before { display: none; }
.btn--ghost:hover {
  --bg: rgba(245, 232, 204, .1);
  box-shadow: inset 0 0 0 1.5px var(--gold-soft);
  color: var(--gold-soft);
}
.btn--ghost:active { box-shadow: inset 0 0 0 1.5px var(--gold-soft); }

.btn--sm { min-height: 42px; padding-inline: 1.15em; font-size: 1.1rem; }
.btn--icon { padding-inline: 0; width: 42px; }
.btn--icon svg { width: 17px; height: 17px; }
.btn--lg { min-height: 60px; padding-inline: 2em; font-size: 1.5rem; }

.btn--copy {
  --bg: var(--cream);
  --fg: var(--ink);
  --edge: #9c865e;
  --ring: rgba(14, 5, 4, .25);
  min-height: 46px;
  min-width: 7.2em;
  padding-inline: 1.1em;
  font-size: 1.15rem;
}
.btn.is-copied {
  --bg: var(--felt-600);
  --fg: var(--cream);
  --edge: var(--felt-900);
  --ring: rgba(245, 232, 204, .45);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(19, 6, 5, .88), rgba(19, 6, 5, .62));
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(216, 164, 69, .14);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(19, 6, 5, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
}
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px var(--mahogany-900), 0 0 0 5px rgba(216, 164, 69, .45);
  transition: transform .5s var(--ease-spring);
}
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__word .slash { color: #ec5a4f; }
.brand__word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  line-height: 1;
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--cream-200);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover {
  color: var(--gold-soft);
  background: rgba(216, 164, 69, .09);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(28px, 5vh, 64px) clamp(72px, 11vh, 120px);
  overflow: hidden;
}

.hero__room {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 70% at 68% -5%, rgba(255, 184, 92, .2), transparent 55%),
    radial-gradient(70% 60% at 10% 35%, rgba(110, 26, 33, .6), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .2) 0 2px, rgba(255, 210, 160, .025) 2px 3px, transparent 3px 132px),
    linear-gradient(180deg, #250c0a 0%, #3a1210 48%, #1b0807 100%);
}
/* wainscot rail */
.hero__wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 10px;
  background: linear-gradient(180deg, rgba(216, 164, 69, .18), rgba(58, 26, 15, .9) 40%, rgba(0, 0, 0, .5));
  opacity: .7;
}

.lamp {
  position: absolute;
  top: 0;
  left: 72%;
  width: 0;
  height: 100%;
}
.lamp__cord {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 7vh;
  background: linear-gradient(#000, #2e2016);
}
.lamp__shade {
  position: absolute;
  top: 7vh;
  left: -90px;
  width: 180px;
  height: 54px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%, rgba(0, 0, 0, .35)),
    linear-gradient(180deg, #2a8a52, #0f4d30 65%, #0a3321);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
.lamp__bulb {
  position: absolute;
  top: calc(7vh + 44px);
  left: -80px;
  width: 160px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff6d6, rgba(255, 200, 110, .75) 45%, transparent);
  animation: flicker 7s steps(1) infinite;
}
.lamp__cone {
  position: absolute;
  top: calc(7vh + 50px);
  left: -60vw;
  width: 120vw;
  height: 95vh;
  background: conic-gradient(from 152deg at 50% 0%, transparent 0deg, rgba(255, 196, 110, .16) 18deg, rgba(255, 196, 110, .2) 28deg, rgba(255, 196, 110, .16) 38deg, transparent 56deg, transparent 360deg);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  animation: lampBreath 9s ease-in-out infinite;
}

.haze {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 232, 204, .1), rgba(245, 232, 204, .04) 50%, transparent);
  transform: translate3d(0, var(--py, 0px), 0);
}
.haze--1 { width: 70vw; height: 38vh; top: 18%; left: 45%; animation: drift 28s ease-in-out infinite alternate; }
.haze--2 { width: 55vw; height: 30vh; top: 45%; left: -10%; animation: drift 34s ease-in-out -8s infinite alternate-reverse; }
.haze--3 { width: 40vw; height: 26vh; top: 6%;  left: 20%; animation: drift 40s ease-in-out -14s infinite alternate; opacity: .7; }

.felt {
  position: absolute;
  left: 50%;
  bottom: -36vh;
  width: max(150vw, 1400px);
  height: 62vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 55% at 62% 18%, rgba(255, 200, 120, .2), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 24px),
    radial-gradient(ellipse at 50% 35%, var(--felt-600), var(--felt-800) 55%, var(--felt-900));
  box-shadow:
    0 0 0 14px var(--wood),
    0 0 0 16px var(--wood-light),
    0 0 0 19px #1f0c08,
    0 -30px 90px rgba(0, 0, 0, .6),
    inset 0 30px 70px rgba(0, 0, 0, .55);
}
.felt__line {
  position: absolute;
  inset: 9% 13% auto;
  height: 60%;
  border: 2px solid rgba(240, 200, 119, .3);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas:
    "intro   art"
    "details art";
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: clamp(14px, 2.4vh, 26px);
  align-items: center;
}
.hero__intro   { grid-area: intro; align-self: end; }
.hero__details { grid-area: details; align-self: start; }
.hero__art     { grid-area: art; }

.hero__eyebrow { margin-bottom: 18px; }

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.6rem, 8.6vw, 8.4rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--cream);
  background: linear-gradient(180deg, #fff7e4 10%, #efd7a4 58%, #c99a4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(90, 40, 16, .9)) drop-shadow(0 14px 26px rgba(0, 0, 0, .55));
  padding-right: .08em;
}
.hero__title .slash {
  -webkit-text-fill-color: var(--red);
  color: var(--red);
}

.ticker {
  display: inline-flex;
  align-items: stretch;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(14, 5, 4, .6);
  box-shadow: inset 0 0 0 1px rgba(216, 164, 69, .4);
  font-family: var(--font-mono);
  font-size: 1rem;
  overflow: hidden;
}
.ticker__sym {
  padding: 9px 16px;
  color: var(--gold-soft);
  font-weight: 500;
}
.ticker__chain {
  padding: 9px 14px;
  border-left: 1px dashed rgba(216, 164, 69, .4);
  color: var(--cream-400);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.hero__headline {
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: .92;
  letter-spacing: .02em;
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.hero__headline .dot { color: var(--red); }

.hero__copy {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.35;
  color: var(--cream-200);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* CA panel */
.ca-panel {
  max-width: 470px;
  margin-top: 26px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, rgba(15, 77, 48, .85), rgba(6, 38, 24, .92));
  box-shadow:
    inset 0 0 0 1px rgba(240, 200, 119, .28),
    0 0 0 5px rgba(58, 26, 15, .9),
    0 20px 40px -12px rgba(0, 0, 0, .7);
}
.ca-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ca-panel__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-400);
}
.ca-panel__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ca-panel__value {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .4);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gold-soft);
  overflow-wrap: anywhere;
  user-select: all;
}
.ca-panel__note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: rgba(234, 219, 184, .6);
}

.prelaunch-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 92, .5);
  background: rgba(255, 184, 92, .08);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.prelaunch-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 184, 92, .7);
}
.prelaunch-tag--sm { margin-left: auto; }

/* Mascot */
.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 740px);
  transform: translate3d(0, var(--py, 0px), 0);
}
.hero__rise { position: relative; }
.hero__glow {
  position: absolute;
  inset: 4% 4% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 100, .32), rgba(255, 170, 80, .1) 60%, transparent);
}
.hero__float {
  position: relative;
  transform-origin: 50% 92%;
  animation: sway 9s ease-in-out infinite;
}
.hero__cat {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(255, 220, 170, .4));
  transform-origin: 40% 80%;
  animation: push 6s var(--ease-out) 2.2s infinite;
}

.loose-chip {
  position: absolute;
  width: 11%;
  aspect-ratio: 2.3 / 1;
  box-shadow: 0 5px 0 var(--e), 0 10px 12px rgba(0, 0, 0, .45);
  animation: chipForward 6s var(--ease-out) 2.2s infinite;
}
.loose-chip:nth-of-type(1) { left: 14%; bottom: -3%; }
.loose-chip:nth-of-type(2) { left: 46%; bottom: -6%; width: 12%; }
.loose-chip:nth-of-type(3) { left: 74%; bottom: -2%; width: 10%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: var(--cream-400);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: cue 2.4s ease-in-out infinite;
}

/* Hero entrance */
.hero__intro > *,
.hero__details > * {
  animation: rise .9s var(--ease-out) both;
}
.hero__eyebrow           { animation-delay: .1s; }
.hero__title             { animation-delay: .2s; }
.ticker                  { animation-delay: .35s; }
.hero__headline          { animation-delay: .5s; }
.hero__copy              { animation-delay: .6s; }
.hero__ctas              { animation-delay: .7s; }
.ca-panel                { animation-delay: .82s; }
.hero__rise              { animation: heroIn 1.3s var(--ease-out) .15s both; }
.lamp                    { animation: fadeIn 1.6s ease-out both; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1200px, 100% - var(--gutter) * 2);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(216, 164, 69, .35), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--cream);
}
.section-sub {
  margin-top: 16px;
  color: var(--cream-400);
  font-size: 1.02rem;
}

/* ---------- Story ---------- */

.story {
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(110, 26, 33, .45), transparent 70%),
    radial-gradient(50% 30% at 90% 70%, rgba(110, 26, 33, .25), transparent 70%),
    linear-gradient(180deg, #1b0907, #200b09 60%, #190806);
}

.streets {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.streets::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 13px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 164, 69, .12));
}

.street {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-left: 52px;
}
.street::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--red) 0 52%, var(--cream) 53% 58%, var(--red) 59% 74%, transparent 75%),
    repeating-conic-gradient(var(--red) 0 20deg, var(--cream) 20deg 30deg);
  box-shadow: 0 0 0 4px var(--mahogany-900), 0 4px 10px rgba(0, 0, 0, .5);
}

.street__step {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.street__title {
  margin-top: 8px;
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--cream);
}
.street__caption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--cream-400);
}

.street__board {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 30%, rgba(255, 200, 120, .1), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at 50% 40%, var(--felt-700), var(--felt-800) 60%, var(--felt-900));
  box-shadow:
    inset 0 0 0 1px rgba(240, 200, 119, .2),
    inset 0 24px 50px rgba(0, 0, 0, .45),
    0 0 0 7px var(--wood),
    0 0 0 8px rgba(216, 164, 69, .35),
    0 24px 44px rgba(0, 0, 0, .45);
  perspective: 900px;
}

/* Playing cards */
.pcard {
  --final: none;
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(120px, 13vw, 152px);
  aspect-ratio: 5 / 7;
  padding: 30px 12px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fcf5e3, #f0e1c0 70%, #e6d3ab);
  color: #1d100c;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 2px 0 rgba(0, 0, 0, .15),
    0 14px 24px rgba(0, 0, 0, .45);
  transform: var(--final);
}
.pcard::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(29, 16, 12, .14);
  border-radius: 8px;
  pointer-events: none;
}
.pcard__corner {
  position: absolute;
  top: 9px;
  left: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: .95;
}
.pcard__corner small { font-size: .95rem; }
.pcard__corner--br {
  top: auto;
  left: auto;
  right: 11px;
  bottom: 9px;
  transform: rotate(180deg);
}
.pcard--red .pcard__corner { color: var(--red); }

.pcard__main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.1;
}

.pcard--mucked {
  --final: rotate(-6deg);
  filter: saturate(.55) brightness(.9);
}
.stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 3px 10px 1px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-family: var(--font-caps);
  font-size: 1.15rem;
  letter-spacing: .14em;
  transform: translate(-50%, 70%) rotate(-16deg);
  opacity: .85;
  mix-blend-mode: multiply;
}

.pcard--picked {
  --final: translateY(-10px);
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 34px rgba(240, 200, 119, .45),
    0 14px 24px rgba(0, 0, 0, .45);
}
.pcard--picked::before {
  content: "1st";
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--gold) 0 60%, #fff4d8 61% 65%, var(--gold) 66% 76%, transparent 77%),
    repeating-conic-gradient(var(--gold) 0 20deg, #fff4d8 20deg 30deg);
  color: var(--ink);
  font-family: var(--font-caps);
  font-size: .95rem;
  letter-spacing: .04em;
  box-shadow: 0 3px 0 #7a5518, 0 6px 10px rgba(0, 0, 0, .4);
}

/* "inverse kevin": the corners are literally flipped */
.pcard--inverse .pcard__corner { transform: rotate(180deg); }
.pcard--inverse .pcard__corner--br { transform: none; }

.pcard--cat { gap: 8px; align-content: center; }
.pcard__art {
  display: block;
  width: 74%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px #fcf5e3, 0 0 0 6px rgba(29, 16, 12, .25), 0 6px 12px rgba(0, 0, 0, .3);
}
.pcard__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
}

.pcard--face { padding: 26px 10px; }
.pcard__portrait {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background:
    url("assets/hero.png") 52% 10% / 250% auto no-repeat,
    radial-gradient(ellipse at 50% 30%, var(--felt-600), var(--felt-800));
  box-shadow: inset 0 0 0 1px rgba(29, 16, 12, .25);
}

.street__verdict {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
}
.arrow {
  color: var(--red);
  font-style: normal;
  margin-right: .15em;
}

.plays {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plays li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}
.plays li:last-child { color: var(--gold-soft); }

.street__board--river { gap: clamp(22px, 4vw, 48px); }
.result {
  display: flex;
  align-items: center;
  gap: 18px;
}
.result figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  max-width: 11ch;
}
.result strong { color: var(--gold-soft); font-weight: 900; }

.big-chip {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(104px, 11vw, 132px);
  aspect-ratio: 1;
  box-shadow: 0 6px 0 var(--e), 0 16px 24px rgba(0, 0, 0, .5);
}
.big-chip span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--cream);
}

.showdown {
  position: relative;
  margin-top: clamp(90px, 11vw, 140px);
  text-align: center;
}
.showdown::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 184, 92, .12), transparent);
  pointer-events: none;
}
.showdown__aside {
  margin-top: 22px;
  color: var(--cream-400);
  font-family: var(--font-mono);
  font-size: .95rem;
  line-height: 1.7;
}
.showdown__line {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--cream);
}
.showdown__line em {
  font-style: italic;
  color: var(--gold-soft);
}

/* ---------- The Table ---------- */

.table-sec {
  background:
    radial-gradient(80% 55% at 50% 45%, rgba(110, 26, 33, .42), transparent 70%),
    linear-gradient(180deg, #170706, #1d0907 50%, #150605);
}

.table-stage {
  position: relative;
  width: min(1320px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.table-frame {
  position: relative;
  aspect-ratio: 2172 / 724;
  border-radius: 30px;
  overflow: hidden;
  background: var(--mahogany-900);
  box-shadow:
    0 0 0 10px var(--wood),
    0 0 0 12px var(--wood-light),
    0 0 0 15px #1f0c08,
    0 50px 90px rgba(0, 0, 0, .65);
}
.table-frame__img {
  position: absolute;
  inset: -7% 0;
  transform: translate3d(0, var(--py, 0px), 0);
}
.table-frame__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.table-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(12, 4, 3, .55));
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .55);
  pointer-events: none;
}

.chipstack {
  position: absolute;
  z-index: 3;
  width: 76px;
  height: 90px;
  transform: translate3d(0, var(--py, 0px), 0);
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .5));
  pointer-events: none;
}
.chipstack i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  box-shadow: 0 6px 0 var(--e);
  transform: translateY(calc(var(--k, 0) * -8px));
}
.chipstack i:nth-child(1) { --k: 0; }
.chipstack i:nth-child(2) { --k: 1; }
.chipstack i:nth-child(3) { --k: 2; }
.chipstack i:nth-child(4) { --k: 3; }
.chipstack i:nth-child(5) { --k: 4; }
.chipstack i:nth-child(6) { --k: 5; }
.chipstack i:nth-child(7) { --k: 6; }
.chipstack i:nth-child(8) { --k: 7; }

.chipstack--a { left: -30px; top: 8%; }
.chipstack--b { left: 5%; bottom: 20%; width: 60px; }
.chipstack--c { right: -24px; top: 20%; width: 68px; }
.chipstack--d { right: 7%; bottom: 14%; width: 58px; }

.concepts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin: -56px 0 0;
  padding: 0 clamp(12px, 5%, 64px);
  list-style: none;
}
.concept {
  position: relative;
  padding: 40px 22px 24px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 184, 92, .12), transparent 70%),
    linear-gradient(180deg, #2c100c, #1a0807);
  box-shadow:
    inset 0 0 0 1px rgba(216, 164, 69, .3),
    0 24px 40px -10px rgba(0, 0, 0, .7);
}
.concept__icon {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  box-shadow: 0 4px 0 var(--e), 0 10px 16px rgba(0, 0, 0, .5);
}
.concept__icon--button {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 4px 0 #9c865e, 0 10px 16px rgba(0, 0, 0, .5);
}
.concept__icon--button img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.concept__title {
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: .05em;
  color: var(--cream);
}
.concept__text {
  margin-top: 10px;
  color: var(--cream-400);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
}
.concept__text--ticker {
  font-family: var(--font-mono);
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 500;
}

/* ---------- ALL/IN interaction ---------- */

.allin {
  background:
    radial-gradient(60% 50% at 70% 55%, rgba(15, 77, 48, .35), transparent 70%),
    linear-gradient(180deg, #150605, #1c0907);
}
.allin__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.allin__lead {
  margin-top: 18px;
  color: var(--cream-400);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
}

.allin__play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.pot-table {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(255, 200, 120, .18), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 20px),
    radial-gradient(ellipse at 50% 45%, var(--felt-600), var(--felt-800) 60%, var(--felt-900));
  box-shadow:
    inset 0 20px 50px rgba(0, 0, 0, .5),
    0 0 0 12px var(--wood),
    0 0 0 14px var(--wood-light),
    0 0 0 16px #1f0c08,
    0 30px 60px rgba(0, 0, 0, .6);
}
.pot-table__line {
  position: absolute;
  inset: 12% 10%;
  border: 2px solid rgba(240, 200, 119, .28);
  border-radius: 50%;
}
.pot-table__label {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  color: rgba(240, 200, 119, .55);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.pot {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 84px;
  height: 30px;
  margin: -15px 0 0 -42px;
}
.pot::before {
  content: "";
  position: absolute;
  inset: -8px -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(240, 200, 119, .35);
}
.pot::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 220, 160, .7);
  opacity: 0;
}

.pchip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 6px 0 var(--e), 0 8px 6px rgba(0, 0, 0, .35);
  transform: translate(var(--jx, 0px), calc(var(--i) * -8px));
  animation: chipIn .62s var(--ease-out) both;
}

.pot__msg {
  position: absolute;
  left: 50%;
  top: 14%;
  width: max-content;
  max-width: 90%;
  color: var(--cream);
  font-family: var(--font-caps);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .45), 0 0 24px rgba(255, 184, 92, .45);
  opacity: 0;
  transform: translate(-50%, 0) scale(1.35);
  transition: opacity .25s ease, transform .35s var(--ease-spring);
  pointer-events: none;
}
.pot__msg.is-shown {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.pot-table.is-impact { animation: tableShake .42s ease-out; }
.pot-table.is-impact .pot::after { animation: impactRing .6s ease-out; }
.pot-table.is-clearing .pchip { animation: chipOut .45s ease-in forwards; }

.allin-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(160px, 19vw, 196px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 9px 0 var(--red-900), 0 26px 40px -8px rgba(0, 0, 0, .7);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.allin-btn__ring {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease-out);
}
.allin-btn__face {
  position: relative;
  display: grid;
  place-items: center;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #d9453c, var(--red) 55%, var(--red-700));
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 6px var(--red), inset 0 0 0 7px rgba(245, 232, 204, .4), inset 0 -8px 16px rgba(0, 0, 0, .25);
  font-family: var(--font-caps);
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  letter-spacing: .04em;
  line-height: 1;
  padding-top: .12em;
  white-space: nowrap;
}
.allin-btn__slash { color: var(--gold-soft); }
.allin-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 0 var(--red-900), 0 32px 46px -8px rgba(0, 0, 0, .75);
}
.allin-btn:hover .allin-btn__ring { transform: rotate(45deg); }
.allin-btn:active,
.allin-btn.is-pressed {
  transform: translateY(6px);
  box-shadow: 0 3px 0 var(--red-900), 0 12px 20px -8px rgba(0, 0, 0, .7);
}
.allin-btn:focus-visible { outline-offset: 8px; border-radius: 50%; }

/* ---------- Chart ---------- */

.chart {
  background:
    radial-gradient(70% 50% at 50% 20%, rgba(255, 184, 92, .08), transparent 70%),
    linear-gradient(180deg, #1c0907, #170706);
}
.chart-frame {
  border-radius: 22px;
  overflow: hidden;
  background: #0d0605;
  box-shadow:
    0 0 0 8px var(--wood),
    0 0 0 9px rgba(216, 164, 69, .35),
    0 36px 70px rgba(0, 0, 0, .55);
}
.chart-frame__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #2a0f0c, #1f0b09);
  border-bottom: 1px solid rgba(216, 164, 69, .2);
}
.chart-frame__dots { display: flex; gap: 6px; }
.chart-frame__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.chart-frame__dots i:nth-child(2) { background: var(--gold); }
.chart-frame__dots i:nth-child(3) { background: var(--felt-600); }
.chart-frame__url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream-400);
  font-family: var(--font-mono);
  font-size: .82rem;
}
.chart-frame__body {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at 50% 40%, var(--felt-800), var(--felt-900));
}
.chart-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(240, 200, 119, .55);
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.chart-frame__body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.chart__actions {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- Betting slip ---------- */

.slip-sec {
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(110, 26, 33, .4), transparent 70%),
    linear-gradient(180deg, #170706, #120504);
}

.slip {
  --paper: #f3e6c8;
  position: relative;
  max-width: 560px;
  margin: 14px auto;
  padding: 40px clamp(22px, 5vw, 46px) 32px;
  background:
    repeating-linear-gradient(0deg, rgba(120, 80, 40, .035) 0 1px, transparent 1px 28px),
    radial-gradient(ellipse at 30% 0%, #fbf2dc, var(--paper) 60%, #e9d8b2);
  color: #22130d;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .6), 0 4px 0 rgba(0, 0, 0, .15);
  transform: rotate(-1.2deg);
}
.slip::before,
.slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background-size: 18px 10px;
  background-repeat: repeat-x;
}
.slip::before {
  top: -10px;
  background-image: radial-gradient(circle at 50% 0, transparent 6px, #fbf2dc 6.5px);
}
.slip::after {
  bottom: -10px;
  background-image: radial-gradient(circle at 50% 100%, transparent 6px, #e9d8b2 6.5px);
}

.slip__stamp {
  position: absolute;
  top: 26px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 3px double var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.35rem;
  transform: rotate(14deg);
  opacity: .75;
  mix-blend-mode: multiply;
}

.slip__kind {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7a5a3a;
}
.slip__name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 3.3rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.slip__ticker {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--red-700);
}

.slip__rows {
  margin-top: 26px;
  border-top: 1.5px dashed rgba(34, 19, 13, .35);
}
.slip__rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1.5px dashed rgba(34, 19, 13, .2);
  font-family: var(--font-mono);
  font-size: .9rem;
}
.slip__rows dt {
  color: #7a5a3a;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .76rem;
  align-self: center;
}
.slip__rows dd { font-weight: 500; text-align: right; }

.slip__ca {
  margin-top: 24px;
  padding: 16px;
  border: 1.5px dashed rgba(34, 19, 13, .45);
  border-radius: 12px;
  background: rgba(255, 255, 255, .35);
}
.slip__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--red-700);
}
.slip__ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.slip__ca-row .btn { flex: 1 1 100%; }
.slip__ca-value {
  flex: 1 1 100%;
  min-width: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  user-select: all;
}
.btn--copy-slip {
  min-height: 48px;
  min-width: 8.4em;
  font-size: 1.15rem;
  padding-inline: 1.1em;
}

.slip__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.slip__actions .btn { padding-inline: .6em; }

.slip__fine {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #7a5a3a;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 0 52px;
  background: #0d0403;
  border-top: 1px solid rgba(216, 164, 69, .16);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.site-footer__brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.site-footer__ticker {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .9rem;
}
.site-footer__note {
  color: var(--cream-400);
  font-family: var(--font-mono);
  font-size: .78rem;
}
.site-footer__x {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .85rem;
  text-underline-offset: 4px;
  transition: color .2s;
}
.site-footer__x:hover { color: var(--gold-soft); }

/* ---------- Scroll reveals ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .street .deal {
  opacity: 0;
  transform: translate3d(0, -26px, 0) rotate(-7deg) rotateY(70deg);
}
.js .street.is-in .deal {
  animation: deal .75s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 130ms + 80ms);
}

/* ---------- Keyframes ---------- */

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translate3d(0, 50px, 0) scale(.9); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes sway {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.8deg); }
  50%      { transform: translate3d(0, -10px, 0) rotate(.8deg); }
}
/* the cat leans in and shoves the stack at the viewer */
@keyframes push {
  0%, 62%, 100% { transform: none; }
  74%           { transform: translate3d(-4px, 8px, 0) scale(1.035); }
  84%           { transform: translate3d(0, 2px, 0) scale(1.01); }
}
@keyframes chipForward {
  0%, 64%, 100% { transform: none; }
  76%           { transform: translate3d(0, 16px, 0) scale(1.14); }
  86%           { transform: translate3d(0, 10px, 0) scale(1.08); }
}
@keyframes drift {
  from { translate: -4vw 0; }
  to   { translate: 5vw -3vh; }
}
@keyframes lampBreath {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1; }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  41%      { opacity: .82; }
  42%      { opacity: 1; }
  77%      { opacity: .9; }
  78%      { opacity: 1; }
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes deal {
  to { opacity: 1; transform: var(--final, none); }
}
@keyframes chipIn {
  from {
    opacity: 0;
    transform: translate(var(--fx), var(--fy)) rotate(var(--fr));
  }
  20% { opacity: 1; }
  78% { transform: translate(var(--jx, 0px), calc(var(--i) * -8px - 10px)) rotate(0deg); }
  to  { opacity: 1; transform: translate(var(--jx, 0px), calc(var(--i) * -8px)); }
}
@keyframes chipOut {
  to { opacity: 0; transform: translate(var(--jx, 0px), calc(var(--i) * -8px - 18px)); }
}
@keyframes tableShake {
  0%, 100% { transform: none; }
  20%      { transform: translate3d(-3px, 1px, 0) rotate(-.35deg); }
  40%      { transform: translate3d(3px, -1px, 0) rotate(.3deg); }
  60%      { transform: translate3d(-2px, 0, 0) rotate(-.15deg); }
  80%      { transform: translate3d(1px, 0, 0); }
}
@keyframes impactRing {
  from { opacity: .9; transform: scale(.8); }
  to   { opacity: 0; transform: scale(1.9); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .street { grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); }
  .chipstack--a { left: -12px; }
  .chipstack--c { right: -10px; }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-block: 28px 84px;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "art"
      "details";
    text-align: center;
    row-gap: 10px;
  }
  .hero__intro,
  .hero__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: auto;
  }
  .hero__eyebrow { justify-content: center; margin-bottom: 12px; }
  .hero__art { width: min(100%, 600px); margin-block: 8px 12px; }
  .hero__ctas { justify-content: center; }
  .ca-panel { width: 100%; text-align: left; }
  .lamp { left: 50%; }
  .felt { bottom: -24vh; height: 54vh; }
  .scroll-cue { display: none; }

  .street {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .street::before { top: 4px; margin-top: 0; }

  .concepts {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    margin-top: 58px;
    padding: 0;
  }

  .allin__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .allin__copy .eyebrow { justify-content: center; }

  .chart-frame__body { aspect-ratio: auto; height: 520px; min-height: 0; }
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    row-gap: 6px;
  }
  .site-header__actions { margin-left: auto; }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(216, 164, 69, .12);
  }
  .site-nav ul { justify-content: space-around; }
  .site-nav a { padding: 13px 16px; }
  .btn--sm { min-height: 44px; }
  .btn--icon { width: 44px; }
  html { scroll-padding-top: 124px; }

  .table-frame {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }
  .table-frame__img img { object-position: 50% 50%; }
  .chipstack { display: none; }

  .haze--3 { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .brand__word { font-size: 1.2rem; }
  .brand__logo { width: 36px; height: 36px; }
  .hero__title { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ca-panel__row { flex-wrap: wrap; }
  .ca-panel__row .btn { flex: 1 1 100%; }
  .lamp__cone { opacity: .7; }

  .streets::before { left: 11px; }
  .street { padding-left: 42px; }
  .street::before { width: 24px; height: 24px; }
  .street__board { min-height: 0; justify-content: center; }
  .street__board--flop { gap: 10px; }
  .street__board--flop .pcard { width: calc((100% - 20px) / 3); min-width: 0; padding: 26px 6px; }
  .street__board--flop .pcard__main { font-size: .92rem; }
  .street__board--flop .pcard__corner { font-size: .95rem; top: 7px; left: 8px; }
  .street__board--flop .pcard__corner--br { top: auto; left: auto; right: 8px; bottom: 7px; }
  .pcard--picked::before { width: 32px; height: 32px; top: -10px; right: -8px; font-size: .8rem; }
  .result { flex-direction: column; text-align: center; gap: 12px; }
  .result figcaption { max-width: none; }

  .slip { transform: none; }
  .slip__stamp { width: 72px; height: 72px; font-size: 1.05rem; top: 20px; right: 14px; }
  .slip__ca-row { flex-wrap: wrap; }
  .slip__ca-row .btn { flex: 1 1 100%; }

  .chart-frame__body { height: 460px; }
  .chart__actions .btn { width: 100%; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .street .deal { opacity: 1; transform: var(--final, none); }
  .haze, .hero__art, .table-frame__img, .chipstack { transform: none !important; }
}
