/* ==========================================================================
   The Pointbox — landing page
   Brand tokens derived from mijnpadelvideo (app.css) + pointbox-os,
   refined for marketing use. Font: Figtree (replaces Avenir Next).
   ========================================================================== */

:root {
  /* Brand */
  --pb-blue: #2455a1;
  --pb-blue-dark: #183665;
  --pb-navy: #0a1832;        /* page base — deeper than mpv's #040b14 for warmth with the photos */
  --pb-navy-soft: #102449;   /* raised surfaces */
  --pb-lime: #dff20a;        /* ACTION ONLY: CTAs and the single accent */
  --pb-orange: #f29100;
  --pb-blue-tint: #9ec3f5;   /* icon strokes — a lighter shade of the brand blue, never lime */
  --pb-white: #ffffff;
  --pb-ink: #0b1220;         /* text on lime */

  /* Text */
  --text-primary: #f2f6fc;
  --text-secondary: rgba(242, 246, 252, 0.74);
  --text-faint: rgba(242, 246, 252, 0.5);

  /* Type scale (fluid, 1.25 ratio at desktop) */
  --fs-900: clamp(2.1rem, 1.4rem + 3.2vw, 3.55rem);
  --fs-800: clamp(1.7rem, 1.25rem + 2vw, 2.6rem);
  --fs-700: clamp(1.25rem, 1.1rem + 0.7vw, 1.55rem);
  --fs-600: 1.17rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --section-pad: clamp(64px, 6vw + 32px, 120px);

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1140px;
  --shadow-card: 0 12px 40px rgba(2, 8, 20, 0.35);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--pb-navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--fs-900); font-weight: 800; }
h2 { font-size: var(--fs-800); font-weight: 800; }
h3 { font-size: var(--fs-600); font-weight: 700; }
p { margin: 0 0 var(--space-2); }
figure { margin: 0; }

.container {
  width: min(100% - 2 * clamp(20px, 4vw, 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pb-lime);
  margin-bottom: var(--space-2);
}

.section-head { max-width: 760px; margin-bottom: var(--space-8); }
.section-cta { margin-top: var(--space-6); }

/* ---------- Buttons ----------
   Lime = action. Nothing else on the page is lime. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font: 700 1rem/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--pb-lime); outline-offset: 3px; }
.btn-primary {
  background: var(--pb-lime);
  color: var(--pb-ink);
  box-shadow: 0 8px 28px rgba(223, 242, 10, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(223, 242, 10, 0.3); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border-color: rgba(242, 246, 252, 0.35);
  color: var(--text-primary);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 11px 22px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.play-icon {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---------- Inline icons (SVG sprite) ---------- */
.icon-sprite { position: absolute; }
.ic {
  width: 26px;
  height: 26px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 24, 50, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: 14px;
}
.brand-logo { width: 132px; height: auto; }
.header-nav {
  display: flex;
  gap: var(--space-3);
  margin-left: auto;
}
.header-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.header-nav a:hover { color: var(--text-primary); }
/* Current page (aria-current) gets a quiet lit state + underline accent. */
.header-nav a[aria-current="page"] {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--pb-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (max-width: 760px) {
  .header-nav { display: none; }
  /* Tighten the header so logo + CTA + switcher fit one line on phones. */
  .header-inner { gap: 14px; }
  .brand-logo { width: 116px; }
  .btn-sm { padding: 10px 16px; }
  /* nav carries margin-left:auto on desktop; with it hidden, push the
     CTA + switcher group right. The switcher is last, so it stays flush-right
     and the CTA reveals into the reserved gap to its left (no shift). */
  .header-cta { margin-left: auto; }
  /* Compact, icon-only language switcher (the active language shows in the menu). */
  .lang-switcher-code,
  .lang-switcher-caret { display: none; }
  .lang-switcher summary { padding: 8px; gap: 0; }
}

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.28); }
.lang-switcher summary:focus-visible { outline: 2px solid var(--pb-blue-tint); outline-offset: 2px; }
.lang-switcher-globe { width: 18px; height: 18px; }
.lang-switcher-code { letter-spacing: 0.03em; }
.lang-switcher-caret { width: 13px; height: 13px; transform: rotate(90deg); transition: transform 0.2s ease; opacity: 0.7; }
.lang-switcher[open] summary .lang-switcher-caret { transform: rotate(-90deg); }
.lang-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--pb-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.lang-switcher-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
}
.lang-switcher-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
.lang-switcher-menu a[aria-current="true"] { color: var(--pb-white); background: rgba(36, 85, 161, 0.32); }

