/* ----------------------------------------------------------------
   36 Chambers — school sales deck
   Shared template styles. School identity arrives via CONFIG.theme
   overriding the custom properties below; never edit per school.
   ---------------------------------------------------------------- */

:root {
  --bg:        #f4f4f3;
  --surface:   #ffffff;
  --ink:       #0d0d0f;
  --ink-2:     #34343a;
  --muted:     #6c6c75;
  --line:      rgba(13,13,15,0.10);
  --line-2:    rgba(13,13,15,0.18);

  --accent:    #026762;
  --accent-2:  #014b47;
  --accent-lo: rgba(2,103,98,0.10);
  --accent-glow: rgba(2,103,98,0.45);
  --on-accent: #fff;   /* text color on accent fills; dark for vivid accents like papaya/neon */
  --head:      #2a2a30;

  --gut: clamp(20px, 5vw, 72px);

  --display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 10px;

  --z-bg: 0; --z-content: 2; --z-nav: 40;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0; min-height: 100svh; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain — signature texture */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.30; mix-blend-mode: multiply;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--on-accent, #fff); }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, video { max-width: 100%; }

/* ---- fixed topbar: brandmark + slide counter ---- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.2vh, 20px) var(--gut);
  pointer-events: none;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; pointer-events: auto; }
.brandmark img { height: 24px; width: auto; max-width: 150px; display: block; object-fit: contain; }
.brandmark .wordmark { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); text-transform: var(--wordmark-case, none); }
.counter { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.topbar, .dots, .brandmark img { transition: none; }
/* chrome on the accent-drench slide: colors derive from --on-accent; logo stays itself */
.on-accent .counter { color: color-mix(in srgb, var(--on-accent) 80%, transparent); }
.on-accent .brandmark .wordmark { color: var(--on-accent); }
/* chrome on the dark closing slide: light text, brand-color active dot */
.on-dark .counter { color: rgba(255,255,255,0.8); }
.on-dark .brandmark .wordmark { color: #fff; }

/* ---- progress dot rail ---- */
.dots {
  position: fixed; right: clamp(10px, 2vw, 22px); top: 50%; transform: translateY(-50%);
  z-index: var(--z-nav); display: flex; flex-direction: column; gap: 10px;
}
.dots a {
  width: 7px; height: 7px; border-radius: 100px; display: block;
  background: var(--line-2);
  transition: background .3s ease, height .3s ease;
}
.dots a.active { background: var(--accent); height: 20px; }
.on-accent .dots a { background: color-mix(in srgb, var(--on-accent) 35%, transparent); }
.on-accent .dots a.active { background: var(--on-accent); }
.on-dark .dots a { background: rgba(255,255,255,0.3); }
.on-dark .dots a.active { background: var(--btn-bg, var(--accent)); }

/* ---- slides ---- */
.slide {
  min-height: 100svh;
  min-height: 100dvh; /* tracks the live viewport so a hiding address bar never leaves the next slide peeking */
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: clamp(72px, 12vh, 110px) var(--gut) clamp(56px, 9vh, 90px);
}
/* alternate slide ground: breaks up back-to-back light (or dark) slides */
.s-anchor, .s-next { background: var(--alt-bg, color-mix(in srgb, var(--ink) 4%, var(--bg))); }
.wrap { position: relative; z-index: var(--z-content); width: 100%; max-width: 880px; margin: 0 auto; }
.wrap.narrow { max-width: 680px; }
.wrap.wide { max-width: 1180px; }

h1, h2 {
  font-family: var(--display); font-weight: 600; line-height: 1.12;
  letter-spacing: 0.025em; text-transform: uppercase; color: var(--head);
  margin: 0; text-wrap: balance;
}
h1 { font-size: var(--h1-size, clamp(1.9rem, 6vw, 3.1rem)); }
h2 { font-size: clamp(1.5rem, 4.8vw, 2.5rem); }
.lede {
  color: var(--ink-2); font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  margin: clamp(14px, 2.4vh, 24px) auto 0; max-width: 56ch; text-wrap: pretty;
}
.centered { text-align: center; }
.centered .lede { margin-left: auto; margin-right: auto; }

/* ambient blooms (bookend slides) */
.bloom { position: absolute; inset: 0; z-index: var(--z-bg); pointer-events: none; overflow: hidden; }
.bloom span {
  position: absolute; width: 52vw; height: 52vw; max-width: 620px; max-height: 620px;
  border-radius: 50%; background: radial-gradient(circle, var(--accent-lo), transparent 70%);
  filter: blur(30px); opacity: 0.9;
}
.bloom .b1 { top: -16%; right: -10%; animation: drift 24s ease-in-out infinite; }
.bloom .b2 { bottom: -20%; left: -12%; animation: drift 32s ease-in-out infinite reverse; }
@keyframes drift { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(4%,-5%) scale(1.14);} 100%{transform:translate(0,0) scale(1);} }

/* ---- buttons ---- */
.btn {
  font-family: var(--btn-font, var(--mono)); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: transform .2s ease, background .25s ease, color .25s ease, box-shadow .3s ease;
}
/* --btn-bg lets a brand restrict its loud color to CTAs only (e.g. GB red)
   while --accent handles quieter marks: ticks, stars, chips, rules. */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; background: var(--btn-bg, var(--accent)); color: var(--on-accent); box-shadow: 0 16px 38px -18px var(--accent-glow); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
/* sheen: a skewed light bar sweeps across on hover. Decorative, transform-only,
   invisible at rest, so a frozen renderer simply never shows it. */
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.30), transparent);
  transform: skewX(-18deg) translateX(-160%); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after { animation: sheen .7s cubic-bezier(.2,.8,.2,1); }
}
@keyframes sheen { from { transform: skewX(-18deg) translateX(-160%); } to { transform: skewX(-18deg) translateX(320%); } }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--btn-bg, var(--accent)); color: var(--on-accent); border-color: var(--btn-bg, var(--accent)); transform: translateY(-2px); }
.btn-invert { background: var(--invert-bg, var(--on-accent)); color: var(--invert-ink, var(--btn-bg, var(--accent))); }
.btn-invert:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(0,0,0,0.5); }
/* fail-safe pending control: the checkout URL isn't wired yet, but these brand-level
   demo decks are for SHOWING, so the button keeps its full brand colour (inherits the
   btn-primary/ghost/invert look). It's a non-anchor with no href, so a tap can't
   404; the generator --strict gate still flags it before a real location goes live. */
