/* ============================================================================
   Ray White Sherwood | Centenary FY27 — Boardroom Slideshow Styles
   Imports brand-tokens.css at top; never redefines core variables.
   Designed for 1920×1080 boardroom TV; responsive down to 1024px laptop.
   ============================================================================ */

/* ── Google Fonts already loaded in HTML ─────────────────────────────────── */

/* ── Reset + base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  font-family: var(--font-body);
  color: var(--white);
}

/* ══ SLIDE ENGINE ════════════════════════════════════════════════════════════ */

.slide {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
  overflow: hidden;
  /* slides are invisible + inert by default */
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Common inner wrapper — adds max-width + padding so content breathes */
.slide-inner {
  width: 100%;
  max-width: min(1520px, 90vw);
  padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 3vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vh, 2.5rem);
}

/* Eyebrow label */
.slide-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rw-yellow);
  opacity: 0.85;
}

/* Slide headline — Playfair, large, white */
.slide-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 5.2rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--white);
}

/* ══ CHROME ══════════════════════════════════════════════════════════════════ */

/* Top-left eyebrow */
.br-eyebrow {
  position: fixed;
  top: clamp(0.8rem, 1.5vh, 1.4rem);
  left: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 0.7vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-yellow);
  opacity: 0.8;
  z-index: 900;
  transition: opacity 0.4s var(--ease);
}

/* Top-right slide counter */
.br-counter {
  position: fixed;
  top: clamp(0.6rem, 1.2vh, 1.1rem);
  right: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--rw-yellow);
  z-index: 900;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.4s var(--ease);
  letter-spacing: 0.04em;
}

.br-counter-sep {
  opacity: 0.45;
}

/* Bottom progress bar */
.br-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 900;
  transition: opacity 0.4s var(--ease);
}

.br-progress-fill {
  height: 100%;
  background: var(--rw-yellow);
  transition: width 0.5s var(--ease);
  width: 10%;
}

/* Chrome hide state */
.br-chrome-hidden .br-eyebrow,
.br-chrome-hidden .br-counter,
.br-chrome-hidden .br-progress {
  opacity: 0;
  pointer-events: none;
}

/* Autoplay badge */
.br-autoplay-badge {
  position: fixed;
  bottom: clamp(0.6rem, 1.5vh, 1.2rem);
  right: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--rw-yellow);
  padding: 0.25em 0.7em;
  border-radius: var(--r-pill);
  z-index: 901;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.br-autoplay-badge.is-visible {
  opacity: 1;
}

/* ══ SLIDE 1 — Cold open ════════════════════════════════════════════════════ */

.s1-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  /* Ken Burns slow zoom — 8s, pure CSS */
  animation: s1-ken-burns 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes s1-ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Dark gradient overlay */
.s1-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23,30,26,0.82) 0%,
    rgba(23,30,26,0.40) 40%,
    rgba(23,30,26,0.05) 100%
  );
}

.s1-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 clamp(2rem, 6vw, 8rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: clamp(2rem, 10vh, 9rem);
}

/* Yellow rule that draws in before the headline */
.s1-rule {
  width: 0;
  height: 2px;
  background: var(--rw-yellow);
  border-radius: 1px;
  margin-bottom: clamp(0.6rem, 1.5vh, 1.2rem);
  transition: width 0.5s var(--ease);
}

#slide-1.is-active .s1-rule {
  width: 60px;
  transition-delay: 0.2s;
}

/* Headline — single confident fade-up */
.s1-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 8rem);
  line-height: 1.15;
  padding-bottom: 0.18em;
  color: var(--white);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out, letter-spacing 1.2s ease-out;
}

#slide-1.is-active .s1-headline {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: -0.01em;
  transition-delay: 0.6s;
}

/* Pulsing chevron */
.s1-chevron {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  color: rgba(255,255,255,0.5);
  z-index: 20;
  animation: s1-chevron-pulse 2s ease-in-out infinite;
}

@keyframes s1-chevron-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.75; transform: translateX(-50%) translateY(6px); }
}

/* ══ SLIDE 2 — Pride grid ═══════════════════════════════════════════════════ */

.s2-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
  /* 13 cards — last 3 centred via CSS trick */
}

/* Centre the last row (3 cards in row 3) */
.s2-card:nth-child(11),
.s2-card:nth-child(12),
.s2-card:nth-child(13) {
  grid-column: auto;
}
/* push start of row 3 to col 2 to center 3 items across 5-col grid */
.s2-card:nth-child(11) { grid-column: 2; }

.s2-card {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: clamp(0.7rem, 1.5vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  position: relative;
  overflow: hidden;
  /* deal-in animation */
  opacity: 0;
  transform: translateY(clamp(20px, 3vh, 40px));
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.3s var(--ease);
}

.s2-card.is-dealt {
  opacity: 1;
  transform: translateY(0);
}

.s2-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.62rem, 1vw, 0.9rem);
  color: var(--white);
  line-height: 1.25;
}

.s2-card-line {
  font-family: var(--font-body);
  font-size: clamp(0.52rem, 0.8vw, 0.72rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  flex: 1;
}

/* Yellow accent line that draws under each card */
.s2-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--rw-yellow);
  width: 0;
  transition: width 0.6s var(--ease);
}

.s2-card.is-dealt .s2-card-accent {
  width: 100%;
  transition-delay: 0.35s;
}

.s2-footer {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: clamp(0.5rem, 1vh, 1rem);
}

/* ══ SLIDE 3 — Toolkit panels ══════════════════════════════════════════════ */

.s3-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  flex: 1;
  min-height: 0;
}

.s3-panel {
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease);
}

/* Active panel zooms +5% + yellow halo; others dim */
.s3-panel.s3-active {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--rw-yellow), 0 8px 40px rgba(255,229,18,0.18);
  opacity: 1;
}

.s3-panel.s3-dim {
  opacity: 0.4;
}

.s3-screen {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.s3-caption {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0.4em 0.8em;
  background: rgba(23,30,26,0.7);
  text-align: center;
  flex-shrink: 0;
}

.s3-caption-row {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.85rem, 1.4vw, 1.3rem);
  color: var(--rw-yellow);
  text-align: center;
  min-height: 1.5em;
  transition: opacity 0.3s var(--ease);
}

/* ══ SLIDE 4 — Countdown ════════════════════════════════════════════════════ */

.s4-countdown {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2.5rem);
  justify-content: center;
  padding: clamp(1rem, 2.5vh, 2rem) 0;
}

.s4-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  background: var(--ink-soft);
  border: 1px solid rgba(255,229,18,0.2);
  border-radius: var(--r-lg);
  padding: clamp(0.8rem, 2vw, 1.8rem) clamp(1.2rem, 2.5vw, 2.5rem);
  min-width: clamp(80px, 10vw, 140px);
}

.s4-cd-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 7rem);
  line-height: 1;
  color: var(--rw-yellow);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: block;
  min-width: 2ch;
  text-align: center;
}

.s4-cd-label {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 0.8vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.s4-cd-sep {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 5rem);
  color: rgba(255,229,18,0.3);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.1em;
}

/* FHOG cliff bars */
.s4-cliff {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  flex: 1;
  min-height: 0;
  max-height: 22vh;
}

.s4-cliff-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  flex: 1;
  max-width: 220px;
  height: 100%;
  justify-content: flex-end;
}

.s4-bar-wrap {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.s4-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  position: relative;
  overflow: visible;
  /* width draws in when slide is active */
  height: 0;
  transition: height 1s var(--ease);
}

#slide-4.is-active .s4-bar-high {
  height: 100%;
  background: var(--rw-yellow);
  transition-delay: 0.4s;
}

#slide-4.is-active .s4-bar-low {
  height: 50%;
  background: rgba(230, 108, 108, 0.8);
  transition-delay: 0.7s;
}

.s4-bar-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.85rem, 1.5vw, 1.4rem);
  color: var(--ink);
  position: absolute;
  top: 0.4em;
}

.s4-bar-high .s4-bar-label { color: var(--ink); }
.s4-bar-low .s4-bar-label  { color: var(--white); }

.s4-bar-caption {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 0.75vw, 0.68rem);
  color: rgba(255,255,255,0.4);
  text-align: center;
  white-space: nowrap;
}

