/* The landing gateway at /: two doors on one screen. The settled state is the page itself; the intro (html.intro, set before first paint by intro.js)
   only adds the animations on top of it, so a visitor without scripts or with reduced motion sees the finished page at once. */
/* --v-ck is the room the cookie banner takes while it is up, so the banner sits under the doors and never over them. intro.js says before
   first paint whether the banner will show (html.ck-ask) and the guesses below hold the room until landing.js measures it, so the doors do
   not move. The same room is kept under the gate, so on a screen too short for both the page scrolls and nothing is out of reach. */
.v-gate{--v-intro-scale:2.4;--v-ck:0px;container:gate/size;position:relative;width:100%;height:calc(100vh - var(--v-ck));height:calc(100dvh - var(--v-ck));min-height:560px;margin-bottom:var(--v-ck);overflow:hidden;background:var(--v-ground);color:var(--v-ink);transition:height .45s var(--v-ease)}
.ck-ask .v-gate{--v-ck:165px}
@media (max-width:1039px){.ck-ask .v-gate{--v-ck:172px}}
@media (max-width:760px){.ck-ask .v-gate{--v-ck:166px}}
@media (max-width:350px){.ck-ask .v-gate{--v-ck:184px}}
.v-doors{position:absolute;inset:0;display:flex;flex-direction:row}
.v-door{position:relative;flex:1 1 0;height:100%;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center}
.v-door__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;transition:transform 1.2s var(--v-ease)}
.v-door__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,15,21,.94) 0%,rgba(11,15,21,.7) 24%,rgba(11,15,21,.36) 40%,rgba(11,15,21,.08) 58%,rgba(11,15,21,.8) 100%)}
.v-door__copy{position:relative;margin-top:clamp(150px,18.5vh,190px);padding:0 28px;display:flex;flex-direction:column;align-items:center;gap:12px}
.v-door__name{font-size:18px;line-height:24px;font-weight:500;color:var(--v-ink2)}
.v-door__title{font-size:clamp(52px,6vw,88px);line-height:1;font-weight:600;letter-spacing:-.03em}
.v-door__desc{max-width:460px;font-size:17px;line-height:26px;text-wrap:balance}
.v-door__go{position:absolute;left:0;right:0;bottom:56px;margin:0 auto;width:56px;height:56px;box-sizing:border-box;border-radius:999px;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(247,244,238,.4);color:var(--v-ink);transition:background-color .25s,border-color .25s,color .25s}
.v-door:focus-visible{outline:2px solid var(--v-gold);outline-offset:-8px}
.v-door:focus-visible .v-door__img{transform:scale(1.045)}
.v-door:focus-visible .v-door__go{background:var(--v-gold);border-color:var(--v-gold);color:var(--v-on-gold)}
.v-seam{position:absolute;left:50%;top:148px;bottom:64px;width:1px;background:rgba(247,244,238,.16)}
.v-legal{position:absolute;left:0;right:0;bottom:8px;display:flex;flex-wrap:wrap;justify-content:center;gap:0 28px;font-size:13px;line-height:18px}
.v-legal a,.v-legal button{min-height:44px;display:flex;align-items:center;padding:0;border:0;background:none;color:var(--v-ink2);font:inherit;cursor:pointer}
.v-legal a:focus-visible,.v-legal button:focus-visible{outline:2px solid var(--v-gold);outline-offset:2px;border-radius:4px}

.v-lockup{--v-lock-top:28px;position:absolute;left:50%;top:var(--v-lock-top);transform:translate(-50%,0)}
.v-pop{display:flex;flex-direction:column;align-items:center;gap:8px}
.v-owl{position:relative;display:block;width:48px;height:60px;padding:0;border:0;background:transparent;cursor:pointer}
.v-owl:disabled{cursor:default;opacity:1}
.v-owl__in{position:relative;display:block;width:100%;height:100%}
.v-owl img{display:block;width:100%;height:100%;object-fit:contain}
.v-glow,.v-sheen,.v-cur{display:none}
.v-line{margin:0;font-size:16px;line-height:24px;font-weight:500;text-align:center;white-space:nowrap}
.v-br{display:none}
.v-caret{display:none}

@media (hover:hover){
  .v-door:hover .v-door__img{transform:scale(1.045)}
  .v-door:hover .v-door__go{background:var(--v-gold);border-color:var(--v-gold);color:var(--v-on-gold)}
  .v-legal a:hover,.v-legal button:hover{color:var(--v-ink)}
}