.btn-pending { cursor: pointer; }

/* academy pages run without ambient effects; glows and blooms are a 36C thing */
.no-fx .bloom { display: none; }
.no-fx .btn { box-shadow: none !important; }

.minor-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px; transition: color .25s ease, border-color .25s ease;
}
.minor-link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---- hero ---- */
.s-hero { text-align: center; }
.hero-logo {
  max-height: var(--logo-h, clamp(84px, 14vh, 132px)); width: auto; max-width: min(82vw, 460px);
  object-fit: contain; margin: 0 auto clamp(40px, 6.8vh, 76px); display: block;
}
/* Watch/Read toggle for the hero VSL */
.vsl-toggle {
  display: inline-flex; gap: 2px; padding: 3px; margin: clamp(20px, 3.4vh, 32px) auto 0;
  border: 1px solid var(--line-2); border-radius: 100px;
}
.vsl-toggle button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 22px; min-height: 40px; border: 0; border-radius: 100px; background: transparent;
  color: var(--muted); cursor: pointer; transition: background .2s ease, color .2s ease;
}
.vsl-toggle button.active { background: var(--ink); color: var(--bg); }
.vsl-wrap .vsl-read { display: none; }
.vsl-wrap .hero-video { margin-top: clamp(12px, 2vh, 18px); }
.vsl-wrap .vsl-read { margin-top: clamp(12px, 2vh, 18px); }
.vsl-wrap.reading .hero-video { display: none; }
.vsl-wrap.reading .vsl-read { display: block; }
/* the Read view: no panel, just ticked statements over hairlines on the page ground,
   two columns so all six points sit inside one viewport */