/* ---------- Language suggestion banner (injected by js/i18n-banner.js) ---------- */
.lang-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 16px;
  background: var(--pb-blue);
  color: #fff;
  font-size: var(--fs-small);
  text-align: center;
}
.lang-banner-text { font-weight: 500; }
.lang-banner-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.lang-banner-link:hover { text-decoration: none; }
.lang-banner-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
}
.lang-banner-close:hover { opacity: 1; }

/* Header CTA reveals only once the hero CTA has scrolled out of view (JS-driven).
   Gated behind .js so it stays visible if JavaScript is unavailable. */
.js .header-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.js .header-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .js .header-cta { transform: none; transition: opacity 0.25s ease, visibility 0.25s; }
}

/* ---------- Hero (photo background + overlaid copy) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 78vh, 760px);
  padding-block: clamp(90px, 12vh, 132px) clamp(48px, 8vh, 92px);
  overflow: hidden;
  background: var(--pb-navy);
}
.hero-bg { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 26%; /* her face + the Pointbox stay in frame, racket below */
}
/* Scrim: dark on the left for legible copy, clearing to the right to reveal the box;
   plus a soft fade to navy at the bottom so the hero melts into the logo strip. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, var(--pb-navy) 0%, rgba(10, 24, 50, 0.94) 26%, rgba(10, 24, 50, 0.55) 54%, rgba(10, 24, 50, 0.2) 78%, rgba(10, 24, 50, 0.1) 100%),
    linear-gradient(to top, var(--pb-navy) 0%, rgba(10, 24, 50, 0) 32%);
}
.hero .container { position: relative; z-index: 1; }
.hero--sponsorship .hero-bg img { object-position: 50% 42%; }
.hero-copy { max-width: 660px; }
.hero-copy .lead {
  font-size: var(--fs-700);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 40em;
  margin-bottom: var(--space-4);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
@media (max-width: 720px) {
  /* Photo stays a background here too. We serve the 4:5 crop (via <picture>) so the box
     is present, and keep the hero short enough that cover-cropping favours her + the box. */
  .hero {
    min-height: clamp(480px, 70vh, 600px);
    padding-block: clamp(92px, 15vh, 124px) clamp(40px, 7vh, 72px);
  }
  .hero-bg img { object-position: 80% 28%; }
  .hero-copy { max-width: none; }
  /* darker on the left/bottom for the copy, clearing toward the upper right so the box reads */
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(10, 24, 50, 0.28) 0%, rgba(10, 24, 50, 0.62) 72%, var(--pb-navy) 100%),
      linear-gradient(105deg, rgba(10, 24, 50, 0.8) 0%, rgba(10, 24, 50, 0.45) 48%, rgba(10, 24, 50, 0.12) 100%);
  }
}

/* ---------- Logo strip (auto-scrolling marquee) ---------- */
.logo-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-6);
  background: var(--pb-navy);
  overflow: hidden;
}
.logo-strip-label {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.logo-marquee {
  position: relative;
  overflow: hidden; /* clip the track to the container width */
  /* fade the logos in/out at both edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: logo-scroll 40s linear infinite;
}
/* uniform trailing space (incl. after the 7th + 14th item) so translateX(-50%) loops seamlessly */
.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: clamp(40px, 6vw, 84px);
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Club logos — normalised to one white tint so the mixed-brand wall reads cohesively.
   brightness(0) invert(1) recolours any logo (light, dark or colour) to solid white. */
.logo-item img {
  height: 44px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
/* Round emblem: white-flatten would erase its inner detail, so desaturate to grey
   instead — colour-free, but the text/ball stay legible. Capped a touch smaller. */
.logo-item img.logo-img--badge {
  height: 40px;
  filter: grayscale(1) brightness(1.55) contrast(0.95);
}
.logo-marquee:hover .logo-item img { opacity: 0.95; }
.logo-strip-stat { margin: var(--space-4) 0 0; font-size: var(--fs-small); color: var(--text-faint); }
.logo-strip-stat strong { color: var(--text-secondary); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
  .logo-item { margin-right: 0; }
  .logo-item--dup { display: none; } /* drop the duplicate set when not animating */
}

/* ---------- Problem ---------- */
.problem { padding-block: var(--section-pad); background: var(--pb-blue-dark); }
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(var(--space-4), 5vw, var(--space-12));
  align-items: center;
}
.pain-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: grid;
  gap: var(--space-2);
  color: var(--text-secondary);
}
.pain-list li { padding-left: 28px; position: relative; }
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--pb-orange);
}
.pivot { font-size: var(--fs-700); font-weight: 700; color: var(--pb-white); }
.problem-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.how { padding-block: var(--section-pad); }
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-3), 3vw, var(--space-6));
}
.step figure { margin-bottom: var(--space-3); }
.step img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pb-blue);
  color: var(--pb-white);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.step p { color: var(--text-secondary); margin: 0; }
