/* ─────────────────────────────────────────────────────
   Poker Show — premium dark-luxury landing
   Type:  Cormorant Garamond (display) · Manrope (body) · JetBrains Mono (micro)
   Color: warm near-black + wine + gold + bronze
   ───────────────────────────────────────────────────── */

:root {
  /* base */
  --bg:        #0a0908;
  --bg-2:      #100d0a;
  --surface:   #14110d;
  --surface-2: #1c1815;
  --surface-3: #241e19;
  --line:      rgba(201, 163, 91, 0.14);
  --line-soft: rgba(201, 163, 91, 0.08);
  --line-strong: rgba(201, 163, 91, 0.32);

  /* foreground */
  --fg:        #f3ece0;
  --fg-2:      #d8cfbf;
  --fg-3:      #9a9080;
  --muted:     #6f675b;

  /* accents */
  --wine:      #6e1f24;
  --wine-2:    #8a2a30;
  --wine-deep: #4a1418;
  --gold:      #c9a35b;
  --gold-2:    #e0bf80;
  --bronze:    #8a6a3e;

  /* type */
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* metrics */
  --maxw:    1240px;
  --pad-x:   clamp(20px, 4.5vw, 80px);

  /* card face theming (default = dark) */
  --card-face-bg-from:  #1a160f;
  --card-face-bg-to:    #0e0b07;
  --card-face-border:   rgba(224, 191, 128, 0.30);
  --card-face-inset:    rgba(224, 191, 128, 0.17);
  --card-face-glow:     rgba(224, 191, 128, 0.13);
  --card-rank:          #faf3df;
  --card-suit-black:    #e3d8c0;
  --card-suit-red:      #9d2c32;
  --card-big-opacity:   0.82;

  /* card back theming */
  --card-back-bg-1:     var(--wine-deep);
  --card-back-bg-2:     #1a0a0c;
  --card-back-glow:     rgba(201,163,91,0.22);
  --card-back-border:   rgba(201,163,91,0.5);
  --card-back-pattern:  rgba(201,163,91,0.55);
  --card-back-stripe:   rgba(201,163,91,0.2);
  --card-back-spade:    var(--gold-2);
  --card-back-spade-shadow: rgba(201,163,91,0.55);
}

body.theme-light {
  /* warm cream — brighter and crisper for better contrast */
  --card-face-bg-from:  #f0dcae;
  --card-face-bg-to:    #d2b888;
  --card-face-border:   rgba(30, 18, 6, 0.55);
  --card-face-inset:    rgba(255, 250, 225, 0.42);
  --card-face-glow:     rgba(255, 240, 200, 0.38);
  --card-rank:          #0a0500;
  --card-suit-black:    #14100a;
  --card-suit-red:      #a52830;
  --card-big-opacity:   0.88;

  --card-back-bg-1:     #f0dcae;
  --card-back-bg-2:     #d4b682;
  --card-back-glow:     rgba(200, 150, 60, 0.18);
  --card-back-border:   rgba(40, 25, 10, 0.36);
  --card-back-pattern:  rgba(110, 30, 34, 0.42);
  --card-back-stripe:   rgba(110, 30, 34, 0.16);
  --card-back-spade:    #6e1f24;
  --card-back-spade-shadow: rgba(110, 31, 36, 0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ─── Custom scrollbar in site style ─── */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 163, 91, 0.42) rgba(10, 9, 8, 0.5);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(10, 9, 8, 0.5);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(224,191,128,0.55) 0%, rgba(138,106,62,0.5) 100%);
  border-radius: 999px;
  border: 2px solid rgba(10, 9, 8, 0.5);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--bronze) 100%);
  background-clip: padding-box;
  border: 2px solid rgba(10, 9, 8, 0.5);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
/* Slightly thinner inside textareas for visual balance */
.showdown-field textarea {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 163, 91, 0.45) transparent;
}
.showdown-field textarea::-webkit-scrollbar {
  width: 6px;
}
.showdown-field textarea::-webkit-scrollbar-track {
  background: transparent;
}
.showdown-field textarea::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(224,191,128,0.5), rgba(138,106,62,0.45));
  border: 1px solid rgba(10, 9, 8, 0.3);
  background-clip: padding-box;
  border-radius: 999px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,163,91,0.12), transparent 28%),
    radial-gradient(circle at 50% 58%, rgba(110,31,36,0.16), transparent 42%),
    #080705;
  opacity: 1;
  visibility: visible;
  transition: opacity 680ms cubic-bezier(.16,1,.3,1), visibility 680ms step-end;
  animation: loaderAutoHide 680ms cubic-bezier(.16,1,.3,1) 2.65s forwards;
}
.page-loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224,191,128,0.22), transparent 12%),
    conic-gradient(from 120deg, transparent, rgba(224,191,128,0.16), transparent 28%, transparent);
  opacity: 0.38;
  filter: blur(18px);
  animation: loaderHalo 2.8s ease-in-out infinite;
}
.page-loader-glow {
  position: absolute;
  width: min(42vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,191,128,0.34), rgba(201,163,91,0.12) 28%, transparent 68%);
  filter: blur(18px);
  animation: loaderBreath 1.8s ease-in-out infinite;
}
.page-loader-spade {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-size: clamp(76px, 11vw, 154px);
  line-height: 1;
  color: var(--gold-2);
  font-variant-emoji: text;
  -webkit-text-fill-color: var(--gold-2);
  text-shadow:
    0 0 18px rgba(224,191,128,0.62),
    0 0 60px rgba(201,163,91,0.42),
    0 18px 70px rgba(0,0,0,0.72);
  animation: loaderSpade 1.55s ease-in-out infinite;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--wine); color: var(--fg); }

/* page-wide vignette */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201,163,91,0.06), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(110,31,36,0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* subtle paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* ─────────────── NAV ─────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(10,9,8,0.92), rgba(10,9,8,0.72));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: inline-flex;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.bw-line { display: block; }
.bw-line:nth-child(2) { padding-left: 0.28em; }
.bw-line em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, var(--gold-2) 0%, var(--gold) 35%, var(--bronze) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-dot { display: none; }
.brand-table { display: none; }

/* ── Nav mini hole cards (player's pocket) ── */
.nav-hand {
  display: flex;
  align-items: center;
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
  height: 44px;
  opacity: 0;
  transform: translate(40px, -10px) scale(0.5);
  transform-origin: left center;
  transition: opacity 500ms ease 220ms,
              transform 700ms cubic-bezier(.2,.7,.3,1) 220ms;
  pointer-events: none;
}
body.scrolled .nav-hand {
  opacity: 0;
  transform: translate(40px, -10px) scale(0.5);
}
.nav-hand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 30px;
  height: 42px;
  padding: 4px 0 0;
  border: 1px solid var(--card-face-border);
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 20%, var(--card-face-glow), transparent 60%),
    linear-gradient(160deg, var(--card-face-bg-from) 0%, var(--card-face-bg-to) 100%);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.7),
              inset 0 1px 0 var(--card-face-inset);
  font-family: var(--f-display);
  line-height: 1;
}
.nav-hand-card:nth-child(1) {
  transform: rotate(-8deg);
  margin-right: -6px;
  z-index: 1;
}
.nav-hand-card:nth-child(2) {
  transform: rotate(8deg);
  z-index: 2;
}
.nh-rank {
  font-size: 13px;
  font-weight: 500;
  color: var(--card-rank);
  letter-spacing: -0.02em;
}
.nh-suit {
  font-size: 9px;
  margin-top: 2px;
  color: var(--card-suit-black);
}
.nh-suit.pc-wine { color: var(--card-suit-red); }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-family: var(--f-body);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--fg-2);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 160ms;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 220ms ease, left 220ms ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  background: rgba(201,163,91,0.04);
  transition: background 200ms, color 200ms, border-color 200ms;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  aspect-ratio: 1 / 1;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(201,163,91,0.04);
  color: var(--gold-2);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.theme-toggle:hover {
  background: rgba(201,163,91,0.12);
  border-color: var(--gold);
}
.theme-toggle .ti-light { display: none; }
body.theme-light .theme-toggle .ti-dark { display: none; }
body.theme-light .theme-toggle .ti-light { display: inline; }

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 9, 8, 0.42);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms cubic-bezier(.16,1,.3,1),
              backdrop-filter 600ms cubic-bezier(.16,1,.3,1),
              -webkit-backdrop-filter 600ms cubic-bezier(.16,1,.3,1);
}
.theme-modal.is-show {
  opacity: 1;
  pointer-events: auto;
}
.theme-modal-inner {
  position: relative;
  width: min(90vw, 640px);
  height: 120px;
  display: grid;
  place-items: center;
}
.theme-modal-msg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--gold-2);
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-align: center;
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(201, 163, 91, 0.25);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.theme-modal-msg.is-active {
  opacity: 1;
}
@media (max-width: 640px) {
  .theme-modal-msg {
    font-size: clamp(22px, 6.5vw, 30px);
    white-space: normal;
    padding: 0 20px;
  }
  .theme-modal-inner {
    height: 100px;
  }
}

