/* x-vhero.css - the video hero (Gal, 2026-10-29: "the hero like this top area, and a video that plays automatically
 * instead"). Replaces the scroll-scrubbed opening film and the card hero: one full-screen section, the film plays muted
 * on loop behind a navy shade, the header sits clear over it (white) and turns back to Gal's white bar once the hero has
 * scrolled under it (html.w2g-hdr-solid, set by the header code in site.js). Index only. */

/* the header floats over the hero instead of pushing it down */
.site-header{position:fixed;top:0;left:0;right:0;transition:background-color .25s,box-shadow .25s,transform .32s cubic-bezier(.16,1,.3,1)}
html:not(.w2g-hdr-solid) .site-header{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
html:not(.w2g-hdr-solid) .site-header::before{content:"";position:absolute;inset:0 0 -48px;background:linear-gradient(#07132bb3,#07132b00);pointer-events:none;z-index:-1}
html:not(.w2g-hdr-solid) .site-header .wordmark{color:#fff}
html:not(.w2g-hdr-solid) .site-header .wordmark>span{color:#4aa8ff}
html:not(.w2g-hdr-solid) .site-header .brand-mark{background:url(../hero/mark-light.webp) center/contain no-repeat}
html:not(.w2g-hdr-solid) .site-header .menu-button{color:#fff}
html:not(.w2g-hdr-solid) .site-header :focus-visible{outline-color:#fff}
/* phones and tablets (Yanir, 2026-11-19): from the first scroll the headline and buttons slid behind the logo over the
   clear bar. The bar takes a navy ground as soon as the page moves (.is-scrolled, site.js) and keeps its white words;
   clear only at the very top. The colour eases in (.25s, line 7), no swap of the words or the mark until w2g-hdr-solid. */
@media (max-width:1000px){
  html:not(.w2g-hdr-solid) .site-header.is-scrolled{background:#07132bf0;box-shadow:0 1px 0 #ffffff1f}
}
@media (min-width:1001px){
  html:not(.w2g-hdr-solid) .site-header nav a{color:#fff}
  html:not(.w2g-hdr-solid) .site-header nav a:hover{color:#8cc8ff}
}

.vhero{position:relative;min-height:100vh;min-height:100svh;display:grid;align-items:center;overflow:hidden;background:#07132b;color:#fff;isolation:isolate}
.vhero-media{position:absolute;inset:0;z-index:-1}
.vhero-poster,.vhero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vhero-video{opacity:0;transition:opacity .7s ease}
.vhero.is-playing .vhero-video{opacity:1}
/* darkest where the words sit: white text and the blue line keep their contrast over the bright bakery frames */
.vhero-shade{position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 52%,#07132bc4 0%,#07132bad 55%,#07132b8c 100%),linear-gradient(#07132b99 0%,#07132b00 28%,#07132b00 70%,#07132bd9 100%)}

/* padding-bottom never less than the foot (AI label + video button) needs, so on short screens (400% zoom) it stays clear of the buttons */
.vhero-copy{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:calc(96px + 5vh) 0 12vh;padding-bottom:max(12vh,72px)}
.vhero-eyebrow{margin:0 0 clamp(18px,2.6vh,32px);padding:9px 24px;border:1px solid #ffffff4d;border-radius:999px;background:#07132b80;font-weight:800;font-size:clamp(12px,1vw,17px);letter-spacing:.32em;line-height:1.3}
.vhero h1{margin:0;font-weight:900;font-size:clamp(40px,5.5vw,106px);line-height:1.04;letter-spacing:-.02em;text-shadow:0 2px 28px #07132b99}
.vhero h1 span{display:block}
.vhero-l2{color:#36b6ff}
.vhero-desc{max-width:38em;margin:clamp(18px,3vh,36px) auto 0;font-size:clamp(17px,1.35vw,25px);line-height:1.6;color:#eef3ff;text-shadow:0 1px 14px #07132bb3}
.vhero-desc strong{color:#fff;font-weight:800}
.vhero-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:clamp(24px,4.4vh,50px)}
.vhero-buttons .button{min-height:62px;padding:12px 34px;border-radius:40px;font-size:20px;font-weight:700;gap:14px}
.vhero-buttons .button svg{width:22px;height:22px}
.vhero-ghost{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:62px;padding:12px 34px;border:1.5px solid #ffffff80;border-radius:40px;background:#07132b80;color:#fff;font-size:20px;font-weight:700;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,border-color .2s}
.vhero-ghost:hover{background:#07132bcc;border-color:#fff}
.vhero-ghost svg{width:24px;height:24px}

.vhero-foot{position:absolute;bottom:18px;inset-inline-start:20px;display:flex;align-items:center;gap:10px}
.vhero-ai{font-size:13px;color:#ffffffd9;background:#07132bb3;padding:5px 12px;border-radius:99px}
.vhero-toggle{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 14px;border:1px solid #ffffff59;border-radius:99px;background:#07132bb3;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.vhero-toggle:hover{border-color:#fff}
.vhero-toggle svg{width:14px;height:14px}
/* keyboard focus over the video: white ring, as in the clear header (the default violet ring is 1.2-1.9:1 against the shaded frames) */
.vhero :focus-visible{outline-color:#fff}

@media (min-width:1001px) and (max-height:800px){
  .vhero-copy{padding-top:calc(80px + 4vh)}
  .vhero h1{font-size:clamp(40px,4.8vw,92px)}
  .vhero-buttons .button,.vhero-ghost{min-height:54px;font-size:18px;padding-inline:28px}
}
@media (max-width:1000px){
  .vhero-copy{padding:calc(80px + 6vh) 0 14vh;padding-bottom:max(14vh,84px)}
  .vhero h1{font-size:clamp(34px,9.6vw,64px);line-height:1.08}
  .vhero-eyebrow{letter-spacing:.24em;padding:7px 16px}
  .vhero-buttons{flex-direction:column;align-items:stretch;width:min(100%,360px)}
  .vhero-buttons .button,.vhero-ghost{min-height:56px;font-size:18px}
  .vhero-foot{bottom:12px;inset-inline-start:12px}
  /* phones: no blur over a playing video (it repaints every frame) */
  .vhero-ghost,html:not(.w2g-hdr-solid) .site-header{-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media (prefers-reduced-motion:reduce){.vhero-video{transition:none}}
html.w2g-reduce .vhero-video{transition:none}
