/* ============================================================
   Travel Path Media — Storytelling site
   Scroll-driven structure built on the brand foundation.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--tpm-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- Image slot placeholder styling ----------
   Visible transparent squares with gold dashed outline so authors
   can see exactly where each image goes. Hidden once filled. */
image-slot {
  --slot-stroke: rgba(168, 112, 32, 0.7);
  --slot-bg: rgba(245, 240, 234, 0.04);
  --slot-fg: rgba(245, 240, 234, 0.85);
  --slot-sub: rgba(245, 240, 234, 0.55);
}
image-slot::part(frame) {
  background: var(--slot-bg);
}
image-slot::part(empty) {
  color: var(--slot-fg);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 24px;
}
/* Light-surface slot variant (cards on cream / white) */
.audience .portrait image-slot,
.stage-detail.surface-cream image-slot {
  --slot-stroke: rgba(0, 40, 48, 0.45);
  --slot-bg: rgba(0, 40, 48, 0.04);
  --slot-fg: rgba(0, 40, 48, 0.7);
  --slot-sub: rgba(0, 40, 48, 0.45);
}

/* Hide the dark gradient overlay on hero / stage blocks while
   the slot is still empty — so the placeholder is visible. */
.hero:has(image-slot:not([data-filled]))::after { display: none; }
.stage-block .full-bleed-media:has(image-slot:not([data-filled]))::after { display: none; }

/* Per-persona image framing — biases the cover-crop focal point so
   the subject is preserved when the slot's aspect ratio crops the image. */
image-slot#persona-01-v2::part(image) { object-position: 35% 20%; }
image-slot#audience-portrait-v2::part(image) {
  object-fit: contain;
  object-position: 50% center;
  background: var(--tpm-teal-900);
}

/* Make empty slots show a soft teal wash on dark sections so the
   square is unmistakable but still feels "placeholder". */
.hero:has(image-slot:not([data-filled])) .bg-slot,
.stage-block .full-bleed-media:has(image-slot:not([data-filled])) {
  background:
    repeating-linear-gradient(135deg,
      rgba(245,240,234,0.02) 0 24px,
      rgba(245,240,234,0.05) 24px 25px),
    var(--tpm-teal-900);
}

/* Stronger dashed outline on the placeholder so it reads as
   "image area" on any background. The component's built-in ring
   is rgba(0,0,0,.25) which disappears on teal. */
image-slot:not([data-filled])::part(frame) {
  box-shadow: inset 0 0 0 1.5px var(--slot-stroke);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.surface-teal  { background: var(--tpm-teal); color: var(--color-fg-on-teal); }
.surface-cream { background: var(--tpm-cream); color: var(--color-fg); }
.surface-white { background: var(--tpm-white); color: var(--color-fg); }

.surface-teal h1, .surface-teal h2, .surface-teal h3, .surface-teal h4 { color: var(--color-fg-on-teal); }
.surface-teal p { color: var(--color-fg-on-teal-muted); }

.section { padding: var(--space-7) 0; }
@media (max-width: 768px) { .section { padding: var(--space-5) 0; } }

.eyebrow {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--tpm-gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--tpm-gold);
  display: inline-block;
}
.surface-teal .eyebrow { color: var(--tpm-gold); }

/* ---------- Top nav ---------- */
.topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  padding-right: 32px;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px);
  transition: background var(--dur-slow) var(--ease-standard),
              backdrop-filter var(--dur-slow) var(--ease-standard),
              border-color var(--dur-slow) var(--ease-standard);
  border-bottom: 1px solid transparent;
}
.topnav.is-light {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--tpm-shadow);
}
.topnav .row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.topnav .brand { display: flex; align-items: center; gap: 12px; }
.topnav .brand img { height: 28px; }
/* Over the hero (default state): no logo. */
.topnav .brand .logo-on-dark { display: none; }
.topnav .brand .logo-on-light { display: none; }
/* Scrolled past the hero (is-light): show the color logo. */
.topnav.is-light .brand .logo-on-light { display: block; height: 36px; }
.topnav .links {
  display: flex; gap: var(--space-4); align-items: center;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
}
.topnav .links a {
  color: rgba(245,240,234,0.92);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
}
.topnav.is-light .links a { color: var(--tpm-teal); }
.topnav .links a.btn-primary,
.topnav.is-light .links a.btn-primary { color: var(--tpm-white); }
.topnav .links a.btn-primary::after { content: none; }
.topnav .links a.btn-primary { padding: 12px 32px; }
.topnav .links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--tpm-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-standard);
}
.topnav .links a:hover::after { transform: scaleX(1); }

/* ---------- Mobile nav toggle (hamburger + dropdown) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(245, 240, 234, 0.92);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-standard),
              opacity var(--dur-base) var(--ease-standard),
              background var(--dur-slow) var(--ease-standard);
  transform-origin: center;
}
.topnav.is-light .nav-toggle-bar { background: var(--tpm-teal); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 860px) {
  .topnav { height: 64px; padding-right: 16px; }
  .topnav.is-open {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px) saturate(120%);
    border-bottom-color: var(--tpm-shadow);
  }
  .topnav.is-open .nav-toggle-bar { background: var(--tpm-teal); }

  .nav-toggle { display: flex; }

  .topnav .links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px) saturate(120%);
    border-bottom: 1px solid var(--tpm-shadow);
    box-shadow: 0 12px 32px rgba(0, 40, 48, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--dur-base) var(--ease-standard),
                opacity var(--dur-base) var(--ease-standard),
                visibility 0s linear var(--dur-base);
    font-size: 16px;
  }
  .topnav.is-open .links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--dur-base) var(--ease-standard),
                opacity var(--dur-base) var(--ease-standard),
                visibility 0s linear 0s;
  }
  .topnav .links a {
    color: var(--tpm-teal);
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0, 40, 48, 0.06);
  }
  .topnav .links a:last-child { border-bottom: 0; }
  .topnav .links a::after { content: none; }
  .topnav .links a.btn-primary {
    margin: 12px 24px 0;
    justify-content: center;
    padding: 14px 24px;
    border-bottom: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-card);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
}
.btn-primary {
  background: var(--tpm-gold);
  color: var(--tpm-white);
}
.btn-primary:hover {
  background: var(--tpm-gold-600);
  color: var(--tpm-white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--tpm-cream);
  border-color: rgba(245,240,234,0.32);
}
.btn-ghost-light:hover {
  border-color: var(--tpm-gold);
  color: var(--tpm-gold);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--tpm-teal);
  border-color: rgba(0,40,48,0.24);
}
.btn-ghost-dark:hover {
  border-color: var(--tpm-gold);
  color: var(--tpm-gold);
}
.btn-arrow { transition: transform var(--dur-base) var(--ease-standard); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Scroll progress dots (right rail) ---------- */
.progress-rail {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.progress-rail .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,40,48,0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: all var(--dur-base) var(--ease-standard);
}
.progress-rail.on-dark .dot { background: rgba(245,240,234,0.28); }
.progress-rail .dot.is-active {
  background: var(--tpm-gold);
  transform: scale(1.4);
}
.progress-rail .dot .label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tpm-teal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.progress-rail.on-dark .dot .label { color: var(--tpm-cream); }
.progress-rail .dot:hover .label,
.progress-rail .dot.is-active .label { opacity: 0.9; }
@media (max-width: 900px) { .progress-rail { display: none; } }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-standard),
              transform 600ms var(--ease-standard);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tpm-teal);
  color: var(--color-fg-on-teal);
  isolation: isolate;
}
.hero .bg-slot {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero .bg-slot image-slot {
  width: 100%; height: 100%;
  display: block;
}
.hero .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--tpm-teal-900);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,27,33,0.55) 0%,
    rgba(0,40,48,0.65) 40%,
    rgba(0,40,48,0.95) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 120px; }
