/* ==========================================================================
   Client Vision for Providers — AiVRIC
   Everything is prefixed .cvh- and scoped, so nothing here can reach the rest
   of the site and the site's global rules can't reach in.

   Chapters: the page washes from pure white → faint blue → deep navy as you scroll.
   cvh.js writes --cvh-bg / --cvh-ink / … on .cvh-page during a transition;
   the values below are the day chapter, which is also the no-JS default.
   ========================================================================== */

.cvh-page {
  /* chapter tokens ------------------------------------------------------ */
  --cvh-bg: #ffffff;
  --cvh-surface: #f7f9fb;
  --cvh-ink: #0f172a;
  --cvh-ink-2: #475569;
  --cvh-line: #e4e9f0;
  --cvh-accent: #0077b6;
  --cvh-accent-ink: #ffffff;

  /* fixed ---------------------------------------------------------------- */
  /* close-section wash: deep AiVRIC navy, with no coral/pink interruption */
  --cvh-sunset: radial-gradient(900px 500px at 20% 0%, rgba(0,209,255,.22), transparent 60%), linear-gradient(135deg, #0b3550 0%, #0a1a30 48%, #050b17 100%);
  --cvh-display: "Jost", "Inter", "Segoe UI", system-ui, sans-serif;
  --cvh-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --cvh-wrap: 1180px;
  --cvh-header: 69px;   /* nav.css zeroes this when the bar floats on the hero */
  --cvh-nav: 69px;      /* the bar's measured height, written by cvh.js */

  position: relative;
  isolation: isolate;
  background: var(--cvh-bg);
  color: var(--cvh-ink);
  font-family: var(--cvh-ui);
  overflow-anchor: none;
}

/* scoped reset — the site styles h1–h4, p, a, img globally */
.cvh-page :where(h1, h2, h3, h4, p, ol, ul, li, figure, blockquote, figcaption) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}
.cvh-page :where(ol, ul) { list-style: none; }
.cvh-page :where(img) { display: block; max-width: 100%; }
.cvh-page :where(a) { color: inherit; }
.cvh-page :where(button, input) { font: inherit; color: inherit; }

