/*
  Sports Party Bingo storefront
  DRAFT until Chuck clears it.
  Needs /brand/tokens.css and /brand/elements.css first.
  The page is dark (the house look). Sections can switch to cream paper with data-theme="light".
*/

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--spb-bg); scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--spb-bg);
  color: var(--spb-text);
  font: var(--spb-weight-regular) var(--spb-text-base) / var(--spb-leading-body) var(--spb-font-ui);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--spb-link); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
/* Long email addresses break instead of pushing the page sideways at 320px. */
a[href^="mailto:"] { overflow-wrap: anywhere; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: var(--spb-focus-width) solid var(--spb-focus);
  outline-offset: var(--spb-focus-offset);
  border-radius: 4px;
}
h1, h2, h3 {
  font-family: var(--spb-font-display);
  line-height: var(--spb-leading-tight);
  letter-spacing: var(--spb-tracking-head);
  text-wrap: balance;
  margin: 0 0 var(--spb-space-3);
}
h1 { font-size: var(--spb-text-3xl); font-weight: var(--spb-weight-black); }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.0625rem); font-weight: var(--spb-weight-heavy); }
h3 { font-size: var(--spb-text-lg); font-weight: var(--spb-weight-heavy); }
p { margin: 0 0 var(--spb-space-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--spb-space-3); top: -4rem; z-index: 100;
  padding: var(--spb-space-3) var(--spb-space-4); border-radius: var(--spb-radius-button);
  background: var(--spb-accent); color: var(--spb-on-accent); font-weight: var(--spb-weight-bold); text-decoration: none;
}
.skip:focus { top: var(--spb-space-3); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--spb-gutter); }
.measure { max-width: var(--spb-measure); }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  font: var(--spb-weight-heavy) var(--spb-text-xs) / 1.2 var(--spb-font-ui);
  letter-spacing: var(--spb-tracking-label);
  text-transform: uppercase;
  color: var(--spb-label);
  margin: 0 0 var(--spb-space-3);
}
.lede { font-size: var(--spb-text-lg); line-height: 1.45; color: var(--spb-text-muted); }
.muted { color: var(--spb-text-muted); }
.small { font-size: var(--spb-text-sm); color: var(--spb-text-subtle); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--spb-bg) 94%, transparent);
  border-bottom: 1px solid var(--spb-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--spb-space-3);
  min-height: 64px; flex-wrap: wrap;
}
.brand-link { display: inline-flex; align-items: center; min-height: var(--spb-hit); padding-block: 6px; }
.brand-link img { display: block; width: auto; height: 34px; }
.nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: var(--spb-hit); padding: 0 0.8rem;
  border-radius: var(--spb-radius-pill); color: var(--spb-text); text-decoration: none;
  font-weight: var(--spb-weight-medium); font-size: 0.95rem;
}
.site-nav a:hover { background: var(--spb-surface); }
.site-nav a[aria-current="page"] { color: var(--spb-accent); box-shadow: inset 0 -2px 0 var(--spb-accent); border-radius: 0; }

@media (max-width: 47.99rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--spb-hit); min-width: var(--spb-hit);
    padding: 0 0.9rem; border-radius: var(--spb-radius-pill);
    border: 2px solid var(--spb-border-strong); background: var(--spb-bg-sunken); color: var(--spb-text);
    font: var(--spb-weight-bold) var(--spb-text-sm) / 1 var(--spb-font-ui); cursor: pointer;
  }
  .nav-toggle__bars { width: 16px; height: 10px; position: relative; border-block: 2px solid currentColor; }
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
  .js .site-nav { display: none; flex-basis: 100%; padding-bottom: var(--spb-space-3); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { display: flex; min-height: 48px; border-radius: var(--spb-radius-field); font-size: var(--spb-text-base); }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--spb-accent); }
  .no-js-nav .site-nav, html:not(.js) .site-nav { flex-basis: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); position: relative; }