.s4-cliff-arrow {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2em;
  flex-shrink: 0;
}

.s4-cliff-arrow svg {
  width: clamp(30px, 4vw, 60px);
  height: auto;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 1.2s;
}

#slide-4.is-active .s4-cliff-arrow svg {
  opacity: 1;
}

.s4-footer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.75rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.5;
  border-left: 3px solid var(--rw-yellow);
  padding-left: 1em;
  margin: 0 auto;
  max-width: 80%;
}

/* ══ SLIDE 3 — FHOG erosion counter ═════════════════════════════════════════ */

.s3-erosion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 0.8vh, 0.75rem);
  padding: clamp(1rem, 2vh, 1.8rem) clamp(1.5rem, 3vw, 3rem);
  background: rgba(255, 229, 18, 0.04);
  border: 1px solid rgba(255, 229, 18, 0.15);
  border-radius: var(--r-lg);
  flex: 1;
  min-height: 0;
  justify-content: center;
}

.s3-eroded-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 0.75vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
  text-align: center;
}

.s3-eroded-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
  color: var(--rw-yellow);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: center;
}

.s3-eroded-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.65rem, 1vw, 0.9rem);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.4;
}

/* Down-arrow + amount hero row */
.s3-eroded-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
}

/* Small red down-arrow reinforcing "getting lower" */
.s3-eroded-down-arrow {
  font-size: clamp(1.4rem, 3vw, 3.2rem);
  color: #ff5a3c;
  line-height: 1;
  opacity: 0.85;
  animation: s3-arrow-pulse 2s ease-in-out infinite;
}

@keyframes s3-arrow-pulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(4px); }
}

/* Progress track — dark reddish background = the "already gone" zone.
   Yellow fill = what remains. Starts full, drains from the right. */
.s3-eroded-track {
  width: 100%;
  max-width: clamp(280px, 50vw, 600px);
  height: 10px;
  background: rgba(255, 90, 60, 0.2);
  border-radius: 999px;
  overflow: visible;
  margin-top: clamp(0.2rem, 0.5vh, 0.5rem);
  position: relative;
}

/* Yellow fill = remaining buffer — JS sets width based on remaining/15000 */
.s3-eroded-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--rw-yellow);
  border-radius: 999px;
  transform-origin: left center;
  transition: width 0.5s ease-out;
  position: relative;
}

/* Red drain-marker — drifts left with the fill right-edge; JS positions via `left` */
.s3-eroded-drain-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3px;
  background: #ff5a3c;
  border-radius: 2px;
  transition: left 0.5s ease-out;
  box-shadow: 0 0 6px rgba(255, 90, 60, 0.7);
  pointer-events: none;
}

/* ══ SLIDE 5 — Partners + coin stack ════════════════════════════════════════ */

/* Slide 4 disclaimer pill */
.s5-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  align-self: center;
  padding: 0.6em 1.2em;
  border: 1.5px solid var(--rw-yellow);
  background: rgba(255, 229, 18, 0.06);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(0.58rem, 0.85vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  flex-shrink: 0;
}

.s5-disclaimer-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.s5-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vh, 2rem);
  flex: 1;
  min-height: 0;
}

.s5-partners {
  display: flex;
  gap: clamp(0.5rem, 1.2vw, 1.5rem);
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
}

.s5-partner-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.s5-partner-slot.is-lit {
  opacity: 1;
}

.s5-partner-circle {
  width: clamp(40px, 5vw, 72px);
  height: clamp(40px, 5vw, 72px);
  border-radius: 50%;
  background: var(--ink-soft);
  border: 2px solid rgba(255,229,18,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.s5-partner-slot.is-lit .s5-partner-circle {
  background: var(--rw-yellow);
  border-color: var(--rw-yellow);
  box-shadow: 0 0 16px rgba(255,229,18,0.4);
}

.s5-partner-circle span {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(0.5rem, 0.85vw, 0.75rem);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease);
}

.s5-partner-slot.is-lit .s5-partner-circle span {
  color: var(--ink);
}

.s5-partner-name {
  font-family: var(--font-body);
  font-size: clamp(0.42rem, 0.65vw, 0.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-align: center;
  max-width: clamp(48px, 6vw, 80px);
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}

.s5-partner-slot.is-lit .s5-partner-name {
  color: rgba(255,255,255,0.8);
}

.s5-prize-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.9rem, 1.6vw, 1.5rem);
  color: var(--rw-yellow);
  text-align: center;
  min-height: 1.6em;
  transition: opacity 0.3s var(--ease);
}

.s5-coins {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}

.s5-coin-stack {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.s5-coin {
  width: clamp(120px, 15vw, 200px);
  height: clamp(10px, 1.5vh, 18px);
  border-radius: 50%;
  background: linear-gradient(90deg, #c8a700 0%, var(--rw-yellow) 40%, #ffe970 60%, #c8a700 100%);
  border: 1px solid rgba(200,167,0,0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.s5-coin.is-stacked {
  opacity: 1;
  transform: translateY(0);
}

.s5-coin-total {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  color: var(--rw-yellow);
  text-align: center;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.s5-coin-total.is-visible {
  opacity: 1;
}

/* ══ SLIDE 6 — 55,000 touches ══════════════════════════════════════════════ */

.s6-layout {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.s6-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vh, 2rem);
}

.s6-counter-wrap {
  display: flex;
  align-items: baseline;
}

.s6-big-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 12rem);
  line-height: 1;
  color: var(--rw-yellow);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.s6-equation {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1.4rem);
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  align-items: center;
  line-height: 1.5;
}

.s6-eq-part {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 0.2em 0.5em;
  color: var(--white);
  font-weight: 700;
}

.s6-eq-plus,
.s6-eq-equals {
  font-weight: 700;
  color: var(--rw-yellow);
  font-size: 1.2em;
}

.s6-eq-total {
  color: var(--rw-yellow);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
}

.s6-footer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.8rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  border-left: 3px solid var(--rw-yellow);
  padding-left: 1em;
}

.s6-right {
  flex: 0 0 clamp(220px, 35vw, 420px);
}

.s6-map {
  width: 100%;
  height: auto;
}

.s6-map-patch {
  fill: rgba(255,229,18,0.08);
  stroke: rgba(255,229,18,0.35);
  stroke-width: 1.5;
}

.s6-map-inner {
  stroke: rgba(255,229,18,0.15);
  stroke-width: 0.8;
}

.s6-map-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  fill: rgba(255,255,255,0.4);
  text-anchor: middle;
}

/* Dot animation */
.s6-dot {
  fill: var(--rw-yellow);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.s6-dot.is-visible {
  opacity: 0.85;
}

/* ══ SLIDE 7 — DL card mockup ══════════════════════════════════════════════ */

.s7-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vh, 2.5rem);
  flex: 1;
}

/* Scale the card to fit comfortably on screen (original DL = 210×99mm ratio) */
.s7-card-mock {
  width: min(600px, 80vw);
  aspect-ratio: 210 / 99;
  position: relative;
  background: #F8F8F9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}

.s7-card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18%;
  background: var(--rw-yellow);
  display: flex;
  align-items: center;
  padding: 0 4%;
}

.s7-card-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.45rem, 0.9vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

.s7-card-body {
  position: absolute;
  top: 18%;
  left: 4%;
  right: 4%;
  bottom: 4%;
  display: flex;
  gap: 4%;
  align-items: flex-start;
  padding-top: 2%;
}

.s7-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4%;
}

.s7-card-grant-box {
  background: var(--rw-yellow);
  border-radius: 3px;
  padding: 3% 4%;
}

.s7-grant-label {
  font-family: var(--font-body);
  font-size: clamp(0.4rem, 0.7vw, 0.55rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(23,30,26,0.7);
  display: block;
  margin-bottom: 1%;
}

.s7-grant-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(0.5rem, 0.9vw, 0.75rem);
  color: var(--ink);
  line-height: 1.35;
}

.s7-card-copy {
  font-family: var(--font-body);
  font-size: clamp(0.4rem, 0.65vw, 0.55rem);
  color: rgba(23,30,26,0.7);
  line-height: 1.4;
  border-left: 2px solid var(--rw-yellow);
  padding-left: 3%;
}

