/* forfree.gg home, slice 03 (2026-11-01). ForFree Show LLC, SITE design.
   Needs tokens.css and components.css first. This file places the home page and adds the parts that are new
   in this slice: the hero stage with the slogan, the torn ticket with the split-flap board, the stamped rule
   card, the Hoard film strip, the comic strip, the Parade rail, the Hunt poster and the brands panel.
   Phone first (390 x 844, then 430 x 932), 768 for tablets, 1024 and 1440 for desktops.
   Dials: variance high, motion high but purposeful, density medium.
   Shape rule stays: square cards with hard offset shadows, 8 px controls, round pills, die-cut stickers. */

/* ================================================================ page */
.ff-page-home { overflow-x: clip; }
.ff-page-home main { display: block; }
.ff-sec { padding-top: 64px; }
.ff-sec__head { display: grid; gap: 10px; max-width: 46ch; }
.ff-sec__head .ff-lead { color: var(--ff-text-muted); }
.ff-sec__head .ff-lead strong { color: var(--ff-text); font-weight: 700; }

/* ================================================================ hero */
.hero { display: grid; gap: 0; }
.hero__title { padding-bottom: 0; }
@media (max-width: 899.98px) {
  /* The bar above the title is empty until the title scrolls away, so the sticker sits up under the status bar. */
  .ff-page-home .hero__title { padding-top: calc(var(--ff-safe-top) + 14px); }
}
.hero__title .ff-wordmark__logo { width: min(196px, 52vw); margin-left: -6px; }
.hero__lead { margin-top: 6px; max-width: 34ch; color: var(--ff-text-muted); font-size: var(--ff-t-callout-size); line-height: 1.42; }
.hero__lead strong { color: var(--ff-text); font-weight: 700; }

/* The stage: a world panel, full bleed on phones, with the slogan painted on the back wall. */
.hero__stagewrap { position: relative; margin-top: 14px; }
.hero__stage {
  --actor-h: 78%;
  --floor-y: 14%;
  --home-x: -0.24;
  --ray-x: 24%;
  --ray-y: 40%;
  --bubble-max: 220px;
  height: clamp(300px, 80vw, 340px);
  margin-inline: calc(-1 * var(--ff-gutter-l)) calc(-1 * var(--ff-gutter-r));
  border-block: 2.5px solid var(--ff-rig-ink);
}
.hero__slogan {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 18px;
  margin: 0;
  width: min(9ch, 52%);
  padding-right: 2px;
  text-align: right;
  font-family: var(--ff-font-display);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.125rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ff-world-text);
  text-wrap: balance;
  pointer-events: none;
}
.hero__slogan .w { display: inline-block; }
.hero__slogan .ff-mark { white-space: nowrap; display: inline-block; line-height: 1; margin-top: 0.1em; padding: 0.04em 0.12em 0.06em; background: var(--ff-paper); color: var(--ff-rig-ink); box-shadow: 3px 3px 0 0 var(--ff-rig-ink); }
.hero__stage .ff-shelfscene__floor { height: var(--floor-y); }
.hero__stage .ff-shelfscene__unit { right: 5%; width: min(50%, 220px); bottom: calc(var(--floor-y) - 1.6%); }
.hero__stage .ff-sign { font-size: clamp(0.875rem, 0.74rem + 0.7vw, 1.125rem); }
.hero__stage .ff-shelfscene__tag { right: -3%; top: 66%; }

/* The engine appends its controls and note right after the stage (DOM: stage, controls, note, ticket).
   The wrap is a grid: the stage spans; the ticket pulls up over the stage's edge; the controls sit under the
   ticket on phones, in the thumb zone, and beside it from 768. */
