/* Goon Packs. Tokens come from the Goon Packs design system on the canvas. */

:root {
  color-scheme: light dark;
  --surface: #FFF7F2;
  --surface-raised: #FFFFFF;
  --ink: #1F1A24;
  --ink-muted: #6B6170;
  --line: #EADFE0;
  --brand: #D81E6A;
  --on-brand: #FFFFFF;
  --brand-deep: #D81E6A;
  --lemon: #FFD84D;
  --lilac: #E9DDFF;
  --success: #177A4F;
  --danger: #B3261E;
  --night: #17131A;
  --night-raised: #221C26;
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --pill: 999px;
  --gutter: 16px;
  /* The readable column. --edge centres it and falls back to the gutter once the
     viewport is narrower than the column itself. */
  --page: 1224px;
  --edge: max(var(--gutter), (100% - var(--page)) / 2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #17131A;
    --surface-raised: #221C26;
    --ink: #F6EEF2;
    --ink-muted: #A89CAD;
    --line: #3A3140;
    --brand: #FF5C9A;
    --on-brand: #17131A;
    --brand-deep: #DE2470;
    --lilac: #3B2E55;
    --success: #4CD69A;
    --danger: #FF8A80;
  }
}

/* Sections the design keeps dark in both themes */
.theme-dark {
  color-scheme: dark;
  --surface: #17131A;
  --surface-raised: #221C26;
  --ink: #F6EEF2;
  --ink-muted: #A89CAD;
  --line: #3A3140;
  --brand: #FF5C9A;
  --on-brand: #17131A;
  --brand-deep: #DE2470;
  --lilac: #3B2E55;
  --success: #4CD69A;
  --danger: #FF8A80;
  color: var(--ink);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
/* Components set their own display; `hidden` must still win */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; background: var(--surface); color: var(--ink); font: 400 15px/22px var(--font-sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
#main:focus { outline: none; }

.skip {
  position: absolute; left: 8px; top: -120px; z-index: 50;
  padding: 12px 16px; border-radius: var(--pill);
  background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 8px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1.5px solid transparent;
  font: 600 17px/24px var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-muted); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; }
@media (hover: hover) {
  .btn-primary:hover { filter: brightness(1.08); }
  .btn-outline:hover { border-color: var(--ink); }
}

/* Browse packs button, option B "Arrow disc" from the canvas */
.cta-disc {
  display: inline-flex; align-items: center; gap: 16px; height: 60px; padding: 0 8px 0 32px;
  border-radius: var(--pill); background: var(--brand); color: var(--on-brand);
  font: 800 24px/28px var(--font-display); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.cta-disc .disc {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--pill); background: var(--on-brand); color: var(--brand);
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out; }
  .cta-disc .disc { transition: transform 200ms ease-out; }
  .cta-disc:hover .disc, .cta-disc:focus-visible .disc { transform: translateX(4px); }
}

/* ---------- Age gate ---------- */

html[data-gate="required"] { overflow: hidden; }
/* Scaled up a little so the blur's soft edges fall outside the window, as on the canvas */
html[data-gate="required"] .page { filter: blur(16px); transform: scale(1.05); pointer-events: none; user-select: none; }

.gate {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 40px 32px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface-raised); color: var(--ink); text-align: center;
}
.gate[open] { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gate::backdrop { background: rgba(23, 19, 26, 0.66); }
.gate-logo { width: auto; height: 48px; }
.gate h2 { font: 700 32px/36px var(--font-display); letter-spacing: -0.01em; }
.gate p { max-width: 320px; color: var(--ink-muted); }
.gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.inline-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; list-style: none; margin: 0; padding: 0; }
.inline-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: var(--pill);
  color: var(--ink-muted); font: 500 13px/18px var(--font-sans); text-decoration: none;
}
@media (hover: hover) { .inline-links a:hover { color: var(--ink); text-decoration: underline; } }

