/* VitalBridge home: layout and motion after tryholo.ai (2026-11-17). Spec: outputs/mason/2026-11-17-vital-bridge-tryholo-clone/BUILD-SPEC.md.
   Written at rest first; MOTION adds movement under html.js; REST (last) takes it all away again. */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-reveal: 600ms; --dur-cascade: 700ms; --dur-step: 390ms; --dur-hover: 160ms;
  --card-radius-lg: 20px;
}

.vb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.vb-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--harbour-deep); border: 1px solid color-mix(in srgb, var(--vb-ir-500) 55%, transparent); color: var(--paper);
  font-size: 0.8125rem; font-weight: 700; line-height: 1.2; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7);
}
.vb-chip:nth-child(2) { margin-top: 10px; } .vb-chip:nth-child(4) { margin-top: 6px; }   /* three depths */
.vb-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 599px) { .vb-chips { gap: 6px; } .vb-chip { font-size: 0.75rem; padding: 6px 10px; gap: 6px; } .vb-chip:nth-child(n) { margin-top: 0; } }
.vb-sweep { position: relative; white-space: nowrap; }
.vb-sweep::after {
  content: attr(data-sweep); content: attr(data-sweep) / ""; position: absolute; inset: 0; color: transparent; pointer-events: none; opacity: 0; visibility: hidden;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%) 150% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.vb-stage { min-width: 0; }
.vb-stage .hero-film { gap: 10px; }
/* Branded player (Signature idea 2): built by motion.js inside the frame, so the frame's focus ring covers it */
.vb-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 22px 10px 12px; border-radius: 999px; border: 1.5px solid var(--harbour-deep);
  background: var(--btn-bg); color: var(--btn-fg); font: 700 1rem/1.2 var(--font-text); cursor: pointer;   /* a blue button (round 4: no infrared buttons) */
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .65);
}
.vb-play .tri { width: 36px; height: 36px; border-radius: 50%; background: var(--harbour-deep); position: relative; flex: none; }
.vb-play .tri::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vb-play:hover { background: var(--btn-hover); }
.vb-film.is-started .vb-play { display: none; }
.vb-ctl {
  position: absolute; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 6px; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(4, 19, 47, .92) 40%); color: var(--paper);
}
.vb-film.is-started .vb-ctl { display: flex; }
.vb-ctl button {
  min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: var(--paper); font: 700 0.8125rem/1 var(--font-text); cursor: pointer; padding: 0 8px;
}
.vb-ctl button:hover { background: rgba(255, 255, 255, .14); }
.vb-ctl button[aria-pressed="true"] { color: var(--gold); }
.vb-ctl .vb-time { font: 600 0.8125rem/1 var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 4px; }
.vb-ctl input[type="range"] { flex: 1; min-width: 60px; accent-color: var(--gold); height: 24px; }
.vb-ico { width: 16px; height: 16px; display: block; }
.vb-chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.vb-chapters button {
  position: relative; display: inline-flex; gap: 8px; align-items: baseline; min-height: 40px; padding: 8px 10px;
  border: 0; border-radius: 8px; background: transparent; color: var(--fg); font: 600 0.875rem/1.2 var(--font-text); cursor: pointer;
}
.vb-chapters button:hover { background: var(--tint); }
.vb-ct { color: var(--fg-accent); font-variant-numeric: tabular-nums; }
.vb-chapters button::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out-expo);
}
.vb-chapters button[aria-current="true"]::after { transform: scaleX(1); }

.vb-strip { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px var(--gutter); overflow: hidden; }
.vb-marquee { flex: 1; min-width: 0; overflow: hidden; }
.vb-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.vb-names li { font-size: 0.9375rem; font-weight: 600; color: var(--fg-soft); white-space: nowrap; }
.vb-names li::after { content: "·"; color: var(--gold); padding: 0 14px; }
@media (max-width: 599px) { .vb-names { gap: 2px 0; } .vb-names li { font-size: 0.8125rem; } .vb-names li::after { padding: 0 8px; } .vb-strip { padding-top: 12px; padding-bottom: 12px; } }
.vb-names-copy { display: none; }
.vb-pause {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--rule-strong); background: transparent; color: var(--fg); font: 700 0.8125rem/1 var(--font-text); cursor: pointer;
}
.vb-pause-i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.vb-pause[aria-pressed="true"] .vb-pause-i { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }
html.vb-ready .vb-strip.is-marquee .vb-track { display: flex; width: max-content; }
html.vb-ready .vb-strip.is-marquee .vb-names { flex-wrap: nowrap; justify-content: flex-start; }
html.vb-ready .vb-strip.is-marquee .vb-names-copy { display: flex; }