@media (max-width:760px){
  .v-gate{--v-intro-scale:2.3;min-height:380px}
  .v-lockup{--v-lock-top:20px}
  .v-doors{flex-direction:column}
  .v-door{flex:none;height:50%;justify-content:center;box-sizing:border-box}
  .v-door--1{padding-top:72px}
  .v-door--1 .v-door__shade{background:linear-gradient(180deg,rgba(11,15,21,.92) 0%,rgba(11,15,21,.3) 34%,rgba(11,15,21,.18) 74%,rgba(11,15,21,.5) 100%),radial-gradient(ellipse 88% 40% at 50% 58%,rgba(11,15,21,.62) 0%,rgba(11,15,21,.38) 55%,rgba(11,15,21,0) 100%)}
  .v-door--2 .v-door__shade{background:linear-gradient(180deg,rgba(11,15,21,.72) 0%,rgba(11,15,21,.2) 30%,rgba(11,15,21,.2) 68%,rgba(11,15,21,.9) 100%),radial-gradient(ellipse 88% 42% at 50% 50%,rgba(11,15,21,.68) 0%,rgba(11,15,21,.42) 55%,rgba(11,15,21,0) 100%)}
  .v-door--1 .v-door__img{object-position:center 0%}
  .v-door--2 .v-door__img{object-position:center 20%}
  .v-door__copy{gap:6px;padding:0 20px;margin-top:0}
  .v-door__name{font-size:15px;line-height:20px}
  .v-door__title{font-size:46px;line-height:48px}
  .v-door__desc{font-size:15px;line-height:22px}
  .v-door__go{position:relative;inset:auto;flex:0 0 auto;margin:12px auto 0;width:44px;height:44px}
  .v-seam{left:0;top:50%;bottom:auto;width:100%;height:1px}
  .v-legal{bottom:4px;gap:0 20px;font-size:12px;line-height:16px}
  .v-owl{width:40px;height:50px}
  .v-line{font-size:13px;line-height:18px}
  .v-br{display:inline}
}
/* A short gate (a small phone, or a phone with the cookie banner up): tighter doors, so the copy clears the lockup. */
@container gate (max-width:760px) and (max-height:700px){
  .v-door--1{padding-top:112px}
  .v-door__title{font-size:38px;line-height:40px}
  .v-door__go{margin-top:8px}
}
@container gate (max-width:760px) and (max-height:600px){
  .v-door__name{display:none}
}
/* Shorter still (a small phone with the banner up): a smaller owl, smaller words and the second door's copy lifted clear of the legal
   row. The statement keeps its two lines, because the intro shows it large and one line would not fit the screen. Below that the two
   lines of description wait until the banner has been answered. */
@container gate (max-width:760px) and (max-height:520px){
  .v-lockup{--v-lock-top:12px}
  .v-owl{width:32px;height:40px}
  .v-pop{gap:6px}
  .v-door--1{padding-top:98px}
  .v-door--2{padding-bottom:44px}
  .v-door__copy{gap:4px}
  .v-door__title{font-size:34px;line-height:36px}
  .v-door__desc{max-width:264px;font-size:14px;line-height:20px}
  .v-door__go{width:40px;height:40px}
}
@container gate (max-width:760px) and (max-height:440px){
  .v-door__desc{display:none}
}

/* the intro: the owl fades in, the statement types out, the lockup pops and the screen splits to reveal the doors.
   The gold flourish (the glow behind the owl and the sheen across it) plays once, as the owl leaves the middle of the screen (Sam, 20 November). */