.s7-name-block {
  display: flex;
  flex-direction: column;
  gap: 2%;
}

.s7-sig {
  width: 100%;
  height: auto;
  display: block;
}

.s7-sig-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: none;
}

#slide-7.is-active .s7-sig-path {
  animation: s7-sig-draw 2.8s var(--ease) 0.6s forwards;
}

@keyframes s7-sig-draw {
  to { stroke-dashoffset: 0; }
}

.s7-name-typed {
  font-family: var(--font-body);
  font-size: clamp(0.45rem, 0.75vw, 0.62rem);
  font-weight: 700;
  color: var(--ink);
  min-height: 1em;
}

.s7-card-right {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4%;
}

.s7-qr-placeholder {
  background: #fff;
  border: 1.5px solid var(--rw-yellow);
  border-radius: 3px;
  padding: 4%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4%;
}

.s7-qr-inner {
  width: 100%;
  aspect-ratio: 1;
  background: repeating-linear-gradient(
    0deg,
    rgba(23,30,26,0.08) 0px, rgba(23,30,26,0.08) 2px,
    transparent 2px, transparent 6px
  ),
  repeating-linear-gradient(
    90deg,
    rgba(23,30,26,0.08) 0px, rgba(23,30,26,0.08) 2px,
    transparent 2px, transparent 6px
  );
}

.s7-qr-label {
  font-family: var(--font-body);
  font-size: clamp(0.35rem, 0.55vw, 0.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

.s7-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.9rem, 1.5vw, 1.4rem);
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ══ SLIDE 8 — 5% math ══════════════════════════════════════════════════════ */

.s8-layout {
  display: flex;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.s8-donut-wrap {
  position: relative;
  flex: 0 0 clamp(180px, 28vw, 320px);
}

.s8-donut {
  width: 100%;
  height: auto;
  display: block;
}

.s8-donut-fill {
  transition: stroke-dasharray 1.2s var(--ease);
}

#slide-8.is-active .s8-donut-fill {
  /* 5% of 502.65 = 25.13; remainder = 477.52 */
  stroke-dasharray: 25.13 477.52;
  transition-delay: 0.4s;
}

.s8-donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.s8-donut-pct {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--rw-yellow);
  line-height: 1;
}

.s8-donut-sub {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.85vw, 0.78rem);
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}

.s8-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.8vh, 1.8rem);
}

.s8-cpl-label {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.85vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.s8-cpl-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 1;
  color: var(--rw-yellow);
  letter-spacing: -0.03em;
}

.s8-punchline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  color: var(--white);
  line-height: 1.4;
  max-width: 580px;
}

.s8-footnote {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.8vw, 0.7rem);
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.8em;
}

/* ══ SLIDE 9 — Socials gallery (mobile mockups) ════════════════════════════ */

.s9-socials { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 48px 64px; height: 100%; justify-content: center; }
.s9-headline { font: 700 clamp(48px, 5.5vw, 92px)/1.05 var(--font-display); color: #fff; margin: 0; text-align: center; }
.s9-sub { font: 400 clamp(16px, 1.2vw, 22px)/1.4 var(--font-body); color: rgba(255,255,255,0.78); margin: 0; text-align: center; }
.s9-phones { display: flex; gap: 36px; align-items: center; justify-content: center; margin: 28px 0; perspective: 1200px; }

.phone {
  width: clamp(220px, 18vw, 280px); aspect-ratio: 9/19;
  background: var(--ink); border: 4px solid #2c3530; border-radius: 36px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,229,18,0.08) inset;
  transform: rotate(var(--tilt, 0deg)) translateY(20px); opacity: 0;
  transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .7s ease;
}
.slide.is-active .phone { transform: rotate(var(--tilt, 0deg)) translateY(0); opacity: 1; }
.slide.is-active .phone-ig { transition-delay: 100ms; }
.slide.is-active .phone-fb { transition-delay: 250ms; }
.slide.is-active .phone-em { transition-delay: 400ms; }

.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 100px; height: 16px; background: #000; border-radius: 16px; z-index: 2; }
.phone-home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 2px; z-index: 2; }
.phone-screen { position: absolute; top: 28px; bottom: 22px; left: 6px; right: 6px; background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }

/* ══ SLIDE 8 — Phone screens (redesigned "Feed Talks For You") ════════════ */

/* ── Phone 1: Instagram ─────────────────────────────────────────────────── */
.phone-ig .phone-screen { background: #fff; color: #000; overflow-y: auto; }

/* Status bar */
.ig-status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 10px; height: 28px; background: #fff;
  font: 700 8px/1 var(--font-body); color: #000; flex-shrink: 0;
  position: relative;
}
.ig-status-time { font: 700 9px/1 var(--font-body); }
.ig-status-icons { display: flex; align-items: center; gap: 3px; }
.ig-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 72px; height: 14px; background: #000; border-radius: 0 0 10px 10px;
}

