/* ============================================================
   LEAP DISTRIBUTORS — Design System v2.0
   ============================================================ */

/* ── Shiny button registered properties ─────────────────── */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --gradient-shine {
  syntax: "<color>";
  initial-value: rgba(255,255,255,0.8);
  inherits: false;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --color-teal:        #00384D;
  --color-teal-dark:   #001F2B;
  --color-teal-mid:    #004D68;
  --color-blue:        #2A7DE1;
  --color-blue-light:  #4D94EE;
  --color-orange:      #E65300;
  --color-orange-light:#FF6B1A;
  --color-gray-light:  #D8DFE1;

  /* Neutrals — dark theme */
  --color-white:       #FFFFFF;
  --color-off-white:   #02283A;
  --color-surface:     #032030;
  --color-border:      rgba(255,255,255,0.09);
  --color-text:        rgba(255,255,255,0.92);
  --color-text-2:      rgba(255,255,255,0.72);
  --color-text-3:      rgba(255,255,255,0.48);
  --color-text-4:      rgba(255,255,255,0.3);

  /* Dark surfaces */
  --color-dark-bg:     #001F2B;
  --color-dark-card:   rgba(255,255,255,0.04);
  --color-dark-border: rgba(255,255,255,0.08);
  --color-dark-text:   rgba(255,255,255,0.7);

  /* Typography */
  --font-primary:   'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Aleo', Georgia, serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;
  --text-8xl:  5.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(42,125,225,0.15);

  /* Timing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Layout */
  --container-max:  1280px;
  --container-pad:  clamp(1rem, 4vw, 2rem);
  --nav-height:     72px;
  --fab-size:       46px; /* floating search + chat buttons */
  --section-pad-y:  clamp(4rem, 8vw, 7rem);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-text);
  background: #001520;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  width: auto;
  height: auto;
  clip: auto;
  background: var(--color-blue);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 500;
  z-index: 9999;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1440px;
}

.section-padding {
  padding-block: var(--section-pad-y);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-7xl)); }
/* Every section heading between the header and the footer runs on this one
   scale — 32/41/48px, weight 500. Components that used to size their own h2
   are folded into it by the unified rule at the end of this file. */
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { line-height: 1.7; }

.text-lead {
  font-size: clamp(1.1rem, 2vw, var(--text-xl));
  color: var(--color-text-2);
  line-height: 1.65;
  font-weight: 300;
}

.section-label {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-orange);
  flex-shrink: 0;
}

.section-label--blue {
  color: var(--color-blue);
}

.section-label--blue::before {
  background: var(--color-blue);
}

.section-label--white {
  color: rgba(255,255,255,0.6);
}

.section-label--white::before {
  background: rgba(255,255,255,0.4);
}

/* Drop the leading dash/line for labels that don't want it */
.section-label--no-line {
  gap: 0;
}
.section-label--no-line::before {
  display: none;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-white  { color: var(--color-white); }

/* ── Radial Glow Backgrounds ─────────────────────────────── */
/* Translates radial-glow-background component concept to plain CSS.
   Add position:relative + overflow:hidden to the parent if not already set. */

.bg-radial-glow {
  position: relative;
}
.bg-radial-glow::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle 600px at 50% 0px, rgba(42,125,225,0.18), transparent);
}
/* Cyan variant — matches demo.tsx rgba(6,182,212,0.4) adapted to brand teal */
.bg-radial-glow--cyan::before {
  background: radial-gradient(circle 500px at 50% 0px, rgba(0,183,200,0.22), transparent);
}
/* Ensure content sits above the glow layer */
.bg-radial-glow > * {
  position: relative;
  z-index: 1;
}

/* ── Buttons ─────────────────────────────────────────────── */

@keyframes shiny-spin {
  to { --gradient-angle: 360deg; }
}
@keyframes shiny-shimmer {
  to { rotate: 360deg; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;

  /* Shiny system */
  --shiny-bg:        var(--color-teal-dark);
  --shiny-highlight: rgba(255,255,255,0.45);
  --shiny-subtle:    rgba(255,255,255,0.22);
  --shiny-duration:  3s;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  animation:
    shiny-spin linear var(--shiny-duration) infinite,
    shiny-spin linear calc(var(--shiny-duration) / 0.4) reverse paused;
  animation-composition: add;
  transition:
    --gradient-angle-offset 800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-percent      800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-shine        800ms cubic-bezier(0.25, 1, 0.5, 1),
    transform               0.2s var(--ease-out),
    box-shadow              0.2s var(--ease-out);
}

/* Dots pattern */
.btn::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: radial-gradient(circle at 2px 2px, white 0.5px, transparent 0) padding-box;
  background-size: 4px 4px;
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit;
  opacity: 0.18;
  animation:
    shiny-spin linear var(--shiny-duration) infinite,
    shiny-spin linear calc(var(--shiny-duration) / 0.4) reverse paused;
  animation-composition: add;
}

/* Shimmer sweep */
.btn::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.5;
  animation: shiny-shimmer linear var(--shiny-duration) infinite paused;
}

.btn:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-subtle);
  transform: translateY(-1px);
}

.btn:is(:hover, :focus-visible),
.btn:is(:hover, :focus-visible)::before,
.btn:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.btn:active {
  transform: translateY(0);
}

/* ── Variants ──────────────────────────────────────────── */

.btn--primary {
  --shiny-bg:        var(--color-blue);
  --shiny-highlight: rgba(255,255,255,0.65);
  --shiny-subtle:    rgba(255,255,255,0.35);
  color: var(--color-white);
}
.btn--primary:is(:hover, :focus-visible) {
  box-shadow: 0 8px 28px rgba(42,125,225,0.4);
}

/* "Let's talk" CTA → brand orange on hover (header + footer only) */
.site-header__cta.cta-talk:hover,
.site-header.is-scrolled:not(.nav-is-open) .site-header__cta.cta-talk:hover,
.nav-overlay__cta.cta-talk:hover,
.arrow-link.cta-talk:hover {
  color: var(--color-orange-light);
}

.btn--teal {
  --shiny-bg:        var(--color-teal);
  --shiny-highlight: rgba(255,255,255,0.55);
  --shiny-subtle:    rgba(255,255,255,0.28);
  color: var(--color-white);
}

.btn--orange {
  --shiny-bg:        var(--color-orange);
  --shiny-highlight: rgba(255,255,255,0.65);
  --shiny-subtle:    rgba(255,255,255,0.35);
  color: var(--color-white);
}
.btn--orange:is(:hover, :focus-visible) {
  box-shadow: 0 8px 28px rgba(230,83,0,0.4);
}

.btn--ghost,
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  animation: none;
}
.btn--ghost::before,
.btn--ghost::after,
.btn--outline::before,
.btn--outline::after { display: none; }

.btn--ghost:is(:hover, :focus-visible),
.btn--outline:is(:hover, :focus-visible) {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--outline-white {
  --shiny-bg:        rgba(255,255,255,0.05);
  --shiny-highlight: rgba(255,255,255,0.5);
  --shiny-subtle:    rgba(255,255,255,0.25);
  color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: var(--text-xs);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ── Navigation ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--nav-height) + var(--space-4)); /* a little taller for breathing room */
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(0, 31, 43, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.site-header.nav-is-open {
  background: transparent;
  box-shadow: none;
}

/* Logo — always white on dark theme */

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.site-header__logo {
  width: 200px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.site-header__logo img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 36px;
  width: auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-header__cta {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

/* Hide the header "Let's Talk" CTA on mobile (still in the nav overlay) */
@media (max-width: 768px) {
  .site-header__cta { display: none; }
}

.site-header__cta:hover {
  color: var(--color-white);
}

.site-header.is-scrolled:not(.nav-is-open) .site-header__cta {
  color: rgba(255,255,255,0.85);
}

.site-header.is-scrolled:not(.nav-is-open) .site-header__cta:hover {
  color: var(--color-white);
}

/* ── Nav Pill (desktop) ─────────────────────────────────── */
.nav-pill {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-pill__list {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-pill__item {
  position: relative;
  z-index: 1;
}

.nav-pill__link {
  display: block;
  padding: 0.5rem 1.05rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-full);
  transition: color 0.25s var(--ease-out),
              background 0.25s var(--ease-out);
}

/* Active page — dark text sitting on the white pill */
.nav-pill__link.is-on {
  color: var(--color-teal-dark);
}

/* Hover/focus any link except the active one — its own dark-teal background.
   The active page keeps its white pill untouched. */
.nav-pill__link:not(.is-on):hover,
.nav-pill__link:not(.is-on):focus-visible {
  background: var(--color-teal);
  color: var(--color-white);
}

.nav-pill__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.nav-pill__cursor {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 0;
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  background: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transition: left 0.32s var(--ease-out),
              width 0.32s var(--ease-out),
              opacity 0.25s var(--ease-out);
}

@media (min-width: 1200px) {
  .nav-pill { display: block; }
  .site-header .hamburger { display: none; }
  .nav-search { display: flex; }
}

/* ── Nav Search ─────────────────────────────────────────── */
.nav-search {
  position: relative;
  display: none; /* desktop only — shown at >=1200px */
  align-items: center;
}

.nav-search__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav-search__toggle:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }

/* Search opens as a panel below the header — never expands over the menu */
.nav-search__form {
  display: flex;
  align-items: center;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  overflow: hidden;
  background: rgba(0,21,32,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9100;
}

.nav-search.is-open .nav-search__form {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-search__input {
  flex: 1;
  height: 38px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 0 0 var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  color: var(--color-text);
}
.nav-search__input::placeholder { color: rgba(255,255,255,0.35); }

.nav-search__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  flex-shrink: 0;
  margin-right: var(--space-1);
  transition: color 0.2s, background 0.2s;
}
.nav-search__close:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }

/* Dropdown */
.nav-search__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 56px);
  right: 0;
  width: 320px;
  background: rgba(0,21,32,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 9100;
}
.nav-search__dropdown.is-visible { display: block; }

.nav-search__result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
  text-decoration: none;
}
.nav-search__result:last-child { border-bottom: none; }
.nav-search__result:hover,
.nav-search__result.is-active { background: rgba(42,125,225,0.12); }

.nav-search__result-type {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue);
}
.nav-search__result-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.nav-search__result-title mark {
  background: transparent;
  color: var(--color-blue);
}
.nav-search__result-desc {
  font-size: var(--text-xs);
  color: var(--color-text-4);
  line-height: 1.4;
}
.nav-search__result-desc mark {
  background: transparent;
  color: var(--color-text-3);
}
.nav-search__empty {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-4);
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .nav-search.is-open .nav-search__form { width: 220px; }
  .nav-search__dropdown { width: calc(100vw - 2rem); right: -1rem; }
}

/* ── Hamburger ───────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 10001;
}

.hamburger__line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out),
              opacity 0.3s var(--ease-out),
              width 0.3s var(--ease-out);
  transform-origin: center;
}

.site-header.is-scrolled:not(.nav-is-open) .hamburger__line {
  background: var(--color-white);
}

.hamburger.is-open .hamburger__line--top {
  transform: translateY(4.5px) rotate(45deg);
}

.hamburger.is-open .hamburger__line--bottom {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ── Overlay Nav ─────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-teal-dark);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out),
              visibility 0.5s;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: calc(var(--nav-height) + var(--space-16)) var(--container-pad) var(--space-16);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.nav-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-overlay__link {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transform: translateY(16px);
  opacity: 0;
  display: inline-block;
  will-change: transform, opacity;
  /* Entrance: fade + rise together. Colour stays snappy for hover. */
  transition: opacity 0.45s var(--ease-out),
              transform 0.45s var(--ease-out),
              color 0.2s var(--ease-out);
}