.cvh { position: relative; z-index: 1; }
.cvh-wrap { max-width: var(--cvh-wrap); margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
.cvh-center { text-align: center; margin-inline: auto; }

.cvh-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- shared type ---------------------------------------------------------- */
.cvh-eyebrow {
  font: 600 12px/1.4 var(--cvh-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cvh-accent);
}
.cvh-h1 {
  font-family: var(--cvh-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cvh-h2 {
  font-family: var(--cvh-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cvh-h3 {
  font-family: var(--cvh-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cvh-lede { font-size: 1.15rem; line-height: 1.6; color: var(--cvh-ink-2); max-width: 60ch; }

.cvh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 12px;
  font: 600 16px var(--cvh-ui); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cvh-btn-primary { background: var(--cvh-accent); color: var(--cvh-accent-ink); }
.cvh-btn-primary:hover { background: #046289; }
.cvh-btn-light { background: #fff; color: #0b2138; }
.cvh-btn-light:hover { background: #e9eef4; }
.cvh-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cvh-btn-outline:hover { border-color: #fff; }

.cvh-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px var(--cvh-ui); color: var(--cvh-accent); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.cvh-ghost span { transition: transform 0.2s ease; }
.cvh-ghost:hover span { transform: translateX(4px); }

.cvh-page :focus-visible { outline: 3px solid var(--cvh-accent); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.cvh-page section.cvh { scroll-margin-top: calc(var(--cvh-nav) + 12px); }

.cvh-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 56.25vw auto;
  overflow: hidden;
  background: #cfe0ee; /* sky, while the still decodes */
}
.cvh-hero-pin { display: contents; }
.cvh-hero-media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #cfe0ee;
}
.cvh-hero-picture { position: absolute; inset: 0; display: block; }
.cvh-hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}
.cvh-hero-still { transition: opacity 120ms linear; }
.cvh-hero-video { transition: opacity 120ms linear; }
.cvh-page.cvh-scrub-ready .cvh-hero-video {
  opacity: var(--cvh-video-opacity, 0);
}
.cvh-page.cvh-scrub-ready .cvh-hero-still {
  opacity: calc(1 - var(--cvh-video-opacity, 0));
}
.cvh-hero-media::before,
.cvh-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* cvh-scrub.js fades these out as the footage dissolves the room, so the flight's last
     frame is clean white — the same picture as the product player's first */
  opacity: var(--cvh-vignette-opacity, 1);
}
/* Preserve the full frame. Calm the skyline and sky while the laptop stays sharp. */
.cvh-hero-media::before {
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(8, 35, 62, 0.04) 50%,
    rgba(6, 29, 54, 0.18) 78%,
    rgba(4, 20, 42, 0.42) 100%),
    radial-gradient(ellipse 58% 32% at 50% 25%, rgba(4, 24, 46, 0.32), transparent 100%),
    linear-gradient(to bottom, rgba(5, 24, 46, 0.07), rgba(5, 24, 46, 0.16) 48%, rgba(4, 20, 42, 0.07) 68%, rgba(4, 20, 42, 0.2));
  filter: blur(8px);
  transform: scale(1.02);
}
.cvh-hero-media::after {
  background: rgba(5, 24, 46, var(--cvh-vignette-wash, 0.07));
  -webkit-backdrop-filter: blur(var(--cvh-vignette-blur, 9px));
  backdrop-filter: blur(var(--cvh-vignette-blur, 9px));
  -webkit-mask-image: radial-gradient(ellipse at center, transparent var(--cvh-vignette-clear, 34%), #000 100%);
  mask-image: radial-gradient(ellipse at center, transparent var(--cvh-vignette-clear, 34%), #000 100%);
}
.cvh-hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
}
.cvh-hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.cvh-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: calc(var(--cvh-nav) + clamp(18px, 4vh, 48px)) 24px 0;
  text-align: center;
}
.cvh-hero-cta { max-width: 880px; margin: 0 auto; padding-inline: 24px; }
.cvh-hero .cvh-eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 9px rgba(3, 20, 38, 0.63);
}
.cvh-hero .cvh-h1 {
  margin-top: 12px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(3, 20, 38, 0.4), 0 1px 2px rgba(3, 20, 38, 0.42);
}
.cvh-sub {
  margin: 14px auto 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 1px 11px rgba(3, 20, 38, 0.66);
}

.cvh-form { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.cvh-form-shell {
  display: flex;
  align-items: center;
  width: min(520px, 100%);
  min-height: 58px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(3, 20, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}
.cvh-input {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 16px;
}
.cvh-input::placeholder { color: rgba(255, 255, 255, 0.78); }
.cvh-input:focus { outline: none; }
.cvh-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ffb4a8; }

.cvh-form-shell:focus-within {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(3, 20, 38, 0.28), 0 0 0 3px rgba(166, 220, 242, 0.3);
}
.cvh-form-shell .cvh-btn-primary {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(5, 102, 145, 0.72);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.cvh-form-shell .cvh-btn-primary:hover {
  background: rgba(5, 119, 163, 0.84);
  border-color: rgba(255, 255, 255, 0.56);
}

.cvh-form-note { min-height: 20px; margin-top: 8px; font-size: 14px; color: #1f6b3a; text-align: center; }
.cvh-form-note[data-err] { color: #a52a1a; }

/* the ghost link rides in the form row rather than under it, so the copy stack always
   finishes above the laptop, at every desktop width */
.cvh-hero-ghost {
  align-self: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f2f7fb;
  box-shadow: 0 14px 36px rgba(3, 20, 38, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cvh-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.23);
  transform: translateY(-1px);
}

/* Desktop flight: the pin occupies one viewport; the remaining 150svh of its containing
   section is the scrub runway — the camera move, then the tail where the screen comes off the
   laptop and the room dissolves. Scroll maps to video time linearly. */
@media (min-width: 1024px) {
  .cvh-page.cvh-scrub-pending .cvh-hero,
  .cvh-page.cvh-scrub-ready .cvh-hero {
    display: block;
    height: calc(100svh + 150svh + 40svh); /* + a buffer where the last frame holds (cvh-scrub.js) */
    min-height: 0;
    overflow: visible;
    background: #050c18;
  }
  .cvh-page.cvh-scrub-pending .cvh-hero-pin,
  .cvh-page.cvh-scrub-ready .cvh-hero-pin {
    position: sticky;
    z-index: 1;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100svh;
    overflow: hidden;
    background: #050c18;
  }
  /* cover at every desktop aspect — the flight's frame always fills the window, so there is
     never a band above or below it, and its last frame lines up with the player's stage */
  .cvh-page.cvh-scrub-pending .cvh-hero-media,
  .cvh-page.cvh-scrub-ready .cvh-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background: #050c18;
  }
  .cvh-page.cvh-scrub-pending .cvh-hero-still,
  .cvh-page.cvh-scrub-ready .cvh-hero-still,
  .cvh-page.cvh-scrub-pending .cvh-hero-video,
  .cvh-page.cvh-scrub-ready .cvh-hero-video {
    object-fit: cover;
    object-position: 50% 50%;
  }
  .cvh-page.cvh-scrub-pending .cvh-hero-content,
  .cvh-page.cvh-scrub-ready .cvh-hero-content {
    grid-column: 1;
    grid-row: 1;
  }
  .cvh-page.cvh-scrub-ready .cvh-hero-content {
    opacity: var(--cvh-copy-opacity, 1);
    transition: opacity 180ms linear;
  }
}

@media (min-width: 1024px) and (max-aspect-ratio: 3 / 2) {
  .cvh-page.cvh-scrub-pending .cvh-hero-content,
  .cvh-page.cvh-scrub-ready .cvh-hero-content { display: contents; }
  .cvh-page.cvh-scrub-pending .cvh-hero-inner,
  .cvh-page.cvh-scrub-ready .cvh-hero-inner {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
  }
  .cvh-page.cvh-scrub-ready .cvh-hero-inner,
  .cvh-page.cvh-scrub-ready .cvh-hero-cta {
    opacity: var(--cvh-copy-opacity, 1);
    transition: opacity 180ms linear;
  }
  .cvh-page.cvh-scrub-pending .cvh-hero-cta,
  .cvh-page.cvh-scrub-ready .cvh-hero-cta {
    position: absolute;
    top: calc(min(56.25vw, 100svh) + 18px);
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: 24px;
  }
}

/* After the hand-off (cvh-scrub.js): the runway is gone and the hero is one still screen at
   its opening frame, copy restored. One-way for the page load. */
@media (min-width: 1024px) {
  .cvh-page.cvh-flight-done .cvh-hero { display: block; height: 100svh; min-height: 0; overflow: hidden; background: #050c18; }
  .cvh-page.cvh-flight-done .cvh-hero-pin {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
    width: 100%; height: 100svh; overflow: hidden;
  }
  .cvh-page.cvh-flight-done .cvh-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
  .cvh-page.cvh-flight-done .cvh-hero-still,
  .cvh-page.cvh-flight-done .cvh-hero-video { object-fit: cover; object-position: 50% 50%; }
  .cvh-page.cvh-flight-done .cvh-hero-video { opacity: 0; }
  .cvh-page.cvh-flight-done .cvh-hero-content { grid-column: 1; grid-row: 1; }
}

/* ==========================================================================
   2 · THE PRODUCT PLAYER
   The pattern (docs/design-notes.md): a full-bleed clip layer sits behind
   the copy; the Client Vision window lands in the right column and runs off the
   edge, fading and softening as it goes. Clicking an item swaps clips with a
   400ms opacity + 8px blur cross-fade in place — the motion itself (the UI
   materialising, screens swiping) lives inside the clips. cvh.js computes the
   geometry vars from clips/geometry.json.
   ========================================================================== */
.cvh-product { position: relative; padding: 0; }
.cvh-product-phase { position: relative; height: 200vh; }
.cvh-product-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.cvh-stage { position: absolute; inset: 0; z-index: 0; }
/* the whole clip layer glides into place at the end of the flight */
.cvh-stage-track {
  position: absolute; inset: 0;
  transform: translate3d(var(--cvh-stage-x, 0px), 0, 0);
  transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);
}
.cvh-slide { position: absolute; inset: 0; z-index: 1; }
.cvh-slide[data-active="true"] { z-index: 2; }
/* an outgoing clip stays in place under the new one while it fades, then parks off-screen */
.cvh-slide[data-active="false"] { transform: translateX(100vw); transition: transform 0s linear 400ms; pointer-events: none; }
.cvh-slide video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: transparent;
  opacity: 1; filter: none;
  transition: opacity 400ms ease-out, filter 400ms ease-out;
  /* feather every edge so encoder near-white never shows as a box on the page, and fade the
     window out just before it reaches the right edge of the viewport */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 3%, #000 var(--cvh-fade-a, 70%), transparent var(--cvh-fade-b, 80%));
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 3%, #000 var(--cvh-fade-a, 70%), transparent var(--cvh-fade-b, 80%));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.cvh-slide[data-active="false"] video { opacity: 0; filter: blur(8px); }

/* The hand-off still: the flight's last frame, laid over the stage while it is still
   full-screen. It fades as the stage glides into its column, uncovering clip 1. */
.cvh-stage-still {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%; pointer-events: none;
  opacity: 0; transition: opacity 200ms ease-out;
}
.cvh-product-phase[data-cvh-phase="idle"] .cvh-stage-still { opacity: 1; transition: none; }

/* a progressive soft focus toward the right edge, over whatever clip is playing */
.cvh-stage-edge {
  position: absolute; top: 0; bottom: 0; right: 0; width: 18vw; z-index: 3; pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 100%);
  transition: opacity 600ms ease-out;
}

/* the pause control sits on the window itself, bottom-left, and shows on hover or focus */
.cvh-slide-controls {
  position: absolute;
  left: var(--cvh-panel-x, 0px); top: var(--cvh-panel-y, 0px);
  width: var(--cvh-panel-w, 100%); height: var(--cvh-panel-h, 100%);
  opacity: 0; transition: opacity 200ms ease-out;
}
.cvh-slide-controls:hover,
.cvh-slide-controls:focus-within { opacity: 1; }
.cvh-slide[data-active="false"] .cvh-slide-controls { visibility: hidden; }
.cvh-pause {
  all: unset; box-sizing: border-box;
  position: absolute; left: 16px; bottom: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--cvh-ink); cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.35);
  transition: background-color 0.2s ease;
}
.cvh-pause:hover { background: rgba(255, 255, 255, 0.86); }
.cvh-pause:focus-visible { outline: 2px solid var(--cvh-accent); outline-offset: 3px; }
.cvh-pause svg { width: 14px; height: 14px; fill: currentColor; }
.cvh-pause .cvh-i-play { display: none; }
.cvh-pause.is-paused .cvh-i-pause { display: none; }
.cvh-pause.is-paused .cvh-i-play { display: block; }

/* the copy column, on top of the clip layer */
.cvh-product-copy { position: relative; z-index: 4; height: 100%; display: flex; align-items: center; pointer-events: none; }
.cvh-product-col { width: min(400px, 32vw); pointer-events: auto; transition: opacity 500ms ease-out, transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1); }
.cvh-product-h {
  font-family: var(--cvh-display); font-weight: 600;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--cvh-ink);
}
.cvh-pl-list { margin-top: clamp(28px, 3.6vw, 44px); }
.cvh-pl-btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 22px 1fr; width: 100%; cursor: pointer; }
.cvh-pl-mark {
  align-self: start; margin-top: 18px; width: 8px; height: 8px; border-radius: 3px;
  background: transparent; transition: background-color 0.2s ease;
}
.cvh-pl-btn:hover .cvh-pl-mark { background: color-mix(in srgb, var(--cvh-accent) 30%, transparent); }
.cvh-pl-btn[aria-expanded="true"] .cvh-pl-mark { background: var(--cvh-accent); }
.cvh-pl-title {
  padding: 12px 0; border-top: 1px solid var(--cvh-line);
  font: 600 1rem/1.35 var(--cvh-ui); color: var(--cvh-ink-2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cvh-pl-btn:hover .cvh-pl-title { color: var(--cvh-ink); }
.cvh-pl-btn[aria-expanded="true"] .cvh-pl-title { color: var(--cvh-ink); border-top-color: color-mix(in srgb, var(--cvh-ink) 40%, transparent); }
.cvh-pl-btn:focus-visible .cvh-pl-title { outline: 2px solid var(--cvh-accent); outline-offset: 2px; border-radius: 3px; }
.cvh-pl-item:last-child .cvh-pl-panel { border-bottom: 1px solid var(--cvh-line); }
.cvh-pl-panel { display: grid; grid-template-rows: 0fr; margin-left: 22px; transition: grid-template-rows 300ms cubic-bezier(0.2, 0.75, 0.25, 1); }
.cvh-pl-panel > div { overflow: hidden; min-height: 0; }
.cvh-pl-item.is-open .cvh-pl-panel { grid-template-rows: 1fr; }
.cvh-pl-panel p { margin: -4px 0 0; padding-bottom: 16px; max-width: 42ch; font-size: 0.95rem; line-height: 1.5; color: var(--cvh-ink-2); }
.cvh-pl-slot { display: none; }
.cvh-product-foot { margin-top: clamp(22px, 2.6vw, 32px); }
.cvh-product-note { margin-top: 18px; font-size: 12px; line-height: 1.45; color: var(--cvh-ink-2); opacity: 0.8; }

/* the hand-off: until the flight lands, the stage is full-screen and the copy is not there yet */
.cvh-product-phase[data-cvh-phase="idle"] .cvh-product-col { opacity: 0; transform: translateY(14px); pointer-events: none; }
.cvh-product-phase[data-cvh-phase="idle"] .cvh-stage-edge { opacity: 0; }

/* below the desktop flight: a plain accordion with the clip inline in the open item */
@media (max-width: 1023px) {
  .cvh-product { padding: clamp(56px, 9vw, 96px) 0; }
  .cvh-product-phase { height: auto; }
  .cvh-product-pin { position: relative; height: auto; overflow: visible; }
  .cvh-product-copy { display: block; height: auto; }
  .cvh-product-col { width: auto; max-width: 640px; }
  .cvh-stage { position: relative; inset: auto; margin: 4px 0 18px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.07), 0 18px 40px -24px rgba(15, 23, 42, 0.35); }
  .cvh-stage-track { transform: none; transition: none; }
  .cvh-stage-edge, .cvh-stage-still { display: none; }
  /* crop the 2560x1440 clip to exactly its window: the window is 64.8% x 72% of the frame */
  .cvh-slide video {
    inset: auto; left: -27.16%; top: -19.44%; width: 154.32%; height: auto; aspect-ratio: 16 / 9;
    object-fit: fill; -webkit-mask-image: none; mask-image: none;
  }
  .cvh-slide-controls { left: 0; top: 0; width: 100%; height: 100%; opacity: 1; }
  .cvh-pause { left: 12px; bottom: 12px; }
  .cvh-pl-slot { display: block; }
}

/* ==========================================================================
   3 · THE STANDARDS MARQUEE
   ========================================================================== */
.cvh-marquee-sec { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 110px); }
.cvh-marquee-sec .cvh-h3 { max-width: 22ch; }
.cvh-marquee {
  margin-top: clamp(28px, 4vw, 44px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.cvh-marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: cvh-drift 52s linear infinite;
}
.cvh-marquee-track span {
  font-family: var(--cvh-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  letter-spacing: -0.01em;
  color: #0f172a;
  opacity: 0.92;
  white-space: nowrap;
}
.cvh-marquee-track span.is-lead { opacity: 1; color: var(--cvh-accent); }
@keyframes cvh-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   4 · THE FOUNDER
   ========================================================================== */
.cvh-founder { padding-block: clamp(64px, 9vw, 120px); }
.cvh-founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--cvh-line);
  border-radius: 22px;
  background: var(--cvh-surface);
  box-shadow: 0 24px 64px rgba(11, 33, 56, 0.09);
}
.cvh-founder-photo {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: #0b2138;
}
.cvh-founder-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
}
.cvh-founder-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 72px);
}
.cvh-founder-copy h2 {
  max-width: 15ch;
  font-family: var(--cvh-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--cvh-ink);
}
.cvh-founder-story { margin-top: 22px; max-width: 48ch; font-size: 1.05rem; line-height: 1.65; color: var(--cvh-ink-2); }
.cvh-founder-byline { display: grid; gap: 4px; margin-top: 28px; }
.cvh-founder-byline b { color: var(--cvh-ink); font-size: 1rem; }
.cvh-founder-byline span { color: var(--cvh-ink-2); font-size: 0.9rem; }
.cvh-founder-copy .cvh-btn { margin-top: 28px; }
.cvh-founder-team {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}
.cvh-team-photo,
.cvh-team-member {
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--cvh-line);
  border-radius: 18px;
  background: var(--cvh-surface);
  box-shadow: 0 18px 48px rgba(11, 33, 56, 0.07);
}
.cvh-team-photo { position: relative; margin: 0; }
.cvh-team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 50%;
}
.cvh-team-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 22px 18px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(5, 19, 34, 0.74));
}
.cvh-team-member { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.cvh-team-member > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 30%;
}
.cvh-team-member-copy { padding: 17px 20px 20px; }
.cvh-team-member-copy .cvh-eyebrow { margin: 0 0 5px; font-size: 0.68rem; }
.cvh-team-member-copy h3 {
  color: var(--cvh-ink);
  font-family: var(--cvh-display);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.cvh-team-member-title { margin-top: 4px; color: var(--cvh-ink-2); font-size: 0.9rem; }

/* ==========================================================================
   5 · THE TURN
   ========================================================================== */
.cvh-turn { padding-block: clamp(64px, 9vw, 120px); }
.cvh-turn-h { max-width: 18ch; }
.cvh-turn-body { margin-top: 26px; display: grid; gap: 14px; max-width: 62ch; }
.cvh-turn-body p { font-size: 1.1rem; line-height: 1.6; color: var(--cvh-ink-2); }
.cvh-turn-body em { font-style: italic; color: var(--cvh-ink); }

.cvh-turn-pivot {
  margin-top: clamp(32px, 5vw, 52px);
  max-width: 30ch;
  font-family: var(--cvh-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cvh-ink);
}
.cvh-turn-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--cvh-line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--cvh-surface), var(--cvh-bg));
  box-shadow: 0 20px 56px rgba(11, 33, 56, 0.08);
}
.cvh-turn-cta-copy .cvh-eyebrow { margin: 0 0 8px; }
.cvh-turn-cta-copy h3 {
  max-width: 26ch;
  color: var(--cvh-ink);
  font-family: var(--cvh-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.cvh-turn-cta-copy > p:last-child {
  max-width: 55ch;
  margin-top: 11px;
  color: var(--cvh-ink-2);
  font-size: 1rem;
  line-height: 1.6;
}
.cvh-turn-cta > .cvh-btn { white-space: nowrap; }

/* ==========================================================================
   6 · THE ANATOMY SPINE
   ========================================================================== */
.cvh-anatomy { padding-block: clamp(64px, 9vw, 120px); }
.cvh-anatomy .cvh-lede { margin-top: 16px; }
.cvh-spine { position: relative; margin-top: clamp(34px, 5vw, 56px); display: grid; gap: 0; }
.cvh-spine::before {
  content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px;
  background: var(--cvh-line);
}
.cvh-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 16px 0; }
.cvh-step i {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cvh-bg); border: 2px solid var(--cvh-line);
  font: 700 14px var(--cvh-ui); font-style: normal; color: var(--cvh-ink-2);
}
.cvh-step b { display: block; font-family: var(--cvh-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.cvh-step p { margin-top: 6px; max-width: 66ch; font-size: 1.02rem; line-height: 1.58; color: var(--cvh-ink-2); }
.cvh-step mark { background: none; color: var(--cvh-ink); font-weight: 600; }
.cvh-anatomy-out {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--cvh-display); font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.02em;
}

/* ==========================================================================
   7 · THE QUOTE
   ========================================================================== */
.cvh-quote-sec { padding-block: clamp(56px, 8vw, 104px); }
.cvh-quote { max-width: 960px; margin: clamp(24px, 4vw, 42px) auto 0; text-align: center; }
.cvh-quote blockquote { margin: 0; }
.cvh-quote blockquote p {
  font-family: var(--cvh-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.22; letter-spacing: -0.03em;
  text-wrap: balance;
}
.cvh-q-a { color: var(--cvh-ink); }
.cvh-q-b { color: var(--cvh-accent); }
.cvh-q-c { color: var(--cvh-ink-2); }
.cvh-quote figcaption { display: grid; justify-items: center; gap: 5px; margin-top: 24px; text-align: center; }
.cvh-quote figcaption b { font-weight: 600; font-size: 1.05rem; }
.cvh-quote figcaption span { display: block; font-size: 0.95rem; color: var(--cvh-ink-2); }

/* ==========================================================================
   8 + 9 · SPLIT SECTIONS
   ========================================================================== */
.cvh-split { padding-block: clamp(64px, 9vw, 110px); }
.cvh-split-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
/* On the dark chapter a feathered edge turns a white screenshot into a glow, so these
   panels get a defined edge instead: clipped corners, a hairline and a lifted shadow. */
.cvh-split-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.8);
}
.cvh-split-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.35s ease;
}
.cvh-split-media img.is-in { opacity: 1; }