/* Smooth color/background transitions when theme switches behind the modal. */
.cf-face,
.cf-back,
.nav-hand-card,
.brand-board-card,
.brand-hand-card {
  transition:
    background 700ms cubic-bezier(.16,1,.3,1),
    border-color 700ms cubic-bezier(.16,1,.3,1),
    box-shadow 700ms cubic-bezier(.16,1,.3,1);
}
.pc-rank, .pc-suit, .pc-big,
.nh-rank, .nh-suit,
.bb-rank, .bb-suit, .bh-rank, .bh-suit {
  transition: color 700ms cubic-bezier(.16,1,.3,1);
}
.cf-back-pattern {
  transition: background-image 700ms cubic-bezier(.16,1,.3,1),
              border-color 700ms cubic-bezier(.16,1,.3,1);
}
.cf-back-pattern::after {
  transition: color 700ms cubic-bezier(.16,1,.3,1),
              text-shadow 700ms cubic-bezier(.16,1,.3,1);
}

/* Cards lying on the board get a small bottom-left shadow.
   Light comes from top-right, so shadow falls toward bottom-left. */
.s-board .cf-face {
  box-shadow:
    -6px 8px 14px -4px rgba(0, 0, 0, 0.55),
    -2px 3px 6px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 var(--card-face-inset);
}
body.s-showdown.s-showdown-hands .s-hole .cf-face,
body.s-showdown .s-burn .cf-face {
  box-shadow:
    -6px 8px 14px -4px rgba(0, 0, 0, 0.55),
    -2px 3px 6px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 var(--card-face-inset);
}
/* Bot cards are rotated ~180°, so flip the shadow offsets to keep it
   pointing bottom-left in world coordinates. */
body.s-showdown.s-showdown-hands .s-bot .cf-face {
  box-shadow:
    6px -8px 14px -4px rgba(0, 0, 0, 0.55),
    2px -3px 6px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 var(--card-face-inset);
}

/* Bot speech-bubble quip — appears below the cards, rises from below.
   As if the opponent across the table is talking up at us. */