.nav-overlay.is-open .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal across all eight links */
.nav-overlay.is-open .nav-overlay__link:nth-child(1) { transition-delay: 0.06s, 0.06s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(2) { transition-delay: 0.10s, 0.10s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(3) { transition-delay: 0.14s, 0.14s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(4) { transition-delay: 0.18s, 0.18s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(5) { transition-delay: 0.22s, 0.22s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(6) { transition-delay: 0.26s, 0.26s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(7) { transition-delay: 0.30s, 0.30s, 0s; }
.nav-overlay.is-open .nav-overlay__link:nth-child(8) { transition-delay: 0.34s, 0.34s, 0s; }

.nav-overlay__link:hover {
  color: var(--color-white);
  transform: translateX(8px);
}

.nav-overlay__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  flex-wrap: wrap;
}

.nav-overlay__cta {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-orange-light);
  letter-spacing: -0.01em;
  transition: color 0.2s, letter-spacing 0.3s var(--ease-out);
}

.nav-overlay__cta:hover {
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.nav-overlay__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: right;
}

.nav-overlay__meta a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.nav-overlay__meta a:hover {
  color: rgba(255,255,255,0.8);
}

/* ── Arrow Link ──────────────────────────────────────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: gap 0.3s var(--ease-out),
              color 0.2s var(--ease-out);
}

.arrow-link span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.arrow-link:hover {
  gap: calc(var(--space-3) + 6px);
  color: var(--color-orange-light);
}

.arrow-link:hover span {
  transform: translateX(4px);
}

.arrow-link--white {
  color: rgba(255,255,255,0.7);
}

.arrow-link--white:hover {
  color: var(--color-white);
}

.arrow-link--hero {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

.arrow-link--hero:hover {
  color: var(--color-white);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-scroll-container {
  position: relative;
  /* Shorter scroll distance = the cover animation plays faster and you
     reach the next section sooner (was 400vh). */
  height: 200vh;
}
@media (max-width: 768px) {
  /* Even quicker on mobile */
  .hero-scroll-container { height: 150vh; }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero--video {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: unset;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  /* The lower third of the frame is the surgical drape, much brighter than the
     rest of the footage. It used to be scrimmed with the page background
     (#001520, luminance 16) — but the footage's dark areas sit at luminance
     ~10, so that colour LIGHTENED the shot and left a pale band above the fold.

     The scrim is therefore near-black rgba(0,8,14) all the way down, holding
     the dark to the hero's bottom edge rather than fading back up to the page
     background. The visible transition is the .stats-strip top border.
     Alphas tuned by compositing against frame_115: the lower band reads
     luminance ~10 against a 10.3 reference from the top of the frame. */
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 30, 0.08) 0%,
    rgba(0, 20, 30, 0)    32%,
    rgba(0, 8, 14, 0.35)  58%,
    rgba(0, 8, 14, 0.59)  76%,
    rgba(0, 8, 14, 0.78)  100%
  );
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__gradient {
  display: none;
}

.hero__glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(42,125,225,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero body — centered layout */
.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: calc(var(--nav-height) + clamp(3rem, 6vw, 5rem)) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  text-transform: none;
  align-self: center;
}

.hero__badge::before {
  display: none;
}

.hero__headline {
  font-size: clamp(3rem, min(6.5vw, 14svh), 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-white);
  flex: none;
}

.hero__headline em {
  font-style: normal;
  color: var(--color-blue);
}

.hero__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
}

.hero__subtext {
  font-size: clamp(0.95rem, 1.4vw, var(--text-lg));
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 520px;
  text-wrap: balance;
}

/* Tagline sitting under the CTA buttons */
.hero__tagline {
  font-size: clamp(0.9rem, 1.3vw, var(--text-base));
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 600px;
  text-wrap: balance;
}

/* CTA button row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 52px;
  padding: 0 var(--space-8);
  border-radius: 999px;
  background: #fff;
  color: var(--color-teal-dark);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn--hero-primary:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

.btn--hero-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 var(--space-8);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn--hero-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.7; transform: scaleY(1.15); }
}

/* In-hero static stats — mobile only (desktop uses the .stats-strip proof bar) */
.hero__stats { display: none; }

/* ── Partnership Tiles (ICAM style) ──────────────────────── */
.partnerships-section {
  padding-top: var(--section-pad-y);
}

.partnerships-section__header {
  margin-bottom: var(--space-12);
}

.partnerships-section__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.partnerships-section__heading-row h2 {
  margin: 0;
}

.partnership-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.partnership-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.partnership-tile__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out);
}

.partnership-tile__bg--distributors {
  background:
    linear-gradient(160deg, rgba(0,77,104,0.85) 0%, rgba(0,31,43,0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a7de1' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.partnership-tile__bg--hospitals {
  background:
    linear-gradient(160deg, rgba(0,56,77,0.85) 0%, rgba(0,31,43,0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b7c8' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.partnership-tile__bg--manufacturers {
  background:
    linear-gradient(160deg, rgba(42,125,225,0.25) 0%, rgba(0,31,43,0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e65300' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.partnership-tile:hover .partnership-tile__bg {
  transform: scale(1.04);
}

.partnership-tile__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
}

.partnership-tile__num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-secondary);
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.partnership-tile__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.partnership-tile__title {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.partnership-tile__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.65;
  max-width: 320px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}

.partnership-tile:hover .partnership-tile__desc {
  opacity: 1;
  transform: translateY(0);
}

.partnership-tile__cta {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.2s var(--ease-out),
              gap 0.3s var(--ease-out);
}

.partnership-tile:hover .partnership-tile__cta {
  color: var(--color-white);
  gap: var(--space-3);
}

/* Bottom edge separator between tiles */
.partnership-tile + .partnership-tile {
  border-left: 1px solid rgba(255,255,255,0.06);
}

/* ── Partnership Carousel (Built For) ────────────────────── */
/* ── Vertical Tabs (Built For) ───────────────────────────── */
.vt-section {
  padding-block: var(--section-pad-y);
}

.vt-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.vt-header {
  margin-bottom: var(--space-10);
}
.vt-header h2 {
  color: var(--color-text);
  margin-top: var(--space-3);
}

/* Tabs */
.vt-tabs {
  display: flex;
  flex-direction: column;
}

.vt-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6) 0 var(--space-6) var(--space-6);
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  transition: color 0.4s var(--ease-out);
  width: 100%;
}
.vt-tab.is-active { color: var(--color-text); }
.vt-tab:first-child { border-top: none; }

/* Progress track on left edge */
.vt-tab__track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}
.vt-tab__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--color-blue);
  transform-origin: top;
}
/* Progress bar only runs once the section has scrolled into view (JS adds
   .is-playing); before that it stays empty and idle. */
.vt-section.is-playing .vt-tab.is-active .vt-tab__progress {
  animation: vt-progress 16s linear forwards;
}
@keyframes vt-progress {
  from { height: 0%; }
  to   { height: 100%; }
}

.vt-tab__num {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-orange);
  opacity: 0.75;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.vt-tab__body { flex: 1; }

.vt-tab__title {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.4s var(--ease-out);
}

/* Fixed reserved height for the open description so every tab makes the
   column exactly the same height — no reflow of the page below. */
.vt-tab__desc-wrap {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.4s var(--ease-out), opacity 0.35s var(--ease-out);
}
.vt-tab.is-active .vt-tab__desc-wrap {
  height: 9.5rem;
  opacity: 1;
}

.vt-tab__desc {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.65;
  font-weight: 300;
  margin: var(--space-3) 0 0;
}

/* Per-tab image — desktop uses the shared gallery, so hide these there */
.vt-tab__media { display: none; }

/* Gallery */
.vt-right {
  align-self: center;
}

.vt-gallery {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface);
}

.vt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.vt-slide.is-active {
  opacity: 1;
}
.vt-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav buttons */
.vt-nav {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}
.vt-nav__btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(0,21,32,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.vt-nav__btn:hover { background: rgba(42,125,225,0.6); transform: scale(1.05); }
.vt-nav__btn:active { transform: scale(0.95); }

@media (max-width: 900px) {
  .vt-grid {
    grid-template-columns: 1fr;
  }
  /* Stacked layout: title on top, then each subtitle. Drop the shared carousel.
     Only the auto-slide's active block reveals its description + image. */
  .vt-right { display: none; }

  /* Collapsed by default; the active tab expands to its natural height */
  .vt-tab__desc-wrap { height: 0; opacity: 0; overflow: hidden; }
  .vt-tab.is-active .vt-tab__desc-wrap {
    height: auto;
    opacity: 1;
  }

  /* Image only shows on the active block, below its "Learn more" */
  .vt-tab__media {
    display: none;
    margin-top: var(--space-5);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
  }
  .vt-tab.is-active .vt-tab__media { display: block; }
  .vt-tab__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.pc-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.pc-inner {
  display: flex;
  min-height: 620px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-inline: clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
}

/* Left panel */
.pc-left {
  width: 40%;
  flex-shrink: 0;
  background: var(--color-blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.5rem);
  gap: var(--space-10);
  position: relative;
  overflow: hidden;
}

.pc-left::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.pc-left__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pc-left__header h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Chips */
.pc-chips {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pc-chip {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.pc-chip:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
}

.pc-chip.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--color-blue);
}

.pc-chip__num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.3s;
}

.pc-chip.is-active .pc-chip__num {
  opacity: 1;
}

.pc-chip__label {
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Right panel */
.pc-right {
  flex: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-left: 1px solid var(--color-border);
}

.pc-cards {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
}

/* Cards */
.pc-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.5s ease;
  border: 6px solid var(--color-surface);
  background: var(--color-off-white);
  will-change: transform, opacity;
}

.pc-card[data-status="active"] {
  transform: translateX(0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 20;
}

.pc-card[data-status="prev"] {
  transform: translateX(-72px) scale(0.88) rotate(-3deg);
  opacity: 0.4;
  z-index: 10;
  pointer-events: none;
}

.pc-card[data-status="next"] {
  transform: translateX(72px) scale(0.88) rotate(3deg);
  opacity: 0.4;
  z-index: 10;
  pointer-events: none;
}

.pc-card[data-status="hidden"] {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.pc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.6s ease;
}

.pc-card[data-status="active"] img {
  filter: none;
}

.pc-card:not([data-status="active"]) img {
  filter: grayscale(0.6) blur(1px) brightness(0.65);
}

/* Live indicator */
.pc-card__live {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity 0.4s ease 0.25s;
}

.pc-card[data-status="active"] .pc-card__live {
  opacity: 1;
}

.pc-card__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pc-pulse 2.2s infinite;
}

.pc-card__live span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-family: monospace;
}

@keyframes pc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Card overlay */
.pc-card__overlay {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  padding: var(--space-12) var(--space-7) var(--space-7);
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pc-card[data-status="active"] .pc-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.pc-card__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  width: fit-content;
}

.pc-card__desc {
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

.pc-card__cta {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

/* Mobile */
@media (max-width: 900px) {
  .pc-inner {
    flex-direction: column;
    min-height: unset;
  }

  .pc-left {
    width: 100%;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-8);
  }

  .pc-right {
    padding: var(--space-8) var(--space-6);
    min-height: 480px;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip {
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-8);
}

.stats-strip__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.stats-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.stats-strip__val {
  font-size: clamp(1.8rem, 3vw, var(--text-5xl));
  font-weight: 700;
  color: var(--color-orange-light);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats-strip__label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-strip__divider {
  color: var(--color-border);
  font-size: var(--text-xl);
  font-weight: 100;
}

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  max-width: 680px;
  margin-bottom: var(--space-16);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-label::before {
  display: none;
}

.section-header h2 {
  margin-bottom: var(--space-5);
}

.section-header p {
  color: var(--color-text-3);
  font-size: var(--text-lg);
  font-weight: 300;
}

/* ── How Leap Works ──────────────────────────────────────── */
.how-it-works {
  padding-block: var(--section-pad-y);
}

.how-it-works__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-10);
  position: relative;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-border) 0%, transparent 100%);
}

.step-item:last-child::before {
  display: none;
}

.step-item__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-teal-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-secondary);
  position: relative;
  z-index: 1;
}

.step-item__content h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  margin-top: var(--space-2);
}

.step-item__content p {
  color: var(--color-text-3);
  font-size: var(--text-base);
  font-weight: 300;
}

.how-it-works__visual {
  position: relative;
}

.how-it-works__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-surface);
}

.how-it-works__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.how-it-works__badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(42,125,225,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.how-it-works__badge-text strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: -0.03em;
  line-height: 1;
}

.how-it-works__badge-text span {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  font-weight: 400;
}

/* ── Why Leap (Dark Section) ─────────────────────────────── */
.why-leap {
  padding-block: var(--section-pad-y);
  position: relative;
  overflow: hidden;
}

.why-leap__bg {
  position: absolute;
  inset: 0;
}

.why-leap__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.why-leap__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(42,125,225,0.07) 0%, transparent 70%);
}

.why-leap__inner {
  position: relative;
  z-index: 1;
}

.why-leap__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.why-leap__header h2 {
  color: var(--color-white);
  margin: 0;
}

.why-leap__lead {
  color: var(--color-text-2);
  font-size: var(--text-lg);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: var(--space-16);
  line-height: 1.65;
}

.why-leap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feature-card {
  background: rgba(255,255,255,0.04);
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-xl);
  transition: background 0.3s var(--ease-out);
  position: relative;
}

.feature-card:hover {
  background: rgba(255,255,255,0.04);
}

.feature-card__num {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-8);
  display: block;
}

.feature-card__title {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.feature-card__desc {
  color: var(--color-text-2);
}

/* ── Quote / Editorial ───────────────────────────────────── */
.quote-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.editorial-quote {
  max-width: 1000px;
  margin-inline: auto;
}

.editorial-quote p {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 3.5vw, var(--text-4xl));
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
  padding-left: var(--space-10);
  border-left: 2px solid var(--color-blue);
}

.editorial-quote footer {
  padding-left: var(--space-10);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.editorial-quote footer::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-text-4);
  flex-shrink: 0;
}

.editorial-quote footer strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.editorial-quote footer span {
  font-size: var(--text-sm);
  color: var(--color-text-3);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
  overflow: hidden;
}

.cta-banner__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-banner .mesh-canvas {
  opacity: 0.5;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.cta-banner__inner h2 {
  color: var(--color-white);
  /* Excluded from the lighter section-heading weight: this is the display
     headline before the footer and keeps its own treatment. */
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--space-8);
}

.cta-banner__inner p {
  color: var(--color-text-2);
  font-size: var(--text-lg);
  font-weight: 300;
  margin-bottom: var(--space-12);
  line-height: 1.65;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

/* On mobile, stack the action buttons — kept short (content width), centered */
@media (max-width: 768px) {
  .cta-banner__actions,
  .btn-row {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
}

/* Newsletter form inside CTA banner — column layout so inputs sit above button */
.cta-banner .newsletter-form {
  flex-direction: column;
  align-items: center;
  min-width: unset;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.cta-banner .newsletter-form__row {
  width: 100%;
  justify-content: center;
}

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter-section {
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-border);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}

.newsletter-text h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.newsletter-text p {
  color: var(--color-text-3);
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: 420px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  height: 48px;
  padding: 0 var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  background: var(--color-off-white);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-blue);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-4);
}

/* ── Page Hero (Inner Pages) ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-32));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(160px, 28vh, 340px);
  background: linear-gradient(to bottom, transparent, #001520);
  pointer-events: none;
  z-index: 2;
}



.page-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.page-hero__glow {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(42,125,225,0.12) 0%, transparent 70%);
}

.page-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.page-hero__inner .hero__actions {
  justify-content: flex-start;
}

/* Centered variant of the page hero */
.page-hero__inner--center {
  margin-inline: auto;
  text-align: center;
}
.page-hero__inner--center .page-hero__lead {
  margin-inline: auto;
}
.page-hero__inner--center .hero__actions {
  justify-content: center;
}

