/* The homepage is one continuous film, with a persistent way into the masterplan. */
.home-page{background:#f1dfc7}
#home-film{position:relative;min-height:100svh}
.home-page #experience,.home-page .journey-controls{opacity:1;visibility:visible}
.home-page .explore-map-link{position:fixed;z-index:28;right:var(--gutter);bottom:130px;display:grid;grid-template-columns:37px 1fr 22px;align-items:center;gap:18px;width:252px;min-height:78px;padding:17px 20px;background:rgba(248,247,241,.91);border:1px solid rgba(10,66,36,.35);color:#0a4224;backdrop-filter:blur(12px);box-shadow:0 8px 35px rgba(10,66,36,.045);transition:transform .3s ease,background .3s,border-color .3s}
.explore-map-link:hover{transform:translateY(-3px);background:#fffdf5;border-color:#0a4224}
.explore-map-link:focus-visible{outline:2px solid #0a4224;outline-offset:6px}
.explore-map-icon{width:37px;height:37px}
.explore-map-copy{display:flex;flex-direction:column;gap:7px}
.explore-map-copy strong{font-size:12px;letter-spacing:.02em;font-weight:500}
.explore-map-copy>span{font-size:8px;letter-spacing:.03em;color:#607164}
.explore-map-arrow{font-size:23px;line-height:1;transition:transform .3s}
.explore-map-link:hover .explore-map-arrow{transform:translate(2px,-2px)}
.film-replay{display:flex;align-items:center;gap:9px;padding:10px 0;font-size:10px;white-space:nowrap}
.film-replay span{font-size:17px}
.home-page.at-film-end .scroll-hint{opacity:0}
.home-page #render-error{z-index:40}
.home-page .header-links{gap:28px}
@media(max-width:1100px) and (min-width:761px){.home-page .header-links{gap:20px;margin-left:0}.home-page .header-actions{gap:16px}.home-page .explore-map-link{bottom:120px}}
@media(max-width:900px) and (min-width:761px){.home-page .header-contact{display:none}}
@media(max-width:760px){
  .home-page .chapter{bottom:235px}
  .home-page .explore-map-link{left:var(--gutter);right:auto;bottom:145px;width:205px;min-height:58px;padding:11px 14px;grid-template-columns:30px 1fr 18px;gap:12px}
  .explore-map-icon{width:30px;height:30px}
  .explore-map-copy{gap:4px}
  .explore-map-copy strong{font-size:11px}
  .explore-map-copy>span{font-size:7px}
  .explore-map-arrow{font-size:21px}
  .home-page .film-replay{position:absolute;left:0;bottom:71px;font-size:9px;min-height:31px}
}
@media(max-height:650px) and (min-width:761px){.home-page .explore-map-link{bottom:103px;min-height:61px;padding:12px 17px;width:224px}.home-page .chapter{bottom:19vh}.explore-map-icon{width:31px;height:31px}}
@media(max-height:650px) and (max-width:760px){.home-page .chapter{bottom:207px}.home-page .chapter h1,.home-page .chapter h2{font-size:36px}.home-page .chapter p{font-size:10px;line-height:1.6}.home-page .chapter-eyebrow{margin-bottom:11px}.home-page .explore-map-link{bottom:130px}.home-page .chapter-link{margin-top:11px}.home-page .scroll-hint{bottom:105px}}
@media(prefers-reduced-motion:reduce){.home-page .explore-map-link,.explore-map-arrow{transition:none}}

/* v12 creative direction: quiet luxury, cinematic utility, and clearer wayfinding. */
.home-page .site-header{height:82px;padding-top:10px;background:linear-gradient(180deg,rgba(7,35,23,.5),transparent);border-bottom-color:rgba(255,255,255,.12);mix-blend-mode:normal}
.home-page .site-header .brand-name,.home-page .site-header .header-links a,.home-page .site-header .motion-button,.home-page .site-header .menu-button{color:#fffdf3;text-shadow:0 1px 12px rgba(0,0,0,.18)}
.home-page .site-header .brand-icon{filter:brightness(0) invert(1)}
.home-page .site-header .menu-symbol i{background:#fffdf3}
.home-page .site-header .header-contact{box-shadow:0 12px 30px rgba(0,0,0,.18);border-color:rgba(255,255,255,.18)}
.home-page .chapter{max-width:min(620px,48vw);padding:26px 28px 28px;border:1px solid rgba(255,255,255,.22);background:linear-gradient(135deg,rgba(7,35,23,.45),rgba(7,35,23,.08));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 25px 80px rgba(0,0,0,.14)}
.home-page .chapter h1,.home-page .chapter h2{color:#fffdf3;text-shadow:0 4px 24px rgba(0,0,0,.2)}
.home-page .chapter p,.home-page .chapter-eyebrow{color:rgba(255,253,243,.82)}
.home-page .chapter-link{color:#fffdf3;border-bottom-color:rgba(255,253,243,.55)}
.home-page .explore-map-link{border-radius:2px;box-shadow:0 18px 50px rgba(0,0,0,.2);background:rgba(248,247,241,.94)}
.home-page .journey-controls{padding:10px 14px;border:1px solid rgba(255,255,255,.2);background:rgba(7,35,23,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
@media(max-width:760px){.home-page .chapter{max-width:calc(100vw - 40px);padding:20px 18px 22px}.home-page .site-header{height:72px}.home-page .journey-controls{padding:7px 9px}}

/* Let the landscape lead; use restrained surfaces only for wayfinding. */
@media(max-width:1100px){.home-page .header-links{display:none}.home-page .header-actions{margin-left:auto}}
@media(max-width:760px){.home-page .site-header{padding-top:0}.home-page .menu-button,.home-page .motion-button,.home-page .play-button,.home-page .next-button{min-height:44px}.home-page .chapter-link{min-height:44px}.home-page .chapter-tracks button{min-height:44px;padding-top:16px}.home-page .chapter p{max-width:33ch}.home-page .explore-map-link{bottom:150px}.home-page .chapter{bottom:250px}.home-page .journey-controls{bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
.home-page .chapter{padding:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;max-width:570px}
.home-page .chapter h1,.home-page .chapter h2{font-size:clamp(50px,5.5vw,90px);line-height:1.03;letter-spacing:-.055em;color:#0a4224;text-shadow:0 2px 28px rgba(255,253,243,.7)}
.home-page .chapter p,.home-page .chapter-eyebrow,.home-page .chapter-link{color:#0a4224;text-shadow:0 1px 15px rgba(255,253,243,.85)}
.home-page .chapter p{font-size:14px;line-height:1.8;max-width:36ch}
.home-page .chapter-link{font-size:12px;min-height:44px;align-items:center;border-bottom-color:rgba(10,66,36,.4)}
.home-page #scene-canvas{filter:saturate(1.08) contrast(1.035)}
.home-page .scene-wash{background:none}
.home-page .journey-controls{border:0;background:rgba(248,247,241,.36);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 4px 24px rgba(10,66,36,.08);padding:13px 20px}
.home-page .explore-map-link{border-color:rgba(10,66,36,.18);box-shadow:0 12px 36px rgba(10,66,36,.1);min-height:80px}
.home-page .explore-map-copy strong{font-size:14px}.home-page .explore-map-copy>span{font-size:10px}
@media(max-width:760px){.home-page .chapter{max-width:calc(100vw - 48px)}.home-page .chapter h1,.home-page .chapter h2{font-size:clamp(42px,11vw,60px)}.home-page .chapter p{font-size:12px}.home-page .explore-map-link{min-height:60px}.home-page .explore-map-copy strong{font-size:12px}.home-page .explore-map-copy>span{font-size:9px}.home-page .journey-controls{padding:10px}.home-page .chapter{bottom:245px}}

/* Film playback removes navigation/wayfinding, keeping only chapter copy. */
.home-page.film-playing .site-header,
.home-page.film-playing .journey-controls,
.home-page.film-playing .explore-map-link,
.home-page.film-playing .film-replay,
.home-page.film-playing .scene-caption,
.home-page.film-playing .film-timecode,
.home-page.film-playing .scroll-hint,
.home-page.film-playing .scene-status,
.home-page.film-playing .chapter-link {opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.home-page.film-playing .chapters {opacity:1;pointer-events:none}
.home-page.film-playing .chapter {bottom:18vh}
.home-page .site-header {transition:opacity .4s ease,visibility .4s}
.home-page.film-playing #scene-canvas {pointer-events:auto;cursor:pointer}
.home-page.film-playing #scene-canvas:focus-visible {outline:1px solid rgba(255,255,255,.3);outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.home-page .site-header{transition:none}}
.home-page .gyro-button{top:calc(94px + env(safe-area-inset-top));bottom:auto!important;right:18px!important;min-height:36px!important;padding:6px 10px!important;font-size:10px!important;max-width:145px}
