/* R8: stable reading geometry, viewport-sized film, compact closing. */
:root{--home-available:calc(100svh - 76px);--film-budget:calc(100svh - 240px)}
.cinematic-hero{height:var(--home-available);min-height:540px;max-height:1000px;display:flex;align-items:center;padding:54px 8vw 90px}
.hero-editorial{position:relative;inset:auto!important;width:100%;max-width:1200px;transform:none!important}
.hero-editorial h1{font-size:clamp(58px,7.4vw,124px);line-height:1.04;margin:22px 0 26px;max-width:1080px}
.hero-caption{max-width:950px}.hero-caption p{color:#f5fafc}.hero-emblem{right:6%;top:9%;width:clamp(160px,20vw,300px);opacity:.8}
.hero-footnote{bottom:28px}.journey-waypoints span:first-child{top:7%;left:8%}.hero-streams{opacity:.65}
.hero-actions{flex-wrap:wrap;gap:12px 22px}.hero-actions>a,.hero-actions>button{min-height:54px}
.home-outro{min-height:0!important;padding:64px 8vw 60px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr);gap:0 40px;align-content:center;background:radial-gradient(ellipse at 92% 15%,#185264 0,transparent 60%),#0a2035}
.home-outro>.eyebrow,.home-outro>h2,.home-outro>p,.home-outro>.outro-actions{grid-column:1;z-index:2}
.home-outro>h2{font-size:clamp(34px,3.5vw,58px);line-height:1.25;margin:16px 0;max-width:800px}
.home-outro>p{font-size:16px;line-height:1.7;max-width:600px}.outro-actions{margin-top:24px}
.outro-wordmark{position:absolute;right:6%;left:auto;bottom:20px;margin:0;font-size:clamp(90px,14vw,210px);color:#ffffff09;pointer-events:none;line-height:1}
.home-outro .final-connection{position:absolute;right:8%;top:50%;width:25%;margin:0;transform:translateY(-50%);gap:18px;z-index:1}
.home-outro .final-connection span{font-size:clamp(52px,8vw,112px);color:#aaf2d8}.home-outro .final-connection i{flex:1;height:1px}
.home-outro .outro-halo{width:44vw;height:44vw;right:-12%;top:-55%;box-shadow:none}.outro-landscape{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.home-outro .outro-rays{opacity:.48}.home-outro .motion-art{width:55%;right:-14%;top:0}
.home-footer{display:grid!important;grid-template-columns:1fr 1.3fr auto;gap:16px 40px;padding:32px 8vw 24px;align-items:start;background:#f7f9fc}
.footer-brand{grid-column:1;grid-row:1}.footer-team{grid-column:2;grid-row:1}.footer-brand p{margin-top:12px!important}.home-footer p{font-size:13px;line-height:1.8;color:#4a6078}
.home-footer nav{grid-row:2;grid-column:1/3;margin:0!important;padding-top:16px;border-top:1px solid #dae3ed;gap:10px 22px;font-size:13px}
.home-footer small{grid-column:1;grid-row:3;align-self:center;font-size:12px}.home-footer .experience-link{grid-column:2;grid-row:3;margin:0;justify-self:start;font-size:13px}
.home-footer .back-top{position:static;grid-column:3;grid-row:1;width:44px;height:44px;display:grid;place-items:center;justify-self:end}
.home-footer .photo-credits{grid-row:4;grid-column:1/4;margin:0;font-size:12px}.photo-credits summary{padding:5px 0}.home-footer .photo-credits p{font-size:12px}
.log-chapter{padding:28px 6vw 24px;min-height:0;scroll-margin-top:calc(var(--chapter-header-height,76px) + 12px)}
.log-heading{padding:18px 0;gap:24px;align-items:center}.log-heading h2{font-size:clamp(28px,3.3vw,48px);line-height:1.15}.log-heading p{max-width:540px;font-size:15px;line-height:1.55;color:#d6e4f0}
.log-frame{width:min(100%,calc(var(--film-budget) * 1.7777778));margin-inline:auto;aspect-ratio:16/9;max-height:var(--film-budget);border:1px solid #ffffff25;background:#030a13;transform:none!important;box-shadow:0 20px 50px #0003}
.log-frame video{display:block;width:100%;height:100%;max-height:var(--film-budget);aspect-ratio:16/9;object-fit:contain}.film-edge{pointer-events:none}
.log-caption{width:min(100%,calc(var(--film-budget) * 1.7777778));margin-inline:auto;padding-top:12px;font-size:12px;line-height:1.5}
.polish-light{position:absolute;pointer-events:none;inset:0;z-index:1;overflow:hidden}.polish-light i{position:absolute;width:45%;height:1px;left:-50%;top:18%;background:linear-gradient(90deg,transparent,#c4fff7b3,transparent);rotate:-24deg;animation:polish-ray 8s ease-in-out infinite;animation-play-state:paused}.polish-light i:nth-child(2){top:70%;animation-delay:-4s;width:70%}.spectacle-active .polish-light i{animation-play-state:running}
@keyframes polish-ray{0%,15%{translate:0 0;opacity:0}35%{opacity:.7}70%,100%{translate:350% 70px;opacity:0}}
.section-heading h2,.vision-editorial h2,.prologue-title{text-wrap:balance}.progress-card,.team-card{transition:box-shadow .25s ease}.home-header nav a,.button,.apk-download,.ios-install,.cinema-cta{transition:background .2s,box-shadow .2s,translate .2s}
@media(hover:hover){.button:hover,.apk-download:hover,.ios-install:hover,.cinema-cta:hover{translate:0 -3px}.progress-card:hover{box-shadow:0 12px 35px #174f7610}}
.button:active,.apk-download:active,.ios-install:active,.cinema-cta:active{translate:0 1px}
html[data-ui-mode=dark] .home-footer{background:#101e2e;color:#edf4fb}html[data-ui-mode=dark] .home-footer p,html[data-ui-mode=dark] .home-footer nav,html[data-ui-mode=dark] .home-footer small,html[data-ui-mode=dark] .photo-credits{color:#c3d4e5}
@media(max-height:760px) and (min-width:901px){.cinematic-hero{min-height:0;padding-top:28px;padding-bottom:65px}.hero-editorial h1{font-size:clamp(48px,6.6vw,88px);margin:14px 0 18px}.hero-caption p{font-size:16px}.hero-footnote{bottom:16px}.hero-emblem{width:180px;top:5%}.cinema-eyebrow{font-size:11px}}
@media(max-width:900px){.cinematic-hero{padding:48px 6vw 88px;min-height:560px}.hero-editorial h1{font-size:clamp(52px,8.5vw,88px)}.hero-emblem{width:170px;top:7%;opacity:.55}.home-footer{grid-template-columns:1fr 1fr auto;padding-inline:6vw;gap:18px 20px}.home-outro{padding:48px 6vw}.home-outro .final-connection{right:6%;width:22%}.log-chapter{padding-inline:4vw}.log-heading p{font-size:14px;max-width:370px}}
@media(max-width:600px){.cinematic-hero{height:auto;min-height:var(--home-available);padding:46px 24px 84px;align-items:center}.hero-editorial h1{font-size:clamp(44px,11.5vw,66px);margin:20px 0;line-height:1.08}.hero-caption p{font-size:16px;line-height:1.65}.hero-emblem{width:100px;top:18px;right:16px;opacity:.3}.hero-actions{gap:10px;margin-top:22px}.hero-actions .apk-download,.hero-actions .ios-install{flex:1 1 145px;padding:12px;gap:8px}.hero-actions strong{font-size:13px}.hero-actions .cinema-cta{width:100%;justify-content:center}.hero-footnote{left:24px;right:24px;bottom:18px;gap:10px;font-size:10px}.journey-waypoints{display:none}.home-outro{display:block;padding:40px 24px}.home-outro>h2{font-size:clamp(30px,8vw,42px);max-width:100%}.home-outro>p{font-size:14px;max-width:100%}.home-outro .final-connection{display:none}.outro-actions{margin-top:20px}.outro-wordmark{font-size:24vw;right:16px;bottom:16px}.home-footer{grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:28px 24px 24px}.footer-brand{grid-column:1;grid-row:1}.footer-team{grid-column:1/3;grid-row:2}.home-footer .back-top{grid-column:2;grid-row:1}.home-footer nav{grid-column:1/3;grid-row:3;font-size:12px;gap:12px 16px}.home-footer small{grid-column:1/3;grid-row:5;font-size:11px}.home-footer .experience-link{grid-column:1/3;grid-row:4;font-size:12px}.home-footer .photo-credits{grid-column:1/3;grid-row:6;font-size:11px}.log-chapter{padding:22px 16px}.log-chapter .chapter-marker{padding:0;font-size:10px}.log-heading{display:block;padding:14px 0}.log-heading h2{font-size:30px}.log-heading p{margin-top:8px;font-size:13px;max-width:none;line-height:1.55}.log-caption{font-size:10px;gap:12px;padding:10px 0 0}.log-frame{border-radius:12px!important}}
@media(prefers-reduced-motion:reduce){.polish-light{display:none}.button,.apk-download,.ios-install,.cinema-cta{transition:none}.hero-editorial{opacity:1!important}.hero-type-line{opacity:1!important;transform:none!important}}
.page-hidden .polish-light i,html[data-chapter-moving] .polish-light i{animation-play-state:paused!important}
/* The incoming scene must not paint an opaque background over the first scene. */
@media(min-width:601px) and (prefers-reduced-motion:no-preference){.shot-local{background:transparent!important}.shot-local .local-network,.shot-local .landscape-contours{opacity:var(--local-visible,0)}.shot-local .shot-photo,.shot-local .shot-shade{opacity:var(--local-visible,0)!important}}
.log-chapter+.connected-team{margin-top:0}
