/* The Watch popup (js/watch-gate.js): the same on the home page and the inner pages. Its fields' look is css/signup-fields.css. */
/* the page stays still behind the popup. Hiding the scrollbar would widen the page by the scrollbar's width where scrollbars
   always show (macOS with a mouse, Windows) and everything would jump sideways, so its gutter is reserved, and always: vw
   units (the page's side margins) count the gutter only while it is reserved, so reserving it just for the popup still
   moved the page by a pixel. Lenis's stop() sets overflow:clip, which keeps no gutter, so the popup's overflow:hidden wins. */
html{scrollbar-gutter:stable}
html.wg-open,html.wg-open.lenis.lenis-stopped{overflow:hidden}
.wg{box-sizing:border-box;width:min(92vw,440px);max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:34px 32px 26px;
  border:0;color:var(--cream);background:rgb(12,14,17);text-align:left;
  box-shadow:inset 0 0 0 1px rgba(239,231,214,.14),0 24px 70px rgba(0,0,0,.6),0 2px 8px rgba(0,0,0,.35)}
/* no blur behind the box: blurring the whole page every frame over the playing hero film dropped frames */
.wg::backdrop{background:rgba(4,5,7,.8)}
.wg[open]{animation:wgIn .32s cubic-bezier(.2,.7,.2,1)}
.wg[open]::backdrop{animation:wgFade .32s ease}
@keyframes wgIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes wgFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.wg[open],.wg[open]::backdrop{animation:none}}

.wg-x{position:absolute;right:4px;top:4px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;
  color:rgba(239,231,214,.72);cursor:pointer;transition:color .25s}
.wg-x:hover,.wg-x:focus-visible{color:var(--cream)}
.wg-x:focus-visible{outline:1px solid var(--gold);outline-offset:-8px}
.wg-x svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4}

.wg-title{margin:0 0 10px;font:400 30px/1.1 var(--serif);color:var(--cream)}
.wg-line{margin:0 0 18px;font:400 17px/1.45 var(--serif);color:var(--body)}

/* the fields: css/signup-fields.css (the sign-up form's); here only their spacing in the popup's column */
.wg-form .field{margin:0 0 10px}

.wg-go{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:52px;margin-top:8px;border:0;cursor:pointer;
  background:var(--gold);color:var(--ink);font:400 14px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;transition:background .3s,opacity .3s}
.wg-go:hover{background:var(--cream)}
.wg-go:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
.wg-go svg{width:9px;height:11px;fill:currentColor}
.wg.is-busy .wg-go{opacity:.55;pointer-events:none}

.wg-msg{margin:0;font:400 15px/1.35 var(--serif);color:var(--gold)}
.wg-msg:not(:empty){margin-top:10px}
.wg:has(input[aria-invalid=true]) .wg-msg{color:#e6a27c}
.wg-priv{margin:14px 0 0;text-align:center;font:400 12px/1 var(--sans);letter-spacing:.08em}
.wg-priv a{color:rgba(239,231,214,.6);text-decoration:underline;text-underline-offset:3px;transition:color .25s}
.wg-priv a:hover,.wg-priv a:focus-visible{color:var(--cream)}
.wg-priv a:focus-visible{outline:1px solid var(--gold);outline-offset:4px}

@media (max-width:480px){.wg{padding:30px 22px 22px}.wg-title{font-size:26px}}