.hero .hero-logo { display: block; height: 96px; width: auto; margin-bottom: 28px; }
.hero .hero-eyebrow { color: var(--tpm-gold); margin-bottom: 28px; }
.hero h1.hero-title {
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: var(--fw-light);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--tpm-cream);
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero h1.hero-title strong {
  font-weight: var(--fw-bold);
  color: var(--tpm-white);
  display: block;
}
.hero .lede {
  max-width: 56ch;
  font-size: var(--fs-body-lg);
  color: rgba(245,240,234,0.78);
  margin-bottom: 40px;
}
.hero .hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero .hero-meta .stat-mini {
  display: flex; flex-direction: column;
  border-left: 1.5px solid rgba(168,112,32,0.5);
  padding-left: 16px;
}
.hero .hero-meta .stat-mini .n {
  font-size: 32px;
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  line-height: 1;
}
.hero .hero-meta .stat-mini .c {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,234,0.6);
  margin-top: 6px;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(245,240,234,0.7);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(168,112,32,0.8) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { background-position: 0% 100%; }
  100% { background-position: 0% -100%; }
}
@media (max-width: 900px) {
  .hero-scroll-cue { display: none; }
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience {
  position: relative;
}
.audience .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.audience h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.audience h2 strong { font-weight: var(--fw-bold); }
.audience .lede {
  font-size: var(--fs-body-lg);
  color: var(--tpm-grey);
  margin-bottom: 40px;
}
.audience .stat-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--tpm-stroke);
}
.audience .stat-rows .row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--tpm-stroke);
  align-items: baseline;
}
.audience .stat-rows .n {
  font-size: 44px;
  font-weight: var(--fw-light);
  color: var(--tpm-teal);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.audience .stat-rows .l {
  font-size: var(--fs-body);
  color: var(--tpm-grey);
  line-height: 1.5;
}
.audience .portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.audience .portrait image-slot { width: 100%; height: 100%; display: block; }
.audience .portrait .badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(0,40,48,0.86);
  color: var(--tpm-cream);
  padding: 12px 18px;
  border-radius: var(--radius-card);
  font-size: 13px;
  font-weight: var(--fw-medium);
  backdrop-filter: blur(8px);
}
.audience .portrait .badge .accent { color: var(--tpm-gold); }
@media (max-width: 900px) {
  .audience .grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .audience .portrait { aspect-ratio: 3/4; }
}

/* ============================================================
   OPPORTUNITY (data scroll)
   ============================================================ */
.opportunity { background: var(--tpm-white); }
.opportunity .head {
  display: block;
  margin-bottom: var(--space-6);
}
.opportunity h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  max-width: 42ch;
}
.opportunity h2 strong { font-weight: var(--fw-bold); }
.opportunity .head p {
  color: var(--tpm-grey);
  font-size: var(--fs-body-lg);
  max-width: 42ch;
}
.opp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--tpm-stroke);
  border: 1px solid var(--tpm-stroke);
}
.opp-grid .cell {
  background: var(--tpm-white);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: background var(--dur-base) var(--ease-standard);
}
.opp-grid .cell:hover { background: var(--tpm-cream); }
.opp-grid .cell.cell-empty { background: var(--tpm-white); }
.opp-grid .cell.cell-empty:hover { background: var(--tpm-white); }
.opp-grid .cell.cell-note {
  justify-content: center;
  position: relative;
  padding-top: var(--space-5);
}
.opp-grid .cell.cell-note::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: var(--space-4);
  font-size: 96px;
  line-height: 1;
  color: var(--tpm-gold);
  font-weight: var(--fw-light);
  font-family: serif;
  pointer-events: none;
}
.opp-grid .cell.cell-note p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--tpm-teal);
  font-weight: var(--fw-light);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}