.bot-quip {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20,16,12,0.96), rgba(10,8,6,0.96));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-2);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(.2,.7,.3,1);
  z-index: 100;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.7);
}
.bot-quip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: -6px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(180deg, rgba(20,16,12,0.96), rgba(20,16,12,0.96));
  border-left: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
}
body.s-bot-card-1 .stage-bot {
  pointer-events: auto;
}
.bot-quip.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Theme switch: fly every card off-screen to the right, then redeal. */
body.theme-flush .s-card {
  --x: 140vw !important;
  --opacity: 0 !important;
}
body.theme-flush .s-card,
body.theme-flush .stage-bot {
  transition:
    transform 720ms cubic-bezier(.55,.05,.3,.95),
    opacity 540ms ease !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: #1a1410;
  border-color: var(--gold);
}
.nav-cta-arrow { transition: transform 200ms; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

/* ─────────────── BUTTONS ─────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 180ms cubic-bezier(.2,.7,.3,1), background 220ms, color 220ms, border-color 220ms, box-shadow 220ms;
}
.btn > span {
  position: relative;
  z-index: 1;
}
.btn-arrow { display: inline-block; transition: transform 220ms cubic-bezier(.2,.7,.3,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.32), transparent 44%),
    linear-gradient(180deg, #e4c781 0%, var(--gold) 58%, #bd9650 100%);
  color: #1a1410;
  box-shadow:
    0 12px 40px -16px rgba(201,163,91,0.55),
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -10px 18px -18px rgba(52,35,16,0.5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 34%;
  transform: skewX(-20deg);
  background: rgba(255,255,255,0.42);
  filter: blur(10px);
  opacity: 0;
  animation: buttonShine 5.8s ease-in-out 2.2s infinite;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 50px -16px rgba(201,163,91,0.75),
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -10px 18px -18px rgba(52,35,16,0.44);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201,163,91,0.06);
}

.btn-card {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--fg);
  align-self: flex-start;
}
.btn-card:hover {
  background: var(--gold);
  color: #1a1410;
  border-color: var(--gold);
}

/* ─────────────── HERO ─────────────── */

.hero {
  position: relative;
  min-height: 92vh;
  padding: clamp(60px, 9vh, 120px) var(--pad-x) clamp(60px, 8vh, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero-spotlight {
  position: absolute;
  inset: -20% -10% 0 -10%;
  background:
    radial-gradient(45% 55% at 50% 35%, rgba(201,163,91,0.18) 0%, rgba(201,163,91,0.04) 35%, transparent 60%),
    radial-gradient(35% 45% at 75% 70%, rgba(110,31,36,0.22) 0%, transparent 60%),
    radial-gradient(40% 45% at 20% 75%, rgba(110,31,36,0.12) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-grain { display: none; } /* handled by body::after */

/* ── Smoke / fog layers ── */
.hero-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.smoke-layer {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
  opacity: 0;
}
.smoke-1 {
  width: 900px; height: 420px;
  bottom: 8%; left: -12%;
  background: radial-gradient(ellipse, rgba(201,163,91,0.055), transparent 68%);
  filter: blur(72px);
  animation: smoke1 22s ease-in-out infinite;
}
.smoke-2 {
  width: 660px; height: 320px;
  bottom: 2%; right: -6%;
  background: radial-gradient(ellipse, rgba(240,230,210,0.038), transparent 70%);
  filter: blur(80px);
  animation: smoke2 28s ease-in-out infinite 5s;
}
.smoke-3 {
  width: 780px; height: 360px;
  bottom: 18%; left: 18%;
  background: radial-gradient(ellipse, rgba(201,163,91,0.04), transparent 65%);
  filter: blur(90px);
  animation: smoke3 25s ease-in-out infinite 10s;
}
.smoke-4 {
  width: 540px; height: 260px;
  bottom: 0%; right: 18%;
  background: radial-gradient(ellipse, rgba(255,248,230,0.032), transparent 68%);
  filter: blur(64px);
  animation: smoke4 19s ease-in-out infinite 2s;
}
.smoke-5 {
  width: 480px; height: 240px;
  bottom: 12%; left: 40%;
  background: radial-gradient(ellipse, rgba(110,31,36,0.07), transparent 70%);
  filter: blur(76px);
  animation: smoke5 32s ease-in-out infinite 7s;
}

@keyframes smoke1 {
  0%, 100% { opacity: 0;   transform: translate(0,   0)   scale(1);    }
  18%       { opacity: 1;                                               }
  50%       { opacity: 0.7; transform: translate(70px, -50px) scale(1.18); }
  82%       { opacity: 0.2;                                             }
}
@keyframes smoke2 {
  0%, 100% { opacity: 0;   transform: translate(0,   0)   scale(1);    }
  22%       { opacity: 0.8;                                             }
  55%       { opacity: 0.5; transform: translate(-55px,-38px) scale(1.12); }
  88%       { opacity: 0;                                               }
}
@keyframes smoke3 {
  0%, 100% { opacity: 0;   transform: translate(0,   0)   scale(1);    }
  28%       { opacity: 0.6;                                             }
  58%       { opacity: 0.45; transform: translate(45px,-55px) scale(1.22); }
  85%       { opacity: 0;                                               }
}
@keyframes smoke4 {
  0%, 100% { opacity: 0;   transform: translate(0,  10px) scale(0.94); }
  30%       { opacity: 0.7;                                             }
  62%       { opacity: 0.4; transform: translate(-35px,-42px) scale(1.14); }
  90%       { opacity: 0;                                               }
}
@keyframes smoke5 {
  0%, 100% { opacity: 0;   transform: translate(0,   0)   scale(1);    }
  25%       { opacity: 0.5;                                             }
  60%       { opacity: 0.35; transform: translate(30px,-60px) scale(1.25); }
  88%       { opacity: 0;                                               }
}

@media (prefers-reduced-motion: reduce) {
  .smoke-layer { animation: none !important; opacity: 0 !important; }
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.suit {
  color: var(--gold);
  font-size: 12px;
}
.suit-wine { color: var(--wine-2); }
.eyebrow-text { margin-left: 6px; }

.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--fg);
  animation: heroTitleReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform, filter;
}
.hero-title-row {
  display: block;
}
.hero-title-row em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, var(--gold-2) 0%, var(--gold) 35%, var(--bronze) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(214,173,96,0.26));
  animation: showGoldGlow 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero-title-row--alt {
  padding-left: clamp(40px, 8vw, 120px);
}
.hero-title-row--seo {
  margin-top: -0.06em;
  font-family: var(--f-sans);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--gold-2);
}

.hero-sub {
  margin: 32px 0 24px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: var(--fg-2);
  letter-spacing: 0.005em;
}

.hero-lede {
  max-width: 640px;
  margin: 0 0 44px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
}
.lede-mark {
  color: var(--gold-2);
  font-weight: 500;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 72px;
}

.hero-meta {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
  max-width: 920px;
}
.meta-cell {
  flex: 1 1 0;
  min-width: 130px;
  padding: 4px 24px 4px 0;
}
.meta-cell:not(:first-child) { padding-left: 24px; }
.meta-sep {
  width: 1px;
  background: var(--line-soft);
  align-self: stretch;
}
.meta-k {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.meta-v {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ─────────────── GLOBAL BG SUITS ─────────────── */

.site-bg-suits {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.site-bg-suits span {
  position: absolute;
  font-family: var(--f-display);
  line-height: 1;
  will-change: transform;
  user-select: none;
  color: var(--fg);
  opacity: 0.025;
}
.site-bg-suits span:nth-child(1) { font-size: 520px; top: -5%;   left: -6%; }
.site-bg-suits span:nth-child(2) { font-size: 300px; top: 35%;   right: 3%;  color: var(--wine-2); opacity: 0.042; }
.site-bg-suits span:nth-child(3) { font-size: 400px; top: 68%;   left: 12%; }
.site-bg-suits span:nth-child(4) { font-size: 220px; top: 16%;   right: 26%; color: var(--wine-2); opacity: 0.036; }
.site-bg-suits span:nth-child(5) { font-size: 580px; bottom: -8%; right: -8%; }
.site-bg-suits span:nth-child(6) { font-size: 260px; top: 56%;   left: 58%;  color: var(--wine-2); opacity: 0.03; }
.site-bg-suits span:nth-child(7) { font-size: 340px; top: 86%;   left: -3%;  color: var(--wine-2); opacity: 0.038; }

@media (max-width: 900px) {
  .site-bg-suits span { opacity: 0 !important; }
}

/* ─────────────── GLOBAL STAGE (fixed viewport scene) ─────────────── */

.hero-bg-suits { display: none; }

/* Card variables (2× previous board size) */
:root {
  --cw: clamp(120px, 13.2vw, 184px);   /* card width */
  --ch: calc(var(--cw) * 1.4022);      /* card height (2.5:3.5 ratio) */
  --cgap: clamp(10px, 1.15vw, 16px);
  --hole-w: var(--cw);
  --hole-h: var(--ch);
  --hole-peek-h: 92px;
  --hero-hand-top: calc(clamp(110px, 22vh, 240px) + 50px);
  --hero-hand-inset: clamp(40px, 6vw, 120px);
  --nav-h: 80px;
  --workzone-right: max(0px, calc((100vw - var(--maxw)) / 2));
  --table-frame-w: min(2023px, 121vw);
  --table-frame-h: calc(var(--table-frame-w) * 941 / 1672);
  --showdown-scroll-y: 0px;
}

.stage-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* slight upward scroll parallax */
  --sy: 0px;
}
body.scrolled .stage-scene {
  z-index: 2;
}
.stage-inner {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vh, 48px);
  transform: translateX(-50%) translateY(var(--sy));
  width: min(1100px, 94vw);
  height: clamp(380px, 56vh, 560px);
  will-change: transform;
  transition:
    filter 360ms ease,
    opacity 360ms ease,
    transform 220ms ease;
}
body.s-showdown .stage-scene {
  z-index: 4;
}
body.s-showdown .stage-inner {
  top: 50%;
  bottom: auto;
  height: calc(var(--ch) + clamp(300px, 30vw, 420px));
  transform: translateX(-50%) translateY(calc(-50% - 100px + var(--showdown-scroll-y)));
}
.stage-table-bg {
  position: absolute;
  left: 50%;
  top: 53%;
  width: var(--table-frame-w);
  height: var(--table-frame-h);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(60% 48% at 50% 48%, rgba(8, 7, 5, 0.06), rgba(8, 7, 5, 0.42) 72%, rgba(8, 7, 5, 0.86) 100%),
    linear-gradient(180deg, rgba(8, 7, 5, 0.28) 0%, rgba(8, 7, 5, 0.02) 46%, rgba(8, 7, 5, 0.32) 100%),
    url("/assets/table.png") center center / 100% 100% no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.9) 70%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.9) 70%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
  filter: blur(14px) saturate(0.72) brightness(0.54);
  transform: translate(-50%, -50%) scale(1.06);
  transition:
    opacity 1200ms cubic-bezier(.16,1,.3,1),
    filter 1200ms cubic-bezier(.16,1,.3,1),
    transform 1200ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .stage-table-bg {
  opacity: 0.95;
  filter: blur(0) saturate(1.05) brightness(1.08);
  transform: translate(-50%, -50%) scale(1);
}
/* Universal flip card */
.s-card {
  position: absolute;
  width: var(--cw);
  height: var(--ch);
  perspective: 1200px;
  --x: -600px;
  --y: 240px;
  --rot: -28deg;
  --flip: 180deg;  /* face-down */
  --opacity: 0;
  --z: 1;
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot));
  opacity: var(--opacity);
  z-index: var(--z);
  transition:
    transform 760ms cubic-bezier(.35,.05,.2,1),
    opacity 380ms ease;
}
.cf-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateY(var(--flip));
  transition: transform 780ms cubic-bezier(.55,.05,.25,1);
}
.cf-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  border: 1px solid var(--card-face-border);
  box-shadow:
    0 36px 70px -20px rgba(0,0,0,0.8),
    inset 0 1px 0 var(--card-face-inset);
  padding: calc(var(--cw) * 0.076);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background-color: var(--card-face-bg-to);
  background-image: linear-gradient(160deg, var(--card-face-bg-from) 0%, var(--card-face-bg-to) 100%);
}
.cf-back {
  transform: rotateY(180deg);
  background-color: var(--card-back-bg-2);
  background-image:
    radial-gradient(circle at 30% 30%, var(--card-back-glow), transparent 50%),
    linear-gradient(160deg, var(--card-back-bg-1) 0%, var(--card-back-bg-2) 100%);
  display: block;
  padding: calc(var(--cw) * 0.054);
  border-color: var(--card-back-border);
}
.cf-back-pattern {
  width: 100%; height: 100%;
  border: 1px solid var(--card-back-pattern);
  border-radius: 8px;
  background-image:
    repeating-linear-gradient(45deg,
      var(--card-back-stripe) 0px,
      var(--card-back-stripe) 1.5px,
      transparent 1.5px,
      transparent 10px),
    repeating-linear-gradient(-45deg,
      var(--card-back-stripe) 0px,
      var(--card-back-stripe) 1.5px,
      transparent 1.5px,
      transparent 10px);
  position: relative;
}
.cf-back-pattern::after {
  content: "♠";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-size: calc(var(--cw) * 0.35);
  color: var(--card-back-spade);
  opacity: 0.9;
  text-shadow: 0 4px 18px var(--card-back-spade-shadow);
}