/* ---------- Landing ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--night); }
.hero-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
}
.brand-link { display: inline-flex; border-radius: 12px; }
.brand-link img { width: auto; height: 32px; }
.header-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--pill);
  color: var(--ink); font: 600 15px/22px var(--font-sans); text-decoration: none;
}
@media (hover: hover) { .header-link:hover { background: rgba(246, 238, 242, 0.12); } }

.marquee { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 4px; padding-top: 4px; }
.marquee-row { min-height: 0; overflow: hidden; }
.marquee-track { display: flex; height: 100%; width: max-content; animation: marquee-left var(--duration, 90s) linear infinite; }
.marquee-track.is-right { animation-name: marquee-right; }
/* margin, not gap: the track slides by exactly half, so every tile must carry its own spacing */
.marquee-track img { flex: none; width: auto; height: 100%; margin-right: 4px; border-radius: var(--radius-sm); background: var(--night-raised); object-fit: cover; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }


.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 160px var(--edge) 40px;
  background: linear-gradient(rgba(23, 19, 26, 0) 0, rgba(23, 19, 26, 0.6) 96px, rgba(23, 19, 26, 0.92) 192px, rgba(23, 19, 26, 0.92) 100%);
}
.hero h1 { max-width: 15ch; font: 800 40px/40px var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 .accent { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }

@media (min-width: 768px) {
  .hero h1 { max-width: none; font-size: 56px; line-height: 56px; }
  .hero h1 .line { display: block; }
  .hero-copy { padding-bottom: 48px; padding-top: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Featured packs (below the hero) ---------- */

.packs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px var(--edge) 48px; }
.packs-intro { display: flex; flex-direction: column; gap: 8px; }
.kicker { color: var(--ink-muted); font: 500 13px/18px var(--font-sans); }
.packs-intro h2 { font: 700 32px/36px var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }

/* Pack list: a scrolling row of pills on phones, a column of rows on desktop */
/* Layout 1a. The pack choice is a pill row, not a stack of cards: browsing and configuring stop
   competing for the same column, and the choice never scrolls out of sight. No icons — a badge on
   every row carries no information, and the image count is the real content. */
.pack-switcher {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pack-switcher::-webkit-scrollbar { display: none; }
.pack-switcher li { flex: none; scroll-snap-align: start; }
.pack {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--pill); background: transparent;
  color: var(--ink-muted); font: 600 15px/22px var(--font-sans); white-space: nowrap; cursor: pointer;
}
.pack[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--surface); }
@media (hover: hover) { .pack:not([aria-pressed="true"]):hover { border-color: var(--ink-muted); color: var(--ink); } }
.pack:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.pack-stage { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stage {
  position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 62svh;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--night-raised);
}
.slides { position: absolute; inset: 0; touch-action: pan-y; }
.slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; }
.slide.is-current { opacity: 1; visibility: visible; }
.slide-fill { position: absolute; inset: -48px; background-position: center; background-size: cover; filter: blur(32px) brightness(0.45); }
.slide img { position: absolute; top: 0; left: 50%; width: auto; height: 100%; max-width: none; transform: translateX(-50%); }
/* Both arrows sit together, bottom right, so the shot is never covered at its centre line. */
.stage-nav { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; }
/* The stage takes focus itself, so the arrow keys have somewhere to be pressed */
.stage:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.stage-count {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 10px;
  border-radius: var(--pill); background: rgba(23, 19, 26, 0.72); color: #F6EEF2;
  font: 600 12px/16px var(--font-sans); font-variant-numeric: tabular-nums;
}

/* Every preview is a thumb, so the whole set is reachable by keyboard; the strip scrolls rather
   than hiding the rest behind a swipe. */