.opp-grid .cell .n {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: var(--fw-light);
  color: var(--tpm-teal);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.opp-grid .cell .n .unit { color: var(--tpm-gold); font-weight: var(--fw-light); }
.opp-grid .cell .l {
  font-size: var(--fs-body);
  color: var(--tpm-teal);
  font-weight: var(--fw-medium);
  margin-top: auto;
}
.opp-grid .cell .src {
  font-size: 11px;
  color: var(--tpm-grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .opp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .opp-grid { grid-template-columns: 1fr; } }

/* Audience band — teal stripe inside the opportunity section. */
.opp-audience-band {
  background: var(--tpm-teal);
  color: var(--tpm-cream);
  margin-top: var(--space-6);
  padding: var(--space-6) 0;
}
.opp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.opp-audience-grid .cell { display: flex; flex-direction: column; gap: 18px; }
.opp-audience-grid .cell .n {
  font-size: clamp(56px, 6.4vw, 96px);
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.opp-audience-grid .cell .n .unit { color: var(--tpm-gold); font-weight: var(--fw-light); }
.opp-audience-grid .cell .l {
  font-size: var(--fs-body-lg);
  color: var(--tpm-cream);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  max-width: 30ch;
}
.opp-audience-grid .cell .src {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 240, 234, 0.55);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  margin-top: 4px;
}
@media (max-width: 900px) { .opp-audience-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ============================================================
   JOURNEY INTRO
   ============================================================ */
.journey-intro {
  background: var(--tpm-teal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.journey-intro h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 24px auto 0;
}
.journey-intro h2 strong { font-weight: var(--fw-bold); color: var(--tpm-white); }
.journey-intro .eyebrow { justify-content: center; }
.journey-intro .stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--tpm-stroke-on-teal);
  border-bottom: 1px solid var(--tpm-stroke-on-teal);
}
.journey-intro .stages .stage {
  padding: 32px 16px;
  text-align: center;
  border-left: 1px solid var(--tpm-stroke-on-teal);
  position: relative;
}
.journey-intro .stages .stage:first-child { border-left: 0; }
.journey-intro .stages .num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
  margin-bottom: 8px;
}
.journey-intro .stages .name {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  color: var(--tpm-cream);
}
.journey-intro .dashed-path {
  margin: 48px auto 0;
  width: min(1100px, 92%);
  height: 24px;
}
@media (max-width: 900px) {
  .journey-intro .stages { grid-template-columns: 1fr 1fr; }
  .journey-intro .stages .stage { border-left: 0; border-top: 1px solid var(--tpm-stroke-on-teal); }
}

/* ============================================================
   STAGE (cinematic full-bleed pinned)
   ============================================================ */
.stage-block {
  position: relative;
  background: var(--tpm-teal);
}
.stage-block.surface-cream { background: var(--tpm-cream); }
.stage-block .full-bleed-media {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.stage-block .full-bleed-media image-slot {
  width: 100%; height: 100%; display: block;
}
.stage-block .full-bleed-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,27,33,0.2) 0%, rgba(0,27,33,0.7) 100%);
  pointer-events: none;
}
.stage-block .overlay-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.stage-block .overlay-content .container {
  width: 100%;
  padding-bottom: 80px;
}
.stage-block .stage-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--tpm-gold);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  margin-bottom: 24px;
}
.stage-block .stage-tag .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--tpm-gold);
  font-family: var(--font-sans);
}
.stage-block h2.stage-title {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  letter-spacing: -0.025em;
  max-width: 16ch;
  line-height: 1;
}
.stage-block h2.stage-title strong { font-weight: var(--fw-bold); color: var(--tpm-white); }

.stage-detail {
  padding: var(--space-7) 0;
  background: var(--tpm-teal);
  color: var(--color-fg-on-teal);
}
.stage-detail.surface-cream { background: var(--tpm-cream); color: var(--tpm-teal); }
.stage-detail .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.stage-detail .lede {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: var(--fw-light);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--tpm-cream);
  max-width: 22ch;
}
.stage-detail.surface-cream .lede { color: var(--tpm-teal); }
.stage-detail .body p {
  font-size: var(--fs-body-lg);
  color: rgba(245,240,234,0.78);
  margin-bottom: 24px;
}
.stage-detail.surface-cream .body p { color: var(--tpm-grey); }

.feature-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--tpm-stroke-on-teal);
}
.stage-detail.surface-cream .feature-list { border-top: 1px solid var(--tpm-stroke); }
.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--tpm-stroke-on-teal);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: baseline;
}
.stage-detail.surface-cream .feature-list li { border-bottom: 1px solid var(--tpm-stroke); }
.feature-list li .idx {
  font-size: 12px;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
}
.feature-list li .t {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  color: var(--tpm-cream);
  margin-bottom: 4px;
}
.stage-detail.surface-cream .feature-list li .t { color: var(--tpm-teal); }
.feature-list li .d {
  font-size: var(--fs-body-sm);
  color: rgba(245,240,234,0.7);
  line-height: 1.6;
}
.stage-detail.surface-cream .feature-list li .d { color: var(--tpm-grey); }

.stage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.stage-stats .stat .n {
  font-size: clamp(40px, 4vw, 64px);
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stage-detail.surface-cream .stage-stats .stat .n { color: var(--tpm-gold); }
.stage-stats .stat .l {
  font-size: var(--fs-body-sm);
  color: rgba(245,240,234,0.78);
  margin-top: 8px;
  max-width: 22ch;
}
.stage-detail.surface-cream .stage-stats .stat .l { color: var(--tpm-grey); }

@media (max-width: 900px) {
  .stage-detail .grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .stage-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   JOURNEY CAROUSEL — scroll-controlled horizontal screen-by-screen.
   Section is N viewports tall; inner is sticky and pinned;
   vertical scroll progress drives slide position + plane motion.
   ============================================================ */
.journey-carousel {
  position: relative;
  height: calc(100vh * 6);
  background: var(--tpm-teal);
  color: var(--tpm-cream);
  isolation: isolate;
}
.jc-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

/* Header — always visible above slides. */
.jc-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  padding: 96px 0 0;
  pointer-events: none;
}
.jc-header .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  pointer-events: auto;
}
.jc-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tpm-cream);
  font-variant-numeric: tabular-nums;
}
.jc-tag .cur {
  color: var(--tpm-gold);
  font-size: 32px;
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  line-height: 1;
}
.jc-tag .sep { color: rgba(245,240,234,0.4); font-size: 22px; }
.jc-tag .tot { color: rgba(245,240,234,0.6); font-size: 14px; }
.jc-tag .div { width: 28px; height: 1.5px; background: var(--tpm-gold); display: inline-block; }
.jc-tag .lbl { font-weight: var(--fw-medium); color: var(--tpm-cream); }

.jc-pips {
  display: flex;
  gap: 4px;
  align-items: stretch;
  justify-content: space-between;
  width: clamp(520px, 58%, 720px);
  background: rgba(0, 27, 33, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 112, 32, 0.2);
  border-radius: 999px;
  padding: 4px;
}
.jc-pip {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(245, 240, 234, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
  white-space: nowrap;
}
.jc-pip .n {
  display: none;
}
.jc-pip .t { font-size: 13px; }
.jc-pip:hover { color: var(--tpm-cream); }

/* Gold dot separator centred between pips (sits in the gap). */
.jc-pips { gap: 18px; }
.jc-pip { position: relative; }
.jc-pips .jc-pip + .jc-pip::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tpm-gold);
  pointer-events: none;
}
.jc-pip.is-active {
  background: var(--tpm-gold);
  color: var(--tpm-white);
}
.jc-pip.is-active .n { opacity: 1; }