/* Eyebrow without the leading dash/line */
.page-hero__eyebrow--no-line {
  gap: 0;
}
.page-hero__eyebrow--no-line::before {
  display: none;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-6);
}

.page-hero__eyebrow::before {
  display: none;
}

.page-hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-6);
  font-size: clamp(2.5rem, 5vw, var(--text-6xl));
}

/* Keep on one line only where there's room; wrap naturally on mobile */
@media (min-width: 768px) {
  .page-hero__title--nowrap-lg { white-space: nowrap; }
}

.page-hero__lead {
  color: var(--color-text-2);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

/* ── Individual insight / post hero ─────────────────────── */
.page-hero--post { padding-bottom: var(--space-12); }

/* Leap-blue eyebrow with a little breathing room below it */
.page-hero__eyebrow--post {
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}
.page-hero__eyebrow--post a { color: inherit; text-decoration: none; }
.page-hero__eyebrow--post a:hover { color: var(--color-blue-light); }

/* Keep the headline tidy — sized to fit two lines, hard-capped at two */
.page-hero__title--post {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  text-wrap: balance;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Tighten the gap between the date/author line and the content below */
.page-hero__lead--post { margin-bottom: var(--space-2); }
.page-hero--post + .content-section { padding-top: var(--space-8); }

/* ── Content Section (Light) ─────────────────────────────── */
.content-section {
  padding-block: var(--section-pad-y);
}

.content-section--alt {
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(42,125,225,0.2);
}

/* ── News / Blog ─────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.news-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card__image {
  aspect-ratio: 16/9;
  background: var(--color-surface);
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__body {
  padding: var(--space-8) var(--space-8);
}

.news-card__cat {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

.news-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: var(--space-5);
}

.news-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-4);
}

/* ── Team Card ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  font-weight: 300;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-off-white);
  outline: none;
  transition: border-color 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
}

.form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(42,125,225,0.12);
}

textarea.form-input {
  height: auto;
  min-height: 140px;
  padding-top: var(--space-4);
  resize: vertical;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-16);
}

/* ── Pill / Tag ──────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding-inline: var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  background: rgba(42,125,225,0.1);
  color: var(--color-blue);
}

.pill--orange {
  background: rgba(230,83,0,0.1);
  color: var(--color-orange);
}

.pill--teal {
  background: rgba(0,183,200,0.12);
  color: #00B7C8;
}

/* ── GSAP Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #001520 0%, #00101a 45%, #00060c 100%);
}

/* Faded mesh grid over the darker footer gradient */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer__top {
  padding-block: var(--space-20) var(--space-16);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
}

.site-footer__logo {
  display: block;
  margin-bottom: var(--space-5);
}

.site-footer__logo img {
  height: 36px;
  width: auto;
}

.site-footer__tagline {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: var(--space-6);
  /* Mobile runs the full column width — a 260px cap left a narrow ribbon of
     text against a much wider footer. Desktop keeps a measure below. */
  max-width: none;
}
/* Desktop: keep the tagline to a readable measure, roughly four lines */
@media (min-width: 769px) {
  .site-footer__tagline { max-width: 330px; }
}

.site-footer__social {
  display: flex;
  gap: var(--space-3);
}

/* Footer search */
.footer-search {
  display: flex;
  margin-top: var(--space-6);
  max-width: 320px;
}
.footer-search__input {
  flex: 1;
  min-width: 0;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.footer-search__input::placeholder { color: rgba(255,255,255,0.4); }
.footer-search__input:focus { border-color: rgba(42,125,225,0.5); }
.footer-search__btn {
  width: 46px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: none;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.footer-search__btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
}

.social-link:hover {
  background: rgba(42,125,225,0.2);
  border-color: rgba(42,125,225,0.3);
  color: var(--color-blue);
}

.site-footer__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-5);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--color-white);
}

.site-footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__contact p {
  font-size: var(--text-sm);
}

.site-footer__contact a {
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  transition: color 0.2s;
}

.site-footer__contact a:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.site-footer__legal {
  display: flex;
  gap: var(--space-6);
}

.site-footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.site-footer__legal a:hover {
  color: rgba(255,255,255,0.6);
}

/* ── Search Results Page ─────────────────────────────────── */
.search-hero__form {
  display: flex;
  align-items: center;
  margin-top: var(--space-8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  max-width: 560px;
  overflow: hidden;
}
.search-hero__input {
  flex: 1;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 var(--space-5);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  color: var(--color-text);
}
.search-hero__input::placeholder { color: rgba(255,255,255,0.3); }
.search-hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-blue);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.search-hero__btn:hover { background: var(--color-blue-light); }

.search-results__count {
  font-size: var(--text-sm);
  color: var(--color-text-4);
  margin-bottom: var(--space-10);
  letter-spacing: 0.04em;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.search-result {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}
.search-result:last-child { border-bottom: 1px solid var(--color-border); }

.search-result__type {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}
.search-result__title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}
.search-result__title a { color: var(--color-text); transition: color 0.2s; }
.search-result__title a:hover { color: var(--color-blue); }
.search-result__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-3);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 680px;
}

/* ── 404 ─────────────────────────────────────────────────── */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.error-404__code {
  font-size: var(--text-8xl);
  font-weight: 700;
  color: var(--color-surface);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* ── Form Feedback ───────────────────────────────────────── */
.form-feedback {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.form-feedback--success {
  background: rgba(42,125,225,0.08);
  border: 1px solid rgba(42,125,225,0.2);
  color: var(--color-blue);
}

.form-feedback--error {
  background: rgba(230,83,0,0.06);
  border: 1px solid rgba(230,83,0,0.2);
  color: var(--color-orange);
}

.form-feedback a {
  text-decoration: underline;
  color: inherit;
}

/* ── Leap Intro (2-col intro layout) ────────────────────── */
.leap-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  padding-block: var(--space-8) 0;
}

.leap-intro__h {
  color: var(--color-text);
  margin: 0;
}

.leap-intro__body {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-2);
}

.leap-intro__body p {
  font-size: var(--text-lg);
  color: var(--color-text-2);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Capabilities Section ────────────────────────────────── */
.capabilities-section {
  padding-block: var(--section-pad-y);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-10) var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: background 0.25s var(--ease-out);
}

.capability-card:not([data-glow]):hover {
  background: rgba(255,255,255,0.06);
}

.capability-card__num {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.capability-card__content h3 {
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.capability-card__content p {
  color: var(--color-text-3);
}

/* ── Newsletter Form Row ─────────────────────────────────── */
.newsletter-form__row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.newsletter-form__row input[type="email"],
.newsletter-form__row select {
  height: 52px;
  padding: 0 var(--space-5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.07);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s var(--ease-out),
              background 0.2s var(--ease-out);
}

.newsletter-form__row input[type="email"] {
  flex: 1 1 240px;
  min-width: 200px;
}

.newsletter-form__row input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-form__row select {
  flex: 0 1 220px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
  color: rgba(255,255,255,0.5);
}

.newsletter-form__row select option {
  background: var(--color-teal-dark);
  color: var(--color-white);
}

.newsletter-form__row input:focus,
.newsletter-form__row select:focus {
  border-color: rgba(42,125,225,0.5);
  background: rgba(255,255,255,0.1);
}

/* ── Footprint Cities ────────────────────────────────────── */
.footprint-cities {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  margin-top: var(--space-12);
}

.footprint-city {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-8);
  border-right: 1px solid var(--color-border);
}

.footprint-city__reach {
  padding: var(--space-8);
  display: flex;
  align-items: center;
}

.footprint-city__reach p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  font-weight: 300;
  line-height: 1.65;
}

.footprint-city__num {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-text-4);
  flex-shrink: 0;
  margin-top: 3px;
}

.footprint-city__name {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.footprint-city__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-4);
  margin-bottom: var(--space-3);
}

.footprint-city__address {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-3);
  font-weight: 300;
  line-height: 1.65;
}

/* ── Founders Grid ───────────────────────────────────────── */
/* ── Founders Group Photo (About page) ────────────────────── */
.founders-mosaic {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  min-height: 560px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  /* Studio backdrop so the cutout figures read as one group shot */
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(0,77,104,0.35) 0%, transparent 60%),
    linear-gradient(to bottom, var(--color-surface) 0%, var(--color-teal-dark) 100%);
}

/* Backdrop — the Dallas skyline sits behind the group at all times.
   ::before is the photo, ::after is the teal wash on top of it. Both sit
   under the cutout figures and never take pointer events. */
.founders-mosaic::before,
.founders-mosaic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out);
}

/* The photo is the base layer — fully opaque, so how light the section reads
   is controlled entirely by the teal wash above it. */
.founders-mosaic::before {
  background-image: var(--founder-bg, none);
  background-size: cover;
  background-position: center;
  /* Pushed further back than a plain photo: desaturated and softened so the
     skyline reads as texture behind the group rather than a picture of a city. */
  filter: saturate(0.6) blur(2px);
  transform: scale(1.04);          /* hides the blur's soft edge */
  opacity: 1;
}

/* Teal wash. Sits deep at rest so the resting state already looks close to the
   hover state — the skyline stays legible but stays atmosphere. Hovering only
   deepens it a little further, which keeps the change from feeling like a
   different image swapping in. */
.founders-mosaic::after {
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(0,56,77,0.46) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,56,77,0.58) 0%, rgba(0,31,43,0.86) 100%);
  opacity: 1;
}

.founders-mosaic:has(.founder-tile:hover)::after {
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(0,56,77,0.55) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,56,77,0.72) 0%, rgba(0,31,43,0.92) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .founders-mosaic::before,
  .founders-mosaic::after { transition-duration: 0.2s; }
}

/* The mobile view turns the mosaic into a horizontal scroller, where an
   inset-0 layer would scroll away from the content. Keep the flat gradient. */
@media (max-width: 768px) {
  .founders-mosaic::before { display: none; }
  .founders-mosaic::after  { display: none; }
}

.founder-tile {
  z-index: 1;                       /* stay above the backdrop layers */
  position: relative;
  flex: 0 0 auto;
  width: 30%;
  cursor: pointer;
  align-self: flex-end;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.4s ease;
}

/* Overlap each figure onto the previous one, like a posed group photo */
.founder-tile:not(:first-child) {
  margin-left: -9%;
}

/* Slight depth stagger so the group doesn't look flat.
   Allen (1) and Peyton (3) are a touch shorter, so size them down a bit. */
.founder-tile:nth-child(1) { z-index: 2; width: 26.5%; transform: translateY(8px); }
.founder-tile:nth-child(2) { z-index: 3; }
.founder-tile:nth-child(3) { z-index: 3; width: 26.5%; transform: translateY(6px); }
.founder-tile:nth-child(4) { z-index: 2; transform: translateY(12px); }

.founder-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.45));
  transition: filter 0.4s ease;
}

/* When any figure is hovered, push the rest back: grayscale + blur + dim */
.founders-mosaic:has(.founder-tile:hover) .founder-tile {
  filter: grayscale(1) brightness(0.55) blur(3px);
}

/* Hovered figure steps forward — full color, raised, on top */
.founders-mosaic:has(.founder-tile:hover) .founder-tile:hover {
  filter: none;
  z-index: 10;
  transform: translateY(-14px) scale(1.04);
}

/* Bio speech bubble — sits low on the hovered figure, tail pointing up at them */
.founder-tile__info {
  position: absolute;
  bottom: 1%;
  left: 50%;
  width: 420px;
  max-width: 88vw;
  transform: translate(-50%, 12px);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: rgba(0,16,24,0.94);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 54px rgba(0,0,0,0.55);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 11;
  transition: opacity 0.35s ease,
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tail at the top of the bubble, pointing up toward the figure */
.founder-tile__info::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-bottom-color: rgba(0,16,24,0.94);
}

.founder-tile:hover .founder-tile__info {
  opacity: 1;
  transform: translate(-50%, 0);
}

.founder-tile__role {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-1);
}

.founder-tile__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}

.founder-tile__bio {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

/* Carousel arrows — mobile only */
.founders-nav { display: none; }

@media (max-width: 768px) {
  /* Pure-CSS swipe carousel — one partner per view, swipe to move.
     No JS needed to render, so it can't break. */
  .founders-mosaic {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-4);
    min-height: 0;
    margin-top: var(--space-8);
    padding: var(--space-6) var(--space-4);
    scroll-padding: var(--space-4);
  }
  .founders-mosaic::-webkit-scrollbar { display: none; }

  /* Neutralize the desktop group-photo overrides (they have higher specificity) */
  .founder-tile,
  .founder-tile:nth-child(1),
  .founder-tile:nth-child(2),
  .founder-tile:nth-child(3),
  .founder-tile:nth-child(4) {
    width: auto;
    z-index: auto;
    transform: none !important;
    margin-left: 0 !important;
  }
  .founder-tile {
    flex: 0 0 85%;
    scroll-snap-align: center;
    filter: none !important;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: none;
    border: none;
    border-radius: 0;
    padding: var(--space-4) var(--space-2);
  }
  .founder-tile img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 14px 22px rgba(0,0,0,0.4));
  }
  .founder-tile__info {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    max-width: none;
    margin-top: var(--space-3);
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-align: center;
  }
  .founder-tile__info::after { display: none; }
}

/* ── Founders coverflow (JS, mobile) — circular-testimonials style ── */
.fcov { display: none; }

@media (max-width: 768px) {
  /* When JS builds the coverflow, swap the swipe carousel for it */
  .founders-mosaic.has-coverflow {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
    min-height: 0;
    padding: var(--space-10) var(--space-4) var(--space-8);
  }
  .founders-mosaic.has-coverflow .founder-tile { display: none; }
  .founders-mosaic.has-coverflow .fcov { display: block; }
}