.cvh-acc { margin-top: 28px; }
.cvh-acc-item {
  all: unset; display: block; width: 100%; cursor: pointer;
  padding: 18px 0; border-top: 1px solid var(--cvh-line);
}
.cvh-acc-item:last-child { border-bottom: 1px solid var(--cvh-line); }
.cvh-acc-item b {
  display: block; font-family: var(--cvh-display); font-weight: 600; font-size: 1.1rem;
  letter-spacing: -0.015em; opacity: 0.6; transition: opacity 0.3s ease;
}
.cvh-acc-item[aria-expanded="true"] b { opacity: 1; }
.cvh-acc-item span {
  display: block; max-width: 48ch; margin-top: 0; font-size: 0.98rem; line-height: 1.55;
  color: var(--cvh-ink-2); opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.35s ease, margin-top 0.35s ease;
}
.cvh-acc-item[aria-expanded="true"] span { opacity: 1; max-height: 140px; margin-top: 8px; }

/* ==========================================================================
   10 · CARDS
   ========================================================================== */
.cvh-cards { padding-block: clamp(56px, 8vw, 104px); }
.cvh-card-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: clamp(32px, 4vw, 48px);
}
.cvh-card {
  border: 1px solid var(--cvh-line); border-radius: 18px; overflow: hidden;
  background: var(--cvh-surface);
}
/* a lit edge rather than a picture: there is nothing to illustrate here yet, and an
   empty 16:9 panel per card was three hundred pixels of nothing each */