.privacy-note {
  margin-top: var(--space-6);
  color: var(--text-faint);
  font-size: var(--fs-small);
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .step { display: grid; grid-template-columns: 1fr; }
}

/* ---------- Benefits ---------- */
.benefits { padding-block: var(--section-pad); background: var(--pb-blue-dark); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
/* Homepage: exactly three cards, so three-across (the shared 2-column
   default stays for the 2- and 4-card grids on the sponsor pages). */
.benefits .benefit-grid { grid-template-columns: repeat(3, 1fr); }
.benefit-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--pb-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(36, 85, 161, 0.22);
  border: 1px solid rgba(110, 160, 232, 0.25);
  color: var(--pb-blue-tint);
  margin-bottom: var(--space-2);
}
.benefit-card h3 { margin: 0; font-size: var(--fs-700); }
.benefit-card p { color: var(--text-secondary); margin: 0; }
@media (max-width: 760px) {
  .benefit-grid,
  .benefits .benefit-grid { grid-template-columns: 1fr; }
}

/* ---------- Sponsor band (monetisation spotlight) ---------- */
.sponsor {
  padding-block: var(--section-pad);
  background:
    radial-gradient(700px 500px at 90% 8%, rgba(36, 85, 161, 0.55), transparent 60%),
    linear-gradient(160deg, #1c437f 0%, #142f59 100%);
}
.sponsor-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(var(--space-4), 5vw, var(--space-12));
  align-items: center;
}
.sponsor-copy p {
  color: rgba(242, 246, 252, 0.82);
  font-size: var(--fs-600);
  margin-bottom: var(--space-4);
}
.sponsor-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (max-width: 880px) {
  .sponsor-grid { grid-template-columns: 1fr; }
}

/* Homepage revenue section: pitch + proof photo beside the live ROI
   calculator (whose CTA links through to the sponsorship page). */
.revenue-points { margin: 0 0 var(--space-4); }
.revenue-photo { margin: var(--space-4) 0 0; }
.revenue-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.revenue-calc .roi-calc { margin: 0; max-width: none; }

/* ---------- Proof ---------- */
.proof {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
  background: var(--pb-navy); /* shown on mobile below the photo band; hidden behind the cover on desktop */
}
.proof-bg { position: absolute; inset: 0; }
.proof-bg picture { display: block; width: 100%; height: 100%; }
.proof-bg img { width: 100%; height: 100%; object-fit: cover; }
.proof-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 50, 0.93) 0%, rgba(10, 24, 50, 0.82) 100%);
}
.proof-inner { position: relative; }

/* Mobile: a full cover would clip the box, so the photo (via <picture>) backs only the
   heading — a compact "header card". The box sits behind the title and fades into the
   testimonials below; no dedicated photo block eating vertical space. */
@media (max-width: 720px) {
  .proof {
    padding-top: 0;
    background:
      radial-gradient(640px 440px at 82% 12%, rgba(36, 85, 161, 0.25), transparent 60%),
      var(--pb-navy);
  }
  .proof-bg { bottom: auto; height: clamp(228px, 60vw, 288px); }
  .proof-bg img { object-position: center 40%; }
  .proof-bg::after {
    background: linear-gradient(180deg, rgba(10, 24, 50, 0.16) 0%, rgba(10, 24, 50, 0.5) 56%, var(--pb-navy) 100%);
  }
  .proof .section-head {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(228px, 60vw, 288px);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-2);
  }
}

