/* ============================================================
   flow-blocks — "Explore the platform yourself"
   The automated matching flow, presented as THREE live, auto-playing
   blocks. Additive composition layer over heart-config.js (block 1) and
   studio-deck.js (block 2); block 3 is a self-contained CSS/GSAP launch
   card. Compose; never fork. All new classes prefixed `fb-`.

   Tokens from styles.css (--grad / --primary / --text / fonts). White-mode;
   pink->gold is an ACCENT only. Reuses .hh__stage / .hh__tiles for the
   heart, .sd-root chrome for the deck.

   EMIL motion language (declared as vars so every transition reuses them):
     --fb-out   ease-out      cubic-bezier(0.23, 1, 0.32, 1)
     --fb-inout ease-in-out   cubic-bezier(0.77, 0, 0.175, 1)
   Durations 300-600ms; transform / opacity / clip-path only; no
   `transition: all`; entrances start at 0.96 + opacity (never scale(0)).
   ============================================================ */

.fb {
  --fb-out: cubic-bezier(0.23, 1, 0.32, 1);
  --fb-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --fb-maxw: 1180px;
  --fb-shadow: 0 1px 2px rgba(11, 11, 11, 0.05), 0 24px 48px -28px rgba(11, 11, 11, 0.28);
  --fb-shadow-soft: 0 1px 2px rgba(11, 11, 11, 0.04), 0 16px 36px -24px rgba(11, 11, 11, 0.18);

  position: relative;
  padding: clamp(64px, 9vw, 120px) 24px clamp(72px, 10vw, 128px);
  background:
    radial-gradient(1100px 560px at 50% -120px, rgba(11, 11, 11, 0.025), transparent 70%),
    radial-gradient(900px 520px at 96% 30%, rgba(11, 11, 11, 0.03), transparent 72%),
    var(--white);
  overflow: hidden;
}

/* faint dot texture, masked top so it never competes with content */
.fb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 11, 11, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(1200px 760px at 50% 4%, #000, transparent 76%);
  mask-image: radial-gradient(1200px 760px at 50% 4%, #000, transparent 76%);
  pointer-events: none;
}

.fb__wrap {
  position: relative;
  max-width: var(--fb-maxw);
  margin: 0 auto;
}

/* ---------------- Section intro ---------------- */
.fb__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(52px, 7vw, 96px);
}
.fb__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.fb__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b0b0b;
  box-shadow: 0 0 0 4px rgba(11, 11, 11, 0.12);
}
.fb__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 20px 0 0;
  text-wrap: balance;
}
.fb__title em {
  font-style: normal;
  background: #0b0b0b;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb__sub {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--text);
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.6;
}

/* ---------------- Block ---------------- */
.fb-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(40px, 6vw, 72px) 0;
}
.fb-block + .fb-block {
  border-top: 1px solid var(--line);
}
/* block 2 reverses copy side */
.fb-block--rev .fb-copy { order: 2; }
.fb-block--rev .fb-visual { order: 1; }

/* --wide: single full-width column (copy on top, visual full width) — used by
   block 2 so the FULL studio profile card (270px audience rail + 1fr body) has
   the room it has on the studio tab instead of being squeezed into a side column. */
.fb-block--wide {
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  justify-items: center;
}
.fb-block--wide .fb-copy {
  order: 1;
  max-width: 720px;
  text-align: center;
}
.fb-block--wide .fb-copy .fb-copy__no { display: flex; margin-inline: auto; }
.fb-block--wide .fb-copy__body { max-width: 56ch; margin-inline: auto; }
.fb-block--wide .fb-copy__meta { justify-content: center; }
.fb-block--wide .fb-visual { order: 2; width: 100%; }

