/* Approved standalone first page, integrated into the full site. */
@font-face {
  font-family: PremierePrata;
  src: url("prata.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

#home { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 100svh; min-height: 0; }
#home .hero-picture { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
#home .hero-picture .hero-image { position: absolute; inset: 0; width: 111%; height: 111%; max-width: none; object-fit: cover; object-position: 54% 43%; filter: saturate(.92); }
#home .hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(16,11,7,.29),transparent 33%,transparent 64%,rgba(16,11,7,.4) 100%); }
#home .age-badge { position: absolute; z-index: 3; left: max(12px,1.4vw); bottom: max(14px,2svh,env(safe-area-inset-bottom,0px)); margin: 0; padding: 0; color: var(--cream); font: 400 clamp(20px,1.8vw,30px)/1 ScapinCormorant,Georgia,serif; letter-spacing: .04em; text-shadow: 0 2px 6px rgba(0,0,0,.8); }
#home::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 26vw 17svh at 19vw 54svh,rgba(8,5,4,.58) 0%,rgba(8,5,4,.38) 50%,transparent 100%); }

#home .hero-brand-lockup { position: absolute; z-index: 2; top: 6.778576321svh; left: 2.105250888vw; width: min(37.297092014vw,60svh); display: flex; flex-direction: column; align-items: center; gap: 2svh; container-type: inline-size; }
#home .hero-brand-lockup .tagline { width: 88%; margin: 0; text-align: center; text-transform: uppercase; white-space: nowrap; line-height: 1.25; }
#home .hero-brand-lockup .tagline-text { font-size: 6.60115cqw; line-height: 1.25; text-shadow: 0 2px 2px #000,0 4px 6px #000,0 8px 12px rgba(0,0,0,.95); }
#home .cover-logo { position: absolute; z-index: 2; left: auto; top: auto; right: 1.841227214vw; bottom: 3.076388889svh; width: 11.574435764vw; height: 5.555555556svh; opacity: .75; filter: drop-shadow(0 2px 5px rgba(0,0,0,.55)); }
#home .cover-logo img { display: block; width: 100%; height: auto; opacity: 1; }
#home .cover-logo::after { content: none; }

#home .premiere-option { position: absolute; z-index: 2; left: 3.2vw; top: 53svh; bottom: auto; transform: none; display: inline-flex; align-items: center; justify-content: center; width: min(34vw,490px); max-width: none; min-height: 48px; margin: 0; padding: 6px 8px; border: 0; background: none; appearance: none; color: var(--cream); font-family: PremierePrata,Georgia,serif !important; font-weight: 400; font-size: clamp(30px,3.2vw,50px); line-height: 1.2; letter-spacing: .035em; white-space: nowrap; cursor: pointer; text-shadow: 0 2px 3px rgba(10,7,5,.95),0 4px 12px rgba(10,7,5,.9),0 8px 24px rgba(10,7,5,.75); }
#home .premiere-option:hover { color: #fff8e7; }
#home .premiere-option:focus-visible { outline: 2px solid var(--cream); outline-offset: 6px; }

@media (min-width: 1800px) and (min-height: 900px) {
  #home .premiere-option { left: 5.12svh; width: 54.45svh; min-height: 5.33svh; padding: .67svh .89svh; font-size: 5.12svh; }
}
@media (min-aspect-ratio: 101/100) and (max-aspect-ratio: 8/5) and (max-width: 1799px) and (min-height: 501px) {
  #home .premiere-option { top: calc(13.9svh + 24.4vw); }
}
@media (max-aspect-ratio: 1/1), (max-height: 500px) {
  #home .hero-shade { background: linear-gradient(180deg,rgba(16,11,7,.12),transparent 60%,rgba(16,13,11,.2) 80%,rgba(16,13,11,.42) 100%); }
  #home::after { background: linear-gradient(180deg,transparent 71%,rgba(8,5,4,.2) 79%,rgba(8,5,4,.38) 100%); }
  #home .hero-picture .hero-image { width: 100%; height: 100%; }
  #home .hero-brand-lockup { top: 2svh; width: 37.297092014vw; gap: 1svh; }
  #home .cover-logo { display: none; }
  #home .premiere-footer { position: absolute; z-index: 2; inset: auto 0 0; height: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 10px 22px calc(max(10px, env(safe-area-inset-bottom, 0px)) + var(--schedule-offset)); text-align: center; }
  #home .premiere-option { position: static; width: auto; min-height: 42px; padding: 0; font-size: clamp(29px,4vw,44px); text-shadow: none; }
}
@media (max-aspect-ratio: 17/20) {
  #home .hero-picture .hero-image { object-position: 50% 0; }
  #home .hero-shade { background: linear-gradient(180deg,rgba(16,11,7,.19),transparent 32%,transparent 73%,rgba(16,13,11,.28) 80%,rgba(16,13,11,.5) 87%); }
  #home::after { background: none; }
  #home .hero-brand-lockup { top: 2svh; left: 50%; transform: translateX(-50%); width: min(90vw,max(37svh,55.5vw)); gap: 0; }
  #home .hero-brand-lockup .tagline { width: 90%; margin-top: 2cqw; }
  #home .hero-brand-lockup .tagline-text { font-size: 5.8cqw; }
  #home .premiere-option { font-size: clamp(30px,7.2vw,40px); text-shadow: 0 2px 3px rgba(0,0,0,.9),0 4px 14px rgba(0,0,0,.85); }
}
@media (max-aspect-ratio: 3/5) {
  #home .hero-picture .hero-image { left: -29.499454942%; top: -10.428262473svh; right: auto; bottom: auto; width: 158.997093023%; height: 158.999463519svh; object-position: 50% 50%; }
  #home .hero-brand-lockup { top: min(10.561409884vw,4.872753488svh); width: min(97.561773256vw,45.01369367svh); }
  #home .hero-brand-lockup .tagline { width: 84.048%; margin-top: 2.98cqw; }
  #home .hero-brand-lockup .tagline-text { font-size: 5.482cqw; }
}

/* Compact landscape: keep the dates and ticket button beside the portrait. */
@media (max-height:500px) and (min-aspect-ratio:3/2){
  #home .hero-shade{background:linear-gradient(90deg,rgba(16,11,7,.25),transparent 57%)}
  #home::after{background:radial-gradient(ellipse 38vw 65svh at 18vw 52svh,rgba(8,5,4,.55),transparent 100%)}
  #home .hero-picture .hero-image{object-position:54% 35%}
  #home .hero-brand-lockup{top:2svh;left:2vw;width:min(30vw,105svh);gap:0}
  #home .hero-brand-lockup .tagline{width:96%;margin-top:-.5svh}
  #home .hero-brand-lockup .tagline-text{font-size:6.2cqw}
  #home .premiere-footer{position:absolute;left:2vw;top:63svh;right:auto;bottom:auto;width:min(30vw,105svh);height:auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:0}
  #home .premiere-option{position:static;width:100%;min-height:0;margin-top:1svh;padding:0;font-size:clamp(23px,3.5vw,34px);line-height:1.1;text-shadow:0 2px 8px #100d0b}
}
/* Near-square landscape: keep the ticket button with the title. */
@media (min-aspect-ratio:1/1) and (max-aspect-ratio:5/4) and (min-height:501px){
  #home .premiere-option{top:40svh}
}
/* Short square windows: retain the photo under the footer. */
@media (max-height:500px) and (max-aspect-ratio:3/2){
  #home .hero-shade{background:linear-gradient(180deg,rgba(16,11,7,.12),transparent 62%,rgba(16,13,11,.18) 80%,rgba(16,13,11,.42) 100%)}
  #home::after{background:none}
}

/* Keep text in a single left column on square screens. */
@media (min-aspect-ratio:1/1) and (max-aspect-ratio:5/4) and (min-width:768px) and (min-height:501px){
  #home .hero-brand-lockup{top:6.778576321svh;left:2.105250888vw;width:min(37.297092014vw,60svh);transform:none;gap:2svh}
  #home .premiere-footer{position:static;display:contents;height:auto;padding:0}
  #home .premiere-option{position:absolute;left:3.2vw;top:calc(34svh + max(70px,5svh));width:min(34vw,490px);min-height:48px;padding:6px 8px;font-size:clamp(30px,3.2vw,50px);line-height:1.2}
}
/* Smaller laptops: keep the dates and button together. */
@media (min-aspect-ratio:101/100) and (max-aspect-ratio:8/5) and (min-width:601px) and (max-width:900px) and (min-height:501px){
  #home .premiere-footer{position:absolute;left:3.2vw;top:calc(12.5svh + 20.3125vw);right:auto;bottom:auto;width:min(34vw,490px);height:auto;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0}
  #home .premiere-option{position:static;width:100%;margin:0}
}

/* Keep the dates and button together below the show title. */
@media (min-height:501px) and (min-aspect-ratio:5/4),
       (min-height:501px) and (min-width:768px) and (min-aspect-ratio:1/1){
  #home .premiere-footer{position:absolute;left:3.2vw;top:calc(10.28svh + min(21.725vw,34.95svh) + var(--schedule-offset));right:auto;bottom:auto;width:min(34vw,490px);height:auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:clamp(12px,1.7svh,20px);padding:0}
  #home .premiere-option{position:static;width:100%;min-height:48px;margin:0;padding:6px 8px;font-size:clamp(30px,3.2vw,50px);line-height:1.2}
}
@media (min-width:1800px) and (min-height:900px) and (min-aspect-ratio:1/1){
  #home .premiere-footer{left:5.12svh;width:54.45svh}
  #home .premiere-option{min-height:5.33svh;padding:.67svh .89svh;font-size:5.12svh}
}
@media (max-height:500px) and (min-aspect-ratio:3/2){
  #home{height:100dvh;min-height:100dvh}
  #home .age-badge{left:auto;right:max(12px,1.4vw)}
}
@media (max-height:500px) and (min-aspect-ratio:3/2) and (max-width:600px){
  #home .premiere-footer{top:calc(3svh + min(16.9vw,59svh) + 14px);width:min(34vw,190px)}
}

@media (max-height:300px) and (min-aspect-ratio:3/2) and (min-width:601px){
  #home .hero-brand-lockup{width:min(30vw,98svh)}
}

/* Very small emulator and split-screen windows. */
@media (max-width:360px) and (max-height:240px){
  #home{height:100dvh;min-height:100dvh}
  #home .hero-picture .hero-image{object-position:0 38%}
  #home .hero-brand-lockup{top:4px;left:4px;width:min(44vw,120px);gap:0}
  #home .hero-brand-lockup .tagline{width:100%;margin-top:0;line-height:1.05}
  #home .hero-brand-lockup .tagline-text{font-size:7.2cqw;line-height:1.05}
  #home .premiere-footer{position:absolute;left:4px;right:auto;width:min(50vw,140px);height:auto;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0}
  #home .premiere-option{position:static;width:100%;min-height:0;margin:0;padding:0;font-size:clamp(15px,6.3vw,18px);line-height:1.1;text-shadow:0 1px 4px #100d0b}
  #home .age-badge{left:auto;right:5px;top:auto;bottom:5px;font-size:14px;line-height:1}
}
@media (max-width:280px) and (min-height:241px){
  #home .hero-picture .hero-image{object-position:50% 100%}
  #home .hero-brand-lockup{top:2px;width:min(47vw,120px)}
  #home .hero-brand-lockup .tagline-text{font-size:7cqw}
  #home .premiere-footer{gap:2px;padding:4px 8px 8px}
  #home .premiere-option{min-height:28px;font-size:clamp(21px,9vw,24px);line-height:1.1}
  #home .age-badge{left:8px;bottom:8px;font-size:15px;line-height:1}
}

@media (min-width:361px) and (max-height:200px) and (min-aspect-ratio:3/2){
  #home .hero-brand-lockup{top:2px;left:2vw;width:min(30vw,80svh);gap:0}
  #home .hero-brand-lockup .tagline{width:100%;margin-top:0;line-height:1.05}
  #home .hero-brand-lockup .tagline-text{font-size:6.8cqw;line-height:1.05}
  #home .premiere-footer{left:2vw;top:calc(2px + min(15vw,40svh) + 14px);width:min(34vw,110svh);gap:2px}
  #home .premiere-option{min-height:0;padding:0;font-size:clamp(16px,2vw,22px);line-height:1.1}
  #home .age-badge{font-size:14px;line-height:1}
}

/* The added date needs a little more room in narrow first screens. */
@media (min-width:281px) and (max-width:340px) and (min-height:241px),
       (min-width:341px) and (max-width:360px) and (min-height:241px) and (max-height:375px){
  #home .premiere-footer{gap:4px;padding:6px 12px calc(max(7px, env(safe-area-inset-bottom, 0px)) + var(--schedule-offset))}
  #home .premiere-option{min-height:34px;font-size:clamp(25px,8vw,28px);line-height:1.1}
}

/* Extra-short landscape windows retain the title inside the viewport. */
@media (min-width:601px) and (max-height:260px) and (min-aspect-ratio:3/2){
  #home .premiere-option{font-size:28px;line-height:1.05}
}
@media (min-width:601px) and (max-height:180px) and (min-aspect-ratio:3/2){
  #home .premiere-option{font-size:22px}
}

#home .premiere-footer { --schedule-offset: clamp(6px, 1.2svh, 14px); z-index: 2; }
#home .hero-schedule {
  --schedule-detail-size: clamp(17px, 1.75vw, 29px);
  --schedule-time-size: calc(var(--schedule-detail-size) * .83);
  display: grid;
  place-items: center;
  max-width: 100%;
  min-height: calc(var(--schedule-detail-size) * 3);
}
#home .hero-show-date {
  display: grid;
  grid-template-columns: auto minmax(0, max-content);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px .4em;
  max-width: 100%;
  color: var(--cream);
  font-size: var(--schedule-detail-size);
  text-align: start;
  text-shadow: 0 2px 6px #100d0b, 0 4px 14px #100d0b;
}
#home .hero-show-day { display: contents; }
#home .hero-show-number {
  grid-column: 1;
  grid-row: 1 / 3;
  font-size: calc(2.4em + 3.2px);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: .82;
  translate: 0 calc(var(--schedule-detail-size) * .14);
}
#home .hero-show-month {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  line-height: 1.15;
}
#home .hero-show-time {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: #edce99;
  font: 500 var(--schedule-time-size)/1.25 system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
}
/* Align the numeral with the lowercase month and the time's baseline. */
@supports (text-box: trim-both ex alphabetic) {
  #home .hero-show-date { translate: 0 .14em; }
  #home .hero-show-number {
    align-self: start;
    line-height: 1;
    text-box: trim-both cap alphabetic;
    /* The lining numeral's outline extends past the font's trim edges. */
    scale: 1 .96;
    translate: 0 .005em;
  }
  #home .hero-show-month {
    align-self: start;
    text-box: trim-both ex alphabetic;
  }
  #home .hero-show-time {
    align-self: end;
    text-box: trim-both cap alphabetic;
  }
}
#home .hero-schedule-status {
  margin: 0;
  padding: 6px 12px;
  color: var(--cream);
  background: rgba(16, 13, 11, .9);
  font-size: max(14px, var(--schedule-time-size));
  line-height: 1.25;
  text-align: center;
}

