.hero-visual{position:absolute;bottom:0;left:50%;height:82%;width:auto;aspect-ratio:1312/1199;max-width:90%;z-index:1;transform:translateX(-50%);pointer-events:none;}
.hero-visual .hero-portrait,.hero-visual .hero-helmet{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center bottom;transform:none;pointer-events:none;}
.hero-visual .hero-portrait,.hero-visual .hero-helmet{transition:opacity .7s;}
.hero-visual .hero-helmet{opacity:0;}
.hero.helmet-locked:not(.fluid-ready) .hero-helmet{opacity:1;}
.hero.helmet-locked:not(.fluid-ready) .hero-portrait{opacity:0;}
.hero-fluid{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:0;transition:opacity .5s;}
.hero.fluid-ready{background-image:none;}
.hero.fluid-ready .hero-fluid{opacity:1;}
.hero.fluid-ready .hero-visual{visibility:hidden;}
.hero.fluid-ready .hero-outline{opacity:0;}
.hero-side,.hero-right{z-index:4;}
.helmet-toggle{border:1px solid var(--yellow);border-radius:6px;background:var(--yellow);color:#141410;padding:10px 12px;margin:24px 0 0 auto;display:flex;align-items:center;gap:8px;min-height:48px;text-align:left;font-size:9px;line-height:1.25;font-weight:800;cursor:pointer;transition:border-color .2s;}
.helmet-toggle img{width:24px;height:28px;object-fit:contain;flex:none;}
.helmet-toggle:hover,.helmet-toggle[aria-pressed=true]{border-color:#24261e80;}
.helmet-toggle:focus-visible{outline:2px solid #24261e;outline-offset:3px;}
.helmet-toggle:disabled{visibility:hidden;}
.hero-right .hero-touch-hint{display:none;}
.hero.mobile-reveal:not(.portrait-touched):not(.helmet-locked) .hero-touch-hint{display:block;max-width:76px;margin:8px 0 0 auto;padding:3px 0 3px 5px;border-left:2px solid var(--yellow);color:#24261e;font-size:7px;font-weight:800;line-height:1.3;text-align:left;pointer-events:none;}
.hero-touch-zone{position:absolute;inset:auto 24px 0;height:82%;z-index:2;pointer-events:none;}
.hero.fluid-ready.mobile-reveal:not(.helmet-locked) .hero-touch-zone{pointer-events:auto;touch-action:pan-y pinch-zoom;-webkit-touch-callout:none;}
.hero.mobile-reveal :is(.hero-right,.hero-topline,.hero-side,.hero-outline,.hero-bottom,h1){pointer-events:none;}
.hero.mobile-reveal :is(.helmet-toggle,.hero-bottom a){pointer-events:auto;}
@media(max-width:1000px){.hero-visual,.hero-touch-zone{height:80%;}.hero-visual{max-width:100%;}}
@media(max-width:650px){.hero-touch-zone{height:78%;}}
@media(max-width:650px){.hero-visual{height:78%;width:125%;max-width:none;aspect-ratio:auto;}.hero-visual .hero-portrait,.hero-visual .hero-helmet{object-fit:cover;object-position:center top;}.hero-right{top:17%;}.helmet-toggle{width:84px;min-height:44px;padding:6px;margin-top:10px;gap:5px;font-size:8px;}}
@media(prefers-reduced-motion:reduce){.hero-fluid,.hero-visual .hero-portrait,.hero-visual .hero-helmet,.helmet-toggle{transition:none;}}

@media(max-width:650px){
  html{overscroll-behavior-y:none;}
  @supports (overflow:clip) and (height:100svh){
    /* Keep the layout and canvas stable as Safari's toolbar retracts. */
    main{overflow:clip;}
    .hero-track{height:150svh;}
    .hero-track .hero{position:sticky;top:0;height:100svh;min-height:0;max-height:none;overflow:clip;}
  }
}
