/* Two local hero studies. The clipping plane is the physical viewport edge. */
body[data-hero-study] .hero { min-height: calc(100svh - 72px); padding-bottom: 0; z-index: 6; }
body[data-hero-study] .hero-copy { padding-top:clamp(16px,5svh,48px); }
body[data-hero-study] #hero-film-anchor { height: 0 !important; margin: 0 !important; }
body[data-hero-study] .intro { max-width: 580px; text-wrap: balance; }
.hero-cards { position: fixed; inset: 0; z-index: 4; overflow: clip; pointer-events: none; perspective: 1400px; --card-width: min(560px,66vw,calc((100svh - 430px)*1.5)); opacity: var(--cards-opacity,1); mask-image: linear-gradient(to bottom,#000 0%,#000 84%,#000b 94%,transparent 100%); -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 84%,#000b 94%,transparent 100%); }
.hero-card { visibility: hidden; position: absolute; width: var(--card-width); aspect-ratio: 1.5; left: calc(50% - var(--card-width)/2); top: var(--card-top,calc(100% - var(--card-width)*.66 - 22px)); transform-origin: 50% 140%; border: 1px solid #ffffff50; border-radius: 12px; overflow: hidden; padding: 0; background: linear-gradient(135deg,#ffffff25,#b0b0b010 45%,#ffffff09),#171818; box-shadow: 0 12px 30px #0008,inset 0 1px #ffffff22; will-change: transform; backface-visibility: hidden; }
.hero-card svg { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #181818; }
.hero-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #000; opacity: calc(1 - var(--scan-shade,1)); }
.hero-playback { position: fixed; bottom: 22px; right: 28px; z-index: 7; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff26; border-radius: 50%; background: #ffffff08; color: #ffffffa0; cursor: pointer; padding: 9px; }
.hero-playback:hover { background: #ffffff18; color: white; }
.hero-playback svg { width: 12px; height: 12px; fill: currentColor; }
.hero-playback[hidden] { display: none; }
.hero-study-error { position: absolute; bottom: 90px; width: 100%; text-align: center; color: #aaa; font-size: 14px; }
@media (max-width:720px) {
 body[data-hero-study] .hero { padding-top: 32px; }
 body[data-hero-study] .intro { max-width: 350px; font-size: 1rem; }
 .hero-cards { --card-width: min(82vw,calc((100svh - 430px)*1.5)); perspective: 850px; }
 .hero-card { padding: 0; }
 .hero-card::after { inset: 0; }
 .hero-playback { right: 16px; bottom: 16px; }
}
@media (max-height:650px) and (min-width:721px) {
 body[data-hero-study] .hero-copy { padding-top:0; }
 body[data-hero-study] .hero { padding-top: 12px; }
 body[data-hero-study] h1 { font-size: 3rem; }
 body[data-hero-study] .intro { margin-top: 12px; font-size: 1rem; }
 body[data-hero-study] .hero-actions { margin-top: 14px; }
 .hero-cards { --card-width: min(380px,50vw,calc((100svh - 310px)*1.5)); }
}
@media (prefers-reduced-motion:reduce) {
 .hero-cards { position: absolute; height: 100svh; }
 .hero-card { will-change: auto; }
 .hero-playback { display: none; }
}

/* The outgoing pitch clears before the incoming heading takes its place. */
.landing.stage-light[data-hero-study="fan"] .hero-copy { opacity: var(--fan-copy-opacity,1); }

/* Local white-background study; retain the existing motion timeline. */
body.landing { --paper:#fff;background:#fff; }
body.landing.stage-light { background:#fff; }
body.landing.stage-light.grain-ready::before,body.landing::before,body.landing::after,
body.landing .hero::before,body.landing .hero::after { content:none; }
body.landing .exposure-grain { display:none; }
body.landing .site-header,body.landing .hero,body.landing .how { background:transparent;color:#141515; }
body.landing .hero em,body.landing .hero .intro,body.landing .hero .small { color:#666969; }
body.landing .how-heading { color:#141515; }
body.landing .hero a:focus-visible { outline-color:#141515; }
body.landing .hero-playback { color:#555;background:#fff;border-color:#dcdede; }
body.landing .hero-playback:hover { color:#141515;background:#f2f2f2; }
body.landing .hero-card { border:0;box-shadow:0 2px 5px #0000000a,0 12px 28px #00000012; }
body.landing .hero-card { border-radius:6px; }
body.landing .hero h1 { color:#000;font-size:clamp(46px,5.2vw,72px);font-weight:700;line-height:.94;letter-spacing:-.04em;font-feature-settings:"ss03","ss08"; }
body.landing .hero h1 em { color:inherit; }
body.landing { font-feature-settings:"ss03","ss08"; }
body.landing .hero .intro { font-family:"Timeless Sans",sans-serif;font-size:17px;font-weight:400;line-height:1.5;letter-spacing:-.012em;margin-top:24px;color:#575757; }
body.landing .hero .intro { max-width:440px; }
body[data-hero-layout="row"] .hero-card { transform-origin:50% 140%; }
body[data-hero-layout="row"] .hero-cards { mask-image:none;-webkit-mask-image:none; }
@media (prefers-reduced-motion:no-preference) {
 body[data-hero-layout="row"] .headline-line,
 body[data-hero-layout="row"] .hero .intro,
 body[data-hero-layout="row"] .hero-actions { animation:row-copy-arrive 600ms cubic-bezier(.22,1,.36,1) 80ms both; }
 @keyframes row-copy-arrive { from { opacity:0;transform:translateY(10px); } to { opacity:1;transform:translateY(0); } }
}
@media (max-width:600px) {
 body.landing .hero h1 { font-size:clamp(38px,8.4vw,50px); }
 body.landing .hero .intro { font-size:16px;max-width:340px; }
}
@media (max-height:650px) and (min-width:721px) {
 body.landing .hero h1 { font-size:48px; }
}