@media (min-height: 501px) and (aspect-ratio > 1/1) and (max-width: 767px) {
  #home .premiere-footer {
    position: absolute;
    z-index: 2;
    top: calc(13svh + 19vw + var(--schedule-offset));
    left: 3.2vw;
    width: max(34vw, 215px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  #home .premiere-option { position: static; width: 100%; }
}
@media (max-height: 500px) and (min-aspect-ratio: 3/2),
       (max-width: 340px) {
  #home .hero-schedule {
    --schedule-detail-size: 15px;
  }
  #home .premiere-footer { gap: 4px; }
}
@media (max-height: 500px) and (min-aspect-ratio: 3/2) {
  #home .premiere-footer { top: auto; bottom: calc(max(6px, 4svh) + var(--schedule-offset)); }
}
@media (max-width: 360px) and (max-height: 240px) {
  #home .premiere-footer {
    top: auto;
    bottom: 4px;
  }
}
@media (max-height: 240px) {
  #home .hero-schedule {
    --schedule-detail-size: 13px;
  }
}
@media (max-height: 200px) and (min-width: 361px) and (min-aspect-ratio: 3/2) {
  #home .hero-brand-lockup { width: min(30vw, 68svh); }
}
@media (max-width: 280px) and (min-height: 241px) {
  #home .premiere-footer { padding-bottom: calc(24px + var(--schedule-offset)); }
}