.vsl-read {
  margin: clamp(18px, 3vh, 30px) auto 0; max-width: 860px; text-align: left;
}
.vsl-read ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(36px, 5vw, 64px);
}
.vsl-read li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 1.125rem; line-height: 1.5; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2); padding: clamp(12px, 1.8vh, 16px) 0;
}
.vsl-read li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-ink, var(--accent)); }
@media (max-width: 640px) { .vsl-read ul { grid-template-columns: 1fr; } }

/* short promise line between headline and body copy */
.subhead {
  font-family: var(--display); font-weight: 600; line-height: 1.25;
  font-size: clamp(1.125rem, 2.3vw, 1.3rem); letter-spacing: 0.05em; text-transform: uppercase;
  /* --subhead-ink lets a brand set the hero promise line's colour independently of
     the accent (e.g. GB, where the accent is red but a red subhead was too loud) */
  color: var(--subhead-ink, var(--accent-text, var(--accent-2))); margin: clamp(10px, 1.8vh, 18px) auto 0;
  text-wrap: balance;
}
.hero-video {
  position: relative;
  margin: clamp(24px, 4vh, 40px) auto 0; max-width: 640px;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  background: var(--ink); aspect-ratio: 16 / 9;
}
.hero-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
/* play badge: premium dark glass circle, purposeful over the video (not a decorative
   default). pointer-events:none so native click-to-play passes through; fades on play. */
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(20, 20, 20, 0.84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.30);
  /* clickable: a JS handler calls video.play(); native controls handle pause/scrub */
  pointer-events: auto; cursor: pointer;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.play-badge svg { width: 34px; height: 34px; color: #fff; transform: translateX(1.5px); }
.hero-video:hover .play-badge { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 8px 30px -10px rgba(0,0,0,0.6), inset 0 0 0 1.5px rgba(255,255,255,0.55); }
/* while playing: fade out and let clicks fall through to the video (pause/scrub) */
.hero-video.playing .play-badge { opacity: 0; pointer-events: none; }
/* hide the native overlay play button so only our badge shows */
.hero-video video::-webkit-media-controls-overlay-play-button { display: none; }
.hero-links { margin-top: clamp(22px, 3.4vh, 34px); display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
/* small credit under the showcase VSL (attribution for the placeholder clip) */
.vsl-credit {
  margin: 10px auto 0; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

/* swipe hint */
/* accent scroll arrow, bottom centre: the hero's one brand accent */
.hint {
  position: absolute; left: 50%; bottom: clamp(18px, 3.4vh, 34px); transform: translateX(-50%);
  z-index: var(--z-content); color: var(--accent-ink, var(--accent)); transition: opacity .5s ease;
}
.hint svg { width: 30px; height: 30px; display: block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hint.gone { opacity: 0; }

/* ---- anchoring slide: same board anatomy as the memberships ---- */
/* figures in ink; only the /period suffix carries the brand accent */
.price { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--ink); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price .per { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent-ink, var(--accent)); text-transform: uppercase; margin-left: 2px; }
/* anchor-column icon: monoline accent mark above the title (matches the landing
   pages' cost board). Only the anchor board sets item.icon; membership items don't. */
.b-col .b-icon { display: block; margin-bottom: 12px; color: var(--accent-ink, var(--accent)); }
.b-col .b-icon svg { width: 26px; height: 26px; display: block; }
.b-col .bd { margin: 16px 0 0; color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; flex: 1; }
/* muted labels already clear AA (>=4.7:1 all brands); 9.5px was just a legibility
   outlier, nudged to 10.5px. Color unchanged. */
.b-col .b-src {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); margin: 14px 0 0;
}
.a-close { margin-top: clamp(28px, 4.6vh, 44px); }
.a-close .big {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1.125rem, 2.6vw, 1.4rem); color: var(--accent-text, var(--accent-2)); margin: 0; text-wrap: balance;
}
.a-close .note { color: var(--ink-2); margin: 8px auto 0; font-size: 1.125rem; max-width: 56ch; }

/* ---- packages slide: the rate board ---- */
.board {
  margin-top: clamp(32px, 5.2vh, 54px); text-align: left;
  /* elevated: a faint ring + soft drop shadow (not a flat 1px border) so the board
     reads as a machined object lifted off the slide. The ring uses --line, which
     flips light on dark themes, so it still reads on Renowned's dark ground where a
     drop shadow wouldn't. */
  background: var(--surface); border-radius: 16px;
  box-shadow:
    0 0 0 1px var(--line),
    0 2px 6px rgba(0,0,0,0.04),
    0 24px 52px -22px rgba(0,0,0,0.20);
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.b-col {
  padding: clamp(30px, 4.6vh, 44px) clamp(24px, 2.8vw, 38px);
  display: flex; flex-direction: column;
}
.b-col + .b-col { border-left: 1px solid var(--line); }
.b-col h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em;
  text-transform: uppercase; margin: 0; color: var(--ink);
}
.p-commit {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 7px 0 0;
}
.b-col .price { font-size: clamp(2.1rem, 3.2vw, 2.8rem); margin-top: 20px; }
.p-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }
.b-col ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.b-col li { display: flex; gap: 9px; align-items: flex-start; font-size: 1.125rem; color: var(--ink-2); line-height: 1.45; }
.b-col li svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--accent); }
.b-cta { width: 100%; padding: 13px 16px; font-size: 11px; }