.section[data-theme] { background-color: var(--spb-bg); color: var(--spb-text); }
.section--pattern { background-color: var(--spb-bg); background-image: var(--spb-pattern); background-size: var(--spb-pattern-size) var(--spb-pattern-size); }
.section--surface { background: var(--spb-bg-sunken); }
.section-head { max-width: 52rem; margin-bottom: var(--spb-space-6); }
.section-head.center { text-align: center; }
.perf { height: 6px; border: 0; margin: 0; background: radial-gradient(circle, var(--spb-border-strong) 1.6px, #0000 2.1px) left center / 9px 6px repeat-x; }

/* ---------- Buttons and the store badge ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--spb-space-3); align-items: center; }
.spb-btn { gap: 0.55rem; text-align: center; line-height: 1.15; }
/* Under the App Store badge: how close the app is (Chuck, 2026-10-02). */
.badge-note { margin-top: var(--spb-space-2); color: var(--spb-text-muted); font-size: var(--spb-text-sm); }
.store-badge {
  min-height: 56px; padding: 0 1.25rem; gap: 0.7rem;
  font-size: var(--spb-text-base);
}
.store-badge svg { flex: none; width: 20px; height: 20px; }
.store-badge small { display: block; font-size: var(--spb-text-xs); font-weight: var(--spb-weight-medium); letter-spacing: 0.02em; opacity: 0.95; }
.store-badge span { text-align: left; }
.price-note { font-size: var(--spb-text-sm); color: var(--spb-text-subtle); margin: var(--spb-space-3) 0 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.75rem, 1rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero .wrap {
  display: grid; gap: var(--spb-space-5) var(--spb-space-8);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "demo" "more";
}
.hero-copy { grid-area: copy; }
.hero-demo { grid-area: demo; }
.hero-more { grid-area: more; }
.hero h1 { font-size: clamp(2.05rem, 1.35rem + 3.4vw, 3.6rem); margin-bottom: var(--spb-space-3); }
.hero-hook {
  font: var(--spb-weight-heavy) clamp(1.2rem, 1rem + 1vw, 1.5rem) / 1.25 var(--spb-font-display);
  color: var(--spb-accent); margin-bottom: var(--spb-space-5);
}
.hero-more p { color: var(--spb-text-muted); max-width: 34rem; }
@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "copy demo" "more demo";
    align-items: start;
  }
  .hero-copy { align-self: end; padding-top: var(--spb-space-6); }
  .hero-demo { justify-self: center; }
}

/* ---------- The demo ticket (vertical, phone-sized, stub on top) ---------- */
.demo { position: relative; width: min(100%, 23rem); margin-inline: auto; }
.demo .spb-ticket__paper {
  --tear: 2.75rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--tear) auto;
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 0 var(--tear), #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% var(--tear), #0000 var(--n), #000 calc(var(--n) + 0.5px));
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 0 var(--tear), #0000 var(--n), #000 calc(var(--n) + 0.5px)),
    radial-gradient(circle at 100% var(--tear), #0000 var(--n), #000 calc(var(--n) + 0.5px));
  mask-composite: intersect;
}
.demo .spb-ticket__stub { display: flex; justify-content: space-between; align-items: center; padding: 0 1.1rem; }
.demo .spb-ticket__stub::after {
  top: auto; bottom: -3px; left: calc(var(--n) + 4px); right: calc(var(--n) + 4px); width: auto; height: 6px;
  background: radial-gradient(circle, var(--spb-ticket-edge) 1.6px, #0000 2.1px) left center / 9px 6px repeat-x;
}
.demo .spb-ticket__admit { writing-mode: horizontal-tb; transform: none; font-size: var(--spb-text-sm); letter-spacing: 0.2em; }
.demo .stub-round { font: var(--spb-weight-heavy) var(--spb-text-xs) / 1 var(--spb-font-ui); letter-spacing: var(--spb-tracking-label); text-transform: uppercase; }
.demo .spb-ticket__body { padding: 0.85rem 0.75rem 0.8rem; }
.demo .spb-head { font-size: clamp(1.1rem, 0.9rem + 1vw, 1.4rem); color: var(--spb-forest-900); }
.demo .spb-grid { gap: 4px; }
.demo .spb-cell { aspect-ratio: 1 / 1.04; cursor: default; }
.demo .spb-cell:active { scale: 1; }

/* ---------- The card's squares, as in the app since 1.0.4 (build 8) and on guests' phones
   (join.css .sq): a thin outline and rounded corners, short names, solid fills when marked. No folded
   corners here (Chuck, 2026-10-27: on the demo they raise questions before the idea lands). site.js sets each square's lines and the card's one text
   size (docs/CARD-TEXT.md). ---------- */
.demo .spb-cell, .win-row .spb-cell {
  min-height: 0; padding: 3px 2px; place-items: center;
  background: #fffcf6; color: var(--spb-ink); border: 1px solid #cfc4ad; border-radius: 6px; box-shadow: none;
  font-weight: 600; line-height: 1.15; hyphens: none; overflow-wrap: normal; word-break: normal;
}
.demo .cell-text, .win-row .cell-text { display: block; max-width: 100%; white-space: pre; text-align: center; }
.demo .spb-cell.squeeze .cell-text, .win-row .spb-cell.squeeze .cell-text { white-space: normal; overflow-wrap: anywhere; }
.ticker {
  display: flex; align-items: baseline; gap: 0.5rem; min-height: 3.35rem; margin-top: 0.7rem; padding: 0.55rem 0.7rem;
  border-radius: 8px; background: var(--spb-cream-200); color: var(--spb-ink);
  font: var(--spb-weight-medium) var(--spb-text-sm) / 1.25 var(--spb-font-ui);
}
.ticker b {
  flex: none; font: var(--spb-weight-heavy) 0.625rem / 1.6 var(--spb-font-ui); letter-spacing: var(--spb-tracking-label);
  text-transform: uppercase; color: var(--spb-brass);
}
.ticker span { transition: opacity var(--spb-dur-fade) linear; }
.ticker.is-swapping span { opacity: 0; }
.demo-controls { display: flex; justify-content: center; margin-top: var(--spb-space-3); min-height: var(--spb-hit); }
.link-btn {
  min-height: var(--spb-hit); padding: 0 0.9rem; border: 0; background: transparent; color: var(--spb-link);
  font: var(--spb-weight-bold) var(--spb-text-sm) / 1 var(--spb-font-ui); text-decoration: underline; text-underline-offset: 0.2em;
  cursor: pointer; border-radius: var(--spb-radius-pill);
}
.link-btn[hidden] { display: none; }

/* A mark, set by class (the demo cells are not buttons): the square fills, as in the app. */
.spb-cell.is-daubed { background: var(--spb-dauber); color: var(--spb-on-dauber); border-color: var(--spb-dauber); box-shadow: none; }
.spb-cell.is-daubed:not(.is-win) { animation: spb-mark 180ms var(--spb-ease-out); }
.spb-cell.is-daubed.is-win {
  background: var(--spb-win); color: var(--spb-on-win); border-color: var(--spb-win);
  animation: spb-mark 220ms var(--spb-ease-stamp) both; animation-delay: calc(var(--i, 0) * var(--spb-dur-bingo-step));
}
@keyframes spb-mark {
  0% { scale: 1; } 45% { scale: 1.07; } 100% { scale: 1; }
}

/* Dealing: each square drops onto the card, 18ms apart, 200ms each. */
.js .demo.is-predeal .spb-cell { opacity: 0; translate: 0 -8px; scale: 0.94; }
.js .demo.is-predeal .stamp-layer { opacity: 0; }
.demo.is-dealing .spb-cell {
  transition: opacity 200ms var(--spb-ease-out), translate 200ms var(--spb-ease-out), scale 200ms var(--spb-ease-stamp),
    background-color var(--spb-dur-base) var(--spb-ease-out), color var(--spb-dur-base) var(--spb-ease-out);
  transition-delay: calc(var(--i, 0) * 18ms);
}
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }

/* The Bingo stamp and its burst */
.stamp-layer {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 3;
}
.stamp-layer .spb-stamp { font-size: clamp(2.6rem, 2rem + 3vw, 3.6rem); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.55); animation: none; opacity: 0; }
.stamp-layer.is-on .spb-stamp { opacity: 1; animation: spb-stamp var(--spb-dur-stamp) var(--spb-ease-stamp) both; }
.demo .stamp-layer { top: auto; bottom: 10%; height: 34%; }
.win-row .stamp-layer { top: auto; bottom: 0; height: 60%; place-items: end center; }
.burst { position: absolute; width: 14rem; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--spb-gold); opacity: 0; }
.stamp-layer.is-on .burst { animation: spb-burst 380ms var(--spb-ease-out) both; }
.burst--2 { width: 9rem; border-width: 2px; }
.stamp-layer.is-on .burst--2 { animation-delay: 40ms; }
@keyframes spb-burst {
  from { scale: 0.55; opacity: 0.7; }
  to   { scale: 1.35; opacity: 0; }
}
.demo.is-thud .spb-ticket { animation: spb-thud 200ms var(--spb-ease-out); }
@keyframes spb-thud {
  0% { translate: 0 0; } 40% { translate: 0 3px; } 100% { translate: 0 0; }
}