/* ---- copy column ---- */
.fb-copy {
  /* scroll-reveal: hidden until .is-in (set on entry OR on-load if in view) */
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--fb-out), transform 0.55s var(--fb-out);
}
.fb-block.is-in .fb-copy {
  opacity: 1;
  transform: none;
}
.fb-copy__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--fb-shadow-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  background: #0b0b0b;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-copy__step {
  display: block;
  margin: 18px 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b0b0b;
}
.fb-copy__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.fb-copy__body {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.62;
  max-width: 44ch;
}
.fb-copy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.fb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.03);
}
.fb-pill svg { width: 14px; height: 14px; color: #0b0b0b; }

/* ---- visual column ---- */
.fb-visual {
  position: relative;
  /* a subtle reveal distinct from the copy, slightly delayed via JS class */
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.6s var(--fb-out), transform 0.6s var(--fb-out);
}
.fb-block.is-in .fb-visual {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

/* the framed stage every visual sits inside — frameless: no outer card */
.fb-stage {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
/* swipe-card clip belongs on the deck itself, not the stage wrapper —
   this lets the action bar (bottom:-34px outside deck) remain fully visible */
.fb-review .sd-root .deck {
  overflow: hidden;
}
.fb-stage__sheen { display: none; }

/* ============================================================
   BLOCK 1 — Describe & match (real prompt -> live results-ui)
   A prompt-card sits on top; the live .ru dashboard mounts into a
   positioned scaler below it and is scaled to fit the block height.
   ============================================================ */
.fb-match {
  /* Prompt appears centered first; results overlay the full area when revealed. */
  position: relative;
  height: clamp(500px, 60vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ---- the real prompt-card (textarea + gradient submit) ---- */
.fb-match__panel {
  position: relative;
  z-index: 4;
  padding: 0 24px;
  width: 100%;
}
.fb-match__prompt {
  position: relative;
  min-height: 0;                 /* override the tall default prompt-card */
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.04), 0 12px 28px -18px rgba(11, 11, 11, 0.32);
}
.fb-match__prompt .prompt-card__input {
  font-size: 14.5px;
  line-height: 1.5;
  min-height: 3em;
  cursor: default;
  pointer-events: none;          /* read-only auto-typed brief */
}
.fb-match__prompt .prompt-card__cta {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  pointer-events: none;
}
/* blinking caret — a small accent dot in the prompt's top-right that pulses
   while the brief auto-types (the textarea is read-only so it has no native
   caret). Toggled off by JS once typing completes. */
.fb-match__caret {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0b0b;
  animation: fb-blink 1s steps(1) infinite;
  pointer-events: none;
}
@keyframes fb-blink { 50% { opacity: 0; } }
/* "matching…" status badge — fades in after the brief is typed */
.fb-match__matching {
  position: absolute;
  left: 18px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px -16px rgba(11, 11, 11, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--fb-out), transform 0.4s var(--fb-out);
  pointer-events: none;
}
.fb-match__matching.is-on { opacity: 1; transform: translateY(0); }
.fb-match__matching i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0b0b0b;
  animation: fb-dot 1.1s var(--fb-inout) infinite;
}
.fb-match__matching i:nth-child(2) { animation-delay: 0.16s; }
.fb-match__matching i:nth-child(3) { animation-delay: 0.32s; }
@keyframes fb-dot { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

/* ---- live dashboard scaler ---- */
/* position:absolute so results overlay the full block area,
   replacing the prompt panel when revealed */
.fb-match__scaler {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  overflow: visible;  /* shadow must not be clipped */
}
/* Block 1 shows ONLY the prompt + the Estimated Results card — NOT the full
   3-column dashboard. overflow:hidden suppresses any internal scroll in this
   single-card preview context. */
.fb-match .fb-match__ru {
  width: 100%;
  height: 100%;
  transform: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: hidden;
}
.fb-match__ru .ru__center,
.fb-match__ru .ru__side--right { display: none; }
.fb-match__ru .ru__grid {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}
.fb-match .fb-match__ru .ru__inner { padding: clamp(14px, 1.8vw, 26px); }

/* ============================================================
   BLOCK 2 — Review & shortlist (live studio-deck)
   ============================================================ */
.fb-review {
  padding: clamp(10px, 1.4vw, 18px);
}
/* Show the FULL studio profile card exactly like the studio tab: the card's
   body grid is 270px + 1fr (audience rail + credibility/popular posts), so the
   deck needs real width (not the old 560px clamp that collapsed it). Keep the
   tall card height; just trim the deck-wrap's large native margins for the block. */
.fb-review .sd-root { max-width: 100%; }
.fb-review .sd-root .deck-wrap { max-width: 1000px; margin: 6px auto 18px; }
.fb-review .sd-root .deck { height: clamp(700px, 84vh, 840px); }

/* --- Block 2 as a two-column ROW: deck on the LEFT, copy on the RIGHT ---
   Only when the block carries --rev. The full studio card is rendered at its
   NATURAL width (so the 270px audience rail + 1fr body never collapses and every
   detail stays legible) and then transform-scaled down to sit inside the narrow
   left column. The deck host is absolutely positioned + the wrapper is given the
   scaled height so the un-scaled card reserves no empty space below it. Scoped to
   --rev so the full-width showcase keeps its native size.

   --sd-scale used to be a handful of fixed per-breakpoint constants (below,
   now removed), with the wrapper's width computed from the SAME constant and
   then clamped with max-width:100%. Those two numbers only matched by luck:
   .fb-block's column split (0.92fr/1.08fr) plus its clamp()'d gap makes the
   actual available column width a continuous function of viewport width, not
   a step function — so at almost every width the fixed --sd-scale produced a
   deck wider than the max-width:100%-clamped wrapper, and the transform-scaled
   deck (which doesn't know about that clamp) rendered up to ~90px past its own
   container's right edge, at some widths overlapping the copy column outright.
   Fixed by deriving --sd-scale from the container's REAL width via a container
   query, so var(--sd-w) * var(--sd-scale) always exactly equals 100% of the
   column — the deck can no longer spill past its box at any width. */
.fb-block--rev .fb-visual { container-type: inline-size; }
.fb-block--rev .fb-review {
  --sd-w: 900px;        /* natural render width of the deck */
  --sd-h: 720px;        /* deck height at natural scale */
  --sd-foot: 110px;     /* room below the deck for the action bar (bottom:-34px) + its shadow */
  --sd-scale: calc(100cqw / var(--sd-w));
  position: relative;
  width: 100%;
  height: calc((var(--sd-h) + var(--sd-foot)) * var(--sd-scale));
  margin-inline: auto;
  padding: 0;
  overflow: visible;
}
.fb-block--rev .fb-review [data-fb-deck] {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sd-w);
  transform: scale(var(--sd-scale));
  transform-origin: top left;
}
.fb-block--rev .fb-review .sd-root { width: var(--sd-w); max-width: none; }
.fb-block--rev .fb-review .sd-root .deck-wrap { max-width: none; width: 100%; margin: 0; }
.fb-block--rev .fb-review .sd-root .deck {
  height: var(--sd-h);
  overflow: visible;   /* show the swipe cards + card shadow fully — no clip */
}

/* ---- no-reflow lock (flagged 2026-09-01) ----------------------------------
   Below used to drop the scale transform entirely at <=880px and hand the
   deck to studio-deck.css's own @media(880px)/@media(520px) rules, which
   RESTACK the card (grid-template-columns: 1fr, flex-direction: column, …)
   into a narrow single column — the same "reflow instead of scale" defect
   fixed in the hero flow (see flow/flow.css's no-reflow lock for the full
   writeup). Same fix here: these unconditional overrides pin the card to
   its desktop composition at every width; only --sd-scale (below) changes
   with viewport, continuing the SAME transform-scale approach all the way
   down to phone widths instead of switching mechanisms at 880px. studio-deck.css
   is a shared part — never edited directly; this composes over it, scoped
   to this block only, so the full-width showcase elsewhere is untouched. */
.fb-block--rev .fb-review .sd-root .card { position: absolute; inset: 0; transform-origin: 50% 0; }
.fb-block--rev .fb-review .sd-root .card__body { grid-template-columns: 270px 1fr; gap: 0; }
.fb-block--rev .fb-review .sd-root .aud { overflow: hidden; padding-right: 14px; border-bottom: 0; padding-bottom: 0; }
.fb-block--rev .fb-review .sd-root .grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; height: auto; }
.fb-block--rev .fb-review .sd-root .collabs .grid { height: 108px; }
.fb-block--rev .fb-review .sd-root .deliver { display: block; }
.fb-block--rev .fb-review .sd-root .head { flex-direction: row; align-items: flex-start; }
.fb-block--rev .fb-review .sd-root .head__id {
  width: 130px; flex-direction: column;
  border-right: 1px solid #ededf0; border-bottom: 0;
  padding-right: 16px; padding-bottom: 0;
}
.fb-block--rev .fb-review .sd-root .head__ava { width: 118px; height: 152px; }
.fb-block--rev .fb-review .sd-root .head__name,
.fb-block--rev .fb-review .sd-root .head__handle { text-align: center; }
.fb-block--rev .fb-review .sd-root .head__right { padding-left: 16px; padding-top: 0; }
.fb-block--rev .fb-review .sd-root .head__btm,
.fb-block--rev .fb-review .sd-root .info { grid-template-columns: 1fr 1fr; }
.fb-block--rev .fb-review .sd-root .stats { border-right: 1px solid #ededf0; }
.fb-block--rev .fb-review .sd-root .actions { gap: clamp(8px, 1.4vw, 18px); padding: 15px 22px 13px; }
.fb-block--rev .fb-review .sd-root .act__l { display: block; }

/* Stacked layout (<=900px, where .fb-block itself goes single-column): no
   extra tiers needed — the container query above tracks the now-full-width
   stacked column continuously, same as the two-column band. */

/* ============================================================
   BLOCK 3 — Go live (CSS / GSAP campaign launch card)
   ============================================================ */
.fb-launch {
  padding: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(130% 130% at 50% -10%, rgba(11, 11, 11, 0.06), transparent 58%),
    #fcfcfd;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--fb-shadow);
  overflow: hidden;
}
.fb-launch__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fb-launch__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.fb-launch__logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #0b0b0b;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(11, 11, 11, 0.55);
}
.fb-launch__logo svg { width: 22px; height: 22px; }
.fb-launch__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  min-width: 0;
}
.fb-launch__name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text);
  margin-top: 2px;
  /* stays on one line regardless of status text length (Preparing… vs Live) —
     wrapping/unwrapping here was the source of the card's height jump */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* status flips Preparing -> Live. "Preparing…" is the widest label the pill
   ever shows; min-width pins the pill (and centers the shorter "Live" text
   inside it) so the pill's own width never changes between the two states.
   Without this, the pill's shrinking/growing width squeezes the campaign
   name column by a different amount each loop, flipping it between one and
   two lines and making the whole card jump — most visible at ~412-428px
   (most Android phones, iPhone Pro Max) and ~320px. */