.vb-pillars .job { overflow: visible; position: relative; border-radius: var(--card-radius-lg); }
.vb-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); padding-top: 26px; }
.vb-span { position: absolute; top: -20px; left: calc(clamp(16px, 2.4vw, 28px) / -2); right: calc(clamp(16px, 2.4vw, 28px) / -2); height: 2px; background: var(--gold); opacity: .7; transform-origin: left; transition: opacity var(--dur-hover) var(--ease-std); }
.vb-rail > :first-child .vb-span { left: 0; } .vb-rail > :last-child .vb-span { right: 0; }
.vb-span::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 20px; background: var(--gold); }
.vb-pillars .job:is(:hover, :focus-within) .vb-span { opacity: 1; }
.vb-dia { width: 120px; height: 56px; display: block; }
.vb-dia .n, .vb-demo .n, .vb-demo .p, .vb-demo .c { stroke: var(--harbour); }
.vb-dia .g, .vb-demo .g, .vb-demo .l { stroke: var(--gold-text); }
@media (max-width: 1023px) {
  .vb-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 10px; scrollbar-width: thin; }
  .vb-rail > .job { flex: 0 0 min(84%, 440px); scroll-snap-align: start; --tilt: 0deg !important; }
  .vb-span { left: -8px; right: -8px; }
}

.vb-path-wrap { position: relative; }
.vb-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.vb-line-draw { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.vb-dot { position: absolute; top: -5px; left: calc(100% - 12px); width: 12px; height: 12px; border-radius: 50%; background: var(--vb-ir-200); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vb-ir-500) 25%, transparent), 0 0 18px color-mix(in srgb, var(--vb-ir-500) 50%, transparent); }
.vb-steps li { position: relative; }
.vb-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.vb-flow .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vb-flow h3 { font-size: clamp(1.15rem, calc(1.6vw * var(--k, 1)), 1.4rem); margin: 0; }
.vb-more { margin: 28px 0 0; }
@media (max-width: 799px) {
  .vb-path-wrap { padding-left: 30px; }
  .vb-line { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .vb-line-draw { transform-origin: top; }
  .vb-dot { left: -5px; top: calc(100% - 12px); }
  .vb-steps li { border-top: 0; padding-top: 0; }
  .vb-steps li::before { top: 6px; left: -29px; }
  .vb-flow .steps-4 { grid-template-columns: 1fr; }
}

.vb-statement { margin: 0 auto; max-width: 22em; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, calc(3.4vw * var(--k, 1)), 2.9rem); line-height: 1.35; color: var(--fg); }
.vb-type { color: var(--fg-accent); }
.vb-w { white-space: nowrap; }