/* IG Header */
.ig-header {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  border-bottom: 1px solid #DBDBDB; background: #fff; flex-shrink: 0;
  min-height: 32px;
}
.ig-story-ring {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#f58529, #dd2a7b, #feda75, #f58529);
  display: flex; align-items: center; justify-content: center;
}
.ig-story-inner {
  width: 20px; height: 20px; border-radius: 3px;
  background: var(--rw-yellow); display: flex; align-items: center;
  justify-content: center; font: 700 7px/1 var(--font-body); color: #000;
  border: 2px solid #fff;
}
.ig-header-info { flex: 1; min-width: 0; }
.ig-username { display: flex; align-items: center; gap: 3px; font: 700 9px/1.2 var(--font-body); color: #262626; }
.ig-verified { display: inline-block; width: 10px; height: 10px; flex-shrink: 0; }
.ig-followers { font: 400 8px/1 var(--font-body); color: #8E8E8E; }
.ig-dots { color: #262626; font-size: 14px; letter-spacing: 1px; cursor: default; }

/* IG Post image */
.ig-post-image {
  width: 100%; height: clamp(90px, 11vw, 140px);
  background-image: url('/dl-cards/assets/houses/house-09.jpg');
  background-size: cover; background-position: center 40%;
  flex-shrink: 0;
}

/* IG Action row */
.ig-actions {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; flex-shrink: 0;
}
.ig-action-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center;
}
.ig-action-btn svg { width: 20px; height: 20px; }
.ig-actions-spacer { flex: 1; }
.ig-bookmark svg { width: 20px; height: 20px; }

/* Heart liked state */
#s8-ig-heart svg path { transition: fill 0.3s ease, stroke 0.3s ease; }
#s8-ig-heart.is-liked svg path {
  fill: #ED4956; stroke: #ED4956;
}

/* IG Likes */
.ig-likes {
  font: 700 9px/1.3 var(--font-body); color: #262626;
  padding: 0 8px 4px; flex-shrink: 0;
}
.ig-likes span { font-variant-numeric: tabular-nums; }

/* IG Caption */
.ig-caption { font: 400 9px/1.35 var(--font-body); padding: 0 8px 5px; color: #262626; margin: 0; flex-shrink: 0; }
.ig-caption strong { font-weight: 700; }
.ig-hashtag { color: #00376B; }

/* IG Engagement row */
.ig-engagement {
  display: flex; gap: 10px; padding: 0 8px 8px;
  font: 400 8px/1 var(--font-body); color: #8E8E8E; flex-shrink: 0;
}
.ig-engagement span { font-variant-numeric: tabular-nums; }

/* ── Phone 2: Facebook ──────────────────────────────────────────────────── */
.phone-fb .phone-screen { background: #F0F2F5; color: #050505; overflow-y: auto; }

/* FB App bar */
.fb-appbar {
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  height: 44px; background: #fff; border-bottom: 1px solid #e4e6eb;
  flex-shrink: 0;
}
.fb-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #1877F2; background: #1877F2;
  display: flex; align-items: center; justify-content: center;
}
.fb-avatar-inner {
  width: 22px; height: 22px; border-radius: 3px;
  background: var(--rw-yellow);
}
.fb-header-info { flex: 1; min-width: 0; }
.fb-name { display: block; font: 700 9px/1.2 var(--font-body); color: #050505; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-meta-line { display: block; font: 400 8px/1.2 var(--font-body); color: #65676B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-header-dots { color: #050505; font-size: 12px; letter-spacing: 1px; }

/* FB Post body */
.fb-post-body { background: #fff; padding: 8px 10px 0; flex-shrink: 0; }
.fb-text { font: 400 10px/1.45 var(--font-body); color: #050505; margin: 0 0 8px; }

/* FB Link card */
.fb-link-card { border: 1px solid #dddfe2; border-radius: 8px; overflow: hidden; margin: 0 0 8px; }
.fb-link-image {
  height: 44px;
  background: linear-gradient(135deg, #171E1A 0%, #2a3530 60%);
  display: flex; align-items: center; padding: 0 10px; gap: 8px;
}
.fb-link-rw-square {
  width: 24px; height: 24px; background: var(--rw-yellow); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font: 700 8px/1 var(--font-body); color: #000; flex-shrink: 0;
}
.fb-link-headline { font: 700 9px/1.2 var(--font-body); color: #fff; }
.fb-link-text { background: #F2F3F5; padding: 6px 8px; }
.fb-link-title { display: block; font: 700 9px/1.2 var(--font-body); color: #050505; }
.fb-link-domain { display: block; font: 400 8px/1 var(--font-body); color: #65676B; margin-top: 2px; }

/* FB Reaction row */
.fb-reaction-row {
  display: flex; align-items: center; padding: 6px 10px;
  background: #fff; border-top: 1px solid #e4e6eb; flex-shrink: 0;
}
.fb-reaction-stacks { display: flex; align-items: center; gap: 2px; }
.fb-reaction-emoji { font-size: 12px; line-height: 1; }
.fb-reaction-count { font: 400 9px/1 var(--font-body); color: #65676B; margin-left: 4px; }
.fb-reaction-spacer { flex: 1; }
.fb-reaction-comments,
.fb-reaction-shares { font: 400 9px/1 var(--font-body); color: #65676B; margin-left: 8px; }
.fb-reaction-comments span,
.fb-reaction-shares span { font-variant-numeric: tabular-nums; }
.fb-reaction-count span { font-variant-numeric: tabular-nums; }

/* FB Action bar */
.fb-actions {
  display: flex; justify-content: space-around; padding: 6px 4px;
  background: #fff; border-top: 1px solid #e4e6eb;
  font: 600 9px/1 var(--font-body); color: #65676B; flex-shrink: 0;
}
.fb-action-btn {
  background: none; border: none; padding: 4px 6px; cursor: pointer;
  font: 600 9px/1 var(--font-body); color: #65676B;
  display: flex; align-items: center; gap: 3px; border-radius: 4px;
}

/* ── Phone 3: Email ─────────────────────────────────────────────────────── */
.phone-em .phone-screen { background: #F2F2F7; color: #1d1d1f; padding: 0; overflow-y: auto; }

/* iOS Mail chrome */
.em-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; background: #F2F2F7; flex-shrink: 0;
}
.em-back { font: 400 10px/1 var(--font-body); color: #007AFF; }
.em-nav-time { font: 400 9px/1 var(--font-body); color: #8E8E93; }

/* Inbox header */
.em-inbox-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 10px 8px; background: #F2F2F7; flex-shrink: 0;
}
.em-inbox-title { font: 700 14px/1 var(--font-body); color: #000; }
.em-new-pill {
  background: #FF3B30; color: #fff; font: 700 8px/1 var(--font-body);
  padding: 3px 7px; border-radius: 8px;
}

/* Email row in inbox */
.em-row {
  display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px;
  background: #fff; border-bottom: 1px solid #D1D1D6; flex-shrink: 0;
}
.em-row-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--rw-yellow);
  display: flex; align-items: center; justify-content: center;
  font: 700 10px/1 var(--font-body); color: #000; flex-shrink: 0;
}
.em-row-body { flex: 1; min-width: 0; }
.em-row-name { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.em-row-sender { font: 700 9px/1.2 var(--font-body); color: #000; }
.em-row-office { font: 400 8px/1.2 var(--font-body); color: #8E8E93; }
.em-row-subject { font: 700 9px/1.3 var(--font-body); color: #000; margin: 2px 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-row-preview { font: 400 8px/1.3 var(--font-body); color: #8E8E93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Open email panel */
.em-open-panel { background: #F2F2F7; padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.em-open-card { background: #fff; border-radius: 10px; padding: 8px 10px; }
.em-open-subject { font: 700 9px/1.3 var(--font-body); color: #000; margin: 0 0 3px; }
.em-open-from { font: 400 8px/1.2 var(--font-body); color: #8E8E93; }
.em-body-lines { display: flex; flex-direction: column; gap: 5px; padding: 4px 0; }
.em-body-line { height: 8px; background: #E5E5EA; border-radius: 4px; }

/* Email metrics strip */
.em-metrics {
  display: flex; gap: 6px; padding: 6px 8px; flex-shrink: 0; flex-wrap: wrap;
}
.em-metric-chip {
  background: rgba(0,0,0,0.06); border-radius: 8px; padding: 4px 8px;
  font: 600 8px/1 var(--font-body); color: #1d1d1f;
  display: flex; align-items: center; gap: 2px;
}
.em-metric-chip span { font-variant-numeric: tabular-nums; }

/* ── Footer + stats row ─────────────────────────────────────────────────── */
.s9-footer { font: 400 clamp(14px, 1.1vw, 18px)/1.4 var(--font-body); color: rgba(255,255,255,0.7); margin-top: 12px; letter-spacing: .04em; }

.s9-stats-row { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ── Emoji burst layer ──────────────────────────────────────────────────── */
#s8-burst-layer {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 20;
}
#s8-burst-ig,
#s8-burst-fb { position: absolute; top: 0; left: 0; width: 0; height: 0; }

.s8-emoji {
  position: absolute; display: block; line-height: 1;
  font-size: var(--sz, 22px); user-select: none; pointer-events: none;
  will-change: transform, opacity; opacity: 0;
}

@keyframes s8-emoji-burst {
  0%   { transform: translate(0,0) rotate(0deg) scale(0.4); opacity: 0; }
  12%  { opacity: 1; transform: translate(calc(var(--dx)*0.2), calc(var(--dy)*0.2)) rotate(calc(var(--rot)*0.2)) scale(1.1); }
  60%  { opacity: 0.9; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.6); opacity: 0; }
}

.s8-emoji.burst-active {
  animation: s8-emoji-burst var(--dur, 2s) var(--delay, 0s) cubic-bezier(0.22,1,0.36,1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .phone { transition: none; opacity: 1; transform: rotate(var(--tilt, 0deg)); }
  .s8-emoji.burst-active { animation: none; opacity: 0; }
}

/* ══ SLIDE 10 — Ten-week funnel ════════════════════════════════════════════ */

.s10-funnel { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 48px 56px; height: 100%; justify-content: center; }
.s10-headline { font: 700 clamp(52px, 6vw, 100px)/1.02 var(--font-display); color: #fff; margin: 0; text-align: center; }
.s10-weeks {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px;
  width: 100%; max-width: 1600px; margin: 12px auto 4px;
}
.s10-week {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,229,18,0.18);
  border-radius: 14px; padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i) * 100ms);
}
.slide.is-active .s10-week { opacity: 1; transform: translateY(0); }
.s10-num { font: 700 clamp(22px, 2vw, 32px)/1 var(--font-display); color: var(--rw-yellow); }
.s10-pills { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.s10-pill {
  font: 700 9px/1 var(--font-body); letter-spacing: .08em;
  padding: 4px 6px; border-radius: 6px;
  min-width: 26px; text-align: center;
}
.pill-ig { background: linear-gradient(135deg, #FFE512, #FF9F1C); color: #1a1a1a; }
.pill-fb { background: #1877F2; color: #fff; }
.pill-em { background: var(--ink); color: var(--rw-yellow); border: 1px solid rgba(255,229,18,0.4); }
.pill-bl { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.s10-theme { font: 400 10px/1 var(--font-body); color: rgba(255,255,255,0.7); letter-spacing: .08em; text-transform: uppercase; }
.s10-ramp {
  height: 10px; width: 100%; max-width: 1600px;
  background: linear-gradient(90deg, var(--rw-yellow) 0%, var(--rw-yellow) 20%, rgba(255,229,18,0.4) 60%, var(--ink) 100%);
  border-radius: 6px; opacity: .6;
}
.s10-cta { color: var(--rw-yellow); font: 400 14px/1 var(--font-body); text-decoration: underline; margin-top: 8px; background: none; border: none; cursor: pointer; padding: 0; }
.s10-cta:hover { color: var(--rw-yellow-deep, #F8DC00); }
@media (max-width: 1200px) { .s10-weeks { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 700px)  { .s10-weeks { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .s10-week { transition: none; opacity: 1; transform: none; } }

/* ══ SLIDE 11 — The ask + close ════════════════════════════════════════════ */

.s10-inner {
  position: relative;
  z-index: 10;
}

.s10-layout {
  display: flex;
  gap: clamp(1.2rem, 3vw, 4rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.s10-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vh, 1.5rem);
  min-width: 0;
}

.s10-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--rw-yellow);
  letter-spacing: -0.02em;
}

.s10-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  color: rgba(255,255,255,0.6);
}

/* Open calculator CTA button */
.s10-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  background: var(--rw-yellow);
  color: #171E1A;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 100px;
  padding: clamp(0.65rem, 1.2vw, 1rem) clamp(1.4rem, 2.5vw, 2.2rem);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 18px rgba(255,229,18,0.3);
  align-self: flex-start;
}
.s10-calc-btn:hover {
  background: #f8dc00;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,229,18,0.45);
}
.s10-calc-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(255,229,18,0.25);
}
.s10-calc-icon {
  flex-shrink: 0;
}

.s10-ways-label {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.9vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.2em;
}

/* ── Centre: device mockup zone ───────────────────────────────────────────── */
.s10-devices {
  flex: 0 0 clamp(180px, 28vw, 380px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  height: clamp(260px, 52vh, 480px);
}

/* Tablet */
.s10-device-tablet {
  width: clamp(140px, 18vw, 260px);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-58%) translateY(40px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
  z-index: 1;
}
#slide-10.is-active .s10-device-tablet {
  transform: translateX(-58%) translateY(0);
  opacity: 1;
}

/* Phone */
.s10-device-phone {
  width: clamp(80px, 10vw, 150px);
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(30%) translateX(60px) translateY(0);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s, opacity 0.6s ease 0.15s;
  z-index: 2;
}
#slide-10.is-active .s10-device-phone {
  transform: translateX(30%) translateX(0) translateY(0);
  opacity: 1;
}

/* Device shell */
.s10-dev-shell {
  width: 100%;
  background: #1a1f1c;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

/* Top status bar (tablet) */
.s10-dev-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px 5px;
  background: #111714;
  flex-shrink: 0;
}
.s10-dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: block;
}

/* Notch bar (phone) */
.s10-dev-topbar-phone {
  justify-content: center;
  padding: 6px 10px 4px;
}
.s10-dev-notch {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
  display: block;
}

/* Screen area */
.s10-dev-screen {
  flex: 1;
  overflow: hidden;
  background: #0f1310;
}

/* Home indicator (tablet) */
.s10-dev-home {
  height: 20px;
  background: #111714;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.s10-dev-home::after {
  content: '';
  width: 40%;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
.s10-dev-home-phone {
  height: 14px;
}
.s10-dev-home-phone::after {
  width: 30%;
  height: 2.5px;
}

/* ── Mock calculator UI ──────────────────────────────────────────────────── */
.s10-mock-ui {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 1vh, 10px);
  padding: clamp(8px, 1.5vw, 14px);
  height: 100%;
  min-height: clamp(140px, 24vh, 280px);
}

.s10-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,229,18,0.2);
  /* Fade in first */
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
}
#slide-10.is-active .s10-mock-header {
  opacity: 1;
}

.s10-mock-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8px, 1.2vw, 14px);
  color: var(--rw-yellow);
  background: rgba(255,229,18,0.12);
  border-radius: 4px;
  padding: 1px 4px;
  flex-shrink: 0;
}
.s10-mock-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(7px, 0.9vw, 11px);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Field rows */
.s10-mock-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: clamp(4px, 0.8vh, 8px) clamp(6px, 1vw, 10px);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease calc(0.65s + var(--fi, 0) * 0.08s),
              transform 0.3s ease calc(0.65s + var(--fi, 0) * 0.08s);
}
#slide-10.is-active .s10-mock-field {
  opacity: 1;
  transform: translateX(0);
}

.s10-mock-label {
  font-family: var(--font-body);
  font-size: clamp(6px, 0.75vw, 9px);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.s10-mock-val {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(7px, 0.85vw, 11px);
  color: rgba(255,255,255,0.85);
}

/* Result block */
.s10-mock-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,229,18,0.1);
  border: 1px solid rgba(255,229,18,0.35);
  border-radius: 8px;
  padding: clamp(6px, 1vh, 12px);
  margin-top: auto;
  /* Scale pop after fields */
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease 0.95s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1) 0.95s;
}
#slide-10.is-active .s10-mock-result {
  opacity: 1;
  transform: scale(1);
}

.s10-mock-result-label {
  font-family: var(--font-body);
  font-size: clamp(5px, 0.65vw, 8px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,229,18,0.7);
}
.s10-mock-result-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(10px, 1.5vw, 18px);
  color: var(--rw-yellow);
  line-height: 1.1;
}

/* Phone mock — slightly smaller text, same structure */
.s10-mock-ui-phone .s10-mock-logo   { font-size: clamp(7px, 0.9vw, 11px); }
.s10-mock-ui-phone .s10-mock-title  { font-size: clamp(6px, 0.7vw, 9px); }
.s10-mock-ui-phone .s10-mock-label  { font-size: clamp(5px, 0.6vw, 7.5px); }
.s10-mock-ui-phone .s10-mock-val    { font-size: clamp(6px, 0.7vw, 9px); }
.s10-mock-ui-phone .s10-mock-result-val { font-size: clamp(9px, 1.1vw, 14px); }

/* ── Right: QR zone ───────────────────────────────────────────────────────── */
.s10-right {
  flex: 0 0 clamp(180px, 20vw, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 1vh, 1rem);
}

.s10-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  background: var(--ink-soft);
  border: 1px solid rgba(255,229,18,0.25);
  border-radius: var(--r-lg);
  padding: clamp(0.9rem, 1.8vw, 1.8rem);
  width: 100%;
  /* Scale in on activation */
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.6s var(--ease) 0.4s, opacity 0.6s var(--ease) 0.4s;
}

#slide-10.is-active .s10-qr-wrap {
  transform: scale(1);
  opacity: 1;
}

.s10-qr-top {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,229,18,0.7);
  text-align: center;
  margin: 0;
}

.s10-qr-caption {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 0.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* Confetti */
.s10-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  width: clamp(8px, 1vw, 14px);
  height: clamp(8px, 1vw, 14px);
  border-radius: 2px;
  animation: confetti-fall var(--dur, 2s) var(--delay, 0s) ease-in forwards;
}

@keyframes confetti-fall {
  from {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* Blackout overlay (space to fade) */
.s10-blackout {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 1s var(--ease);
}

.s10-blackout.is-black {
  opacity: 1;
  pointer-events: auto;
}

/* ══ SLIDE 11 — Final close (full-bleed cinematic) ══════════════════════════ */

/* BG image — Ken Burns slow rightward drift */
.s11-photo {
  position: absolute;
  inset: 0;
  background-image: url('/concept-01/assets/camandcouple.png');
  background-size: cover;
  background-position: 60% 35%;
  opacity: 0.22;
  transform-origin: 60% 35%;
  will-change: transform;
}

#slide-11.is-active .s11-photo {
  animation: s11-ken-burns 10s linear forwards;
  animation-delay: 0.4s;
}

@keyframes s11-ken-burns {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.0) translateX(8px); }
}

/* Primary gradient overlay */
.s11-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    rgba(15,17,26,0.92) 0%,
    rgba(15,17,26,0.75) 45%,
    rgba(15,17,26,0.55) 100%
  );
  pointer-events: none;
}

/* Secondary radial vignette */
.s11-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 35%, transparent 30%, rgba(15,17,26,0.45) 100%);
  pointer-events: none;
}

/* RW lockup — top left, very subtle */
.s11-rw-lockup {
  position: absolute;
  top: clamp(1rem, 2vh, 1.8rem);
  left: clamp(40px, 8vw, 120px);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  z-index: 10;
}

/* Main content block */
.s11-content {
  position: absolute;
  top: 38%;
  left: 0;
  right: 0;
  padding-left: clamp(40px, 8vw, 120px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Yellow rule — slides in from left */
.s11-yellow-rule {
  width: 0;
  height: 2px;
  background: #FFE512;
  border-radius: 1px;
  margin-bottom: clamp(0.6rem, 1.2vh, 1rem);
  transition: none;
}

#slide-11.is-active .s11-yellow-rule {
  animation: s11-rule-in 0.35s ease-out 0.8s forwards;
}

@keyframes s11-rule-in {
  from { width: 0; }
  to   { width: 80px; }
}

/* Headline */
.s11-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 clamp(0.5rem, 1.2vh, 1rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
}

/* Word-by-word stagger */
.s11-word {
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
  transition: none;
}

#slide-11.is-active .s11-word {
  animation: s11-word-in 0.55s ease-out forwards;
  animation-delay: calc(1.1s + var(--wi) * 120ms);
}

@keyframes s11-word-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SVG script flourish — draws on after headline */
.s11-flourish {
  width: clamp(240px, 34vw, 480px);
  height: 22px;
  display: block;
  margin-bottom: clamp(0.6rem, 1.5vh, 1.2rem);
  overflow: visible;
}

.s11-flourish-path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

#slide-11.is-active .s11-flourish-path {
  animation: s11-flourish-draw 0.55s ease-in-out 2.88s forwards;
}

@keyframes s11-flourish-draw {
  to { stroke-dashoffset: 0; }
}

/* Subhead */
.s11-subhead {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 22px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0;
  opacity: 0;
  transition: none;
}

#slide-11.is-active .s11-subhead {
  animation: s11-fade-in 0.5s ease-in 1.9s forwards;
}

@keyframes s11-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* SOLD stamp */
/* ── SOLD sign — outer hanger wrapper (handles reveal + carries position) ── */
.s11-sold-hanger {
  position: absolute;
  top: 38%;
  right: clamp(50px, 8vw, 120px);
  width: 220px;          /* wider than sign to accommodate rope spread      */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 11;
  opacity: 0;
  transform: scale(0.7) rotate(-6deg);
  transform-origin: top center;
}

#slide-11.is-active .s11-sold-hanger {
  animation: s11-sold-stamp 0.28s ease-out 2.6s forwards;
}