.stage-thumbs {
  display: flex; gap: 6px; margin: 0; padding: 0 0 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.stage-thumbs::-webkit-scrollbar { display: none; }
.stage-thumbs li { flex: none; scroll-snap-align: start; }
.thumb {
  display: block; width: 48px; padding: 0; overflow: hidden; border: 1.5px solid transparent;
  border-radius: 8px; background: none; cursor: pointer;
}
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 7px; background: var(--night-raised); }
.thumb[aria-current="true"] { border-color: var(--ink); }
@media (hover: hover) { .thumb:not([aria-current="true"]):hover { border-color: var(--ink-muted); } }
.thumb:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(246, 238, 242, 0.24); border-radius: var(--pill); background: rgba(23, 19, 26, 0.72); color: #F6EEF2; cursor: pointer;
}
@media (hover: hover) { .round-btn:hover { background: rgba(23, 19, 26, 0.92); border-color: rgba(246, 238, 242, 0.56); } }

/* Pricing: pick a size, optionally add videos, see the total. Real radios and a checkbox underneath, so keys and screen readers work as usual. */
/* The buy panel: name, then price, then options, then the action. Conventional commerce order,
   and the accent colour marks exactly one thing — the button. */
.buy-panel {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised);
}
.buy-panel h3 { font: 800 24px/28px var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.buy-stock { margin-top: -10px; color: var(--ink-muted); font: 500 13px/18px var(--font-sans); }
.buy-price { padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 700 34px/38px var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A fieldset brings its own padding and margin; without zeroing them the option rows sat 14px in
   from the name, price and quantity around them */
.option-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.option-group legend { margin-bottom: 8px; padding: 0; color: var(--ink-muted); font: 600 12px/16px var(--font-sans); }
/* Rows, not tiles: name, count and price line up in columns and are actually comparable. */
.sizes { display: flex; flex-direction: column; gap: 6px; }
.size {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
}
.size-dot { flex: none; width: 16px; height: 16px; border: 1.5px solid var(--ink-muted); border-radius: var(--pill); }
.size-text { display: flex; flex-direction: column; min-width: 0; }
.size-name { font: 600 14px/19px var(--font-sans); }
.size-images { color: var(--ink-muted); font: 500 12px/16px var(--font-sans); }
.size-price { margin-left: auto; font: 600 14px/20px var(--font-sans); font-variant-numeric: tabular-nums; }
.size:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size:has(input:checked) .size-dot { border-color: var(--ink); border-width: 4.5px; }
.size:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) { .size:not(:has(input:checked)):hover { border-color: var(--ink-muted); } }

.addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.addon:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .addon:not(:has(input:checked)):hover { border-color: var(--ink-muted); } }
.addon-text { display: flex; flex-direction: column; min-width: 0; }
.addon-hint { color: var(--ink-muted); font: 500 12px/16px var(--font-sans); }
.addon input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.addon-check { flex: none; width: 16px; height: 16px; border: 1.5px solid var(--ink-muted); border-radius: 5px; }
.addon:has(input:checked) .addon-check { border-color: var(--ink); background: var(--ink); }
.addon:has(input:focus-visible) .addon-check { outline: 3px solid var(--brand); outline-offset: 2px; }
.addon-name { font: 600 14px/20px var(--font-sans); }
.addon-price { margin-left: auto; color: var(--ink-muted); font: 500 14px/20px var(--font-sans); font-variant-numeric: tabular-nums; }

/* The purchase action is a rounded rectangle rather than a pill: it reads as a commit button
   instead of another chip in a page that already has several. Both copies of it match. */
.buy-action .btn, .buy-bar .btn { border-radius: 12px; }
/* White label. It needs a deeper fill than the accent to carry it: white on --brand is 2.9:1 in
   dark mode, and a 15px label owes 4.5:1. --brand-deep is 4.57:1 and reads as the same pink. */
