/* Reach landing page. Every value comes from tokens.css; see DESIGN.md for the rules.
   Hero background technique (studied from 1stcollab.com with REA): a tall section with a vertical
   gradient from a sky tint, through a translucent page color, to the solid page color by ~85%,
   plus a short fade at the bottom so the clip wall melts into the next section. */

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* so menus and the drawer really hide, whatever their display */
html, body { margin: 0; }
/* In-page links (Contact, Results) glide instead of jumping; the fixed bar's height is left clear. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id], footer[id] { scroll-margin-top: 88px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero shell ---------- */
/* Two columns on wide screens: the copy on the left, the clip wall at the full height of the screen
   on the right, so whole clips are visible before any scrolling. */
.hero {
  --wall-h: clamp(640px, calc(100svh - 96px), 900px);
  position: relative;
  overflow: hidden;
  padding: 96px var(--gutter) 0;
  background: linear-gradient(var(--sky) 4%, var(--bg-veil) 52%, var(--bg) 84% 100%);
}
.hero-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: var(--space-9); }

/* ---------- Top bar ---------- */
/* Behaviour modelled on trybeluga.ai: fixed, transparent at the top, then a narrower frosted
   pill with a thin outline and a soft shadow once you scroll. nav.js toggles .is-scrolled. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.bar {
  pointer-events: auto;
  max-width: var(--content);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 var(--space-2) 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  transition: max-width 0.5s cubic-bezier(0, 0, 0.2, 1), background-color 0.5s cubic-bezier(0, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0, 0, 0.2, 1);
}
.site-header.is-scrolled .bar {
  max-width: 896px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--sticker-line), var(--shadow);
}
.bar-left, .bar-right { display: flex; align-items: center; gap: var(--space-1); min-width: 0; }
.bar-left { gap: var(--space-5); }
.nav-links { display: flex; align-items: center; gap: 2px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.brand span { font: 700 21px / 1 var(--font-heading); letter-spacing: -0.03em; }

.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 40px; padding: 8px 16px;
  border: 0; border-radius: var(--radius-pill); background: transparent;
  font: 600 14px / 1 var(--font-body); letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--text) 75%, transparent);
  text-decoration: none; cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--tint); color: var(--text); }
.chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.nav-item.is-open .chevron { transform: rotate(180deg); }

/* Main action in the bar: the sliding button (see Buttons), sized for the bar. */
.cta-pill {
  --slide-w: 48px; --slide-h: 36px; --slide-bg: #fff; --slide-ink: var(--accent-fill);
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent-fill); color: var(--on-accent);
  font: 600 14px / 1 var(--font-body); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--accent-fill) 25%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill) 25%, transparent);
  transition: transform 0.15s ease;
}
.cta-pill .slide-label { padding: 0 14px 0 12px; }

/* ---------- Solutions menu ---------- */
.nav-item { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + 12px); left: 0;
  width: 640px; max-width: calc(100vw - 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: var(--space-4);
  padding: var(--space-4);
  border-radius: 24px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--sticker-line), var(--shadow);
  animation: menu-in 0.2s ease-out;
}
/* Invisible bridge so the cursor can travel from the button into the panel. */
.menu-panel::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-items { display: flex; flex-direction: column; gap: var(--space-1); }
.menu-item {
  display: flex; align-items: flex-start; gap: var(--space-3);
  width: 100%; padding: var(--space-3); border: 0; border-radius: 16px; background: none;
  text-align: left; color: var(--text); cursor: pointer; font: inherit;
}
.menu-item:hover, .menu-item:focus-visible { background: var(--tint); }
.menu-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--accent-fill); display: grid; place-items: center; }
.menu-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-text { display: grid; gap: 2px; }
.menu-text b { font: 600 15px / 1.3 var(--font-body); letter-spacing: -0.01em; }
.menu-text span { font: 400 13px / 1.45 var(--font-body); color: var(--text-muted); }
.menu-card { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 18px; background: var(--tint); color: var(--text); text-decoration: none; }
.menu-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 4px; } /* height: auto so the img's size attributes don't override the 16:9 shape */
.menu-card-title { font: 600 15px / 1.3 var(--font-heading); letter-spacing: -0.02em; padding: 0 4px; }
.menu-card-text { font: 400 13px / 1.45 var(--font-body); color: var(--text-muted); padding: 0 4px; }
.menu-card-title span { display: inline-block; transition: transform 0.2s ease; }
.menu-card:hover .menu-card-title span { transform: translateX(3px); }

