/* Featured stage: a free-standing candidate globe above three equal-height frames, in noir, bordeaux and champagne gold. */
.stage-hero{--lux-ink:#0a0708;--lux-gold:#d6b26c;--lux-champagne:#ecd6a4;--lux-ivory:#fbf4e6;--lux-text:#ebe1d1;--lux-muted:#cbbca6;--lux-line:#d8b8794d;height:auto;min-height:0;isolation:isolate;background:var(--lux-ink);overflow:hidden;color:var(--lux-ivory)}
.stage-photograph,.stage-light-columns,.stage-halo{position:absolute;inset:0;pointer-events:none}
.stage-photograph{background:linear-gradient(180deg,#0a0708b8,transparent 20%,transparent 68%,#0a0708 100%),linear-gradient(90deg,#080506f5,#170a10db 45%,#13080dba),url('/assets/pageant-stage.webp') center 35%/cover no-repeat;z-index:-3}
.stage-light-columns{background:repeating-linear-gradient(90deg,transparent 0,transparent 7.3%,#e0bd7a17 7.5%,transparent 8.1%,transparent 15%);z-index:-2;-webkit-mask-image:linear-gradient(#000,transparent 78%);mask-image:linear-gradient(#000,transparent 78%)}
.stage-halo{background:radial-gradient(ellipse 34% 28% at 50% 30%,#e8c47c2e,transparent 72%),radial-gradient(ellipse 58% 46% at 50% 38%,#7c1d3a47,transparent 74%),radial-gradient(ellipse 120% 95% at 50% 42%,transparent 55%,#030203d9 100%);z-index:-1}

.stage-content{max-width:1440px;padding-block:28px 26px;position:relative}
.stage-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--lux-line);padding-bottom:22px}
.stage-hero .eyebrow{color:var(--lux-champagne);line-height:1.7;letter-spacing:.16em}
.stage-topline .eyebrow{font-size:12px;letter-spacing:.2em}
.stage-edition{font-size:12px;letter-spacing:.12em;line-height:1.6;text-align:right;color:var(--lux-muted)}

/* Row 1: the globe on its own. Row 2: schedule, contest frame and portal stretch to one shared height. */
.stage-grid{display:grid;grid-template-columns:minmax(230px,1fr) minmax(460px,1.75fr) minmax(230px,1fr);grid-template-areas:"globe globe globe" "count frame portal";gap:20px 26px;align-items:stretch;padding-block:16px 30px}
.stage-globe-area{grid-area:globe;min-width:0;position:relative}
.stage-countdown-panel{grid-area:count}
.stage-identity{grid-area:frame}
.stage-portal-panel{grid-area:portal}

.stage-glass{position:relative;min-width:0;border:1px solid #d8b8795e;background:linear-gradient(165deg,#22141ad9,#0d080af2 72%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 28px 70px #000000a8,inset 0 1px #f3dcab24}

.stage-identity{display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 32px 22px;border-radius:100px 100px 8px 8px;border-color:#e2c48a85;background:radial-gradient(ellipse 80% 60% at 50% 0%,#6a1a33a8,transparent 70%),linear-gradient(180deg,#2c1019eb,#12090df5 60%,#0b0708f7);box-shadow:0 34px 90px #000000bf,0 0 70px #7a1d3a38,inset 0 0 60px #e5c68a0d,inset 0 1px #f5dfae40}
.stage-identity:before{content:'';position:absolute;inset:9px;border:1px solid #e3c88f38;border-radius:91px 91px 3px 3px;pointer-events:none}
.stage-title-plate{display:flex;flex-direction:column;align-items:center;width:100%;margin-bottom:16px}
.stage-title-plate:before{content:'✧';display:block;font:18px/1 var(--serif);color:var(--lux-gold);margin-bottom:10px}
.stage-identity-overline{font-size:11px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:var(--lux-champagne);line-height:1.6}
.stage-hero .stage-identity h1{font-family:var(--serif);font-size:clamp(36px,3.2vw,48px);font-weight:400;line-height:1.1;letter-spacing:-.02em;margin:10px auto 0;max-width:none;overflow-wrap:anywhere;color:#fbf1da;background:linear-gradient(180deg,#fffaf0 15%,#e9cd93 95%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
.stage-hero .stage-identity h1 em{font-style:normal;color:inherit}
.stage-year{display:none}
.stage-hero .stage-identity .stage-tagline{font-size:15px;line-height:1.6;color:var(--lux-text);max-width:420px;margin:12px 0 4px}
.stage-location{font-size:12px;letter-spacing:.1em;color:var(--lux-muted);line-height:1.5}
.stage-identity .globe-roster{width:100%;margin-top:auto}
.stage-identity .globe-roster:before{content:'';display:block;width:min(360px,80%);height:1px;margin:0 auto 14px;background:linear-gradient(90deg,transparent,#dcbc7c99,transparent)}

.stage-countdown-panel,.stage-portal-panel{display:flex;flex-direction:column;padding:28px 24px 24px;border-radius:6px}
.stage-countdown-panel:after,.stage-portal-panel:after{content:'';position:absolute;left:24px;right:24px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#f1dcaa,transparent);pointer-events:none}
.stage-countdown-panel>.eyebrow,.stage-portal-panel>.eyebrow{font-size:12px;letter-spacing:.16em}
.stage-hero .stage-countdown-date{font-size:13px;line-height:1.7;color:var(--lux-muted);margin:6px 0 20px}
.stage-countdown{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.stage-countdown>div{padding-block:6px;border-bottom:1px solid #d8b87933;display:flex;flex-direction:column;gap:3px}
.stage-countdown strong{font-size:36px;font-family:var(--serif);font-weight:400;line-height:1.15;color:var(--lux-ivory);font-variant-numeric:tabular-nums}
.stage-countdown span{font-size:12px;letter-spacing:.06em;line-height:1.5;color:var(--lux-muted)}
.stage-hero .stage-sandbox{font-size:13px;line-height:1.7;display:flex;gap:10px;align-items:center;color:var(--lux-text);margin:auto 0 0;padding-top:20px}
.stage-sandbox>i{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--lux-gold);box-shadow:0 0 0 3px #d6b26c2e}
.stage-event-context{margin:4px 0 0;font-size:14px;line-height:1.8;color:var(--lux-text)}
.stage-hero .stage-event-context p{font-size:14px;color:inherit;line-height:1.8;margin:0 0 8px}
.stage-event-context a{font-size:14px;color:var(--lux-champagne);text-decoration:underline;text-decoration-color:#d6b26c99;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
.stage-countdown[hidden],.stage-countdown-date[hidden],.stage-location[hidden],.stage-event-context[hidden]{display:none!important}

.stage-portal-panel>.wordmark{font-size:36px;margin:18px 0 12px;letter-spacing:-2px;display:flex;color:var(--lux-ivory)}
.stage-portal-panel>.wordmark>span{color:var(--lux-gold);font-size:27px}
.stage-hero .stage-portal-panel>p{font-size:15px;line-height:1.75;color:var(--lux-text);margin:0 0 22px}
.stage-portal-panel .button{margin-top:auto;font-size:15px;min-height:50px;padding:14px 18px;gap:15px;justify-content:space-between;width:100%;white-space:normal;border:0;color:#1d1013;background:linear-gradient(135deg,#f2deae,#cfa65d);box-shadow:0 12px 28px #c99f5530}
.stage-portal-panel .button:hover{background:linear-gradient(135deg,#f8e8c4,#dcb46c)}
.stage-apply{display:block;text-align:center;padding-top:14px;text-decoration:underline;text-decoration-color:#d6b26c99;text-underline-offset:5px;font-size:14px;color:var(--lux-ivory);line-height:1.6}

.stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--lux-line);padding-top:22px;font-size:12px;letter-spacing:.04em;color:var(--lux-muted);line-height:1.6}
.stage-bottom>a{display:flex;align-items:center;gap:20px;color:var(--lux-ivory);font-size:13px;min-height:36px}
.stage-bottom b{font-size:25px;font-weight:400;color:var(--lux-gold)}

/* Home: the site navigation sits on the stage background instead of its own paper bar. */
body:has(.stage-hero){--stage-nav-h:94px}
body:has(.stage-hero) #header{position:absolute;top:0;left:0;right:0;background:transparent;border-bottom:0;color:#fbf4e6;z-index:30}
body:has(.stage-hero) #header .wordmark>span{color:#d6b26c}
body:has(.stage-hero) #nav a{color:#f3e9d6}
body:has(.stage-hero) #nav a:hover{color:#fff}
body:has(.stage-hero) #nav a:after{background:#d6b26c}
body:has(.stage-hero) .nav-cta{border-color:#d8b87980;color:#fbf4e6;border-radius:999px;transition:border-color .2s,background .2s}
body:has(.stage-hero) .nav-cta:hover{border-color:#efd6a2;background:#e6c37a14}
body:has(.stage-hero) .locale-control{color:#fbf4e6}
body:has(.stage-hero) .locale-control select{-webkit-appearance:none;appearance:none;width:auto;max-width:none;border-color:#d8b87980;border-radius:999px;background:#140c10b3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23e2c48a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center/10px 7px;color:#fbf4e6;padding:8px 30px 8px 14px}
body:has(.stage-hero) .locale-control select option{background:#1a1014;color:#fbf4e6}
body:has(.stage-hero) .locale-control select:focus-visible{outline-color:#f0d8a6}
body:has(.stage-hero) .menu-button{color:#fbf4e6}
body:has(.stage-hero) .stage-content{padding-top:calc(var(--stage-nav-h) + 22px)}
@media (max-width:560px){body:has(.stage-hero) .locale-control select{padding:8px 26px 8px 12px;background-position:right 10px center}}
@media (max-width:1280px){
  body:has(.stage-hero){--stage-nav-h:80px}
  body:has(.stage-hero) #nav{top:100%;background:#120a0e;border-top:1px solid #d8b8794d;border-bottom:1px solid #d8b8794d;box-shadow:0 18px 40px #000000b3}
}

@media (max-width:1180px){
  .stage-grid{grid-template-columns:minmax(190px,1fr) minmax(380px,1.6fr) minmax(190px,1fr);gap:18px}
  .stage-countdown-panel,.stage-portal-panel{padding:24px 18px 20px}
  .stage-countdown-panel:after,.stage-portal-panel:after{left:18px;right:18px}
  .stage-countdown{gap:10px 14px}
  .stage-countdown strong{font-size:32px}
  .stage-portal-panel>.wordmark{font-size:32px}
  .stage-identity{padding-inline:24px}
  .stage-hero .stage-identity h1{font-size:36px}
}

@media (max-width:980px){
  .stage-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"globe" "frame" "portal" "count";max-width:680px;margin-inline:auto;padding-block:16px 28px;gap:18px}
  .stage-hero .stage-identity h1{font-size:40px}
  .stage-countdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
  .stage-portal-panel{display:grid;grid-template-columns:1fr auto;gap:10px 28px;align-items:center}
  .stage-portal-panel>.eyebrow,.stage-portal-panel>.wordmark,.stage-hero .stage-portal-panel>p{grid-column:1;margin:0;max-width:400px}
  .stage-portal-panel .button{grid-column:2;grid-row:1/3;min-width:220px;margin-top:0}
  .stage-apply{grid-column:2;grid-row:3;padding:0}
  .stage-bottom{flex-wrap:wrap;justify-content:center;text-align:center;gap:14px 25px}
  .stage-bottom>a{display:none}
}

@media (max-width:560px){
  .stage-content{padding:22px 20px}
  .stage-topline{flex-direction:column;align-items:flex-start;gap:6px;padding-bottom:18px}
  .stage-edition{text-align:left}
  .stage-grid{padding-block:12px 22px;gap:16px}
  .stage-identity{padding:30px 18px 20px;border-radius:70px 70px 6px 6px}
  .stage-identity:before{inset:8px;border-radius:62px 62px 2px 2px}
  .stage-hero .stage-identity h1{font-size:32px}
  .stage-hero .stage-identity .stage-tagline{font-size:14px;max-width:290px}
  .stage-countdown-panel,.stage-portal-panel{padding:22px 20px 20px}
  .stage-countdown{gap:10px}
  .stage-countdown strong{font-size:30px}
  .stage-portal-panel{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .stage-portal-panel>.wordmark{margin:16px 0 12px}
  .stage-hero .stage-portal-panel>p{margin:0 0 20px}
  .stage-portal-panel .button{min-width:0;font-size:16px;min-height:52px}
  .stage-apply{padding-top:14px;align-self:center;min-height:44px}
  .stage-bottom{align-items:flex-start;flex-direction:column;text-align:left;gap:8px;padding-top:18px}
  .stage-photograph{background-position:63% top}
}

@media (max-width:359px){
  .stage-content{padding-inline:16px}
  .stage-hero .stage-identity h1{font-size:28px}
  .stage-countdown{gap:8px}
  .stage-countdown strong{font-size:26px}
  .stage-countdown-panel,.stage-portal-panel{padding-inline:16px}
}

/* Crown frame drawn by stage-hero.js (tiara outline, pearls, centre jewel); the arch above stays as the no-script fallback. */
.stage-crown{position:absolute;left:-1px;top:-1px;z-index:0;pointer-events:none;overflow:visible;filter:drop-shadow(0 0 24px #7a1d3a47) drop-shadow(0 26px 40px #000000a6)}
.stage-identity>.stage-title-plate,.stage-identity>.globe-roster{position:relative;z-index:1}
.stage-identity.stage-identity-crown{background:none;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding-top:var(--crown-pad,108px)}
.stage-identity.stage-identity-crown:before,.stage-identity.stage-identity-crown .stage-title-plate:before{display:none}
/* Side frames start where the crown's straight side edges begin and end on the same line. */
@media (min-width:981px){.stage-grid>.stage-countdown-panel,.stage-grid>.stage-portal-panel{margin-top:var(--crown-shoulder,0px)}}
@media (min-width:1181px){
  .stage-grid>.stage-countdown-panel .stage-countdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
  .stage-grid>.stage-countdown-panel .stage-countdown strong{font-size:34px}
  .stage-grid>.stage-portal-panel>.wordmark{margin:14px 0 10px}
  .stage-hero .stage-grid>.stage-portal-panel>p{margin-bottom:16px}
  .stage-grid>.stage-portal-panel .stage-apply{padding-top:10px}
}
