/* ════════════════════════════════════════════════════════════
   healo · New Health Ecosystem — pitch deck
   sage-clinical calm · Apple-keynote editorial
   ════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fragment-mono.woff2") format("woff2");
}

:root {
  --sage: #dde7d3;
  --sage-deep: #cbdabd;
  --sage-soft: #e9f0e2;
  --paper: #fafbf7;
  --ink: #131812;
  --ink-2: #404a3f;
  --ink-3: #74806f;
  --dark: #0e130d;
  --dark-2: #161e15;
  --glow: #cdeebb;

  --ring-1: #8fcfa5;
  --ring-2: #94b8af;
  --ring-3: #e6d07c;
  --ring-4: #dfaf92;
  --ring-5: #b7c3af;

  --font-sans: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "Fragment Mono", "SF Mono", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  --pad-x: clamp(24px, 6vw, 110px);
  --pad-y: clamp(64px, 9vh, 110px);

  --shadow-card: 0 1px 2px rgba(16, 23, 16, 0.05), 0 10px 30px rgba(16, 23, 16, 0.08);
  --shadow-pop: 0 2px 4px rgba(16, 23, 16, 0.07), 0 18px 50px rgba(16, 23, 16, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  transition: background-color 0.7s ease;
}
@media (max-width: 700px) {
  .body-l, .body-m { hyphens: auto; -webkit-hyphens: auto; }
}
body[data-theme="paper"] { background: var(--paper); }
body[data-theme="dark"]  { background: var(--dark); }
body.cursor-idle, body.cursor-idle * { cursor: none !important; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--sage); }

:where(button, a, [tabindex]):focus-visible {
  outline: 2px solid color-mix(in oklab, currentColor 75%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ───────────────────────── chrome ───────────────────────── */

.chrome { position: fixed; inset: 0; z-index: 60; pointer-events: none; color: var(--ink); transition: opacity 0.4s ease; }
body[data-theme="dark"] .chrome { color: #eef4ea; }

.progress {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: color-mix(in oklab, currentColor 12%, transparent);
}
.progress span {
  display: block; height: 100%; width: 0;
  background: currentColor;
  transition: width 0.6s var(--ease-out);
}

.brand {
  position: absolute; top: clamp(16px, 3vh, 30px); left: var(--pad-x);
  pointer-events: auto; color: inherit;
  transition: opacity 0.3s ease, transform 0.15s ease;
}
.brand svg { width: clamp(74px, 6.4vw, 104px); height: auto; fill: currentColor; }
.brand:hover { opacity: 0.7; }
.brand:active { transform: scale(0.96); }

.credit {
  position: absolute; bottom: clamp(16px, 2.8vh, 26px); left: var(--pad-x);
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}
.credit .pl-s7 { width: 54px; }
.credit .pl-tpa { width: 27px; }
body.chrome-min .credit { opacity: 0; }
/* idle: bottom chrome fades, brand + progress stay */
body.ui-idle .hud, body.ui-idle .credit, body.ui-idle .keys-hint {
  opacity: 0; pointer-events: none;
}
.hud, .keys-hint { transition: opacity 0.5s ease; }
.credit strong { font-weight: 400; }

.hud {
  position: absolute; bottom: calc(clamp(14px, 2.6vh, 24px) + env(safe-area-inset-bottom, 0px)); right: var(--pad-x);
  display: flex; align-items: center; gap: 2px;
  pointer-events: auto;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, currentColor 7%, transparent);
  backdrop-filter: blur(12px);
}
.hud button {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  opacity: 0.75;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.hud button:hover { opacity: 1; background: color-mix(in oklab, currentColor 10%, transparent); }
.hud button:active { transform: scale(0.96); }
.hud button svg { width: 16px; height: 16px; }
.hud-sep { width: 1px; height: 18px; margin: 0 6px; background: currentColor; opacity: 0.18; }
.counter {
  font-family: var(--font-mono); font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em; opacity: 0.8;
  min-width: 64px; text-align: center;
}

.keys-hint {
  position: absolute; bottom: clamp(22px, 3.4vh, 32px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  opacity: 0; transition: opacity 0.8s ease;
  white-space: nowrap;
}
.keys-hint.show { opacity: 0.55; }
.keys-hint kbd {
  font: inherit; display: inline-block; padding: 1px 5px; margin: 0 1px;
  border: 1px solid color-mix(in oklab, currentColor 35%, transparent);
  border-radius: 5px;
}

/* ───────────────────────── agenda overlay ───────────────────────── */

.agenda {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--dark) 86%, transparent);
  backdrop-filter: blur(20px);
  opacity: 0; transition: opacity 0.35s ease;
  color: #eef4ea;
}
/* author display:grid would override the [hidden] UA rule — without these two
   rules the invisible overlay sits above everything and swallows every click */