/* ---------- Phone drawer ---------- */
.icon-button { width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: var(--tint); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-button { display: none; margin-left: calc(var(--space-2) * -1); }
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / 0.5); opacity: 0; transition: opacity 0.15s ease; }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 61;
  width: min(320px, 86vw);
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--space-4) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--bg); box-shadow: 0 10px 40px rgb(0 0 0 / 0.25);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
.drawer.is-open { transform: none; }
.drawer-close { align-self: flex-end; }
.drawer-label { margin: var(--space-2) 0 var(--space-1) var(--space-3); color: var(--text-muted); text-transform: uppercase; }
.drawer hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: var(--space-3) 0; }
.drawer-link { padding: 12px var(--space-3); border-radius: 12px; color: var(--text); text-decoration: none; font: 600 15px / 1.3 var(--font-body); }
.drawer-link:hover { background: var(--tint); }
.drawer-actions { margin-top: auto; display: grid; gap: var(--space-2); padding-top: var(--space-6); }
.drawer-actions .btn { width: 100%; }
/* Full-width buttons centre their label in the whole button, not just the space after the pill. */
.drawer-actions .slide-label { flex: 1; text-align: center; padding-right: calc(var(--slide-w, 56px) + 16px); }

@media (max-width: 820px) {
  .nav-links, .login { display: none; }
  .menu-button { display: grid; }
  .bar { padding: 0 var(--space-2) 0 var(--space-3); height: 60px; }
  .bar-left { gap: var(--space-2); }
  .site-header { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .bar, .drawer, .drawer-scrim, .chevron { transition: none; }
  .menu-panel { animation: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-6); border: 0; cursor: pointer; border-radius: var(--radius-pill); font: 600 16px / 1.25 var(--font-body); letter-spacing: -0.01em; text-decoration: none; transition: background-color 0.15s ease, transform 0.15s ease; }
/* Every sliding button gives a little when pressed. */
[data-slide]:active { transform: scale(0.97); }
.btn-primary { --slide-bg: #fff; --slide-ink: var(--accent-fill); background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 10px 24px -12px var(--accent-fill); }
.btn-secondary { --slide-bg: var(--accent-fill); --slide-ink: #fff; background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-large { --slide-w: 60px; --slide-h: 44px; min-height: 52px; font-size: 18px; padding: 0 28px; }

/* Sliding buttons (slide.js). A pill holding the Reach mark, tilted to point right, sits at the
   start; on hover it slides to the far end while the label slides back, so they swap places.
   The pill sits above the label, so the text passes underneath it. */
[data-slide] { position: relative; justify-content: flex-start; padding: 4px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.slide-icon { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: var(--slide-w, 56px); height: var(--slide-h, 40px); border-radius: var(--radius-pill); background: var(--slide-bg); color: var(--slide-ink); transition: transform var(--slide-motion); }
.slide-label { padding: 0 20px 0 16px; white-space: nowrap; transition: transform var(--slide-motion); }
/* Their own compositing layer, so the swap stays smooth while videos play behind the page. */
.slide-icon, .slide-label { will-change: transform; }
.reach-arrow { width: calc(var(--slide-h, 40px) * 0.5); height: calc(var(--slide-h, 40px) * 0.5); transform: rotate(135deg); }
[data-slide].is-dragging .slide-icon, [data-slide].is-dragging .slide-label { transition: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .slide-icon, .slide-label { transition: none; }
}

/* ---------- Copy ---------- */
.hero-copy { position: relative; z-index: 3; max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); text-align: left; padding: var(--space-8) 0; }
.hero-copy h1 { font-size: clamp(40px, 4.4vw, 66px); }
/* The typed word sits on its own line, so its changing width never reflows the rest of the
   headline. The word and its full stop are both blue. */
.type-line { display: block; min-height: 1.05em; white-space: nowrap; }
.type-base.is-resting .type-caret { animation: caret-blink 1.05s steps(1) infinite; }
/* The intro fades over when the audience changes. */
.lede { transition: opacity 0.18s ease; }
.lede.is-swapping { opacity: 0; }
.type-dot { color: var(--accent); }
.type-caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.05em; border-radius: 2px; background: var(--accent); vertical-align: -0.04em; }
.type-line.is-resting .type-caret { animation: caret-blink 1.05s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { display: none; } }
h1 { margin: 0; }
h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 0; max-width: 60ch; color: var(--text-muted); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.hero-copy .ctas { justify-content: flex-start; }
.trusted { display: flex; align-items: center; gap: var(--space-3); color: var(--text-muted); }
.trusted p { margin: 0; }
.trusted b { color: var(--text); font-weight: 600; }
.avatars { display: flex; }
.avatars img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -8px; }
.avatars img:first-child { margin-left: 0; }

/* ---------- Clip wall ---------- */
.wall {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--wall-h);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  /* Only a thin fade at the very top and bottom edge, so the clips stay crisp. */
  -webkit-mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent);
}
.col { min-width: 0; }
.col:nth-child(2) { margin-top: -120px; }
.track { display: flex; flex-direction: column; gap: 18px; animation: drift var(--dur, 60s) linear infinite; animation-delay: var(--delay, 0s); }
.col:nth-child(even) .track { animation-direction: reverse; }
.wall:hover .track, .wall:focus-within .track { animation-play-state: paused; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.tile { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

/* Placeholder art: swap for a muted, looping <video> per clip. */
.art { position: absolute; inset: 0; display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, rgb(255 255 255 / 0.07) 0 14px, transparent 14px 28px),
  linear-gradient(160deg, var(--hue-a), var(--hue-b)); }
.art .play { width: 54px; height: 54px; border-radius: 50%; background: rgb(255 255 255 / 0.22); backdrop-filter: blur(6px); display: grid; place-items: center; }
.art .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.art .label { position: absolute; top: 50%; margin-top: 44px; color: rgb(255 255 255 / 0.88); }
.tile .top { position: absolute; top: var(--space-3); left: var(--space-3); right: var(--space-3); z-index: 1; display: flex; justify-content: space-between; gap: var(--space-2); }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--radius-pill); background: rgb(7 11 20 / 0.62); color: #fff; backdrop-filter: blur(6px); }
.chip svg { width: 12px; height: 12px; fill: currentColor; }
.tile .bottom { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-8) var(--space-3) var(--space-3); background: linear-gradient(transparent, rgb(7 11 20 / 0.78)); color: #fff; }
/* Real clips: the Short's own cover, a play button, and YouTube's player in place once pressed. */
.tile.is-real { background: #000; }
.tile .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* TikTok covers are designed and sharp: the creator's colours, a crisp round photo and the caption,
   until the real player fades in over them. */
.poster.is-designed { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--space-4); padding: 24% var(--space-4) 72px; overflow: hidden; background: linear-gradient(165deg, color-mix(in srgb, var(--hue-a) 70%, #000), color-mix(in srgb, var(--hue-b) 45%, #000)); }
.poster-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(255 255 255 / 0.85); box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.6); }
.poster-caption { max-width: 100%; color: #fff; text-align: center; text-wrap: balance; font: 800 17px / 1.25 var(--font-body); letter-spacing: -0.01em; text-shadow: 0 2px 10px rgb(0 0 0 / 0.45); }
.poster-name { color: rgb(255 255 255 / 0.9); font: 700 16px / 1.2 var(--font-body); }
.clip-play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; border: 0; padding: 0; background: none; cursor: pointer; }
.clip-play .play { width: 54px; height: 54px; border-radius: 50%; background: rgb(7 11 20 / 0.45); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform 0.2s ease, background-color 0.2s ease; }
.clip-play .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.tile.is-tiktok .clip-play { place-items: end center; padding-bottom: 84px; }
.clip-play:hover .play, .clip-play:focus-visible .play { transform: scale(1.08); background: var(--accent-fill); }
.clip-play:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: inherit; }
.tile.is-real .top, .tile.is-real .bottom { pointer-events: none; }
.tile iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity 0.4s ease; }
.tile iframe.is-ready { opacity: 1; }
/* While a clip's player is live, our cover overlays step aside for the player's own UI. */
.tile.is-live .top, .tile.is-live .bottom, .tile.is-live .clip-play { display: none; }
.clip-sound { position: absolute; z-index: 4; left: var(--space-3); bottom: var(--space-3); display: none; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: var(--radius-pill); background: rgb(7 11 20 / 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12px / 1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease; }
.clip-sound:hover { background: rgb(7 11 20 / 0.82); }
/* The pill keeps the same dark look with sound on; only its icon and label change. */
.clip-sound svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile.is-live .clip-sound { display: inline-flex; }
/* Over a playing player: a click anywhere on the clip toggles its sound, and the page can see
   hover (the player's frame would swallow both). The sound pill and ↗ sit above it. */
.clip-hit { position: absolute; inset: 0; z-index: 4; display: none; border: 0; padding: 0; background: none; cursor: pointer; }
.tile.is-live .clip-hit { display: block; }
.clip-sound { z-index: 5; }
.clip-sound:focus-visible, .clip-open:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* The small ↗ in the top corner opens the original post; it shows once the player is live. */
.clip-open { position: absolute; z-index: 5; top: var(--space-2); right: var(--space-2); display: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(7 11 20 / 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.clip-open svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.clip-open:hover { background: var(--accent-fill); }
.tile.is-live .clip-open, .clip-open:focus-visible { display: grid; }
.wall.has-playing .track { animation-play-state: paused; }
/* Nothing drifts while the hero is off screen. */
.wall.is-away .track { animation-play-state: paused; }
/* A clip whose player failed keeps its cover; the ↗ link lets people watch it on the platform. */
.tile.is-failed .clip-play { display: none; }
.tile.is-failed .clip-open { display: grid; }
.tile .bottom img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgb(255 255 255 / 0.8); flex: none; }
.tile .bottom div { display: grid; min-width: 0; }
.tile .bottom b { font-weight: 600; }
.tile .bottom span { opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Campaign cards sit in the wall so it doubles as navigation. */
/* Campaign cards on the wall: compact (sized to their content, not 9:16), with real numbers. */
.tile.campaign { aspect-ratio: auto; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: var(--surface); }
.cp-head { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.cp-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.cp-head > span:not(.status) { display: grid; min-width: 0; flex: 1; }
.cp-head b { font: 600 15px / 1.2 var(--font-body); letter-spacing: -0.01em; }
.cp-head small { font: 400 12px / 1.3 var(--font-body); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-head .status { flex: none; padding: 3px 8px; }
.cp-title { font: 600 19px / 1.2 var(--font-body); letter-spacing: -0.02em; color: var(--money); }
.cp-facts { list-style: none; margin: 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.cp-facts li { font: 400 13px / 1.35 var(--font-body); color: var(--text-muted); }
.cp-facts b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-note { margin: 0; font: 400 13px / 1.4 var(--font-body); color: var(--text-muted); }
.cp-cta { display: inline-flex; align-items: center; gap: 6px; font: 600 14px / 1 var(--font-body); color: var(--accent-fill); }
.cp-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.tile.campaign:hover .cp-cta svg { transform: translateX(3px); }
.campaign .status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: var(--space-1) 9px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text-muted); }
.campaign .status.is-live { color: var(--live); background: color-mix(in srgb, var(--live) 12%, transparent); }
.campaign .status.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }

/* ---------- Footer with the crowd ---------- */
/* A band in --crowd-paper: pale blue with navy print in light mode, a dark screen in dark mode.
   The crowd canvas paints the same paper colour, so its top edge fades into the band. */
.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: var(--space-11) var(--gutter) 380px;
  background: var(--crowd-paper);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-inner { position: relative; z-index: 1; width: 100%; max-width: var(--content); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-8) var(--space-9); }
.footer-cta { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.footer-cta h2 { margin: 0; }
.footer-cta p { margin: 0; max-width: 52ch; color: var(--text-muted); }
.footer-cta .ctas { justify-content: flex-start; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); align-content: start; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links p { margin: 0 0 var(--space-1); color: var(--text); }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; margin: 0; color: var(--text-muted); }

/* The crowd canvas renders at half resolution and is scaled up with hard pixels. */
.crowd {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 460px;
  image-rendering: pixelated;
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 28%);
  mask-image: linear-gradient(transparent, #000 28%);
}

/* ---------- Campaign wall ---------- */
/* How it works (how.js): headline and switch pinned on the left on wide screens, four steps on a
   timeline on the right. The line fills and markers light up as you scroll. */
/* Section backgrounds follow 1stCollab's rhythm (REA capture of 1stcollab.com): after the sky hero,
   sections alternate plain (--surface, their #fff) and tinted (--bg, their #f8f7f4), and the sky
   comes back once as a short band to open a new chapter (the creators). Hard edges between bands,
   no dividers. Each band has its own symmetric padding. */
.how { padding: var(--space-11) var(--gutter); background: var(--surface); }
/* Sized so the steps' cards reach the right edge like the other sections do: 440px copy column,
   80px gap, 60px for the markers, cards up to 700px (the full step column). */
.how-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: var(--space-10); align-items: start; }
.how-side { position: sticky; top: 112px; display: grid; gap: var(--space-5); justify-items: start; }
.how-intro { display: grid; gap: var(--space-4); }
.how-intro h2 { margin: 0; }
.how-intro p { margin: 0; color: var(--text-muted); }
.how-cta { margin-top: var(--space-2); }
.audience-switch { display: inline-flex; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); }
.audience-switch button { min-height: 40px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-pill); background: none; color: var(--text-muted); font: 600 15px / 1 var(--font-body); letter-spacing: -0.01em; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.audience-switch button:hover { color: var(--text); }
.audience-switch button[aria-selected="true"] { background: var(--accent-fill); color: var(--on-accent); }
.audience-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.how-panel:not([hidden]), .how-intro:not([hidden]) { animation: how-in 0.35s ease-out; }
@keyframes how-in { from { opacity: 0; } }