.vb-tiercard { gap: 12px; }
.vb-tierbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: end; padding: 0; margin: 4px 0 4px; background: none; border: 0; border-radius: 0; }
.vb-tierbar button {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 44px; padding: 6px 4px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: transparent; color: var(--fg); font: 700 0.875rem/1.2 var(--font-text); cursor: pointer; text-align: center;
}
.vb-tierbar button[aria-selected="true"] { background: var(--tint); color: var(--fg); border-color: var(--harbour); border-width: 2px; }
.vb-bar { display: block; height: calc(var(--h) * 88px); border: 1.5px solid var(--harbour); border-radius: 6px 6px 2px 2px; background: var(--steel-2); transform-origin: bottom; transition: background-color var(--dur-hover) var(--ease-std); }
.vb-tierbar button[aria-selected="true"] .vb-bar { background: var(--gold); border-color: var(--harbour-deep); }
.vb-tierbar button:hover .vb-bar { background: var(--vb-ir-400); }
.vb-tp { font-weight: 600; font-size: 0.8125rem; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.vb-tierpanel[hidden] { display: none; }
.vb-price { font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.vb-price small { display: block; margin: 6px 0 0; }
.vb-lead { margin: 0 0 8px; font-weight: 700; }
.vb-tierpanel .checks { margin: 0; gap: 6px; font-size: 0.9375rem; }
.vb-addon { margin: 8px 0 0; }
.vb-seats { display: flex; gap: 8px; padding: 8px 0 0; border-top: 1px solid var(--line); }
.vb-seat { width: 16px; height: 22px; position: relative; }
.vb-seat::before { content: ""; position: absolute; left: 4px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--harbour); }
.vb-seat::after { content: ""; position: absolute; left: 0; bottom: 0; width: 16px; height: 11px; border-radius: 8px 8px 2px 2px; background: var(--harbour); }
.vb-tiercard .note { margin: 0; }


.vb-score { margin-top: 8px; }
.vb-arc-wrap { position: relative; width: 132px; height: 132px; margin: 0 0 16px; }
.vb-arc { width: 100%; height: 100%; transform: rotate(-90deg); }
.vb-arc-segs circle { stroke: rgba(10, 33, 82, .16); transition: stroke var(--dur-step) var(--ease-std); }
.vb-arc-segs circle.on { stroke: var(--gold-text); }
.vb-arc-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; line-height: 1.1; }
.vb-arc-n b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.vb-arc-n span { font-size: 0.8125rem; font-weight: 700; color: var(--fg-soft); }
.vb-score.is-stepper .vb-qs > li { display: none; }
.vb-score.is-stepper .vb-qs > li.is-cur { display: grid; }
.vb-score.is-stepper.is-done .vb-qs > li.is-cur { display: none; }
.vb-qnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.vb-qnav[hidden] { display: none; }
.vb-back { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--rule-strong); background: transparent; color: var(--fg); font: 700 0.9375rem/1 var(--font-text); cursor: pointer; }
.vb-back[disabled] { visibility: hidden; }
.vb-qcount { font-weight: 700; font-size: 0.875rem; color: var(--fg-soft); }
.vb-score .score-meter { display: none; }
.vb-map { display: none; margin-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vb-score.is-done .vb-map { display: grid; }
.vb-map-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.vb-map-h { margin: 0 0 2px; font-size: 0.8125rem; font-weight: 800; }
.vb-chipl { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.8125rem; font-weight: 600; text-decoration: none; color: var(--harbour); background: var(--white); }
.vb-chipl.is-gap { border: 2px solid var(--vb-ir-700); background: var(--vb-sky-100); font-weight: 800; }
.vb-chipl:hover { text-decoration: underline; }
@media (max-width: 899px) { .vb-score-pic { display: none; } }
@media (max-width: 599px) { .vb-map { grid-template-columns: 1fr; } }

.vb-stack { display: grid; gap: 28px; margin-top: 24px; }
.vb-stackcard {
  position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 24px; min-height: clamp(200px, 26vw, 280px); border-radius: var(--card-radius-lg); box-shadow: 0 -14px 30px -20px rgba(10, 33, 82, .45);
}
.vb-stackcard h3 { font-size: clamp(1.4rem, calc(2.4vw * var(--k, 1)), 2rem); }
.vb-demo { width: clamp(160px, 22vw, 240px); height: auto; }
.vb-demo .c.lit { fill: color-mix(in srgb, var(--vb-ir-700) 45%, transparent); stroke: var(--gold-text); }
@media (max-width: 599px) { .vb-stackcard { grid-template-columns: 1fr; } .vb-demo { width: 180px; } }

.vb-readers .card-foot .btn { min-height: 44px; }

.vb-tags { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.vb-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--paper); font-size: 0.8125rem; font-weight: 700; background: rgba(4, 19, 47, .6); }
.vb-tags li:nth-child(even) { translate: 0 6px; } .vb-tags li:nth-child(3n) { translate: 0 -3px; }

main .btn { transition: background-color var(--dur-hover) var(--ease-std), color var(--dur-hover) var(--ease-std), border-color var(--dur-hover) var(--ease-std), transform var(--dur-hover) var(--ease-std); }
main .btn:hover { transform: translateY(-2px); }
.vb-stackcard:hover { border-color: var(--harbour); }