/* Viewport — clips horizontal track. */
.jc-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.jc-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 600%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.jc-slide {
  position: relative;
  flex: 0 0 16.666666%;
  height: 100%;
  overflow: hidden;
}

.jc-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.jc-media image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.jc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 27, 33, 0.35) 0%, rgba(0, 27, 33, 0.55) 60%, rgba(0, 27, 33, 0.88) 100%),
    linear-gradient(270deg, rgba(0, 27, 33, 0.7) 0%, rgba(0, 27, 33, 0.0) 55%);
  pointer-events: none;
}

.jc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.jc-frame {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px var(--space-4) 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  pointer-events: auto;
}
.jc-frame > .jc-headline,
.jc-frame > .jc-body {
  width: clamp(420px, 46%, 620px);
}

/* Black 90% backdrop behind the content of slides 01–05 (not intro).
   Width + horizontal alignment + corner radius mirror the .jc-pips
   navigation pill at the top of the carousel. */
/* Single unified backdrop for slides 01–05 — wraps headline + body. */
.jc-slide:not(.jc-slide-intro) .jc-content {
  width: clamp(520px, 58%, 720px);
  background: rgba(0, 27, 33, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 112, 32, 0.2);
  border-radius: 20px;
  padding: 40px 48px;
}
.jc-slide:not(.jc-slide-intro) .jc-frame { gap: 0; }
.jc-slide:not(.jc-slide-intro) .jc-content > .jc-headline,
.jc-slide:not(.jc-slide-intro) .jc-content > .jc-body {
  background: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  width: auto;
}
.jc-slide:not(.jc-slide-intro) .jc-content > .jc-headline { padding-bottom: 16px; }
.jc-slide:not(.jc-slide-intro) .jc-content > .jc-body { padding-top: 16px; }

.jc-headline { max-width: none; }
.jc-stage-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--tpm-gold);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  margin-bottom: 24px;
}
.jc-stage-tag .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--tpm-gold);
  font-family: var(--font-sans);
}
.jc-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.jc-title strong { font-weight: var(--fw-bold); color: var(--tpm-white); display: block; }
.jc-lede {
  margin: 16px 0 0;
  font-size: 15px;
  color: rgba(245, 240, 234, 0.78);
  line-height: 1.55;
  max-width: 50ch;
}

.jc-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(245, 240, 234, 0.18);
}
.jc-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 234, 0.18);
  display: block;
}
.jc-features li .idx {
  font-size: 11px;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
}
.jc-features li .t {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--tpm-cream);
  margin-bottom: 2px;
}
.jc-features li .d {
  font-size: 13px;
  color: rgba(245, 240, 234, 0.65);
  line-height: 1.45;
}

.jc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.jc-stats .stat .n {
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.jc-stats .stat .n .u {
  font-size: 0.5em;
  font-weight: var(--fw-light);
  margin-left: 1px;
}
.jc-stats .stat .l {
  font-size: 11px;
  color: rgba(245, 240, 234, 0.7);
  margin-top: 8px;
  line-height: 1.4;
  max-width: 14ch;
}

/* Active-slide entrance animation. */
.jc-slide .jc-stage-tag,
.jc-slide .jc-title,
.jc-slide .jc-lede,
.jc-slide .jc-features li,
.jc-slide .jc-stats .stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard);
}
.jc-slide.is-active .jc-stage-tag { opacity: 1; transform: none; transition-delay: 120ms; }
.jc-slide.is-active .jc-title     { opacity: 1; transform: none; transition-delay: 220ms; }
.jc-slide.is-active .jc-lede      { opacity: 1; transform: none; transition-delay: 320ms; }
.jc-slide.is-active .jc-features li:nth-child(1) { opacity: 1; transform: none; transition-delay: 440ms; }
.jc-slide.is-active .jc-features li:nth-child(2) { opacity: 1; transform: none; transition-delay: 520ms; }
.jc-slide.is-active .jc-features li:nth-child(3) { opacity: 1; transform: none; transition-delay: 600ms; }
.jc-slide.is-active .jc-stats .stat:nth-child(1) { opacity: 1; transform: none; transition-delay: 680ms; }
.jc-slide.is-active .jc-stats .stat:nth-child(2) { opacity: 1; transform: none; transition-delay: 740ms; }
.jc-slide.is-active .jc-stats .stat:nth-child(3) { opacity: 1; transform: none; transition-delay: 800ms; }

/* Slow background drift on active slide. */
.jc-slide .jc-media {
  transform: scale(1.06);
  transition: transform 8000ms ease-out;
}
.jc-slide.is-active .jc-media { transform: scale(1); }

/* ----- Intro slide (no image, centered editorial layout). ----- */
.jc-slide-intro {
  background: var(--tpm-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jc-slide-intro .jc-intro-inner {
  width: 100%;
  text-align: center;
  padding: 120px 0 80px;
}
.jc-intro-eyebrow {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--tpm-gold);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.jc-intro-eyebrow::before,
.jc-intro-eyebrow::after {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--tpm-gold);
}
.jc-intro-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0 auto;
}
.jc-intro-title strong { font-weight: var(--fw-bold); color: var(--tpm-white); display: block; }

.jc-intro-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 64px auto 0;
  max-width: 960px;
  border-top: 1px solid rgba(245, 240, 234, 0.18);
  border-bottom: 1px solid rgba(245, 240, 234, 0.18);
}
.jc-intro-stage {
  padding: 28px 12px;
  text-align: center;
  background: transparent;
  color: inherit;
  border: 0;
  border-left: 1px solid rgba(245, 240, 234, 0.18);
  font: inherit;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.jc-intro-stage:hover .name,
.jc-intro-stage:focus-visible .name { color: var(--tpm-gold); }
.jc-intro-stage:hover { background: rgba(245, 240, 234, 0.04); }
.jc-intro-stage:focus-visible { outline: 2px solid var(--tpm-gold); outline-offset: -2px; }
.jc-intro-stage:first-child { border-left: 0; }
.jc-intro-stage .num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
  margin-bottom: 8px;
}
.jc-intro-stage .name {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--tpm-cream);
}

.jc-intro-path {
  margin: 40px auto 0;
  width: min(960px, 92%);
  height: 24px;
  display: block;
  opacity: 0;
  transition: opacity 800ms 600ms var(--ease-standard);
}
.jc-slide-intro.is-active .jc-intro-path { opacity: 0.8; }

