/* Video section (vid-3). Replaces the vid-1 block.
   <section class="vs"> on the lavender tint, a 1180px container with three parts:
   .vs-head (eyebrow, heading, line, chip), .vs-media (the 16:9 thumbnail card) and
   .vs-btns. Above 768px: text left (40%), card right (60%). At 768px and below: head,
   card, then the buttons at full width. Nothing is requested from YouTube until the
   play button is pressed (video.js); the card then holds the wide player above 768px
   and the Short, in a 9:16 frame, at 768px and below.
   A section placed inside a page's content column carries .vs--bleed to run full width.
   Colours read the page's tokens (--lav, --navy, --maroon, --muted); the /find/ app
   maps them to its own. */
.vs { margin: 0; padding: 72px 0; background: var(--lav, #f3f1fb); }
.vs--bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
html:has(.vs--bleed) { overflow-x: clip; }
.vs-in { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); grid-template-areas: "head media" "btns media"; column-gap: 56px; row-gap: 28px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.vs-head { grid-area: head; align-self: end; }
.vs-media { grid-area: media; align-self: center; min-width: 0; }
.vs-btns { grid-area: btns; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; }
.vs-eyebrow { margin: 0 0 14px; font: 700 12px/1.3 var(--head, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); text-align: left; }
.vs .vs-h { margin: 0; font-family: var(--display, inherit); font-weight: 800; font-size: 40px; line-height: 1.15; letter-spacing: -.6px; color: var(--navy); text-align: left; white-space: normal; }
.vs .vs-line { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); text-align: left; }
.vs-chip { display: inline-flex; align-items: center; margin-top: 18px; padding: 5px 14px; border-radius: 40px; background: #fff; border: 1px solid rgba(45, 27, 78, .14); font: 700 13px/1.3 var(--head, inherit); color: var(--navy); }
.vs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 40px; box-sizing: border-box; font: 700 15.5px/1.2 var(--head, inherit); text-decoration: none; cursor: pointer; }
.vs-btn--demo { background: var(--maroon); color: #fff; border: 1px solid var(--maroon); }
.vs-btn--demo:hover { filter: brightness(.93); color: #fff; text-decoration: none; }
.vs-btn--yt { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.vs-btn--yt:hover { background: #fff; color: var(--navy); text-decoration: none; }
.vs-btn--yt svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.vs-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.vs-card { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--navy); box-shadow: 0 18px 44px rgba(45, 27, 78, .22); }
.vs-card:focus-within { outline: 3px solid var(--navy); outline-offset: 4px; }
.vs-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.vs-play:focus-visible { outline: none; }
.vs-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-pill { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 40px; background: #fff; box-shadow: 0 6px 18px rgba(45, 27, 78, .25); font: 700 15px/1 var(--head, inherit); color: var(--navy); transition: transform .2s ease; }
.vs-pill-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--maroon); }
.vs-pill-ic svg { width: 14px; height: 14px; margin-left: 2px; fill: #fff; }
.vs-play:hover .vs-pill, .vs-play:focus-visible .vs-pill { transform: scale(1.04); }
.vs-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vs-card.is-short { aspect-ratio: 9 / 16; }
@media (max-width: 768px) {
  .vs { padding: 48px 0; }
  .vs-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "btns"; row-gap: 22px; padding: 0 20px; }
  .vs-head, .vs-media, .vs-btns { align-self: auto; }
  .vs .vs-h { font-size: 30px; letter-spacing: -.4px; }
  .vs .vs-line { font-size: 16px; }
  .vs-btns { flex-direction: column; }
  .vs-btn { width: 100%; }
  .vs-card { border-radius: 16px; }
  .vs-pill { top: 12px; left: 12px; gap: 7px; padding: 4px 12px 4px 4px; font-size: 13px; }
  .vs-pill-ic { width: 24px; height: 24px; }
  .vs-pill-ic svg { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .vs-pill { transition: none; } }