/* membership board can run dark per brand via plans-* tokens (anchor board unaffected) */
.s-packages .board { background: var(--plans-bg, var(--surface)); border-color: var(--plans-line, var(--line-2)); }
.s-packages .b-col + .b-col { border-color: var(--plans-div, var(--line)); }
.s-packages .b-col h3 { color: var(--plans-title, var(--ink)); }
.s-packages .board .price { color: var(--plans-ink, var(--ink)); }
.s-packages .b-col li { color: var(--plans-text, var(--ink-2)); }
.s-packages .p-commit, .s-packages .p-note { color: var(--plans-muted, var(--muted)); }
.s-packages .b-cta { color: var(--plans-cta-ink, var(--ink)); border-color: var(--plans-cta-border, var(--line-2)); }
/* on hover the ghost fills with the brand button color: text must flip to on-accent
   (this rule comes after the token override above, so the flip always wins) */
.s-packages .b-cta:hover { color: var(--on-accent); border-color: var(--btn-bg, var(--accent)); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .b-col + .b-col { border-left: 0; border-top: 1px solid var(--line); }
  .b-col ul { margin-bottom: 18px; }
}

/* review chip */
.review {
  margin: clamp(30px, 4.8vh, 46px) auto 0; max-width: 620px; text-align: center;
}
.review .stars { color: var(--accent-ink, var(--accent)); letter-spacing: 0.2em; font-size: 1.2rem; line-height: 1; }
.review blockquote { margin: 8px 0 6px; font-size: 1.125rem; color: var(--ink-2); font-style: normal; }
/* reviewer identity: a Google-style initials avatar (review photos are rarely
   obtainable; initials are honest) + the cite, on one centered row */
.review .r-who { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 11px; }
.review .avatar {
  width: 40px; height: 40px; flex: none; border-radius: 100px; display: grid; place-items: center;
  background: var(--ink); color: var(--surface, #fff);
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; line-height: 1;
}
.review cite { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; }
/* on the dark closing slide, --ink is dark = invisible; use a light frosted disc */
.s-cta .review .avatar { background: rgba(255,255,255,0.14); color: #fff; }

/* ---- challenge offer slide: type-led, no card (content centred on the slide) ---- */
.s-offer { background: var(--offer-bg, var(--bg)); overflow: hidden; }
/* premium full-slide sheen: a soft brand-tinted gleam sweeps across the whole slide a
   beat after you arrive (re-fires each visit via .sheen-go), marking the challenge as
   the standout page. Sits behind the content (z-index 1) so text stays crisp; the
   coloured edges read on light brands, the bright core reads on Renowned's dark ground.
   Decorative + reveal-safe: opacity 0 at rest, pointer-events none, reduced-motion off. */
.offer-sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg,
    transparent 35%,
    color-mix(in srgb, var(--accent) 24%, transparent) 46%,
    rgba(255,255,255,0.72) 50%,
    color-mix(in srgb, var(--accent) 24%, transparent) 54%,
    transparent 65%);
  transform: translateX(-135%);
}
/* the "Most popular" social-proof badge: an accent pill with a one-time sheen that
   sweeps a beat AFTER the slide arrives (via .slide.in), to catch the eye */
