/* =====================================================================================================================
   Version B (Displai Experience V2). A separate concept beside the approved site (Version A, board-preview/): this file only
   styles Version B's own sections, its navigation and the header. Gellix, Displai Blue 03 and the approved imagery throughout.
   Second review (Ryan, Oct 30): Version A is the structural baseline; every section from the Dashboard down is Version A's,
   unchanged.
   Third review (Ryan, Nov 9: Version B is the homepage base): navy hero field over the photo as shot, white logo band,
   white header with an anchor-only navigation and a blue mark on the section in view, light restaurant introduction.
   ===================================================================================================================== */
:root {
  --vb-ink: #05081A;                 /* the dark ground of the restaurant stage: Displai navy taken nearly to black */
  --vb-navy: #08177A;                /* Blue 05: the hero's field */
  --vb-light: #F4F5F7;
  --vb-pale: #F5F7FF;                /* the restaurant introduction: white with a breath of Blue 01 */
  --vb-mute: rgba(255, 255, 255, .72);
  --vb-faint: rgba(255, 255, 255, .5);
  --vb-ease: cubic-bezier(.2, .7, .2, 1);
  --vb-wide: 1360px;
}
.vb-wide { max-width: calc(var(--vb-wide) + 2 * var(--gutter)); }
.vb-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--vb-mute); font-size: .9375rem; font-weight: 500; letter-spacing: .01em; line-height: 1.3; }
.vb-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--blue-01); flex: none; }
.vb-eyebrow--ink { color: var(--gray-80); }
.vb-eyebrow--ink::before { background: var(--blue-03); }
.vb-h2 { margin: 0; font-size: clamp(2.25rem, 1.25rem + 2.7vw, 3.75rem); font-weight: 500; line-height: 1.03; letter-spacing: -.025em; text-wrap: balance; }

/* in-page links land with the section's top exactly at the header's bottom edge, so nothing of the section before it is
   left showing above it (the page's 8 px of scroll-padding left a strip of it under the header) */
.vb main > section[id] { scroll-margin-top: -8px; }

/* =====================================================================================================================
   The header (Ryan, Nov 10 completion brief): the production site's navigation (How We Help, Who We Help, Why Displai,
   Partners, Resources, Log in, Book a demo) in Version B's design. An opaque white bar with a hairline, which gains a soft
   shadow once the page has scrolled; each group's landing page stays a real link, with its own button beside it for the
   menu (js/vb.js: hover, click and keyboard); an open group is marked in Blue 03. On phones, the full-height white sheet
   under the header holds the same groups, each opening in place.
   ===================================================================================================================== */
.vb .site-header { --header-top: #fff; --header-solid: #fff; box-shadow: 0 1px 0 rgba(23, 23, 23, .08); }   /* opaque: nothing shows through */
.vb .site-header.is-solid { box-shadow: 0 1px 0 rgba(23, 23, 23, .08), 0 12px 28px -22px rgba(8, 23, 122, .45); }
.vb .site-header .wrap { gap: 24px; }
.vbn { margin-left: 4px; }
.vbn-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.vbn-item { position: relative; display: flex; align-items: center; border-radius: var(--radius); transition: background-color .2s ease; }
.vbn-item:hover { background: #F5F7FF; }
.vb .vbn .vbn-top { padding: 10px 2px 10px 12px; border-radius: var(--radius) 0 0 var(--radius); line-height: 24px; transition: color .2s ease; }
.vb .vbn .vbn-top:hover { background: none; color: var(--blue-03); }
.vbn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 36px; min-height: 44px; margin: 0; padding: 0; border: 0;
  border-radius: 0 var(--radius) var(--radius) 0; background: none; color: inherit; font: inherit; font-size: var(--fs-small); font-weight: 500; line-height: 24px;
  cursor: pointer; transition: color .2s ease; }
.vbn-btn--label { width: auto; padding: 10px 14px 10px 12px; border-radius: var(--radius); }
.vbn-btn:hover { color: var(--blue-03); }
.vbn-item.is-open { background: #F5F7FF; }
.vbn-item.is-open > .vbn-top, .vbn-item.is-open > .vbn-btn { color: var(--blue-03); }
.vbn-item.is-open::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-03); }
.nav-chev { flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--vb-ease); }
[aria-expanded="true"] > .nav-chev { transform: translateY(1px) rotate(-135deg); }
.vbn-panel { position: absolute; left: 0; top: calc(100% + 16px); z-index: 60; width: max-content; min-width: 300px; max-width: min(620px, calc(100vw - 32px));
  padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 23, 23, .08), 0 30px 60px -28px rgba(8, 23, 122, .42);
  animation: vb-dd .2s var(--vb-ease) both; }