.fcov__stage {
  position: relative;
  height: 19rem;
  perspective: 1000px;
  margin-bottom: var(--space-6);
}
.fcov__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 100%;
  transform: translateX(-50%);
  transition: transform 0.7s cubic-bezier(0.4, 2, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-surface) 0%, var(--color-teal-dark) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.fcov__card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  /* Faded edges — figure blends softly into the card background */
  -webkit-mask-image: radial-gradient(125% 115% at 50% 42%, #000 62%, transparent 100%);
  mask-image: radial-gradient(125% 115% at 50% 42%, #000 62%, transparent 100%);
}
.fcov__content {
  text-align: center;
  min-height: 10.5rem; /* stable so autoplay doesn't shift the page */
  padding: 0 var(--space-2);
}
.fcov__role {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-1);
}
.fcov__name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}
.fcov__bio {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}
@media (max-width: 768px) {
  .fcov__bio { font-size: 0.8125rem; } /* a touch smaller on mobile */
}
.fcov__nav {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
}
.fcov__btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal-dark);
  color: #f1f1f7;
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}
.fcov__btn:hover,
.fcov__btn:active { background: var(--color-blue); transform: scale(1.06); }

/* ── Reason Grid (Distributors page) ────────────────────── */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.reason-card {
  padding: var(--space-10) var(--space-10);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: background 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.reason-card:hover {
  background: rgba(255,255,255,0.06);
}

.reason-card__num {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.reason-card__h {
  color: var(--color-text);
  margin: 0;
}

.reason-card p {
  color: var(--color-text-2);
  margin: 0;
}

/* ── Better Together Section ─────────────────────────────── */
.better-together-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.better-together-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.better-together-section__words {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.better-together-section__words span {
  /* Aleo italic — the same face the eyebrows use, set large. Size is unchanged;
     tracking is eased back from -0.05em because a serif at this scale needs the
     room a geometric sans does not. */
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 0.9;
  opacity: 1;
  display: block;
  transition: opacity 0.4s var(--ease-out);
}

.better-together-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-3);
}

.better-together-section__body p {
  font-size: var(--text-base);
  color: var(--color-text-2);
  font-weight: 300;
  line-height: 1.75;
}

.better-together-section__body p strong {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .how-it-works__layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .how-it-works__visual {
    order: -1;
  }

  .partnership-tiles {
    grid-template-columns: 1fr;
  }

  .partnership-tile {
    aspect-ratio: 4/3;
  }

  .partnership-tile + .partnership-tile {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .why-leap__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inner {
    flex-direction: column;
    gap: var(--space-8);
  }

  .newsletter-form {
    min-width: 0;
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leap-intro {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .footprint-cities {
    grid-template-columns: 1fr;
  }

  .footprint-city,
  .footprint-city__reach {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .footprint-city__reach {
    border-bottom: none;
  }


  .reason-grid {
    grid-template-columns: 1fr;
  }

  .better-together-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .better-together-section__words span {
    font-size: clamp(3rem, 8vw, 5rem);
  }
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: clamp(2.3rem, 9.8vw, 4rem);
    /* 0.95 is set for the big desktop lockup; over three stacked lines on a
       phone the descenders nearly touch the next line's caps. */
    line-height: 1.06;
  }
  /* Keep "in Medical Device" on a single line */
  .hero__nowrap { white-space: nowrap; }

  /* Lift the headline/subtext/buttons a little. The body is flex-centred
     between its own paddings, so extra padding at the bottom raises the block
     by half that amount — and leaves .hero__stats, which is absolutely pinned
     to the hero's bottom edge, exactly where it is. */
  .hero__body {
    padding-bottom: clamp(7rem, 16vw, 10rem);
  }

  /* More breathing room between the subtext and the buttons. .hero__foot is a
     flex column holding exactly those two, so its gap IS the space above the
     buttons — cleaner than a margin that would stack on top of it. */
  .hero__foot {
    gap: var(--space-8);
  }

  /* Buttons: genuinely side by side. `flex-wrap: wrap` alone still dropped the
     second button onto its own line — at 20px padding the pair needs ~387px and
     a 390px phone only offers ~342px inside the hero's side padding. So the two
     share the row equally (flex: 1 1 0) and the label scales down to fit. */
  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: var(--space-2, 0.5rem);
  }
  .hero__actions .btn--hero-primary,
  .hero__actions .btn--hero-ghost {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 44px;
    padding: 0 clamp(0.5rem, 2.4vw, 1.25rem);
    font-size: clamp(0.75rem, 3.1vw, 0.875rem);
    white-space: nowrap;
    justify-content: center;
  }
  /* The arrow is the first thing to go when space is genuinely tight. */
  @media (max-width: 379px) {
    .hero__actions .btn--hero-primary span[aria-hidden] { display: none; }
  }

  .why-leap__grid {
    grid-template-columns: 1fr;
  }

  .why-leap__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .partnerships-section__heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hide the scroll cue + line on mobile */
  .hero__scroll { display: none; }

  /* Numbers live inside the pinned hero on mobile (see .hero__stats),
     so the standalone proof bar is hidden here to avoid duplicates. */
  .stats-strip { display: none; }

  /* Static stats row, pinned at the bottom of the hero */
  .hero__stats {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(1.75rem, 7vw, 3.5rem);
    justify-content: center;
    gap: clamp(var(--space-4), 6vw, var(--space-8));
    padding-inline: var(--container-pad);
    z-index: 3;

    /* Held back until the visitor starts scrolling, then rises into place.
       JS adds .is-revealed — see the hero stats reveal in main.js. */
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: opacity, transform;
    pointer-events: none;
  }

  .hero__stats.is-revealed {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* No motion preference: still hidden first, but it just appears. */
  @media (prefers-reduced-motion: reduce) {
    .hero__stats {
      transition: opacity 0.2s linear;
      transform: none;
    }
  }
  .hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
  }
  .hero__stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange-light);
    letter-spacing: -0.04em;
    line-height: 1;
  }
  .hero__stat-label {
    font-size: 9px;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .editorial-quote p {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    padding-left: var(--space-6);
  }

  .editorial-quote footer {
    padding-left: var(--space-6);
  }

  .cta-banner__inner h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom .container {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .newsletter-form__row {
    flex-direction: column;
  }

  .newsletter-form__row input[type="email"],
  .newsletter-form__row select {
    width: 100%;
    flex: none;
  }

  .reason-card {
    padding: var(--space-8) var(--space-6);
  }

  .reason-card__h {
    font-size: var(--text-xl);
  }
}

/* ── Mobile Nav Overlay ──────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-teal-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-8) var(--space-8);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav__link {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateX(20px);
  transition: color 0.2s;
}

.mobile-nav__link:hover {
  color: var(--color-blue);
}

.mobile-nav__footer {
  margin-top: auto;
  padding-top: var(--space-8);
}

.mobile-nav__footer .btn {
  width: 100%;
  justify-content: center;
  font-size: var(--text-base);
  height: 52px;
}

/* ── Spotlight Glow Cards ────────────────────────────────── */
[data-glow] {
  --border-size:    calc(var(--border, 2) * 1px);
  --spotlight-size: calc(var(--size, 200) * 1px);
  --hue:            calc(var(--base, 210) + (var(--xp, 0) * var(--spread, 0)));
  --opacity:        0;
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at
    calc(var(--x, 50%) * 1px) calc(var(--y, 50%) * 1px),
    hsl(var(--hue) 100% 70% / calc(var(--bg-spot-opacity, 0.08) * var(--opacity))),
    transparent
  );
  background-color: var(--backdrop, transparent);
  border:           var(--border-size) solid var(--backup-border, rgba(255,255,255,0.08));
  position:         relative;
  transition:       --opacity 0.2s ease;
}

[data-glow]::before,
[data-glow]::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: inherit;
  background-size:     calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat:   no-repeat;
  background-position: 50% 50%;
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
}

[data-glow]::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
    calc(var(--x, 50%) * 1px) calc(var(--y, 50%) * 1px),
    hsl(var(--hue) 100% 50% / calc(var(--border-spot-opacity, 0.8) * var(--opacity))), transparent 100%
  );
  filter: brightness(2);
}

[data-glow]::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
    calc(var(--x, 50%) * 1px) calc(var(--y, 50%) * 1px),
    hsl(0 100% 100% / calc(var(--border-light-opacity, 0.15) * var(--opacity))), transparent 100%
  );
}

[data-glow] > [data-glow-inner] {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  will-change: filter;
  pointer-events: none;
}

/* Per-card color tokens */
.capability-card[data-glow] {
  --base:               210;
  --spread:             120;
  --backdrop:           rgba(2, 40, 58, 0.6);
  --backup-border:      rgba(255,255,255,0.07);
  --bg-spot-opacity:    0.07;
  --border-spot-opacity:0.9;
  --border-light-opacity:0.12;
  --border:             1.5;
  --size:               280;
}

.news-card[data-glow] {
  --base:               210;
  --spread:             100;
  --backdrop:           rgba(2, 40, 58, 0.7);
  --backup-border:      rgba(255,255,255,0.07);
  --bg-spot-opacity:    0.07;
  --border-spot-opacity:0.9;
  --border-light-opacity:0.12;
  --border:             1.5;
  --size:               260;
}

.feature-card[data-glow],
.reason-card[data-glow] {
  --base:               210;
  --spread:             100;
  --backdrop:           rgba(2, 40, 58, 0.5);
  --backup-border:      rgba(255,255,255,0.07);
  --bg-spot-opacity:    0.07;
  --border-spot-opacity:0.9;
  --border-light-opacity:0.12;
  --border:             1.5;
  --size:               300;
}

.founder-card[data-glow] {
  --base:               210;
  --spread:             80;
  --backdrop:           rgba(2, 40, 58, 0.5);
  --backup-border:      rgba(255,255,255,0.07);
  --bg-spot-opacity:    0.07;
  --border-spot-opacity:0.9;
  --border-light-opacity:0.12;
  --border:             1.5;
  --size:               280;
}

.card[data-glow] {
  --base:               210;
  --spread:             80;
  --backdrop:           rgba(2, 40, 58, 0.5);
  --backup-border:      rgba(255,255,255,0.07);
  --bg-spot-opacity:    0.06;
  --border-spot-opacity:0.8;
  --border-light-opacity:0.1;
  --border:             1.5;
  --size:               250;
}

/* ── Floating Search (all viewports) ─────────────────────── */
/* Stacked just above the chat toggle, bottom-right. */
.fabs { display: block; }