.agenda[hidden] { display: none; }
.agenda:not(.open) { pointer-events: none; }
.agenda.open { opacity: 1; }
.agenda-inner { width: min(720px, 88vw); max-height: 84vh; overflow-y: auto; padding: 8px; }
.agenda .kicker { color: var(--glow); margin-bottom: 22px; }
.agenda ol { list-style: none; counter-reset: ag; }
.agenda li { counter-increment: ag; }
.agenda li + li { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.agenda button {
  display: flex; align-items: baseline; gap: 22px;
  width: 100%; text-align: left;
  padding: clamp(8px, 1.4vh, 13px) 10px;
  border-radius: 12px;
  font-size: clamp(16px, 2vh, 21px); font-weight: 460;
  opacity: 0.72;
  transition: opacity 0.2s ease, background-color 0.2s ease, padding-left 0.25s var(--ease-out);
}
.agenda button::before {
  content: counter(ag, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.62em;
  opacity: 0.55; font-variant-numeric: tabular-nums;
}
.agenda button:hover { opacity: 1; background: rgba(255, 255, 255, 0.06); padding-left: 18px; }
.agenda li.current button { opacity: 1; color: var(--glow); }

/* ───────────────────────── deck & slides ───────────────────────── */

.deck { position: fixed; inset: 0; }

.slide {
  position: absolute; inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(calc(var(--dir, 1) * 5vw));
  transition:
    opacity 0.6s ease,
    transform 0.75s var(--ease-out),
    visibility 0s linear 0.8s;
}
.slide.is-active {
  visibility: visible; opacity: 1; transform: none; z-index: 2;
  transition: opacity 0.55s ease 0.12s, transform 0.8s var(--ease-out) 0.12s;
}
.slide.is-leaving {
  visibility: visible; z-index: 1;
  opacity: 0;
  transform: translateX(calc(var(--dir, 1) * -4vw)) scale(0.992);
}

.wrap {
  position: relative; z-index: 3;
  width: min(1680px, 100%);
  height: 100%;
  margin-inline: auto;
  padding: var(--pad-y) var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}

/* slide themes */
.slide[data-theme="sage"]  { background: linear-gradient(160deg, var(--sage-soft), var(--sage) 55%, var(--sage-deep)); color: var(--ink); }
.slide[data-theme="paper"] { background: var(--paper); color: var(--ink); }
.slide[data-theme="dark"]  { background: linear-gradient(165deg, var(--dark-2), var(--dark) 60%); color: #eef4ea; }

/* ───────────────────────── typography ───────────────────────── */

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.78vw, 13px);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: clamp(18px, 3.2vh, 34px);
  color: color-mix(in oklab, currentColor 72%, transparent);
}
.kicker::before {
  content: ""; flex: 0 0 auto;
  width: 13px; height: 13px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="176 57 46 47"><path d="M185.4 67.1c-4.2.1-8.3 3.8-8.4 8.5v10c0 4.9 4 8.5 8.4 8.7zM212.8 67.1v27.2c4.8-.2 8.1-4 8.2-8.4v-10c-.2-4.9-3.8-8.6-8.2-8.8M185.4 67.1h27.2c-.1-3.9-3.4-8.7-8.5-8.7h-9.7c-4.3-.1-8.7 3.8-9 8.7M185.4 94.3c.2 4.6 3.7 8.3 8.6 8.4h9.8c4.2 0 8.1-3.7 8.4-8.4z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="176 57 46 47"><path d="M185.4 67.1c-4.2.1-8.3 3.8-8.4 8.5v10c0 4.9 4 8.5 8.4 8.7zM212.8 67.1v27.2c4.8-.2 8.1-4 8.2-8.4v-10c-.2-4.9-3.8-8.6-8.2-8.8M185.4 67.1h27.2c-.1-3.9-3.4-8.7-8.5-8.7h-9.7c-4.3-.1-8.7 3.8-9 8.7M185.4 94.3c.2 4.6 3.7 8.3 8.6 8.4h9.8c8.4 0 8.1-3.7 8.4-8.4z"/></svg>') center/contain no-repeat;
}
.kicker-mark { width: 14px; height: 14px; fill: currentColor; }

.display {
  font-size: clamp(52px, 9.6vw, 168px);
  font-weight: 560;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display-s {
  font-size: clamp(40px, 6.6vw, 110px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: clamp(14px, 2.6vh, 30px);
}
.headline {
  font-size: clamp(30px, 4.2vw, 66px);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: clamp(18px, 3.4vh, 36px);
  max-width: 22ch;
}
.headline.center { max-width: none; text-align: center; }
.lede {
  font-size: clamp(18px, 1.75vw, 30px);
  font-weight: 430;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.body-l { font-size: clamp(16px, 1.35vw, 22px); font-weight: 430; color: color-mix(in oklab, currentColor 80%, transparent); text-wrap: pretty; }
.body-m { font-size: clamp(14px, 1.1vw, 18px); color: color-mix(in oklab, currentColor 78%, transparent); text-wrap: pretty; }
.measure { max-width: 58ch; }

.display .line, .display-s .line, .split-lines .line { display: block; }

/* ───────────────────────── enter animations ───────────────────────── */

[data-a] {
  opacity: 0;
  translate: 0 26px;
  filter: blur(6px);
  transition:
    opacity 0.76s var(--ease-out),
    translate 0.76s var(--ease-out),
    filter 0.76s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.slide.is-active [data-a].in { opacity: 1; translate: 0 0; filter: blur(0); }

/* per-line mask reveal (mask-reveal-up) */
.split-lines .line {
  opacity: 0; translate: 0 30px; filter: blur(6px);
  transition: opacity 0.76s var(--ease-out), translate 0.76s var(--ease-out), filter 0.76s var(--ease-out);
}
.slide.is-active .split-lines .line { opacity: 1; translate: 0 0; filter: blur(0); }
.slide.is-active .split-lines .line:nth-child(1) { transition-delay: 0.15s; }
.slide.is-active .split-lines .line:nth-child(2) { transition-delay: 0.24s; }
.slide.is-active .split-lines .line:nth-child(3) { transition-delay: 0.33s; }
.slide.is-active .split-lines .line:nth-child(4) { transition-delay: 0.42s; }

/* per-character soft blur (soft-blur-in) — delays set by JS */
.split-chars .w { display: inline-block; white-space: nowrap; }
.split-chars .c {
  display: inline-block;
  opacity: 0; translate: 0 16px; filter: blur(12px);
  transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
.slide.is-active .split-chars .c { opacity: 1; translate: 0 0; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01s !important; animation: none !important; }
}

/* ───────────────────────── shared components ───────────────────────── */

.num-badge {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  font-family: var(--font-mono); font-size: 13px;
  font-variant-numeric: tabular-nums;
  background: var(--sage);
  color: var(--ink);
  border-radius: 14px;
  margin-bottom: 18px;
}
.icon-badge svg { width: 21px; height: 21px; fill: currentColor; }
.corner-num {
  position: absolute; top: clamp(20px, 2.6vh, 32px); right: clamp(18px, 1.7vw, 30px);
  font-family: var(--font-mono); font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: 0.4;
}
.step-card, .next-card { position: relative; }
.card-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.card-more > div { overflow: hidden; }
.card-more p {
  padding-top: 12px; margin-top: 12px;
  border-top: 1px solid color-mix(in oklab, currentColor 12%, transparent);
  opacity: 0; translate: 0 6px;
  transition: opacity 0.4s ease 0.05s, translate 0.4s var(--ease-out) 0.05s;
}
.step-card:hover .card-more, .step-card:focus-visible .card-more { grid-template-rows: 1fr; }
.step-card:hover .card-more p, .step-card:focus-visible .card-more p { opacity: 1; translate: 0 0; }

.ck-ic { width: 15px; height: 15px; fill: currentColor; margin-right: 9px; flex: 0 0 auto; vertical-align: -2px; }
.card-kicker { display: flex; align-items: center; }
.cs-ic { width: 21px; height: 21px; fill: var(--ink); margin-right: 11px; vertical-align: -4px; }
.cs-head { display: flex; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 3.6vh, 40px); }
.chip {
  font-size: clamp(14px, 1.15vw, 19px); font-weight: 480;
  padding: 0.5em 1.05em;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  scale: 0.6; opacity: 0; filter: blur(4px);
  transition: scale 0.65s var(--ease-spring), opacity 0.45s ease, filter 0.45s ease;
  transition-delay: var(--d, 0s);
}
.chips.light .chip { background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); }
.slide.is-active .chip.in { scale: 1; opacity: 1; filter: blur(0); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(10px, 1.4vw, 22px); margin-top: clamp(28px, 5vh, 56px); }
.flow-pill {
  font-size: clamp(16px, 1.5vw, 25px); font-weight: 510;
  padding: 0.62em 1.3em;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: inset 0 0 0 1px rgba(16, 23, 16, 0.05);
}
.flow-pill.is-strong { background: var(--ink); color: var(--sage-soft); }
.flow-arrow { font-size: clamp(16px, 1.5vw, 25px); opacity: 0.4; }

.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 100px); align-items: center; }
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.img-frame { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-card); }
.img-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.img-frame.tall { aspect-ratio: 4 / 4.6; max-height: 72vh; }
.img-frame.wide { aspect-ratio: 16 / 11; }
.img-tag {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: #fff;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(14, 19, 13, 0.55);
  backdrop-filter: blur(8px);
}
.img-frame.squircle { border-radius: clamp(40px, 5vw, 76px); aspect-ratio: 1 / 1.05; max-height: 66vh; }
.img-frame.sage-pad { background: var(--sage); }
.img-frame.sage-pad img { object-fit: cover; }