.offer-tag {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--accent); color: var(--on-accent);
  padding: 7px 16px; border-radius: 100px; margin-bottom: clamp(24px, 4.4vh, 46px);
}
/* type-led offer: open vertical rhythm so the elements aren't bunched on tall screens */
.s-offer .lede { margin-top: clamp(22px, 3.4vh, 38px); }
.offer-tag::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg) translateX(-180%); pointer-events: none;
}
/* .sheen-go is toggled on the slide by the IO each time it's entered, driving both the
   full-page sweep (first) and the pill highlight (a beat later); re-fires every visit */
@media (prefers-reduced-motion: no-preference) {
  .s-offer.sheen-go .offer-sheen { animation: page-sheen 1.15s cubic-bezier(.2,.8,.2,1) .45s; }
  .s-offer.sheen-go .offer-tag::after { animation: sheen .9s cubic-bezier(.2,.8,.2,1) 1.2s both; }
}
@keyframes page-sheen {
  0%   { transform: translateX(-135%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(135%); opacity: 0; }
}
/* price kept deliberately SMALL in pixels (a smaller number reads as a smaller cost) */
.offer-price {
  font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.2vw, 2.7rem); color: var(--ink); font-variant-numeric: tabular-nums;
  margin-top: clamp(28px, 4.6vh, 52px);
}
.offer-price .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent-ink, var(--accent)); text-transform: uppercase; margin-left: 5px; }
.offer-list {
  list-style: none; margin: clamp(32px, 5.2vh, 56px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, auto));
  gap: clamp(16px, 2.4vh, 24px) clamp(28px, 4.6vw, 56px); width: fit-content; text-align: left;
}
@media (max-width: 600px) { .offer-list { grid-template-columns: 1fr; gap: 11px; } }
.offer-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-family: var(--sans); font-size: clamp(1.125rem, 1.4vw, 1.2rem); color: var(--ink); line-height: 1.5;
}
.offer-list li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-ink, var(--accent)); }
.s-offer .cta-row { margin-top: clamp(40px, 6.4vh, 78px); }

/* ---- incentive slide (accent drench) ---- */
.s-incentive { background: var(--drench-bg, var(--accent)); }
.s-incentive h2 { color: var(--on-accent); }
.s-incentive .lede { color: color-mix(in srgb, var(--on-accent) 96%, transparent); }
.stack { list-style: none; margin: clamp(32px, 5.2vh, 54px) 0 0; padding: 0; display: grid; gap: 14px; text-align: left; }
/* incentive boxes: outlined on the drench color by default; brands can flip them
   to solid panels (e.g. RGA anthracite with papaya headings) via the stack-* tokens */
.stack li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  background: var(--stack-bg, transparent);
  border: 1.5px solid var(--stack-border, color-mix(in srgb, var(--on-accent) 45%, transparent));
  border-radius: 12px; padding: 18px 20px;
}
.stack .t {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--stack-title, var(--on-accent));
  text-transform: uppercase; letter-spacing: 0.03em;
}
.stack .v {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--stack-title, var(--on-accent));
  background: color-mix(in srgb, var(--stack-title, var(--on-accent)) 16%, transparent);
  border-radius: 100px; padding: 4px 10px; white-space: nowrap;
}
.stack .d { grid-column: 1 / -1; color: var(--stack-text, color-mix(in srgb, var(--on-accent) 96%, transparent)); font-size: 1.125rem; margin: 0; }
.s-incentive .foot {
  margin-top: clamp(20px, 3vh, 30px); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-accent); font-size: 11.5px;
}
.s-incentive .cta-row { margin-top: clamp(18px, 2.6vh, 26px); }