/* ---------- Scroll reveals ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 14px;
  transition: opacity 320ms var(--spb-ease-out), translate 320ms var(--spb-ease-out);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- Three piles ---------- */
.piles { display: grid; gap: var(--spb-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .piles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pile {
  background: var(--spb-surface); border: 1px solid var(--spb-border); border-radius: var(--spb-radius-panel);
  padding: var(--spb-space-5); box-shadow: var(--spb-shadow-paper);
}
.pile h3 { margin-bottom: 0.25rem; }
.pile > p { color: var(--spb-text-muted); margin-bottom: var(--spb-space-4); }
.pile-num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: var(--spb-space-3);
  border-radius: 50%; background: var(--spb-dauber); color: var(--spb-on-dauber);
  font: var(--spb-weight-black) var(--spb-text-sm) / 1 var(--spb-font-display);
}
.squares { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.squares .spb-cell {
  width: 100%; min-height: var(--spb-hit); padding: 0.7rem 0.9rem; place-items: center start; text-align: left;
  font-size: var(--spb-text-base); font-weight: var(--spb-weight-medium); line-height: 1.3; hyphens: manual;
  box-shadow: inset 0 0 0 1.5px var(--spb-border-strong);
}
.pile-foot { margin-top: var(--spb-space-6); display: grid; gap: var(--spb-space-2); justify-items: center; text-align: center; }
.pull {
  font: var(--spb-weight-black) clamp(1.5rem, 1.1rem + 2vw, 2.25rem) / 1.15 var(--spb-font-display);
  letter-spacing: var(--spb-tracking-head); margin: 0;
}

/* ---------- Steps (the host's job) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--spb-space-4); grid-template-columns: minmax(0, 1fr); counter-reset: step; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr);
  background: var(--spb-cream); color: var(--spb-ink); border-radius: var(--spb-radius-ticket); overflow: hidden;
  box-shadow: var(--spb-shadow-paper);
}
.step::before {
  content: counter(step); display: grid; place-items: center; background: var(--spb-gold); color: var(--spb-gold-ink);
  font: var(--spb-weight-black) 1.5rem / 1 var(--spb-font-display);
  border-right: 2px dotted var(--spb-forest-900);
}
.step div { padding: var(--spb-space-4); }
.step h3 { font-size: var(--spb-text-lg); margin-bottom: 0.3rem; color: var(--spb-forest-900); }
.step p { margin: 0; color: #3F5A4C; font-size: var(--spb-text-base); }

/* ---------- The Bingo row ---------- */
.bingo-grid { display: grid; gap: var(--spb-space-7); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .bingo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.win-row { position: relative; padding-block: var(--spb-space-6) clamp(4.5rem, 3rem + 5vw, 7rem); }
.win-row .spb-grid { gap: 6px; }
.win-row .spb-cell { aspect-ratio: 1 / 1.15; cursor: inherit; padding: 4px 3px; }
.win-row .stamp-layer .spb-stamp { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.5rem); }
.win-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--spb-space-3); }
.win-list li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: var(--spb-space-3); align-items: start; }
.win-list li::before {
  content: ""; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; border-radius: 48% 52% 50% 50% / 52% 47% 53% 48%;
  background: var(--spb-gold);
}
.win-list strong { display: block; font-family: var(--spb-font-display); font-size: var(--spb-text-lg); line-height: 1.25; }
.win-list span { color: var(--spb-text-muted); }

/* ---------- Split / cards ---------- */
.split { display: grid; gap: var(--spb-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  background: var(--spb-surface); border: 1px solid var(--spb-border); border-radius: var(--spb-radius-panel);
  padding: var(--spb-space-5); box-shadow: var(--spb-shadow-paper);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--spb-space-2); }
.card .eyebrow { margin-bottom: var(--spb-space-2); }
.card ul { padding-left: 1.2rem; margin: 0 0 var(--spb-space-4); }
.card li + li { margin-top: 0.35rem; }

.heritage {
  display: grid; gap: var(--spb-space-5); align-items: center; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 52rem) { .heritage { grid-template-columns: 11rem minmax(0, 1fr); } }
.heritage img { width: 11rem; }
.heritage p:not(.eyebrow) { font: var(--spb-weight-medium) clamp(1.15rem, 1rem + 0.7vw, 1.4rem) / 1.5 var(--spb-font-ui); margin: 0; max-width: 44rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--spb-space-3); max-width: 46rem; }
.faq details {
  background: var(--spb-surface); border: 1px solid var(--spb-border); border-radius: var(--spb-radius-field);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--spb-space-3);
  min-height: 56px; padding: 0.75rem var(--spb-space-4); cursor: pointer; list-style: none;
  font: var(--spb-weight-bold) var(--spb-text-base) / 1.3 var(--spb-font-ui);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 2.5px solid var(--spb-accent); border-bottom: 2.5px solid var(--spb-accent);
  rotate: 45deg; translate: 0 -2px; transition: rotate var(--spb-dur-base) var(--spb-ease-out);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.faq .answer { padding: 0 var(--spb-space-4) var(--spb-space-4); color: var(--spb-text-muted); }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.cta .pull { max-width: 30rem; margin: 0 auto var(--spb-space-3); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--spb-space-6); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 38rem; margin-bottom: 0; }