/* Hide the search while the chat is open; it returns when chat closes */
body:has(#leap-chat.is-open) .fabs { display: none; }

.fabs__toggle {
  position: fixed;
  bottom: calc(var(--space-6) + var(--fab-size) + var(--space-3));
  right: var(--space-6);
  z-index: 9001;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: var(--radius-full);
  background: rgba(0,21,32,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s;
}
.fabs__toggle:hover { transform: scale(1.08); color: var(--color-white); }
.fabs__icon-close { display: none; }
.fabs.is-open .fabs__icon-search { display: none; }
.fabs.is-open .fabs__icon-close  { display: block; }

/* Field expands horizontally to the LEFT of the toggle, same line */
.fabs__form {
  position: fixed;
  bottom: calc(var(--space-6) + var(--fab-size) + var(--space-3));
  right: calc(var(--space-6) + var(--fab-size) + var(--space-3));
  z-index: 9000;
  height: var(--fab-size);
  display: flex;
  align-items: center;
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  background: rgba(0,21,32,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
}
.fabs.is-open .fabs__form {
  width: min(320px, calc(100vw - var(--space-6) - var(--fab-size) - var(--space-3) - var(--space-4)));
  opacity: 1;
  pointer-events: all;
}
.fabs__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  color: var(--color-text);
}
.fabs__input::placeholder { color: rgba(255,255,255,0.35); }

/* Results float above the field, right-aligned to the toggle */
.fabs__results {
  position: fixed;
  bottom: calc(var(--space-6) + var(--fab-size) + var(--space-3) + var(--fab-size) + var(--space-3));
  right: var(--space-6);
  z-index: 9000;
  width: min(360px, calc(100vw - 2rem));
  max-height: 50vh;
  overflow-y: auto;
  background: rgba(0,21,32,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: none;
}
.fabs.is-open .fabs__results:not(:empty) { display: block; }

@media (max-width: 768px) {
  .fabs__toggle  { bottom: calc(var(--space-4) + var(--fab-size) + var(--space-3)); right: var(--space-4); }
  .fabs__form    { bottom: calc(var(--space-4) + var(--fab-size) + var(--space-3)); right: calc(var(--space-4) + var(--fab-size) + var(--space-3)); }
  .fabs.is-open .fabs__form { width: min(320px, calc(100vw - var(--space-4) - var(--fab-size) - var(--space-3) - var(--space-4))); }
  .fabs__results { bottom: calc(var(--space-4) + var(--fab-size) + var(--space-3) + var(--fab-size) + var(--space-3)); right: var(--space-4); }
}

/* ── AI Chat Widget ──────────────────────────────────────── */
/* Toggle always pinned bottom-right, panel floats above it */
.lc__toggle {
  /* Circle chat button removed — Trey is the only trigger now */
  display: none;
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9001;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: var(--radius-full);
  background: var(--color-blue);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(42,125,225,0.45);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.lc__toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(42,125,225,0.6); }
.lc__icon-close { display: none; }
.lc.is-open .lc__icon-chat  { display: none; }
.lc.is-open .lc__icon-close { display: block; }

.lc__panel {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9000;
  width: 400px;
  max-height: min(620px, calc(100vh - 8rem));
  border-radius: var(--radius-xl);
  /* Light panel: opaque, so the blur behind it is no longer doing anything. */
  background: #ffffff;
  border: 1px solid rgba(0,56,77,0.12);
  box-shadow: 0 18px 56px rgba(0,31,43,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  transform-origin: bottom right;
}
.lc.is-open .lc__panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

.lc__header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(0,56,77,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lc__header-info { display: flex; align-items: center; gap: var(--space-3); }
.lc__header-actions { display: flex; align-items: center; gap: var(--space-2); }
/* In-panel close button — the FAB is hidden everywhere now */
.lc__close {
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: rgba(0,56,77,0.07);
  border: none;
  color: #12242b;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.lc__close:hover { background: rgba(0,56,77,0.14); }
.lc__avatar {
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.lc__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%; /* frame Trey's face/smile */
}

/* Trey mascot peeking next to the chat button — click to open.
   Image is the fixed anchor; the bubble floats above it (absolute),
   so changing the bubble text never shifts Trey. */
.lc__trey {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9000;
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lc__trey img {
  display: block;
  width: 72px;
  height: auto;
  /* fade only the very bottom of the cutout into the background */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.lc__trey-bubble {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  right: 0;
  transform: none;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: opacity 0.3s ease;
}
/* Tuck Trey away once the chat is open */
.lc.is-open .lc__trey {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
}
@keyframes trey-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .lc__trey img { animation: none; }
}
@media (max-width: 480px) {
  .lc__trey { bottom: var(--space-4); right: var(--space-4); }
  .lc__trey img { width: 58px; }
  .lc__trey-bubble { font-size: 11px; }
}
.lc__name  { font-size: var(--text-sm); font-weight: 600; color: #12242b; }
.lc__status {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #5b7783;
}
.lc__status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: lc-pulse 2.5s infinite;
}
@keyframes lc-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.lc__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  scroll-behavior: smooth;
}
.lc__messages::-webkit-scrollbar { width: 4px; }
.lc__messages::-webkit-scrollbar-track { background: transparent; }
.lc__messages::-webkit-scrollbar-thumb { background: rgba(0,56,77,0.18); border-radius: 4px; }

.lc__msg { max-width: 85%; }
.lc__msg p {
  font-size: var(--text-sm);
  line-height: 1.55;
  padding: var(--space-3) var(--space-4);
  border-radius: 16px;
  margin: 0;
}
.lc__msg--ai p {
  background: #eef2f4;
  color: #12242b;
  border-bottom-left-radius: 4px;
}
.lc__msg--user {
  align-self: flex-end;
}
.lc__msg--user p {
  background: var(--color-blue);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.lc__typing p {
  display: flex; align-items: center; gap: 5px;
  padding: var(--space-3) var(--space-4);
  background: #eef2f4;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.lc__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7d97a1;
  animation: lc-bounce 1.2s infinite;
}
.lc__dot:nth-child(2) { animation-delay: 0.2s; }
.lc__dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes lc-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-5px); }
}

.lc__form {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid rgba(0,56,77,0.10);
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
}
.lc__input {
  flex: 1;
  background: #f5f8f9;
  border: 1px solid rgba(0,56,77,0.14);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: #12242b;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.2s;
  /* Auto-growing textarea */
  resize: none;
  overflow-y: auto;
  max-height: 120px;
  min-height: 38px;
}
.lc__input::placeholder { color: #5b7783; }
.lc__input:focus { border-color: rgba(42,125,225,0.5); }

.lc__send {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-blue);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.lc__send:hover { background: var(--color-blue-light); transform: scale(1.05); }
.lc__send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* Human handover */
.lc__handover-btn {
  background: transparent;
  border: 1px solid rgba(0,56,77,0.22);
  color: #2a5a66;
  font-size: 11px;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lc__handover-btn:hover { background: rgba(0,56,77,0.07); border-color: rgba(0,56,77,0.45); color: #00384D; }

.lc__handover {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  margin-top: var(--space-2);
  background: #f5f8f9;
  border: 1px solid rgba(0,56,77,0.12);
  border-radius: var(--radius-lg);
}
.lc__handover-title { font-size: var(--text-sm); font-weight: 600; color: #12242b; margin: 0 0 2px; }
.lc__handover-field {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0,56,77,0.16);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.7rem;
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  color: var(--color-text);
  outline: none;
  resize: none;
}
.lc__handover-field::placeholder { color: #5b7783; }
.lc__handover-field:focus { border-color: rgba(42,125,225,0.5); }
.lc__handover-send {
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.lc__handover-send:hover { background: var(--color-blue-light); }
.lc__handover-send:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
  .lc { bottom: var(--space-4); right: var(--space-4); }

  /* Panel anchored bottom, full width, sized to the visible viewport so the
     keyboard never crops it. JS refines the bottom offset when the keyboard opens. */
  .lc__panel {
    width: calc(100vw - 2rem);
    right: var(--space-4);
    left: var(--space-4);
    bottom: var(--space-4);
    max-height: min(72vh, 72dvh);
  }
  /* 16px prevents iOS from zooming the page in when the field is focused */
  .lc__input { font-size: 16px; }
}

/* ── Platform Page ───────────────────────────────────────── */

/* Hero split layout */
.page-hero--split { padding-bottom: var(--space-20); }
.platform-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-16));
}
.platform-hero__copy { position: relative; z-index: 1; }
.platform-hero__visual { position: relative; z-index: 1; }

/* ── Platform Animated Gallery Hero ─────────────────────── */
.phg-section {
  position: relative;
  overflow: hidden;
}
.phg-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(160px, 28vh, 340px);
  background: linear-gradient(to bottom, transparent, #001520);
  pointer-events: none;
  z-index: 4;
}

.phg-section > .mesh-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Header text */
.phg-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--space-32));
  padding-bottom: var(--space-16);
}
.phg-header__inner {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.phg-header .section-label {
  justify-content: center;
}
.phg-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin: var(--space-4) 0 var(--space-5);
}
.phg-lead {
  font-size: var(--text-lg);
  color: var(--color-text-2);
  font-weight: 300;
  line-height: 1.65;
  max-width: 560px;
  margin-inline: auto;
  text-wrap: pretty;
}

/* Prevent single-word orphans in the platform intro copy */
.leap-intro__body p,
.cta-banner p {
  text-wrap: pretty;
}

/* Keep this CTA line on a single row (wraps normally on small screens) */
@media (min-width: 768px) {
  .cta-banner__inner p.cta-oneline {
    white-space: nowrap;
    max-width: none;
    text-wrap: nowrap;
  }
}

/* Fade-in animation for header items */
.phg-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.phg-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.phg-fade:nth-child(2) { transition-delay: 0.1s; }
.phg-fade:nth-child(3) { transition-delay: 0.2s; }
.phg-fade:nth-child(4) { transition-delay: 0.35s; }

/* Scroll container */
.phg-scroll {
  height: 100vh;
  position: relative;
  z-index: 5;
}
.phg-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  perspective: 1200px;
  perspective-origin: center center;
}

/* Animated teal orb behind dashboard */
@keyframes phg-glow-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.6; transform: translate(-50%, -50%) scale(1.08); }
}
.phg-sticky::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 55%;
  background: radial-gradient(ellipse at center,
    rgba(0, 220, 185, 0.7)  0%,
    rgba(0, 190, 165, 0.38) 30%,
    rgba(0, 160, 145, 0.14) 55%,
    transparent 75%
  );
  filter: blur(55px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: phg-glow-pulse 4s ease-in-out infinite;
}

/* Single dashboard image */
.phg-single {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-6) var(--space-4) 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  /* Match GSAP starting state so there's no flat flash on load */
  transform: rotateX(32deg) scale(0.92);
}
@keyframes phg-edge-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px     rgba(0, 220, 185, 0.22),
      0 0 40px 12px  rgba(0, 210, 180, 0.18),
      0 0 100px 30px rgba(0, 190, 165, 0.11),
      0 24px 80px    rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 1px     rgba(0, 230, 195, 0.32),
      0 0 60px 20px  rgba(0, 215, 185, 0.26),
      0 0 140px 50px rgba(0, 190, 165, 0.15),
      0 24px 80px    rgba(0, 0, 0, 0.5);
  }
}
.phg-single img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

/* Laptop mockup frame around the dashboard screenshot */
.laptop-mockup {
  width: 100%;
  max-width: 1340px;
}

.laptop-mockup__screen {
  position: relative;
  background: #0b0f12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-sm) var(--radius-sm);
  padding: var(--space-5) var(--space-3) var(--space-3);
  animation: phg-edge-glow 3.5s ease-in-out infinite;
}

.laptop-mockup__camera {
  position: absolute;
  top: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.laptop-mockup__base {
  position: relative;
  height: 16px;
  margin: 0 -3%;
  background: linear-gradient(to bottom, #1c2226, #0b0f12);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.laptop-mockup__base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 6px;
  background: #0b0f12;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

@media (max-width: 768px) {
  .laptop-mockup__screen { padding: var(--space-4) var(--space-2) var(--space-2); }
  .laptop-mockup__base { height: 12px; }
}


/* ── "Built to move" visual — zoomed screenshot with faded bottom ─ */
.platform-cap__visual--shot {
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  border-radius: var(--radius-lg, 14px);
  aspect-ratio: 16 / 11;
  /* Fade the bottom of the block smoothly */
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 100%);
}
.platform-cap__visual--shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Zoom in while staying inside the 01 block */
  transform: scale(1.35);
  transform-origin: center top;
}
/* Block 02: keep the top half of the screenshot intact — full width, no zoom */
.platform-cap__visual--top img {
  transform: none;
  object-position: top center;
}

/* ── Tablet mockup (block 02) — same footprint as the other blocks ─ */
.platform-cap__visual--device {
  background: transparent;
  box-shadow: none;
}
.tablet-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #0b0f16;
  border-radius: 26px;
  padding: 16px;
  box-shadow:
    0 0 0 2px #1c2330,
    0 24px 60px rgba(0,0,0,0.5),
    inset 0 0 0 5px #05070b;
  /* Fade the whole frame (bezel + screen) out at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.tablet-mockup__cam {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a3444;
  z-index: 2;
}
.tablet-mockup__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
  background: #05070b;
}

@media (max-width: 768px) {
  /* No scroll-pin on mobile — laptop sits inline, no huge empty gap below it */
  .phg-scroll { height: auto; }
  .phg-sticky {
    position: static;
    height: auto;
  }
  .phg-single {
    height: auto;
    transform: none; /* flat, no tilt */
    padding: var(--space-6) var(--space-3) var(--space-4);
  }
  .phg-sticky::before { width: 100%; height: 80%; top: 50%; }
}

/* UI Frame (fake app window) */
.ui-frame {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(42,125,225,0.25);
  background: rgba(0,21,32,0.85);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(42,125,225,0.08);
}
.ui-frame__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.ui-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.ui-frame__dot:first-child { background: rgba(255,80,80,0.5); }
.ui-frame__dot:nth-child(2) { background: rgba(255,190,0,0.4); }
.ui-frame__dot:nth-child(3) { background: rgba(0,200,80,0.4); }
.ui-frame__title {
  font-size: 11px;
  color: var(--color-text-3);
  font-weight: 500;
  margin-left: var(--space-2);
  letter-spacing: 0.04em;
}
.ui-frame__body { padding: var(--space-5); }

/* Stride case log */
.stride-case__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.stride-case__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.stride-case__live {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.2);
}
.stride-case__meta {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stride-case__meta dt {
  font-size: 10px;
  color: var(--color-text-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.stride-case__meta dd {
  font-size: var(--text-xs);
  color: var(--color-text-2);
  font-weight: 500;
  margin: 0;
}
.stride-case__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.stride-row {
  display: grid;
  grid-template-columns: 20px 1fr auto auto;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  font-size: var(--text-xs);
  color: var(--color-text-3);
}
.stride-row--done { color: var(--color-text-2); }
.stride-row__check {
  font-size: 11px;
  color: #22c55e;
  text-align: center;
}
.stride-row__check--pending {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: block;
  margin: auto;
}
.stride-row__name { font-weight: 400; }
.stride-row__mfr { color: var(--color-text-4); font-size: 10px; }
.stride-row__time { color: var(--color-text-4); font-size: 10px; font-variant-numeric: tabular-nums; }
.stride-case__footer {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stride-case__status {
  font-size: 10px;
  color: var(--color-blue);
  letter-spacing: 0.04em;
}
.stride-case__count {
  font-size: 10px;
  color: var(--color-text-4);
  font-variant-numeric: tabular-nums;
}

/* Platform capabilities (alternating 2-col) */
.platform-cap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-border);
}
.platform-cap--reverse .platform-cap__copy { order: 2; }
.platform-cap--reverse .platform-cap__visual { order: 1; }
.platform-cap__num {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-3);
}
.platform-cap__h {
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.platform-cap__copy p {
  color: var(--color-text-3);
}
.platform-cap__visual--photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.platform-cap__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platform-cap__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,32,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}
.platform-cap__photo-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Platform capabilities — sticky stacking cards */
.platform-stack {
  position: relative;
  margin-top: var(--space-12);
}
/* Extra in-flow scroll runway so the third card fully seats into the stack
   (equal 24px gaps) and all three hold for a beat before releasing together.
   A sticky card is confined to its parent's CONTENT box, so this must be real
   content height — padding wouldn't extend the pin window. */
.platform-stack::after {
  content: "";
  display: block;
  height: 32vh;
}
.platform-stack__card {
  position: sticky;
  transform-origin: top center;
  will-change: transform;
  /* each capability becomes a self-contained surface panel */
  border-top: none;
  margin-bottom: var(--space-10);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    var(--color-surface);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(42,125,225,0.06);
}
/* All cards keep an equal bottom margin so they release at the same scroll
   point and exit locked together — the ::after below absorbs the extra runway. */
/* Every card pins at the SAME line so they release together at the end and
   scroll away as one group — no card left stranded on screen. The even 24px
   peek (and the equal spacing once stacked) comes from translateY, which shifts
   the card visually without moving its sticky release point. */
.platform-stack__card { top: calc(50vh - 264px); }
.platform-stack__card:nth-child(1) { z-index: 1; transform: translateY(0); }
.platform-stack__card:nth-child(2) { z-index: 2; transform: translateY(24px); }
.platform-stack__card:nth-child(3) { z-index: 3; transform: translateY(48px); }
/* dimming veil that fades in as a card gets covered (driven by --stack-dim) */
.platform-stack__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0,21,32,0.55);
  opacity: var(--stack-dim, 0);
  pointer-events: none;
  transition: opacity 0.1s linear;
}
/* Spotlight glow edge on hover — keeps the card's own surface/border,
   adds the site's cursor-tracked glowing edge (see [data-glow]) */