/* ---- what happens next ---- */
/* steps stay a readable centred list even though the slide uses the wide wrap
   (so the two-card row below can go wide) */
.steps { list-style: none; margin: clamp(28px, 4.4vh, 46px) auto 0; max-width: 780px; padding: 0; display: grid; gap: 0; text-align: left; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 16px 4px; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
/* number: plain digit by default; brands can set --num-bg for a plate + --num-border */
.steps .n {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--num-ink, var(--accent-ink, var(--accent)));
  background: var(--num-bg, transparent); border: 1px solid var(--num-border, transparent);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.steps .t {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.steps .d { margin: 4px 0 0; color: var(--ink-2); font-size: 1.125rem; }

/* promise + parents'-challenge cards side by side when both exist: goes WIDE (the
   slide's wide wrap) so the two cards are short enough to fit under the steps */
.g-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: clamp(20px, 3vh, 30px) auto 0; max-width: 1040px;
}
.g-row .guarantee { margin-top: 0; max-width: none; }
@media (max-width: 720px) { .g-row { grid-template-columns: 1fr; } }

.guarantee {
  margin: clamp(20px, 3.4vh, 32px) auto 0; max-width: 780px;
  background: var(--guar-bg, var(--surface));
  border: 1px solid var(--guar-border, var(--accent)); box-shadow: var(--guar-shadow, none);
  border-radius: 14px; padding: 18px 22px; text-align: left;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.guarantee svg { width: 26px; height: 26px; color: var(--guar-icon, var(--guar-title, var(--accent))); margin-top: 2px; }
.guarantee .t { font-family: var(--display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--guar-title, var(--accent-text, var(--accent-2))); }
.guarantee p { margin: 6px 0 0; color: var(--guar-text, var(--ink-2)); font-size: 1.125rem; }

/* ---- final CTA: dark close ---- */
.cta-row { margin-top: clamp(22px, 3.4vh, 36px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-big { padding: 19px 34px; font-size: 14px; min-width: min(340px, 100%); }
/* the Cialdini free-to-refuse line: a deliberate heading moment, two balanced lines */
.do-nothing {
  margin: clamp(28px, 4.4vh, 44px) auto 0; max-width: none;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.5;
  font-size: clamp(1.125rem, 2vw, 1.2rem); color: rgba(255,255,255,0.92);
}
.s-cta { background: var(--cta-bg, var(--ink)); }
/* the closing slide gets extra air: it's the final beat, let it breathe */
.s-cta .lede { margin-top: clamp(18px, 3vh, 30px); }
.s-cta .cta-row { margin-top: clamp(32px, 5.4vh, 56px); }
.s-cta .review { margin-top: clamp(36px, 6vh, 64px); }
.s-cta .do-nothing { margin-top: clamp(36px, 6vh, 64px); }
.s-cta h2 { color: #fff; }
.s-cta .lede { color: rgba(255,255,255,0.82); }
/* stars on the dark close: brand accent when it reads on dark, white otherwise */
.s-cta .review .stars { color: var(--stars-dark, #fff); }
.s-cta .review blockquote { color: rgba(255,255,255,0.88); }
.s-cta .review cite { color: rgba(255,255,255,0.62); }
.s-cta .do-nothing { color: rgba(255,255,255,0.92); }
.s-cta .bloom span { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.s-cta .btn-primary { box-shadow: 0 20px 48px -16px var(--accent-glow); }

@media (max-width: 540px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .dots { right: 7px; }
}

/* short viewports (tablet landscape): calmer than full scale, but never cramped —
   a slide may slightly exceed one screen; breathing room wins over strict fit */
@media (max-height: 860px) {
  .slide { padding: 68px var(--gut) 44px; }
  .hero-logo { max-height: var(--logo-h-sm, 84px); margin-bottom: 34px; }
  .hero-video { max-width: min(560px, 78vh); margin-top: 22px; }
  .hero-links { margin-top: 20px; }
  .board, .offer-cols, .steps, .stack { margin-top: 30px; }
  .a-close { margin-top: 22px; }
  .b-col { padding: 24px 26px 22px; }
  .b-col ul { margin: 14px 0 16px; }
  .review, .guarantee { margin-top: 24px; }
  .steps li { padding: 14px 4px; }
  .stack li { padding: 15px 20px; }
  .cta-row { margin-top: 24px; }
  .s-offer .cta-row { margin-top: 30px; }
  .do-nothing { margin-top: 24px; }
  .lede { margin-top: 12px; }
}

/* very short viewports (small tablet landscape, chrome showing): claw content back to one screen */
@media (max-height: 720px) {
  .slide { padding: 56px var(--gut) 30px; }
  .hero-logo { max-height: 64px; margin-bottom: 18px; }
  .hero-video { max-width: min(480px, 60vh); margin-top: 14px; }
  .vsl-toggle { margin-top: 14px; }
  .vsl-read { margin-top: 14px; }
  .vsl-read li { padding: 9px 0; }
  h1 { font-size: clamp(1.7rem, 5.6vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 4.4vw, 2rem); }
  .board, .offer-cols, .steps, .stack { margin-top: 18px; }
  .a-close { margin-top: 14px; }
  .b-col { padding: 18px 22px 16px; }
  .b-col .price { margin-top: 12px; }
  .b-col ul { margin: 10px 0 12px; }
  .review, .guarantee { margin-top: 14px; }
  .guarantee { padding: 16px 20px; }
  .offer-price { margin-top: 16px; }
  .offer-list { margin-top: 16px; gap: 8px clamp(28px, 4.6vw, 56px); }
  .steps li { padding: 9px 4px; }
  .steps .n { width: 40px; height: 40px; font-size: 1.3rem; }
  .stack li { padding: 12px 18px; }
  .cta-row, .s-offer .cta-row { margin-top: 16px; }
  .do-nothing { margin-top: 16px; }
  .lede { margin-top: 8px; }
}

/* ---- entry motion: class-triggered keyframes; default state is fully visible ---- */
@media (prefers-reduced-motion: no-preference) {
  .slide.in .rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
  .slide.in .rise:nth-child(2) { animation-delay: .07s; }
  .slide.in .rise:nth-child(3) { animation-delay: .14s; }
  .slide.in .rise:nth-child(4) { animation-delay: .21s; }
  .slide.in .rise:nth-child(5) { animation-delay: .28s; }
  .slide.in :is(.stack, .steps) > * {
    animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
  }
  .slide.in :is(.stack, .steps) > :nth-child(1) { animation-delay: .08s; }
  .slide.in :is(.stack, .steps) > :nth-child(2) { animation-delay: .16s; }
  .slide.in :is(.stack, .steps) > :nth-child(3) { animation-delay: .24s; }
  .slide.in :is(.stack, .steps) > :nth-child(4) { animation-delay: .32s; }

  /* signature motion (P1): hero logo settles in with a subtle scale + brightness
     lift, transform/filter only so a frozen renderer still shows it crisp; and the
     offer/challenge feature ticks stroke-draw as the slide enters. Both default to
     the finished state (never gate visibility on the animation). */
  .slide.in.s-hero .hero-logo { animation: settle 1.2s cubic-bezier(.16,1,.3,1) both; }
  @keyframes settle { from { transform: scale(1.05); filter: brightness(.9); } to { transform: none; filter: none; } }

  .offer-list li svg { stroke-dasharray: 26; stroke-dashoffset: 0; }
  .slide.in .offer-list li svg { animation: draw .6s ease-out both; }
  .slide.in .offer-list li:nth-child(2) svg { animation-delay: .08s; }
  .slide.in .offer-list li:nth-child(3) svg { animation-delay: .16s; }
  .slide.in .offer-list li:nth-child(4) svg { animation-delay: .24s; }
  .slide.in .offer-list li:nth-child(5) svg { animation-delay: .32s; }
  .slide.in .offer-list li:nth-child(6) svg { animation-delay: .40s; }
  @keyframes draw { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }
}
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bloom span, .hint svg { animation: none; }
  html { scroll-behavior: auto; }
}

noscript { display: block; padding: 40vh var(--gut); text-align: center; font-family: var(--sans); }
