/* Mobile is a separate composition within the same site. */
:root{--mobile-header-height:0px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mobile-hero-action{display:none}
.menu-toggle,.menu-close{align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:0;color:var(--paper);background:transparent}
.menu-close{display:flex;font-size:34px;line-height:1}
#mobile-nav{position:fixed;inset:0 0 auto;margin:0;width:100%;max-width:none;max-height:100dvh;border:0;padding:0;background:var(--ink);color:var(--paper);overflow-y:auto;overscroll-behavior:contain;touch-action:auto}
#mobile-nav[open]{display:flex;flex-direction:column}
#mobile-nav::backdrop{background:#020e1bc9;backdrop-filter:blur(8px)}
.mobile-menu-top{display:flex;align-items:center;justify-content:space-between;min-height:calc(68px + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 12px max(20px,env(safe-area-inset-left));border-bottom:1px solid #a7d4df29}
.mobile-menu-top>a{display:flex;align-items:center;min-height:44px}.mobile-menu-top img{width:215px;height:auto}
#mobile-nav nav{display:flex;flex-direction:column;padding:18px max(24px,env(safe-area-inset-right)) 25px max(24px,env(safe-area-inset-left))}
#mobile-nav nav a{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:clamp(26px,7vw,34px);line-height:1.2;letter-spacing:-.025em;padding:20px 0;border-bottom:1px solid #a7d4df26;min-height:64px}
#mobile-nav nav a span{font-size:22px;color:var(--ice)}
.mobile-menu-footer{padding:0 24px calc(28px + env(safe-area-inset-bottom));font-size:13px;color:var(--muted)}
body.menu-open{overflow:hidden}
@media(max-width:700px){
  :root{--mobile-header-height:calc(68px + env(safe-area-inset-top))}
  html{scroll-padding-top:calc(var(--mobile-header-height) + 20px)}
  .site-header{position:fixed;inset:0 0 auto;z-index:100;height:calc(68px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left));background:#061827f5;backdrop-filter:blur(14px);border-bottom:1px solid #a7d4df29;gap:12px}
  .site-header>a:first-child{display:flex;align-items:center;min-height:44px}
  .site-header .wordmark{width:215px;max-width:calc(100vw - 110px)}
  .site-header .menu-toggle{display:flex;padding:0}
  .skip-link{z-index:120;top:calc(env(safe-area-inset-top) + 8px)}
  .story{height:400svh}
  .story-stage{height:100svh}
  .story-poster{object-position:center center}
  .story-shade{background:linear-gradient(0deg,#031320e6 0%,#031320a8 22%,#03132000 64%)}
  .chapter.chapter-opening{top:auto;bottom:calc(108px + env(safe-area-inset-bottom));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right))}
  .chapter h1{font-size:clamp(48px,12.2vw,74px);line-height:1.01;letter-spacing:-.055em;max-width:350px}
  .hero-context,.chapter-vessel,.chapter-depth>.chapter-kicker,.chapter-depth>p{display:none!important}
  .chapter-opening .hero-bottom{display:block;margin-top:14px}
  .chapter-opening .hero-bottom p{font-size:15px;line-height:1.45;max-width:34ch}
  .mobile-hero-action{display:inline-flex;margin-top:25px;min-height:48px;font-size:13px;padding:13px 18px;gap:22px}
  .story-footer{left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));bottom:calc(19px + env(safe-area-inset-bottom));min-height:44px;font-size:11px}
  .scroll-cue{font-size:11px;gap:9px}.scroll-line{height:20px}
  .skip-story{min-height:44px;display:inline-flex;align-items:center;gap:12px;font-size:11px;border:0;padding:0}.skip-story span{margin:0}
  .chapter.chapter-depth{top:auto;bottom:calc(110px + env(safe-area-inset-bottom));left:24px;right:24px}
  .chapter-depth h2{font-size:clamp(33px,9vw,46px)}
  .chapter-depth .button{margin-top:22px;min-height:48px;font-size:13px}
  .motion-static .story{height:auto}
  .motion-static .story-stage{position:relative;padding:0;min-height:100svh;height:100svh}
  .motion-static .chapter.chapter-opening{position:absolute;inset:auto max(24px,env(safe-area-inset-right)) calc(108px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}
  .motion-static .scroll-cue{visibility:visible}
  .motion-static .story-footer{bottom:calc(19px + env(safe-area-inset-bottom))}
  /* 1.6 viewport heights of active cutaway travel, clear of the fixed header. */
  section.approach:is(.cutaway-pending,.cutaway-ready){height:calc(260svh - var(--mobile-header-height))}
  .cutaway-ready .cutaway-stage{top:var(--mobile-header-height);height:calc(100svh - var(--mobile-header-height));min-height:0;padding:22px max(24px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}
  .cutaway-stage .section-top{font-size:10px;padding-bottom:14px}
  .cutaway-stage .section-top span:last-child{max-width:59%}
  .cutaway-ready .cutaway-copy{padding-top:23px;min-height:215px}
  .cutaway-kicker{font-size:10px;letter-spacing:.06em;margin-bottom:13px}
  .cutaway-chapter h2{font-size:clamp(28px,7.2vw,34px);line-height:1.08}
  .cutaway-chapter p{font-size:14px;line-height:1.6;margin-top:17px}
  .cutaway-ready .cutaway-visual{margin:0;height:100%;width:calc(100% + 24px);max-height:100%;min-height:0;aspect-ratio:auto}
  .cutaway-ready .cutaway-poster{height:calc(100% - 26px);object-fit:contain}
  #cutaway-player{bottom:26px}
  .cutaway-visual svg text{font-size:32px}
  .cutaway-visual figcaption{font-size:9px;margin-top:8px;line-height:1.4;letter-spacing:0}
  .cutaway-ready .cutaway-controls{padding-top:9px;gap:12px}
  .cutaway-chapter-button{min-height:48px;padding:12px 0 0;align-items:flex-start;gap:6px}
  .cutaway-chapter-button strong{font-size:13px}
  .cutaway-skip{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;padding:0}
  .cutaway-chapters{gap:9px}
  .text-link{min-height:44px}.bio-link{min-height:44px;align-items:center;margin-top:8px}
  .site-footer a{min-height:44px;display:inline-flex;align-items:center}
  address a{min-height:44px;display:flex;align-items:center;margin:0}
  .contact-circle{min-width:60px;min-height:60px}
  .site-footer{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(max-width:700px) and (max-height:700px){
  .chapter h1{font-size:clamp(44px,12vw,60px)}
  .chapter.chapter-opening,.motion-static .chapter.chapter-opening{bottom:calc(92px + env(safe-area-inset-bottom))}
  .mobile-hero-action{margin-top:20px}
  .cutaway-ready .cutaway-copy{min-height:185px;padding-top:16px}
  .cutaway-chapter h2{font-size:28px}
  .cutaway-chapter p{font-size:13px;line-height:1.5;margin-top:12px}
  .cutaway-kicker{margin-bottom:9px;font-size:9px}
  .cutaway-ready .cutaway-stage{padding-top:16px;padding-bottom:8px}
  .cutaway-stage .section-top{padding-bottom:10px}
}
@media(prefers-reduced-motion:reduce) and (max-width:700px){
  .story{height:auto}.story-stage{position:relative;padding:0;height:100svh;min-height:100svh}
  .chapter.chapter-opening{position:absolute;inset:auto 24px calc(108px + env(safe-area-inset-bottom))}
  .scroll-cue{visibility:visible}
}
@media(max-width:700px){.cutaway-chapter h2 br{display:initial}.site-header .wordmark{max-width:calc(100vw - 125px)}}
@media(max-width:360px){.cutaway-number{display:none}.cutaway-chapter-button strong{font-size:12px}.cutaway-chapters{gap:7px}.mobile-menu-top img{width:195px}}
.cutaway-mobile-copy{display:none}
@media(max-width:700px){.cutaway-desktop-copy{display:none}.cutaway-mobile-copy{display:inline}}
@media(max-width:700px) and (max-height:700px){.cutaway-ready .cutaway-copy{min-height:160px}}
@media(max-width:700px){.story{height:auto}.story[data-mode="sequence"]{height:400svh}}
/* Shared GSAP choreography: semantic copy stays in the document; one grid cell
   reserves its height through the intentional text-free geological reveal. */
.story-track span{width:100%;transform:scaleX(0);transform-origin:left}
.cutaway-choreographed .cutaway-chapter-stack{display:grid}
.cutaway-choreographed .cutaway-chapter{grid-area:1/1;align-self:start;pointer-events:none}
.cutaway-choreographed .cutaway-chapter[aria-hidden=false]{pointer-events:auto}
.cutaway-choreographed .cutaway-copy .text-link{margin-top:18px}
@media(max-width:700px) and (min-height:701px){
 .cutaway-choreographed .cutaway-copy .text-link{display:inline-flex;min-height:44px;margin-top:4px;font-size:12px;padding:8px 0 4px}
 .cutaway-choreographed .cutaway-copy{padding-bottom:0}
}
/* Panel choreography inspired by GreenSock's clear-and-rebuild menu example. */
#mobile-nav{inset:0;height:100dvh;max-height:100dvh;background:transparent;overflow:hidden}
#mobile-nav::backdrop{background:#020e1bcf;backdrop-filter:blur(10px)}
#mobile-nav .mobile-menu-top{flex-shrink:0;background:var(--ink);border:0;position:relative;z-index:2}
.mobile-menu-panels{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
.mobile-nav-panel{flex-shrink:0;position:relative;border-radius:10px;transform-origin:50% 20%}
#mobile-nav .mobile-nav-primary{padding:26px 24px;background:var(--paper);color:var(--ink);flex:1;display:flex;flex-direction:column;min-height:252px}
.mobile-nav-eyebrow{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#4f6d79}
.mobile-nav-links{display:flex;flex-direction:column;justify-content:center;flex:1;padding-top:14px}
#mobile-nav .mobile-nav-links a{font-size:clamp(28px,8vw,39px);font-weight:500;letter-spacing:-.04em;padding:21px 0;min-height:64px;gap:10px;border-color:#13344424}
#mobile-nav .mobile-nav-links a>span:last-child{margin-left:auto;color:#315f6d;font-size:23px}
#mobile-nav .mobile-nav-links .mobile-nav-index{font-size:10px;letter-spacing:0;color:#567783;margin-right:5px;align-self:center}
.mobile-nav-contact{background:#a7e7e4;color:var(--ink);padding:25px 24px;min-height:175px;overflow:hidden}
.mobile-nav-contact p{font-size:29px;letter-spacing:-.045em;line-height:1.06;position:relative;z-index:1}
.mobile-nav-contact a{display:inline-flex;gap:40px;align-items:center;min-height:44px;font-size:13px;border-bottom:1px solid #315f6d;margin-top:12px;position:relative;z-index:1}
.menu-orbits{position:absolute;right:-29px;bottom:-32px;width:170px;height:170px;color:#32757e;opacity:.38;pointer-events:none}
.mobile-nav-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px;background:#102b3b;border:1px solid #a7e7e428;color:#d4e9ec;font-size:12px;min-height:76px}
.mobile-nav-footer i{font-style:normal;margin:0 6px;color:var(--ice)}
.mobile-nav-footer>span:last-child{font-size:10px;color:var(--muted)}
#mobile-nav .mobile-nav-primary :focus-visible,#mobile-nav .mobile-nav-contact :focus-visible{outline-color:#296d95;outline-offset:3px}
@media(max-height:700px){
 #mobile-nav .mobile-nav-primary{padding:18px 20px;min-height:211px}
 #mobile-nav .mobile-nav-links a{font-size:28px;min-height:48px;padding:10px 0}
 .mobile-nav-links{padding-top:12px}
 .mobile-nav-contact{min-height:128px;padding:18px 20px}
 .mobile-nav-contact p{font-size:25px}.mobile-nav-contact a{margin-top:4px}
 .mobile-nav-footer{min-height:56px;padding:16px 20px;font-size:11px}
 .mobile-nav-footer>span:last-child{font-size:9px}
 .menu-orbits{width:140px;height:140px}
}

#mobile-nav::backdrop{opacity:var(--menu-shade,1)}

@media(max-width:700px){.story[data-mode="loading"]{height:400svh}}

.site-header{position:fixed;transition:transform .22s ease-out}
.site-header.over-content{background:#061827f5}
.site-header.scroll-hidden{transform:translateY(-102%)}
.site-header:has(:focus-visible),body.menu-open .site-header{transform:none}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}