.jc-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--tpm-gold);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tpm-gold);
}

/* Intro entrance stagger. */
.jc-slide-intro .jc-intro-eyebrow,
.jc-slide-intro .jc-intro-title,
.jc-slide-intro .jc-intro-stage,
.jc-slide-intro .jc-intro-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard);
}
.jc-slide-intro.is-active .jc-intro-eyebrow { opacity: 1; transform: none; transition-delay: 120ms; }
.jc-slide-intro.is-active .jc-intro-title   { opacity: 1; transform: none; transition-delay: 240ms; }
.jc-slide-intro.is-active .jc-intro-stage:nth-child(1) { opacity: 1; transform: none; transition-delay: 360ms; }
.jc-slide-intro.is-active .jc-intro-stage:nth-child(2) { opacity: 1; transform: none; transition-delay: 420ms; }
.jc-slide-intro.is-active .jc-intro-stage:nth-child(3) { opacity: 1; transform: none; transition-delay: 480ms; }
.jc-slide-intro.is-active .jc-intro-stage:nth-child(4) { opacity: 1; transform: none; transition-delay: 540ms; }
.jc-slide-intro.is-active .jc-intro-stage:nth-child(5) { opacity: 1; transform: none; transition-delay: 600ms; }
.jc-slide-intro.is-active .jc-intro-cta { opacity: 1; transform: none; transition-delay: 800ms; }

/* Intro pip — no number badge. */
.jc-pip.jc-pip-intro { padding-left: 18px; padding-right: 18px; }
.jc-pip.jc-pip-intro .n { display: none; }

@media (max-width: 900px) {
  .jc-intro-stages { grid-template-columns: 1fr 1fr; }
  .jc-intro-stage { border-left: 0; border-top: 1px solid rgba(245, 240, 234, 0.18); }
  .jc-intro-stage:first-child { border-top: 0; }
}

/* Arrows — outside the slide content. */
.jc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 234, 0.22);
  background: rgba(0, 27, 33, 0.65);
  backdrop-filter: blur(8px);
  color: var(--tpm-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
}
.jc-prev { left: 28px; }
.jc-next { right: 28px; }
.jc-arrow:hover:not(:disabled) {
  background: var(--tpm-gold);
  border-color: var(--tpm-gold);
  color: var(--tpm-white);
}
.jc-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Progress strip — bottom edge. */
.jc-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  height: 3px;
  background: rgba(245, 240, 234, 0.1);
}
.jc-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--tpm-gold);
  transition: width 700ms cubic-bezier(0.65, 0, 0.35, 1);
}

/* ----- Flight path — continuous dashed line + animated plane.
        Spans the full carousel width; plane glides as scroll progresses. */
.jc-flightpath {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  height: 80px;
  pointer-events: none;
}
.jc-flightpath-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.jc-plane {
  position: absolute;
  /* CSS variables driven by JS — 0% to 100% across the carousel. */
  left: calc(var(--plane-x, 0%) - 24px);
  top: calc(var(--plane-y, 50%) - 18px);
  width: 48px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Always horizontal — no tilt with path tangent. */
  transform: none;
  transition: left 700ms cubic-bezier(0.45, 0.05, 0.25, 1),
              top 700ms cubic-bezier(0.45, 0.05, 0.25, 1),
              transform 700ms cubic-bezier(0.45, 0.05, 0.25, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}
.jc-plane svg,
.jc-plane img {
  width: 32px;
  height: 32px;
  display: block;
  animation: jcPlaneBob 3s ease-in-out infinite;
}
@keyframes jcPlaneBob {
  0%, 100% { transform: translateY(-1px); }
  50%      { transform: translateY(2px); }
}

/* Subtle highlight on the path "behind" the plane — trailing dashes brighten. */
.jc-flightpath-curve { transition: stroke 600ms ease; }

@media (prefers-reduced-motion: reduce) {
  .jc-plane { transition: none; }
  .jc-plane svg { animation: none; }
}

/* Mobile-only floating chrome — hidden on desktop. */
.jc-mobile-title,
.jc-mobile-dots { display: none; }

/* Mobile — full-viewport swipe gallery.
   Images stay full-bleed; content sits in a centered card; the
   always-visible pip row is replaced by a small floating title
   that updates with each slide. */
@media (max-width: 900px) {
  .journey-carousel { height: auto; min-height: 0; }
  .jc-pin {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  /* The fixed pip row is replaced by the floating title — hide it. */
  .jc-header { display: none; }
  .jc-arrow { display: none; }
  .jc-flightpath { display: none; }
  .jc-progress { display: none; }

  .jc-viewport {
    position: absolute;
    inset: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .jc-viewport::-webkit-scrollbar { display: none; }

  .jc-track {
    position: relative;
    transform: none !important;
    transition: none;
    width: 600vw;
    height: 100%;
  }
  .jc-slide {
    flex: 0 0 100vw;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Darken the image more on mobile for legibility behind the card. */
  .jc-media::after {
    background: linear-gradient(180deg,
      rgba(0, 27, 33, 0.55) 0%,
      rgba(0, 27, 33, 0.7) 60%,
      rgba(0, 27, 33, 0.88) 100%);
  }

  .jc-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .jc-frame {
    padding: 80px 20px 96px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    gap: 0;
  }
  .jc-frame > .jc-headline,
  .jc-frame > .jc-body { width: 100%; }

  /* Compact the unified content card. */
  .jc-slide:not(.jc-slide-intro) .jc-content {
    width: 100%;
    padding: 24px 22px;
  }
  .jc-slide:not(.jc-slide-intro) .jc-content > .jc-headline { padding-bottom: 12px; }
  .jc-slide:not(.jc-slide-intro) .jc-content > .jc-body { padding-top: 12px; gap: 18px; }

  .jc-title { font-size: 26px; line-height: 1.15; }
  .jc-lede { font-size: 14px; margin-top: 12px; }
  .jc-stage-tag { font-size: 11px; }

  /* Features: keep titles, hide long subtitles to save space. */
  .jc-features li { padding: 10px 0; }
  .jc-features li .t { font-size: 14px; }
  .jc-features li .d { display: none; }

  .jc-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .jc-stats .stat .n { font-size: 22px; }
  .jc-stats .stat .l { font-size: 10px; }

  /* Intro slide — center the stack and tighten the stage grid. */
  .jc-slide-intro .jc-intro-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .jc-intro-title { font-size: 28px; }

  /* ---------- Floating mobile title (top) ---------- */
  .jc-mobile-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    padding: 9px 18px;
    background: rgba(0, 27, 33, 0.6);
    backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(245, 240, 234, 0.18);
    border-radius: 999px;
    color: var(--tpm-cream);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
    pointer-events: none;
  }
  .jc-mobile-title .n { color: var(--tpm-gold); font-weight: var(--fw-bold); }
  .jc-mobile-title .sep,
  .jc-mobile-title .tot { color: rgba(245, 240, 234, 0.55); }
  .jc-mobile-title .t {
    margin-left: 4px;
    padding-left: 10px;
    border-left: 1px solid rgba(245, 240, 234, 0.22);
    color: var(--tpm-cream);
  }

  /* ---------- Floating mobile dots (bottom) ---------- */
  .jc-mobile-dots {
    display: flex;
    gap: 6px;
    position: absolute;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    padding: 10px 14px;
    background: rgba(0, 27, 33, 0.55);
    backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(245, 240, 234, 0.14);
    border-radius: 999px;
  }
  .jc-mobile-dots button {
    appearance: none;
    background: rgba(245, 240, 234, 0.32);
    border: 0;
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: width var(--dur-base) var(--ease-standard),
                background var(--dur-base) var(--ease-standard);
  }
  .jc-mobile-dots button.is-active {
    background: var(--tpm-gold);
    width: 22px;
    border-radius: 999px;
  }
}

/* ============================================================
   DATA MODEL
   ============================================================ */
.datamodel { background: var(--tpm-white); }
.datamodel .head { text-align: left; margin-bottom: var(--space-6); max-width: 920px; }
.datamodel h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  margin: 24px 0 16px;
}
.datamodel h2 strong { font-weight: var(--fw-bold); }
.datamodel .head p { color: var(--tpm-grey); font-size: var(--fs-body-lg); max-width: 60ch; }

.dm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-5);
}
.dm-card {
  background: var(--tpm-cream);
  border: 1px solid var(--tpm-cream-200);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  transition: all var(--dur-base) var(--ease-standard);
}
.dm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dm-card .icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
}
.dm-card h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  margin-bottom: 8px;
}
.dm-card p { font-size: var(--fs-body-sm); color: var(--tpm-grey); line-height: 1.6; }