.buy-action .btn-primary, .buy-bar .btn-primary { background: var(--brand-deep); color: #FFFFFF; }
.buy-action .btn { width: 100%; font-size: 15px; }
.buy-assurance { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--ink-muted); font: 500 12px/16px var(--font-sans); }
.assurance { display: inline-flex; align-items: center; gap: 5px; }
.assurance svg { flex: none; }
.assurance-rule { width: 1px; height: 11px; background: var(--line); }
/* A note, not a third reassurance. The tint and the icon put it in a different class of thing from
   the centred line above it, without a border: the panel is already a card and a card inside a card
   is a rewrite, not a style. */
.buy-note {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink-muted); font: 400 12px/17px var(--font-sans);
}
.buy-note svg { flex: none; margin-top: 1px; }

/* Pinned below 760px: the total and the action, always on screen, so the panel can be scrolled
   past without losing either. */
.buy-bar {
  display: none; position: fixed; inset: auto 0 0; z-index: 30; align-items: center; gap: 16px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  backdrop-filter: blur(10px);
}
.buy-bar-order { min-width: 0; }
.buy-bar-label { color: var(--ink-muted); font: 500 12px/16px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-price { font: 700 20px/24px var(--font-sans); font-variant-numeric: tabular-nums; }
.buy-bar .btn { flex: none; margin-left: auto; }
@media (max-width: 759px) {
  .buy-bar { display: flex; }
  .buy-panel .buy-action, .buy-panel .buy-assurance { display: none; }
  .packs { padding-bottom: 104px; }
}

.waitlist { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.waitlist h2 { font: 800 24px/28px var(--font-display); letter-spacing: -0.01em; }
/* The headline and the line under it are one pair, closer to each other than to the form */
.waitlist-head { display: flex; flex-direction: column; gap: 8px; }
.waitlist-lede { color: var(--ink-muted); }
.waitlist form { display: flex; flex-direction: column; gap: 16px; }
.waitlist .field { display: flex; flex-direction: column; gap: 8px; }
.waitlist label { font: 600 15px/22px var(--font-sans); }
/* Full width with the button under it: the standard email-capture stack. 17px stops iOS zooming
   the page when the field takes focus. */
.waitlist input[type="email"] {
  width: 100%; min-width: 0; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--ink-muted); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink);
  font: 400 17px/24px var(--font-sans);
}
/* An example address, never the label. The browser default grey sits near 4.5:1; this clears it. */
.waitlist input[type="email"]::placeholder { color: var(--ink-muted); opacity: 1; }
.waitlist input[type="email"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.waitlist input[type="email"][aria-invalid="true"] { border-color: var(--danger); }
@media (hover: hover) { .waitlist input[type="email"]:hover { border-color: var(--ink); } }
.field-msg, .form-msg { color: var(--danger); font: 500 15px/22px var(--font-sans); }
.field-msg:empty, .form-msg:empty { display: none; }
.fine { color: var(--ink-muted); font: 400 13px/18px var(--font-sans); }
.fine a { color: var(--ink); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* A plain line with a tick: the dialog is already the surface, so no box inside it */
.waitlist-done {
  display: flex; align-items: flex-start; gap: 12px;
}
.waitlist-done svg { flex: none; color: var(--success); }
.waitlist-done:focus { outline: none; }

/* The waitlist opens in a dialog: the script moves the section above into it. Without a script the
   section stays on the page and the links jump to it as before. */
.pricing-action .btn { width: 100%; }
.waitlist-modal {
  position: fixed; inset: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: auto;
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface-raised); color: var(--ink);
}
.waitlist-modal::backdrop { background: rgba(23, 19, 26, 0.66); }
/* Design 2a. The title bar names the pack you clicked and owns the close button; the one headline
   below it is the ask. */
.modal-bar {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px 8px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-pack { flex: 1; min-width: 0; margin: 0; color: var(--ink-muted); font: 600 14px/20px var(--font-sans); overflow-wrap: anywhere; }
.modal-close {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer;
}
.modal-close svg { width: 20px; height: 20px; }
@media (hover: hover) { .modal-close:hover { background: var(--surface); border-color: var(--ink-muted); } }
@media (pointer: coarse) { .modal-close { width: 44px; height: 44px; } }
.modal-body { padding: 24px 20px; }
.waitlist-modal .waitlist { gap: 20px; padding-top: 0; border-top: 0; }
.waitlist-modal .waitlist h2 { font: 800 22px/28px var(--font-display); letter-spacing: -0.01em; }
/* The dialog's one action wears the Buy pack button's shape and colour: it is the next step of the
   same thing, and the only accent in the dialog. */
.waitlist-modal .btn { width: 100%; border-radius: 12px; }
.waitlist-modal .btn-primary { background: var(--brand-deep); color: #FFFFFF; }
/* White on --brand-deep is 4.57:1 at rest, so a brightening hover (the shared brightness(1.08))
   takes the label under 4.5:1: 3.98:1 in dark mode. These three darken instead. */
@media (hover: hover) {
  .buy-action .btn-primary:hover, .buy-bar .btn-primary:hover, .waitlist-modal .btn-primary:hover { filter: brightness(0.9); }
}
/* The price, as a fact about launch rather than a charge: quiet, and phrased "at launch" */
.modal-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; padding: 16px 20px;
  border-top: 1px solid var(--line); background: var(--surface); color: var(--ink-muted); font: 400 13px/18px var(--font-sans);
}
.modal-price { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Eases in on open: a short fade with a small rise, no overshoot */
@media (prefers-reduced-motion: no-preference) {
  .waitlist-modal[open] { animation: wl-rise 220ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .waitlist-modal[open]::backdrop { animation: wl-fade 220ms ease-out both; }
}
@keyframes wl-rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1100px) {
  .packs {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas: "intro intro" "switcher switcher" "stage panel" "stage waitlist";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 40px; row-gap: 20px; padding-top: 48px; padding-bottom: 48px;
  }
  .packs-intro { grid-area: intro; }
  .pack-switcher { grid-area: switcher; margin: 0; padding: 0; overflow: visible; }
  .pack-stage { grid-area: stage; }
  .stage { aspect-ratio: auto; height: clamp(520px, calc(100svh - 200px), 820px); max-height: 820px; }
  .thumb { width: 60px; }
  .stage-nav { right: 20px; bottom: 20px; }
  .stage-count { left: 20px; bottom: 20px; }
  /* Sticky, because the answer to "what am I buying, for how much" should not scroll away while
     the shots do. */
  .buy-panel { grid-area: panel; position: sticky; top: 48px; align-self: start; padding: 26px; }
  .waitlist { grid-area: waitlist; }
}


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

/* ---------- FAQ (1a) ---------- */
.faq {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  margin-inline: var(--edge); padding: 40px 0 56px; border-top: 1px solid var(--line);
}
.faq-title { font: 800 26px/1.2 var(--font-display); letter-spacing: -0.015em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; gap: 16px; min-height: 24px; padding: 18px 0;
  font: 600 15px/22px var(--font-sans); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* The sign states the state; the empty alt keeps screen readers from announcing "plus" */
.faq-item summary::after { content: "+" / ""; margin-left: auto; color: var(--ink-muted); font: 400 20px/1 var(--font-sans); }
.faq-item[open] summary::after { content: "\2212" / ""; }
.faq-item summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) { .faq-item summary:hover { color: var(--brand); } }
.faq-item p { max-width: 560px; margin: -6px 0 0; padding-bottom: 18px; color: var(--ink-muted); font: 400 14px/22px var(--font-sans); }
/* The link gets its own line under the question, as 1a draws it, rather than trailing the sentence */
.faq-help { display: flex; flex-direction: column; gap: 14px; color: var(--ink-muted); font: 400 14px/22px var(--font-sans); }
.faq-help a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { .faq-help a:hover { color: var(--brand); } }
/* Wide: heading and the guide link in the left column, the questions on the right */
@media (min-width: 1100px) {
  .faq { grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "title list" "help list"; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
  .faq-title { grid-area: title; }
  .faq-list { grid-area: list; }
  .faq-help { grid-area: help; max-width: 260px; }
}

/* The consent strip. A bar rather than a modal: the age gate is already one, and two blocking
   dialogs before anyone sees a pack is a price this page cannot pay. It sits under the pinned buy
   bar so neither covers the other. */
.consent {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding: 14px var(--edge) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-raised) 96%, transparent); backdrop-filter: blur(10px);
}
.consent[hidden] { display: none; }
.consent-text { flex: 1 1 320px; min-width: 0; color: var(--ink-muted); font: 400 13px/18px var(--font-sans); }
.consent-text a { color: var(--ink); }
/* Same size, same weight, same prominence: the decline is a real option, not a dark pattern. */
.consent-actions { display: flex; gap: 8px; margin-left: auto; }
.consent-actions .btn { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
body:has(.consent:not([hidden])) .buy-bar { bottom: 74px; }
@media (max-width: 759px) {
  .consent-actions { flex: 1 1 auto; margin-left: 0; }
  .consent-actions .btn { flex: 1; }
  body:has(.consent:not([hidden])) .buy-bar { bottom: 126px; }
}

/* A button that reads as a link, for the footer control that reopens the choice. */
.link-btn { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (hover: hover) { .link-btn:hover { color: var(--ink); text-decoration: underline; } }

.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 24px var(--edge) 32px; border-top: 1px solid var(--line);
  color: var(--ink-muted); font: 400 13px/18px var(--font-sans);
}
.site-footer.theme-dark { background: var(--night); }
.site-footer .inline-links { justify-content: flex-start; margin-left: -8px; }

/* ---------- Simple pages: legal, joined, 404 ---------- */

.bar { display: flex; align-items: center; min-height: 72px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.prose { max-width: 72ch; margin: 0 auto; padding: 40px var(--gutter) 64px; font: 400 17px/26px var(--font-sans); }
.prose h1 { font: 700 32px/36px var(--font-display); letter-spacing: -0.01em; }
.prose .updated { margin-top: 8px; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.prose h2 { margin-top: 40px; font: 800 24px/28px var(--font-display); letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--brand); }
.center-page { display: grid; place-items: center; min-height: calc(100vh - 72px - 96px); padding: 48px var(--gutter); text-align: center; }
.center-page > div { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 32rem; }
.center-page h1 { font: 700 32px/36px var(--font-display); letter-spacing: -0.01em; }
.center-page p { color: var(--ink-muted); }
.center-page .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Quantity: the usual storefront stepper, minus and plus either side of a field you can type in */
.quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.quantity-label { flex: 1; font: 600 14px/20px var(--font-sans); }
.stepper {
  display: inline-flex; align-items: center; overflow: hidden;
  border: 1.5px solid var(--ink-muted); border-radius: var(--pill); background: var(--surface-raised);
}
.stepper-btn {
  width: 38px; height: 38px; flex: none; border: 0; background: transparent;
  color: var(--ink); font: 700 17px/1 var(--font-sans); cursor: pointer;
}
.stepper-btn:disabled { opacity: 0.4; cursor: default; }
@media (pointer: coarse) {
  .stepper-btn { width: 44px; height: 44px; }
  .stepper-input { height: 44px; }
}
@media (hover: hover) { .stepper-btn:not(:disabled):hover { background: var(--lilac); } }
.stepper-input {
  width: 2.75rem; height: 38px; border: 0; border-inline: 1.5px solid var(--line);
  background: transparent; color: var(--ink); text-align: center;
  font: 700 15px/1 var(--font-sans); appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.stepper-btn:focus-visible, .stepper-input:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.quantity-note { width: 100%; margin: 0; color: var(--ink-muted); font: 500 12px/16px var(--font-sans); }
.quantity-note:empty { display: none; }