.fb-launch__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 7px;
  padding: 6px 13px;
  min-width: 108px;
  border-radius: 999px;
  background: #f4f4f5;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: #8a8a8f;
  white-space: nowrap;
  transition: color 0.4s var(--fb-out), background 0.4s var(--fb-out), border-color 0.4s var(--fb-out);
}
.fb-launch__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6c6cb;
  transition: background 0.4s var(--fb-out), box-shadow 0.4s var(--fb-out);
}
.fb-launch__status.is-live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.24);
}
.fb-launch__status.is-live i {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  animation: fb-pulse-dot 1.6s var(--fb-inout) infinite;
}
@keyframes fb-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.05); }
}

/* progress bar 0 -> 100% */
.fb-launch__progress {
  margin: 26px 0 8px;
}
.fb-launch__plabel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}
.fb-launch__pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  background: #0b0b0b;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-launch__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #efeff1;
  overflow: hidden;
}
.fb-launch__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #0b0b0b;
  box-shadow: 0 0 14px -2px rgba(11, 11, 11, 0.5);
}
/* travelling sheen on the fill while filling */
.fb-launch__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: fb-sheen 1.6s linear infinite;
}
.fb-launch.is-live .fb-launch__fill::after { animation: none; opacity: 0; }
@keyframes fb-sheen {
  to { transform: translateX(100%); }
}