.platform-stack__card[data-glow] {
  --base:                210;
  --spread:              100;
  --bg-spot-opacity:     0;
  --border-spot-opacity: 0.9;
  --border-light-opacity:0.12;
  --border:              1.5;
  --size:                340;
}

/* Stride BI dashboard */
.stride-bi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.stride-bi__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.stride-bi__card--full { grid-column: 1 / -1; }
.stride-bi__label {
  font-size: 10px;
  color: var(--color-text-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.stride-bi__val {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-1);
  font-variant-numeric: tabular-nums;
}
.stride-bi__delta {
  font-size: 10px;
  color: var(--color-text-4);
}
.stride-bi__delta--up { color: #22c55e; }
.stride-bi__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: var(--space-3);
}
.stride-bi__bars span {
  flex: 1;
  background: var(--color-blue);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
}
.stride-bi__bars span:last-child { opacity: 1; }

/* Rep dashboard */
.platform-repdash {
  max-width: 640px;
  margin: var(--space-12) auto 0;
}

/* Rep dashboard — faded phone mockup sitting behind the copy */
.repdash-section {
  padding-block: clamp(6rem, 16vw, 12rem);
  margin-top: clamp(3rem, 9vw, 8rem);
}
.repdash-wrap { position: relative; }
.repdash-wrap .leap-intro { position: relative; z-index: 1; }
.repdash-wrap .leap-intro__body p { color: var(--color-white); }
.repdash-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1500px, 150%);
  height: auto;
  z-index: 0;
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
  /* soften the edges so it reads as a backdrop, not a hard image */
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 85%);
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 85%);
}
/* On mobile enlarge the backdrop but keep the whole phone inside its section.
   Image is 16:9, so at 220% width it's ~124vw tall — the min-height gives the
   section room to show it in full without clipping the phone or bleeding out. */
@media (max-width: 900px) {
  .repdash-section {
    overflow: hidden;
    min-height: 135vw;
    margin-top: clamp(5rem, 18vw, 10rem);
  }
  .repdash-bg {
    width: 220%;
    max-width: none;
    opacity: 0.4;
    /* fade only the far corners, well clear of the phone */
    -webkit-mask-image: radial-gradient(ellipse at center, #000 80%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, #000 80%, transparent 100%);
  }
}
.stride-rep__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.stride-rep__tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.stride-rep__label {
  font-size: 10px;
  color: var(--color-text-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.stride-rep__val {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-1);
}
.stride-rep__delta { font-size: var(--text-xs); color: #22c55e; }
.stride-rep__quota {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.stride-rep__quota-head {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-3);
  margin-bottom: var(--space-3);
}
.stride-rep__quota-pct { color: var(--color-blue); font-weight: 700; }
.stride-rep__bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.stride-rep__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal));
  border-radius: 999px;
}
.stride-rep__legend {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-4);
}

/* What's next list */
/* Extra breathing room above the roadmap section */
.roadmap-section { padding-top: clamp(6rem, 14vw, 11rem); }

/* ── Modern card timeline (roadmap) ─────────────────────────── */
.mtl {
  position: relative;
  max-width: 780px;
  margin: var(--space-12) auto 0;
}
/* Vertical rail + its scroll-driven fill.
   JS sets top/height so the line spans first icon → last icon only. */
.mtl__rail,
.mtl__rail-fill {
  position: absolute;
  left: 28px;                  /* centre of the 58px marker */
  top: 8px;
  width: 2px;
  border-radius: 2px;
}
.mtl__rail { bottom: 8px; background: var(--color-border); }
.mtl__rail-fill {
  bottom: 8px;
  background: linear-gradient(to bottom, var(--color-blue), var(--color-blue-light));
  transform: scaleY(0);
  transform-origin: top;
}

.mtl__item {
  position: relative;
  display: flex;
  align-items: center;          /* icon sits at the vertical centre of the card */
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  /* Hidden until the staggered reveal runs (JS); fallback below shows them */
  opacity: 0;
  transform: translateY(28px);
}
.mtl__item:last-child { margin-bottom: 0; }
.no-js .mtl__item { opacity: 1; transform: none; }

/* Icon in a ring; opaque bg masks the rail behind it */
.mtl__marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-text-3);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.mtl__item--current .mtl__marker {
  color: var(--color-blue-light);
  border-color: rgba(42,125,225,0.45);
}
.mtl__item--upcoming .mtl__marker {
  color: var(--color-orange-light);
  border-color: rgba(230,83,0,0.4);
}

/* Card — uses the site's spotlight-glow edge (see [data-glow]) + a subtle lift */
.mtl__card {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  transition: box-shadow 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}
.mtl__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
/* Glow edge colour tokens — matches the other cards across the site */
.mtl__card[data-glow] {
  --base:                210;
  --spread:              100;
  --backdrop:            rgba(2, 40, 58, 0.6);
  --backup-border:       rgba(255,255,255,0.07);
  --bg-spot-opacity:     0.07;
  --border-spot-opacity: 0.9;
  --border-light-opacity:0.12;
  --border:              1.5;
  --size:                260;
}
.mtl__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.mtl__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.2;
}
.mtl__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-3);
}
.mtl__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.mtl__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.mtl__badge--current {
  background: rgba(42,125,225,0.12);
  color: var(--color-blue-light);
  border-color: rgba(42,125,225,0.3);
}
.mtl__badge--upcoming {
  background: rgba(230,83,0,0.12);
  color: var(--color-orange-light);
  border-color: rgba(230,83,0,0.3);
}
.mtl__desc {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .mtl__item { gap: var(--space-4); }
  .mtl__card-top { flex-direction: column; }
}

/* Platform responsive */
@media (max-width: 900px) {
  .platform-hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-height) + var(--space-10)); }
  .platform-cap { grid-template-columns: 1fr; gap: var(--space-8); }
  .platform-cap--reverse .platform-cap__copy,
  .platform-cap--reverse .platform-cap__visual { order: unset; }
  .stride-bi { grid-template-columns: 1fr 1fr; }

  /* stacking effect is desktop-only — fall back to a clean vertical list */
  .platform-stack { margin-top: var(--space-8); }
  .platform-stack::after { display: none; } /* no sticky runway needed here */
  .platform-stack__card {
    position: static;
    transform: none !important;
    margin-bottom: var(--space-6);
    padding: var(--space-8);
  }
  .platform-stack__card::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-stack::after { display: none; }
  .platform-stack__card { position: static; transform: none !important; }
  .platform-stack__card::after { display: none; }
}

/* ── Surgeons Page ───────────────────────────────────────── */
.surgeon-trey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}
.surgeon-trey__video {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.surgeon-trey__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Solo video in a laptop mockup — centered + scroll-tilt like the platform page */
.surgeon-trey--solo {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-inline: auto;
  perspective: 1200px;
}
.surgeon-trey--solo .laptop-mockup {
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  /* Starting slant — GSAP straightens this as it scrolls in (matches phg) */
  transform: rotateX(28deg) scale(0.94);
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .surgeon-trey--solo { perspective: none; }
  .surgeon-trey--solo .laptop-mockup { transform: none; }
}
.surgeon-trey__player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  background: #000;
}
.surgeon-trey__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,21,32,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.surgeon-trey__video-overlay:hover { background: rgba(0,21,32,0.2); }
.surgeon-trey__play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(42,125,225,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.surgeon-trey__play:hover { transform: scale(1.08); background: var(--color-blue); }
.surgeon-trey__quote { margin: 0; padding: 0; border: none; }
.surgeon-trey__quote p {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.surgeon-trey__quote cite {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  font-style: normal;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.surgeon-trey__quote cite::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-blue);
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.specialty {
  padding: var(--space-2) var(--space-5);
  border: 1px solid rgba(42,125,225,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-2);
  background: rgba(42,125,225,0.07);
}
.specialty--more {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-text-4);
}

/* Meet Trey — headline + quote stacked to the left of the video */
.surgeon-trey__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Specialty auto-scroller (marquee) */
.specialty-marquee {
  margin-top: var(--space-10);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.specialty-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: specialty-scroll 90s linear infinite;
}
.specialty-marquee:hover .specialty-marquee__track {
  animation-play-state: paused;
}
.specialty-marquee__track li {
  white-space: nowrap;
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-2);
}
.specialty-marquee__track li::after {
  content: '•';
  margin: 0 var(--space-6);
  color: var(--color-blue);
  opacity: 0.5;
}
@keyframes specialty-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .specialty-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    gap: var(--space-3) 0;
  }
}

@media (max-width: 768px) {
  .surgeon-trey { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Hospital Coverage Globe — cinematic full-width, platform page
   ========================================================================== */

.accent-teal { color: #00d2af; }

/* ── Section ─────────────────────────────────────────────────── */
.hcm-section {
  position: relative;
  overflow: hidden;
  background:
    /* subtle star-like dots via layered radial-gradients */
    radial-gradient(1px 1px at  8% 12%, rgba(255,255,255,0.75) 0%, transparent 0%),
    radial-gradient(1px 1px at 18%  6%, rgba(255,255,255,0.55) 0%, transparent 0%),
    radial-gradient(1px 1px at 28% 18%, rgba(255,255,255,0.65) 0%, transparent 0%),
    radial-gradient(1px 1px at 38%  4%, rgba(255,255,255,0.80) 0%, transparent 0%),
    radial-gradient(1px 1px at 48% 14%, rgba(255,255,255,0.50) 0%, transparent 0%),
    radial-gradient(1px 1px at 58%  8%, rgba(255,255,255,0.70) 0%, transparent 0%),
    radial-gradient(1px 1px at 68% 16%, rgba(255,255,255,0.60) 0%, transparent 0%),
    radial-gradient(1px 1px at 78%  5%, rgba(255,255,255,0.85) 0%, transparent 0%),
    radial-gradient(1px 1px at 88% 11%, rgba(255,255,255,0.55) 0%, transparent 0%),
    radial-gradient(1px 1px at 94% 20%, rgba(255,255,255,0.65) 0%, transparent 0%),
    radial-gradient(1px 1px at  5% 28%, rgba(255,255,255,0.45) 0%, transparent 0%),
    radial-gradient(1px 1px at 14% 35%, rgba(255,255,255,0.60) 0%, transparent 0%),
    radial-gradient(1px 1px at 23% 42%, rgba(255,255,255,0.40) 0%, transparent 0%),
    radial-gradient(1px 1px at 33% 30%, rgba(255,255,255,0.70) 0%, transparent 0%),
    radial-gradient(1px 1px at 43% 38%, rgba(255,255,255,0.50) 0%, transparent 0%),
    radial-gradient(1px 1px at 53% 25%, rgba(255,255,255,0.65) 0%, transparent 0%),
    radial-gradient(1px 1px at 63% 40%, rgba(255,255,255,0.45) 0%, transparent 0%),
    radial-gradient(1px 1px at 73% 32%, rgba(255,255,255,0.75) 0%, transparent 0%),
    radial-gradient(1px 1px at 83% 22%, rgba(255,255,255,0.55) 0%, transparent 0%),
    radial-gradient(1px 1px at 93%  9%, rgba(255,255,255,0.80) 0%, transparent 0%),
    /* Sits in the site's teal-navy family rather than the near-black blue this
       used to run (#00010a, luminance 1.7 against the page's 16, and a G/B hue
       ratio of 0.10 vs the theme's ~0.66 — which is why it read as a different
       palette). Still deepens at the top so the mapped points stay legible,
       passes through the page background, and lifts to --color-dark-bg. */
    linear-gradient(to bottom, #000e16 0%, #001520 55%, #001f2b 100%);
  padding-bottom: 0;
}


/* ── Copy block ─────────────────────────────────────────────── */
.hcm-copy-wrap {
  position: relative;
  z-index: 3;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.hcm-copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.hcm-copy .section-label {
  justify-content: center;
}

.hcm-copy__h {
  color: #eceff1;
  margin: var(--space-4) 0 var(--space-5);
}

.hcm-copy__body {
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: 1.7;
  /* Wide enough for the sentence to settle into two balanced lines on
     desktop; still wraps naturally on narrower screens. */
  max-width: 82ch;
  text-wrap: balance;
  margin: 0 auto var(--space-4);
  font-weight: 300;
}

.hcm-copy__note {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto var(--space-8);
  font-weight: 300;
  font-style: italic;
}

/* ── Stats ── */
.hcm-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-6);
}

.hcm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.hcm-stat__val {
  font-size: clamp(1.8rem, 3vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-orange-light);
  line-height: 1;
}

/* Match the stats-strip — the "+" takes the same orange as the number */
.hcm-stat__val .accent-teal {
  color: inherit;
}

.hcm-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hcm-stat__divider {
  width: auto;
  height: auto;
  background: none;
  color: var(--color-border);
  font-size: var(--text-xl);
  font-weight: 100;
  line-height: 1;
  flex-shrink: 0;
}

.hcm-stat__divider::before {
  content: "—";
}

/* ── Badge ── */
.hcm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(0,210,175,0.75);
  background: rgba(0,210,175,0.07);
  border: 1px solid rgba(0,210,175,0.18);
  border-radius: var(--radius-full);
  padding: 5px 14px;
}

.hcm-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d2af;
  flex-shrink: 0;
  animation: hcm-pulse 2.5s ease-in-out infinite;
}

@keyframes hcm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.38; transform: scale(1.4); }
}