.glass-card {
  padding: clamp(20px, 2.6vh, 34px) clamp(20px, 2vw, 34px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 20px 50px rgba(0, 0, 0, 0.2);
}
.card-kicker {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 10px;
}
.glass-card h3 { font-size: clamp(19px, 1.7vw, 28px); font-weight: 570; letter-spacing: -0.015em; margin-bottom: 12px; }
.glass-card ul { list-style: none; }
.glass-card li {
  position: relative; padding-left: 20px;
  font-size: clamp(13.5px, 1.02vw, 17px);
  color: color-mix(in oklab, currentColor 78%, transparent);
}
.glass-card li + li { margin-top: 9px; }
.glass-card li::before { content: "+"; position: absolute; left: 0; color: var(--glow); }
.glass-card p { font-size: clamp(13.5px, 1.02vw, 17px); color: color-mix(in oklab, currentColor 78%, transparent); text-wrap: pretty; }

.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 30px; font-size: clamp(15px, 1.2vw, 20px); color: var(--ink-2); }
.ticks li + li { margin-top: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em;
  width: 15px; height: 15px;
  background: var(--ring-1);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.5 8.5 6 12l7.5-8" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.5 8.5 6 12l7.5-8" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}

/* ───────────────────────── 01 · title ───────────────────────── */

.s-title .wrap { align-items: flex-start; }
.title-bg { position: absolute; inset: 0; overflow: hidden; }
.title-bg::before, .title-bg::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px);
  animation: breathe 13s ease-in-out infinite alternate;
}
.title-bg::before {
  width: 56vw; height: 56vw; right: -14vw; top: -22vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 65%);
}
.title-bg::after {
  width: 44vw; height: 44vw; left: -10vw; bottom: -18vw;
  background: radial-gradient(circle, color-mix(in oklab, var(--ring-1) 50%, transparent), transparent 68%);
  animation-delay: -6s;
}
@keyframes breathe {
  from { transform: translateY(0) scale(1); opacity: 0.85; }
  to   { transform: translateY(4vh) scale(1.12); opacity: 1; }
}
.hero-canvas {
  position: absolute; right: clamp(-6vw, -2vw, 0vw); top: 50%;
  width: clamp(320px, 42vw, 700px); aspect-ratio: 1;
  translate: 0 -50%;
  pointer-events: none;
}
@media (max-width: 1080px) {
  .hero-canvas { width: 78vw; right: -18vw; opacity: 0.5; }
}

.s-title .display { margin-bottom: clamp(16px, 3vh, 30px); }
.title-foot {
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(40px, 9vh, 96px);
}
.foot-label, .cp-label {
  font-family: var(--font-mono); font-size: clamp(10px, 0.8vw, 13px);
  letter-spacing: 0.08em; color: color-mix(in oklab, currentColor 60%, transparent);
}
.partner-logos, .closing-partners { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.pl-s7 { width: clamp(64px, 5.6vw, 96px); height: auto; fill: currentColor; opacity: 0.92; }
.pl-tpa { width: clamp(34px, 3vw, 50px); height: auto; fill: currentColor; opacity: 0.92; }
.pl-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.35; }

/* ───────────────────── 04 · methode trend-map (vector rebuild) ─────────────────────
   Faithful recreation of the "Megatrend-Map Future of Work" from the
   guideline PPTX: full gray megatrend network + the teal FoW hairpin line.
   SVG is generated by scripts/trendmap/build.py — do not edit it by hand. */