/* Testimonial carousel — one card in view, the next peeks + fades to signal more */
/* Fills the container like every other section; one card leads, the next peeks wide. */
.testi { position: relative; margin: 0 0 var(--space-8); }
.testi-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* fade only the right edge, where the peeking card is actually clipped */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
}
.testi-viewport::-webkit-scrollbar { display: none; }
.testi-track {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.testi-card {
  flex: 0 0 64%; /* one card leads; the next peeks ~half on wide screens */
  scroll-snap-align: start;
  display: flex;
}
.testi-card blockquote {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: var(--space-4);
  background: rgba(16, 36, 73, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.testi-quote {
  font-size: var(--fs-700);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 var(--space-3);
}
.testi-author { display: flex; align-items: center; gap: var(--space-2); margin-top: auto; }
.testimonial-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pb-blue); /* fallback while the portrait loads */
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.testi-author div { display: grid; line-height: 1.3; }
.testi-author span:last-child { color: var(--text-faint); font-size: var(--fs-small); }

/* Controls: dots (position) on the left, prev/next arrows on the right.
   JS-only — the cards stay swipe/scrollable without it. */
.testi-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.js .testi-controls { display: flex; }
.testi-dots { display: flex; align-items: center; gap: 10px; }
.testi-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.testi-dot:hover { background: rgba(255, 255, 255, 0.5); }
.testi-dot[aria-current="true"] { width: 24px; background: var(--pb-white); }
.testi-dot:focus-visible { outline: 3px solid var(--pb-lime); outline-offset: 3px; }

.testi-arrows { display: flex; gap: var(--space-1); }
.testi-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.testi-arrow:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); }
.testi-arrow:focus-visible { outline: 3px solid var(--pb-lime); outline-offset: 3px; }
.testi-arrow:disabled { opacity: 0.3; cursor: default; }
.testi-arrow .ic { width: 20px; height: 20px; }
.testi-prev .ic { transform: rotate(180deg); }
@media (max-width: 880px) {
  .testi-card { flex-basis: 76%; }
}
@media (max-width: 560px) {
  .testi-card { flex-basis: 88%; }
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: 0;
  max-width: 820px;
}
.stats-band div {
  background: rgba(16, 36, 73, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
}
.stats-band dt {
  font-size: var(--fs-small);
  color: var(--text-faint);
  order: 2;
}
.stats-band dd {
  margin: 0 0 4px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
  color: var(--pb-white);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .stats-band { grid-template-columns: 1fr; }
}

/* ---------- System ---------- */
.system { padding-block: var(--section-pad); background: var(--pb-blue-dark); }
.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(var(--space-4), 5vw, var(--space-8));
  align-items: center;
  margin-bottom: var(--space-8);
}
.system-photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2; /* close to the wide installation shot — keeps all hardware in frame */
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.component-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.component-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.component-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(36, 85, 161, 0.25);
  border: 1px solid rgba(110, 160, 232, 0.22);
  color: var(--pb-blue-tint);
}
.component-list h3 { margin: 0 0 2px; font-size: var(--fs-600); }
.component-list p { margin: 0; color: var(--text-secondary); }
.system-features-head { margin-bottom: var(--space-4); }
.system-features-title { margin: 0; font-size: var(--fs-700); }
.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-2);
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--pb-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(36, 85, 161, 0.22);
  border: 1px solid rgba(110, 160, 232, 0.25);
  color: var(--pb-blue-tint);
  margin-bottom: var(--space-1);
}
.feature-icon .ic { width: 22px; height: 22px; }
.feature-card h4 {
  margin: 0;
  font-size: var(--fs-600);
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-card p { margin: 0; color: var(--text-secondary); font-size: var(--fs-small); }
.feature-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pb-blue-tint);
  background: rgba(110, 160, 232, 0.14);
  border: 1px solid rgba(110, 160, 232, 0.3);
}
/* Collapsible "show more": the extra features animate open via a 0fr→1fr grid
   row. Gated behind .js so the full list is always visible without JavaScript. */