/* ── Globe wrap — crops to top hemisphere for from-orbit look ── */
.hcm-globe-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: clamp(360px, 60vw, 720px);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

#hcm-globe {
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width:  min(130vw, 1440px);
  height: min(130vw, 1440px);
  cursor: grab;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  border-radius: 50%;
}

#hcm-globe:active { cursor: grabbing; }

/* ── Hover tooltip ── */
.hcm-globe-tip {
  position: absolute;
  display: none;
  background: rgba(4, 12, 22, 0.96);
  border: 1px solid rgba(0,210,175,0.28);
  border-radius: 6px;
  padding: 7px 13px;
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
}

.hcm-globe-tip strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #eceff1;
}

.hcm-globe-tip span {
  display: block;
  font-size: 10px;
  color: rgba(0,210,175,0.8);
  margin-top: 2px;
}

/* ── MapLibre GL map container ───────────────────────────── */
#hcm-map {
  height: clamp(360px, 50vw, 580px);
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--space-10);
  border: 1px solid rgba(0, 210, 190, 0.2);
  box-shadow: 0 8px 64px rgba(0, 0, 0, 0.7), 0 0 48px rgba(0, 160, 140, 0.14);
}

/* ── Live sliding case feed ──────────────────────────────── */
.hcm-ticker {
  margin-top: var(--space-6);
  overflow: hidden;
  position: relative;
  /* Items fade in on the left and fade out on the right */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.hcm-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  white-space: nowrap;
  will-change: transform;
  animation: hcm-ticker-scroll 420s linear infinite;
}
.hcm-ticker:hover .hcm-ticker__track { animation-play-state: paused; }

.hcm-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-2);
  cursor: default;
  transition: color 0.2s;
}
.hcm-ticker__item:hover { color: #fff; }
.hcm-ticker__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.hcm-ticker__city { font-weight: 500; color: var(--color-text); }
.hcm-ticker__count { color: var(--color-text-3); }
.hcm-ticker__sep { color: rgba(0,210,190,0.5); }

@keyframes hcm-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* track holds 2 copies → seamless loop */
}

@media (prefers-reduced-motion: reduce) {
  .hcm-ticker__track { animation: none; }
}

/* ── Case dashboard ──────────────────────────────────────── */
.case-dash {
  margin-top: var(--space-10);
  margin-bottom: var(--section-pad-y); /* breathing room before the footer CTA */
}
.case-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.case-dash__eyebrow {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,210,190,0.85);
}
.case-dash__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.case-dash__filter {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.case-dash__filter:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.case-dash__filter.is-active {
  background: rgba(0,210,190,0.14);
  border-color: rgba(0,210,190,0.6);
  color: #fff;
}

.case-dash__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.case-dash__stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.case-dash__val {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-dash__label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-dash__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cd-bar {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  align-items: center;
  gap: var(--space-4);
}
.cd-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cd-bar__track {
  height: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.cd-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.cd-bar__val {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .case-dash__stats { grid-template-columns: repeat(2, 1fr); }
  .cd-bar { grid-template-columns: 84px 1fr 48px; gap: var(--space-3); }
  .cd-bar__label, .cd-bar__val { font-size: var(--text-xs); }
}
@media (prefers-reduced-motion: reduce) {
  .cd-bar__fill { transition: none; }
}

/* Reset MapLibre canvas + container defaults */
#hcm-map .maplibregl-map,
#hcm-map .maplibregl-canvas-container { background: #0d0d0d; }
#hcm-map .maplibregl-canvas { display: block; }

/* Hover popup */
#hcm-map .hcm-popup .maplibregl-popup-content {
  background: rgba(5, 18, 30, 0.94);
  border: 1px solid rgba(0, 210, 190, 0.35);
  border-radius: 7px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  padding: 9px 13px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  line-height: 1.4;
}
#hcm-map .hcm-popup .maplibregl-popup-content strong {
  display: block;
  font-weight: 600;
  color: #eceff1;
}
#hcm-map .hcm-popup .maplibregl-popup-content span {
  display: block;
  font-size: 11px;
  opacity: 0.72;
  margin-top: 2px;
  color: rgba(0, 210, 190, 0.9);
}
#hcm-map .hcm-popup .maplibregl-popup-tip {
  border-top-color: rgba(0, 210, 190, 0.35) !important;
}

/* Navigation (zoom) controls */
#hcm-map .maplibregl-ctrl-group {
  background: rgba(6, 30, 30, 0.9) !important;
  border: 1px solid rgba(0, 210, 190, 0.22) !important;
  box-shadow: none !important;
}
#hcm-map .maplibregl-ctrl-group button {
  background: transparent !important;
  color: rgba(0, 210, 190, 0.85) !important;
}
#hcm-map .maplibregl-ctrl-group button:hover {
  background: rgba(0, 210, 190, 0.1) !important;
}
#hcm-map .maplibregl-ctrl-group button + button {
  border-top: 1px solid rgba(0, 210, 190, 0.15) !important;
}
#hcm-map .maplibregl-ctrl-icon {
  filter: invert(0.7) sepia(1) hue-rotate(130deg) saturate(4);
}

/* Attribution */
#hcm-map .maplibregl-ctrl-attrib {
  background: rgba(6, 30, 30, 0.75) !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 10px !important;
}
#hcm-map .maplibregl-ctrl-attrib a { color: rgba(0,210,190,0.7) !important; }

@media (max-width: 768px) {
  .hcm-stats { gap: var(--space-5); }
  .hcm-stat__val { font-size: 1.5rem; }
  .hcm-globe-wrap { height: clamp(260px, 68vw, 420px); }
  #hcm-map { height: clamp(280px, 65vw, 400px); }
}

@media (max-width: 480px) {
  .hcm-copy__h { font-size: 1.75rem; }
  .hcm-stats { gap: var(--space-4); }
}

/* ── News List (editorial card grid) ─────────────────────── */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.news-card--editorial {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}

.news-card--editorial:hover {
  border-color: rgba(42,125,225,0.5);
  box-shadow: 0 18px 40px -12px rgba(42,125,225,0.18), var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card__visual {
  aspect-ratio: 16/9;
  background-color: var(--color-teal-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: background-size 0.6s var(--ease-out);
}

/* image zoom on hover (works with the inline background-image visuals) */
.news-card--editorial:hover .news-card__visual {
  background-size: 112%;
}

/* darkening + sheen overlay, like the glass reference card */
.news-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,31,43,0.85) 0%, rgba(0,31,43,0.1) 55%, transparent 100%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease-out);
}

.news-card--editorial:hover .news-card__visual::before {
  opacity: 0.65;
}

.news-card__visual--blue {
  background: linear-gradient(135deg, var(--color-blue) 0%, #1a5db8 100%);
}

.news-card__visual--orange {
  background: linear-gradient(135deg, var(--color-orange) 0%, #b84000 100%);
}

.news-card__pubmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.75em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,31,43,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease-out);
}

.news-card--editorial:hover .news-card__pubmark {
  background: rgba(0,31,43,0.7);
}

.news-card--editorial .news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-6);
  gap: var(--space-3);
}

.news-card--editorial .news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-4);
}

.news-card__type {
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(42,125,225,0.12);
  color: var(--color-blue);
}

.news-card__type--insight {
  background: rgba(230,83,0,0.12);
  color: var(--color-orange-light);
}

.news-card__hed {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}

.news-card--editorial .news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.news-card__source {
  font-size: var(--text-xs);
  color: var(--color-text-4);
}

.news-card__arrow {
  font-size: var(--text-sm);
  color: var(--color-blue);
  transition: transform 0.2s var(--ease-out);
}

.news-card--editorial:hover .news-card__arrow {
  transform: translateX(4px);
}

/* ── News pagination ─────────────────────────────────────── */
/* Paginated cards stay visible on every page (override reveal/stagger) */
.news-list[data-paginate] .news-card {
  opacity: 1 !important;
  transform: none !important;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

/* Individual post nav (prev/next) as text links: Previous left, Next right */
.news-pagination--post { justify-content: space-between; gap: var(--space-4); }
.news-pagination__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.news-pagination__link:hover { color: var(--color-text); }
.news-pagination__link span { transition: transform 0.2s var(--ease-out); }
.news-pagination__link--next { margin-left: auto; } /* stays right even if Previous is missing */
.news-pagination__link--prev:hover span { transform: translateX(-3px); }
.news-pagination__link--next:hover span { transform: translateX(3px); }

.news-pagination__pages {
  display: flex;
  gap: var(--space-2);
}

.news-pagination__page,
.news-pagination__arrow {
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.04);
  color: var(--color-text-2);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
}

.news-pagination__page:hover,
.news-pagination__arrow:not(:disabled):hover {
  background: rgba(255,255,255,0.09);
  color: var(--color-text);
}

.news-pagination__page.is-active {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-teal-dark);
}

.news-pagination__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .news-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .news-list { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ── Insight Article ─────────────────────────────────────── */
.insight-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  border: 1px solid rgba(230,83,0,0.35);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  margin-bottom: var(--space-6);
  background: rgba(230,83,0,0.08);
}

.insight-feature-image {
  margin-top: calc(-1 * var(--space-8));
  margin-bottom: var(--space-16);
}

.insight-feature-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
}

.insight-article {
  padding-block: var(--space-4) var(--space-24);
}

.insight-opening {
  margin-bottom: var(--space-16);
}

.insight-lede {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 3vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.insight-opening p,
.insight-section p,
.insight-closing p {
  font-size: var(--text-lg);
  color: var(--color-text-2);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.insight-rule {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  border: none;
  margin-block: var(--space-16);
}

.insight-section {
  margin-bottom: var(--space-16);
}

.insight-section h2,
.insight-closing h2 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.insight-section h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.insight-list {
  list-style: none;
  margin: var(--space-6) 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.insight-list li {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-2);
  line-height: 1.7;
  padding: var(--space-5) var(--space-6);
  background: var(--color-dark-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
}

.insight-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.insight-benefit {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-8);
  background: var(--color-dark-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}

.insight-benefit:hover {
  border-color: rgba(42,125,225,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.insight-benefit__num {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
  padding-top: 2px;
  opacity: 0.7;
}

.insight-benefit h3 {
  margin-bottom: var(--space-2);
}

.insight-benefit p {
  font-size: var(--text-base) !important;
  color: var(--color-text-2);
  line-height: 1.75;
  margin-bottom: 0 !important;
}

.insight-inline-image {
  margin-block: var(--space-16);
}

.insight-inline-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
}

.insight-inline-image--contained img {
  max-height: 560px;
}

.insight-closing {
  margin-bottom: var(--space-12);
}

.insight-post-nav {
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-8);
}

.insight-post-nav .arrow-link {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  transition: color 0.2s;
}

.insight-post-nav .arrow-link:hover {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .insight-benefit {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .insight-benefit__num {
    font-size: var(--text-xl);
  }
  .insight-feature-image img,
  .insight-inline-image img {
    border-radius: var(--radius-lg);
    max-height: 260px;
  }
}

/* ── Feature Band (full-width cinematic image) ──────────────── */
.feature-band {
  padding-block: var(--space-8);
}
.feature-band__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  box-shadow: 0 24px 60px -28px rgba(0,21,32,0.45);
}
.feature-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Brand tint so the photo reads as part of the dark navy theme */
.feature-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,21,32,0.32) 0%, rgba(0,21,32,0.10) 45%, rgba(0,21,32,0.72) 100%),
    linear-gradient(215deg, rgba(42,125,225,0.22) 0%, transparent 55%);
  mix-blend-mode: multiply;
}
.feature-band__caption { z-index: 2; }
.feature-band__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: var(--space-8) var(--space-8) var(--space-6);
  background: linear-gradient(to top, rgba(0,21,32,0.8) 0%, rgba(0,21,32,0.35) 45%, transparent 100%);
  color: rgba(255,255,255,0.94);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.feature-band__caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .feature-band__media { aspect-ratio: 4 / 3; }
  .feature-band__caption { padding: var(--space-6) var(--space-5) var(--space-5); }
}

/* ════════════════════════════════════════════════════════════
   Mobile card carousels (≤640px)
   Turns repeating card rows into swipeable, snap-scrolling
   carousels with a sliver of the next card peeking + dot
   indicators (dots are injected by main.js). Desktop (>1024px)
   and tablet grids above are intentionally left untouched.
   ════════════════════════════════════════════════════════════ */

/* Dots are hidden until a carousel is active (mobile only) */
.carousel-dots { display: none; }