.intro .v-glow,.intro .v-sheen,.intro .v-cur{display:block}
.intro .v-caret{display:inline-block}
.intro .v-cur{position:absolute;background:var(--v-ground)}
.intro:not(.again) .ck{animation:v-ck .5s ease-out 4.9s both}
.intro .v-cur--a{left:0;top:0;width:50%;height:100%;animation:v-cur-left 1.05s cubic-bezier(.77,0,.18,1) 4.2s both}
.intro .v-cur--b{right:0;top:0;width:50%;height:100%;animation:v-cur-right 1.05s cubic-bezier(.77,0,.18,1) 4.2s both}
.intro .v-lockup{animation:v-lockup 1.05s cubic-bezier(.77,0,.18,1) 4.2s both}
.intro .v-pop{animation:v-pop .5s ease 3.75s both}
.intro .v-line{animation:v-flash .5s ease-out 3.75s both}
.intro .v-owl__in{animation:v-owl 1.05s var(--v-ease) .25s both}
.intro .v-glow{position:absolute;left:-130%;right:-130%;top:-75%;bottom:-75%;background:radial-gradient(closest-side,rgba(245,196,67,.2),rgba(245,196,67,0));animation:v-glow 1.3s ease-out 3.55s both}
.intro .v-sheen{position:absolute;inset:0;background:linear-gradient(110deg,rgba(245,196,67,0) 43%,rgba(245,196,67,.95) 50%,rgba(245,196,67,0) 57%) 100% 0/260% 100% no-repeat;-webkit-mask:url(/assets/img/owl-white.webp) center/contain no-repeat;mask:url(/assets/img/owl-white.webp) center/contain no-repeat;animation:v-sheen .9s ease-in-out 3.7s both}
.intro .v-ch{position:relative;opacity:0;animation:v-ch 1ms linear calc(1.45s + var(--i) * 52ms) forwards}
.intro .v-ch::after{content:"";position:absolute;left:100%;top:.12em;bottom:.12em;width:.08em;margin-left:.05em;background:var(--v-gold);opacity:0;animation:v-caret 52ms linear calc(1.45s + var(--i) * 52ms) 1}
.intro .v-ch:last-child::after{animation:v-blink-b .6s steps(1) 3.166s 1}
.intro .v-caret{width:.08em;height:1.05em;margin-left:-.08em;vertical-align:-.16em;background:var(--v-gold);opacity:0;animation:v-blink-a .45s steps(1) 1s 1}
.intro .v-door__img{animation:v-settle 1.9s var(--v-ease) 4.2s backwards}
.intro .v-rise{animation:v-rise .7s var(--v-ease) both}
.intro .v-t1{animation-delay:4.75s}
.intro .v-t2{animation-delay:4.85s}
.intro .v-t3{animation-delay:4.95s}
.intro .v-t4{animation-delay:5.1s}
.intro .v-fade{animation:v-fade .8s ease-out 5s both}
@media (max-width:760px){
  .intro .v-cur--a{width:100%;height:50vh;height:50dvh;animation-name:v-cur-up}
  .intro .v-cur--b{right:auto;left:0;top:50vh;top:50dvh;bottom:0;width:100%;height:auto;animation-name:v-cur-down}
}
@keyframes v-cur-left{to{transform:translateX(-101%)}}
@keyframes v-cur-right{to{transform:translateX(101%)}}
@keyframes v-cur-up{to{transform:translateY(-101%)}}
@keyframes v-cur-down{to{transform:translateY(101%)}}
@keyframes v-ck{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}
/* Moved with transform alone, so the lockup's journey from the middle of the screen is not counted as the layout shifting. */
@keyframes v-lockup{from{transform:translate(-50%,calc(50vh - var(--v-lock-top) - 50%)) scale(var(--v-intro-scale));transform:translate(-50%,calc(50dvh - var(--v-lock-top) - 50%)) scale(var(--v-intro-scale))}to{transform:translate(-50%,0) scale(1)}}
@keyframes v-pop{0%{transform:scale(1)}45%{transform:scale(1.1)}100%{transform:scale(1)}}
@keyframes v-owl{from{opacity:0;transform:scale(.88);filter:blur(14px)}to{opacity:1;transform:scale(1);filter:blur(0)}}
@keyframes v-glow{0%{opacity:0}35%{opacity:1}100%{opacity:0}}
@keyframes v-sheen{from{background-position:100% 0}to{background-position:0 0}}
@keyframes v-flash{0%{color:var(--v-ink)}35%{color:var(--v-gold)}100%{color:var(--v-ink)}}
@keyframes v-ch{to{opacity:1}}
@keyframes v-caret{from{opacity:1}to{opacity:1}}
@keyframes v-blink-a{0%{opacity:1}45%{opacity:0}70%{opacity:1}100%{opacity:1}}
@keyframes v-blink-b{0%{opacity:1}35%{opacity:0}65%{opacity:1}100%{opacity:1}}
@keyframes v-settle{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes v-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes v-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.v-gate,.v-door__img,.v-door__go{transition:none}}