.feature-extra-inner { padding-top: var(--space-2); }
.js .feature-extra {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s ease;
}
.js .feature-extra[data-open="true"] { grid-template-rows: 1fr; }
.js .feature-extra-inner { overflow: hidden; min-height: 0; }
.feature-toggle-row {
  display: none; /* JS-only control */
  justify-content: center;
  margin-top: var(--space-3);
}
.js .feature-toggle-row { display: flex; }
.feature-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--pb-white);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.feature-toggle:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.feature-toggle:focus-visible { outline: 2px solid var(--pb-blue-tint); outline-offset: 2px; }
.feature-toggle-chev {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.feature-toggle[aria-expanded="true"] .feature-toggle-chev { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) {
  .js .feature-extra { transition: none; }
  .feature-toggle-chev { transition: none; }
}
@media (max-width: 760px) {
  .system-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing + FAQ ---------- */
.pricing-faq { padding-block: var(--section-pad); background: var(--pb-navy); }
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(var(--space-4), 5vw, var(--space-12));
  align-items: start;
}
.pricing-copy p:not(.eyebrow) { color: var(--text-secondary); margin-bottom: var(--space-2); }
.pricing-copy p:not(.eyebrow):last-of-type { margin-bottom: var(--space-4); }
.faq-title { margin-bottom: var(--space-3); }
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pb-lime);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-secondary); padding-bottom: var(--space-2); margin: 0; }
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: var(--section-pad);
  background:
    radial-gradient(800px 500px at 50% 120%, rgba(36, 85, 161, 0.55), transparent 70%),
    var(--pb-navy);
}
.cta-inner {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  text-align: center;
}
.cta-copy { max-width: 660px; }
.cta-copy p { color: var(--text-secondary); font-size: var(--fs-600); }
.cta-booking {
  width: 100%;
  max-width: 480px;
  margin-top: var(--space-3);
  background: #fff; /* Calendly free plan renders a light widget; white card makes it intentional */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden; /* clip the Calendly iframe to the card's rounded corners */
}
.cta-booking .calendly-inline-widget { border-radius: inherit; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-block: var(--space-6); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.footer-logo { width: 110px; opacity: 0.85; }
.site-footer nav { display: flex; gap: var(--space-3); margin-left: auto; }
.site-footer nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
}
.site-footer nav a:hover { color: var(--text-primary); }
.footer-legal { width: 100%; display: grid; gap: 6px; }
.footer-meta {
  margin: 0;
  font-style: normal; /* <address> defaults to italic */
  color: var(--text-faint);
  font-size: var(--fs-small);
  line-height: 1.6;
  overflow-wrap: break-word;
}
.footer-meta a { color: var(--text-secondary); text-decoration: none; }
.footer-meta a:hover { color: var(--text-primary); }
.footer-copy { margin: 0; color: var(--text-faint); font-size: var(--fs-small); }
@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .site-footer nav { margin-left: 0; flex-wrap: wrap; }
}

/* ---------- Reveal on scroll (subtle, content never hidden without JS) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
  .testi-viewport { scroll-behavior: auto; }
  .testi-dot { transition: none; }
}

/* ==========================================================================
   Investor Open — unlisted event page (Eventbrite-style layout)
   ========================================================================== */
.event { padding-block: clamp(24px, 4vh, 48px) var(--section-pad); }

.event-head {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 881px) {
  .event-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 72px);
  }
}
.event-intro h1 { margin-bottom: var(--space-3); }
.event-intro .lead {
  font-size: var(--fs-700);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.event-intro h2 { font-size: var(--fs-700); margin-bottom: var(--space-2); }
.event-intro p:not(.lead):not(.eyebrow) { color: var(--text-secondary); }

/* Ticket-style details card (sticky beside the copy on wide screens) */
.event-ticket {
  --ticket-pad: clamp(20px, 3vw, 28px);
  padding: var(--ticket-pad);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(36, 85, 161, 0.25), transparent 60%),
    var(--pb-navy-soft);
  box-shadow: var(--shadow-card);
}
@media (min-width: 881px) {
  .event-ticket { position: sticky; top: 88px; }
}
.event-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.event-facts li { display: flex; gap: var(--space-2); align-items: flex-start; }
.event-facts strong { display: block; }
.event-facts li > div span { display: block; color: var(--text-secondary); font-size: var(--fs-small); }
.event-facts a {
  display: inline-block;
  margin-top: 4px;
  color: var(--pb-blue-tint);
  font-size: var(--fs-small);
  font-weight: 600;
}
.event-fact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(36, 85, 161, 0.22);
  border: 1px solid rgba(110, 160, 232, 0.25);
  color: var(--pb-blue-tint);
}
.event-fact-icon .ic { width: 19px; height: 19px; }

/* Perforated tear line: the card reads as a ticket stub. */
.event-tear {
  position: relative;
  margin: var(--space-3) calc(-1 * var(--ticket-pad));
  border-top: 2px dashed rgba(255, 255, 255, 0.16);
}
.event-tear::before,
.event-tear::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pb-navy);
}
.event-tear::before { left: -11px; }
.event-tear::after { right: -11px; }
.event-ticket-note {
  margin: var(--space-2) 0 0;
  text-align: center;
  color: var(--text-faint);
  font-size: var(--fs-small);
}

