#agegate {
  position:fixed;inset:0;z-index:10000;overflow:auto;
  color:var(--pale,#f2e8da);background:#241b14;
}
#agegate .agecard {
  position:relative;isolation:isolate;box-sizing:border-box;width:100%;
  min-height:100%;min-height:100svh;padding:max(16px,env(safe-area-inset-top),env(safe-area-inset-bottom)) clamp(16px,4vw,64px);
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;justify-items:center;text-align:center;
}
#agegate .agecard::after {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-color:#302218;
  background-image:radial-gradient(ellipse 46% 67% at center,rgba(22,12,9,.87) 0%,rgba(28,15,11,.75) 42%,rgba(31,17,12,.29) 80%,transparent 100%),linear-gradient(0deg,rgba(20,10,6,.78),transparent 24%),url('/assets/studio/stillroom-interior.webp');
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
#agegate .age-mast {grid-row:1;display:flex;justify-content:center}
#agegate .age-mast .age-identity {margin:0;justify-content:center;gap:14px}
#agegate .age-identity > .atlas-mark {width:62px;height:62px;transform:translateY(-1.5px)}
#agegate .age-identity > .mast-wordmark {font-size:30px;transform:translateY(-2px)}
@media(max-width:760px) {
  #agegate .age-mast .age-identity {gap:12px}
  #agegate .age-identity > .atlas-mark {width:59px;height:59px;transform:translateY(-1.3px)}
  #agegate .age-identity > .mast-wordmark {font-size:28px}
}
#agegate .age-languages {
  display:flex;align-items:center;justify-content:center;flex-basis:100%;gap:4px;margin:0;
  font:600 1rem/1 var(--sans,sans-serif);
}
#agegate .language-code {
  display:inline-grid;place-items:center;width:44px;min-height:44px;box-sizing:border-box;
  color:#d5c9b9;text-decoration:none;
}
#agegate .language-code[aria-current] {color:#f4cb91;font-weight:700}
#agegate a.language-code:hover {color:#fff5e5}
#agegate .language-track {display:none}
#agegate .age-reading {grid-row:2;width:100%;max-width:52rem;margin:clamp(16px,2.5svh,26px) auto 0}
#agegate .age-reading h2:where(#age-heading) {
  margin:0;color:#fff1df;font:400 clamp(32px,3.76vw,64px)/1.09 var(--ser,Georgia,serif);
  letter-spacing:-.035em;text-wrap:balance;
}
#agegate .age-heading-number {color:#e8bd7e;font:inherit;letter-spacing:inherit}
#agegate .age-reading h2:where(#age-heading):focus {outline:none}
#agegate #age-copy {
  max-width:42ch;margin:clamp(14px,2svh,22px) auto 0;color:#f0e3d1;
  font:400 clamp(17px,1.25vw,20px)/1.5 var(--sans,sans-serif);text-wrap:balance;
}
#agegate #age-copy a {color:#f5d09d;font-weight:600;text-decoration:none}
#agegate #age-copy a:hover,#agegate .age-foot a:hover {color:#fff5e5}
#agegate .agechoices {
  display:flex;justify-content:center;align-items:stretch;flex-wrap:wrap;gap:10px;margin:clamp(20px,3svh,30px) 0 0;
}
#agegate .agechoices button {
  min-height:48px;min-width:82px;margin:0;padding:10px 22px;box-sizing:border-box;
  border:1px solid #aa9072;border-radius:5px;cursor:pointer;font:600 1.08rem/1.3 var(--sans,sans-serif);
}
#agegate .agechoices .primary {background:#ebc697;border-color:#ebc697;color:#2c2015}
#agegate .agechoices .secondary {background:#251b13a8;color:#f4e7d3}
#agegate .agechoices .primary:hover {background:#f4d8b0}
#agegate .agechoices .secondary:hover {border-color:#e1bb88}
#agegate .age-foot {
  grid-row:3;width:100%;max-width:45rem;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:0 20px;margin:clamp(18px,2.8svh,28px) auto 0;color:#e0d3c2;font:400 1rem/1.4 var(--sans,sans-serif);
}
#agegate .age-foot p {flex-basis:100%;margin:0;color:inherit;font:inherit}
#agegate .age-foot a {display:inline-flex;align-items:center;min-height:44px;color:#efd1a8;font:inherit;text-decoration:none}
#agegate :is(button,a):focus-visible {outline:2px solid #efca98;outline-offset:3px}
#agegate [hidden] {display:none!important}
@media(max-width:720px) {
  #agegate .agecard::after {
    background-image:radial-gradient(ellipse 90% 57% at 50% 48%,rgba(25,13,10,.89) 0%,rgba(25,13,10,.7) 56%,rgba(25,13,10,.16) 100%),linear-gradient(0deg,rgba(20,10,6,.84),transparent 30%),var(--age-photo, url('/assets/studio/stillroom-interior-760.webp'));
    background-position:center,center,61% center;
  }
  #agegate .age-foot {column-gap:16px}
}
@media(max-height:520px) {
  #agegate .agecard {padding-block:16px max(16px,env(safe-area-inset-bottom))}
  #agegate .age-foot {margin-top:18px}
  #agegate .age-reading {margin-top:12px}
}

@media (max-width:720px) and (orientation:portrait) {
  #agegate {--age-photo:image-set(url('/assets/studio/stillroom-interior-portrait-430.webp') 1x, url('/assets/studio/stillroom-interior-portrait-860.webp') 2x)}
  #agegate .agecard::after {background-position:center}
}