.map-stage { position: absolute; inset: 12px 0 44px 0; z-index: 1; }
.map-stage svg { width: 100%; height: 100%; display: block; }
/* soft paper washes so headline / note / rail stay readable on the map */
.map-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46vw 30vh at 13% 12%, var(--paper) 22%, transparent 72%),
    radial-gradient(ellipse 44vw 26vh at 44% 98%, color-mix(in srgb, var(--paper) 94%, transparent) 30%, transparent 78%),
    linear-gradient(90deg, transparent 52%, color-mix(in srgb, var(--paper) 68%, transparent) 72%, var(--paper) 90%);
}
/* gentle settle of the whole map on slide enter */
.map-stage svg { opacity: 0; scale: 1.015; transition: opacity 0.9s ease 0.1s, scale 1.6s var(--ease-out) 0.1s; }
.slide.is-active .map-stage svg { opacity: 1; scale: 1; }

.tm2 text {
  font-family: var(--font-sans);
  text-transform: uppercase;
  pointer-events: none;
}

/* gray megatrend network — deliberately recessive background texture */
.tm2-net path, .tm2-net polyline { fill: none; stroke: #ced2d4; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.tm2-net { opacity: 0; transition: opacity 1.1s ease 0.25s; }
.slide.is-active .tm2-net { opacity: 0.6; }
.tm2-gs { fill: #fff; stroke: #c3c8ca; stroke-width: 4.5; }
.tm2-gx { fill: #fff; stroke: #bcc1c4; stroke-width: 5; }
.tm2-gl { font-size: 18px; font-weight: 500; letter-spacing: 0.05em; fill: #bcc1c4; }
.tm2-hub circle { fill: #c0c5c8; }
.tm2-hub .ic { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.tm2-hub .icf { fill: #fff; stroke: none; }
.tm2-hl { font-size: 21px; font-weight: 600; letter-spacing: 0.16em; fill: #b6bbbf; }

/* teal Future-of-Work line — draws on slide enter */
.tm2-line {
  fill: none; stroke: #2f7265; stroke-width: 11;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 3s cubic-bezier(0.45, 0, 0.2, 1) 0.35s;
}
.slide.is-active .tm2-line { stroke-dashoffset: 0; }

/* teal stations pop in as the line reaches them (--d from route progress) */
.tm2-st .dot {
  fill: #fff; stroke: #19211f; stroke-width: 7;
  transform-box: fill-box; transform-origin: center;
  scale: 0;
  transition: scale 0.5s var(--ease-spring) var(--d, 1s), stroke 0.25s ease;
}
.slide.is-active .tm2-st .dot { scale: 1; }
.tm2-st .hit { fill: transparent; }
.tm2-st text {
  font-size: 23px; font-weight: 570; letter-spacing: 0.03em; fill: #3c544d;
  opacity: 0; translate: 0 8px;
  transition: opacity 0.5s ease calc(var(--d, 1s) + 0.1s),
              translate 0.5s var(--ease-out) calc(var(--d, 1s) + 0.1s),
              fill 0.25s ease;
}
.slide.is-active .tm2-st text { opacity: 1; translate: 0 0; }
.tm2-st:hover .dot { scale: 1.4; stroke: #2f7265; }
.tm2-st:hover text { fill: #19211f; }
/* health touchpoints carry the extra weight instead */
.tm2-health text { font-size: 25px; font-weight: 680; fill: #19211f; }

/* termini */
.tm2-term .disc {
  fill: #2f7265;
  transform-box: fill-box; transform-origin: center;
  scale: 0; transition: scale 0.6s var(--ease-spring) var(--d, 0.3s);
}
.slide.is-active .tm2-term .disc { scale: 1; }
.tm2-term .glyph { fill: none; stroke: #fff; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.4s ease calc(var(--d, 0.3s) + 0.25s); }
.slide.is-active .tm2-term .glyph { opacity: 1; }
.tm2-term-label {
  font-size: 27px; font-weight: 700; letter-spacing: 0.1em; fill: #2f7265;
  opacity: 0; translate: 0 8px;
  transition: opacity 0.5s ease calc(var(--d, 0.3s) + 0.2s), translate 0.5s var(--ease-out) calc(var(--d, 0.3s) + 0.2s);
}
.slide.is-active .tm2-term-label { opacity: 1; translate: 0 0; }

/* health touchpoints: the stations the concept circles in the PPTX */
.tm2-hp .ring { fill: none; stroke: #6cb585; opacity: 0; }
.slide.is-active .tm2-hp .ring { animation: hp-pulse 4.2s ease-out var(--p, 3.6s) infinite; }
@keyframes hp-pulse {
  0%   { r: 20; opacity: 0.95; stroke-width: 8; }
  24%  { r: 58; opacity: 0; stroke-width: 2; }
  100% { r: 58; opacity: 0; }
}
.tm2-hp .halo {
  fill: none; stroke: #6cb585; stroke-width: 8; r: 24;
  opacity: 0; transition: opacity 0.5s ease calc(var(--d, 1s) + 0.3s);
}
.slide.is-active .tm2-hp .halo { opacity: 1; }

/* runner — one little train on the FoW line (SMIL motion, opacity gated) */
.tm2-run { fill: #2f7265; opacity: 0; transition: opacity 0.8s ease 4.2s; }
.slide.is-active .tm2-run { opacity: 0.9; }

/* layout zones on top of the map */
.s-method .wrap { z-index: 3; display: block; }
.method-top { position: absolute; top: var(--pad-y); left: var(--pad-x); }
.s-method .headline { max-width: 13ch; }
.method-note {
  position: absolute; left: 36%; bottom: calc(var(--pad-y) * 0.55 + 42px);
  max-width: 46ch;
  font-size: clamp(14px, 1.18vw, 19.5px); font-weight: 450;
  color: var(--ink-2); text-wrap: pretty;
  padding: 14px 20px; margin: -14px -20px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.map-key {
  position: absolute; left: 36%; bottom: calc(var(--pad-y) * 0.55);
  display: flex; flex-direction: row; gap: 24px;
  font-family: var(--font-mono); font-size: clamp(9.5px, 0.72vw, 12px);
  letter-spacing: 0.07em; color: var(--ink-3);
}
.key-item { display: flex; align-items: center; gap: 10px; }
.key-line { width: 26px; height: 4px; border-radius: 2px; background: #2f7265; }
.key-ring { width: 11px; height: 11px; margin-inline: 7px; border-radius: 50%; border: 4px solid #6cb585; }

/* right rail: the 3 method steps, stacked */
.method-rail {
  position: absolute; right: var(--pad-x); top: 50%; translate: 0 -50%;
  width: clamp(250px, 22vw, 380px);
  display: flex; flex-direction: column; gap: clamp(14px, 2.6vh, 26px);
}
.rail-card {
  position: relative;
  opacity: 0; translate: 18px 0; filter: blur(5px);
  transition: opacity 0.7s var(--ease-out) var(--rd), translate 0.7s var(--ease-out) var(--rd), filter 0.7s var(--ease-out) var(--rd),
              box-shadow 0.4s var(--ease-out);
}
.slide.is-active .rail-card { opacity: 1; translate: 0 0; filter: blur(0); }
.rail-card:nth-of-type(1) { --rd: 1.15s; }
.rail-card:nth-of-type(2) { --rd: 1.75s; }
.rail-card:nth-of-type(3) { --rd: 2.35s; }
.rail-card:hover { translate: 0 -4px; }
.s-method .step-card { box-shadow: var(--shadow-card), 0 0 0 1px rgba(16, 23, 16, 0.03); }
.s-method .step-card h3 { font-size: clamp(19px, 1.65vw, 28px); }
.s-method .num-badge { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 12px; }
.s-method .step-card { padding: clamp(18px, 2.4vh, 30px) clamp(18px, 1.7vw, 30px); border-radius: 24px; }

@media (prefers-reduced-motion: reduce) {
  .tm2-run, .tm2-hp .ring { display: none; }
}

/* tall/narrow: drop the map, stack the content */
@media (max-aspect-ratio: 7/5), (max-width: 1080px) {
  .map-stage { display: none; }
  .s-method .wrap { display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; }
  .method-top, .method-note, .map-key { position: static; translate: none; }
  .method-rail { position: relative; inset: auto; translate: none; }
  .map-key { display: none; }
  .method-note { max-width: 58ch; }
  .method-rail { width: 100%; max-width: 560px; }
}

/* ───────────────────────── 05 · megatrend ───────────────────────── */

.slide.s-mega[data-theme="dark"] {
  background: var(--dark);
}
.s-mega .side-img { position: absolute; inset: 0 0 0 auto; width: 46vw; }
.s-mega .side-img img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.92;
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%);
          mask: linear-gradient(90deg, transparent, #000 60%);
}
.s-mega .side-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--dark) 0%, transparent 55%),
    linear-gradient(0deg, rgba(14, 19, 13, 0.6), transparent 40%),
    linear-gradient(180deg, rgba(14, 19, 13, 0.35), transparent 30%);
}
.s-mega .wrap { max-width: none; }
.s-mega .headline { text-shadow: 0 2px 30px rgba(14, 19, 13, 0.5); }
.duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  max-width: 1080px;
  margin-top: clamp(10px, 2vh, 20px);
}
.s-mega .glass-card { backdrop-filter: blur(14px); background: rgba(14, 19, 13, 0.55); }

/* ───────────────────────── 04 · methode / 14 · next ───────────────────────── */

.steps3 {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: clamp(10px, 1.4vw, 22px);
  margin-top: clamp(28px, 5vh, 56px);
}
.step-arrow { align-self: center; font-size: clamp(18px, 1.8vw, 30px); opacity: 0.35; }
.step-card, .next-card {
  padding: clamp(22px, 3vh, 38px) clamp(20px, 1.9vw, 34px);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.step-card:hover, .next-card:hover { translate: 0 -6px; box-shadow: var(--shadow-pop); }
.step-card h3, .next-card h3 { font-size: clamp(20px, 1.9vw, 32px); font-weight: 580; letter-spacing: -0.02em; margin-bottom: 6px; }
.step-card p, .next-card p { font-size: clamp(13.5px, 1.05vw, 17.5px); color: var(--ink-3); text-wrap: pretty; }
.step-card.is-accent, .next-card.is-accent { background: var(--ink); color: var(--sage-soft); }
.step-card.is-accent p, .next-card.is-accent p { color: color-mix(in oklab, var(--sage-soft) 72%, transparent); }
.step-card.is-accent .num-badge, .next-card.is-accent .num-badge { background: rgba(255, 255, 255, 0.12); color: var(--glow); }

.next-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
  margin-top: clamp(26px, 4.6vh, 52px);
}

/* ───────────────────────── 07 · brand ───────────────────────── */

.s-brand .wrap { align-items: center; text-align: center; padding-bottom: 24vh; }
.brand-hero { margin: 0 0 clamp(14px, 2.4vh, 26px); }
.brand-logo { width: clamp(240px, 30vw, 480px); fill: var(--ink); }
/* the four protective corners of the signet assemble into place */
.mark-assemble .mk {
  opacity: 0;
  transition: translate 0.9s var(--ease-spring), opacity 0.45s ease;
}
.mark-assemble .mk-l { translate: -16px 0; }
.mark-assemble .mk-r { translate: 16px 0; }
.mark-assemble .mk-t { translate: 0 -16px; }
.mark-assemble .mk-b { translate: 0 16px; }
.slide.is-active .mark-assemble .mk { opacity: 1; translate: 0 0; }
.slide.is-active .mark-assemble .mk-t { transition-delay: 0.55s; }
.slide.is-active .mark-assemble .mk-r { transition-delay: 0.68s; }
.slide.is-active .mark-assemble .mk-b { transition-delay: 0.81s; }
.slide.is-active .mark-assemble .mk-l { transition-delay: 0.94s; }
.brand-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  max-width: 1060px; text-align: left;
  font-size: clamp(14px, 1.12vw, 18.5px); color: var(--ink-2);
}
.brand-facade {
  position: absolute; inset: auto 0 0 0; height: 30vh; z-index: 1;
}
.brand-facade img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  -webkit-mask: linear-gradient(transparent, #000 52%);
          mask: linear-gradient(transparent, #000 52%);
}

/* ───────────────────────── 09 · process ───────────────────────── */

.s-process .headline { margin-bottom: 0; }

.journey {
  list-style: none;
  position: relative;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 26px);
  margin-top: clamp(34px, 6vh, 64px);
}
.journey::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 21px;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sage-deep), var(--ring-1) 35%, var(--ink-3) 75%, var(--ink));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.4s var(--ease-out) 0.35s;
}
.slide.is-active .journey::before { transform: scaleX(1); }
.station { position: relative; padding-top: 64px; cursor: pointer; }
.station.pinned .st-dot, .station.hot .st-dot { translate: 0 -5px; background: color-mix(in oklab, var(--ring-1) 60%, var(--sage)); }
.station.pinned ul li, .station.hot ul li { color: var(--ink-2); }
.station:last-child.pinned .st-dot, .station:last-child.hot .st-dot { background: var(--ink); }
.st-dot {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 15px;
  font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums;
  background: var(--sage);
  box-shadow: 0 0 0 6px var(--paper);
  transition: translate 0.35s var(--ease-spring), background-color 0.3s ease;
}
.station:hover .st-dot { translate: 0 -5px; }
.station:last-child .st-dot { background: var(--ink); color: var(--glow); }
.station h3 {
  font-size: clamp(14.5px, 1.22vw, 21px); font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.12;
  margin-bottom: 10px; text-wrap: balance;
  min-height: 2.3em;
}
.station ul { list-style: none; }
.station ul li {
  font-size: clamp(11.5px, 0.9vw, 15px);
  color: var(--ink-3);
  padding: 2.5px 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 7%, transparent);
  transition: color 0.25s ease;
}
.station ul li:first-child { border-top: 0; }
.station:hover ul li { color: var(--ink-2); }
.station:last-child h3 { color: var(--ink); }

.funnel { margin-top: clamp(26px, 4.6vh, 52px); max-width: 1240px; }
.funnel-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.5; margin-bottom: 14px;
}
.funnel-track { display: flex; align-items: center; gap: 4px; }
.funnel-track span {
  --w: 1;
  flex-grow: var(--w); flex-basis: 0;
  display: flex; align-items: center;
  height: calc(48px - var(--i) * 4.5px);
  font-family: var(--font-mono); font-size: clamp(8.5px, 0.72vw, 11.5px);
  letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-inline: clamp(8px, 0.9vw, 14px);
  border-radius: 9px;
  background: color-mix(in oklab, var(--ink) calc(6% + var(--i) * 5%), var(--sage));
  transform-origin: left center;
  scale: 0 1; opacity: 0;
  transition: scale 0.7s var(--ease-out), opacity 0.5s ease, background-color 0.3s ease, height 0.3s var(--ease-spring);
  transition-delay: calc(0.55s + var(--i) * 0.09s), calc(0.55s + var(--i) * 0.09s), 0s, 0s;
}
.funnel-track span { cursor: default; }
.funnel-track span:first-child { border-radius: 14px 9px 9px 14px; }
.funnel-track span:last-child { background: var(--ink); color: var(--glow); font-weight: 600; border-radius: 9px 14px 14px 9px; }
.funnel-track span.hot { background: color-mix(in oklab, var(--ring-1) 55%, var(--sage)); height: 52px; }
.funnel-track span.hot:last-child { background: var(--ink); }
.slide.is-active .funnel.in .funnel-track span { scale: 1 1; opacity: 1; }

/* ───────────────────────── 10 · rings ───────────────────────── */

.s-rings .headline { margin-bottom: clamp(14px, 2.4vh, 28px); }
.rings-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  min-height: 0;
}
.rings-viz { position: relative; max-width: min(46vw, 62vh); margin-inline: auto; width: 100%; }
.ring-tip {
  position: absolute; z-index: 5;
  translate: -50% calc(-100% - 16px);
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--ink); color: var(--sage-soft);
  box-shadow: var(--shadow-pop);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0; scale: 0.92;
  transition: opacity 0.25s ease, scale 0.3s var(--ease-spring);
}
.ring-tip.show { opacity: 1; scale: 1; }
.ring-tip strong { font-size: 13.5px; font-weight: 580; letter-spacing: -0.01em; }
.ring-tip span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; opacity: 0.65; }
.rings-viz svg { width: 100%; height: auto; display: block; }
.rings-viz .track { fill: none; opacity: 0.16; }
.rings-viz .val {
  fill: none; stroke-linecap: round;
  transition: opacity 0.45s ease, stroke-width 0.45s ease, stroke-dashoffset 1.3s var(--ease-out);
  cursor: pointer;
}
.rings-viz .val.dim { opacity: 0.3; }
.rings-center {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  pointer-events: none;
}
.rings-center .rc-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 2.6vw, 44px);
  font-variant-numeric: tabular-nums;
}
.rings-center .rc-label { font-size: clamp(10px, 0.8vw, 13px); color: var(--ink-3); max-width: 12ch; line-height: 1.25; }

.layer-tabs { margin-top: clamp(14px, 2.4vh, 26px); }
.layer-tab { border-radius: 18px; overflow: hidden; transition: background-color 0.3s ease; }
.layer-tab + .layer-tab { margin-top: 6px; }
.layer-tab > button {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: clamp(10px, 1.5vh, 15px) 16px;
}
.layer-tab .dot { width: 13px; height: 13px; border-radius: 5px; background: var(--c); flex: 0 0 auto; transition: scale 0.3s var(--ease-spring); }
.layer-tab .t-num { font-family: var(--font-mono); font-size: 10.5px; opacity: 0.5; font-variant-numeric: tabular-nums; }
.layer-tab .t-name { font-size: clamp(15px, 1.25vw, 21px); font-weight: 540; letter-spacing: -0.015em; flex: 1; }
.layer-tab .t-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
  opacity: 0; translate: 6px 0;
  transition: opacity 0.3s ease, translate 0.3s ease;
  white-space: nowrap;
}
.layer-tab .t-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.layer-tab .t-body > div { overflow: hidden; }
.layer-tab .t-items { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 16px 16px 43px; }
.layer-tab .t-items span {
  font-size: clamp(11.5px, 0.92vw, 15px);
  padding: 0.36em 0.85em;
  border-radius: 999px;
  background: color-mix(in oklab, var(--c) 26%, var(--paper));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 50%, transparent);
}
.layer-tab.active { background: color-mix(in oklab, var(--c) 14%, var(--paper)); }
.layer-tab.active .t-body { grid-template-rows: 1fr; }
.layer-tab.active .t-tag { opacity: 0.6; translate: 0 0; }
.layer-tab.active .dot { scale: 1.25; }
.layer-tab:not(.active):hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }

/* ───────────────────────── 11 · vipe ───────────────────────── */

.s-vipe .wrap { max-width: 1780px; }
.s-vipe .kicker { margin-bottom: clamp(12px, 2vh, 20px); }
.s-vipe .headline { font-size: clamp(26px, 3.2vw, 48px); margin-bottom: clamp(12px, 2.2vh, 26px); }
.vipe-side .glass-card { padding: clamp(14px, 1.9vh, 24px) clamp(16px, 1.6vw, 26px); }
.vipe-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3.4fr);
  gap: clamp(16px, 1.8vw, 30px);
  min-height: 0; flex: 0 1 auto;
}
.vipe-side { display: flex; flex-direction: column; gap: clamp(10px, 1.4vh, 18px); justify-content: center; }
.vipe-side .glass-card.is-live { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--glow) 45%, transparent), 0 20px 50px rgba(0, 0, 0, 0.2); }
.vipe-side .glass-card.is-live .card-kicker { color: var(--glow); opacity: 1; }

.browser {
  display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden;
  background: #1c241b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.45);
  height: min(62vh, 720px);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser-bar .url {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px; border-radius: 8px;
}
.bb-btn {
  display: flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 10px; border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.bb-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.bb-btn:active { transform: scale(0.96); }
.bb-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
#demo-fs .ic-compress { display: none; }
.browser.is-full #demo-fs .ic-expand { display: none; }
.browser.is-full #demo-fs .ic-compress { display: block; }

.browser.is-full {
  position: fixed; inset: clamp(10px, 2.5vh, 26px) clamp(10px, 2.5vw, 30px);
  height: auto; z-index: 76;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 50px 140px rgba(0, 0, 0, 0.6),
    0 0 0 200vmax rgba(8, 11, 8, 0.78);
}
body.demo-full .chrome { opacity: 0; pointer-events: none; }
.browser-body { position: relative; flex: 1; min-height: 0; }
.browser-body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.demo-cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(60% 60% at 50% 42%, rgba(205, 238, 187, 0.12), transparent),
    linear-gradient(170deg, #19211833, #0e130dee), #141b13;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.demo-cover.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.demo-play {
  display: grid; place-items: center;
  width: 86px; height: 86px;
  border-radius: 28px;
  background: var(--glow);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--glow) 50%, transparent);
  animation: pulse 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: scale 0.3s var(--ease-spring);
}
.demo-cover:hover .demo-play { scale: 1.08; }
.demo-cover:active .demo-play { scale: 0.96; }
.demo-play svg { width: 38px; height: 38px; fill: var(--dark); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--glow) 45%, transparent); }
  70%  { box-shadow: 0 0 0 26px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.demo-label { font-size: clamp(17px, 1.5vw, 24px); font-weight: 560; letter-spacing: -0.01em; }
.demo-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; opacity: 0.55; }