/* The timeline: a track and a fill (--fill, set by how.js) behind the step markers. */
.how-steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-9); }
.how-line { position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: var(--line); }
.how-line span { display: block; width: 100%; height: var(--fill, 0px); border-radius: inherit; background: var(--accent-fill); }
.how-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-5); }
.how-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); color: var(--text-muted); font: 700 15px / 1 var(--font-body); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.how-step.is-lit .how-marker { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.how-body { display: grid; gap: var(--space-3); padding-top: 6px; }
.how-body h3 { margin: 0; }
.how-body > p { margin: 0; max-width: 600px; color: var(--text-muted); font: 400 16px / 1.55 var(--font-body); }
/* Steps fade up the first time they're on screen. Only once how.js has armed the section, so
   without JavaScript (or with reduced motion) everything is simply visible. */
.how.is-armed .how-step { transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.how.is-armed .how-step:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* Step visuals */
.how-visual { margin-top: var(--space-2); max-width: 700px; padding: var(--space-4); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--tint) 55%, var(--bg)); border: 1px solid var(--line); }
.hv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.hv-list li, .hv-head, .hv-sub { display: flex; align-items: center; gap: var(--space-3); }
.hv-list li { padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.hv-list img, .hv-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.hv-head img[src$="reach-logo.webp"] { border-radius: var(--radius-sm); }
.hv-list li > span, .hv-head > span, .hv-sub > span { display: grid; min-width: 0; flex: 1; }
.hv-list b, .hv-head b, .hv-sub b { font: 600 14px / 1.3 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-list small, .hv-head small, .hv-sub small { font: 400 12px / 1.35 var(--font-body); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-list em { font: 600 13px / 1 var(--font-body); font-style: normal; color: var(--money); white-space: nowrap; }
.hv-list .is-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.hv-platforms { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hv-platforms li { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font: 600 13px / 1 var(--font-body); color: var(--text-muted); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.hv-platforms li.is-on { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
/* Step 2's clips: the hero wall's real clip tiles, smaller, with the platform and credit underneath. */
.hv-clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.hv-clip { margin: 0; display: grid; gap: var(--space-2); min-width: 0; }
.hv-clip .tile { border-radius: var(--radius-md); box-shadow: none; }
.hv-clip .tile:hover { transform: none; box-shadow: none; }
.hv-clip .tile .top, .hv-clip .tile .bottom { display: none; }
.hv-clip .clip-play .play { width: 40px; height: 40px; }
.hv-clip .clip-sound { bottom: var(--space-2); padding: 7px; }
/* Icon only on small tiles; the label stays readable to screen readers. */
.hv-clip .clip-sound span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hv-clip .poster-caption { font-size: 13px; }
.hv-clip .poster-face { width: 40px; height: 40px; }
.hv-clip .poster.is-designed { gap: var(--space-2); padding-bottom: 40px; }
.hv-clip figcaption { display: grid; min-width: 0; padding: 0 2px; }
.hv-clip figcaption b { font: 600 13px / 1.3 var(--font-body); }
.hv-clip figcaption a { font: 400 12px / 1.3 var(--font-body); color: var(--text-muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-clip figcaption a:hover { color: var(--accent-fill); text-decoration: underline; }
.hv-card { display: grid; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.hv-tag { justify-self: start; padding: 3px 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text-muted); font: 500 11px / 1.3 var(--font-body); }
.hv-row { display: flex; justify-content: space-between; gap: var(--space-3); font: 400 14px / 1.45 var(--font-body); color: var(--text-muted); }
.hv-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hv-row.is-total { padding-top: var(--space-2); border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.hv-row.is-total b { color: var(--money); font-size: 18px; }
/* Facts the team still has to confirm: visibly unfinished on purpose. */
.hv-row.is-placeholder b { padding: 1px 8px; border: 1px dashed color-mix(in srgb, var(--text) 35%, transparent); border-radius: var(--radius-sm); color: var(--text-muted); font-weight: 500; }
.hv-sub { padding: var(--space-2) 0; border-top: 1px solid var(--line); }
.hv-sub:first-of-type { border-top: 0; }
.hv-sub i, .hv-head i { flex: none; padding: 3px 9px; border-radius: var(--radius-pill); font: 600 11px / 1.3 var(--font-body); font-style: normal; white-space: nowrap; }
.is-good { color: var(--money); background: color-mix(in srgb, var(--money) 12%, transparent); }
.is-live { color: var(--accent-fill); background: var(--tint); }
.is-wait { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); }
:root[data-theme="dark"] .is-wait { color: #fbbf24; }
.hv-post-text { margin: 0; font: 400 14px / 1.5 var(--font-body); }
.hv-post-text b { display: block; margin-bottom: 2px; font-weight: 700; letter-spacing: 0.01em; }
.hv-meta { font: 400 12px / 1.4 var(--font-body); color: var(--text-muted); }
.hv-bar { height: 8px; margin-top: var(--space-1); border-radius: var(--radius-pill); background: var(--tint); overflow: hidden; }
.hv-bar span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--money); }

@media (max-width: 1023px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); max-width: 720px; }
  .how-side { position: static; }
}
@media (max-width: 520px) {
  .how-steps { gap: var(--space-8); }
  .how-step { grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-3); }
  .how-marker { width: 32px; height: 32px; font-size: 13px; }
  .how-line { left: 15px; top: 16px; bottom: 16px; }
  .how-visual { padding: var(--space-3); }
  .hv-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); }
}
@media (prefers-reduced-motion: reduce) {
  .how-panel:not([hidden]), .how-intro:not([hidden]) { animation: none; }
  .how-marker { transition: none; }
}

/* Growth band: the speed-up headline, the curve, then three totals. */
.growth-band { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); padding: var(--space-10) var(--gutter); background: var(--bg); }
.growth-band h2 { margin: 0; max-width: 980px; text-align: center; }
/* Each sentence on its own line: the slow start, then the fast finish in blue. */
.growth-band h2 em { display: block; font-style: normal; color: var(--accent); }
.growth-stats { width: 100%; max-width: 880px; margin: 0; padding-top: var(--space-6); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.growth-stats div { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); text-align: center; }
.growth-stats dd { order: -1; margin: 0; font: 600 clamp(26px, 3vw, 40px) / 1.1 var(--font-heading); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.growth-stats dt { color: var(--text-muted); font: 400 14px / 1.4 var(--font-body); }

/* Creators: their own heading, then the big cards and the roster. */
/* The sky returns for the creators, as a short band at the top: theirs runs #85c9ff 0%,
   #f8f7f4cc 10%, #f8f7f4 85%. */
.campaign-wall { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); padding: var(--space-11) var(--gutter); background: linear-gradient(var(--sky) 0%, var(--bg-veil) 10%, var(--bg) 85% 100%); }
.wall-title { margin: 0; max-width: 780px; text-align: center; }

/* Growth curve (growth.js): total views over time. Gridlines at each 250M, brackets under the
   axis for how long each 250M took, and a shaded band on the last one. */
.growth { width: 100%; max-width: 880px; margin: 0; display: grid; gap: var(--space-3); }
.growth figcaption { color: var(--text-muted); text-align: center; }
.growth-chart { position: relative; height: 320px; border-radius: var(--radius-md); outline: none; touch-action: pan-y; }
.growth-chart:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.growth-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gc-grid { stroke: var(--line); stroke-width: 1; }
.gc-base { stroke: color-mix(in srgb, var(--text) 22%, transparent); stroke-width: 1; }
.gc-ylabel { fill: var(--text-muted); font: 400 12px / 1 var(--font-body); font-variant-numeric: tabular-nums; }
.gc-band { fill: var(--tint); }
.gc-area { fill: var(--accent); fill-opacity: 0.1; } /* fill-opacity, so the fade-in can animate opacity */
.gc-line { fill: none; stroke: var(--accent-fill); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gc-dot { fill: var(--accent-fill); stroke: var(--bg); stroke-width: 2; }
.gc-tick { stroke: color-mix(in srgb, var(--text) 30%, transparent); stroke-width: 1; }
.gc-month { fill: var(--text-muted); font: 400 12px / 1 var(--font-body); }
.gc-month.is-end { fill: var(--text); font-weight: 600; }
.gc-pin { fill: var(--bg); stroke: var(--accent-fill); stroke-width: 2; }
.gc-pin-leader { stroke: color-mix(in srgb, var(--text) 25%, transparent); stroke-width: 1; }
.gc-pin-title { fill: var(--text); font: 600 12px / 1 var(--font-body); letter-spacing: -0.01em; }
.gc-pin-sub { fill: var(--text-muted); font: 400 11px / 1 var(--font-body); }
.gc-cross { stroke: color-mix(in srgb, var(--text) 35%, transparent); stroke-width: 1; }
.gc-focus { fill: var(--accent-fill); stroke: var(--bg); stroke-width: 3; }
.gc-tip { position: absolute; z-index: 2; left: 0; top: 0; min-width: 132px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); pointer-events: none; display: grid; gap: 2px; white-space: nowrap; }
.gc-tip b { font: 600 14px / 1.3 var(--font-body); font-variant-numeric: tabular-nums; }
.gc-tip span { font: 400 12px / 1.35 var(--font-body); color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* The line draws itself once, the first time the chart is on screen. */
.growth-chart.is-idle .gc-reveal { opacity: 0; }
.growth-chart.is-drawing .gc-line { animation: gc-draw 1.6s cubic-bezier(0.55, 0, 0.25, 1) forwards; }
.growth-chart.is-drawing .gc-reveal { opacity: 0; animation: gc-fade 0.5s ease-out 1.3s forwards; }
@keyframes gc-draw { to { stroke-dashoffset: 0; } }
@keyframes gc-fade { to { opacity: 1; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Big creator cards: Lacy and Clix tall on the left, four more in a 2x2 block. */
.creator-cards { width: 100%; max-width: var(--content); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 232px; grid-auto-flow: dense; gap: var(--space-4); }
.creator-card { position: relative; display: block; perspective: 1000px; border-radius: var(--radius-xl); color: var(--text); text-decoration: none; }
.creator-card.is-lead { grid-row: span 2; }
.creator-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.45, 0, 0.2, 1); }
.creator-card.is-flipped .cc-inner { transform: rotateY(180deg); }
.cc-face { position: absolute; inset: 0; border-radius: var(--radius-xl); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--surface); border: 1px solid var(--line); }
.cc-front { transform: rotateY(0deg); }
.cc-front .cc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgb(7 11 20 / 0.82)); }
.cc-id { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); z-index: 1; display: grid; gap: 2px; color: #fff; }
.cc-name { font: 600 22px / 1.15 var(--font-heading); letter-spacing: -0.03em; }
.creator-card.is-lead .cc-name { font-size: 32px; }
.cc-role { font: 500 13px / 1.4 var(--font-body); opacity: 0.85; }
.cc-front .status { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 1; background: rgb(7 11 20 / 0.7); color: #fff; }
.cc-back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 10px; padding: var(--space-5); }
.cc-title { font: 500 16px / 1.3 var(--font-body); letter-spacing: -0.01em; }
.cc-big { display: grid; font: 600 34px / 1.05 var(--font-body); letter-spacing: -0.02em; color: var(--money); font-variant-numeric: tabular-nums; }
.creator-card.is-lead .cc-big { font-size: 52px; margin-top: var(--space-4); }
.cc-big small { font: 500 13px / 1.4 var(--font-body); color: var(--text-muted); letter-spacing: 0; }
.cc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.cc-stats span { display: grid; font: 400 12px / 1.35 var(--font-body); color: var(--text-muted); }
.cc-stats b { font: 600 17px / 1.2 var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; }
.cc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 14px / 1 var(--font-body); color: var(--accent-fill); }
.cc-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Shared status badge used on cards and tiles. */
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text-muted); }
.status.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.cc-back .status.is-live { color: var(--live); background: color-mix(in srgb, var(--live) 12%, transparent); }