/* Card face content */
.pc-corner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  line-height: 1;
  font-family: var(--f-display);
  color: var(--fg);
}
.pc-corner.pc-tl { justify-self: start; align-self: start; }
.pc-corner.pc-br { transform: rotate(180deg); justify-self: end; align-self: end; }
.pc-rank { font-size: calc(var(--cw) * 0.163); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--card-rank); }
.pc-suit { font-size: calc(var(--cw) * 0.109); margin-top: 3px; color: var(--card-suit-black); line-height: 1; }
.pc-wine { color: var(--card-suit-red) !important; }
.pc-center { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.pc-big { font-size: calc(var(--cw) * 0.522); line-height: 1; color: var(--card-suit-black); opacity: var(--card-big-opacity); }

/* Safety: clip any overflow inside card faces */
.cf-face { overflow: hidden; }

/* ── Hole cards — hero position, then bottom-corner peek after scroll ── */
.stage-hole {
  position: fixed;
  top: var(--hero-hand-top);
  right: max(var(--hero-hand-inset), calc(var(--workzone-right) + var(--hero-hand-inset)));
  width: calc(var(--hole-w) * 1.5);
  height: var(--hole-h);
  z-index: 80;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 960ms cubic-bezier(.16,1,.3,1);
}
body.scrolled .stage-hole {
  transform:
    translate(
      calc(var(--hero-hand-inset) + clamp(60px, 8vw, 140px)),
      calc(100vh - var(--hero-hand-top) - var(--hole-peek-h))
    );
  transform-origin: bottom right;
}
body.scrolled .stage-hole:hover,
body.scrolled .stage-hole.is-open {
  transform:
    translate(
      calc(var(--hero-hand-inset) + clamp(60px, 8vw, 140px)),
      calc(100vh - var(--hero-hand-top) - var(--hole-h) - 24px)
    );
}
.s-hole {
  width: var(--hole-w);
  height: var(--hole-h);
  top: 0;
}
.s-hole--1 { right: 80px; }
.s-hole--2 { right: 0; }
body.s-showdown.s-showdown-hands .stage-hole,
body.s-showdown.s-showdown-hands.scrolled .stage-hole,
body.s-showdown.s-showdown-hands.scrolled .stage-hole:hover,
body.s-showdown.s-showdown-hands.scrolled .stage-hole.is-open {
  top: calc((100vh + var(--table-frame-h)) / 2 - var(--ch) - 110px + var(--showdown-scroll-y));
  left: min(calc((100vw + var(--table-frame-w)) / 2 - 360px), calc(100vw - 300px));
  right: auto;
  margin-left: 0;
  width: calc(var(--cw) * 1.5);
  height: var(--ch);
  transform: translateX(-50%);
  transform-origin: top center;
  pointer-events: auto;
}
body.s-showdown.s-showdown-hands.s-player-wins .stage-hole,
body.s-showdown.s-showdown-hands.scrolled.s-player-wins .stage-hole,
body.s-showdown.s-showdown-hands.scrolled.s-player-wins .stage-hole:hover,
body.s-showdown.s-showdown-hands.scrolled.s-player-wins .stage-hole.is-open {
  transform: translateX(-50%) scale(1.08);
}
body.s-showdown .s-hole {
  width: var(--cw);
  height: var(--ch);
}
body.s-showdown .s-hole--1 { right: calc(var(--cw) * 0.42); }
body.s-showdown .s-hole--2 { right: 0; }
body.s-showdown.s-player-loses .s-hole {
  --flip: 180deg;
}
body.s-showdown.s-player-loses .stage-hole:hover .s-hole {
  --flip: 0deg;
}

.stage-bot {
  position: fixed;
  top: calc(var(--nav-h) + var(--hole-peek-h) - var(--hole-h));
  left: max(96px, calc((100vw - var(--maxw)) / 2 + 96px));
  width: calc(var(--hole-w) * 1.5);
  height: var(--hole-h);
  z-index: 45;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: top center;
  transition: top 960ms cubic-bezier(.16,1,.3,1), left 960ms cubic-bezier(.16,1,.3,1), transform 960ms cubic-bezier(.16,1,.3,1), z-index 0ms linear 240ms;
}
.s-bot {
  width: var(--hole-w);
  height: var(--hole-h);
  top: 0;
  --x: calc(100vw - 120px);
  --y: -100px;
  --flip: 180deg;
  --opacity: 0;
}
.s-bot--1 { right: 80px; --rot: 187deg; --z: 1; }
.s-bot--2 { right: 0; --rot: 173deg; --z: 2; }
body.s-showdown.s-showdown-hands .stage-bot {
  /* Mirror of player position: top-left of board-1, fan opens downward.
     Board-relative top math works on FHD where table-frame-h > viewport. */
  top: calc(50vh - var(--ch) * 2.24 + clamp(150px, 15vw, 210px) - 260px + var(--showdown-scroll-y));
  left: max(calc((100vw - var(--table-frame-w)) / 2 + 360px), 300px);
  width: calc(var(--cw) * 1.5);
  height: var(--ch);
  z-index: 81;
  transform: translateX(-50%);
  transform-origin: top center;
}

body.s-showdown.s-showdown-hands.s-bot-wins .stage-bot {
  transform: translateX(-50%) scale(1.08);
}
body.s-showdown .s-bot {
  width: var(--cw);
  height: var(--ch);
}
body.s-showdown .s-bot--1 { right: calc(var(--cw) * 0.42); }
body.s-showdown .s-bot--2 { right: 0; }
body.s-showdown.s-showdown-hands .s-bot {
  --flip: 0deg;
  --opacity: 1;
}
body.s-showdown.s-bot-loses .s-bot {
  --flip: 180deg;
}
body.s-showdown.s-bot-loses .stage-bot {
  pointer-events: auto;
}
body.s-showdown.s-bot-loses .stage-bot:hover .s-bot {
  --flip: 0deg;
}

/* ── Board row ── */
.stage-board {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--cw) * 5 + var(--cgap) * 4);
  height: var(--ch);
  filter: blur(8px) saturate(0.78) brightness(0.74);
  opacity: 0.58;
  pointer-events: auto;
  transition: filter 760ms cubic-bezier(.16,1,.3,1), opacity 760ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .stage-board {
  bottom: calc(var(--ch) * 0.74);
}
.s-board { top: 0; }
.s-board--1 { left: 0; }
.s-board--2 { left: calc((var(--cw) + var(--cgap)) * 1); }
.s-board--3 { left: calc((var(--cw) + var(--cgap)) * 2); }
.s-board--4 { left: calc((var(--cw) + var(--cgap)) * 3); }
.s-board--5 { left: calc((var(--cw) + var(--cgap)) * 4); }

/* ── Burn pile — left of board ── */
.stage-burn {
  position: absolute;
  bottom: calc(var(--ch) * -0.72);
  left: 50%;
  margin-left: calc((var(--cw) * 5 + var(--cgap) * 4) / -2);
  width: var(--cw);
  height: var(--ch);
  transform: rotate(-30deg);
  transform-origin: center center;
  filter: blur(8px) saturate(0.78) brightness(0.74);
  opacity: 0.58;
  transition: filter 760ms cubic-bezier(.16,1,.3,1), opacity 760ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .stage-burn {
  bottom: calc(var(--ch) * -0.23 - 125px);
  margin-left: calc((var(--cw) * 5 + var(--cgap) * 4) / -2 - var(--cw) * 0.5);
  filter: blur(0) saturate(1) brightness(1);
  opacity: 1;
  z-index: 0;
}
.s-burn { top: 0; left: 0; }
.stage-burn-label {
  display: none;
}

/* ── Stage labels (flop / turn / river) ── */
.stage-labels {
  position: absolute;
  bottom: calc(var(--ch) + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--cw) * 5 + var(--cgap) * 4);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--cgap);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  filter: blur(8px) saturate(0.78) brightness(0.74);
  opacity: 0.58;
  transition: filter 760ms cubic-bezier(.16,1,.3,1), opacity 760ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .stage-labels {
  bottom: calc(var(--ch) * 0.6);
}
.stage-label {
  text-align: center;
  opacity: 0;
  transition: color 400ms, opacity 400ms;
}
.stage-label--flop { grid-column: 1 / 4; }
.stage-label--turn { grid-column: 4 / 5; }
.stage-label--river { grid-column: 5 / 6; }
.stage-scene.s-flop3   .stage-label--flop  { color: var(--gold-2); opacity: 1; }
.stage-scene.s-turn-up .stage-label--turn  { color: var(--gold-2); opacity: 1; }
.stage-scene.s-river-up .stage-label--river { color: var(--gold-2); opacity: 1; }