.vb-bridge-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, 86vh, 880px); padding: clamp(64px, 8vw, 112px) 0 !important; background: var(--harbour-deep) !important; border-bottom: 0; }
.vb-hero-pic { position: absolute; inset: 0; z-index: -2; }
.vb-hero-pic :is(picture, img) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }   /* the sunrise hero (2026-11-24): its left 40% is the text-safe side */
.vb-bridge-hero .wrap { display: block; }
.vb-bridge-hero .home-hero-text { max-width: 560px; }
/* Hero option A (Christian, 2026-11-24, "a"): no overlay, scrim or shadow. At desktop widths the text column (eyebrow, headline,
   subhead, buttons) is confined to the photo's darkest third, and the subhead is white like the headline. Measured against the
   photo pixels at 1024, 1280, 1440 and 1920 (site/tools/hero-contrast.mjs): QC.md, hero option A. */
.vb-bridge-hero .lede { color: var(--fg); }
@media (min-width: 900px) {
  .vb-bridge-hero .home-hero-text { max-width: var(--hero-col, 330px); }
  .vb-bridge-hero .home-hero-text h1 { font-size: clamp(2.4rem, calc(3.6vw * var(--k, 1)), 3.4rem); }
  .vb-bridge-hero .vb-chips { max-width: 560px; }
  /* The photo brightens steadily from left to right. Where the hero is taller than width / 1.79 the crop has room to slide, so
     the photo is anchored at its left edge: the text sits on the darkest part of the frame, and the bridge stays in view. */
  .vb-hero-pic :is(picture, img) { object-position: 0% 50%; }
}
/* On wide screens the photo fills by width and has no room to slide, so its box runs 25% wider than the hero (still anchored at
   the left edge; the hero clips the overflow). The bridge stays in frame. */
@media (min-width: 1600px) { .vb-hero-pic { right: auto; width: 125%; } }
.vb-bridge-hero .vb-chips { margin-top: 24px; }
@media (max-width: 899px) {
  .vb-bridge-hero { --pic-h: clamp(300px, 84vw, 500px); align-items: start; min-height: 0; padding: 40px 0 calc(var(--pic-h) - 8px) !important; }
  .vb-hero-pic { top: auto; height: var(--pic-h); }
  .vb-hero-pic img { object-position: 67.5% 50%; }   /* the bridge stays in frame; the headline sits on the navy above, never on the picture */
  .vb-hero-pic { min-width: calc(var(--pic-h) * 9 / 16); }
}
/* The hero photo shows at its true colours: no navy scrim (Christian, 2026-11-24: "remove the navy overlay from the hero image").
   Only a visitor who turns on Stronger contrast or Calm background in the accessibility panel gets a scrim, so that mode keeps
   its 7:1 promise. */
html:is([data-vb-contrast], [data-vb-calm]) .vb-bridge-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 19, 47, .9); }
html[data-vb-calm] .vb-bridge-hero { background-color: var(--harbour) !important; }
@media (max-width: 899px) { html:is([data-vb-contrast], [data-vb-calm]) .vb-bridge-hero::before { display: none; } html:is([data-vb-contrast], [data-vb-calm]) .vb-hero-pic::after { content: ""; position: absolute; inset: 0; background: rgba(4, 19, 47, .35); } }
.vb-film-band.section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.vb-film-band .vb-stage { max-width: 980px; margin: 0 auto; }
.vb-cta-28 img { object-position: 70% 40%; }