.dm-pullquote {
  margin-top: var(--space-7);
  padding: var(--space-5);
  background: var(--tpm-teal);
  border-radius: var(--radius-card);
  color: var(--tpm-cream);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.dm-pullquote .mark {
  font-family: var(--font-sans);
  font-size: 80px;
  font-weight: var(--fw-bold);
  color: var(--tpm-gold);
  line-height: 0.5;
}
.dm-pullquote blockquote {
  font-size: clamp(20px, 2vw, 28px);
  border-left: 0;
  padding: 0;
  color: var(--tpm-cream);
  font-style: italic;
  font-weight: var(--fw-light);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .dm-grid { grid-template-columns: 1fr; }
  .dm-pullquote { grid-template-columns: 1fr; }
}

/* ============================================================
   NETWORK AT A GLANCE — data finale
   ============================================================ */
.network {
  background: var(--tpm-teal);
  color: var(--tpm-cream);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.network::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168,112,32,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,86,79,0.16) 0%, transparent 50%);
  pointer-events: none;
}
.network .container { position: relative; z-index: 2; }
.network h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: var(--fw-light);
  color: var(--tpm-cream);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 16px;
}
.network h2 strong { font-weight: var(--fw-bold); color: var(--tpm-white); }
.network .head p {
  color: rgba(245,240,234,0.72);
  font-size: var(--fs-body-lg);
  max-width: none;
  margin-bottom: 8px;
}
.network-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--tpm-stroke-on-teal);
  border-bottom: 1px solid var(--tpm-stroke-on-teal);
}
.network-stats .stat {
  padding: 48px 24px;
  border-left: 1px solid var(--tpm-stroke-on-teal);
  position: relative;
}
.network-stats .stat:first-child { border-left: 0; }
.network-stats .stat .n {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.network-stats .stat .l {
  font-size: var(--fs-body-sm);
  color: var(--tpm-cream);
  margin-top: 16px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .network-stats { grid-template-columns: 1fr 1fr; }
  .network-stats .stat:nth-child(3) { border-left: 0; }
  .network-stats .stat:nth-child(3), .network-stats .stat:nth-child(4) {
    border-top: 1px solid var(--tpm-stroke-on-teal);
  }
}
@media (max-width: 540px) {
  .network-stats { grid-template-columns: 1fr; }
  .network-stats .stat { border-left: 0; border-top: 1px solid var(--tpm-stroke-on-teal); }
  .network-stats .stat:first-child { border-top: 0; }
}

.network.surface-cream { background: #f5f0ea; color: var(--tpm-teal); }
.network.surface-cream::before { display: none; }
.network.surface-cream .head h2,
.network.surface-cream .head h2 strong { color: var(--tpm-teal); }
.network.surface-cream .head p { color: var(--tpm-grey); }
.network.surface-cream .network-stats {
  border-top: 0;
  border-bottom: 0;
}
.network.surface-cream .network-stats .stat { border-left: 0; }
.network.surface-cream .network-stats .stat .n { color: var(--tpm-gold); }
.network.surface-cream .network-stats .stat .l { color: var(--tpm-teal); }
.network.surface-cream .partners { border-top-color: var(--tpm-stroke); }

/* Partner logos. */
.partners {
  margin-top: 15px;
  border-top: 1px solid var(--tpm-stroke);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.partners-group {
  display: block;
  margin-bottom: var(--space-5);
}
.partners-group:last-child { margin-bottom: 0; }
.partners-group + .partners-group {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.partners-label {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
}
.partners-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 32px;
}
.partners-row li { display: flex; align-items: center; justify-content: center; min-width: 0; }
.partners-row img {
  width: 100%;
  height: auto;
  max-height: 64px;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--dur-base) var(--ease-standard),
              opacity var(--dur-base) var(--ease-standard);
}
.partners-row img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 900px) {
  .partners-row { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .partners-row img { max-height: 44px; max-width: 100%; }
}
@media (max-width: 540px) {
  .partners-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .partners-row img { max-height: 36px; }
}

/* ============================================================
   PERSONAS — pinned horizontal filmstrip (HBA-inspired).
   The section is tall (vh × N) so the browser scrolls vertically
   while we translate the track horizontally. Falls back to a
   simple horizontal swipe on small screens.
   ============================================================ */
.personas {
  background: #f5f0ea;
  color: var(--tpm-teal);
  position: relative;
  /* Tall scroll container — drives the pinned horizontal scroll.
     Tuned for a quicker scroll feel (was 9 viewports, now 4). */
  height: calc(100vh * 4);
}
.personas-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.personas-head {
  flex: 0 0 auto;
  padding: 96px 0 24px;
}
.personas-head .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
}
.personas-head h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  margin-top: 16px;
  max-width: 32ch;
}
.personas-head h2 strong { font-weight: var(--fw-bold); }
.personas-counter {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--tpm-grey);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.personas-counter .cur {
  color: var(--tpm-gold);
  font-size: 32px;
  font-weight: var(--fw-light);
  line-height: 1;
}
.personas-counter .sep { color: var(--tpm-stroke); font-size: 24px; }
.personas-counter .tot { color: var(--tpm-grey); }