/* ── Hand callout — above board ── */
.stage-callout {
  position: absolute;
  bottom: calc(var(--ch) + 42px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  filter: blur(8px) saturate(0.78) brightness(0.74);
  transition: opacity 760ms cubic-bezier(.16,1,.3,1), filter 760ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .stage-callout {
  bottom: calc(var(--ch) * 1.96);
}
.stage-burn-label {
  transition: opacity 400ms ease, filter 760ms cubic-bezier(.16,1,.3,1);
}
body.board-reveal .stage-board,
body.board-reveal .stage-burn,
body.board-reveal .stage-labels,
body.board-reveal .stage-callout,
body.s-showdown .stage-board,
body.s-showdown .stage-burn,
body.s-showdown .stage-labels,
body.s-showdown .stage-callout,
body:has(.stage-board:hover) .stage-board,
body:has(.stage-board:hover) .stage-burn,
body:has(.stage-board:hover) .stage-labels,
body:has(.stage-board:hover) .stage-callout {
  filter: blur(0) saturate(1) brightness(1);
  opacity: 1;
}
.stage-scene.s-river-up .stage-callout {
  opacity: 0.58;
  transition-delay: 900ms;
}
body.board-reveal .stage-scene.s-river-up .stage-callout {
  opacity: 1;
}
body:has(.stage-board:hover) .stage-scene.s-river-up .stage-callout {
  opacity: 1;
}
body.s-showdown .stage-scene.s-river-up .stage-callout {
  opacity: 0;
}
body.s-showdown.s-final-result .stage-scene.s-river-up .stage-callout {
  opacity: 1;
  filter: blur(0) saturate(1) brightness(1);
}
.stage-callout-line { display: none; }
body.s-final-result .stage-callout-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.stage-callout-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-2);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ─────── STATE MACHINE ─────────────────────────────────────────────
   Classes added cumulatively on .stage-scene:
     s-player-card-1, s-player-card-1-up, s-bot-card-1,
     s-player-card-2, s-player-card-2-up, s-bot-card-2,
     s-hole-in, s-hole-up,
     s-burn1, s-flop-stack, s-flop1, s-flop2, s-flop3,
     s-burn2, s-turn-in, s-turn-up,
     s-burn3, s-river-in, s-river-up
─────────────────────────────────────────────────────────────────── */

/* Hole cards — fly in from off-screen right */
.s-hole { --x: 400px; --y: -100px; --rot: 25deg; --flip: 180deg; --opacity: 0; }
body.s-player-card-1 .s-hole--1,
body.s-hole-in .s-hole--1 { --x: 0; --y: 0; --rot: -10deg; --opacity: 1; --z: 4; }
body.s-player-card-2 .s-hole--2,
body.s-hole-in .s-hole--2 { --x: 0; --y: 0; --rot: 8deg; --opacity: 1; --z: 5; }
body.s-player-card-1-up .s-hole--1,
body.s-hole-up .s-hole--1 { --flip: 0deg; }
body.s-player-card-2-up .s-hole--2,
body.s-hole-up .s-hole--2 { --flip: 0deg; }

body.s-bot-card-1 .s-bot--1 { --x: 0; --y: 0; --rot: 187deg; --opacity: 1; --z: 1; }
body.s-bot-card-2 .s-bot--2 { --x: 0; --y: 0; --rot: 173deg; --opacity: 1; --z: 2; }
body.s-showdown.s-showdown-hands .s-bot--1 { --x: 0; --y: 0; --opacity: 1; --z: 1; }
body.s-showdown.s-showdown-hands .s-bot--2 { --x: 0; --y: 0; --opacity: 1; --z: 2; }

/* Burn cards — fly in from bottom-left, stack offset */
.s-burn { --x: -500px; --y: 280px; --rot: -28deg; }
.stage-scene.s-burn1 .s-burn--1 { --x: 0px;  --y: 0px;   --rot: -6deg; --opacity: 1; --z: 1; }
.stage-scene.s-burn2 .s-burn--2 { --x: 16px; --y: -10px; --rot: 5deg;  --opacity: 1; --z: 2; }
.stage-scene.s-burn3 .s-burn--3 { --x: 8px;  --y: -22px; --rot: -2deg; --opacity: 1; --z: 3; }

/* Board cards — flop stacks face-down at slot 1, then spreads */
.s-board { --x: -600px; --y: 260px; --rot: -22deg; --flip: 180deg; }

/* s-flop-stack: 3 flop cards arrive stacked at slot 1 (face-down) */
.stage-scene.s-flop-stack .s-board--1 { --x: 0; --y: -2px; --rot: -3deg; --opacity: 1; --z: 1; }
.stage-scene.s-flop-stack .s-board--2 {
  --x: calc((var(--cw) + var(--cgap)) * -1 + 4px);
  --y: 0; --rot: 2deg; --opacity: 1; --z: 2;
}
.stage-scene.s-flop-stack .s-board--3 {
  --x: calc((var(--cw) + var(--cgap)) * -2 + 8px);
  --y: 2px; --rot: -1deg; --opacity: 1; --z: 3;
}

/* Flop spread — cards slide to their own slots & flip face-up */
.stage-scene.s-flop1 .s-board--1 { --x: 0; --y: 0; --rot: 0deg; --opacity: 1; --flip: 0deg; --z: 1; }
.stage-scene.s-flop2 .s-board--2 { --x: 0; --y: 0; --rot: 0deg; --opacity: 1; --flip: 0deg; --z: 1; }
.stage-scene.s-flop3 .s-board--3 { --x: 0; --y: 0; --rot: 0deg; --opacity: 1; --flip: 0deg; --z: 1; }

/* Turn — slot 4 */
.stage-scene.s-turn-in .s-board--4,
.stage-scene.s-turn-up .s-board--4 { --x: 0; --y: 0; --rot: 0deg; --opacity: 1; --z: 1; }
.stage-scene.s-turn-up .s-board--4 { --flip: 0deg; }

/* River — slot 5 */
.stage-scene.s-river-in .s-board--5,
.stage-scene.s-river-up .s-board--5 { --x: 0; --y: 0; --rot: 0deg; --opacity: 1; --z: 1; }
.stage-scene.s-river-up .s-board--5 { --flip: 0deg; }

body.s-showdown.s-win-board-1 .s-board--1 { --y: -25px; --z: 4; }
body.s-showdown.s-win-board-2 .s-board--2 { --y: -25px; --z: 4; }
body.s-showdown.s-win-board-3 .s-board--3 { --y: -25px; --z: 4; }
body.s-showdown.s-win-board-4 .s-board--4 { --y: -25px; --z: 4; }
body.s-showdown.s-win-board-5 .s-board--5 { --y: -25px; --z: 4; }

/* ── Sections sit above the stage but transparent so it shows through ── */
.section { z-index: 3; }
.hero    { z-index: 3; }
.nav     { z-index: 50; }
.footer  { z-index: 3; }

/* Push body grain below stage so cards stay above texture */
body::after { z-index: 0 !important; }

/* Make sections that have solid card surfaces stay readable —
   keep their backgrounds; the stage is a global ambient layer */

/* ── Responsive: scale cards down on narrower viewports ── */
@media (max-width: 1200px) {
  .stage-callout-text { font-size: 18px; }
}
@media (max-width: 900px) {
  .stage-scene,
  .stage-hole,
  .stage-bot { display: none; }
}

/* Legacy element cleanup (old DOM nodes that may remain elsewhere) */
.hero-cards, .hero-table, .hole-cards, .hole, .chip-stack,
.hero-scene, .burn-pile, .board-row, .board-cards, .board-label-row,
.hand-callout { display: none !important; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.scroll-cue-line {
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold) 70%, transparent);
  animation: pulseLine 2.4s ease-in-out infinite;
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes showGoldGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(214,173,96,0));
  }
  45% {
    filter: drop-shadow(0 0 30px rgba(214,173,96,0.46));
  }
  100% {
    filter: drop-shadow(0 0 18px rgba(214,173,96,0.26));
  }
}

@keyframes buttonShine {
  0%, 58%, 100% {
    left: -55%;
    opacity: 0;
  }
  68% {
    opacity: 0.72;
  }
  86% {
    left: 132%;
    opacity: 0;
  }
}

@keyframes loaderBreath {
  0%, 100% { transform: scale(0.94); opacity: 0.62; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loaderHalo {
  0%, 100% { transform: rotate(0deg) scale(0.98); opacity: 0.24; }
  50% { transform: rotate(12deg) scale(1.04); opacity: 0.46; }
}

@keyframes loaderSpade {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(0.96);
  }
  50% {
    transform: translateY(-4px) scale(1.035);
    filter: brightness(1.18);
  }
}

@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-title-row em,
  .scroll-cue-line,
  .btn-primary::after,
  .page-loader::before,
  .page-loader-glow,
  .page-loader-spade {
    animation: none !important;
  }
  .hero-title {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ─────────────── SECTIONS ─────────────── */

.section {
  position: relative;
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 2;
}

.section-head {
  margin-bottom: clamp(48px, 6vh, 72px);
  max-width: 760px;
}
.section-index {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-2);
}
.section-kicker {
  margin: 22px 0 0;
  font-size: 17px;
  color: var(--fg-3);
  max-width: 600px;
}

/* ─────────────── ABOUT ─────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.big-quote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.about-points { display: grid; gap: 36px; }
.point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point-num {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
  line-height: 1;
  padding-top: 4px;
}
.point-body h3 {
  margin: 0 0 8px;
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--fg);
}
.point-body p {
  margin: 0;
  color: var(--fg-3);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ─────────────── FORMATS ─────────────── */

.format-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.format-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(201,163,91,0.07), transparent 50%),
    linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), border-color 320ms, box-shadow 320ms;
}
.format-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 40px 80px -32px rgba(0,0,0,0.6);
}
.format-card--wine {
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(110,31,36,0.28), transparent 55%),
    linear-gradient(160deg, rgba(26,19,17,0.88) 0%, rgba(20,17,13,0.64) 60%, rgba(14,11,9,0.42) 100%),
    url('/assets/wine.png') right bottom / cover no-repeat;
}
.format-card--brain {
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(201,163,91,0.07), transparent 50%),
    linear-gradient(160deg, rgba(28,24,20,0.88) 0%, rgba(20,17,13,0.64) 60%, rgba(14,11,9,0.42) 100%),
    url('/assets/brain.png') right bottom / cover no-repeat;
}