/* mini metric counters */
.fb-launch__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.fb-metric {
  padding: 14px;
  border-radius: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.03);
}
.fb-metric__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.fb-metric__l {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* small launch row of avatars (the matched creators going live) */
.fb-launch__crew {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.fb-launch__avatars { display: inline-flex; }
.fb-launch__avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(11, 11, 11, 0.12);
}
.fb-launch__avatars img:first-child { margin-left: 0; }
.fb-launch__crewlabel { font-size: 12.5px; font-weight: 600; color: var(--text); }
.fb-launch__crewlabel b {
  color: var(--primary);
  font-weight: 800;
}

/* ---------------- Footer CTA (reuses site buttons) ---------------- */
.fb-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 92px);
  flex-wrap: wrap;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .fb-block {
    /* minmax(0, 1fr), not bare 1fr — a bare 1fr track can't shrink below its
       content's min-content width, so any long unbreakable string (e.g. the
       launch card's status pill squeezing the campaign name/subtitle) blows
       the column out past .fb-blocks and gets clipped by the viewport edge. */
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  /* on stack, copy always reads first */
  .fb-block--rev .fb-copy { order: 1; }
  .fb-block--rev .fb-visual { order: 2; }
  .fb-launch__metrics { gap: 10px; }
}

/* Narrow phones: the "Preparing…" pill leaves the name column ~19px short of
   the room "5 creators · 30-day flight" needs to stay on one line (see
   .fb-launch__name span's nowrap+ellipsis above). Trim a bit of the row's own
   padding/gaps back rather than truncating that line or moving the badge off
   the name's row. */
@media (max-width: 480px) {
  .fb-launch { padding-left: 18px; padding-right: 18px; }
  .fb-launch__top { gap: 10px; }
  .fb-launch__brand { gap: 10px; }
  .fb-launch__status { padding: 6px 10px; min-width: 100px; }
}

/* ============================================================
   Reduced motion — no autoplay / loop. Clean static END-STATE:
   block 1 = prompt filled + results dashboard already revealed
   (results-ui's own reduced path freezes the marquee), deck on its
   first card, launch card "Live" at 100% with final counters,
   blocks revealed (JS removes the gating).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fb-copy,
  .fb-visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* block 1 static end-state */
  .fb-match__caret { animation: none; display: none; }
  .fb-match__matching { display: none; }
  .fb-match__prompt { opacity: 1 !important; }
  .fb-match__matching i { animation: none; }
  /* block 3 */
  .fb-launch__fill::after { animation: none; opacity: 0; }
  .fb-launch__status.is-live i { animation: none; }
  .fb-launch__fill { width: 100% !important; }
}