.prose { max-width: var(--spb-measure); }
.prose h2 { margin-top: var(--spb-space-7); font-size: var(--spb-text-xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--spb-space-5); font-size: var(--spb-text-lg); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--spb-space-4); }
.prose li + li { margin-top: 0.4rem; }
.prose .card { margin-block: var(--spb-space-5); }
.draft-tag {
  display: inline-block; font: var(--spb-weight-heavy) var(--spb-text-xs) / 1 var(--spb-font-ui); letter-spacing: var(--spb-tracking-label);
  text-transform: uppercase; color: var(--spb-on-stub); background: var(--spb-ticket-stub); padding: 0.4em 0.7em; border-radius: var(--spb-radius-pill);
  vertical-align: middle;
}
.short-version { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--spb-space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.short-version li {
  display: flex; gap: 0.6rem; align-items: center; min-height: 3.25rem; padding: 0.6rem 0.9rem; margin: 0 !important;
  border-radius: var(--spb-radius-field); background: var(--spb-dauber); color: var(--spb-on-dauber); font-weight: var(--spb-weight-bold);
}
.short-version li::before { content: ""; flex: none; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--spb-gold); }

/* Timeline on /how */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 46rem; }
.timeline::before {
  content: ""; position: absolute; left: 1.2rem; top: 0.5rem; bottom: 0.5rem; width: 6px; translate: -50% 0;
  background: radial-gradient(circle, var(--spb-border-strong) 1.6px, #0000 2.1px) center top / 6px 9px repeat-y;
}
.timeline > li { position: relative; padding: 0 0 var(--spb-space-7) 3.5rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .when {
  position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 48% 52% 50% 50% / 52% 47% 53% 48%; background: var(--spb-gold); color: var(--spb-gold-ink);
  font: var(--spb-weight-black) var(--spb-text-sm) / 1 var(--spb-font-display);
}
.timeline h2 { font-size: var(--spb-text-xl); margin-bottom: var(--spb-space-2); }
.timeline p, .timeline ul { color: var(--spb-text-muted); }
.timeline ul { padding-left: 1.2rem; }
.timeline .quote-btns { padding-left: 0; }
/* How page: the explainer video, phone-shaped, centered. */
.explainer { max-width: 340px; margin: 0 auto; }
.explainer__stage { position: relative; }
.sound-btn { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); z-index: 2; min-height: 40px; padding: 0 1rem; gap: 0.5rem; font-size: 0.95rem; white-space: nowrap; }
.sound-btn[hidden] { display: none; }
.explainer video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; background: var(--spb-bg, #1A3A2B); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.explainer figcaption { margin-top: var(--spb-space-3); text-align: center; color: var(--spb-text-muted); font-size: var(--spb-text-sm, 0.9rem); }
/* How page: each step as short bullets, for skim readers. */
.timeline .points { list-style: disc; margin: 0 0 var(--spb-space-4); }
.timeline .points li + li { margin-top: var(--spb-space-1); }
/* Quotes of the app's buttons. Deliberately not button-shaped: dashed, small, no fill, so nobody taps them. */
.quote-btns { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.5rem; margin: 0 0 var(--spb-space-4); padding: 0; list-style: none; cursor: default; }
.quote-btns::before {
  content: "On screen:"; content: "On screen:" / "";
  font: var(--spb-weight-heavy) var(--spb-text-xs) / 1.2 var(--spb-font-ui); letter-spacing: var(--spb-tracking-label);
  text-transform: uppercase; color: var(--spb-label);
}
.quote-btns li {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 6px; margin: 0 !important;
  font-weight: var(--spb-weight-bold); font-size: var(--spb-text-sm); line-height: 1.35;
  background: transparent; border: 1.5px dashed var(--spb-border-strong); color: var(--spb-text-muted);
}
.quote-btns li::before { content: "\201C"; }
.quote-btns li::after { content: "\201D"; }
.quote-btns li.is-primary { border-color: var(--spb-accent); color: var(--spb-text); }

/* Rooms on /hosts */
.room { position: relative; overflow: hidden; }
.room .room-tag {
  display: inline-block; margin-bottom: var(--spb-space-3); padding: 0.35rem 0.7rem; border-radius: var(--spb-radius-pill);
  background: var(--spb-gold); color: var(--spb-gold-ink); font: var(--spb-weight-heavy) var(--spb-text-xs) / 1 var(--spb-font-ui);
  letter-spacing: var(--spb-tracking-label); text-transform: uppercase;
}
.tip { border-left: 4px solid var(--spb-accent); padding: 0.2rem 0 0.2rem var(--spb-space-4); color: var(--spb-text-muted); margin: 0; }
/* "Before the party" above a step list (home, For hosts): room between the callout and step 1. */
.tip + .steps { margin-top: var(--spb-space-5); }

/* ---------- Form (/suggest) ---------- */
.form-grid { display: grid; gap: var(--spb-space-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .form-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.field { margin-bottom: var(--spb-space-5); }
.field:last-of-type { margin-bottom: var(--spb-space-4); }
label, legend { display: block; font-weight: var(--spb-weight-bold); margin-bottom: var(--spb-space-2); }
.hint { font-size: var(--spb-text-sm); color: var(--spb-text-subtle); margin: var(--spb-space-2) 0 0; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 0.9rem; border-radius: var(--spb-radius-field);
  border: 2px solid var(--spb-border-strong); background: var(--spb-bg-sunken); color: var(--spb-text);
  font: var(--spb-weight-regular) var(--spb-text-base) / 1.4 var(--spb-font-ui);
}
textarea { min-height: 7rem; resize: vertical; }
::placeholder { color: var(--spb-placeholder); opacity: 1; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--spb-accent) 50%), linear-gradient(135deg, var(--spb-accent) 50%, transparent 50%);
  background-position: right 1.25rem center, right 0.9rem center; background-size: 0.4rem 0.4rem; background-repeat: no-repeat;
}
fieldset { border: 0; padding: 0; margin: 0 0 var(--spb-space-5); min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: var(--spb-hit); padding: 0 1rem; border-radius: var(--spb-radius-pill);
  border: 2px solid var(--spb-border-strong); background: var(--spb-bg-sunken); color: var(--spb-text); font-weight: var(--spb-weight-medium);
  transition: background-color var(--spb-dur-base) var(--spb-ease-out), color var(--spb-dur-base) var(--spb-ease-out);
}
.chip input:checked + span { background: var(--spb-accent); border-color: var(--spb-accent); color: var(--spb-on-accent); }
.chip input:focus-visible + span { outline: var(--spb-focus-width) solid var(--spb-focus); outline-offset: 2px; }
.form-msg { margin: var(--spb-space-4) 0 0; font-weight: var(--spb-weight-medium); }
.form-msg.err { color: var(--spb-danger-text); }
.counter { float: right; font-weight: var(--spb-weight-regular); font-size: var(--spb-text-sm); color: var(--spb-text-subtle); }
/* One checkbox with its sentence beside it (/review): the box keeps its own column when the text wraps. */
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--spb-space-3); align-items: start; font-weight: var(--spb-weight-medium); cursor: pointer; }
.consent input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; accent-color: var(--spb-accent); cursor: pointer; }
.consent + .hint { padding-left: calc(1.5rem + var(--spb-space-3)); }
#review-form [hidden] { display: none !important; }
#review-form.is-sent .form-msg { margin: 0; font-size: var(--spb-text-lg); }
/* The preview scrolls with the page: pinned, it slid over the rules card under it (Chuck, 2026-10-27). */
.preview .spb-cell {
  width: min(100%, 13rem); aspect-ratio: 1; min-height: 0; margin: 0 auto; padding: 0.9rem;
  font-size: var(--spb-text-base); line-height: 1.25; cursor: default; hyphens: manual;
  box-shadow: inset 0 0 0 1.5px var(--spb-cell-line), var(--spb-shadow-paper);
}
.preview .spb-cell.is-empty { color: #6b6b6b; font-weight: var(--spb-weight-regular); }
.preview-cap { text-align: center; margin-top: var(--spb-space-3); }
.preview--inline { display: flex; align-items: center; gap: var(--spb-space-3); margin-top: var(--spb-space-3); }
.preview--inline .spb-cell { width: 6.5rem; margin: 0; padding: 0.5rem; font-size: var(--spb-text-sm); flex: none; }
.preview--inline .preview-cap { margin: 0; text-align: left; }
@media (max-width: 59.99rem) { .preview--side { display: none; } }
@media (min-width: 60rem) { .preview--inline { display: none; } }
.copy-box { margin-top: var(--spb-space-4); }
.copy-box pre {
  white-space: pre-wrap; overflow-wrap: break-word; margin: 0 0 var(--spb-space-3); padding: var(--spb-space-4);
  border-radius: var(--spb-radius-field); background: var(--spb-bg-sunken); border: 1px solid var(--spb-border);
  font: var(--spb-text-sm) / 1.5 var(--spb-font-mono);
}

/* ---------- 404 ---------- */
.lost { text-align: center; padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.lost .spb-cell {
  width: 9rem; aspect-ratio: 1; min-height: 0; margin: 0 auto var(--spb-space-5); font-size: var(--spb-text-sm);
  cursor: default; box-shadow: inset 0 0 0 1.5px var(--spb-cell-line), var(--spb-shadow-paper); padding: 0.6rem;
}
.lost .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--spb-border); padding-block: var(--spb-space-7) var(--spb-space-6); background: var(--spb-bg-sunken); }
.foot-grid { display: grid; gap: var(--spb-space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); column-gap: var(--spb-space-8); } }
.site-footer img { height: 30px; width: auto; display: block; margin-bottom: var(--spb-space-3); }
.site-footer h2 { font-size: var(--spb-text-xs); font-family: var(--spb-font-ui); letter-spacing: var(--spb-tracking-label); text-transform: uppercase; color: var(--spb-label); margin-bottom: var(--spb-space-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; max-width: 100%; min-height: var(--spb-hit); color: var(--spb-text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer .small { margin: 0; max-width: 26rem; }
/* Instagram, Facebook and X as icons (Simple Icons shapes, inlined so the site loads nothing from outside). */
.site-footer .social-links { display: flex; gap: var(--spb-space-2); margin-top: var(--spb-space-2); }
.site-footer .social-links a { justify-content: center; min-width: var(--spb-hit); border-radius: var(--spb-radius-pill); color: var(--spb-text); transition: color var(--spb-dur-base) var(--spb-ease-out); }
.site-footer .social-links svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer .social-links a:hover, .site-footer .social-links a:focus-visible { color: var(--spb-gold); text-decoration: none; }
.fine { margin-top: var(--spb-space-6); padding-top: var(--spb-space-4); border-top: 1px solid var(--spb-border); display: flex; flex-wrap: wrap; gap: var(--spb-space-2) var(--spb-space-5); justify-content: space-between; }

/* ---------- Reduced motion: nothing moves ----------
   The demos don't play; the finished card shows on load. Per BRAND.md, the stamp and the
   ticker text keep only the 140ms opacity fade, so a change is never a jump cut. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stamp-layer .spb-stamp, .ticker span { transition: opacity var(--spb-dur-fade) linear !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .demo.is-predeal .spb-cell { opacity: 1; translate: none; scale: none; }
  .stamp-layer.is-on .spb-stamp { opacity: 1; }
  .burst { display: none; }
}
.h3 { font-size: var(--spb-text-lg); }

/* Phones: keep the card in the first screen. The second button moves below the card. */
.hero-more .spb-btn { margin-bottom: var(--spb-space-4); }
@media (max-width: 59.99rem) {
  .hero { padding-top: 1.25rem; }
  .hero .wrap { row-gap: var(--spb-space-4); }
  .hero .eyebrow { margin-bottom: var(--spb-space-2); }
  .hero-hook { margin-bottom: var(--spb-space-4); }
  .hero-copy .spb-btn--secondary { display: none; }
  .store-badge { padding: 0 1rem; font-size: 0.95rem; }
}
@media (min-width: 60rem) { .hero-more .spb-btn { display: none; } }
/* Desktop: the two hero buttons stay side by side, even in a narrow window. */
@media (min-width: 60rem) { .hero-copy .actions { flex-wrap: nowrap; } }
@media (min-width: 60rem) and (max-width: 79.99rem) {
  .hero-copy .store-badge { padding: 0 1rem; font-size: 0.95rem; }
  .hero-copy .spb-btn--secondary { padding-inline: 1.1rem; }
}
@media (max-width: 39.99rem) {
  .win-row .spb-cell { aspect-ratio: 1 / 1.75; font-size: 0.72rem; }
}
.fine p { margin: 0; }
.prose .short-version { padding-left: 0; }

/* No runts (Chuck, 2026-09-29). Headings and one-liners are balanced. Paragraphs wrap normally,
   using the full width; site.js joins each paragraph's last two words so it never ends on a lone word.
   (text-wrap: pretty/balance on paragraphs made them wrap far too early.) */
h1, h2, h3, h4, .eyebrow, .hero-hook, .pull { text-wrap: balance; }

/* "Android phones play, too" seal over the hero card's bottom corner (Chuck, 2026-09-29). */
.demo { position: relative; }
.android-seal {
  position: absolute; right: -2.6rem; bottom: -4.6rem; z-index: 5;
  width: clamp(6.25rem, 5rem + 4vw, 8.25rem); aspect-ratio: 1;
  display: grid; place-items: center; text-align: center;
  background: var(--spb-gold); color: var(--spb-gold-ink);
  clip-path: polygon(50.00% 0.00%, 53.97% 4.67%, 58.68% 0.76%, 61.78% 6.05%, 67.10% 3.02%, 69.23% 8.76%, 75.00% 6.70%, 76.10% 12.73%, 82.14% 11.70%, 82.17% 17.83%, 88.30% 17.86%, 87.27% 23.90%, 93.30% 25.00%, 91.24% 30.77%, 96.98% 32.90%, 93.95% 38.22%, 99.24% 41.32%, 95.33% 46.03%, 100.00% 50.00%, 95.33% 53.97%, 99.24% 58.68%, 93.95% 61.78%, 96.98% 67.10%, 91.24% 69.23%, 93.30% 75.00%, 87.27% 76.10%, 88.30% 82.14%, 82.17% 82.17%, 82.14% 88.30%, 76.10% 87.27%, 75.00% 93.30%, 69.23% 91.24%, 67.10% 96.98%, 61.78% 93.95%, 58.68% 99.24%, 53.97% 95.33%, 50.00% 100.00%, 46.03% 95.33%, 41.32% 99.24%, 38.22% 93.95%, 32.90% 96.98%, 30.77% 91.24%, 25.00% 93.30%, 23.90% 87.27%, 17.86% 88.30%, 17.83% 82.17%, 11.70% 82.14%, 12.73% 76.10%, 6.70% 75.00%, 8.76% 69.23%, 3.02% 67.10%, 6.05% 61.78%, 0.76% 58.68%, 4.67% 53.97%, 0.00% 50.00%, 4.67% 46.03%, 0.76% 41.32%, 6.05% 38.22%, 3.02% 32.90%, 8.76% 30.77%, 6.70% 25.00%, 12.73% 23.90%, 11.70% 17.86%, 17.83% 17.83%, 17.86% 11.70%, 23.90% 12.73%, 25.00% 6.70%, 30.77% 8.76%, 32.90% 3.02%, 38.22% 6.05%, 41.32% 0.76%, 46.03% 4.67%);
  transform: rotate(-12deg);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35));
  animation: seal-in 380ms cubic-bezier(.2,1.4,.4,1) 1.2s both;
}
.android-seal span {
  font: var(--spb-weight-heavy) clamp(0.78rem, 0.66rem + 0.5vw, 0.98rem) / 1.08 var(--spb-font-display);
  text-transform: uppercase; letter-spacing: 0.02em;
}
@keyframes seal-in { from { transform: rotate(-12deg) scale(0.4); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .android-seal { animation: none; } }
@media (max-width: 40rem) { .android-seal { right: -0.6rem; bottom: -3.6rem; } }
.hero-demo { padding-bottom: 2.5rem; }

/* The hero card replays on tap (Chuck, 2026-09-29). */
.hero-demo .demo { cursor: pointer; }

/* Pressed-ticket feel (Chuck, 2026-09-29): the card sinks about 3% under a tap or click, then
   springs back. Uses the independent `scale` property so it never fights the demo's own transforms. The
   seal is inside .demo, so it moves with the card. */
.hero-demo .demo { transition: scale 150ms cubic-bezier(.3, 1.4, .5, 1); }
.hero-demo .demo.is-pressed { scale: 0.97; transition-duration: 70ms; }
@media (prefers-reduced-motion: reduce) { .hero-demo .demo.is-pressed { scale: none; } }

/* ---------- Pick a sport (above the hero card; needs the script, so hidden without it) ---------- */
.sport-pick { display: none; }
.js .sport-pick { display: flex; flex-direction: column; align-items: center; gap: var(--spb-space-2); margin-bottom: var(--spb-space-4); }
.sport-pick__label {
  margin: 0; color: var(--spb-label);
  font: var(--spb-weight-heavy) var(--spb-text-xs) / 1 var(--spb-font-ui); letter-spacing: var(--spb-tracking-label); text-transform: uppercase;
}
.sport-pick__row { display: flex; gap: 0.75rem; }
.sport-btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0;
  border: 2px solid var(--spb-border-strong); border-radius: 50%;
  background: var(--spb-surface); color: var(--spb-text); cursor: pointer;
  transition: background-color var(--spb-dur-base) var(--spb-ease-out), border-color var(--spb-dur-base) var(--spb-ease-out), scale var(--spb-dur-tap) var(--spb-ease-out);
}
.sport-btn svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sport-btn .fill { fill: currentColor; }
.sport-btn .stitch { stroke-width: 4.2; stroke-linecap: butt; stroke-dasharray: 1.1 2.4; }
.sport-btn:hover { border-color: var(--spb-accent); }
.sport-btn:active { scale: 0.94; }
.sport-btn:focus-visible { outline: 3px solid var(--spb-focus); outline-offset: 3px; }
.sport-btn[aria-pressed="true"] { background: var(--spb-accent); border-color: var(--spb-accent); color: var(--spb-on-accent); }
@media (prefers-reduced-motion: reduce) { .sport-btn { transition: none; } .sport-btn:active { scale: none; } }

/* ---------- Hover: buttons lift a little and brighten; menu items turn gold with a growing underline.
   Only for a real pointer (phones have no hover), and no movement with reduced motion. ---------- */
.spb-btn, .sport-btn { transition: translate 160ms var(--spb-ease-out), box-shadow 160ms var(--spb-ease-out), background-color var(--spb-dur-base) var(--spb-ease-out), border-color var(--spb-dur-base) var(--spb-ease-out), color var(--spb-dur-base) var(--spb-ease-out), scale var(--spb-dur-tap) var(--spb-ease-out); }
.site-nav a { position: relative; transition: color var(--spb-dur-base) var(--spb-ease-out); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;   /* same place as the current page's underline */
  background: var(--spb-accent); scale: 0 1; transition: scale 200ms var(--spb-ease-out);
}
.brand-link img { transition: translate 180ms var(--spb-ease-out), scale 180ms var(--spb-ease-out); transform-origin: left center; }
@media (hover: hover) and (pointer: fine) {
  .brand-link:hover img { translate: 0 -2px; scale: 1.03; }
  .brand-link:active img { translate: 0 0; scale: 1; }
  .spb-btn:not([aria-disabled="true"]):hover { translate: 0 -2px; box-shadow: 0 6px 14px rgb(0 0 0 / 0.28); }
  .spb-btn--primary:hover { background: #F5D25A; }
  .spb-btn--secondary:hover { border-color: var(--spb-accent); color: var(--spb-accent); background: var(--spb-surface); }
  .spb-btn:not([aria-disabled="true"]):active { translate: 0 0; box-shadow: none; }
  .sport-btn:hover { translate: 0 -2px; box-shadow: 0 6px 14px rgb(0 0 0 / 0.28); }
  .sport-btn:not([aria-pressed="true"]):hover { color: var(--spb-accent); }
  .sport-btn:active { translate: 0 0; box-shadow: none; }
  .site-nav a:hover { background: transparent; color: var(--spb-accent); }
  .site-nav a:hover::after { scale: 1 1; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-toggle:hover { border-color: var(--spb-accent); color: var(--spb-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .spb-btn:hover, .sport-btn:hover, .brand-link:hover img { translate: none !important; scale: none !important; }
  .site-nav a::after { transition: none; }
}

/* The Bingo row replays when tapped, like the hero card (Chuck, 2026-09-29). */
.js .win-row { cursor: pointer; transition: scale 150ms cubic-bezier(.3, 1.4, .5, 1); }
.js .win-row:active { scale: 0.98; transition-duration: 70ms; }
@media (prefers-reduced-motion: reduce) { .js .win-row { cursor: default; } .js .win-row:active { scale: none; } }

/* ---------- Small layout helpers (replace the old inline styles; SITE-KIT section 4) ---------- */
.section--tight { padding-top: var(--spb-space-6); }        /* the first section after a page head */
.after { margin-top: var(--spb-space-5); }                  /* a follow-on line or link after a block */
.gap-above { margin-top: var(--spb-space-6); }
.gap-below { margin-bottom: var(--spb-space-7); }
.card--narrow { max-width: 46rem; }
.spb-btn--block { width: 100%; }

/* ---------- "The original, since 1998": a small stamp beside the header logo (Chuck, 2026-10-01) ---------- */
.brand-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.og-stamp {
  display: inline-grid; justify-items: center; align-content: center; gap: 2px;
  padding: 5px 9px 4px 10px;
  border: 1.5px solid var(--spb-gold); border-radius: 6px;
  background: var(--spb-forest-950);
  box-shadow: inset 0 0 0 2px var(--spb-forest-950), inset 0 0 0 2.75px rgba(240, 197, 58, 0.45);
  color: var(--spb-gold);
  font-family: var(--spb-font-display); font-weight: 900; text-transform: uppercase; line-height: 1;
  rotate: var(--spb-stamp-tilt); white-space: nowrap; user-select: none;
}
.og-stamp__main { font-size: 10.5px; letter-spacing: 0.14em; padding-left: 0.14em; }
.og-stamp__since { font-size: 7.5px; letter-spacing: 0.24em; padding-left: 0.24em; color: var(--spb-cream-label); font-weight: 800; }
/* Phones: just "The original" (the date is too small to read there). */
@media (max-width: 47.99rem) {
  .brand-row { gap: 10px; }
  .og-stamp { padding: 3px 6px 3px 7px; border-radius: 5px; gap: 1px; }
  .og-stamp__main { display: grid; justify-items: center; gap: 1px; font-size: 9px; letter-spacing: 0.1em; padding-left: 0.1em; }
  .og-stamp .og-the { font-size: 6.5px; letter-spacing: 0.3em; padding-left: 0.3em; opacity: 0.9; }
  .og-stamp__since { display: none; }
}

/* Home: the explainer beside the party stories (2026-10-08). Phones read heading, video, stories;
   wide screens put the stories on the left and the phone-shaped video on the right. */
.explainer__note { display: block; margin-top: var(--spb-space-1); }
.party-grid { display: grid; gap: var(--spb-space-6) var(--spb-space-8); grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "video" "list"; }
.party-grid > .section-head { grid-area: head; margin-bottom: 0; }
.party-grid > .party-video { grid-area: video; }
.party-grid > .win-list { grid-area: list; }
@media (min-width: 60rem) {
  .party-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "head video" "list video"; grid-template-rows: auto 1fr; align-items: start; }
  .party-grid > .party-video { align-self: center; }
}
/* /how/: the App Store button under the player, never over it. */
.explainer-cta { justify-content: center; margin-top: var(--spb-space-5); }

/* An email address breaks only where a <wbr> allows (after the @), never mid-word. */
.nowrap-parts { overflow-wrap: normal; word-break: keep-all; }

/* /party-shop/: product cards. Photo on top, name, price, one button per color.
   Two across on phones, three on tablets, four on wide screens. */
.shop-grid { display: grid; gap: var(--spb-space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 52rem) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spb-space-5); } }
@media (min-width: 64rem) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card {
  display: flex; flex-direction: column; gap: var(--spb-space-2);
  background: var(--spb-surface); border: 1px solid var(--spb-border); border-radius: var(--spb-radius-panel);
  padding: var(--spb-space-3); box-shadow: var(--spb-shadow-paper);
}
.shop-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--spb-radius-field); }
/* Hover: the card lifts a little, and a shirt or hoodie slowly turns around to show its back. */
.js .shop-card[data-reveal], .shop-card {
  transition: opacity 320ms var(--spb-ease-out) calc(var(--d, 0) * 60ms), translate 320ms var(--spb-ease-out) calc(var(--d, 0) * 60ms),
              transform 250ms var(--spb-ease-out), box-shadow 250ms var(--spb-ease-out);
}
.shop-card__pics { position: relative; transform: perspective(1400px) rotateY(0deg); transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.45, 0.05, 0.25, 1); }
.shop-card__pics img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.shop-card__back { position: absolute; inset: 0; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Says which side the turned card shows (Chuck, 2026-10-26: the back wasn't obvious). */
/* Shirts and hoodies: one card per color, three to a row, so each row is one design in green, sand and black. */
@media (min-width: 52rem) { .shop-grid--colors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-card__color { margin: 0; color: var(--spb-text-muted); font-size: var(--spb-text-sm); }
.shop-card__side {
  position: absolute; top: var(--spb-space-2); left: var(--spb-space-2); padding: 0.3em 0.75em; border-radius: var(--spb-radius-pill);
  background: var(--spb-felt); color: var(--spb-gold); font-size: var(--spb-text-xs); font-weight: var(--spb-weight-bold);
  letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
}
@media (hover: hover) {
  .shop-card:hover, .shop-card:focus-within { transform: translateY(-4px); box-shadow: var(--spb-shadow-paper), 0 18px 36px -16px rgba(0, 0, 0, 0.55); }
  .shop-card:hover .shop-card__pics--turns { transform: perspective(1400px) rotateY(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card:hover, .shop-card:focus-within { transform: none; }
  .shop-card__pics, .shop-card:hover .shop-card__pics--turns { transform: none; transition: none; }
  .shop-card__back { transform: none; opacity: 0; transition: opacity 0.25s ease; }
  .shop-card:hover .shop-card__back { opacity: 1; }
}
.shop-card h3 { font-size: var(--spb-text-base); line-height: var(--spb-leading-tight); margin: var(--spb-space-1) 0 0; }
.shop-card__price { margin: 0; font-weight: var(--spb-weight-bold); color: var(--spb-gold); }
.shop-card__buy { display: flex; flex-wrap: wrap; gap: var(--spb-space-2); margin-top: auto; padding-top: var(--spb-space-2); }
.shop-card__buy .spb-btn { flex: 1 1 6rem; min-height: var(--spb-hit); padding-inline: var(--spb-space-3); }

/* ---------- App screenshots (the redesigned app, 1.0.4): a phone-shaped frame beside the copy ---------- */
.shot-grid { display: grid; gap: var(--spb-space-6) var(--spb-space-8); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 52rem) { .shot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.shot { margin: 0 auto; width: min(100%, 300px); }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 34px;
  border: 6px solid #0b1f17; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); background: #1A3A2B;
}
.shot figcaption { margin-top: var(--spb-space-3); text-align: center; color: var(--spb-text-muted); font-size: var(--spb-text-sm); }
.shots { display: grid; gap: var(--spb-space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shots .shot { width: min(100%, 280px); }
.devices { margin: 0 auto; max-width: 56rem; }
.devices img { display: block; width: 100%; height: auto; }
/* A line break chosen for wide screens only; phones wrap on their own. */
.br-wide { display: none; }
@media (min-width: 60rem) { .br-wide { display: inline; } }
/* The explainer's words, under the player (WCAG 1.2: a text version of the video). */
.transcript { margin-top: var(--spb-space-3); text-align: left; }
.transcript summary { display: inline-flex; align-items: center; min-height: var(--spb-hit); cursor: pointer; color: var(--spb-link); font-weight: var(--spb-weight-bold); text-decoration: underline; text-underline-offset: 0.2em; }
.transcript ol { margin: var(--spb-space-2) 0 0; padding-left: 1.4rem; color: var(--spb-text-muted); font-size: var(--spb-text-sm); }
.transcript li + li { margin-top: 0.3rem; }
.devices-guests { margin-top: var(--spb-space-8); }
/* A room card that spans the whole row under the others (For hosts: the online party). */
@media (min-width: 52rem) { .room--wide { grid-column: 1 / -1; } }