.fc-stamp {
  position: absolute;
  top: 28px; right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.fc-stamp span:first-child {
  font-family: var(--f-display);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-2);
}

.fc-suit { display: none; }

.fc-head { position: relative; z-index: 1; }
.fc-overline {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.fc-title {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.fc-tag {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: lowercase;
}

.fc-desc {
  position: relative; z-index: 1;
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.fc-quote {
  position: relative; z-index: 1;
  margin: 0;
  padding: 22px 24px;
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-2);
  line-height: 1.35;
  border-left: 1px solid var(--gold);
  background: rgba(201,163,91,0.04);
  text-wrap: pretty;
}
.format-card--wine .fc-quote { color: #e8c2c2; border-left-color: var(--wine-2); background: rgba(110,31,36,0.12); }

.fc-meta {
  position: relative; z-index: 1;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.fc-meta-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.fc-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-meta-list li {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2);
  background: rgba(255,255,255,0.015);
}

/* ─────────────── WHY ─────────────── */

.why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.why-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.why-item:nth-child(odd)  { padding-right: 48px; border-right: 1px solid var(--line-soft); }
.why-item:nth-child(even) { padding-left: 48px; }
.why-num {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
  line-height: 1;
}
.why-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ─────────────── OCCASIONS ─────────────── */

.occ-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.occ-grid li {
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.005em;
  transition: background 220ms, color 220ms;
  min-height: 110px;
}
.occ-grid li:hover {
  background: var(--surface);
  color: var(--gold-2);
}
.occ-suit {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--gold);
}
.occ-grid li:nth-child(2n) .occ-suit { color: var(--wine-2); }

/* ─────────────── LOCAL ─────────────── */

.local {
  padding-top: clamp(70px, 10vh, 120px);
}
.local-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.local-card {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201,163,91,0.08), transparent 42%),
    rgba(255,255,255,0.025);
}
.local-card h3 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--fg);
}
.local-card p {
  margin: 0;
  color: var(--fg-3);
  line-height: 1.75;
}

/* ─────────────── FLOW ─────────────── */

.flow-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.flow-step:last-child { border-bottom: 1px solid var(--line-soft); }
.flow-step-k {
  display: flex;
  align-items: center;
  gap: 16px;
}
.flow-k-num {
  font-family: var(--f-display);
  font-size: clamp(54px, 6vw, 80px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--bronze) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.flow-k-dot {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,163,91,0.12);
}
.flow-step-body h3 {
  margin: 6px 0 8px;
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.flow-step-body p {
  margin: 0;
  max-width: 560px;
  color: var(--fg-3);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ─────────────── HOST ─────────────── */

.host {
  background:
    radial-gradient(60% 80% at 100% 50%, rgba(110,31,36,0.10), transparent 60%);
}
.host-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.host-portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
}
.hp-frame {
  position: relative;
  width: 100%; height: 100%;
  border: 1px solid var(--line-strong);
  padding: 14px;
  background: var(--surface);
}
.hp-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.hp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(160deg, #1a1612, #100d0a);
}
.hp-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hp-placeholder-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201,163,91,0.06) 0px,
    rgba(201,163,91,0.06) 1px,
    transparent 1px,
    transparent 14px
  );
}
.hp-placeholder-label {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(10,9,8,0.6);
}
.hp-seal {
  position: absolute;
  bottom: -32px; right: -32px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-2), var(--bronze));
  display: flex; align-items: center; justify-content: center;
  color: #1a1410;
  font-family: var(--f-display);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.05em;
  box-shadow: 0 20px 50px -16px rgba(201,163,91,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  text-transform: lowercase;
  transform: rotate(-8deg);
}
.hp-seal-inner { text-align: center; line-height: 1.1; }
.hp-seal-mid { font-size: 10px; opacity: 0.6; }

.host-copy { max-width: 560px; }
.host-lede {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.3;
  margin: 24px 0 24px;
  text-wrap: pretty;
}
.host-text {
  margin: 0 0 36px;
  color: var(--fg-3);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}
.host-sign {
  display: flex;
  align-items: center;
  gap: 18px;
}
.host-sign-line {
  width: 56px; height: 1px;
  background: var(--gold);
}
.host-sign-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ─────────────── HOST CREDS ─────────────── */

.host-creds {
  list-style: none;
  margin: 0 0 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
.host-creds li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hc-k {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 400;
  color: var(--gold-2);
  letter-spacing: -0.01em;
  line-height: 1;
  min-width: 88px;
}
.hc-v {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.4;
}

/* ─────────────── CRAFT ─────────────── */

.craft {
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,163,91,0.06), transparent 55%);
}
.craft-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.craft-eyebrow-text { margin-left: 6px; }

.craft-title {
  margin: 0 auto 24px;
  max-width: 920px;
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: balance;
}
.craft-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-2);
}
.craft-sub {
  margin: 0 auto 64px;
  max-width: 700px;
  font-size: 17px;
  color: var(--fg-3);
  line-height: 1.65;
  text-wrap: pretty;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  text-align: left;
}
.craft-tile {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 220ms;
}
.craft-tile:hover { background: var(--surface); }
.craft-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 4px;
}
.craft-tile h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.craft-tile p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-3);
  text-wrap: pretty;
}

@media (max-width: 1100px) {
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .host-creds { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .craft-grid { grid-template-columns: 1fr; }
}

/* ─────────────── INCLUDED ─────────────── */

.inc-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
}
.inc-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.inc-check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 13px;
  flex-shrink: 0;
}

/* ─────────────── FAQ ─────────────── */

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 200ms;
}
.faq-item[open] { background: rgba(201,163,91,0.025); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.005em;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-2); }

.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--gold);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
}
.faq-icon::before {
  width: 16px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1px; height: 16px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  padding: 0 8px 32px 8px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-3);
  text-wrap: pretty;
}

/* ─────────────── CTA ─────────────── */

.cta {
  position: relative;
  min-height: auto;
  padding-bottom: clamp(80px, 12vh, 140px);
  overflow: hidden;
  isolation: isolate;
}

.showdown-test {
  position: relative;
  min-height: 100vh;
  padding-bottom: 100px;
  overflow: hidden;
  isolation: isolate;
  background: #080705;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 100px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 100px);
}
.showdown-test::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 48% at 50% 48%, rgba(8, 7, 5, 0.06), rgba(8, 7, 5, 0.38) 72%, rgba(8, 7, 5, 0.82) 100%),
    linear-gradient(180deg, rgba(8, 7, 5, 0.86) 0%, rgba(8, 7, 5, 0.26) 46%, rgba(8, 7, 5, 0.78) 100%);
  opacity: 0;
  filter: blur(14px) saturate(0.72) brightness(0.54);
  transform: scale(1.06);
  transition:
    opacity 1200ms cubic-bezier(.16,1,.3,1),
    filter 1200ms cubic-bezier(.16,1,.3,1),
    transform 1200ms cubic-bezier(.16,1,.3,1);
}
.showdown-test::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 42% at 50% 52%, rgba(201, 163, 91, 0.13), transparent 70%),
    radial-gradient(80% 70% at 50% 100%, rgba(110, 31, 36, 0.17), transparent 70%),
    linear-gradient(90deg, rgba(8, 7, 5, 0.68), transparent 24%, transparent 76%, rgba(8, 7, 5, 0.68));
  opacity: 0;
  transition: opacity 1000ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