.hero__stagewrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto; }
.hero__stage { grid-column: 1 / -1; grid-row: 1; }
.hero__stagewrap > .ticket { grid-column: 1 / -1; grid-row: 2; }
.hero__stagewrap > .ff-stage__controls--below { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
.hero__stagewrap > .ff-stage__note--below { grid-column: 1 / -1; grid-row: 4; margin-top: 8px; }

/* The sticker mark slapped over the stage's top-left corner on wide screens (on phones it is the title). */
.hero__slap { display: none; }

/* The shelf scene parts, carried over from site/public/css/pages.css so the tarp, sign and tag draw. */
.ff-shelfscene__floor {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--floor-y);
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.08);
  background: var(--ff-stage-floor);
  border-top: 2.5px solid var(--ff-rig-ink);
}
.ff-shelfscene__unit {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: calc(var(--floor-y) - 1.6%);
  width: min(56%, 230px);
  aspect-ratio: 200 / 200;
}
.ff-shelfscene__unit > svg { width: 100%; height: 100%; overflow: visible; }
.ff-tarp__body { fill: var(--ff-tarp); }
.ff-tarp__shade { fill: var(--ff-tarp-shade); }
.ff-tarp__fold { fill: none; stroke: var(--ff-tarp-shade); stroke-width: 3; stroke-linecap: round; }
.ff-tarp__ink { fill: none; stroke: var(--ff-rig-ink); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ff-tarp__rope { fill: none; stroke: var(--ff-wood); stroke-width: 6; stroke-linecap: round; }
.ff-tarp__rope-ink { fill: none; stroke: var(--ff-rig-ink); stroke-width: 10; stroke-linecap: round; }
.ff-tarp__dark { fill: var(--ff-rig-ink); }
.ff-tarp__wood { fill: var(--ff-wood); stroke: var(--ff-rig-ink); stroke-width: 3; }
.ff-tarp__wood-shade { fill: var(--ff-wood-shade); }
.ff-tarp__corner { transform-box: fill-box; transform-origin: 100% 0%; }
[data-tarp].is-peek .ff-tarp__corner { animation: ff-peek 1.2s var(--ff-ease-out) both; }
@keyframes ff-peek {
  0% { rotate: 0deg; }
  18% { rotate: -34deg; }
  26% { rotate: -30deg; }
  70% { rotate: -32deg; }
  100% { rotate: 0deg; }
}
.ff-sign {
  position: absolute;
  z-index: 2;
  left: 18%;
  top: 31%;
  width: 66%;
  padding: 8px 8px 7px;
  background: var(--ff-sign);
  color: var(--ff-ink);
  border: 2.5px solid var(--ff-rig-ink);
  box-shadow: 3px 3px 0 0 var(--ff-rig-ink);
  rotate: -5deg;
  font-family: var(--ff-font-display);
  font-size: clamp(0.9375rem, 0.8rem + 0.7vw, 1.25rem);
  line-height: 1.04;
  text-align: center;
  text-wrap: balance;
}
.ff-sign .ff-tape { width: 46px; height: 16px; }
.ff-sign .ff-tape[data-at="tl"] { top: -9px; left: -14px; }
.ff-sign .ff-tape[data-at="tr"] { top: -9px; right: -14px; }
.ff-shelfscene__tag { position: absolute; z-index: 2; right: -4%; top: 64%; }
.ff-shelfscene__tag .ff-tag { rotate: -7deg; }
.ff-shelfscene__tag .ff-tag__value { font-size: 0.9375rem; }
.ff-shelfscene__items { position: absolute; z-index: 1; inset: 20% 14% 24%; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5% 8%; align-items: end; justify-items: center; }
.ff-shelfscene[data-state="revealed"] .ff-shelfscene__items { display: grid; }
.ff-shelfscene[data-state="revealed"] [data-tarp],
.ff-shelfscene[data-state="revealed"] .ff-sign { display: none; }
.ff-shelfscene__items svg { width: auto; height: 100%; max-width: 100%; }
.shelf__foot { margin-top: 18px; color: var(--ff-text-muted); font-size: var(--ff-t-footnote-size); line-height: 1.45; max-width: 52ch; }
.shelf__foot [data-prize-value] { color: var(--ff-text); font-weight: 700; }

/* --------------------------------------------------------------- ticket */
/* A torn admission ticket, pulled half out from under the stage's bottom edge. */
.ticket {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: -26px 8px 0 -4px;
  width: min(100% - 4px, 420px);
  rotate: -1.6deg;
  filter: drop-shadow(4px 4px 0 var(--ff-shadow));
  transform-origin: 10% 50%;
}
.ticket__main, .ticket__stub { background: var(--ff-surface); border: 2px solid var(--ff-rule-strong); min-height: 96px; }
.ticket__main {
  border-right: 0;
  padding: 10px 12px 12px 16px;
  display: grid;
  align-content: center;
  gap: 4px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  border-left: 2px dashed var(--ff-rule-strong);
  display: grid;
  place-items: center;
  padding: 10px 10px;
  min-width: 96px;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.ticket__kicker { color: var(--ff-text-muted); }
.ticket__date { font-family: var(--ff-font-display); font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.01em; }
.ticket__time { font-size: var(--ff-t-footnote-size); font-weight: 600; color: var(--ff-text-muted); }
.ticket__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ticket__note { font-size: var(--ff-t-footnote-size); line-height: 1.4; color: var(--ff-text-muted); text-wrap: pretty; }
.ticket[data-state="loading"] .ticket__date { width: 9ch; }
.ticket .ff-skel--note { width: 70%; height: 0.8em; margin-top: 4px; }
.ticket__error { display: flex; gap: 10px; align-items: center; }
.ticket__stub .ff-state__art { width: 44px; height: 44px; color: var(--ff-error); }

/* The board: a split-flap row that spells the state in letters and counts down in digits when a date is real. */
.board { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 6px; }
.board__group { display: flex; flex-direction: column; gap: 5px; }
.board__row { display: flex; gap: 2px; }
.board__label { font-family: var(--ff-font-mono); font-weight: 700; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ff-text-muted); }
.board .ff-digit { font-size: 1.125rem; width: 0.92em; height: 1.3em; line-height: 1.3em; border-radius: 3px; box-shadow: 1.5px 1.5px 0 0 var(--ff-cta-shadow); }
.board .ff-digit > span { border-radius: 3px; outline: 1.5px solid var(--ff-rule); outline-offset: -1.5px; }
.board .ff-digit[data-d=" "] { visibility: hidden; }
.board--words .ff-digit { font-size: 1rem; width: 0.86em; }

/* --------------------------------------------------------- rule card */
.rule { position: relative; margin-top: 22px; }
.rulecard { padding: 20px 16px 16px; }
.rulecard .ff-tape { z-index: 1; }
.rulecard .ff-tape[data-at="tr"] { right: -11px; }
.comic__fine .ff-link, .shelf__foot .ff-link { display: inline-block; padding-block: 13px; margin-block: -13px; }
.rulecard__stamp { position: relative; z-index: 1; margin: -4px 0 12px -2px; font-size: 1.1875rem; transform-origin: 50% 50%; }
.rulecard__line { position: relative; padding-left: 0.62em; color: var(--ff-text); font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); }
.rulecard__line::before { content: "\201C"; position: absolute; left: -0.12em; top: -0.08em; color: var(--ff-voice); font-size: 1.6em; line-height: 1; }
.rulecard__line .ff-q-end { color: var(--ff-voice); }
.rulecard__line .w { display: inline-block; }
.rulecard__list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rulecard__list li { position: relative; padding-left: 26px; font-size: var(--ff-t-callout-size); line-height: var(--ff-t-callout-leading); text-wrap: pretty; }
.rulecard__list li > svg { position: absolute; left: 0; top: 0.18em; width: 18px; height: 18px; color: var(--ff-accent); }
.rulecard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }

