/* Vector arrows preserve the drawn glyph across iOS and Android fonts. */
.direction-icon{display:inline-block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.12em;flex-shrink:0}

@media(max-width:900px){
  html.fullscreen-chapters{--mobile-scene-height:100vh}
  @supports(height:100dvh){html.fullscreen-chapters{--mobile-scene-height:100dvh}}
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  html.fullscreen-chapters{scroll-behavior:auto}
  html.dialog-open{overflow:hidden;overscroll-behavior:none}
  /* Keep all existing dimensions and artwork; expand invisible touch targets. */
  :is(.menu-toggle,.hero-down,.life-gallery-controls button,.gallery-controls button,.collection-view-toggle button){isolation:isolate}
  :is(.menu-toggle,.hero-down,.life-gallery-controls button,.gallery-controls button,.collection-view-toggle button)::after{content:"";position:absolute;inset:-8px;min-width:44px;min-height:44px}
  :is(.menu-toggle,.life-gallery-controls button,.gallery-controls button,.collection-view-toggle button){position:relative}
  :is(button,a,summary){touch-action:manipulation}
  :is(.life-gallery,#highlights .highlight-carousel,#highlights .journey-stage){touch-action:pan-y pinch-zoom}
  .architecture-style-gallery{touch-action:pan-x pan-y pinch-zoom}
  .menu-dialog,.interest-dialog{top:var(--dialog-top,0px);bottom:auto;height:var(--dialog-height,100svh);max-height:var(--dialog-height,100svh)}
  .menu-surface,.interest-content{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
  .interest-content{height:100%;min-height:0}
  .field input,.field textarea{font-size:16px}
  /* Scroll distances stay in svh; only the painted scene follows browser chrome.
     Override the fixed height and maximum that ScrollTrigger captures when pinning. */
  .fullscreen-chapters .hero-stage,
  .fullscreen-chapters .viewport-chapter:not(:is(.chapter--architecture,.chapter--coastal-life,.chapter--technology,.chapter--heritage,.chapter--contact,.chapter--footer)) .chapter-screen{height:var(--mobile-scene-height)!important;max-height:none!important}
  .fullscreen-chapters :is(#location,#arrival).media-chapter,
  .fullscreen-chapters :is(#coastal-story.manifesto-overlay,#master-plan.plan-overview,.privileges-intro.coastal-film,.scroll-journey),
  .fullscreen-chapters :is(.desktop-journey,.scroll-journey) .journey-stage,
  .fullscreen-chapters #highlights :is(.highlight-carousel,.journey-stage){height:var(--mobile-scene-height)}
}
