/* Home prologue: an editorial cover with three explorable scenes. */
#home.cinema-hero { min-height:820px; padding:118px 6% 212px; justify-content:center; }
#home .hero-copy { max-width:41%; }
#home .hero-kicker { font:400 14px/1.5 var(--serif); letter-spacing:.2em; margin-bottom:20px; }
#home h1 { font:500 clamp(76px,7.4vw,130px)/1.03 var(--serif); letter-spacing:.14em; margin:0 0 22px; }
#home h1 .title-moon { display:block; color:#fff0d7; }
#home h1 .title-letter { display:block; color:#e4bc82; margin:.1em 0 0 .64em; position:relative; }
#home h1 .title-seal { display:inline-block; font:400 14px/1.4 var(--serif); letter-spacing:.08em; vertical-align:middle; border:1px solid #cc9d6e99; padding:6px 4px; color:#d2ab7d; margin:0 0 0 16px; transform:rotate(4deg); }
#home .hero-subtitle { font:400 clamp(20px,1.8vw,28px)/1.6 var(--serif); letter-spacing:.3em; margin:0 0 15px; }
#home .hero-description { font-size:16px; line-height:1.9; color:#d1c9ba; margin:0 0 23px; }
#home .hero-actions { gap:23px; flex-wrap:wrap; }
#home .hero-start { min-height:52px; padding:13px 20px; font-size:16px; }
#home .hero-secondary { font-size:14px; }
#home .film-still { object-position:68% 46%; }
#home .film-still[data-still=sampling] { object-position:75% 54%; }
#home .film-shade { background:linear-gradient(90deg,#070c0ef5 0%,#090d10ca 23%,#070c0e38 46%,transparent 70%),linear-gradient(0deg,#090e11 0%,#090e11ed 16%,#090e1140 40%,transparent 72%,#05090d66); }
#home .film-capsule { width:24%; right:13%; bottom:31%; }
.prologue-orbits { position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.6; }
.prologue-orbits svg { width:100%;height:100%; }
.prologue-orbits ellipse { fill:none;stroke:#cdae7428;stroke-width:.7; }
.prologue-orbits .signal-trace { stroke:#edd8a8ad; stroke-width:1.3; stroke-dasharray:24 2380; animation:prologue-orbit 28s linear infinite; }
.scene-coordinate { position:absolute; right:6%; top:119px; z-index:2; display:flex; align-items:center; gap:13px; color:#ebd9ba; font:14px/1.5 var(--serif); }
.scene-coordinate i { width:32px;height:1px;background:#c7b18b77; }
.scene-coordinate small { font:12px/1.4 var(--mono);letter-spacing:.12em;color:#bcbdaf; }
#home #film-hotspot { top:46%; right:19%; font-size:14px;background:#0a1115ad; border-color:#e6ca8c66; }
#film-hotspot b { font-size:20px; font-weight:400; margin-left:8px; }
.scene-story { position:absolute; right:6%; bottom:232px; width:min(35%,440px); z-index:3; padding-left:20px; border-left:1px solid #dfbd815c; }
.scene-story>p:first-child { color:#cbb995;font-size:13px;letter-spacing:.13em;margin:0 0 8px; }
.scene-story h2 { font:400 clamp(23px,2.15vw,34px)/1.4 var(--serif); color:#f4e4c8; margin:0 0 9px; }
.scene-story #scene-description { margin:0 0 12px; color:#c7c5ba; font-size:15px;line-height:1.8; max-width:28em; }
.scene-story a { color:#ecd0a4; font-size:14px; display:inline-block; border-bottom:1px solid #c6a67788; padding:3px 0; }
#home .film-desk { inset:auto 6% 80px; padding:18px 0 0; gap:30px; border-color:#e7d1b63d; }
#home .film-index { font-size:18px; gap:7px; }
#home .film-index small { font-size:13px; color:#aaa99f; }
#home .film-shots { flex:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
#home .film-shots button { position:relative; padding:9px 9px 13px; gap:13px; text-align:left; background:transparent; border-color:transparent; min-height:84px; transition:background .3s; }
#home .film-shots button::after { content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:#e4cda532; }
#home .film-shots button[aria-pressed=true] { background:linear-gradient(90deg,#d6b27616,transparent); border-color:transparent; color:#ffe4bd; }
#home .film-shots button[aria-pressed=true]::after { background:#e6bd81; }
#home .film-shots button:hover { background:#f5d69e0b; }
#home .film-shots img { width:clamp(58px,6.5vw,103px);height:58px;object-fit:cover; }
#home .film-shots span { font-size:17px; }
#home .film-shots small { display:block; margin-top:6px; color:#aaa99f; font-size:13px; }
#home .film-desk #hero-pause { font-size:14px; flex-shrink:0; }
.home-footnote { position:absolute;bottom:27px;left:6%;right:6%;display:flex;align-items:center;justify-content:space-between;z-index:3;padding-right:210px; }
#home .film-credit { position:static; color:#909a98; font-size:12px; letter-spacing:.04em; }
#open-gesture-guide { color:#d5c3a2;background:transparent;border:0;font-size:14px;cursor:pointer; min-height:44px;padding:5px 0; }
#open-gesture-guide span { font-size:22px;vertical-align:middle;margin-right:6px; }
#gesture-intro { width:min(720px,calc(100% - 32px)); padding:45px; background:#101b20; color:#e8e0ce; border:1px solid #9b805757; max-height:88svh; overflow:auto; box-shadow:0 24px 100px #0008; }
#gesture-intro::backdrop { background:#02070bce;backdrop-filter:blur(8px); }
#close-gesture-guide { position:absolute;right:14px;top:12px;background:transparent;border:0;color:#cfb88f;font-size:30px;min-width:44px;min-height:44px;cursor:pointer; }
.guide-kicker { font-size:14px;color:#c5ac7e;letter-spacing:.14em;margin:0 0 18px; }
#gesture-intro h2 { font:400 38px/1.3 var(--serif);margin:0 0 18px; }
.guide-intro { font-size:16px;line-height:1.9;color:#bbc5c4; }
.gesture-instructions { display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:26px 0; }
.gesture-instructions>div { border-top:1px solid #ac916050;padding-top:14px; }
.gesture-instructions span { color:#eac38d;font:23px var(--serif); }
.gesture-instructions p { color:#c2c9c6;font-size:15px;line-height:1.8;margin:10px 0 0; }
.guide-destinations { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
.guide-destinations a { border:1px solid #bd9b624d;padding:16px;background:#d8be8a0a; }
.guide-destinations a:hover { border-color:#e0ba7d; }
.guide-destinations strong { font-size:17px;display:block;font-weight:500;color:#edcfa2; }
.guide-destinations span { display:block;font-size:14px;color:#aebcb9;margin-top:7px; }
.guide-note { font-size:13px;line-height:1.8;color:#9aaca9;margin:18px 0 0; }
@keyframes prologue-orbit { to { stroke-dashoffset:-2404; } }
@keyframes prologue-enter { from { opacity:0;transform:translateY(12px); } to { opacity:1;transform:none; } }
@media(prefers-reduced-motion:no-preference) { #home .hero-copy { animation:prologue-enter 1.1s ease both; } .scene-story.changing { animation:prologue-enter .55s ease both; } }
@media(min-width:1600px) { #home.cinema-hero { padding-bottom:230px; } #home h1 { font-size:clamp(120px,7.4vw,156px); } }
@media(min-width:781px) and (max-height:830px) { #home.cinema-hero { min-height:760px; padding-top:110px; padding-bottom:195px; } #home h1 { font-size:84px; margin-bottom:15px; } #home .hero-kicker { margin-bottom:12px; } #home .hero-description { margin-bottom:14px; } .scene-story { bottom:218px; } }
@media(min-width:781px) and (max-width:1050px) { #home .hero-copy { max-width:50%; } #home h1 { font-size:90px; } #home .film-index { display:none; } #home .film-shots { gap:8px; } #home .film-desk { gap:15px; } #home .film-shots img { width:60px; } .scene-story { width:35%;right:5%; } }
@media(max-width:780px) {
 #home.cinema-hero { min-height:100svh; height:auto; padding:0 0 84px; }
 #home .film-stage { height:430px; flex:none; }
 #home .film-still { object-position:76% 50%; }
 #home .film-shade { background:linear-gradient(0deg,#0a0c0d,transparent 32%,transparent 70%,#060a0d9c); }
 #home .hero-copy { max-width:none;width:88%;margin:-25px auto 0; }
 #home .hero-kicker { font-size:13px;margin:0 0 13px; }
 #home h1 { font-size:clamp(58px,13vw,90px);margin:0 0 14px;letter-spacing:.1em; }
 #home h1 .title-moon,#home h1 .title-letter { display:inline;margin:0; }
 #home h1 .title-seal { display:none; }
 #home .hero-subtitle { font-size:22px; margin-bottom:13px; }
 #home .hero-description { font-size:16px; }
 #home .hero-actions { gap:18px; }
 #home .hero-start { font-size:15px;padding:13px 16px; }
 .prologue-orbits { height:430px; }
 .scene-coordinate { top:123px;right:6%;font-size:13px; }
 .scene-coordinate small { display:none; }
 #home #film-hotspot { top:auto;bottom:56px;right:6%;font-size:14px; }
 .scene-story { position:relative;inset:auto;width:88%;margin:32px auto 0;padding-left:16px; }
 .scene-story h2 { font-size:25px; }
 .scene-story #scene-description { font-size:16px; }
 #home .film-desk { position:relative;inset:auto;width:88%;margin:28px auto 0;display:grid;grid-template-columns:1fr auto;gap:13px;padding-top:12px; }
 #home .film-index { display:flex;font-size:16px; }
 #home .film-shots { gap:10px;grid-column:1/-1; }
 #home .film-shots button { display:block;padding:4px 0 12px;min-width:0; }
 #home .film-shots img { width:100%;height:68px; }
 #home .film-shots span { display:block;font-size:15px;margin-top:8px; }
 #home .film-shots small { font-size:12px;line-height:1.6; }
 #home .film-desk #hero-pause { grid-column:2;grid-row:1; }
 .home-footnote { position:relative;inset:auto;width:88%;padding:0;margin:17px auto 0;flex-wrap:wrap;gap:6px; }
 #home .film-credit { width:auto;margin:0;font-size:12px; }
 #gesture-intro { padding:34px 23px 25px; }
 #gesture-intro h2 { font-size:30px; }
 .gesture-instructions { grid-template-columns:1fr;gap:16px; }
 .gesture-instructions p { margin-top:7px; }
 .guide-destinations { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .prologue-orbits .signal-trace { animation:none; } .scene-story { animation:none!important; } }
#home[data-motion=paused] .scene-story { animation:none!important; }
.scene-story { text-shadow:0 2px 12px #050b0f; }
.prologue-controls { display:grid;gap:3px;min-width:84px; }
#play-prologue { color:#e9c799;border:1px solid #d5b57d50;background:#c4a6750a;min-height:40px;padding:7px 12px;font-size:14px;cursor:pointer; }
#play-prologue:hover { border-color:#e1c494; }
#home .prologue-controls #hero-pause { margin:0;min-height:32px; }
#home.sequence-playing .film-shots button[aria-pressed=true]::after { background:linear-gradient(to right,#e9c98d var(--scene-progress,0%),#e4cda532 var(--scene-progress,0%));height:2px; }
@media(max-width:780px) { .prologue-controls { grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px; } #home .prologue-controls #hero-pause { font-size:13px; } #play-prologue { font-size:13px;padding:7px 9px; } #home .film-index { display:grid;gap:3px; } }
#home .film-capsule { width:17%;right:14%;bottom:43%; }
#home .film-stage[data-shot=return] .film-shade { background:linear-gradient(90deg,#070c0ef5 0%,#090d10b8 25%,transparent 70%),linear-gradient(0deg,#090e11 0%,#090e11e8 17%,#090e118c 42%,transparent 65%,#05090da8); }
@media(max-width:780px) { #home .film-capsule { width:35%;right:14%;bottom:30%; } #home .film-stage[data-shot=return] .film-shade { background:linear-gradient(0deg,#0a0c0d,transparent 32%,transparent 55%,#060a0dbb); } }