/* Tagline interlude */
.event-tagline { padding-block: clamp(56px, 9vh, 110px); }
.event-tagline p {
  margin: 0;
  text-align: center;
  font-size: var(--fs-800);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.event-tagline span { color: var(--pb-lime); }

/* Full-bleed hero: title over the photo, the ticket card overlaps below */
.event--hero { padding-top: 0; }
.event-hero {
  position: relative;
  min-height: clamp(440px, 66vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.event-hero picture { position: absolute; inset: 0; }
.event-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}
.event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 50, 0.9), rgba(10, 24, 50, 0.3) 42%, rgba(10, 24, 50, 0.08) 70%, transparent);
}
.event-hero-inner { position: relative; z-index: 1; padding-bottom: clamp(28px, 5vh, 56px); }
.event-hero-copy h1 { margin-bottom: 0; }
@media (max-width: 720px) {
  .event-hero { min-height: 72vh; }
}
@media (max-width: 880px) {
  /* Reserve room for the ticket card that climbs 56px onto the hero, so it
     never covers the title. */
  .event-hero-inner { padding-bottom: calc(56px + var(--space-4)); }
}
/* the ticket card climbs onto the photo */
@media (min-width: 881px) {
  .event-head--overlap { margin-top: calc(-1 * clamp(96px, 14vh, 150px)); position: relative; z-index: 2; }
  .event-head--overlap .event-intro { padding-top: calc(clamp(96px, 14vh, 150px) + var(--space-6)); }
}
@media (max-width: 880px) {
  .event-head--overlap .event-ticket { order: -1; margin-top: -56px; position: relative; z-index: 2; }
}

/* Sign-up band with the Google Forms embed */
.event-signup {
  padding-block: var(--section-pad);
  background: var(--pb-blue-dark);
}
.event-signup .section-head { margin-bottom: var(--space-6); }
.event-form-embed {
  max-width: 760px;
}
.event-form-embed iframe {
  border-radius: var(--radius-lg);
}


/* ==========================================================================
   Sponsorship page (/sponsorship/)
   Reuses the homepage tokens and section patterns (eyebrow, section-head,
   benefit-grid, sponsor-grid, stats-band, final-cta). Only the bits below
   are page-specific. No new colours — tokens only.
   ========================================================================== */

/* Generic content band; --dark mirrors the .benefits / .system blue. */
.spon-band { padding-block: var(--section-pad); }
.spon-band--dark { background: var(--pb-blue-dark); }

/* Copy column beside a figure/mockup. Mirrors .sponsor-copy but excludes the
   eyebrow (the codebase convention, cf. .pricing-copy) so it stays lime. */
.spon-copy > p:not(.eyebrow) {
  color: rgba(242, 246, 252, 0.82);
  font-size: var(--fs-600);
  margin-bottom: var(--space-4);
}

/* Intro block above a grid/figure (eyebrow + h2 + lead paragraph). */
.spon-intro { max-width: 760px; margin-bottom: var(--space-6); }
.spon-intro > p:not(.eyebrow) { color: var(--text-secondary); font-size: var(--fs-600); margin: 0; }

/* Provided-image figure (screenshots / renders) */
.spon-figure { margin: 0; }
.spon-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.spon-cta-actions { margin-top: var(--space-4); }