@keyframes s11-sold-stamp {
  from { opacity: 1; transform: scale(0.7) rotate(-6deg); }
  to   { opacity: 1; transform: scale(1.0) rotate(-4deg); }
}

/* ── V-rope SVG ────────────────────────────────────────────────────────────── */
.s11-rope {
  width: 200px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

/* ── SOLD sign — inner element (handles perpetual swing) ──────────────────── */
.s11-sold {
  width: clamp(160px, 20vw, 210px);
  height: clamp(72px, 9vw, 96px);
  border-radius: 6px;
  background: #FFE512;
  color: #1A1A2E;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  transform-origin: top center;
  /* swing starts after stamp reveal completes (0.28s @ delay 2.6s = done ~2.88s) */
  animation: s11-sold-swing 3.5s ease-in-out 2.9s infinite;
  /* start at rest so there's no jump */
  transform: rotate(-4deg);
}

@keyframes s11-sold-swing {
  0%   { transform: rotate(-7deg); }
  50%  { transform: rotate( 7deg); }
  100% { transform: rotate(-7deg); }
}

/* Tertiary credit */
.s11-credit {
  position: absolute;
  bottom: clamp(1.2rem, 3vh, 2.5rem);
  right: clamp(40px, 6vw, 100px);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  z-index: 10;
  opacity: 0;
  text-align: right;
}

#slide-11.is-active .s11-credit {
  animation: s11-credit-in 0.4s ease-in 3.6s forwards;
}