.vb-cross { position: relative; background: var(--harbour); }
.vb-cross-stage { position: relative; overflow: hidden; display: grid; align-content: center; justify-items: center; gap: clamp(28px, 4vw, 44px); padding: clamp(64px, 8vw, 112px) var(--gutter); }
.vb-cross-hw { display: grid; position: relative; z-index: 2; }
.vb-cross-h { grid-area: 1 / 1; margin: 0; text-align: center; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(2rem, calc(4.4vw * var(--k, 1)), 4rem); line-height: 1.1; color: var(--paper); }
.vb-cross-h2 { display: none; color: var(--harbour); }
.vb-flood { display: none; }
.vb-dia3 { position: relative; z-index: 1; width: min(100%, 1040px); }
.vb-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vb-vb { display: none; }
.vb-names3 { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 6px 24px; }
.vb-nm { display: inline-block; max-width: 100%; border-radius: 999px; background: var(--harbour-deep); border: 1px solid color-mix(in srgb, var(--vb-ir-500) 60%, transparent); color: var(--paper); text-align: center; line-height: 1.15; }
.vb-nm[data-d="1"] { order: 3; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, calc(2.4vw * var(--k, 1)), 2.25rem); padding: .3em .75em; }
.vb-nm[data-d="2"] { order: 2; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, calc(1.5vw * var(--k, 1)), 1.4rem); padding: .3em .8em; }
.vb-nm[data-d="3"] { order: 1; font-weight: 700; font-size: clamp(0.75rem, calc(0.9vw * var(--k, 1)), 0.875rem); padding: 5px 12px; color: var(--vb-sky-200); opacity: .6; filter: blur(1px); }
.vb-line3 { position: relative; height: 3px; }
.vb-line3 > span { position: absolute; inset: 0; transform-origin: left; }
.vb-line3-gold { background: var(--vb-ir-500); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--vb-ir-500) 45%, transparent); }
.vb-line3-dark { background: var(--gold-text); opacity: 0; }
.vb-pier { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.vb-post { width: 6px; height: clamp(100px, 16vw, 230px); background: var(--gold); transform-origin: top; }
.vb-plabel { margin-top: 14px; padding: .3em .8em; border-radius: 999px; background: var(--harbour-deep); border: 1px solid color-mix(in srgb, var(--vb-ir-500) 60%, transparent); color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, calc(2vw * var(--k, 1)), 1.875rem); line-height: 1.15; text-align: center; }
.vb-plabel b { color: var(--gold); margin-right: 6px; font-weight: 600; }
html[data-vb-contrast] .vb-nm[data-d="3"] { opacity: 1; filter: none; }
@media (min-width: 1024px) { .vb-dia3 { width: min(100%, 72vw, 1180px); } .vb-post { width: 8px; } }
@media (max-width: 699px) { .vb-names3 { gap: 8px; padding: 0 3px 18px; } .vb-nm[data-d="1"], .vb-nm[data-d="2"] { padding: .25em .55em; } .vb-plabel { padding: .25em .5em; } }