.vbn-panel[hidden] { display: none; }
.vbn-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }   /* keeps the pointer inside on its way down */
@keyframes vb-dd { from { opacity: 0; transform: translateY(-6px); } }
.vbn-head { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 8px; padding: 6px 12px 12px; border-bottom: 1px solid var(--rule);
  color: var(--blue-05); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.vb .vbn a.vbn-head { border-radius: 10px 10px 0 0; font-size: 1rem; }
.vbn-head svg { width: 17px; height: 17px; fill: currentColor; transition: transform .25s var(--vb-ease); }
.vb .vbn a.vbn-head:hover { background: none; color: var(--blue-03); }
.vb .vbn a.vbn-head:hover svg { transform: translateX(3px); }
.vbn-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.vbn-links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; }
.vb .vbn .vbn-links a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--gray-100); line-height: 1.3;
  white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.vb .vbn .vbn-links a:hover { background: #F5F7FF; color: var(--blue-03); }
.vbn-off { flex: none; width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .65; }
/* narrower desktops: the same bar, tighter (1100 to 1279 px) */
@media (min-width: 1100px) and (max-width: 1279px) {
  .vb .site-header .wrap { gap: 14px; }
  .vb .vbn .vbn-top { padding-left: 8px; }
  .vbn-btn { width: 30px; }
  .vbn-btn--label { width: auto; padding: 10px 10px 10px 8px; }
  .vb .header-cta { gap: 2px; }
}
/* phones and tablets: the full-height white sheet under the header (Ryan, Nov 9 and Nov 10). While it is open the page behind
   it does not scroll and is inert (js/vb.js), so nothing under it shows, scrolls or takes focus. */
.vbm-list { margin: 0; padding: 0; list-style: none; }
.vbm-group { border-bottom: 1px solid var(--rule); }
.vbm-row { display: flex; align-items: stretch; }
.vb .mobile-nav .vbm-top { flex: 1; min-height: 56px; border-bottom: 0; font-size: 1.1875rem; }
.vbm-btn { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; min-height: 56px; margin: 0 -10px 0 0; padding: 0; border: 0;
  border-radius: 12px; background: none; color: inherit; font: inherit; cursor: pointer; }
.vbm-btn--label { width: 100%; margin: 0; justify-content: space-between; padding: 0 9px 0 0; font-size: 1.1875rem; font-weight: 500; text-align: left; }
.vbm-btn .nav-chev { width: 10px; height: 10px; }
.vbm-btn[aria-expanded="true"] { color: var(--blue-03); }
.vbm-group:has(.vbm-btn[aria-expanded="true"]) .vbm-top { color: var(--blue-03); }
.vbm-sub { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 2px solid var(--blue-03); list-style: none; }
.vbm-sub[hidden] { display: none; }
.vb .mobile-nav .vbm-sub a { gap: 8px; min-height: 48px; border-bottom: 0; color: var(--gray-80); font-size: 1.0625rem; font-weight: 400; }
.vbm-cta { display: grid; gap: 12px; margin-top: 24px; }
.vb .mobile-nav .vbm-login { justify-content: center; min-height: 52px; border: 1px solid var(--gray-30); border-radius: var(--radius); font-size: 1rem; }
.vb .mobile-nav .vbm-cta .btn { min-height: 52px; margin-top: 0; justify-content: center; }
@media (max-width: 1099px) {
  .vb .mobile-nav { inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; overflow-y: auto; overscroll-behavior: contain; background: #fff;
    border-top: 1px solid var(--rule); box-shadow: none; padding: 4px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
}
html.vb-menu-open, html.vb-menu-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .vbn-panel { animation: none; } .nav-chev, .vbn-item, .vbn-btn, .vb .vbn .vbn-top { transition: none; } }

/* =====================================================================================================================
   1. Hero (Ryan, Nov 9): Version A's hero structure. A Displai navy field (Blue 05, lit with Blue 04 at its top left) holds
   the copy across roughly the left 42 % and fades into the photo across the centre. The photo is as shot (no grade), cut
   clear of the LTO poster (tools/vb_build_hero.py) and framed on the menu screens: --W is the width the full 2048 x 1536
   frame would have; the crop starts 19 % into it. Desktop: the four menu screens (x 43.9 to 84.9 %, y 29.9 to 51.2 % of
   the frame) span about 57 to 96 % of the window, clear of the copy. The logo band under it is white. Phones: the photo on
   top, the navy rising into its foot, then the copy, short enough that Book a meeting is in the first screen.
   ===================================================================================================================== */
.vb-hero { background: var(--vb-navy); }
.vb-hero .hero-inner { --fg: #fff; --bg: var(--vb-navy); --c-blue: var(--blue-01); position: relative; color: #fff; }
.vb-hero .hero-media { left: 0; overflow: hidden; container-type: size; }
.vb-hero .hero-media img { --W: max(93.9cqw, 133.4cqh); --cx: min(76.75cqw, calc(98cqw - var(--W) * .205));
  position: absolute; max-width: none; object-fit: fill; width: calc(var(--W) * .81); height: calc(var(--W) * .75);
  left: calc(var(--cx) - var(--W) * .454);
  top: clamp(calc(100cqh - var(--W) * .75), calc(var(--header-h) + (100cqh - var(--header-h) - 104px) * .44 - var(--W) * .304), 0px); }
.vb-hero .hero-shade { background:
    radial-gradient(64% 86% at 0% 0%, rgba(5, 48, 166, .72) 0%, rgba(5, 48, 166, 0) 70%),
    linear-gradient(90deg, var(--vb-navy) 0%, var(--vb-navy) 37%, rgba(8, 23, 122, .9) 42%, rgba(8, 23, 122, .7) 47%, rgba(8, 23, 122, .42) 52%,
      rgba(8, 23, 122, .18) 57%, rgba(8, 23, 122, .05) 62%, rgba(8, 23, 122, 0) 66%); }
/* the headline's second line in pale blue again (Blue 01, 5.8:1 on the navy) */
.vb-hero h1 span:last-child { background: none; color: var(--blue-01); -webkit-text-fill-color: currentColor; }
.vb-hero .lede { color: rgba(255, 255, 255, .86); }
.vb-hero .hero-ctas .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(135, 156, 255, .55), 0 12px 28px -12px rgba(0, 0, 0, .5), 0 0 34px -10px rgba(42, 99, 255, .5); }
/* the logo band: white, Version A's logos and grey title */
.vb-hero .hero-band { background: #fff; border-top: 0; border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 899px) {
  .vb-hero { --vbh-ph: clamp(236px, 33svh, 320px); }
  .vb-hero .hero-media { height: var(--vbh-ph); min-height: 0; max-height: none; }
  .vb-hero .hero-media img { --W: max(200cqw, 166.7cqh); width: calc(var(--W) * .81); height: calc(var(--W) * .75); left: calc(var(--W) * -.21);
    top: clamp(calc(100cqh - var(--W) * .75), calc(var(--header-h) + (100cqh - var(--header-h)) * .42 - var(--W) * .304), 0px); }
  .vb-hero .hero-shade { height: var(--vbh-ph); min-height: 0; max-height: none;
    background: linear-gradient(180deg, rgba(8, 23, 122, 0) 46%, rgba(8, 23, 122, .45) 70%, rgba(8, 23, 122, .86) 88%, var(--vb-navy) 100%); }
  .vb-hero .hero-inner { margin-top: -30px; padding-top: 0; padding-bottom: 30px; }
  .vb-hero .kicker { margin-bottom: 12px; }
  .vb-hero h1 { margin-bottom: 16px; }
  .vb-hero .lede { margin-bottom: 22px; }
  .vb-hero .hero-ctas { gap: 10px; }
  .vb-hero .hero-cue { min-height: 44px; margin-top: 22px; }
}

/* =====================================================================================================================
   3. The restaurant: a short, light introduction (Ryan, Nov 9: white or very pale blue, navy and black type, the "Start
   the 5-stop restaurant tour" button and its instruction), then the dark stage: it opens as it comes into view
   (js/vb-cinema.js sets --vbc-in from 1 to 0) and plays the walk's five stops from the approved 1080p frames, each
   cross-fading straight into the next. On desktop the stage is sized (--vbc-top, js/vb-cinema.js) so that, with the
   section's top under the header, its 01 to 05 bar sits inside the window with the first frame.
   ===================================================================================================================== */
/* ---- the definition (Ryan, Nov 10): what Displai is, right after the hero, in the page's own type */
.vb-def { background: #fff; padding: clamp(40px, 4.6vw, 68px) 0; }
.vb-def-p { max-width: 46em; margin: 0; color: var(--gray-80); font-size: clamp(1.1875rem, .98rem + .62vw, 1.625rem); line-height: 1.4; letter-spacing: -.011em; text-wrap: pretty; }
.vb-def-1 { color: var(--blue-05); font-weight: 500; }
@media (max-width: 899px) { .vb-def { padding: 34px 0 36px; } .vb-def-p { font-size: 1.1875rem; line-height: 1.42; } }

.vbc { --vbc-bar: 76px; background: var(--vb-pale); color: var(--gray-100); padding: clamp(36px, 3.4vw, 52px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.vbc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 18px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(22px, 2.2vw, 30px); }
.vbc .vb-eyebrow { margin-bottom: 14px; }
.vbc-head .vb-h2 { max-width: 13em; font-size: clamp(2rem, 1.3rem + 1.9vw, 3.125rem); }
.vbc-head-r p { color: var(--gray-80); font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }
.vbc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.vbc .vbc-start { min-height: 48px; padding: 0 22px; font: inherit; font-weight: 500; border-color: var(--blue-03); background: var(--blue-03); color: #fff; box-shadow: 0 12px 26px -14px rgba(0, 71, 212, .85);
  transition: background-color .25s ease, border-color .25s ease; }
.vbc .vbc-start:hover { border-color: var(--blue-04); background: var(--blue-04); }
.vbc-start svg { order: -1; width: 20px; height: 20px; margin-left: -4px; fill: currentColor; }   /* the play mark leads: it starts the tour here */
.vbc-hint { margin: 0; color: #565656; font-size: .9375rem; line-height: 1.4; }
.vbc-stage { position: relative; }
.vbc-frame { position: relative; height: clamp(420px, calc(100svh - var(--header-h) - var(--vbc-top, 300px)), 68vw); overflow: hidden; background: #000; color: #fff;
  clip-path: inset(calc(var(--vbc-in, 0) * 7%) calc(var(--vbc-in, 0) * 8vw) round calc(var(--vbc-in, 0) * 28px)); }
.vbc-media { position: absolute; inset: 0; transform: scale(calc(1 + var(--vbc-in, 0) * .1)); transform-origin: 50% 40%; }
.vbc-media picture, .vbc-media img, .vbc-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vbc-media video { opacity: 0; transition: opacity .45s ease; }
.vbc-media video.is-on { opacity: 1; }
.vbc-media .vbc-still img { transition: opacity .45s ease; }
.vbc-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5, 8, 26, .92) 0%, rgba(5, 8, 26, .66) calc(var(--vbc-bar) + 40px), rgba(5, 8, 26, .2) 52%, rgba(5, 8, 26, 0) 66%),
    linear-gradient(90deg, rgba(5, 8, 26, .66) 0%, rgba(5, 8, 26, .32) 30%, rgba(5, 8, 26, 0) 52%); }
.vbc-panel { position: absolute; left: max(var(--gutter), calc((100% - var(--vb-wide)) / 2)); bottom: calc(var(--vbc-bar) + clamp(20px, 3vh, 34px)); width: min(440px, 34%); }
.vbc-copy { animation: vbc-copy .6s var(--vb-ease) both; }
.vbc-copy[hidden] { display: none; }
@keyframes vbc-copy { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vbc-lab { display: flex; align-items: baseline; gap: 12px; color: rgba(255, 255, 255, .86); font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.vbc-lab-n { color: var(--blue-01); font-variant-numeric: tabular-nums; }
.vbc-copy h3 { margin: 12px 0 10px; font-size: clamp(1.5rem, 1.05rem + 1vw, 2.125rem); font-weight: 500; line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; }
.vbc-copy p { color: rgba(255, 255, 255, .82); line-height: 1.5; text-wrap: pretty; }
.vbc-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, .45); color: #fff;
  font-weight: 500; text-decoration: none; transition: border-color .25s ease; }
.vbc-go svg { width: 18px; height: 18px; fill: currentColor; transition: transform .35s var(--vb-ease); }
.vbc-go:hover { border-color: #fff; }
.vbc-go:hover svg { transform: translateX(3px); }
.vbc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--vbc-bar); display: flex; align-items: stretch; gap: 28px;
  padding: 0 max(var(--gutter), calc((100% - var(--vb-wide)) / 2)); }
