/* Standalone cinematic preview; base site styles remain intact. */
.hero{height:100svh;min-height:650px;max-height:none}
.opening-scene{position:absolute;inset:0;transform:scale(1.025);transform-origin:50% 50%}
.opening-scene .hero-photo{inset:0;background:url('assets/opening-still.png') center/cover;transform:none!important;opacity:1}
#opening-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .7s;pointer-events:none}
.intro-pending #opening-film{opacity:1}
.intro-playing .opening-scene{animation:opening-push 6.15s linear both}
@keyframes opening-push{from{transform:scale(1)}to{transform:scale(1.025)}}
.hero:after{z-index:1;background:linear-gradient(90deg,#100e0be8 0%,#100e0ba8 35%,#100e0b18 78%),linear-gradient(0deg,#11100e,transparent 28%);transition:opacity 1.4s}
header,.hero-copy,.hero-bottom{transition:opacity 1.25s,translate 1.25s}
.intro-pending header,.intro-pending .hero-copy,.intro-pending .hero-bottom{opacity:0;translate:0 12px;pointer-events:none}
.intro-pending .hero:after{opacity:0}
.hero .light{display:none}
html.intro-pending{overflow:hidden}
#opening-skip{position:fixed;right:5%;bottom:36px;z-index:100;padding:12px 18px;border:1px solid #c9a16b70;border-radius:2px;background:#100e0b99;color:#ede7da;font-size:12px;letter-spacing:.05em}
#opening-skip svg{display:inline-block;width:16px;height:16px;margin-left:20px;vertical-align:-3px;color:inherit}
#opening-skip[hidden]{display:none}
@media(max-width:600px){.hero{min-height:650px}.hero h1{font-size:clamp(38px,10vw,53px)}.hero:after{background:linear-gradient(90deg,#100e0bbd,#100e0b42),linear-gradient(0deg,#11100e,transparent 80%)}.hero-copy{padding-top:clamp(180px,32svh,280px)}.opening-scene{transform-origin:50% 50%}}
@media(prefers-reduced-motion:reduce){.opening-scene{animation:none!important;transform:none}#opening-film{display:none}}

html{scrollbar-gutter:stable}
@media(max-width:600px){.hero{background:#100e0b}.opening-scene{top:60px;height:62svh;min-height:390px;bottom:auto}.opening-scene .hero-photo{filter:none}.hero:after{background:linear-gradient(0deg,#100e0b 2%,#100e0bda 26%,#100e0b60 65%,#100e0b20)}}

@media(max-width:600px){.opening-scene{mask-image:linear-gradient(#000 75%,transparent 100%);-webkit-mask-image:linear-gradient(#000 75%,transparent 100%)}}

/* The original content enters in a restrained sequence after the film. */
.intro-pending .hero-copy{opacity:1;translate:none}
.hero-copy>*{transition:opacity 1.1s ease,translate 1.1s ease}
.intro-pending .hero-copy>*{opacity:0;translate:0 14px}
.intro-revealing .hero-copy .eyebrow{transition-delay:.05s}
.intro-revealing .hero-copy h1{transition-delay:.2s}
.intro-revealing .hero-copy .intro{transition-delay:.45s}
.intro-revealing .hero-copy .button{transition-delay:.7s}
.intro-revealing .hero-bottom{transition-delay:.9s}
.intro-skipped .hero-copy>*{transition-delay:0s}
@media(max-width:600px){
 .opening-scene{inset:0;height:100%;min-height:0;mask-image:none;-webkit-mask-image:none}
 .opening-scene .hero-photo{background-image:url('assets/opening-mobile-still.png')}
 .hero-copy{padding-top:clamp(340px,49svh,460px);padding-bottom:100px}
 .hero{min-height:780px}
 .hero h1{font-size:clamp(36px,9.6vw,48px)}
 .hero-copy .eyebrow{margin-bottom:18px}
 .hero-copy .intro{margin-bottom:24px}
 .hero:after{background:linear-gradient(0deg,#100e0b 0%,#100e0b90 38%,transparent 80%)}
}

/* Heading first: quiet letter-by-letter reveal, without a blinking cursor. */
.intro-revealing .hero-copy h1{transition:none;translate:none}
.intro-revealing:not(.intro-skipped) .opening-letter{animation:opening-letter-in .24s ease both;animation-delay:var(--letter-delay)}
@keyframes opening-letter-in{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
.intro-revealing header{transition-delay:1.45s}
.intro-revealing .hero-copy .eyebrow{transition-delay:1.55s}
.intro-revealing .hero-copy .intro{transition-delay:1.7s}
.intro-revealing .hero-copy .button{transition-delay:1.9s}
.intro-revealing .hero-bottom{transition-delay:2s}
.intro-skipped header,.intro-skipped .hero-copy>*,.intro-skipped .hero-bottom{transition-delay:0s}

/* Preserve the exact decoded final frame through the handover. */
.intro-held-frame #opening-film{opacity:1;transition:none}
.opening-scene .hero-photo{animation:none}

/* Keep the image fixed throughout the film and text reveal. */
.opening-scene,.intro-playing .opening-scene{animation:none!important;transform:none!important}
.opening-scene .hero-photo{animation:none!important;transform:none!important;will-change:auto}

/* Never crossfade the first decoded frame over the studio photograph. */
.intro-pending #opening-film,.intro-held-frame #opening-film{transition:none!important}

/* Loading and blocked-autoplay controls stay outside the inert website. */
#opening-status{position:fixed;z-index:101;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;color:#c9ae88;font:14px/1.5 sans-serif}
#opening-status[hidden],#opening-status button[hidden]{display:none}
#opening-status button{display:block;margin:18px auto 0;padding:14px 22px;color:#ede7da;border:1px solid #c9a16b70;background:#100e0b;cursor:pointer}