.personas-track-viewport {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  /* Subtle horizontal fade edges. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.personas-track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 6vw;
  will-change: transform;
  /* x is set by JS; transition runs only when we snap programmatically. */
  transform: translate3d(0, 0, 0);
}

.persona-card {
  flex: 0 0 auto;
  width: clamp(320px, 32vw, 460px);
  height: min(620px, 60vh);
  background: var(--tpm-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px -32px rgba(0, 40, 48, 0.25),
              0 0 0 1px rgba(0, 40, 48, 0.06);
  position: relative;
  isolation: isolate;
  opacity: 1;
  transition: box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
  cursor: pointer;
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px -32px rgba(0, 40, 48, 0.35),
              0 0 0 1px rgba(168, 112, 32, 0.4);
}
/* Active card still gets the lift + gold border on hover. */
.persona-card.is-active:hover {
  transform: translateY(-4px) scale(1);
  box-shadow: 0 36px 70px -32px rgba(0, 40, 48, 0.35),
              0 0 0 1px rgba(168, 112, 32, 0.4);
}
.persona-card.is-active {
  box-shadow: 0 36px 70px -32px rgba(0, 40, 48, 0.35),
              0 0 0 1px rgba(0, 40, 48, 0.08);
}
.persona-card:focus-visible {
  outline: 2px solid var(--tpm-gold);
  outline-offset: 4px;
}
.persona-card.is-active {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 36px 70px -32px rgba(0, 40, 48, 0.35),
              0 0 0 1px rgba(0, 40, 48, 0.08);
}

.persona-media {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
  object-position: top center;
  background: var(--tpm-cream-200);
}
.persona-media image-slot,
.persona-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.persona-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 27, 33, 0.6) 100%);
  pointer-events: none;
}

.persona-body {
  flex: 1 1 auto;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--tpm-white);
}
.persona-body .num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
}
.persona-body h3 {
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--tpm-teal);
  line-height: 1.1;
  margin: 4px 0 4px;
}
.persona-body .own {
  font-size: 15px;
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  line-height: 1.3;
  margin-bottom: 6px;
}
.persona-body .desc {
  font-size: 13.5px;
  color: var(--tpm-grey);
  line-height: 1.55;
}
.persona-body .touchpoints {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.persona-body .touchpoints .tp {
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
  padding: 4px 9px;
  background: rgba(0, 40, 48, 0.06);
  color: var(--tpm-teal);
  border-radius: var(--radius-pill);
}

/* "View" affordance on the active card. */
.persona-card .persona-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--tpm-gold);
  opacity: 1;
  transform: none;
  transition: transform var(--dur-base) var(--ease-standard);
  pointer-events: none;
}
.persona-card.is-active .persona-cta {
  opacity: 1;
  transform: none;
}
.persona-card .persona-cta svg {
  transition: transform var(--dur-base) var(--ease-standard);
}
.persona-card:hover .persona-cta svg {
  transform: translateX(3px);
}

/* ============================================================
   PERSONA MODAL — slide-style fullscreen detail.
   ============================================================ */
.persona-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.persona-modal[hidden] { display: none; }
.persona-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 33, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 280ms var(--ease-standard);
}
.persona-modal.is-open .persona-modal-backdrop { opacity: 1; }

.persona-modal-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 32px;
  background: var(--tpm-white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px -20px rgba(0, 27, 33, 0.6);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 320ms var(--ease-standard),
              transform 320ms var(--ease-standard);
}
.persona-modal.is-open .persona-modal-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.persona-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 40, 48, 0.06);
  color: var(--tpm-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
}
.persona-modal-close:hover {
  background: var(--tpm-gold);
  color: var(--tpm-white);
  transform: rotate(90deg);
}

.persona-modal-counter {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--tpm-white);
  mix-blend-mode: difference;
}
.persona-modal-counter .cur {
  font-size: 28px;
  font-weight: var(--fw-light);
  color: var(--tpm-gold);
  mix-blend-mode: normal;
}
.persona-modal-counter .sep { font-size: 18px; opacity: 0.6; }
.persona-modal-counter .tot { font-size: 14px; opacity: 0.7; }

.persona-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  flex: 1 1 auto;
  min-height: 0;
}

.persona-modal-media {
  position: relative;
  background: var(--tpm-cream-200);
  overflow: hidden;
  min-height: 480px;
}
.persona-modal-media-inner {
  position: absolute;
  inset: 0;
}
.persona-modal-media-inner image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.persona-modal-media-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.persona-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 27, 33, 0) 50%, rgba(0, 27, 33, 0.7) 100%);
  pointer-events: none;
}
.persona-modal-media-tag {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 72px;
  z-index: 2;
  color: var(--tpm-cream);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-modal-media-tag .num {
  display: none;
  text-transform: uppercase;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
}
.persona-modal-media-tag .own {
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  font-style: italic;
  color: var(--tpm-cream);
  max-width: 24ch;
}

.persona-modal-body {
  padding: 64px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  background: var(--tpm-white);
  color: var(--tpm-teal);
}
.persona-modal-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
}
.persona-modal-body h2 {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  color: var(--tpm-teal);
  letter-spacing: -0.02em;
  margin: 0;
}
.persona-modal-lede {
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--tpm-grey);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0;
}