@keyframes s11-credit-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Confetti container */
.s11-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

/* Blackout overlay */
.s11-blackout {
  position: absolute;
  inset: 0;
  background: #0f111a;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.4s ease;
}

.s11-blackout.is-black {
  opacity: 1;
  pointer-events: auto;
}

/* ── Slide 11 mobile breakpoints ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .s11-content {
    padding-left: 32px;
    top: 36%;
  }
  .s11-sold-hanger {
    top: 34%;
    right: 20px;
    width: 160px;
  }
  .s11-rope {
    width: 150px;
    height: 36px;
  }
  .s11-sold {
    width: 140px;
    height: 62px;
    font-size: 26px;
  }
  .s11-yellow-rule {
    /* rule target via animation — handled by keyframe, just visual override */
  }
  .s11-credit {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .s11-content {
    padding-left: 20px;
    top: 32%;
  }
  .s11-headline {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.1;
  }
  .s11-subhead {
    font-size: 14px;
  }
  .s11-sold-hanger {
    top: 30%;
    right: 10px;
    width: 120px;
  }
  .s11-rope {
    width: 110px;
    height: 28px;
  }
  .s11-sold {
    width: 106px;
    height: 48px;
    font-size: 19px;
  }
  .s11-photo {
    background-position: 55% 25%;
  }
  .s11-credit {
    display: none;
  }
}

/* ══ REDUCED MOTION ═════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: opacity 0.3s linear !important;
  }
  .s1-photo { animation: none; }
  .s11-word { opacity: 1 !important; transform: none !important; }
  .s11-sold-hanger { opacity: 1 !important; transform: scale(1) rotate(-4deg) !important; }
  .s11-sold { animation: none !important; transform: rotate(-4deg) !important; }
  .s11-flourish-path { stroke-dashoffset: 0 !important; }
}

/* === SLIDE 2 QUICK-VIEW MODAL === */

/* Card hover/focus — clickable affordance */
.card-clickable {
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease) !important;
}

.card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 229, 18, 0.25);
  border-color: rgba(255, 229, 18, 0.4) !important;
}

.card-clickable:focus-visible {
  outline: 2px solid var(--rw-yellow);
  outline-offset: 3px;
  border-color: rgba(255, 229, 18, 0.6) !important;
}

/* Full-viewport modal wrapper */
.quickview {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview[hidden] {
  display: none;
}

/* Blurred dark backdrop */
.quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 30, 26, 0.92);
  backdrop-filter: blur(12px) saturate(120%);
  animation: qv-backdrop-in 0.25s var(--ease) forwards;
  cursor: pointer;
}

@keyframes qv-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal frame */
.quickview-frame {
  position: relative;
  z-index: 1;
  width: min(1400px, 92vw);
  max-height: 88vh;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border: 1px solid rgba(255, 229, 18, 0.25);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: qv-frame-in 0.25s var(--ease) forwards;
}

@keyframes qv-frame-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* Header bar */
.quickview-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 20px;
  min-height: 52px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 229, 18, 0.15);
  flex-shrink: 0;
}

.quickview-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-yellow);
  opacity: 0.85;
  white-space: nowrap;
}

.quickview-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.4vw, 1.3rem);
  color: var(--white);
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quickview-open {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rw-yellow);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.2s var(--ease);
}

.quickview-open:hover {
  opacity: 1;
}

.quickview-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1;
}

.quickview-close:hover {
  background: rgba(255, 229, 18, 0.15);
  border-color: rgba(255, 229, 18, 0.4);
  color: var(--rw-yellow);
}

.quickview-close:focus-visible {
  outline: 2px solid var(--rw-yellow);
  outline-offset: 2px;
}

/* Body — iframe fills it */
.quickview-body {
  flex: 1;
  min-height: 0;
  position: relative;
}

#qv-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
  display: block;
}

/* Fallback message */
.quickview-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: var(--ink-soft);
  padding: 2rem;
  text-align: center;
}