body.s-showdown .showdown-test::before {
  opacity: 0.75;
  filter: blur(0) saturate(1.05) brightness(1.08);
  transform: scale(1);
}
body.s-showdown .showdown-test::after {
  opacity: 1;
}
.showdown-lead {
  position: absolute;
  left: 50%;
  bottom: -260px;
  z-index: 8;
  width: min(420px, calc(100vw - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 6px;
  padding: 14px;
  border: 2px solid rgba(201, 163, 91, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(70% 110% at 50% 0%, rgba(201, 163, 91, 0.10), transparent 68%),
    rgba(8, 7, 5, 0.78);
  box-shadow:
    0 22px 80px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(8, 7, 5, 0.7),
    inset 0 0 0 2px rgba(201, 163, 91, 0.10);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(.16,1,.3,1), transform 520ms cubic-bezier(.16,1,.3,1);
}
body.s-showdown .showdown-lead {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.showdown-lead-head {
  padding: 0;
  text-align: center;
}
.showdown-lead-head span {
  display: block;
  font-family: var(--f-display);
  font-size: 21px;
  line-height: 1;
  color: var(--fg);
  white-space: nowrap;
}
.showdown-lead-head small {
  display: none;
}
.showdown-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.showdown-field span {
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.showdown-field input,
.showdown-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.46);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 12px;
  outline: none;
}
.showdown-field input {
  height: 34px;
  padding: 0 10px;
}
.showdown-field textarea {
  min-height: 52px;
  resize: vertical;
  line-height: 1.4;
}
.showdown-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.showdown-field input:focus,
.showdown-field textarea:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.48);
}
.showdown-field-event {
  display: none;
}
.showdown-lead .btn-submit {
  justify-self: stretch;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  margin: 0;
  justify-content: center;
  white-space: nowrap;
}
.showdown-success {
  grid-column: 1 / -1;
  padding: 12px 14px;
  font-size: 13px;
}
.cta-card {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vh, 96px) clamp(48px, 6vw, 88px) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,163,91,0.10), transparent 60%),
    radial-gradient(80% 100% at 50% 100%, rgba(110,31,36,0.15), transparent 65%),
    linear-gradient(160deg, rgba(26, 21, 17, 0.42) 0%, rgba(10, 8, 7, 0.54) 100%);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  isolation: isolate;
}
.cta-spotlight {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 30%, rgba(201,163,91,0.08), transparent 50%);
  pointer-events: none;
}
.cta-corners span {
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.cta-corners span:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.cta-corners span:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.cta-corners span:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.cta-corners span:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.cta-eyebrow {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}
.cta-eyebrow .suit { font-size: 14px; }

.cta-title {
  position: relative;
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: balance;
}
body.s-showdown .cta-title {
  font-size: clamp(28px, 3.8vw, 46px);
}
.cta-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-2);
}

.cta-sub {
  position: relative;
  margin: 0 auto 32px;
  max-width: 620px;
  text-align: center;
  font-size: 17px;
  color: var(--fg-3);
  line-height: 1.6;
  text-wrap: pretty;
}

.cta-form {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 15px;
  transition: border-color 200ms, background 200ms;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0,0,0,0.4);
}

.fmt-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fmt-pill {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms, border-color 180ms, color 180ms;
}
.fmt-pill:hover { border-color: var(--line-strong); color: var(--fg); }
.fmt-pill.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1410;
}

.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.cta-fineprint {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.form-success {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--gold);
  background: rgba(201,163,91,0.06);
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.55;
}
.form-success[hidden] { display: none !important; }
.fs-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1410;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
}

/* ─────────────── FOOTER ─────────────── */

.footer {
  position: relative;
  padding: 48px var(--pad-x) 32px;
  border-top: 1px solid var(--line-soft);
  z-index: 2;
}
.footer-row {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}
.footer-brand {
  flex-shrink: 0;
}
.footer-brand-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.footer-brand-title span {
  display: block;
}
.footer-brand-title span:nth-child(2) {
  padding-left: 0.28em;
}
.footer-brand-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, var(--gold-2) 0%, var(--gold) 35%, var(--bronze) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.footer-contact {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-2);
}
.footer-contact a { transition: color 180ms; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-sep { color: var(--muted); }
.footer-legal {
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.7;
}
.footer-fine {
  max-width: var(--maxw);
  margin: 12px auto 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer-dev {
  color: var(--fg-3);
  transition: color 180ms;
}
.footer-dev:hover { color: var(--gold-2); }

/* ─────────────── MOBILE CONTACT FORM ─────────────── */

.contact-mobile-wrap {
  display: none;
}

@media (max-width: 900px) {
  .contact-mobile-wrap {
    display: block;
    position: relative;
    z-index: 5;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(48px, 8vh, 80px) var(--pad-x) clamp(60px, 10vh, 100px);
  }
  .contact-mobile-head {
    margin-bottom: 36px;
  }
  .contact-mobile-head .section-title {
    margin-top: 12px;
  }
  .contact-mobile-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-mobile-form .showdown-field input {
    height: 46px;
    font-size: 15px;
    padding: 0 14px;
  }
  .contact-mobile-form .showdown-field textarea {
    min-height: 96px;
    font-size: 15px;
    padding: 12px 14px;
    line-height: 1.45;
  }
  .contact-mobile-form .btn-submit {
    margin-top: 6px;
    width: 100%;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    padding: 0 20px;
  }
  .contact-mobile-form .showdown-field span {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}

/* ─────────────── LEGAL PAGES ─────────────── */

.page-legal { background: var(--bg); }
.page-legal .footer { z-index: 2; position: relative; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(10,9,8,0.94), rgba(10,9,8,0.78));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}
.legal-nav .brand-word {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--fg);
  font-family: var(--f-display);
  font-size: 22px;
}
.legal-back {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  text-transform: uppercase;
  transition: color 180ms;
}
.legal-back:hover { color: var(--gold); }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--pad-x) clamp(60px, 10vh, 120px);
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.75;
}
.legal h1 {
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.legal-lede {
  margin: 0 0 48px;
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--fg-3);
  line-height: 1.5;
}
.legal h2 {
  margin: 44px 0 14px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.legal h3 {
  margin: 28px 0 10px;
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
}
.legal p {
  margin: 0 0 14px;
  text-wrap: pretty;
}
.legal ul {
  margin: 8px 0 18px;
  padding-left: 22px;
}
.legal ul li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: rgba(201,163,91,0.35);
  text-underline-offset: 3px;
  transition: color 180ms, text-decoration-color 180ms;
}
.legal a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
.legal-meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--fg-3);
  line-height: 1.85;
}

/* ─────────────── COOKIE CONSENT BANNER ─────────────── */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 250;
  width: min(720px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20,16,12,0.96), rgba(10,8,6,0.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.6);
  color: var(--fg-2);
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 480ms cubic-bezier(.2,.7,.3,1);
}
.cookie-banner.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner-text a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--gold); }
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg-2);
  transition: background 180ms, color 180ms, border-color 180ms;
}
.cookie-btn:hover {
  background: rgba(201,163,91,0.08);
  border-color: var(--gold);
  color: var(--gold-2);
}
.cookie-btn--accept {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 60%, var(--bronze) 100%);
  border-color: var(--gold);
  color: #1a1410;
}
.cookie-btn--accept:hover {
  background: linear-gradient(180deg, #f0d090 0%, var(--gold-2) 60%, var(--gold) 100%);
  color: #1a1410;
}
@media (max-width: 640px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 16px;
    padding: 16px 18px;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 10px 14px; }
}

/* ─────────────── CONSENT CHECKBOX IN FORMS ─────────────── */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 11px;
  line-height: 1.45;
  color: var(--fg-3);
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  transition: background 180ms, border-color 180ms;
}
.form-consent input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.form-consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid #1a1410;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-consent a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent a:hover { color: var(--gold); }
.contact-mobile-form .form-consent {
  font-size: 12.5px;
  line-height: 1.5;
}