/* ───────────────────────── 12 · event ───────────────────────── */

.slide.s-event[data-theme="dark"] {
  background:
    linear-gradient(175deg, rgba(10, 14, 9, 0.18) 30%, rgba(10, 14, 9, 0.82) 88%),
    url("assets/event.jpg") center 30% / cover no-repeat,
    linear-gradient(165deg, var(--dark-2), var(--dark));
}
.s-event .wrap { justify-content: flex-end; padding-bottom: clamp(80px, 13vh, 150px); }
.s-event .display-s, .s-event .kicker { text-shadow: 0 2px 24px rgba(10, 14, 9, 0.55); }
.s-event .body-l { max-width: 52ch; color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 14px rgba(10, 14, 9, 0.5); }
.s-event .display-s { margin-bottom: clamp(14px, 2.6vh, 28px); }

/* ───────────────────────── 13 · content & sales ───────────────────────── */

.cs-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}
.cs-head { font-size: clamp(17px, 1.45vw, 24px); font-weight: 580; letter-spacing: -0.015em; margin-bottom: 16px; }
.insta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); margin-top: clamp(20px, 3.4vh, 38px); }
.insta-card {
  border-radius: 18px; overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: translate 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), rotate 0.35s var(--ease-out);
}
.insta-card:nth-child(2) { translate: 0 14px; }
.insta-card:hover { translate: 0 -4px; rotate: -1deg; box-shadow: var(--shadow-pop); }
.insta-card:nth-child(2):hover { translate: 0 10px; rotate: 1deg; }
.insta-card img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.insta-card figcaption { padding: 10px 13px 12px; font-size: clamp(10.5px, 0.82vw, 13px); color: var(--ink-3); }
.insta-handle { display: block; font-family: var(--font-mono); font-size: 0.88em; color: var(--ink); margin-bottom: 1px; }
.sales-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: clamp(20px, 3.4vh, 38px);
  padding: clamp(18px, 2.4vh, 28px);
  border-radius: 22px;
  background: var(--sage);
}
.sales-note .kicker-mark { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.sales-note p { font-size: clamp(14px, 1.12vw, 18.5px); color: var(--ink-2); text-wrap: pretty; }

/* ───────────────────────── 15 · closing ───────────────────────── */

.slide.s-closing[data-theme="dark"] {
  background: radial-gradient(80% 90% at 50% 10%, var(--dark-2), var(--dark));
}
.closing-bg {
  position: absolute; inset: -3.5%;
  background: url("assets/closing.jpg") center / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.closing-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(10, 14, 9, 0.52), rgba(10, 14, 9, 0.82) 78%);
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-0.8%); }
}
.s-closing .wrap { align-items: center; text-align: center; }