.vbc-tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); }
.vbc-tab { position: relative; display: flex; align-items: flex-start; gap: 10px; min-width: 0; min-height: 44px; margin: 0; padding: 20px 0 0; border: 0; background: none; color: rgba(255, 255, 255, .66);
  font: inherit; text-align: left; cursor: pointer; transition: color .3s ease; }
.vbc-tab:hover, .vbc-tab[aria-current="true"] { color: #fff; }
.vbc-tab:focus-visible { box-shadow: none; outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.vbc-tab-n { flex: none; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; opacity: .8; line-height: 1.45; }
.vbc-tab-nm { font-size: .9375rem; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.vbc-tab-sh { display: none; }
.vbc-tab-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .26); overflow: hidden; }
.vbc-tab-bar i { display: block; width: 100%; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.vbc-play { align-self: center; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 4px; padding: 0; border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.vbc-play:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.vbc-play svg { width: 22px; height: 22px; fill: currentColor; }
.vbc-play:focus-visible { box-shadow: none; outline: 2px solid #fff; outline-offset: 3px; }
.vbc-note { margin-top: 14px; color: #6F6F6F; font-size: .8125rem; }
@media (max-width: 1099px) {
  .vbc-head { grid-template-columns: 1fr; }
  .vbc-panel { width: min(460px, 56%); }
  .vbc-tab-nm { font-size: .875rem; }
}
/* phones: a dark band holds the frame at 4:3 (the walk's frames, centre-cropped), the chapter bar under it and the stop's copy */
@media (max-width: 899px) {
  .vbc-frame { height: auto; min-height: 0; max-height: none; overflow: visible; padding-bottom: 26px; background: var(--vb-ink); clip-path: none; display: flex; flex-direction: column; }
  .vbc-media { position: relative; inset: auto; aspect-ratio: 4 / 3; overflow: hidden; background: #000; transform: none;
    clip-path: inset(0 calc(var(--vbc-in, 0) * 6vw) round calc(var(--vbc-in, 0) * 20px)); }
  .vbc-media picture { transform: scale(calc(1 + var(--vbc-in, 0) * .08)); }
  .vbc-shade { display: none; }
  /* the stops (Ryan, Nov 10): one row of labelled stops that scrolls sideways, the next one always peeking at the right
     edge; the stop playing is solid white. The pause button sits on the picture, apart from them. */
  .vbc-bar { position: static; order: 2; height: auto; padding: 0; }
  .vbc-tabs { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
    padding: 14px 40px 4px var(--gutter); scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .vbc-tabs::-webkit-scrollbar { display: none; }
  .vbc-tab { flex: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px;
    color: rgba(255, 255, 255, .9); white-space: nowrap; scroll-snap-align: start; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
  .vbc-tab:hover { border-color: rgba(255, 255, 255, .7); }
  .vbc-tab[aria-current="true"] { border-color: #fff; background: #fff; color: var(--vb-ink); }
  .vbc-tab-n { font-size: .8125rem; line-height: 1; opacity: .75; }
  .vbc-tab[aria-current="true"] .vbc-tab-n { color: var(--blue-03); opacity: 1; }
  .vbc-tab-nm { display: none; }
  .vbc-tab-sh { display: inline; font-size: .9375rem; font-weight: 500; line-height: 1; }
  .vbc-tab-bar { left: 16px; right: 16px; top: auto; bottom: 6px; height: 2px; background: rgba(5, 8, 26, .12); }
  .vbc-tab:not([aria-current="true"]) .vbc-tab-bar { display: none; }
  .vbc-tab-bar i { background: var(--blue-03); }
  .vbc-tab:focus-visible { outline-offset: 3px; border-radius: 999px; }
  .vbc-play { position: absolute; z-index: 3; top: 12px; right: 12px; margin: 0; border-color: rgba(255, 255, 255, .55); background: rgba(5, 8, 26, .62);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .vbc-panel { position: static; order: 3; width: auto; padding: 14px var(--gutter) 0; }
  .vbc-copy h3 { font-size: 1.625rem; }
  .vbc-head-r p { font-size: 1rem; }
  .vbc-cta { margin-top: 16px; }
}
@media (max-width: 559px) {
  .vbc .vbc-start { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vbc-copy { animation: none; }
  .vbc-media video { transition: none; }
}

/* =====================================================================================================================
   5. Back of house (Ryan, Nov 10: rebuilt in two parts, on white).
   1. Before Displai / With Displai. By default (phones, tablets, reduced motion, no script) the two states sit side by side
      or stacked, each with its label and its own picture, so nothing has to move or be clicked to be understood. On desktop
      with motion, js/vb-boh.js adds .is-live: one frame, the whiteboard over the dashboard; once the frame is in view a seam
      crosses it and the whiteboard gives way (.is-with), and the two buttons on the frame switch between the states.
   2. The capability explorer: three choices in a row, then the chosen one's points beside its own view of the dashboard,
      zoomed to the module the chosen point names (--k keeps rings and numbers the same size at any zoom). Phones: each choice
      opens in place, its points first and its screen right under them.
   ===================================================================================================================== */
.vbw { background: #fff; color: var(--fg); padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 104px); }
.vbw-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 3.4vw, 52px); }
.vbw-lede { color: var(--gray-80); font-size: var(--fs-lede); line-height: 1.5; text-wrap: pretty; }
/* ---- 1. the change */
.vbw-shift { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "bk wk" "bimg wimg"; gap: 20px clamp(24px, 3vw, 48px); align-items: start; }
.vbw-media, .vbw-frame { display: contents; }
.vbw-state { position: relative; padding-left: 20px; }
.vbw-state::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; background: var(--gray-30); transition: background-color .4s ease; }
.vbw-state--with::before { background: var(--blue-03); }
.vbw-state--before { grid-area: bk; }
.vbw-state--with { grid-area: wk; }
.vbw-k { margin: 0 0 10px; color: var(--gray-80); font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.vbw-state--with .vbw-k { color: var(--blue-03); }
.vbw-state h3 { font-size: clamp(1.375rem, 1.05rem + .7vw, 1.75rem); font-weight: 500; line-height: 1.14; letter-spacing: -.018em; text-wrap: balance; }
.vbw-p { margin-top: 10px; color: #4a4a4a; font-size: 1.0625rem; line-height: 1.5; }
.vbw-fig { position: relative; margin: 0; aspect-ratio: 5580 / 3000; overflow: hidden; border-radius: 14px; background: #EEF0F4; box-shadow: 0 0 0 1px rgba(23, 23, 23, .08), 0 24px 50px -34px rgba(8, 23, 122, .5); }
.vbw-fig--before { grid-area: bimg; }
.vbw-fig--with { grid-area: wimg; }
.vbw-img, .vbw-img picture, .vbw-img img { display: block; width: 100%; height: 100%; }
.vbw-img img { object-fit: cover; }
.vbw-fig--before .vbw-img img { object-position: 50% 34%; }
.vbw-seam, .vbw-toggle { display: none; }
.vbw-toggle[hidden] { display: none !important; }
/* desktop with motion: one frame with its two buttons above it, and the change happens in it */
.vbw-shift.is-live { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "bk media" "wk media"; grid-template-rows: 1fr 1fr; row-gap: 0;
  column-gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.is-live .vbw-state--before { align-self: end; padding-bottom: 26px; }
.is-live .vbw-state--with { align-self: start; padding-top: 26px; }
.is-live .vbw-state--with::after { content: ""; position: absolute; left: 20px; right: 0; top: 0; height: 1px; background: var(--rule); }
.is-live .vbw-state--with::before { top: 29px; }
.is-live .vbw-state--before::before { bottom: 29px; }
.is-live:not(.is-with) .vbw-state--with::before { background: var(--gray-20); }
.is-live:not(.is-with) .vbw-state--before::before { background: var(--blue-03); }
.is-live.is-with .vbw-state--before::before { background: var(--gray-20); }
.vbw-shift.is-live .vbw-media { grid-area: media; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.vbw-shift.is-live .vbw-frame { display: block; position: relative; align-self: stretch; aspect-ratio: 5580 / 3000; overflow: hidden; border-radius: 16px; background: #EEF0F4;
  box-shadow: 0 0 0 1px rgba(23, 23, 23, .08), 0 34px 70px -40px rgba(8, 23, 122, .55); }
.is-live .vbw-fig { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.is-live .vbw-fig--before { z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path 1.15s cubic-bezier(.65, 0, .35, 1); }
.is-live.is-with .vbw-fig--before { clip-path: inset(0 0 0 100%); }
.is-live .vbw-seam { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transform: translateX(0);
  transition: transform 1.15s cubic-bezier(.65, 0, .35, 1), opacity .35s ease; }
.is-live .vbw-seam::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 22px 5px rgba(135, 156, 255, .8); }
.is-live.is-with .vbw-seam { transform: translateX(100%); }
.is-live.is-moving .vbw-seam { opacity: 1; }
.is-live .vbw-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #F3F4F8; box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .06); }
.vbw-toggle button { min-height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--gray-100); font: inherit; font-size: .875rem;
  font-weight: 600; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.vbw-toggle button:hover { color: var(--blue-03); }
.vbw-toggle button[aria-pressed="true"] { background: #fff; color: var(--blue-03); box-shadow: 0 1px 2px rgba(23, 23, 23, .12), 0 4px 12px -6px rgba(8, 23, 122, .35); }
.vbw-toggle button[data-s="with"][aria-pressed="true"] { background: var(--blue-03); color: #fff; }
.vbw-toggle button:focus-visible { box-shadow: none; outline: 2px solid var(--blue-03); outline-offset: 2px; }
.vbw-note { margin-top: 14px; color: #6F6F6F; font-size: .8125rem; text-align: right; }
/* ---- 2. the capability explorer */
.vbw-explore { margin-top: clamp(64px, 7vw, 104px); }
.vbw-explore-k { margin-bottom: 18px; }
.vbw-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.vbw-tab-h { grid-row: 1; margin: 0; font: inherit; letter-spacing: inherit; }
.vbw-tab { display: flex; align-items: flex-start; gap: 14px; width: 100%; height: 100%; min-height: 64px; margin: 0; padding: 18px 20px; border: 1px solid var(--gray-30);
  border-radius: 14px; background: #fff; color: var(--gray-100); font: inherit; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.vbw-tab:hover { border-color: var(--blue-03); color: var(--blue-03); }
.vbw-tab[aria-expanded="true"] { border-color: var(--blue-03); background: #F5F7FF; color: var(--blue-05); box-shadow: inset 0 3px 0 var(--blue-03); cursor: default; }
.vbw-tab:focus-visible { box-shadow: none; outline: 2px solid var(--blue-03); outline-offset: 2px; }
.vbw-n { flex: none; padding-top: 2px; color: var(--gray-80); font-size: .875rem; font-variant-numeric: tabular-nums; }
.vbw-tab[aria-expanded="true"] .vbw-n { color: var(--blue-03); }
.vbw-panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 56px); align-items: center;
  margin-top: 14px; padding: clamp(20px, 2.4vw, 32px); border-radius: 18px; background: #F5F7FF; }
.vbw-panel[hidden] { display: none; }
.vbw-panel:not([hidden]) { animation: vbw-in .4s var(--vb-ease) both; }
@keyframes vbw-in { from { opacity: 0; transform: translateY(6px); } }
.vbw-lead { margin: 0 0 16px; color: var(--gray-100); font-size: clamp(1.3125rem, 1.08rem + .55vw, 1.6875rem); font-weight: 500; line-height: 1.16; letter-spacing: -.015em; text-wrap: balance; }
.vbw-pts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vbw-pt { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; align-items: start; width: 100%; min-height: 44px; margin: 0; padding: 12px 14px;
  border: 1px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.vbw-pt:hover { background: rgba(255, 255, 255, .75); }
.vbw-pt[aria-pressed="true"] { border-color: rgba(0, 71, 212, .32); background: #fff; box-shadow: 0 12px 26px -20px rgba(8, 23, 122, .6); }
.vbw-pt:focus-visible { box-shadow: none; outline: 2px solid var(--blue-03); outline-offset: 2px; }
.vbw-pt-n { grid-row: 1 / span 3; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--gray-30); border-radius: 50%; color: var(--gray-80);
  font-size: .8125rem; font-weight: 600; line-height: 1; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.vbw-pt-n:empty::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vbw-pt[aria-pressed="true"] .vbw-pt-n { border-color: var(--blue-03); background: var(--blue-03); color: #fff; }
.vbw-pt-t { grid-column: 2; font-weight: 500; line-height: 1.3; }
.vbw-pt-s { grid-column: 2; color: #595959; font-size: .875rem; line-height: 1.4; }
.vbw-tag { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; padding: 3px 9px; border: 1px solid var(--blue-03);
  border-radius: 999px; background: #fff; color: var(--blue-03); font-size: .6875rem; font-weight: 600; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.vbw-tag--live { border-color: var(--green-03); background: #EAF8EF; color: #0E7A35; }
.vbw-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 23, 23, .08), 0 26px 52px -32px rgba(8, 23, 122, .55); }
.vbw-cam { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 5580 / 3000; transform-origin: 0 0; transition: transform .7s var(--vb-ease); }
.vbw-cam picture, .vbw-cam img { display: block; width: 100%; height: 100%; max-width: none; }
.vbw-over { position: absolute; z-index: 1; overflow: hidden; border-radius: calc(12px * var(--k, 1)); box-shadow: 0 calc(18px * var(--k, 1)) calc(40px * var(--k, 1)) calc(-16px * var(--k, 1)) rgba(8, 23, 122, .55); }
.vbw-over picture, .vbw-over img { display: block; width: 100%; height: 100%; }
.vbw-over img { object-fit: cover; object-position: 50% 0; }
.vbw-ring { position: absolute; z-index: 2; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.vbw-ring::before { content: ""; position: absolute; inset: calc(-7px * var(--k, 1)); border: calc(2.5px * var(--k, 1)) solid var(--blue-03); border-radius: calc(12px * var(--k, 1));
  box-shadow: 0 0 0 calc(5px * var(--k, 1)) rgba(0, 71, 212, .16); }
.vbw-ring b { position: absolute; left: calc(-7px * var(--k, 1)); top: calc(-38px * var(--k, 1)); display: grid; place-items: center; width: calc(28px * var(--k, 1));
  height: calc(28px * var(--k, 1)); border-radius: 50%; background: var(--blue-03); color: #fff; font-size: calc(14px * var(--k, 1)); font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 calc(3px * var(--k, 1)) #fff; }
.vbw-ring.is-on { opacity: 1; }
@media (max-width: 1099px) {
  .vbw-head { grid-template-columns: 1fr; }
}
/* phones: each state labelled above its own picture; each capability opens in place, its points then its screen */
@media (max-width: 899px) {
  .vbw-shift { grid-template-columns: 1fr; grid-template-areas: "bk" "bimg" "wk" "wimg"; gap: 14px; }
  .vbw-state--with { margin-top: 18px; }
  .vbw-fig--before { aspect-ratio: 4 / 3; }
  .vbw-state h3 { font-size: 1.375rem; }
  .vbw-note { text-align: left; }
  .vbw-caps { display: block; }
  .vbw-tab-h + .vbw-panel { margin-top: 8px; }
  .vbw-tab-h { margin-top: 8px; }
  .vbw-tab { min-height: 56px; padding: 15px 16px; font-size: 1rem; }
  .vbw-panel { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .vbw-screen { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .vbw-cam, .vbw-ring, .vbw-fig--before, .vbw-seam, .vbw-state::before { transition: none !important; }
  .vbw-panel:not([hidden]) { animation: none; }
}

/* ---- the customer clip's transcript (Ryan, Nov 10): in the HTML, one tap to read */
.truth-transcript { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .875rem; line-height: 1.55; }
.truth-transcript summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-weight: 600; cursor: pointer; list-style: none; }
.truth-transcript summary::-webkit-details-marker { display: none; }
.truth-transcript summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s ease; }
.truth-transcript[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.truth-transcript summary:focus-visible { outline: 2px solid var(--blue-01); outline-offset: 3px; border-radius: 4px; }
.truth-transcript-body { padding: 4px 0 6px; }
.truth-transcript-body p { margin: 0 0 10px; }

/* =====================================================================================================================
   Rhythm and next steps (Ryan, Nov 10): the middle of the page alternated three identical grey sections; One restaurant,
   one day now sits on the restaurant's pale blue and Store vs. Store on grey, so light sections alternate between the
   dark ones (hero, restaurant stage, customer story, How we work). The two sections that ended without a next step close
   on Book a demo.
   ===================================================================================================================== */
.vb #platform { background: var(--vb-pale); }
.vb #store-vs-store { background: var(--bg-alt); }
.vb-next { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: clamp(24px, 3vw, 36px); border-bottom: 1px solid rgba(0, 71, 212, .45);
  color: var(--blue-03); font-size: var(--fs-small); font-weight: 600; text-decoration: none; transition: border-color .2s ease; }
.vb-next svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.vb-next:hover { border-bottom-color: currentColor; }
.vb-next:hover svg { transform: translateX(3px); }
.vb-next--light { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.vb-next--light:focus-visible { box-shadow: 0 0 0 3px var(--blue-04), 0 0 0 5px #fff; }