/* ===== MOTION: only with a script; hidden states use opacity and transform; a 3 s failsafe shows all if motion.js never runs ===== */
@keyframes vb-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes vb-rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes vb-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes vb-sweep { 0% { opacity: 1; visibility: visible; background-position: 150% 0; } 71.4% { opacity: 1; visibility: visible; background-position: -150% 0; } 71.5%, 100% { opacity: 0; visibility: hidden; background-position: -150% 0; } }
@keyframes vb-marq { to { transform: translateX(-50%); } }
@keyframes vb-drift { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
@keyframes vb-failsafe { to { opacity: 1; transform: none; } }

html.js .vb-cascade { animation: vb-up var(--dur-cascade) var(--ease-out-expo) calc(var(--i) * 80ms) both; }
html.js .vb-h1 { animation-name: vb-rise; }
html.js .vb-chip { animation: vb-up 600ms var(--ease-out-expo) calc(300ms + var(--i) * 120ms) both, vb-float 2400ms cubic-bezier(0.42, 0, 0.58, 1) calc(900ms + var(--i) * 120ms) 1; }
html.js .vb-sweep::after { animation: vb-sweep 2100ms linear 600ms 2; }
html.vb-ready .vb-strip.is-marquee .vb-track { animation: vb-marq 60s linear infinite; animation-play-state: paused; }
html.vb-ready .vb-strip.is-marquee.is-on:not(.is-paused):not(:hover):not(:focus-within) .vb-track { animation-play-state: running; }

html.js :is(.vb-reveal, .vb-fan, .vb-step):not(.is-in) { opacity: 0; }
html.js .vb-reveal { transition: opacity var(--dur-reveal) var(--ease-out-expo) calc(var(--i, 0) * 80ms), transform var(--dur-reveal) var(--ease-out-expo) calc(var(--i, 0) * 80ms); }
html.js .vb-reveal:not(.is-in) { transform: translateY(24px); }
html.js .vb-fan { transition: opacity 700ms var(--ease-out-soft) calc(var(--i) * 100ms), transform 700ms var(--ease-out-soft) calc(var(--i) * 100ms); }
html.js .vb-fan:not(.is-in) { transform: translateY(24px) rotate(var(--tilt)); }
html.js .vb-fan.is-done { transition-delay: 0s; transition-duration: var(--dur-hover); }
html.js .vb-fan.is-done:hover { transform: translateY(-4px); }
html.js .vb-rail:not(.is-drawn) .vb-span { transform: scaleX(0); }
html.js .vb-span { transition: transform 400ms linear calc(var(--i) * 400ms), opacity var(--dur-hover) var(--ease-std); }
html.js .vb-rail:not(.is-drawn) .vb-span::after { opacity: 0; }
html.js .vb-span::after { transition: opacity 200ms linear calc(var(--i) * 400ms + 200ms); }

html.js [data-path] { --stagger: 300ms; --draw: 900ms; }
html.js .vb-flow[data-path] { --stagger: 220ms; --draw: 1100ms; }
html.js .vb-step { transition: opacity var(--dur-step) cubic-bezier(0, 0, 0.58, 1) calc(var(--i) * var(--stagger)), transform var(--dur-step) cubic-bezier(0, 0, 0.58, 1) calc(var(--i) * var(--stagger)); }
html.js .vb-step:not(.is-in) { transform: translateY(13px) scale(.95); }
html.js [data-path]:not(.is-in) .vb-line-draw { transform: scaleX(0); }
html.js [data-path] .vb-line-draw { transition: transform var(--draw) cubic-bezier(0, 0, 0.58, 1); }
html.js [data-path] .vb-dot { left: 0; opacity: 0; transform: translate(0, 0); }
html.js [data-path].is-moving .vb-dot { opacity: 1; transform: translate(var(--dx, 0px), var(--dy, 0px)); transition: transform 1600ms cubic-bezier(0.45, 0, 0.55, 1), opacity 200ms linear; }
@media (max-width: 799px) {
  html.js [data-path]:not(.is-in) .vb-line-draw { transform: scaleY(0); }
  html.js [data-path] .vb-dot { left: -5px; top: -5px; }
}

html.js .vb-type .vb-ch { opacity: 0; transition: opacity 60ms linear var(--d, 0ms); }
html.js .vb-statement.is-in .vb-type .vb-ch { opacity: 1; }

html.js .vb-tiercard:not(.is-in) .vb-bar { transform: scaleY(0); }
html.js .vb-bar { transition: transform 800ms var(--ease-out-soft), background-color var(--dur-hover) var(--ease-std); }
html.js .vb-tierbar button:nth-child(2) .vb-bar { transition-delay: 100ms, 0s; }
html.js .vb-tierbar button:nth-child(3) .vb-bar { transition-delay: 200ms, 0s; }
html.js .vb-tierbar button:nth-child(4) .vb-bar { transition-delay: 300ms, 0s; }


html.js .vb-score.is-demo .vb-arc-segs circle { transition-duration: 240ms; }
html.js .vb-demo .c { transition: fill 300ms var(--ease-std), stroke 300ms var(--ease-std); }
html.js .vb-stackcard:not(.is-in) .vb-demo .p { opacity: .2; }
html.js .vb-demo .p { transition: opacity 240ms cubic-bezier(0, 0, 0.58, 1); }
html.js .vb-demo .p:nth-child(2) { transition-delay: 80ms; } html.js .vb-demo .p:nth-child(3) { transition-delay: 160ms; }
html.js .vb-demo .p:nth-child(4) { transition-delay: 240ms; } html.js .vb-demo .p:nth-child(5) { transition-delay: 320ms; }
html.js .vb-demo .p:nth-child(6) { transition-delay: 400ms; } html.js .vb-demo .p:nth-child(7) { transition-delay: 480ms; }
html.js .vb-demo .p:nth-child(8) { transition-delay: 560ms; }
html.js .vb-demo .l { stroke-dasharray: 70; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(0, 0, 0.58, 1); }
html.js .vb-stackcard:not(.is-in) .vb-demo .l { stroke-dashoffset: 70; }

html.js .vb-cross { height: 250vh; }
@media (max-width: 1023px) { html.js .vb-cross { height: 200vh; } }
html.js .vb-cross-stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); padding-top: 0; padding-bottom: 0; }
html.js .vb-flood { display: block; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); }
html.js .vb-cross-h2 { display: block; opacity: 0; visibility: hidden; }
html.js .vb-cross :is(.vb-nm, .vb-plabel) { opacity: 0; }
html.js .vb-line3 > span { transform: scaleX(0); }
html.js .vb-post { transform: scaleY(0); }
html.js .vb-cross :is(.vb-nm, .vb-plabel, .vb-post, .vb-flood), html.js .vb-line3 > span, html.js .vb-cross-h { will-change: transform, opacity; }
html.js:not(.vb-ready) .vb-cross :is(.vb-nm, .vb-plabel, .vb-post), html.js:not(.vb-ready) .vb-line3 > span { animation: vb-failsafe 1ms linear 3s forwards; }
html.js .vb-tags.is-in li { animation: vb-drift 3000ms cubic-bezier(0.42, 0, 0.58, 1) calc(var(--i) * 250ms) 1; }