.closing-logo { position: relative; margin-bottom: clamp(22px, 4.6vh, 52px); }
.closing-logo::before {
  content: ""; position: absolute; inset: -55%;
  background: radial-gradient(circle, color-mix(in oklab, var(--glow) 30%, transparent), transparent 68%);
  filter: blur(34px);
  animation: breathe 8s ease-in-out infinite alternate;
}
.halo-ring {
  position: absolute; left: 50%; top: 50%;
  width: clamp(300px, 36vw, 560px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0%, color-mix(in oklab, var(--glow) 55%, transparent) 12%,
    transparent 32%, transparent 55%,
    color-mix(in oklab, var(--glow) 30%, transparent) 70%, transparent 88%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: ring-spin 18s linear infinite;
  opacity: 0.8;
}
.closing-logo::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: clamp(340px, 41vw, 640px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 180deg,
    transparent 0%, color-mix(in oklab, var(--ring-2) 45%, transparent) 18%, transparent 40%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
          mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: ring-spin 26s linear infinite reverse;
  opacity: 0.55;
}
@keyframes ring-spin { to { rotate: 360deg; } }
.closing-logo svg { position: relative; z-index: 2; width: clamp(220px, 26vw, 420px); fill: var(--glow); filter: drop-shadow(0 0 26px color-mix(in oklab, var(--glow) 45%, transparent)); }

.closing-line {
  font-size: clamp(34px, 4.8vw, 80px);
  font-weight: 580; line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: clamp(18px, 3.2vh, 34px);
}
.closing-line .line { display: inline; }
.closing-line .line + .line::before { content: " "; }

.closing-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(15px, 1.3vw, 21px); font-weight: 530;
  color: var(--dark);
  background: var(--glow);
  padding: 0.7em 1.5em; border-radius: 999px;
  margin-bottom: clamp(26px, 5vh, 56px);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--glow) 45%, transparent), 0 14px 44px color-mix(in oklab, var(--glow) 22%, transparent);
  animation: pulse 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.closing-cta svg { width: 17px; height: 17px; }