/* ─────────────── REVEAL ANIMATIONS ─────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ─────────────── RESPONSIVE ─────────────── */

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-cards { display: none; }
  .hero-title-row--alt { padding-left: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .host-grid { grid-template-columns: 1fr; }
  .host-portrait { max-width: 380px; margin: 0 auto; }
  .format-cards { grid-template-columns: 1fr; }
  .occ-grid { grid-template-columns: repeat(2, 1fr); }
  .occ-grid li { font-size: 18px; min-height: 90px; padding: 22px 18px; }
  .local-grid { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 100px 1fr; gap: 24px; }
  .inc-list { grid-template-columns: 1fr; gap: 0; }
  .why-list { grid-template-columns: 1fr; }
  .why-item { padding: 24px 0 !important; border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  body { font-size: 16px; }
  :root {
    --nav-logo-size: clamp(26px, 8.3vw, 30px);
    --nav-card-w: clamp(22px, 6.6vw, 25px);
    --nav-card-gap: 2px;
    --nav-hand-gap: clamp(18px, 5.5vw, 26px);
  }
  .brand-mark { display: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav {
    gap: 8px;
    padding: 10px;
  }
  .brand {
    gap: 6px;
    font-size: 20px;
    min-width: 0;
  }
  .brand-mark {
    width: var(--nav-logo-size);
    height: var(--nav-logo-size);
    flex-basis: var(--nav-logo-size);
  }
  .brand-word { display: none; }
  .brand-table {
    display: flex;
    align-items: center;
    gap: var(--nav-hand-gap);
    height: calc(var(--nav-card-w) * 1.5 + 4px);
    margin-left: 0;
    min-width: 0;
  }
  .brand-board,
  .brand-hand {
    display: flex;
    align-items: center;
    gap: var(--nav-card-gap);
  }
  .brand-board {
    width: calc(var(--nav-card-w) * 5 + var(--nav-card-gap) * 4);
    justify-content: flex-end;
  }
  .brand-hand {
    width: calc(var(--nav-card-w) * 2 + var(--nav-card-gap));
    justify-content: flex-start;
    margin-left: 20px;
  }
  .brand-board-card,
  .brand-hand-card {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: var(--nav-card-w);
    height: calc(var(--nav-card-w) * 1.5);
    padding-top: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    box-shadow: 0 8px 18px -10px rgba(0,0,0,0.75);
    color: var(--fg);
    font-family: var(--f-display);
    line-height: 1;
    transition: background 240ms ease, border-color 240ms ease, opacity 240ms ease, transform 300ms cubic-bezier(.2,.7,.3,1), visibility 240ms ease;
  }
  .brand-board-card {
    background:
      linear-gradient(135deg, var(--card-back-pattern) 0 1px, transparent 1px 8px),
      linear-gradient(45deg, var(--card-back-stripe) 0 1px, transparent 1px 8px),
      linear-gradient(160deg, var(--card-back-bg-1) 0%, var(--card-back-bg-2) 100%);
    background-size: 8px 8px, 8px 8px, auto;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
  }
  .brand-hand-card {
    background:
      radial-gradient(circle at 30% 20%, var(--card-face-glow), transparent 60%),
      linear-gradient(160deg, var(--card-face-bg-from) 0%, var(--card-face-bg-to) 100%);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .bb-rank,
  .bb-suit,
  .bh-rank,
  .bh-suit {
    display: block;
    letter-spacing: 0;
  }
  .bb-rank,
  .bb-suit {
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .bh-rank,
  .bh-suit {
    opacity: 1;
  }
  .bb-rank,
  .bh-rank {
    font-size: clamp(12px, 3.9vw, 14px);
    font-weight: 500;
    color: var(--card-rank);
  }
  .bb-suit,
  .bh-suit {
    margin-top: 1px;
    font-size: clamp(8px, 2.8vw, 10px);
    color: var(--card-suit-black);
  }
  .bb-suit.pc-wine,
  .bh-suit.pc-wine { color: var(--card-suit-red); }
  body.s-flop-stack .brand-board-card:nth-child(-n+3),
  body.s-turn-in .brand-board-card:nth-child(4),
  body.s-river-in .brand-board-card:nth-child(5) {
    opacity: 0.76;
    transform: translateY(0);
    visibility: visible;
  }
  body.s-flop1 .brand-board-card:nth-child(1),
  body.s-flop2 .brand-board-card:nth-child(2),
  body.s-flop3 .brand-board-card:nth-child(3),
  body.s-turn-up .brand-board-card:nth-child(4),
  body.s-river-up .brand-board-card:nth-child(5) {
    background:
      radial-gradient(circle at 30% 20%, var(--card-face-glow), transparent 60%),
      linear-gradient(160deg, var(--card-face-bg-from) 0%, var(--card-face-bg-to) 100%);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  body.s-flop1 .brand-board-card:nth-child(1) .bb-rank,
  body.s-flop1 .brand-board-card:nth-child(1) .bb-suit,
  body.s-flop2 .brand-board-card:nth-child(2) .bb-rank,
  body.s-flop2 .brand-board-card:nth-child(2) .bb-suit,
  body.s-flop3 .brand-board-card:nth-child(3) .bb-rank,
  body.s-flop3 .brand-board-card:nth-child(3) .bb-suit,
  body.s-turn-up .brand-board-card:nth-child(4) .bb-rank,
  body.s-turn-up .brand-board-card:nth-child(4) .bb-suit,
  body.s-river-up .brand-board-card:nth-child(5) .bb-rank,
  body.s-river-up .brand-board-card:nth-child(5) .bb-suit {
    opacity: 1;
  }
  .nav-hand { display: none; }
  .nav-cta {
    margin-left: auto;
    gap: 0;
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1;
    white-space: nowrap;
  }
  .nav-cta-arrow { display: none; }
  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 48px;
  }
  .hero-eyebrow {
    max-width: 100%;
    gap: 6px;
    margin-bottom: 28px;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 0.14em;
    line-height: 1.35;
  }
  .eyebrow-text { margin-left: 2px; }
  .hero-title {
    font-size: clamp(72px, 24vw, 96px);
    letter-spacing: -0.015em;
  }
  .hero-title-row--alt { padding-left: 24px; }
  .hero-title-row--seo { font-size: 18px; }
  .hero-sub {
    margin: 24px 0 18px;
    font-size: 22px;
    line-height: 1.45;
  }
  .hero-lede {
    margin-bottom: 34px;
    font-size: 17px;
    line-height: 1.7;
  }
  .hero-actions {
    gap: 12px;
    margin-bottom: 42px;
  }
  .hero-meta { gap: 4px 0; }
  .meta-cell { flex-basis: 50%; padding: 12px 16px 12px 0 !important; min-width: 0; }
  .meta-sep { display: none; }
  .meta-k { font-size: 30px; }
  .meta-v { font-size: 10px; letter-spacing: 0.1em; }
  .section {
    padding: 58px var(--pad-x);
  }
  .section-head {
    margin-bottom: 32px;
  }
  .section-index {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .section-title {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  .section-kicker {
    font-size: 16px;
    line-height: 1.65;
  }
  .about-grid { gap: 32px; }
  .big-quote {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.35;
  }
  .point {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .format-card {
    gap: 22px;
    padding: 34px 28px;
  }
  .format-card--wine {
    background:
      linear-gradient(to bottom, rgba(26,19,17,0.92) 0%, rgba(20,17,13,0.58) 50%, rgba(14,11,9,0.36) 100%),
      url('/assets/wine.png') left bottom / cover no-repeat;
  }
  .fc-stamp {
    top: 22px;
    right: 24px;
  }
  .fc-title { font-size: clamp(40px, 12vw, 52px); }
  .fc-desc { font-size: 15.5px; }
  .fc-quote {
    padding: 20px 22px;
    font-size: 21px;
  }
  .fc-suit { font-size: 220px; }
  .local { padding-top: 58px; }
  .local-card {
    min-height: 0;
    padding: 28px 24px;
  }
  .local-card h3 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.08;
  }
  .local-card p { line-height: 1.65; }
  .scroll-cue { display: none; }
  .occ-grid { grid-template-columns: 1fr; }
  .occ-grid li {
    min-height: 72px;
    padding: 18px;
  }
  .occ-grid li:nth-child(n+6) { display: none; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 22px; }
  .cta-title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.08;
  }
  .cta-sub {
    margin-bottom: 32px;
    font-size: 16px;
  }
  .flow-step { grid-template-columns: 1fr; gap: 6px; }
  .craft-title { font-size: clamp(36px, 12vw, 52px); }
  .craft-sub { font-size: 16px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { margin-left: 0; }
  .btn { padding: 14px 22px; font-size: 13px; }
  .showdown-lead { bottom: -110px; }
  .showdown-test { padding-bottom: 100px; }
}

@media (max-width: 380px) {
  :root {
    --pad-x: 18px;
    --nav-hand-gap: clamp(38px, 12vw, 44px);
  }
  .brand { font-size: 19px; }
  .nav {
    gap: 6px;
    padding-inline: 4px;
  }
  .nav-cta {
    padding: 8px 5px;
    font-size: 10.5px;
  }
  .nav-cta-arrow { display: none; }
  .hero-title { font-size: clamp(68px, 23vw, 86px); }
  .hero-eyebrow {
    padding-inline: 10px;
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 340px) {
  :root { --nav-hand-gap: 26px; }
  .nav-cta {
    padding-inline: 4px;
    font-size: 10px;
  }
}