html.js:not(.vb-ready) :is(.vb-reveal, .vb-fan, .vb-step) { animation: vb-failsafe 1ms linear 3s forwards; }
html.js:not(.vb-ready) .vb-span, html.js:not(.vb-ready) .vb-line-draw, html.js:not(.vb-ready) .vb-bar { animation: vb-failsafe 1ms linear 3s forwards; }

/* ===== REST: reduced motion, Reduce motion, Calm background, ?qc=1, print. All finished, nothing moves. Keep last. ===== */
@media (prefers-reduced-motion: reduce) {
  html.js :is(.vb-cascade, .vb-h1, .vb-chip, .vb-reveal, .vb-fan, .vb-step, .vb-span, .vb-line-draw, .vb-bar, .vb-ch, .vb-tags li, .vb-demo .p, .vb-demo .l, .vb-demo .c) { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; translate: none !important; stroke-dashoffset: 0 !important; }
  html.js .vb-sweep::after { animation: none !important; opacity: 0 !important; }
  html.js .vb-span::after { opacity: 1 !important; transition: none !important; }
  html.js [data-path] .vb-dot { left: calc(100% - 12px) !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .vb-strip .vb-track { animation: none !important; display: block !important; width: auto !important; }
  html.js .vb-strip .vb-names { flex-wrap: wrap !important; justify-content: center !important; }
  html.js .vb-strip .vb-names-copy, html.js .vb-pause { display: none !important; }
  html.js .vb-cross { height: auto !important; }
  html.js .vb-cross-stage { position: relative !important; height: auto !important; padding: clamp(64px, 8vw, 112px) var(--gutter) !important; }
  html.js :is(.vb-flood, .vb-cross-h2) { display: none !important; }
  html.js .vb-cross :is(.vb-nm, .vb-plabel, .vb-post, .vb-cross-h), html.js .vb-line3 > .vb-line3-gold { opacity: 1 !important; transform: none !important; }
  html.js .vb-line3 > .vb-line3-dark { opacity: 0 !important; }
  html.js .vb-cross .vb-nm[data-d="3"] { opacity: .6 !important; }
  main .btn:hover, html.js .vb-fan.is-done:hover { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 799px) { html.js [data-path] .vb-dot { left: -5px !important; top: calc(100% - 12px) !important; } }
html:is([data-vb-still], [data-vb-calm], .qc) :is(.vb-cascade, .vb-h1, .vb-chip, .vb-reveal, .vb-fan, .vb-step, .vb-span, .vb-line-draw, .vb-bar, .vb-ch, .vb-tags li, .vb-demo .p, .vb-demo .l, .vb-demo .c) { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; translate: none !important; stroke-dashoffset: 0 !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-sweep::after { animation: none !important; opacity: 0 !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-span::after { opacity: 1 !important; transition: none !important; }
html:is([data-vb-still], [data-vb-calm], .qc) [data-path] .vb-dot { left: calc(100% - 12px) !important; opacity: 1 !important; transform: none !important; transition: none !important; }
@media (max-width: 799px) { html:is([data-vb-still], [data-vb-calm], .qc) [data-path] .vb-dot { left: -5px !important; top: calc(100% - 12px) !important; } }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-strip .vb-track { animation: none !important; display: block !important; width: auto !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-strip .vb-names { flex-wrap: wrap !important; justify-content: center !important; }
html:is([data-vb-still], [data-vb-calm], .qc) :is(.vb-strip .vb-names-copy, .vb-pause) { display: none !important; }
html:is([data-vb-still], [data-vb-calm]) :is(main .btn:hover, .vb-fan.is-done:hover) { transform: none !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-cross { height: auto !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-cross-stage { position: relative !important; height: auto !important; padding: clamp(64px, 8vw, 112px) var(--gutter) !important; }
html:is([data-vb-still], [data-vb-calm], .qc) :is(.vb-flood, .vb-cross-h2) { display: none !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-cross :is(.vb-nm, .vb-plabel, .vb-post, .vb-cross-h), html:is([data-vb-still], [data-vb-calm], .qc) .vb-line3 > .vb-line3-gold { opacity: 1 !important; transform: none !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-line3 > .vb-line3-dark { opacity: 0 !important; }
html:is([data-vb-still], [data-vb-calm], .qc) .vb-cross .vb-nm[data-d="3"] { opacity: .6 !important; }
html[data-vb-calm] .vb-stackcard { position: static; }
@media (prefers-reduced-motion: reduce) { html.js :is(.vb-arc-segs circle, .vb-chapters button::after) { transition: none !important; } }
html:is([data-vb-still], [data-vb-calm], .qc) :is(.vb-arc-segs circle, .vb-chapters button::after) { transition: none !important; }
html[data-vb-calm] .vb-sweep::after { background-image: none !important; }
html[data-vb-contrast] .vb-cross .vb-nm[data-d="3"] { opacity: 1 !important; }
html[data-vb-calm] .vb-ctl { background: rgb(4, 19, 47) !important; }
html[data-vb-calm] :is(.vb-chip, .vb-tags li) { translate: none !important; margin-top: 0 !important; }
@media print {
  :is(.vb-cascade, .vb-h1, .vb-chip, .vb-reveal, .vb-fan, .vb-step, .vb-span, .vb-line-draw, .vb-bar, .vb-ch, .vb-tags li) { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .vb-cross, .vb-cross-stage { height: auto !important; position: static !important; }
  .vb-flood, .vb-pause, .vb-names-copy, .vb-ctl, .vb-play, .vb-chapters { display: none !important; }
  .vb-sweep::after { display: none !important; }
  .vb-cross :is(.vb-nm, .vb-plabel, .vb-post), .vb-line3 > .vb-line3-gold, .vb-cross-hw, .vb-cross-h { opacity: 1 !important; transform: none !important; }
  .vb-cross .vb-nm[data-d="3"] { opacity: .6 !important; } .vb-line3 > .vb-line3-dark, .vb-cross-h2 { display: none !important; }
  .vb-stackcard { position: static; }
}
/* Navy share on phones (CEO, 2026-11-17): Paper at the top of its range */
@media (max-width: 767px) { :root { --pad-paper: 104px; } }
/* Larger text: the phrase wraps, no sweep; 130%+ the divisions stand still */
html[data-vb-text] .vb-sweep { white-space: normal; }
html[data-vb-text] .vb-sweep::after { display: none; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-strip .vb-track { animation: none !important; display: block !important; width: auto !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-strip .vb-names { flex-wrap: wrap !important; justify-content: center !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) :is(.vb-strip .vb-names-copy, .vb-pause) { display: none !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-cross { height: auto !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-cross-stage { position: relative !important; top: auto !important; height: auto !important; padding: clamp(64px, 8vw, 112px) var(--gutter) !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) :is(.vb-flood, .vb-cross-h2) { display: none !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) :is(.vb-cross .vb-nm, .vb-cross .vb-plabel, .vb-cross .vb-post, .vb-cross-hw, .vb-cross-h, .vb-line3 > .vb-line3-gold, .vb-fan) { opacity: 1 !important; transform: none !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-cross .vb-nm[data-d="3"] { opacity: .6 !important; }
html:is([data-vb-text="2"], [data-vb-text="3"]) .vb-line3 > .vb-line3-dark { opacity: 0 !important; }


/* Palette v2, the white rule (PALETTE.md §5 rule 3): the home's two light bands are sky-100 and their cards drop to sky-50, so
   white stays under 12% of the page. Cards on navy bands stay white (the "light accent on navy"). */
.vb-start, .vb-readers { background: var(--vb-sky-100); }
.vb-start .card, .vb-readers .card { background: var(--vb-sky-50); }