.closing-partners { justify-content: center; margin-bottom: clamp(14px, 2.4vh, 24px); color: color-mix(in oklab, #eef4ea 85%, transparent); }
.closing-meta { font-family: var(--font-mono); font-size: clamp(10px, 0.82vw, 13px); letter-spacing: 0.1em; opacity: 0.6; }

/* ───────────────────────── responsive ───────────────────────── */

@media (max-width: 1080px) {
  .cols, .duo, .cs-grid, .vipe-grid, .rings-grid, .brand-cols { grid-template-columns: 1fr; }
  .wrap { justify-content: flex-start; overflow-y: auto; overflow-x: hidden; padding-top: calc(var(--pad-y) + 12px); padding-bottom: 130px; -webkit-overflow-scrolling: touch; }
  .headline { max-width: none; }
  .cols { gap: 28px; align-items: start; }
  .col-img { max-width: 480px; }
  .img-frame.tall, .img-frame.squircle { aspect-ratio: 16 / 10; max-height: none; }
  .s-mega .side-img { display: none; }
  .next-grid, .steps3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps3 .step-arrow { display: none; }
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .journey::before { left: 21px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; transform: scaleY(0); transform-origin: top center; background: linear-gradient(180deg, var(--sage-deep), var(--ring-1) 35%, var(--ink-3) 75%, var(--ink)); }
  .slide.is-active .journey::before { transform: scaleY(1); }
  .station { padding-top: 0; padding-left: 62px; }
  .station h3 { min-height: 0; }
  .funnel-track { flex-direction: column; align-items: stretch; }
  .funnel-track span { height: 34px !important; border-radius: 9px !important; }
  .rings-viz { max-width: min(76vw, 46vh); }
  .browser { height: 70vh; }
  .vipe-side { order: 2; }
  .browser.is-full { inset: 8px; }
  .title-foot { flex-wrap: wrap; gap: 14px; }
  .closing-partners { flex-wrap: wrap; }
  .keys-hint { display: none; }
  .credit { display: none; }
  .brand-facade { display: none; }
  .s-brand .wrap { padding-bottom: var(--pad-y); }
  .insta-card:nth-child(2) { translate: 0 0; }
}

@media (max-width: 560px) {
  .next-grid, .steps3, .process, .insta-row { grid-template-columns: 1fr; }
  .insta-row { max-width: 320px; }
  :root { --pad-x: 22px; --pad-y: 76px; }
}

/* ───────────────────────── print ───────────────────────── */

@media print {
  body { overflow: visible; }
  .chrome, .agenda, .demo-cover { display: none; }
  .deck { position: static; }
  .slide {
    position: relative; inset: auto;
    visibility: visible; opacity: 1; transform: none;
    height: 100vh; page-break-after: always;
  }
  [data-a], .chip, .split-lines .line, .split-chars .c { opacity: 1 !important; translate: 0 0 !important; filter: none !important; scale: 1 !important; }
  .funnel-track span { scale: 1 1 !important; opacity: 1 !important; }
  .tm2-line { stroke-dashoffset: 0 !important; }
  .map-stage svg, .tm2-net, .tm2-st text, .tm2-term .glyph, .tm2-term-label, .tm2-hp .halo { opacity: 1 !important; }
  .tm2-st .dot, .tm2-term .disc { scale: 1 !important; }
  .rail-card { opacity: 1 !important; translate: 0 0 !important; filter: none !important; }
}