.shelf__foot { margin-top: 18px; color: var(--ff-text-muted); font-size: var(--ff-t-footnote-size); line-height: 1.45; max-width: 52ch; }
.shelf__foot [data-prize-value] { color: var(--ff-text); font-weight: 700; }
.ff-drops { display: grid; gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.ff-drop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: start; padding: 14px 14px 16px 16px; }
.ff-drop__title { font-family: var(--ff-font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.ff-drop__meta { grid-column: 1; font-size: var(--ff-t-footnote-size); color: var(--ff-text-muted); }
.ff-drop__tag { grid-row: span 2; }
.ff-drop__rules { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--ff-t-footnote-size); }
.hero__stage[data-state="revealed"] .hero__slogan { display: none; }

/* ================================================================ the Hoard: a film strip */
.hoard__strip {
  position: relative;
  margin: 20px calc(-1 * var(--ff-gutter-r)) 0 calc(-1 * var(--ff-gutter-l));
  padding: 26px 0 26px;
  background: var(--ff-rig-ink);
  color: var(--ff-paper);
  /* sprocket holes, punched top and bottom */
  background-image:
    radial-gradient(circle at 50% 50%, var(--ff-ground) 5px, transparent 5.6px),
    radial-gradient(circle at 50% 50%, var(--ff-ground) 5px, transparent 5.6px);
  background-size: 28px 14px, 28px 14px;
  background-position: 6px 6px, 6px calc(100% - 6px);
  background-repeat: repeat-x, repeat-x;
}
.hoard__frames {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(62vw, 236px);
  gap: 14px;
  margin: 0;
  padding: 0 var(--ff-gutter-r) 0 var(--ff-gutter-l);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ff-gutter-l);
  scrollbar-width: none;
}
.hoard__frames::-webkit-scrollbar { display: none; }
.frame { scroll-snap-align: start; display: grid; gap: 8px; }
.frame .ff-theater { border: 2.5px solid var(--ff-paper); box-shadow: none; }
/* One look per frame: curtain and valance tints, and a sticker tag on the proscenium. */
.frame[data-tint="gold"] .ff-theater { --ff-curtain: #FFE04A; --ff-curtain-shade: #D9BC3E; --ff-valance: #FF3EA5; }
.frame[data-tint="violet"] .ff-theater { --ff-curtain: #6257BE; --ff-curtain-shade: #4E449B; --ff-valance: #FFE04A; --ff-world: #5A45B7; --ff-world-ray: #664DD2; --ff-world-dot: #4D3B99; }
.frame[data-tint="orange"] .ff-theater { --ff-curtain: #FF4A1C; --ff-curtain-shade: #DA401A; --ff-valance: #F4F0E6; }
.frame[data-tint="ink"] .ff-theater { --ff-curtain: #2B2340; --ff-curtain-shade: #1A1528; --ff-valance: #FFE04A; }
.frame__tag { position: absolute; z-index: 4; top: 17%; left: 8%; font-size: 0.75rem; pointer-events: none; }
.frame__title { font-family: var(--ff-font-body); font-weight: 700; font-size: 0.9375rem; line-height: 1.25; color: var(--ff-paper); }
.frame__meta { font-family: var(--ff-font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--ff-ink-30); margin-top: -4px; }
.hoard__state { padding: 0 var(--ff-gutter-r) 0 var(--ff-gutter-l); }
.hoard__state .ff-state { background: var(--ff-night-surface); color: var(--ff-paper); border-color: var(--ff-paper); }
.hoard__state .ff-state__text { color: var(--ff-ink-30); }
.hoard__state .ff-state__art { color: var(--ff-paper); }
.hoard__state .ff-state--error { border-color: var(--ff-error); box-shadow: 4px 4px 0 0 var(--ff-error); }
.hoard__state .ff-state--error .ff-state__art { color: var(--ff-error); }
.hoard__state .ff-btn--secondary { --btn-bg: var(--ff-paper-hi); --btn-fg: var(--ff-ink); --btn-edge: var(--ff-paper); --btn-shadow: var(--ff-paper); }
.hoard__skel { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 236px); gap: 14px; padding: 0 var(--ff-gutter-r) 0 var(--ff-gutter-l); overflow: hidden; }
.hoard__skel .ff-skel { aspect-ratio: 4 / 5; background: var(--ff-night-surface); border-radius: 0; }
.hoard__foot { margin-top: 14px; font-size: var(--ff-t-footnote-size); color: var(--ff-text-muted); max-width: 52ch; }

/* ================================================================ how it works: a comic strip */
.comic { display: grid; gap: 18px; margin-top: 22px; }
.panel { display: grid; gap: 10px; }
.panel__art { position: relative; aspect-ratio: 5 / 4; background: var(--ff-surface); border: 2.5px solid var(--ff-rig-ink); box-shadow: var(--ff-shadow-hard-m); overflow: hidden; }
.panel__art > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.panel__art .fb { position: absolute; left: 4%; bottom: -2%; height: 72%; width: auto; pointer-events: none; }
.panel__num { position: absolute; z-index: 2; top: -2px; left: -2px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ff-rig-ink); color: var(--ff-paper); font-family: var(--ff-font-display); font-size: 1rem; line-height: 1; }
.panel__cap { display: grid; gap: 4px; padding: 0 2px; }
.panel__cap h3 { font-family: var(--ff-font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.08; }
.panel__cap p { font-size: var(--ff-t-callout-size); line-height: var(--ff-t-callout-leading); color: var(--ff-text-muted); max-width: 40ch; text-wrap: pretty; }
.comic__fine { margin-top: 16px; font-size: var(--ff-t-footnote-size); color: var(--ff-text-muted); max-width: 56ch; }
/* Comic ink: every line in the panels is rig ink, the fills are flat. */
.ink { fill: none; stroke: var(--ff-rig-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ink--thin { stroke-width: 2; }
.fill-paper { fill: var(--ff-paper); }
.fill-pink { fill: var(--ff-rig-ears); }
.fill-gold { fill: var(--ff-rig-tooth); }
.fill-world { fill: var(--ff-rig-world); }
.fill-orange { fill: var(--ff-rig-hoodie); }
.fill-lime { fill: var(--ff-lime); }
.fill-ink { fill: var(--ff-rig-ink); }
.fill-wood { fill: var(--ff-wood); }
.fill-floor { fill: var(--ff-stage-floor); }
.fill-skin { fill: var(--ff-rig-skin); }
.fill-shade { fill: var(--ff-rig-shade); }
.fill-jeans { fill: var(--ff-rig-jeans); }
.panel__art .scrib { stroke: var(--ff-ink-30); }
.ff-ground-dark .panel__art .scrib, [data-theme="dark"] .panel__art .scrib { stroke: var(--ff-ink-60); }
.fill-paper-hi { fill: var(--ff-paper-hi); }

/* ================================================================ the Parade: trains on a rail */
.parade__rail {
  position: relative;
  margin: 22px calc(-1 * var(--ff-gutter-r)) 0 calc(-1 * var(--ff-gutter-l));
  height: 196px;
  overflow: hidden;
  border-block: 2.5px solid var(--ff-rig-ink);
  background: var(--ff-surface);
}
.parade__sky { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--ff-rule) 1px, transparent 1.4px); background-size: 14px 14px; opacity: 0.5; }
.parade__track { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; }
.parade__track svg { width: 100%; height: 100%; }
.parade__station { position: absolute; z-index: 2; left: var(--ff-gutter-l); bottom: 26px; width: 92px; height: auto; }
.parade__train { position: absolute; z-index: 1; left: 0; bottom: 24px; width: 760px; height: 128px; will-change: transform; }
.parade__train svg { width: 100%; height: 100%; overflow: visible; }
/* GSAP owns the wheel and smoke transforms (its own SVG origin math); no CSS transform-box here. */
.parade__facts { display: flex; flex-wrap: wrap; gap: 16px 18px; margin: 24px 0 0; padding: 0 0 0 4px; list-style: none; }
.parade__facts .ff-sticker { font-size: 0.8125rem; }
.parade__note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: var(--ff-t-callout-size); color: var(--ff-text-muted); max-width: 52ch; }
.parade__note svg { flex: none; width: 22px; height: 22px; color: var(--ff-accent); margin-top: 1px; }

/* ================================================================ the Hunt: a poster on the wall */
.lower { display: grid; gap: 0; }
.poster {
  position: relative;
  padding: 24px 18px 30px;
  background: var(--ff-surface);
  border: 2px solid var(--ff-rule-strong);
  border-bottom: 0;
  box-shadow: var(--ff-shadow-hard-l);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 96% 100%, 92% calc(100% - 8px), 88% 100%, 84% calc(100% - 9px), 80% 100%, 76% calc(100% - 7px), 72% 100%, 68% calc(100% - 10px), 64% 100%, 60% calc(100% - 8px), 56% 100%, 52% calc(100% - 9px), 48% 100%, 44% calc(100% - 7px), 40% 100%, 36% calc(100% - 10px), 32% 100%, 28% calc(100% - 8px), 24% 100%, 20% calc(100% - 9px), 16% 100%, 12% calc(100% - 7px), 8% 100%, 4% calc(100% - 10px), 0 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px 14px;
  align-items: start;
}
.poster__wrap { position: relative; filter: drop-shadow(6px 6px 0 var(--ff-shadow)); }
.poster__wrap .poster { box-shadow: none; }
.poster .ff-tape { z-index: 1; }
.poster__head { grid-column: 1; display: grid; gap: 6px; }
.poster__head .ff-stamp { justify-self: start; font-size: 0.9375rem; rotate: -5deg; }
.poster__art { grid-column: 2; grid-row: 1 / span 2; width: 96px; height: auto; rotate: 6deg; margin-top: -18px; }
.poster p { grid-column: 1 / -1; font-size: var(--ff-t-callout-size); max-width: 44ch; text-wrap: pretty; }
.poster .ff-btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }

/* ================================================================ brands: want in? (an ink panel on any ground) */
.brands { padding-top: 64px; }
.brandsbox {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 24px 18px 26px;
  border: 2px solid var(--ff-rig-ink);
  box-shadow: 6px 6px 0 0 var(--ff-cta-shadow);
  overflow: hidden;
}
.brandsbox__art { position: absolute; right: -10px; bottom: -6px; width: 112px; }
.brandsbox h2 { max-width: 12ch; }
.brandsbox p { max-width: min(32ch, calc(100% - 100px)); color: var(--ff-text-muted); font-size: var(--ff-t-callout-size); text-wrap: pretty; }
.brandsbox .ff-btn { justify-self: start; margin-top: 8px; }
.brandsbox__door { transform-box: fill-box; transform-origin: 0% 50%; }

/* ================================================================ footer */
.ff-footer { margin-top: 72px; }
.ff-footer__disclosure { font-size: var(--ff-t-callout-size); color: var(--ff-text); max-width: 52ch; }
.ff-footer__disclosure strong { font-weight: 700; }
.ff-footer__links { margin-top: 16px; }
.ff-footer__links a { font-size: var(--ff-t-callout-size); }
.ff-footer__handles { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.handle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 6px; font-family: var(--ff-font-mono); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; color: var(--ff-text); text-decoration: none; border: 2px solid var(--ff-rule-strong); border-radius: 999px; background: var(--ff-surface); box-shadow: 2px 2px 0 0 var(--ff-shadow); }
.handle img { width: 28px; height: 28px; }
.handle img.handle__logo { width: auto; height: 26px; }
.handle__who { font-family: var(--ff-font-body); font-weight: 600; font-size: 0.8125rem; color: var(--ff-text-muted); }
.handle:active { translate: 2px 2px; box-shadow: 0 0 0 0 var(--ff-shadow); }
.ff-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.ff-footer__ground { display: flex; align-items: center; gap: 10px; font-size: var(--ff-t-footnote-size); color: var(--ff-text-muted); }
.ff-footer__legal { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: var(--ff-t-footnote-size); color: var(--ff-text-muted); }
.ff-footer__legal .ff-sticker { font-size: 0.875rem; }

/* ================================================================ motion */
/* Nothing below hides content by default. JS sets the from-state the instant an element enters view. */
.hero__slogan .w, .rulecard__line .w { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .ff-digit.is-flipping .ff-digit__leaf--top, .ff-digit.is-flipping .ff-digit__leaf--bottom { animation-duration: 1ms; }
}

/* ================================================================ 430 and up */
@media (min-width: 420px) {
  .hero__stage { height: clamp(320px, 80vw, 370px); }
  .board .ff-digit { font-size: 1.25rem; }
}

/* ================================================================ 560 and up */
@media (min-width: 560px) {
  .comic { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .panel__cap h3 { font-size: 1.125rem; }
}

/* ================================================================ 768 and up */
@media (min-width: 768px) {
  .ff-sec { padding-top: 96px; }
  .hero__stage { height: 440px; margin-inline: 0; border: 2.5px solid var(--ff-rig-ink); box-shadow: var(--ff-shadow-hard-l); --actor-h: 76%; --home-x: -0.22; }
  .hero__stage .ff-shelfscene__unit { width: 44%; max-width: 270px; right: 7%; }
  .hero__slogan { font-size: 2.5rem; top: 22px; right: 24px; width: 14ch; }
  .ticket { margin: -30px 0 0 18px; width: min(100% - 18px, 440px); }
  .hero__stagewrap > .ticket { grid-column: 1; grid-row: 2; }
  .hero__stagewrap > .ff-stage__controls--below { grid-column: 2; grid-row: 2; align-self: start; margin-top: 14px; }
  .hero__stagewrap > .ff-stage__note--below { grid-column: 1 / -1; grid-row: 3; }
  .hoard__frames { grid-auto-columns: 236px; }
  .comic { gap: 20px; }
  .parade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 40px; align-items: center; }
  .parade > * { grid-column: 1; }
  .parade__rail { grid-column: 2; grid-row: 1 / span 4; margin: 0; height: 260px; border: 2.5px solid var(--ff-rig-ink); box-shadow: var(--ff-shadow-hard-l); }
  .parade__train { width: 860px; height: 150px; bottom: 26px; }
  .parade__station { width: 110px; bottom: 28px; }
  .lower { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 32px; align-items: start; }
  .lower > .ff-sec { padding-top: 96px; }
  .brands { padding-top: 96px; }
  .brandsbox { padding: 30px 28px 32px; }
  .brandsbox__art { width: 168px; right: -6px; }
  .poster { padding: 28px 24px 34px; grid-template-columns: minmax(0, 1fr) 112px; }
  .poster__art { width: 112px; }
}

/* ================================================================ 1024 and up */
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas: "title stage" "rule stage" "foot stage" "drops stage";
    column-gap: 56px;
    row-gap: 18px;
    align-items: start;
  }
  .hero__title { grid-area: title; }
  .hero__stagewrap { grid-area: stage; margin-top: calc(var(--ff-safe-top) + 64px + 36px); }
  .rule { grid-area: rule; margin-top: 10px; }
  .shelf__foot { grid-area: foot; }
  .ff-drops { grid-area: drops; }
  .hero__title .ff-wordmark__logo { width: clamp(300px, 24vw, 380px); margin-left: -10px; }
  .hero__lead { max-width: 34ch; font-size: var(--ff-t-lead-size); margin-top: 14px; }
  .hero__stage { height: 560px; --actor-h: 74%; --home-x: -0.25; --bubble-max: 280px; }
  .hero__stage .ff-shelfscene__unit { width: 46%; max-width: 320px; right: 6%; }
  .hero__slogan { font-size: 2.75rem; top: 26px; right: 28px; width: 10ch; }
  .ticket { margin: -34px 0 0 24px; width: min(100% - 24px, 460px); }
  .ticket__date { font-size: 1.5rem; }
  .board .ff-digit { font-size: 1.375rem; }
  .ff-sec { padding-top: 128px; }
  .howto { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); column-gap: 64px; align-items: start; }
  .howto > .ff-sec__head { grid-column: 1; grid-row: 1; }
  .comic__fine { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .comic { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; gap: 22px; }
  .panel__cap h3 { font-size: 1.25rem; }
  .parade__rail { height: 300px; }
  .parade__train { width: 980px; height: 170px; }
  .parade__station { width: 128px; bottom: 30px; }
  .lower { gap: 0 48px; }
}

/* ================================================================ 1440 and up */
@media (min-width: 1360px) {
  .hero { column-gap: 72px; }
  .hero__stage { height: 600px; }
  .hero__slogan { font-size: 3rem; width: 10ch; }
}