/* ---------- ROI calculator — one panel, invoice-style hierarchy ---------- */
.roi-calc {
  max-width: 640px;
  margin: var(--space-6) auto 0;
  padding: clamp(var(--space-4), 4vw, var(--space-6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(36, 85, 161, 0.22), transparent 60%),
    var(--pb-navy-soft);
  box-shadow: var(--shadow-card);
}

/* a sponsor type = one line: name + quantity × price ............ subtotal */
.roi-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-3) 0;
}
.roi-row + .roi-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.roi-row-name {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0 0 var(--space-2);
  font-size: var(--fs-600);
  font-weight: 700;
}
.roi-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(36, 85, 161, 0.22);
  border: 1px solid rgba(110, 160, 232, 0.25);
  color: var(--pb-blue-tint);
}
.roi-row-icon .ic { width: 17px; height: 17px; }
.roi-row-controls { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.roi-row-sub {
  margin: 0;
  text-align: right;
  white-space: nowrap;
  font-size: var(--fs-700);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* quantity stepper */
.roi-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.roi-stepper:focus-within { border-color: rgba(110, 160, 232, 0.6); }
.roi-step {
  width: 36px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.roi-step:hover { background: rgba(255, 255, 255, 0.08); }
.roi-stepper input {
  width: 3ch;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: center;
  font: 700 var(--fs-600) / 1 var(--font);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.roi-times { color: var(--text-faint); font-weight: 700; }

/* price field */
.roi-money {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.roi-money:focus-within { border-color: rgba(110, 160, 232, 0.6); }
.roi-money > span[aria-hidden] { color: var(--text-secondary); font-weight: 700; }
.roi-money input {
  /* No-JS default; main.js sizes the field to its content. */
  width: calc(4ch + 4px);
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: 700 var(--fs-600) / 1 var(--font);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.roi-money input:focus { outline: none; }
.roi-unit { color: var(--text-faint); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }

/* hide native number spinners (we provide our own stepper / clean field) */
.roi-stepper input::-webkit-outer-spin-button,
.roi-stepper input::-webkit-inner-spin-button,
.roi-money input::-webkit-outer-spin-button,
.roi-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* the total — the hero of the hierarchy */
.roi-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  border-top: 2px solid rgba(110, 160, 232, 0.25);
}
.roi-total-label { color: var(--text-secondary); font-size: var(--fs-600); font-weight: 700; }
.roi-total-value {
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--pb-white);
  font-variant-numeric: tabular-nums;
}
.roi-cta { margin-top: var(--space-4); }
.roi-note { margin: var(--space-2) 0 0; text-align: center; color: var(--text-faint); font-size: var(--fs-small); }

@media (max-width: 560px) {
  .roi-row { grid-template-columns: 1fr; }
  .roi-row-sub { text-align: left; }
}


/* ---------- Sponsors page (partner-facing) ---------- */

.section-sub { color: var(--text-secondary); font-size: var(--fs-600); margin: 0; }

/* Intro photo — pinned annotation sequence (all screen sizes).
   .anno-pin gets its tall height + sticky child only when JS is live
   (anno-ready); otherwise the photo renders statically with callout 1. */
.anno-pin.anno-ready { height: 220vh; }
@supports (height: 100dvh) {
  .anno-pin.anno-ready { height: 220dvh; }
}
.anno-ready .anno-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  /* Close to the header rather than dead-centre. */
  align-items: flex-start;
  padding-top: calc(56px + clamp(20px, 6vh, 64px));
}
@supports (height: 100dvh) {
  .anno-ready .anno-sticky { height: 100dvh; }
}
/* NB: no width override here; the .container class on the same element
   provides the page gutter and max-width. */
.anno-stage-media {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
}
/* The stage copy is the desktop twin of .anno-copy-flow */
.anno-stage-copy { display: none; }
@media (min-width: 881px) {
  .anno-copy-flow { display: none; }
  .anno-stage {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
  }
  .anno-stage-copy { display: block; }
  .anno-ready .anno-sticky { padding-top: calc(64px + clamp(16px, 5vh, 56px)); }
}
.annotated {
  position: relative;
  width: min(100%, 880px);
}
.annotated img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.anno-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 24, 50, 0.45);
  transition: background-color 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.anno-dot.is-active {
  width: 16px;
  height: 16px;
  background: var(--pb-lime);
}
.anno-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(223, 242, 10, 0.6);
  opacity: 0;
}
.anno-dot.is-active::after {
  animation: hotspot-pulse 2.4s ease-out infinite;
}
@keyframes hotspot-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .anno-dot.is-active::after { animation: none; opacity: 0.5; }
}
.anno-label {
  position: absolute;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 24, 50, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.35;
  width: max-content;
  max-width: min(60vw, 300px);
  opacity: 0;
  visibility: hidden;
}
/* No-JS fallback: the first label stays visible. Once the scroll driver is
   live (is-live) it owns opacity/visibility inline. */
.anno-label.is-active:not(.is-live) { opacity: 1; visibility: visible; }
.anno-label--right { transform: translate(20px, -50%); }
.anno-label--left { transform: translate(calc(-100% - 20px), -50%); }
.anno-progress {
  display: flex;
  gap: 6px;
  width: min(100%, 320px);
}
/* Story-style segments: each fills continuously (--fill: 0..100) while its
   callout is on stage, so every scrolled pixel is visible progress. */
.anno-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--pb-lime) calc(var(--fill, 0) * 1%),
    rgba(255, 255, 255, 0.18) 0
  );
}

/* Small screens: no full-viewport stage. The photo block becomes a compact
   in-flow sticky just below the header; the stats (rendered outside the pin)
   stay visible beneath it and slide up while the callouts play. The extra
   travel comes from the sticky's bottom margin. */
.anno-travel-spacer { display: none; }
@media (max-width: 880px) {
  .anno-pin.anno-ready { height: auto; }
  .anno-ready .anno-sticky {
    position: sticky;
    top: calc(56px + 10px);
    height: auto;
    display: block;
    padding-top: 0;
  }
  .anno-ready .anno-travel-spacer {
    display: block;
    height: 46vh;
  }
}