.quickview-fallback[hidden] {
  display: none;
}

.quickview-fallback p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.quickview-fallback a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rw-yellow);
  text-decoration: none;
  border: 1px solid rgba(255, 229, 18, 0.4);
  border-radius: var(--r-pill);
  padding: 0.5em 1.2em;
  transition: background 0.2s var(--ease);
}

.quickview-fallback a:hover {
  background: rgba(255, 229, 18, 0.1);
}

/* Body state when modal is open — dim slide chrome elements */
body.is-quickview-open .br-eyebrow,
body.is-quickview-open .br-counter,
body.is-quickview-open .br-progress,
body.is-quickview-open .br-autoplay-badge {
  pointer-events: none;
  opacity: 0 !important;
}

/* Reduced motion — skip scale-in */
@media (prefers-reduced-motion: reduce) {
  .quickview-backdrop,
  .quickview-frame {
    animation: none !important;
  }
}

/* === SLIDE 2 HOVER ENHANCEMENTS === */
.s2-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.s2-card:hover, .s2-card:focus-visible { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(255,229,18,0.28); }
.s2-card-icon { display: block; width: 52px; height: 52px; margin-bottom: 12px; }
.s2-card-icon svg { width: 100%; height: 100%; }
.s2-card-extra {
  display: block; max-height: 0; opacity: 0; overflow: hidden;
  margin-top: 0; padding-top: 0;
  font: 400 12px/1.4 var(--font-body); color: rgba(255,255,255,0.78); font-style: italic;
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease, padding-top .3s ease;
}
.s2-card:hover .s2-card-extra,
.s2-card:focus-visible .s2-card-extra {
  max-height: 80px; opacity: 1; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(255,229,18,0.25);
}
@media (prefers-reduced-motion: reduce) {
  .s2-card, .s2-card-extra { transition: none; }
}

/* === SLIDE 7 MEET THE TEAM === */
.s7-team { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 56px 64px; height: 100%; }
.s7-headline { font: 700 clamp(48px, 5.5vw, 92px)/1 var(--font-display); color: #fff; margin: 0; text-align: center; }
.s7-sub { font: 400 clamp(18px, 1.4vw, 24px)/1 var(--font-body); color: var(--rw-yellow); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.s7-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 32px;
  max-width: 1500px; margin: 12px auto 0;
}
.s7-person {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 0; opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i) * 80ms);
}
.slide.is-active .s7-person { opacity: 1; transform: translateY(0); }
.s7-ring {
  width: clamp(96px, 8vw, 132px); aspect-ratio: 1/1;
  border-radius: 50%; overflow: hidden;
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px rgba(255,229,18,0.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.s7-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s7-person:hover .s7-ring {
  transform: scale(1.06); border-color: var(--rw-yellow);
  box-shadow: 0 0 0 3px rgba(255,229,18,0.35);
}
.s7-person figcaption { text-align: center; line-height: 1.2; }
.s7-name { display: block; font: 600 14px/1.2 var(--font-body); color: #fff; }
.s7-role { display: block; font: 400 11px/1.3 var(--font-body); color: var(--rw-yellow); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.s7-footer { font: 400 clamp(14px, 1.1vw, 18px)/1.4 var(--font-body); color: rgba(255,255,255,0.7); margin-top: 28px; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) {
  .s7-person { transition: none; opacity: 1; transform: none; }
}
@media (max-width: 1200px) { .s7-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .s7-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══ NAV BUTTONS (prev / next / restart) ════════════════════════════════════ */

.nav-btn {
  position: fixed;
  bottom: clamp(1rem, 3vh, 2.5rem);
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--rw-yellow, #FFE512);
  color: var(--rw-yellow, #FFE512);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-btn:hover {
  background: #000;
  transform: scale(1.06);
}

.nav-btn:active {
  transform: scale(0.96);
}

.nav-btn:focus-visible {
  outline: 2px solid var(--rw-yellow, #FFE512);
  outline-offset: 3px;
}

#nav-prev {
  left: clamp(1rem, 2vw, 2rem);
}

#nav-next {
  right: clamp(1rem, 2vw, 2rem);
}

/* Restart: pill shape, centred */
#nav-restart {
  width: auto;
  border-radius: 999px;
  padding: 0 1.2em;
  gap: 0.5em;
  height: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

#nav-restart:hover {
  background: #000;
  transform: translateX(-50%) scale(1.06);
}

#nav-restart:active {
  transform: translateX(-50%) scale(0.96);
}

/* Visibility state — controlled by JS via data-slide attribute on body */
/* Default: all hidden until JS sets state */
#nav-prev,
#nav-next,
#nav-restart {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.15s ease;
}

/* Slide 1: only next visible */
body[data-slide="1"] #nav-next {
  opacity: 1;
  pointer-events: auto;
}

/* Slides 2–10: prev + next */
body[data-slide="2"] #nav-prev,
body[data-slide="2"] #nav-next,
body[data-slide="3"] #nav-prev,
body[data-slide="3"] #nav-next,
body[data-slide="4"] #nav-prev,
body[data-slide="4"] #nav-next,
body[data-slide="5"] #nav-prev,
body[data-slide="5"] #nav-next,
body[data-slide="6"] #nav-prev,
body[data-slide="6"] #nav-next,
body[data-slide="7"] #nav-prev,
body[data-slide="7"] #nav-next,
body[data-slide="8"] #nav-prev,
body[data-slide="8"] #nav-next,
body[data-slide="9"] #nav-prev,
body[data-slide="9"] #nav-next,
body[data-slide="10"] #nav-prev,
body[data-slide="10"] #nav-next {
  opacity: 1;
  pointer-events: auto;
}

/* Slide 10: prev + next (slide 11 follows) */
body[data-slide="10"] #nav-prev,
body[data-slide="10"] #nav-next {
  opacity: 1;
  pointer-events: auto;
}

/* Slide 11: prev + restart, no next (terminal) */
body[data-slide="11"] #nav-prev,
body[data-slide="11"] #nav-restart {
  opacity: 1;
  pointer-events: auto;
}

/* Nav buttons are NOT affected by chrome hide — always visible */
.br-chrome-hidden #nav-prev,
.br-chrome-hidden #nav-next,
.br-chrome-hidden #nav-restart {
  /* Override chrome hidden rule — keep nav buttons visible */
  opacity: inherit;
  pointer-events: inherit;
}

@media (max-width: 480px) {
  .nav-btn {
    width: 48px;
    height: 48px;
    bottom: clamp(0.75rem, 2vh, 1.5rem);
  }
  #nav-restart { height: 44px; font-size: 0.68rem; }
}

/* ══ SLIDE 2 — THEMED CARD ANIMATIONS ══════════════════════════════════════ */

/* Icon container for animated card content */
.s2-card-icon { position: relative; }

/* --- Card-4 (Prize draw): icon scales gently on hover --- */
.s2-card[data-deal="4"]:hover .s2-card-icon svg {
  animation: s2-float 2.5s ease-in-out infinite;
}

/* --- Card-5 (Local partners): link-shake on hover --- */
.s2-card[data-deal="5"]:hover .s2-card-icon svg {
  animation: s2-shake 0.6s ease infinite;
}

/* --- Card-9 (Social & email examples): SVG phone — pulse on hover --- */
.s2-card[data-deal="9"]:hover .s2-card-icon svg {
  animation: s2-pulse 1.6s ease-in-out infinite;
}

@keyframes s2-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* --- Card-3 (Blog): text bars shimmer + cursor --- */
.s2-blog-preview {
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px 2px;
}

.s2-blog-bar {
  height: 5px;
  background: rgba(255, 229, 18, 0.7);
  border-radius: 3px;
  width: 0;
  transition: none;
}

.s2-card[data-deal="3"].is-dealt .s2-blog-bar:nth-child(1) {
  animation: s2-bar-grow 0.5s ease 0.15s forwards;
}
.s2-card[data-deal="3"].is-dealt .s2-blog-bar:nth-child(2) {
  animation: s2-bar-grow 0.5s ease 0.28s forwards;
  --bar-target: 80%;
}
.s2-card[data-deal="3"].is-dealt .s2-blog-bar:nth-child(3) {
  animation: s2-bar-grow 0.5s ease 0.41s forwards;
  --bar-target: 55%;
}