@media (max-width: 640px) {

  .news-grid,
  .news-list,
  .capability-grid,
  .why-leap__grid,
  .reason-grid,
  .platform-stack {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    grid-template-columns: none;     /* drop any inherited grid */
    gap: var(--space-4);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* bleed to the screen edges so cards can swipe edge-to-edge */
    margin-inline: calc(var(--container-pad) * -1);
    padding-inline: var(--container-pad);
    padding-bottom: var(--space-2);
    scroll-padding-inline: var(--container-pad);
    scrollbar-width: none;           /* Firefox */
  }

  .news-grid::-webkit-scrollbar,
  .news-list::-webkit-scrollbar,
  .capability-grid::-webkit-scrollbar,
  .why-leap__grid::-webkit-scrollbar,
  .reason-grid::-webkit-scrollbar,
  .platform-stack::-webkit-scrollbar { display: none; }

  /* Each card takes ~85% so the next one peeks in */
  .news-grid > *,
  .news-list > *,
  .capability-grid > *,
  .why-leap__grid > *,
  .reason-grid > *,
  .platform-stack > * {
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: start;
  }

  /* Platform capability cards read as discrete carousel tiles */
  .platform-stack { margin-top: var(--space-8); }
  .platform-stack::after { display: none; } /* keep the runway spacer out of the carousel */
  .platform-stack__card {
    margin-bottom: 0;
    height: auto;
  }

  /* Dark band behind the whole carousel, running down past the dots */
  .platform-caps {
    background: rgba(0, 0, 0, 0.4);
  }

  /* Cards that were divider-separated in the stacked layout now
     read as discrete tiles in the carousel */
  .capability-card,
  .reason-card,
  .why-leap__grid > .feature-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
  }

  /* On mobile the paginated list becomes a swipe carousel like the others:
     show every card (override pagination's hiding) and drop the page controls. */
  .news-list[data-paginate] .news-card { display: flex !important; }
  .news-pagination:not(.news-pagination--post) { display: none; }

  /* Dot indicators */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
  }

  .carousel-dots__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: var(--radius-full);
    background: var(--color-text-4);
    cursor: pointer;
    transition: background 0.25s var(--ease-out),
                transform 0.25s var(--ease-out);
  }

  .carousel-dots__dot.is-active {
    background: var(--color-blue);
    transform: scale(1.35);
  }
}

/* ── Job posting (careers) ──────────────────────────────── */
.job-card {
  display: block;
  text-align: left;
}
.job-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.job-detail {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.job-detail h5 {
  margin: var(--space-8) 0 var(--space-3);
  color: #eceff1;
}
.job-detail h5:first-child { margin-top: 0; }
.job-detail p {
  color: var(--color-text-2);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.job-detail__label {
  color: #eceff1;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.job-detail ul {
  margin: 0 0 var(--space-5);
  padding-left: 1.4rem;
  list-style: disc;
}
.job-detail li {
  color: var(--color-text-2);
  font-weight: 300;
  line-height: 1.6;
  margin-top: var(--space-2);
}
.job-detail li:first-child { margin-top: 0; }
.job-detail li::marker { color: var(--color-orange); }

/* Collapsible "View more" toggle */
.job-toggle { margin-top: var(--space-5); }
.job-toggle__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-blue);
  padding: var(--space-2) 0;
  transition: color .2s ease;
}
.job-toggle__summary::-webkit-details-marker { display: none; }
.job-toggle__summary:hover { color: #fff; }
.job-toggle__summary:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.job-toggle__icon { transition: transform .25s ease; }
.job-toggle[open] .job-toggle__icon { transform: rotate(180deg); }
.job-toggle__label--less { display: none; }
.job-toggle[open] .job-toggle__label--more { display: none; }
.job-toggle[open] .job-toggle__label--less { display: inline; }

/* ── Apply modal ────────────────────────────────────────── */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-6);
  overflow-y: auto;
  background: rgba(0, 10, 18, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.apply-modal.is-open { display: flex; }
.apply-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: apply-modal-in .28s ease;
}
@keyframes apply-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.apply-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-2);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.apply-modal__close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.apply-modal__title { margin: var(--space-3) 0 var(--space-1); }
.apply-modal__sub {
  color: var(--color-text-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.apply-modal__form .form-group { margin-bottom: var(--space-4); }
.form-input--file {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--text-sm);
  color: var(--color-text-3);
  cursor: pointer;
}
.form-input--file::file-selector-button {
  margin-right: var(--space-3);
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.form-input--file::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.apply-modal__note {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--color-text-3);
}
/* Application success popup (careers) */
.apply-success { align-items: center; }
.apply-success__dialog { max-width: min(560px, calc(100vw - var(--space-6) * 2)); text-align: center; }
.apply-success__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(230, 83, 0, 0.12);
  color: var(--color-orange);
}
.apply-success__title { margin: 0 0 var(--space-2); }
.apply-success__text { color: var(--color-text-2); margin: 0; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .apply-modal__dialog { animation: none; }
  .job-toggle__icon { transition: none; }
}

/* ── Blog post body (single.php) ────────────────────────── */
.entry-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-2);
  font-weight: 300;
}
.entry-content > * + * { margin-top: var(--space-6); }
.entry-content p { margin: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #eceff1;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  /* Breathing room above every subheader, tighter to the copy it introduces */
  margin-top: var(--space-12);
  margin-bottom: var(--space-3);
}
/* First header shouldn't push a big gap when it opens the article */
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child { margin-top: 0; }
/* Prose sub-headings keep the heavier weight — they need to stand off the
   body copy around them, unlike standalone section headings. */
.entry-content h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 600; }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.entry-content h4 { font-size: var(--text-lg); }
.entry-content ul,
.entry-content ol {
  margin: 0;
  padding-left: 1.35rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { line-height: 1.7; padding-left: 0.35rem; }
.entry-content li + li { margin-top: var(--space-3); }
.entry-content li::marker { color: var(--color-orange); }
.entry-content a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: #fff; }
.entry-content strong { color: #eceff1; font-weight: 600; }
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ── "Let's talk" CTA at the end of insight posts ───────────
   Set apart from the article body: dark-teal top rule + tinted panel. */
.entry-content .post-cta {
  margin-top: var(--space-16);
  max-width: none;
  padding: var(--space-10) var(--space-8);
  border-top: 3px solid var(--color-teal-mid);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(0,77,104,0.22) 0%, rgba(0,56,77,0.10) 100%),
    var(--color-teal-dark);
}
.entry-content .post-cta > * + * { margin-top: var(--space-5); }
.entry-content .post-cta > :first-child { margin-top: 0; }
.entry-content .post-cta h2,
.entry-content .post-cta h3,
.entry-content .post-cta h4 {
  margin-top: 0;
  margin-bottom: 0;
  color: #fff;
}
.entry-content .post-cta a {
  color: var(--color-blue);
}
.entry-content .post-cta a:hover { color: #fff; }

/* ── Newsletter PDF viewer ──────────────────────────────── */
.pdf-flip-wrap { margin-top: var(--space-10); position: relative; }
.pdf-flip-viewport {
  width: 100%;
  margin: 0 auto;
  max-height: 82vh;
  overflow: auto;
  background: transparent;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;   /* two-finger pinch handled in JS */
}
.pdf-flip {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 100%;
  width: -moz-max-content;
  width: max-content;
}
.pdf-flip canvas { display: block; }
.pdf-spread {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  transition: opacity .2s ease, transform .2s ease;
  transform-origin: center top;
  will-change: opacity, transform;
}
.pdf-flip__loading {
  width: 100%;
  text-align: center;
  color: var(--color-text-3);
  font-size: var(--text-sm);
  padding: var(--space-16) 0;
}

/* Paging arrows tucked into the bottom corners of the viewer */
.pdf-flip__nav {
  position: absolute;
  bottom: var(--space-5);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,56,77,0.88);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.pdf-flip__nav:active { transform: scale(0.94); }
.pdf-flip__nav--prev { left: var(--space-5); }
.pdf-flip__nav--next { right: var(--space-5); }
.pdf-flip__nav:hover { background: var(--color-accent, #E65300); transform: translateY(-2px); }
.pdf-flip__nav:disabled { opacity: 0; pointer-events: none; }

/* Small zoom controls, top-right (also works on desktop where pinch isn't available) */
.pdf-flip__zoom {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 3;
}
.pdf-flip__zbtn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,56,77,0.78);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .2s ease, opacity .2s ease;
}
.pdf-flip__zbtn:hover { background: var(--color-accent, #E65300); }
.pdf-flip__zbtn:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 640px) {
  .pdf-flip__nav { width: 46px; height: 46px; bottom: var(--space-4); }
  .pdf-flip__nav--prev { left: var(--space-3); }
  .pdf-flip__nav--next { right: var(--space-3); }
}

/* ── Blog post top image ────────────────────────────────── */
.post-hero-media {
  position: relative;
  width: 100%;
  /* Pulled up toward the title, full width, shorter cinematic height */
  margin: calc(var(--section-pad-y) * -0.5) 0 var(--space-10);
  aspect-ratio: 21 / 9;
  background: transparent;
  /* Fade top & bottom so the image blends straight into the page background */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 78%, transparent 100%);
}
.post-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Tint the image into the site's dark navy theme + fade the base into the page */
.post-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,21,32,0.35) 0%, rgba(0,21,32,0.06) 42%, rgba(0,21,32,0.55) 78%, var(--color-bg) 100%),
    linear-gradient(215deg, rgba(42,125,225,0.20) 0%, transparent 55%);
  mix-blend-mode: multiply;
}
@media (max-width: 640px) {
  .post-hero-media { aspect-ratio: 16 / 10; }
}

/* News: trim the wide gap above "Press." (all breakpoints) */
.news-press { padding-top: var(--space-12); }

/* ════════════════════════════════════════════════════════════
   Mobile normalizations (kept at the end so they win on source
   order for equal-specificity rules).
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Consistent gap above the first content section after any page hero
     — trims the wide space above headings like "Send a Message",
     "Two hubs. One mission.", "Press.", etc. site-wide on mobile. */
  .page-hero + .content-section { padding-top: var(--space-8); }
  .about-footprint { padding-top: var(--space-5); }
  /* News: pull "Press." up into the hero's tall bottom padding */
  .news-press {
    padding-top: 0;
    margin-top: calc(var(--space-16) * -1);
  }

  /* One consistent body-paragraph size across every page */
  .page-hero__lead,
  .why-leap__lead,
  .leap-intro__body p,
  .feature-card__desc,
  .founder-tile__bio,
  .reason-card p,
  .capability-card p,
  .content-section p,
  .entry-content p,
  section p:not([class]) {
    font-size: var(--text-lg);
    line-height: 1.65;
  }
}


/* ── Card hover elevation ───────────────────────────────────
   The palette is dark, so the neutral --shadow-* tokens (10-12% black)
   barely register against card surfaces. This is a deeper shadow carrying a
   hint of azure — the same idea already used on .news-card--editorial, so
   every card lifts the same way.

   Transitions are re-declared only for cards that were not already animating
   box-shadow, and each keeps its original properties: the `transition`
   shorthand replaces the whole list, so omitting them would kill the existing
   background and transform animations. */
:root {
  --shadow-card-hover:
    0 18px 40px -12px rgba(0, 0, 0, 0.55),
    0 6px 18px -8px rgba(42, 125, 225, 0.25);
}

/* Already transition box-shadow — only the value needs deepening.
   The editorial news card keeps its own bespoke shadow. */
.card:hover,
.news-card:not(.news-card--editorial):hover {
  box-shadow: var(--shadow-card-hover);
}

.pc-card {
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1),
              opacity 0.5s ease,
              box-shadow 0.3s var(--ease-out);
}
.pc-card:hover { box-shadow: var(--shadow-card-hover); }

.feature-card {
  transition: background 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); }

.capability-card,
.reason-card {
  transition: background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.capability-card:hover,
.reason-card:hover { box-shadow: var(--shadow-card-hover); }

/* The team card is a bare layout wrapper — the photo is the visible surface. */
.team-card__photo {
  transition: box-shadow 0.3s var(--ease-out);
}
.team-card:hover .team-card__photo { box-shadow: var(--shadow-card-hover); }

/* Section headings are unified on the base h2 rule near the top of this file
   (32/41/48px, weight 500). Components no longer size their own h2 — they set
   only colour and spacing — so there is a single place to change the scale.
   Still opted out: .cta-banner__inner h2 (display headline before the footer),
   .entry-content h2 (article prose sub-headings), and card/list titles. */

/* ── Feature card type ──────────────────────────────────────
   One spec for every card that pairs a heading with a description, taken from
   the Distributors reason cards: 1.5rem/700 headings over 1rem/300 body.

   Previously each component set its own — feature and capability cards ran a
   step smaller (1.25rem headings, 0.875rem body) and the platform caps used a
   fluid clamp — so the same pattern looked different page to page. The
   components now declare only colour and spacing, so this is the single place
   to change card type. */
.reason-card__h,
.feature-card__title,
.capability-card__content h3,
.platform-cap__h {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.reason-card p,
.feature-card__desc,
.capability-card__content p,
.platform-cap__copy p {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Centred section intros ─────────────────────────────────
   Replaces inline text-align/margin styles on the Manufacturers and Hospitals
   intros. As classes they can be overridden per breakpoint — inline styles
   could not be, short of !important. */
.why-leap__header--center {
  justify-content: center;
  text-align: center;
}
.why-leap__lead--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* Mobile: centred headings and their leads read better ranged left — centred
   type on a narrow column gives ragged edges on both sides. */
@media (max-width: 768px) {
  .why-leap__header--center,
  .why-leap__lead--center,
  .section-header--center {
    text-align: left;
    justify-content: flex-start;
    margin-inline: 0;
  }
}

/* ── "New" badge ────────────────────────────────────────────
   Sits beside the Press/Insight chip for 24 hours after publishing. Borrows
   the chip's shape so the meta row still reads as one unit, but takes the
   orange accent — the only place that colour appears in a card, so it draws
   the eye without another size or weight in the mix. */
.news-card__new {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.2em 0.65em;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(230,83,0,0.14);
  color: var(--color-orange);
  border: 1px solid rgba(230,83,0,0.28);
  vertical-align: baseline;
}

/* Handover header: title on the left, a way back to the assistant on the right. */
.lc__handover-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.lc__handover-cancel {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #55707b;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.lc__handover-cancel:hover { color: var(--color-blue); }
.lc__handover-cancel:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 3px;
}