/* Stats close the pinned stage: full width under the copy/photo columns.
   On phones they compact into a three-across strip so the stage fits the
   viewport. (The generic 1-column stats-band stacking is overridden here.) */
.anno-stats {
  margin-top: clamp(20px, 4vh, 44px);
  max-width: none;
}
@media (min-width: 881px) {
  .anno-stats { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .anno-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .anno-stats div { padding: 12px 8px; }
  .anno-stats dd { font-size: 1.25rem; margin-bottom: 2px; }
  .anno-stats dt { font-size: 0.72rem; line-height: 1.3; }
}

/* Package cards — the two sponsor types, side by side */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.pkg-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--pb-navy-soft);
  box-shadow: var(--shadow-card);
}
.pkg-card h3 { margin: 0; font-size: var(--fs-700); }
.pkg-tagline { margin: 0; color: var(--pb-blue-tint); font-weight: 600; }
.pkg-points {
  list-style: none;
  padding: 0;
  margin: var(--space-1) 0 0;
  display: grid;
  gap: var(--space-2);
  color: var(--text-secondary);
}
.pkg-points li { position: relative; padding-left: 30px; }
.pkg-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--pb-lime);
  border-bottom: 2.5px solid var(--pb-lime);
  transform: rotate(-45deg);
}

/* Match-sponsor scene stage: reuses the pinned-sequence machinery from the
   intro (.anno-pin/.anno-sticky/.anno-stage). The six states are the same
   photographed screen, stacked in one frame and dissolved into each other,
   so only the screen content appears to change. */

/* Six scenes need more dwell than the intro's three callouts. */
@media (min-width: 881px) {
  .anno-pin--scenes.anno-ready { height: 300vh; }
  @supports (height: 100dvh) {
    .anno-pin--scenes.anno-ready { height: 300dvh; }
  }
}
@media (max-width: 880px) {
  .anno-pin--scenes.anno-ready .anno-travel-spacer { height: 120vh; }
}

.scene-frame {
  position: relative;
  margin: 0;
  width: min(100%, 880px);
  /* Matches the photographed-screen assets (1760x1142). */
  aspect-ratio: 1760 / 1142;
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #05080f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-card);
}
.scene-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
/* Base layer + no-JS fallback: the first scene is always visible until the
   scroll driver (is-live) takes over with inline opacities. */
.scene-img:first-child,
.scene-img.is-active:not(.is-live) { opacity: 1; }

/* Scene texts stack in one grid cell (the container sizes to the tallest
   text, so nothing shifts while they crossfade). */
.scene-texts { display: grid; width: min(100%, 880px); }
.scene-text {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}
.scene-text.is-active:not(.is-live) { opacity: 1; visibility: visible; }
.scene-text h3 { margin: 0 0 var(--space-1); }
.scene-text p { margin: 0; color: var(--text-secondary); }
@media (max-width: 880px) {
  .scene-text h3 { font-size: var(--fs-600); }
  .scene-text p { font-size: var(--fs-small); }
}
@media (min-width: 881px) {
  .scene-texts--mobile { display: none; }
  .anno-stage-copy .scene-text h3 { font-size: var(--fs-700); }
}
.anno-progress--wide { width: min(100%, 460px); }

/* Numbered steps without imagery (partner "how it works") */
.spon-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* Three steps: stack, then go straight to three-across. An auto-fit grid
     would pass through a 2x2 state that orphans the third card. */
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 760px) {
  .spon-steps { grid-template-columns: repeat(3, 1fr); }
}
.spon-step {
  padding: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--pb-navy-soft);
}
.spon-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--pb-lime);
  color: var(--pb-ink);
  font-weight: 800;
}
.spon-step h3 { margin-bottom: var(--space-1); }
.spon-step p { margin: 0; color: var(--text-secondary); }

/* Phone frame around the mijnpadelvideo screenshot (iPhone 17 Pro Max ratio) */
.sponsor-grid--phone { align-items: center; }
.phone-frame { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone-screen {
  display: block;
  width: min(300px, 78%);
  padding: 10px;
  border-radius: 46px;
  background: #05080f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-card);
}
.phone-screen img { border-radius: 36px; }

.frame-caption {
  margin-top: var(--space-2);
  color: var(--text-faint);
  font-size: var(--fs-small);
  text-align: center;
}
.spon-figure .frame-caption { text-align: left; }

/* Centered closing CTA without booking widget */
.cta-copy--solo { max-width: 660px; margin-inline: auto; text-align: center; }