.s2-blog-cursor {
  width: 2px;
  height: 10px;
  background: var(--rw-yellow, #FFE512);
  border-radius: 1px;
  margin-top: 2px;
  opacity: 0;
  animation: none;
}

.s2-card[data-deal="3"].is-dealt .s2-blog-cursor {
  opacity: 1;
  animation: s2-cursor-blink 0.8s step-end 0.6s infinite;
}

@keyframes s2-bar-grow {
  from { width: 0; }
  to   { width: var(--bar-target, 100%); }
}

@keyframes s2-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Card-0 (Website / landing page): browser shimmer --- */
.s2-browser-preview {
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 229, 18, 0.4);
}

.s2-browser-bar {
  height: 10px;
  background: rgba(255, 229, 18, 0.15);
  border-bottom: 1px solid rgba(255, 229, 18, 0.2);
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 2px;
  flex-shrink: 0;
}

.s2-browser-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 229, 18, 0.4);
}

.s2-browser-addressbar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.s2-browser-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 3px;
  background: rgba(255, 255, 255, 0.04);
}

.s2-browser-line {
  height: 3px;
  background: rgba(255, 229, 18, 0.3);
  border-radius: 2px;
  width: 0;
}

.s2-card[data-deal="0"].is-dealt .s2-browser-line:nth-child(1) {
  animation: s2-bar-grow 0.4s ease 0.2s forwards;
}
.s2-card[data-deal="0"].is-dealt .s2-browser-line:nth-child(2) {
  animation: s2-bar-grow 0.4s ease 0.32s forwards;
  --bar-target: 75%;
}
.s2-card[data-deal="0"].is-dealt .s2-browser-line:nth-child(3) {
  animation: s2-bar-grow 0.4s ease 0.44s forwards;
  --bar-target: 60%;
}

/* Address bar shimmer */
.s2-browser-shimmer {
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,229,18,0.5) 50%, transparent 100%);
  animation: none;
}

.s2-card[data-deal="0"].is-dealt .s2-browser-shimmer {
  animation: s2-shimmer 1.5s ease 0.5s infinite;
}

@keyframes s2-shimmer {
  from { left: -100%; }
  to   { left: 200%; }
}

/* --- Generic hover micro-animations for all other cards --- */
.s2-card[data-deal="1"]:hover .s2-card-icon svg,
.s2-card[data-deal="2"]:hover .s2-card-icon svg,
.s2-card[data-deal="6"]:hover .s2-card-icon svg,
.s2-card[data-deal="7"]:hover .s2-card-icon svg,
.s2-card[data-deal="8"]:hover .s2-card-icon svg,
.s2-card[data-deal="10"]:hover .s2-card-icon svg,
.s2-card[data-deal="11"]:hover .s2-card-icon svg,
.s2-card[data-deal="12"]:hover .s2-card-icon svg {
  animation: s2-float 2s ease-in-out infinite;
}

@keyframes s2-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@keyframes s2-shake {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-8deg); }
  75%       { transform: rotate(8deg); }
}

/* ══ MOBILE / TABLET RESPONSIVE PASS ════════════════════════════════════════ */

/* ── Tablet: ≤ 768px ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Slide-inner breathing room */
  .slide-inner {
    max-width: 100%;
    padding: clamp(1rem, 3vh, 2.5rem) clamp(1rem, 3vw, 2rem);
    gap: clamp(0.75rem, 2vh, 1.5rem);
  }

  /* Headline scale */
  .slide-headline {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
  }

  /* Slide 1 */
  .s1-headline {
    font-size: clamp(2rem, 6vw, 5rem);
  }

  /* Slide 2 grid: 2-column on tablet */
  .s2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset centring hack on tablet — not valid for 2-col */
  .s2-card:nth-child(11) { grid-column: auto; }
  .s2-card {
    padding: clamp(0.6rem, 1.5vw, 1rem);
  }

  /* Slide 5 (partners) — allow wrapping */
  .s5-partners {
    flex-wrap: wrap;
    justify-content: center;
  }
  .s5-partner-circle {
    width: 44px;
    height: 44px;
  }

  /* Slide 6 (team grid) — 4 cols on tablet */
  .s7-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
  }
  .s7-ring {
    width: clamp(72px, 7vw, 96px);
  }
  .s7-team { padding: 32px 32px; gap: 16px; }

  /* Slide 8 (phones) — allow phones to scale */
  .phone {
    width: clamp(160px, 22vw, 220px);
  }
  .s9-phones { gap: 16px; }
  .s9-stats-row { flex-wrap: wrap; gap: 12px; }

  /* Slide 9 (funnel) — 5 columns */
  .s10-weeks { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .s10-funnel { padding: 32px 32px; }

  /* Slide 10 (ask) — keep layout, shrink */
  .s10-inner .s10-headline {
    font-size: clamp(1.6rem, 4.5vw, 3.5rem);
  }
  .s10-devices {
    flex: 0 0 clamp(150px, 22vw, 300px);
    height: clamp(220px, 40vh, 360px);
  }
  .s10-right {
    flex: 0 0 clamp(150px, 17vw, 230px);
  }

  /* Countdown */
  .s4-cd-num {
    font-size: clamp(2rem, 5vw, 4rem);
  }
  .s4-cd-unit {
    min-width: clamp(56px, 8vw, 100px);
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.8rem, 2vw, 1.8rem);
  }
}

/* ── Phone: ≤ 480px ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Headline */
  .slide-headline {
    font-size: clamp(1.3rem, 5.5vw, 2.2rem);
  }

  /* Slide 2 grid: 1-column on phone */
  .s2-grid {
    grid-template-columns: 1fr;
  }
  .s2-card:nth-child(11) { grid-column: auto; }

  /* Slide 6 (team): 3 cols on phone */
  .s7-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
  }
  .s7-ring {
    width: clamp(56px, 16vw, 72px);
  }
  .s7-name { font-size: 10px; }
  .s7-role { font-size: 9px; }
  .s7-team { padding: 20px 16px; gap: 12px; }
  .s7-headline { font-size: clamp(28px, 6vw, 48px); }

  /* Slide 8 phones — stack vertically; allow burst overflow */
  #slide-8 { overflow: visible; }
  .s9-phones {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
  }
  .phone {
    width: clamp(180px, 65vw, 240px);
    --tilt: 0deg !important;
  }
  .s9-socials { padding: 20px 16px; gap: 12px; }

  /* Slide 9 funnel — 2 cols */
  .s10-weeks { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .s10-funnel { padding: 20px 16px; }
  .s10-headline { font-size: clamp(32px, 7vw, 52px); }

  /* Slide 10 (ask+close) — stack vertically */
  .s10-layout {
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1.5rem);
    overflow-y: auto;
  }
  .s10-left {
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }
  .s10-calc-btn {
    align-self: center;
  }
  .s10-ways-label {
    text-align: center;
  }
  .s10-devices {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    height: clamp(180px, 35vh, 280px);
    margin: 0 auto;
  }
  .s10-device-tablet {
    width: clamp(110px, 55%, 180px);
  }
  .s10-device-phone {
    width: clamp(65px, 32%, 110px);
  }
  .s10-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
  .s10-inner .s10-headline {
    font-size: clamp(1.4rem, 5vw, 2.5rem);
    line-height: 1.1;
  }

  /* Countdown */
  .s4-countdown {
    gap: 0.4rem;
  }
  .s4-cd-num {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }
  .s4-cd-unit {
    min-width: clamp(48px, 14vw, 72px);
    padding: 0.5rem 0.6rem;
  }
  .s4-cd-sep { font-size: clamp(1.4rem, 5vw, 2.5rem); }

  /* Slide 6 (55k touches) — stack vertically */
  .s6-layout {
    flex-direction: column;
    gap: 1rem;
  }
  .s6-right {
    flex: 0 0 auto;
    width: min(280px, 80vw);
    margin: 0 auto;
  }
  .s6-big-num {
    font-size: clamp(3rem, 12vw, 6rem);
  }
}
