/* ==========================================================================
   FOKUS — Organizer Partnership Deck
   Design language: Apple-keynote minimalism in Fokus brand.
     · One idea per moment, revealed as a build
     · Deep negative space, zero card chrome, no borders
     · Barlow 600/700 tight-tracked for headlines (the Apple voice)
     · Bebas Neue reserved for giant numerals + step markers (the Fokus voice)
   Palette from apps/marketplace/design-system/MASTER.md
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --fp-navy:      #2D2A6E;
  --fp-purple:    #7B3FA0;
  --fp-accent:    #B91C6C;
  --fp-accent-hi: #E8447F;
  --fp-dark:      #000000;
  --fp-cream:     #F8F6FC;
  --fp-text:      #1A1A2E;
  --fp-muted:     #6B6B7B;
  --fp-teal:      #2F7A6C;

  --ink-2:        #55536B;   /* light-slide secondary text */
  --d-1:          #FFFFFF;   /* dark-slide primary */
  --d-2:          #B9B2CE;   /* dark-slide secondary */
  --d-3:          #7C7597;   /* dark-slide tertiary */

  --grad:      linear-gradient(135deg, #2D2A6E 0%, #7B3FA0 50%, #B91C6C 100%);
  --grad-warm: linear-gradient(135deg, #E8447F 0%, #B91C6C 55%, #7B3FA0 100%);
  --grad-cool: linear-gradient(150deg, #FFFFFF 0%, #C6BEDC 100%);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: 'Bebas Neue', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ── Reveal shell ─────────────────────────────────────────────────────── */
.reveal-viewport { background: #000; }
.reveal { font-family: var(--font-body); font-size: 18px; color: var(--fp-text);
  -webkit-font-smoothing: antialiased; }
.reveal ::selection { background: var(--fp-accent); color: #fff; }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 720px; padding: 0 !important; top: 0 !important; }
.reveal h1, .reveal h2, .reveal h3 { margin: 0; text-transform: none; text-shadow: none;
  font-family: var(--font-body); }
.reveal p { margin: 0; }
.reveal a { color: inherit; text-decoration: none; }
.reveal .progress { height: 2px; color: var(--fp-accent); }
.reveal .controls { color: rgba(26,26,46,.22); bottom: 6px; right: 6px;
  transition: color .4s ease; }
.reveal.on-dark .controls { color: rgba(255,255,255,.26); }
.reveal .slide-number { display: none; }


/* ── Slide canvas ─────────────────────────────────────────────────────── */
.sl { position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 76px 96px; overflow: hidden; background: #fff; }
.sl--dark  { background: var(--fp-dark); color: var(--d-2); }
.sl--cream { background: var(--fp-cream); }
.sl--center { align-items: center; text-align: center; justify-content: center; }
.sl > * { position: relative; z-index: 2; }

/* ── Type ─────────────────────────────────────────────────────────────── */
/* Kicker above the headline. Set in the body face at a size that can be read
   from the back of the room — the tracked-out Bebas caps it replaced were the
   first thing on the slide and the first thing skipped. */
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 20px;
  letter-spacing: -.2px; color: var(--fp-accent); margin-bottom: 18px;
}
.sl--dark .eyebrow { color: var(--fp-accent-hi); }

h1.hero { font-weight: 700; font-size: 96px; line-height: 1.02; letter-spacing: -2.6px;
  color: var(--fp-text); }
.sl--dark h1.hero { color: var(--d-1); }

h2.head { font-weight: 700; font-size: 60px; line-height: 1.06; letter-spacing: -1.7px;
  color: var(--fp-text); max-width: 23ch; }
.sl--dark h2.head { color: var(--d-1); }
.sl--center h2.head, .sl--center h1.hero { max-width: 24ch; }

/* Scoped under .reveal so the margin outranks reveal's own `.reveal p { margin: 0 }`
   reset; unscoped, the 34px gap under a headline never applied. */
.reveal .lede { font-weight: 300; font-size: 26px; line-height: 1.45; color: var(--ink-2);
  letter-spacing: -.3px; margin-top: 34px; max-width: 46ch; }
.sl--dark .lede { color: var(--d-2); }
.lede b { font-weight: 600; color: var(--fp-text); }
.sl--dark .lede b { color: var(--d-1); }
.sl--center .lede { margin-left: auto; margin-right: auto; }
/* The hero's 1.02 line-height leaves almost no gap to the line beneath it. */
.reveal h1.hero + .lede { margin-top: 48px; }

.note { font-size: 15px; font-weight: 400; color: #8E88A2; line-height: 1.5; letter-spacing: 0; }
.sl--dark .note { color: var(--d-3); }

/* Gradient-filled text */
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.sl--dark .g { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.accent { color: var(--fp-accent); }
.sl--dark .accent { color: var(--fp-accent-hi); }

/* Peso sign — Bebas Neue carries no U+20B1, so always render it in Barlow.
   Scaled down only where it sits beside a display numeral. */
.peso { font-family: var(--font-body); font-weight: inherit; letter-spacing: 0;
  margin-right: .02em; display: inline-block; }
.fig .n .peso, .share .pct .peso, .price .pval .peso, .mark .peso {
  font-size: .62em; font-weight: 500; margin-right: .04em; }

/* ── Giant figures ────────────────────────────────────────────────────── */
.figs { display: grid; gap: 40px; width: 100%; }
.figs.f2 { grid-template-columns: repeat(2,1fr); }
.figs.f3 { grid-template-columns: repeat(3,1fr); }
.figs.f4 { grid-template-columns: repeat(4,1fr); }
.fig { display: flex; flex-direction: column; }
.fig .n { font-family: var(--font-display); font-size: 116px; line-height: .84;
  letter-spacing: 1px; background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent; white-space: nowrap; }
.sl--dark .fig .n { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; }
.fig .n.hot { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.fig .c { margin-top: 16px; font-size: 17px; line-height: 1.4; color: var(--ink-2);
  max-width: 22ch; letter-spacing: -.1px; }
.sl--dark .fig .c { color: var(--d-2); }
.figs.f4 .fig .n { font-size: 92px; }
.figs.f4 .fig .c { font-size: 15.5px; }
.sl--center .fig { align-items: center; text-align: center; }
.sl--center .fig .c { max-width: 18ch; }

/* ── Column sets (no chrome — a rule, a title, a paragraph) ───────────── */
.cols { display: grid; gap: 54px; width: 100%; }
.cols.c2 { grid-template-columns: repeat(2,1fr); }
.cols.c3 { grid-template-columns: repeat(3,1fr); }
.cols.c4 { grid-template-columns: repeat(4,1fr); gap: 40px; }
.cols.c5 { grid-template-columns: repeat(5,1fr); gap: 32px; }
.col { display: flex; flex-direction: column; }
.col .rule { width: 40px; height: 3px; border-radius: 2px; background: var(--fp-accent);
  margin-bottom: 20px; }
.sl--dark .col .rule { background: var(--fp-accent-hi); }
.col .idx { font-family: var(--font-display); font-size: 21px; letter-spacing: 3px;
  color: var(--fp-accent); margin-bottom: 14px; }
.sl--dark .col .idx { color: var(--fp-accent-hi); }
.col h3 { font-weight: 600; font-size: 23px; line-height: 1.22; letter-spacing: -.5px;
  color: var(--fp-text); margin-bottom: 12px; }
.sl--dark .col h3 { color: var(--d-1); }
.col p { font-size: 17px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.1px; }
.sl--dark .col p { color: var(--d-2); }
.col .sub { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #948DA6; }
.sl--dark .col .sub { color: var(--d-3); }
.cols.c4 .col h3, .cols.c5 .col h3 { font-size: 20px; }
.cols.c4 .col p, .cols.c5 .col p { font-size: 15.5px; }

/* Ghost step numerals (How it works) */
.col .ghost { font-family: var(--font-display); font-size: 62px; line-height: .8;
  letter-spacing: 2px; color: rgba(185,28,108,.20); margin-bottom: 14px; }
.sl--dark .col .ghost { color: rgba(232,68,127,.32); }

/* ── Statement lines (progressive claims) ─────────────────────────────── */
.lines { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.lines p { font-size: 21px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.25px;
  padding-left: 26px; position: relative; max-width: 92ch; }
.sl--dark .lines p { color: var(--d-2); }
.lines p::before { content: ''; position: absolute; left: 0; top: .58em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--fp-accent); }
.sl--dark .lines p::before { background: var(--fp-accent-hi); }
.lines p b { font-weight: 600; color: var(--fp-text); }
.sl--dark .lines p b { color: var(--d-1); }

/* ── Definition rows ──────────────────────────────────────────────────── */
.defs { width: 100%; }
.defs .d { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(26,26,46,.09); }
.sl--dark .defs .d { border-bottom-color: rgba(255,255,255,.10); }
.defs .d:last-child { border-bottom: 0; }
.defs dt { font-weight: 600; font-size: 20px; letter-spacing: -.4px; color: var(--fp-text); }
.sl--dark .defs dt { color: var(--d-1); }
.defs dd { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--ink-2); letter-spacing: -.1px; }
.sl--dark .defs dd { color: var(--d-2); }

/* ── Link line ────────────────────────────────────────────────────────── */
.link { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink-2);
  letter-spacing: -.1px; }
.sl--dark .link { color: var(--d-3); }
.link b { font-weight: 600; color: var(--fp-accent); }
.sl--dark .link b { color: var(--fp-accent-hi); }
.link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; color: var(--fp-accent); }
.sl--dark .link svg { color: var(--fp-accent-hi); }

/* ── Split bar (slide 07) ─────────────────────────────────────────────── */
.split { display: flex; width: 100%; height: 12px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.08); }
.sl:not(.sl--dark) .split { background: rgba(26,26,46,.07); }
.split .seg { width: 0; transition: width 1050ms cubic-bezier(.22,1,.36,1); }
.present .split .seg { width: var(--w); transition-delay: var(--d, 0ms); }
.split .s-org { background: linear-gradient(90deg, #E8447F, #B91C6C); }
.split .s-fp  { background: linear-gradient(90deg, #7B3FA0, #4B3B86); }
.split .s-pho { background: linear-gradient(90deg, #2F7A6C, #46A08D); }

.shares { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; width: 100%; }
.share .pct { font-family: var(--font-display); font-size: 104px; line-height: .84;
  letter-spacing: 1px; }
.share .pct.o { color: var(--fp-accent-hi); }
.share .pct.f { color: #9E7BC4; }
.share .pct.p { color: #46A08D; }
.share .who { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -.3px;
  color: var(--d-1); }
.sl:not(.sl--dark) .share .who { color: var(--fp-text); }
.share .amt { margin-top: 6px; font-size: 17px; color: var(--d-3); font-variant-numeric: tabular-nums; }
.sl:not(.sl--dark) .share .amt { color: var(--ink-2); }

/* ── Price control ────────────────────────────────────────────────────── */
.price { display: flex; align-items: center; gap: 26px; width: 100%; }
.price .plab { font-weight: 600; font-size: 16px; letter-spacing: -.1px;
  color: var(--d-3); white-space: nowrap; }
.sl:not(.sl--dark) .price .plab { color: var(--fp-muted); }
.price .pval { font-family: var(--font-display); font-size: 46px; line-height: 1; letter-spacing: 1px;
  color: var(--fp-accent-hi); min-width: 128px; }
.sl:not(.sl--dark) .price .pval { color: var(--fp-accent); }
.price input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 4px;
  border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #7B3FA0, #E8447F); }
.price input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.price input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: #fff; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.price .phint { font-size: 14.5px; color: var(--d-3); white-space: nowrap; }
.sl:not(.sl--dark) .price .phint { color: var(--fp-muted); }

/* ── Revenue chart (slide 08) ─────────────────────────────────────────── */
.chart { display: grid; grid-template-columns: repeat(5,1fr); gap: 34px; align-items: end;
  height: 236px; width: 100%; }
.cw { display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  height: 100%; }
.cw .v { font-size: 16px; font-weight: 600; color: var(--fp-text); margin-bottom: 12px;
  font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.sl--dark .cw .v { color: var(--d-1); }
.cw .bar { width: 100%; max-width: 92px; min-height: 4px; height: 0; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #E8447F, #B91C6C);
  transition: height 1050ms cubic-bezier(.22,1,.36,1); }
.present .cw .bar { height: var(--h); transition-delay: calc(var(--d, 0ms) + 170ms); }
.xax { display: grid; grid-template-columns: repeat(5,1fr); gap: 34px; width: 100%;
  padding-top: 16px; border-top: 1px solid rgba(26,26,46,.10); }
.sl--dark .xax { border-top-color: rgba(255,255,255,.12); }
.xax span { text-align: center; font-size: 15px; color: var(--fp-muted);
  font-variant-numeric: tabular-nums; }
.sl--dark .xax span { color: var(--d-3); }

/* ── Q & A ────────────────────────────────────────────────────────────── */
.qa { width: 100%; }
.qa .item { padding: 22px 0; border-bottom: 1px solid rgba(26,26,46,.09); }
.qa .item:last-child { border-bottom: 0; }
.qa .q { font-weight: 600; font-size: 23px; letter-spacing: -.5px; color: var(--fp-text);
  margin-bottom: 10px; }
.qa .a { font-size: 17px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.1px;
  max-width: 105ch; }

/* ══ Atmosphere ═════════════════════════════════════════════════════════
   Light sculpted off anodized metal: most of the frame stays true black and
   a single saturated bloom occupies one corner, with soft caustic streaks
   raking across it. Concentrated top-right, which is the empty half of every
   dark slide in this deck — the type never sits in the bright part.
   ═══════════════════════════════════════════════════════════════════════ */
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; display: block; }

.aurora .o1 {                                   /* principal magenta bloom */
  width: 760px; height: 760px; right: -16%; top: -40%;
  background: radial-gradient(circle,
    rgba(240, 74, 138, .62) 0%, rgba(185, 28, 108, .30) 34%, transparent 64%);
  filter: blur(70px);
  animation: d1 26s ease-in-out infinite alternate, breathe1 17s ease-in-out infinite;
}
.aurora .o2 {                                   /* violet-blue, below the magenta:
                                                   gives the bloom chromatic range */
  width: 600px; height: 600px; right: -8%; top: 4%;
  background: radial-gradient(circle,
    rgba(104, 78, 214, .42) 0%, rgba(64, 48, 150, .20) 40%, transparent 68%);
  filter: blur(82px);
  animation: d2 31s ease-in-out infinite alternate, breathe2 21s ease-in-out infinite;
}
.aurora .o3 {                                   /* hot core */
  width: 300px; height: 300px; right: 2%; top: -22%;
  background: radial-gradient(circle, rgba(255, 146, 188, .52) 0%, transparent 62%);
  filter: blur(48px);
  animation: d3 36s ease-in-out infinite alternate;
}

/* Caustics — long, raking bands of refracted light. */
.aurora::before {
  content: ''; position: absolute; inset: -30%;
  background:
    linear-gradient(102deg, transparent 58%, rgba(240, 96, 150, .20) 65%, transparent 72%),
    linear-gradient(97deg,  transparent 70%, rgba(142, 96, 225, .16) 76%, transparent 82%),
    linear-gradient(108deg, transparent 78%, rgba(120, 178, 255, .10) 83%, transparent 88%);
  filter: blur(32px);
  animation: rake 34s ease-in-out infinite alternate;
}

@keyframes d1 { to { transform: translate3d(-72px, 66px, 0) scale(1.10); } }
@keyframes d2 { to { transform: translate3d(84px, -56px, 0) scale(1.08); } }
@keyframes d3 { to { transform: translate3d(-46px, 52px, 0) scale(1.16); } }
@keyframes breathe1 { 0%, 100% { opacity: .84; } 50% { opacity: 1; } }
@keyframes breathe2 { 0%, 100% { opacity: 1; } 50% { opacity: .80; } }
@keyframes rake { to { transform: translate3d(-90px, 40px, 0) rotate(-2.5deg); } }

.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

/* ── Cover & closing ──────────────────────────────────────────────────── */
.mark { font-family: var(--font-display); font-size: 128px; line-height: .84; letter-spacing: 4px; }
.cover-foot { position: absolute; left: 96px; right: 96px; bottom: 56px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; }
.cover-foot .who { font-size: 17px; font-weight: 500; color: var(--d-1); }
.cover-foot .whn { font-size: 15px; color: var(--d-3); margin-top: 5px; }
.cover-foot img { width: 124px; filter: brightness(0) invert(1); opacity: .9; }
.contact { display: flex; flex-direction: column; gap: 8px; font-size: 20px; color: var(--d-2);
  letter-spacing: -.2px; }
.contact .nm { font-size: 30px; font-weight: 600; color: var(--d-1); letter-spacing: -.7px; }
.contact .rl { font-size: 17px; color: var(--fp-accent-hi); font-weight: 500; margin-bottom: 12px; }

/* ── Chrome: whisper-quiet slide counter ──────────────────────────────── */
.tick { position: absolute; right: 34px; bottom: 26px; z-index: 5;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3.4px;
  color: rgba(26,26,46,.26); font-variant-numeric: tabular-nums; }
.sl--dark .tick { color: rgba(255,255,255,.26); }

.apx { font-weight: 600; font-size: 18px; letter-spacing: -.2px; color: #A9A2BC; }

@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none !important; }
  .split .seg, .cw .bar { transition-duration: .01ms !important; }
  .reveal .slides section .fragment.fade-up { transition-duration: .01ms !important; }
}

/* ── Density modifier: slides that legitimately carry more ────────────── */
.sl--dense { padding: 62px 88px; }
.sl--dense h2.head { font-size: 46px; letter-spacing: -1.2px; max-width: 26ch; }
.sl--dense .lede { font-size: 21px; margin-top: 16px; }
.sl--dense .eyebrow { margin-bottom: 14px; font-size: 19px; }
.sl--dense .cols { gap: 38px; }
.sl--dense .cols.c3 { row-gap: 34px; }
.sl--dense .col h3 { font-size: 19.5px; margin-bottom: 9px; }
.sl--dense .col p { font-size: 15.5px; line-height: 1.5; }
.sl--dense .defs .d { padding: 15px 0; }
.sl--dense .defs dt { font-size: 18px; }
.sl--dense .defs dd { font-size: 16px; }
.stack { display: flex; flex-direction: column; width: 100%; }

/* ── Pricing table ────────────────────────────────────────────────────── */
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { text-align: right; padding: 12px 20px; }
.ptable th:first-child, .ptable td:first-child { text-align: left; padding-left: 14px; }
.ptable th:last-child, .ptable td:last-child { padding-right: 14px; }
.ptable thead th { font-size: 15.5px; line-height: 1.3; letter-spacing: -.1px;
  font-weight: 600; color: var(--fp-muted); padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,26,46,.14); }
.sl--dark .ptable thead th { color: var(--d-3); border-bottom-color: rgba(255,255,255,.18); }
.ptable tbody td { font-size: 19px; color: var(--ink-2);
  border-bottom: 1px solid rgba(26,26,46,.07); }
.sl--dark .ptable tbody td { color: var(--d-2); border-bottom-color: rgba(255,255,255,.08); }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td.k { font-weight: 600; font-size: 21px; color: var(--fp-text); }
.sl--dark .ptable td.k { color: var(--d-1); }
/* The organiser's own column — the one number they came for. */
.ptable td.o { font-weight: 600; font-size: 25px; color: var(--fp-accent); }
.sl--dark .ptable td.o { color: var(--fp-accent-hi); }
.ptable tr.is-active td { background: rgba(185,28,108,.075); }
.sl--dark .ptable tr.is-active td { background: rgba(232,68,127,.12); }
.ptable .flag { font-size: 14px; font-weight: 600; letter-spacing: -.1px;
  color: var(--fp-accent); margin-left: 12px; }
.sl--dark .ptable .flag { color: var(--fp-accent-hi); }
/* Which of a competitor's storage tiers a row falls into. Muted, unlike the
   accent .flag, so it reads as a qualifier on the figure rather than a call-out. */
.ptable .tier { font-size: 14px; font-weight: 500; letter-spacing: -.1px;
  color: var(--fp-muted); margin-right: 12px; }
.sl--dark .ptable .tier { color: var(--d-3); }

/* ── Status tag (what a feature costs) ────────────────────────────────── */
.tag { align-self: flex-start; margin-bottom: 16px; padding: 5px 13px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.1px; line-height: 1.2; }
.tag--inc  { background: rgba(47,122,108,.12); color: #2F7A6C; }
.tag--paid { background: rgba(185,28,108,.10); color: var(--fp-accent); }
.sl--dark .tag--inc  { background: rgba(70,160,141,.20); color: #74CDB7; }
.sl--dark .tag--paid { background: rgba(232,68,127,.20); color: var(--fp-accent-hi); }

/* ══ Staged build ═══════════════════════════════════════════════════════
   Every slide arrives as one orchestrated move rather than on a click.
   JS tags the participating elements with data-build and a --d delay, so
   the cascade follows the slide's real reading order.
   ═══════════════════════════════════════════════════════════════════════ */
.sl [data-build] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .78s var(--ease), transform .78s var(--ease), filter .78s var(--ease);
  transition-delay: var(--d, 0ms);
}
.present .sl [data-build] { opacity: 1; transform: none; }

/* ══ Per-word headline build ════════════════════════════════════════════
   Words rise and resolve out of a defocus one after another, the way the
   reference film sets its type. JS wraps each word; the delay lives on the
   span so the cascade survives re-entering the slide.
   ═══════════════════════════════════════════════════════════════════════ */
.sl h1.hero .w, .sl h2.head .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.30em);
  filter: blur(12px);
  transition: opacity .66s var(--ease), transform .66s var(--ease), filter .66s var(--ease);
  transition-delay: var(--d, 0ms);
}
.present .sl h1.hero .w, .present .sl h2.head .w {
  opacity: 1; transform: none; filter: blur(0);
}
.reveal.no-build .sl .w {
  opacity: 1 !important; transform: none !important;
  filter: none !important; transition: none !important;
}

/* ══ Marker underline ═══════════════════════════════════════════════════
   A tapered brush stroke in the warm gradient, sitting behind the word
   just under its baseline, the way a hand marks the one word that matters.
   The stroke is a masked pseudo-element on the split word, so it inherits
   the word's cascade delay and wipes in once the word has landed.
   Usage: <span class="ul">word</span>
   ═══════════════════════════════════════════════════════════════════════ */
.ul .w { position: relative; z-index: 0; }
.ul .w::after {
  content: "";
  position: absolute; z-index: -1;
  left: -.06em; right: -.02em; bottom: -.13em; height: .32em;
  background: var(--grad-warm);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 12C40 5 120 3.5 198 8c1.5 1 1.5 3 0 4C120 14 50 23 3 21c-2.5-1-2.5-8 0-9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 12C40 5 120 3.5 198 8c1.5 1 1.5 3 0 4C120 14 50 23 3 21c-2.5-1-2.5-8 0-9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .72s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 640ms);
}
.present .sl .ul .w::after { clip-path: inset(0 0 0 0); }
.sl--dark .ul .w::after { background: var(--grad-warm); }
.reveal.no-build .sl .ul .w::after { clip-path: none; transition: none; }

/* Giant numerals arrive with a touch of scale, so they read as objects. */
.sl .fig[data-build] { transform: translateY(26px) scale(.965); transform-origin: left bottom; }
.present .sl .fig[data-build] { transform: none; }

.reveal.no-build .sl [data-build] {
  opacity: 1 !important; transform: none !important;
  filter: none !important; transition: none !important;
}

/* ══ Gradient ground ════════════════════════════════════════════════════
   Light slides carried no gradient at all and read as flat paper next to
   the dark ones. Two large, low-opacity brand washes tie the set together.
   ═══════════════════════════════════════════════════════════════════════ */
.sl:not(.sl--dark)::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(940px 560px at 92% -12%, rgba(185, 28, 108, .04), transparent 62%),
    radial-gradient(820px 540px at -10% 112%, rgba(45, 42, 110, .035), transparent 60%);
}

/* Dark slides get a centre lift and an edge vignette, so the type sits in a
   pool of light instead of on an even wash. Anchored to the slide, not to the
   aurora — the aurora's box is deliberately oversized. */
.sl--dark::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(118% 108% at 78% 14%, transparent 30%, rgba(0, 0, 0, .70) 78%);
}
/* Statement slides — the cover, the closing — carry the bloom across the whole
   frame. Any slide with a column set cannot: its third column runs straight
   through the lit area, so the glow is held above the content band. */
.sl--dark:has(.cols)::after {
  background:
    radial-gradient(116% 104% at 80% 8%, transparent 28%, rgba(0, 0, 0, .74) 76%),
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .46) 82%);
}
.sl--dark.sl--dense::after {
  background:
    radial-gradient(104% 92% at 84% 2%, transparent 22%, rgba(0, 0, 0, .82) 70%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .58) 68%);
}
.aurora .o1 { animation: d1 24s ease-in-out infinite alternate, breathe1 17s ease-in-out infinite; }
.aurora .o2 { animation: d2 29s ease-in-out infinite alternate, breathe2 21s ease-in-out infinite; }
@keyframes breathe1 { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@keyframes breathe2 { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }

/* ══ Specular sweep ═════════════════════════════════════════════════════
   One pass of light across the split bar once it has filled. A single
   deliberate moment — not a loop.
   ═══════════════════════════════════════════════════════════════════════ */
.split { position: relative; }
.split::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  transform: translateX(-100%); opacity: 0;
}
.present .split::after { animation: sweep 1.5s var(--ease) 1.35s 1 both; }
@keyframes sweep {
  0%   { transform: translateX(-100%); opacity: 0; }
  22%  { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* The three shares carry the bar's colours as gradient text. */
.share .pct.o { background: linear-gradient(150deg, #F2679B, #B91C6C);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.share .pct.f { background: linear-gradient(150deg, #B18BD8, #6B4FA8);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.share .pct.p { background: linear-gradient(150deg, #6FD3BB, #2F7A6C);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Chart bars pick up a soft top highlight so they read as lit, not filled. */
.cw .bar { position: relative; overflow: hidden; }
.cw .bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 42%);
}

@media (prefers-reduced-motion: reduce) {
  .sl [data-build], .sl .w { opacity: 1 !important; transform: none !important;
    filter: none !important; transition: none !important; }
  .aurora::before { animation: none !important; }
  .present .split::after { animation: none; }
  .aurora .o1, .aurora .o2, .aurora .o3 { animation: none !important; }
}

/* ══ Split composition ══════════════════════════════════════════════════
   One slide in the deck shows a real artefact — the organiser's own event
   poster. It anchors to the right edge and bleeds off it, so it reads as a
   thing continuing past the frame rather than a card dropped on the page,
   and its magenta spills onto the white as the light-slide counterpart of
   the bloom on the dark ones. Content moves to a single narrower column.
   ═══════════════════════════════════════════════════════════════════════ */
.sl--split > *:not(.poster):not(.tick) { max-width: 580px; }
/* The counter sits over the panel here, so it takes the panel's surface. */
.sl--split .tick { color: rgba(255, 255, 255, .34); }

/* Bleeds off three edges, so it reads as part of the frame rather than an
   image dropped onto the page. object-fit trims the square's sides, which
   are empty warehouse — the wordmark sits well inside the safe area. */
.poster {
  position: absolute; right: -26px; top: -30px;
  width: 600px; height: 780px; z-index: 2;
}
.poster img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  box-shadow: -34px 0 90px rgba(22, 10, 36, .20);
}
/* Its magenta spills left onto the white — the light-slide counterpart of
   the bloom. Sits outside the image so it is actually visible. */
.poster::before {
  content: ''; position: absolute; z-index: -1;
  top: -8%; bottom: -8%; right: 30%; left: -78%;
  background: radial-gradient(ellipse 62% 54% at 76% 46%,
    rgba(206, 30, 122, .40) 0%, rgba(123, 63, 160, .17) 46%, transparent 72%);
  filter: blur(46px);
}

/* The poster pushes in rather than rising — a settling object, not a line
   of text. Outweighs the generic [data-build] transform. */
.sl .poster[data-build] {
  transform: scale(1.055);
  transition-duration: 1.15s;
}
.present .sl .poster[data-build] { transform: none; }

/* ── Stacked feature list (the narrow column) ─────────────────────────── */
.feat { display: flex; flex-direction: column; gap: 21px; width: 100%; }
.feat .item { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.feat .i { font-family: var(--font-display); font-size: 20px; letter-spacing: 2.5px;
  color: var(--fp-accent); line-height: 1.35; }
.sl--dark .feat .i { color: var(--fp-accent-hi); }
.feat h3 { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.4px;
  color: var(--fp-text); margin-bottom: 6px; }
.feat p { font-size: 15.5px; line-height: 1.52; color: var(--ink-2); letter-spacing: -.1px; }

/* ══ Event mark ═════════════════════════════════════════════════════════
   The organiser's own key art. Its ground is pure #000 — identical to the
   dark slides' — so `screen` drops it out completely: no rectangle, no
   container, no shadow. The bars composite straight onto the bloom and
   read as light rather than as an image pasted into the corner.
   ═══════════════════════════════════════════════════════════════════════ */
.eventmark {
  /* Right edge and top align to the dense slide's 88/62 padding grid. */
  position: absolute; right: 88px; top: 62px;
  width: 280px; height: auto; z-index: 3;
  /* `lighten` (max per channel), not `screen` (additive): black still drops
     out, but the bars keep their own colour instead of being washed pale by
     the bloom underneath them. */
  mix-blend-mode: lighten;
}

/* ══ Glows ══════════════════════════════════════════════════════════════
   The cover's bloom, scaled down. Soft coloured shadows sitting off the
   edges of the quieter slides so they stop reading as flat paper — one or
   two per slide, always in a corner the content does not reach, and never
   on a slide already carrying its own graphic.
   ═══════════════════════════════════════════════════════════════════════ */
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%;
  filter: blur(64px);
  background: radial-gradient(circle,
    rgba(185, 28, 108, .42) 0%, rgba(123, 63, 160, .20) 45%, transparent 70%);
}
.sl--cream .glow { filter: blur(70px); }
.sl--dark .glow {
  filter: blur(78px);
  background: radial-gradient(circle,
    rgba(232, 68, 127, .34) 0%, rgba(104, 78, 214, .17) 46%, transparent 72%);
}

/* Cool variant, so the set does not read as one repeated pink smudge. */
.glow--cool {
  background: radial-gradient(circle,
    rgba(96, 74, 190, .38) 0%, rgba(45, 42, 110, .18) 46%, transparent 72%);
}

/* Positions. Everything bleeds off an edge; sizes stay well under the
   cover's 760–820px orbs. */
.glow--tl { width: 340px; height: 340px; left: -120px; top: -110px; }
.glow--tr { width: 380px; height: 380px; right: -130px; top: -120px; }
.glow--bl { width: 360px; height: 360px; left: -125px; bottom: -115px; }
.glow--br { width: 400px; height: 400px; right: -140px; bottom: -130px; }
.glow--rc { width: 300px; height: 300px; right: -110px; top: 46%; }
.glow--lc { width: 300px; height: 300px; left: -110px; top: 40%; }

/* Barely-there drift, on long offset cycles so no two are ever in step. */
.glow { animation: gdrift 28s ease-in-out infinite alternate; }
.glow--tr, .glow--bl { animation-duration: 34s; animation-delay: -6s; }
.glow--br, .glow--lc { animation-duration: 31s; animation-delay: -13s; }
@keyframes gdrift { to { transform: translate3d(26px, -22px, 0) scale(1.09); } }

@media (prefers-reduced-motion: reduce) { .glow { animation: none !important; } }