.persona-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 4px;
  padding: 20px 0;
  border-top: 1px solid var(--tpm-stroke);
  border-bottom: 1px solid var(--tpm-stroke);
}
.persona-modal-stats .stat .n {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: var(--fw-light);
  color: var(--tpm-teal);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.persona-modal-stats .stat .l {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--tpm-grey);
  margin-top: 8px;
  line-height: 1.4;
}

.persona-modal-section { margin-top: 4px; }
.persona-modal-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--tpm-gold);
  margin-bottom: 10px;
}
.persona-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-modal-list li {
  padding-left: 16px;
  position: relative;
  font-size: 13.5px;
  color: var(--tpm-teal);
  line-height: 1.5;
}
.persona-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--tpm-gold);
}

.persona-modal-touchpoints {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.persona-modal-touchpoints .row {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tpm-stroke);
  font-size: 13px;
  align-items: baseline;
}
.persona-modal-touchpoints .row:last-child { border-bottom: 0; }
.persona-modal-touchpoints .tp {
  font-weight: var(--fw-medium);
  color: var(--tpm-teal);
}
.persona-modal-touchpoints .why {
  color: var(--tpm-grey);
  line-height: 1.5;
}

.persona-modal-sample {
  font-size: 14px;
  font-style: italic;
  color: var(--tpm-teal);
  line-height: 1.5;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px dashed var(--tpm-stroke);
}

.persona-modal-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.persona-modal-arrow {
  pointer-events: auto;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--tpm-teal);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
}
.persona-modal-arrow:hover { color: var(--tpm-gold); }
.persona-modal-arrow[data-dir="-1"]:hover { transform: translateX(-3px); }
.persona-modal-arrow[data-dir="1"]:hover  { transform: translateX(3px); }
.persona-modal-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 900px) {
  .persona-modal-stage { margin: 0; border-radius: 0; }
  .persona-modal-grid { grid-template-columns: 1fr; }
  .persona-modal-media { min-height: 280px; max-height: 38vh; }
  .persona-modal-body { padding: 40px 24px 80px; }
  .persona-modal-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .persona-modal-counter { top: 20px; left: 20px; }
}

/* Lock background scroll while modal is open. */
body.persona-modal-open { overflow: hidden; }

.personas-progress {
  flex: 0 0 auto;
  padding: 24px 0 48px;
}
.personas-progress .container,
.personas-progress-track {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.personas-progress-track {
  position: relative;
  height: 1px;
  background: var(--tpm-stroke);
  overflow: visible;
}
.personas-progress-fill {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 0%;
  background: var(--tpm-gold);
  transition: width 200ms linear;
}
.personas-hint {
  margin-top: 14px;
  padding: 0 var(--space-4);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tpm-grey);
  font-weight: var(--fw-medium);
}

/* ----- Mobile fallback: native horizontal scroll, no pinning. ----- */
@media (max-width: 900px) {
  .personas { height: auto; padding: var(--space-6) 0; }
  .personas-pin { position: relative; height: auto; }
  .personas-head { padding: 0 0 24px; }
  .personas-track-viewport {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
  }
  .personas-track-viewport::-webkit-scrollbar { display: none; }
  .personas-track {
    position: relative;
    padding: 8px var(--space-4) 24px;
    gap: 16px;
    transform: none !important;
  }
  .persona-card {
    width: min(85vw, 380px);
    height: 640px;
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
    /* Lighter, more even shadow on mobile so the first card doesn't
       trail a heavy half-shadow into the left margin. */
    box-shadow: 0 8px 24px -12px rgba(0, 40, 48, 0.18),
                0 0 0 1px rgba(0, 40, 48, 0.06);
  }
  .persona-card:hover,
  .persona-card.is-active:hover,
  .persona-card.is-active {
    box-shadow: 0 12px 28px -12px rgba(0, 40, 48, 0.22),
                0 0 0 1px rgba(168, 112, 32, 0.3);
  }
  /* Always-visible "View persona" CTA on mobile so the tap target is obvious. */
  .persona-card .persona-cta {
    opacity: 1;
    transform: none;
    pointer-events: none;
  }
  .personas-progress { display: none; }
}

/* ============================================================
   CTA FINALE
   ============================================================ */
.cta-finale {
  background: var(--tpm-teal);
  color: var(--tpm-cream);
  min-height: 100vh;
  padding: 140px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cta-finale .container { text-align: left; }
.cta-finale .cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.cta-finale .cta-intro { display: flex; flex-direction: column; align-items: flex-start; }
.cta-finale .cta-logo { display: block; height: 96px; width: auto; margin: 0 0 36px; }
.cta-finale h2 {
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--tpm-cream);
  max-width: 14ch;
  margin: 24px 0 0;
}
.cta-finale h2 strong { font-weight: var(--fw-bold); color: var(--tpm-white); }
.cta-finale .eyebrow { justify-content: flex-start; }
.cta-finale .contact {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-finale .links {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.cta-finale .links a {
  color: var(--tpm-cream);
  text-decoration: none;
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid rgba(168,112,32,0.5);
  padding-bottom: 4px;
  transition: all var(--dur-base) var(--ease-standard);
}
.cta-finale .links a:hover {
  color: var(--tpm-gold);
  border-bottom-color: var(--tpm-gold);
}

/* ----- Contact form ----- */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.cta-form .field { display: flex; flex-direction: column; gap: 8px; }
.cta-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-form label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tpm-gold);
  font-weight: var(--fw-medium);
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 240, 234, 0.22);
  color: var(--tpm-cream);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color var(--dur-base) var(--ease-standard);
}
.cta-form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-bottom-color: var(--tpm-gold);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(245, 240, 234, 0.35); }
.cta-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--tpm-cream);
  transition: background-color 5000s ease-in-out 0s;
}
.cta-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cta-form-note {
  margin: 0;
  font-size: 12px;
  color: rgba(245, 240, 234, 0.55);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .cta-finale .cta-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .cta-form .field-row { grid-template-columns: 1fr; }
}

/* Dashed path background motif */
.path-motif {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  width: 100vw;
  max-width: none;
  height: 80px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--tpm-teal-900);
  color: rgba(245,240,234,0.6);
  padding: 48px 0;
  font-size: var(--fs-body-sm);
}
.footer .row {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer img { height: 24px; }
.footer .meta { font-size: 12px; letter-spacing: 0.04em; }