.cvh-card-art {
  height: 3px;
  background: linear-gradient(90deg, var(--cvh-accent), rgba(0, 174, 239, 0.05) 78%);
}
.cvh-card-body { padding: 26px 26px 28px; }
.cvh-card-body b { display: block; font-family: var(--cvh-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; }
.cvh-card-body p { margin-top: 8px; font-size: 0.98rem; line-height: 1.55; color: var(--cvh-ink-2); }

/* ==========================================================================
   11 · TWO WAYS IN
   ========================================================================== */
.cvh-fits { padding-block: clamp(56px, 8vw, 104px); }
.cvh-fits-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; margin-top: clamp(28px, 4vw, 44px);
}
.cvh-fit { padding: clamp(24px, 3vw, 36px); border: 1.5px solid var(--cvh-line); border-radius: 18px; }
.cvh-fit-lead { border-color: var(--cvh-accent); }
.cvh-fit h3 { margin-top: 10px; font-family: var(--cvh-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; }
.cvh-fit p { margin-top: 10px; font-size: 1.02rem; line-height: 1.58; color: var(--cvh-ink-2); }
.cvh-fit-link { margin-top: 18px; }
.cvh-fits-note {
  margin-top: clamp(28px, 4vw, 40px);
  font-family: var(--cvh-display); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -0.02em; max-width: 34ch;
}

/* ==========================================================================
   12 · CLOSE
   ========================================================================== */
.cvh-close { padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.cvh-close .cvh-wrap {
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 48px);
  border-radius: 24px;
  background: var(--cvh-sunset);
  color: #fff;
}
.cvh-close-h {
  font-family: var(--cvh-display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.04em;
}
.cvh-close p { margin: 16px auto 0; max-width: 46ch; font-size: 1.1rem; color: rgba(255, 255, 255, 0.88); }
.cvh-close-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   REVEALS
   ========================================================================== */
.cvh-rise { opacity: 0; transform: translateY(18px); }
.cvh-page.cvh-ready .cvh-rise {
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cvh-rise.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   13 · FOOTNOTES
   ========================================================================== */
.cvh-notes { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.cvh-notes-grid {
  display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 24px 40px;
  border-top: 1px solid var(--cvh-line); padding-top: clamp(24px, 3vw, 36px);
}
.cvh-notes-h { font: 600 0.78rem var(--cvh-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cvh-ink-2); }
.cvh-notes-list { counter-reset: cvh-note; display: grid; gap: 12px; max-width: 78ch; }
.cvh-notes-list li { counter-increment: cvh-note; display: grid; grid-template-columns: 28px 1fr; font-size: 0.85rem; line-height: 1.55; color: var(--cvh-ink-2); }
.cvh-notes-list li::before { content: counter(cvh-note); font-weight: 600; color: var(--cvh-ink); }
@media (max-width: 767px) { .cvh-notes-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .cvh-split-grid { grid-template-columns: 1fr; }
  .cvh-split-flip .cvh-split-media { order: 2; }
}
@media (max-width: 860px) {
  .cvh-turn-cta { grid-template-columns: 1fr; }
  .cvh-turn-cta > .cvh-btn { justify-self: start; white-space: normal; }
  .cvh-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cvh-fits-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cvh-hero { grid-template-rows: 56.25vw auto; }
  .cvh-hero-content { display: contents; }
  .cvh-hero-inner {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    padding-top: calc(var(--cvh-nav) + 18px);
  }
  .cvh-hero .cvh-h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); }
  .cvh-sub { margin-top: 10px; }
  .cvh-hero-cta {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    padding: 12px 20px 2px;
    background: linear-gradient(180deg, #d7e7f1, #eef8fd);
  }
  .cvh-form { flex-wrap: nowrap; margin-top: 0; }
  .cvh-form-shell {
    background: rgba(255, 255, 255, 0.56);
    border-color: rgba(11, 66, 103, 0.25);
  }
  .cvh-input { color: #0b2138; }
  .cvh-input::placeholder { color: #456277; }
  .cvh-hero-ghost {
    flex: none;
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(11, 66, 103, 0.28);
    color: #0b3551;
  }
  .cvh-hero-ghost:hover { background: rgba(255, 255, 255, 0.72); }
}
@media (max-width: 767px) {
  .cvh-hero { grid-template-rows: 150vw auto; }
  .cvh-hero-inner { padding: calc(var(--cvh-nav) + 6px) 16px 0; }
  .cvh-hero .cvh-h1 { margin-top: 8px; font-size: clamp(2.2rem, 9vw, 3rem); }
  .cvh-sub { margin-top: 10px; max-width: 34ch; font-size: 0.96rem; line-height: 1.35; }
  .cvh-card-grid { grid-template-columns: 1fr; }
  .cvh-hero-cta { padding-inline: 16px; }
  .cvh-form { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; }
  .cvh-form-shell { width: min(520px, 100%); min-height: 54px; flex-direction: row; align-items: center; border-radius: 999px; padding: 4px; margin-inline: auto; }
  .cvh-input { width: auto; min-height: 44px; padding-inline: 12px; font-size: 14px; }
  .cvh-form-shell .cvh-btn-primary { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .cvh-hero-ghost { align-self: center; min-height: 42px; padding-inline: 16px; font-size: 14px; }
  .cvh-founder-profile { grid-template-columns: 1fr; }
  .cvh-founder-photo { min-height: 0; aspect-ratio: 1 / 1; }
  .cvh-founder-photo img { object-position: center 30%; }
  .cvh-founder-copy { padding: 28px 24px 30px; }
  .cvh-founder-copy h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .cvh-founder-story { margin-top: 16px; font-size: 0.98rem; }
  .cvh-founder-byline { margin-top: 22px; }
  .cvh-founder-team { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .cvh-team-photo,
  .cvh-team-photo img { min-height: 0; aspect-ratio: 4 / 3; }
  .cvh-team-member { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
  .cvh-team-member > img { min-height: 0; aspect-ratio: 1 / 1; }
  .cvh-team-member-copy { padding: 16px; }
}
@media (max-width: 374px) {
  .cvh-hero-inner { padding-top: calc(var(--cvh-nav) + 2px); }
  .cvh-hero .cvh-h1 { margin-top: 6px; font-size: clamp(2rem, 9vw, 2.5rem); }
  .cvh-sub { margin-top: 7px; font-size: 0.88rem; line-height: 1.3; }
  .cvh-form { margin-top: 8px; }
  .cvh-form-shell { min-height: 50px; }
  .cvh-input, .cvh-form-shell .cvh-btn-primary { min-height: 40px; }
  .cvh-hero-ghost {
    position: absolute;
    top: calc(150vw - 58px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .cvh-hero-ghost:hover { transform: translate(-50%, -1px); }
}

@media (prefers-reduced-motion: reduce) {
  .cvh-page *, .cvh-page *::before, .cvh-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cvh-rise { opacity: 1; transform: none; }
}

/* ======================================================================
   PROVIDER EDITION (client-vision-provider) — additions to the homepage kit
   ====================================================================== */

/* Published as an artifact, so everything reads at rest: the reveal keeps its motion
   budget at zero and never parks a section at opacity 0 waiting for an observer. */
.cvh-rise,
.cvh-page.cvh-ready .cvh-rise { opacity: 1; transform: none; }

/* hero: one partner call-to-action beside the ghost demo link (no form, nothing collected) */
.cvh-form-cta { gap: 16px; }
.cvh-hero-btn {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(3, 20, 38, 0.28);
}
.cvh-ghost[aria-disabled="true"] { cursor: default; }

/* the film: click to play, captions on, above the standards marquee */
.cvh-film { padding-block: clamp(56px, 8vw, 104px) clamp(20px, 3vw, 36px); }
.cvh-film-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto clamp(22px, 3vw, 34px);
  text-align: center;
}
.cvh-film-head .cvh-eyebrow { margin: 0; }
.cvh-film-head .cvh-h2 { margin: 0; text-wrap: balance; }
.cvh-film-head .cvh-lede { margin: 0 auto; }
.cvh-film-frame { margin: 0 auto; max-width: 1100px; }
.cvh-film-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #0b1627;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 40px 90px -40px rgba(15, 23, 42, 0.45);
}
.cvh-film-frame figcaption {
  max-width: 70ch;
  margin: 14px auto 0;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--cvh-ink-2);
}

/* the market numbers in the turn */
.cvh-stats {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cvh-stat {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--cvh-line);
  border-radius: 16px;
  background: var(--cvh-surface);
}
.cvh-stat b {
  font: 800 clamp(26px, 3vw, 36px) / 1 var(--cvh-display);
  letter-spacing: -0.02em;
  color: var(--cvh-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cvh-stat span { font-size: 14.5px; line-height: 1.45; color: var(--cvh-ink-2); }
.cvh-stats-src { margin: 10px 0 0; font-size: 12.5px; color: var(--cvh-ink-2); }
@media (max-width: 900px) { .cvh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cvh-stats { grid-template-columns: 1fr; } }

/* the site's `a:hover` (styles.css) outranks a single class; buttons keep their own ink on hover */
.cvh-page a.cvh-btn-primary, .cvh-page a.cvh-btn-primary:hover { color: var(--cvh-accent-ink); }
.cvh-page a.cvh-btn-light, .cvh-page a.cvh-btn-light:hover { color: #0b2138; }
.cvh-page a.cvh-btn-outline, .cvh-page a.cvh-btn-outline:hover { color: #fff; }


/* nav items stay text on hover: no pill behind a link or a dropdown trigger, in either nav state */
.site-header :is(.nav-link, .nav-trigger):hover,
.site-header .nav-login:hover,
.site-header .nav-item.is-open .nav-trigger,
body[data-nav="over"]:not(.is-nav-solid) .site-header :is(.nav-link, .nav-trigger):hover,
body[data-nav="over"]:not(.is-nav-solid) .site-header .nav-login:hover,
body[data-nav="over"]:not(.is-nav-solid) .site-header .nav-item.is-open .nav-trigger {
  background: transparent !important;
  box-shadow: none !important;
}
.site-header :is(.nav-link, .nav-trigger, .nav-login):hover { opacity: 0.78; }


/* ==========================================================================
   6 · THE SPINE, WITH ITS SCREENS (storyboard band 06)
   Desktop: steps on the left, a sticky screen on the right that follows the step in view,
   swapping with the player's 400ms opacity + blur cross-fade. Below 1024px: each step carries
   its own screen and the stage is hidden.
   ========================================================================== */
.cvh-spine-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cvh-spine-grid .cvh-spine { margin-top: clamp(34px, 5vw, 56px); }
.cvh-spine-grid .cvh-step { padding: 22px 0; }
.cvh-spine-grid .cvh-step p { max-width: 52ch; }
.cvh-spine-grid .cvh-step i { transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.cvh-spine-grid .cvh-step.is-active i { background: var(--cvh-accent); border-color: var(--cvh-accent); color: #ffffff; }
.cvh-spine-grid .cvh-step b, .cvh-spine-grid .cvh-step p { transition: opacity 0.3s ease; }
.cvh-spine-grid .cvh-step:not(.is-active) b, .cvh-spine-grid .cvh-step:not(.is-active) p { opacity: 0.72; }
.cvh-spine-stage { position: sticky; top: calc(var(--cvh-nav) + 28px); margin: clamp(34px, 5vw, 56px) 0 0; }
.cvh-spine-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: #ffffff; border: 1px solid var(--cvh-line);
  box-shadow: 0 30px 70px -34px rgba(11, 33, 56, 0.35);
}
.cvh-spine-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; filter: blur(8px); transition: opacity 0.4s ease-out, filter 0.4s ease-out;
}
.cvh-spine-shot.is-on { opacity: 1; filter: none; }
.cvh-spine-stage figcaption { margin-top: 12px; font-size: 0.85rem; line-height: 1.5; color: var(--cvh-ink-2); }
.cvh-step-shot { display: none; }
.cvh-spine-note { margin-top: 18px; font-size: 0.85rem; line-height: 1.55; color: var(--cvh-ink-2); }
@media (max-width: 1023.98px) {
  .cvh-spine-grid { grid-template-columns: minmax(0, 1fr); }
  .cvh-spine-stage { display: none; }
  .cvh-spine-grid .cvh-step:not(.is-active) b, .cvh-spine-grid .cvh-step:not(.is-active) p { opacity: 1; }
  .cvh-step-shot { display: block; width: 100%; height: auto; margin-top: 14px; border-radius: 12px; border: 1px solid var(--cvh-line); box-shadow: 0 18px 40px -26px rgba(11, 33, 56, 0.35); }
}
@media (prefers-reduced-motion: reduce) { .cvh-spine-shot { transition: none; filter: none; } }

/* ==========================================================================
   7 · WHAT FEEDS EACH CLIENT (storyboard band 07)
   ========================================================================== */
.cvh-feeds { padding-block: clamp(64px, 9vw, 120px); }
.cvh-feeds-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.cvh-feeds-copy { display: grid; gap: 14px; }
.cvh-feeds-copy .cvh-eyebrow, .cvh-feeds-copy .cvh-h2, .cvh-feeds-copy .cvh-lede { margin: 0; }
.cvh-feeds-shot { margin: 0; }
.cvh-feeds-shot img {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--cvh-line);
  box-shadow: 0 30px 70px -34px rgba(11, 33, 56, 0.35); background: #ffffff;
}
.cvh-feeds-shot figcaption { margin-top: 12px; font-size: 0.85rem; line-height: 1.5; color: var(--cvh-ink-2); }
.cvh-feeds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.cvh-feed { display: grid; align-content: start; gap: 10px; padding: 24px 24px 26px; border-radius: 18px; background: var(--cvh-surface); border: 1px solid var(--cvh-line); }
.cvh-feed .cvh-eyebrow { margin: 0; }
.cvh-feed-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cvh-feed-names span {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border-radius: 8px;
  background: #ffffff; border: 1px solid var(--cvh-line);
  font: 600 0.95rem/1.2 var(--cvh-display); letter-spacing: -0.01em; color: var(--cvh-ink);
}
.cvh-feed-d { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--cvh-ink-2); }
@media (max-width: 1023.98px) { .cvh-feeds-top { grid-template-columns: minmax(0, 1fr); } .cvh-feeds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cvh-feeds-grid { grid-template-columns: minmax(0, 1fr); } }

/* the moments band: which tenants the screens show */
.cvh-split-note { margin-top: 18px; font-size: 0.85rem; line-height: 1.55; color: var(--cvh-ink-2); }
.cvh-split-copy > .cvh-eyebrow { margin: 0 0 14px; }

/* ==========================================================================
   10 · TWO WAYS TO PARTNER, 11 · SECURITY AND SEPARATION, 12 · PROOF (storyboard bands 10–12)
   ========================================================================== */
.cvh-fits > .cvh-wrap > .cvh-eyebrow { margin: 0 0 14px; }
.cvh-fit-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cvh-fit-list li { position: relative; padding-left: 22px; font-size: 0.98rem; line-height: 1.5; color: var(--cvh-ink-2); }
.cvh-fit-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--cvh-accent); }
.cvh-own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 18px; padding: clamp(22px, 3vw, 32px); border-radius: 18px; border: 1px solid var(--cvh-line); background: var(--cvh-surface); }
.cvh-own-copy { display: grid; gap: 10px; }
.cvh-own-copy .cvh-eyebrow, .cvh-own-copy h3, .cvh-own-copy p { margin: 0; }
.cvh-own-copy h3 { font-family: var(--cvh-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.cvh-own-copy p { color: var(--cvh-ink-2); line-height: 1.55; }
.cvh-own-row { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 0 18px; border-radius: 12px; background: #ffffff; color: #0f172a; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.6); }
.cvh-own-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e6f6fd; color: #0077ad; }
.cvh-own-name { flex: 1; display: grid; gap: 2px; }
.cvh-own-name b { font: 800 1rem/1.2 var(--cvh-ui); }
.cvh-own-name small { font-size: 0.8rem; color: #5d6e86; }
.cvh-own-open { font: 700 0.9rem var(--cvh-ui); color: #0077ad; }

.cvh-sec { padding-block: clamp(64px, 9vw, 120px); }
.cvh-sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cvh-sec-copy { display: grid; gap: 14px; }
.cvh-sec-copy .cvh-eyebrow, .cvh-sec-copy .cvh-h2, .cvh-sec-copy .cvh-lede { margin: 0; }
.cvh-sec-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; }
.cvh-sec-list li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--cvh-line); }
.cvh-sec-list b { font-family: var(--cvh-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--cvh-ink); }
.cvh-sec-list span { font-size: 0.98rem; line-height: 1.55; color: var(--cvh-ink-2); }
.cvh-sec-visual { margin: 0; display: grid; gap: 14px; }
.cvh-sec-band { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: #e6f6fd; color: #0f172a; font-size: 0.9rem; line-height: 1.45; }
.cvh-sec-band b { font-weight: 700; }
.cvh-sec-band span { flex: 1 1 260px; color: #3f4f66; }
.cvh-sec-band i { font-style: normal; font-weight: 700; color: #0077ad; padding: 6px 10px; border-radius: 8px; border: 1px solid #b9e3f5; background: #ffffff; white-space: nowrap; }
.cvh-sec-audit { padding: 22px 22px 20px; border-radius: 14px; background: #0f1b2d; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.8); color: #dbe5f1; }
.cvh-sec-audit p { margin: 0; }
.cvh-sec-k { font: 700 12px var(--cvh-ui); letter-spacing: 0.14em; text-transform: uppercase; color: #7fd3f7; }
.cvh-sec-ev { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px !important; padding: 12px 16px; border-radius: 10px; background: #1e293b; }
.cvh-sec-ev code { font: 600 1rem "IBM Plex Mono", ui-monospace, monospace; color: #8fd3f2; }
.cvh-sec-ev span { font-size: 0.9rem; color: #c3cede; }
.cvh-sec-meta { margin-top: 10px !important; font: 500 0.85rem "IBM Plex Mono", ui-monospace, monospace; color: #94a3b8; }
.cvh-sec-ok { margin-top: 14px !important; font-weight: 600; font-size: 0.95rem; color: #7ee2a8; }
.cvh-sec-visual figcaption { font-size: 0.85rem; color: var(--cvh-ink-2); }

.cvh-proof { margin: 12px 0 clamp(22px, 3vw, 34px); max-width: 70ch; font-size: 1.05rem; line-height: 1.6; color: var(--cvh-ink-2); }
.cvh-proof .cvh-ghost { margin-left: 6px; white-space: nowrap; }
@media (max-width: 1023.98px) { .cvh-sec-grid, .cvh-own { grid-template-columns: minmax(0, 1fr); } }