/* Initials stand in for missing photos. */
.monogram { display: grid; place-items: center; font: 700 30px / 1 var(--font-heading); letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(150deg, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 70% 38%)); }
.cc-photo.monogram { font-size: 72px; padding-bottom: 22%; }

/* Roster stage: a panel (white in light mode, dark in dark mode) framed by viewfinder corners. Tiles are photo-first with only the
   name under them; the campaign line appears on hover, and a smaller set of corners glides to
   whichever tile the cursor is on. */
.roster-head { width: 100%; max-width: var(--content); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.roster-head h3 { margin: 0; }
.roster-stage { --stage-pad: var(--space-6); --stage-radius: 28px; position: relative; width: 100%; max-width: var(--content); padding: var(--stage-pad);
  border-radius: var(--stage-radius); background: var(--stage); box-shadow: inset 0 0 0 1px var(--stage-line), var(--stage-shadow); }
/* Viewfinder corners: a rounded border masked down to its four corners. */
.frame-corners { --len: 44px; --weight: 2px; position: absolute; pointer-events: none; border: var(--weight) solid var(--accent);
  -webkit-mask: linear-gradient(to right, #000 var(--len), transparent var(--len) calc(100% - var(--len)), #000 calc(100% - var(--len))),
                linear-gradient(to bottom, #000 var(--len), transparent var(--len) calc(100% - var(--len)), #000 calc(100% - var(--len)));
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, #000 var(--len), transparent var(--len) calc(100% - var(--len)), #000 calc(100% - var(--len))),
        linear-gradient(to bottom, #000 var(--len), transparent var(--len) calc(100% - var(--len)), #000 calc(100% - var(--len)));
  mask-composite: intersect; }
.stage-corners { inset: -12px; border-radius: calc(var(--stage-radius) + 12px); }
.rt-focus { --len: 16px; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); border-radius: 20px; opacity: 0; transform: translate(var(--x, 0), var(--y, 0));
  transition: transform 0.28s cubic-bezier(0.3, 0.7, 0.2, 1), width 0.28s cubic-bezier(0.3, 0.7, 0.2, 1), height 0.28s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.2s ease; }
.rt-focus.is-on { opacity: 1; }
.rt-focus.is-jump { transition: opacity 0.2s ease; }

.roster-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
.roster-tile { position: relative; display: block; perspective: 700px; color: var(--stage-text); text-decoration: none; border-radius: 14px; transition: opacity 0.25s ease; }
.roster-grid:hover .roster-tile:not(:hover) { opacity: 0.4; }
.roster-tile:focus-visible { outline: none; }
.rt-inner { display: grid; transform-style: preserve-3d; }
.roster-tile.is-flipping .rt-inner { animation: rt-flip 0.7s cubic-bezier(0.45, 0, 0.2, 1) forwards; will-change: transform; }
@keyframes rt-flip { from { transform: rotateY(0deg); } to { transform: rotateY(180deg); } }
/* Both faces share one grid cell, so the tile sizes to its content. */
.rt-face { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* An explicit 0deg on the front keeps Chrome from dropping the image after a flip. */
.rt-front { transform: rotateY(0deg); }
.rt-back { transform: rotateY(180deg); }
.rt-shot { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--stage-well); }
.rt-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--stage-hairline); pointer-events: none; }
.rt-photo { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.roster-tile:hover .rt-photo, .roster-tile:focus-visible .rt-photo { transform: scale(1.06); }
.rt-name { padding-inline: 2px; font: 500 14px / 1.2 var(--font-body); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Campaign line: hidden at rest, slides up over the photo on hover or focus. */
.rt-label { position: absolute; inset: auto 0 0; padding: 28px 10px 9px; font: 500 12px / 1.3 var(--font-body); color: #fff;
  background: linear-gradient(transparent, rgb(7 11 20 / 0.88)); opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.25s ease; }
.rt-label b { font-weight: 600; color: var(--live); }
.roster-tile:hover .rt-label, .roster-tile:focus-visible .rt-label { opacity: 1; transform: none; }
.rt-shot .monogram { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .roster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .roster-tile:nth-child(n + 13) { display: none; }
}
@media (max-width: 820px) {
  .creator-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .roster-stage { --stage-pad: var(--space-4); --stage-radius: 22px; }
  .roster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .roster-tile:nth-child(n + 9) { display: none; }
}
@media (max-width: 520px) {
  .how { padding-block: var(--space-10); }
  .growth-band { padding-block: var(--space-9); }
  .campaign-wall { padding-block: var(--space-10); }
  .growth-stats dt { font-size: 12px; }
  .creator-cards { grid-auto-rows: 190px; gap: var(--space-3); }
  .creator-card.is-lead .cc-name { font-size: 24px; }
  .creator-card.is-lead .cc-big { font-size: 38px; }
  .cc-big { font-size: 26px; }
  .cc-back { padding: var(--space-4); gap: 6px; }
  .cc-stats b { font-size: 15px; }
  .roster-stage { --stage-pad: var(--space-3); --stage-radius: 18px; }
  .stage-corners { --len: 28px; inset: -7px; border-radius: calc(var(--stage-radius) + 7px); }
  .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); }
  .rt-face { gap: 6px; }
  .rt-name { font-size: 12px; }
  .roster-tile:nth-child(n + 7) { display: none; }
  .cc-photo.monogram { font-size: 44px; padding-bottom: 40%; }
  .growth-chart { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-inner, .roster-tile, .rt-photo, .rt-focus { transition: none; }
  .roster-tile.is-flipping .rt-inner { animation: none; }
}

/* ---------- Preview-only theme switch (remove before shipping) ---------- */
.theme-switch { position: fixed; z-index: 10; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.theme-switch button { color: var(--text-muted); background: none; border: 0; padding: var(--space-2) 14px; border-radius: var(--radius-pill); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .hero-copy { max-width: 680px; margin: 0 auto; align-items: center; text-align: center; padding-bottom: 0; }
  .hero-copy .ctas { justify-content: center; }
  .wall { --wall-h: 600px; }
}
@media (max-width: 820px) {
  .wall { gap: 14px; height: 560px; }
  .track { gap: 14px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .hero-copy { padding-top: var(--space-4); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 520px; }
  .col:nth-child(3) { display: none; }
  .col:nth-child(2) { margin-top: -60px; }
  .trusted { flex-direction: column; gap: var(--space-2); }
  .theme-switch { right: auto; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .theme-switch button { padding: 6px 10px; font-size: 12px; }
  .tile .top .chip + .chip { display: none; }
  .site-footer { padding-top: var(--space-10); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding-bottom: 260px; min-height: 0; }
  .crowd { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .tile, .btn { transition: none; }
}
