/* Compact Safari layout: one readable scene, safe edges and natural short-screen flow. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.scene:not(.hero){visibility:hidden}
.experience-stage{height:100vh;height:100svh}
.site-header,.header-docked .site-header{padding-left:max(6%,env(safe-area-inset-left));padding-right:max(6%,env(safe-area-inset-right));padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top))}
.site-header{-webkit-backdrop-filter:blur(20px)}
.mini-player{bottom:calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px)}
.sleeve-front,.sleeve-back{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.album3d-object,.sleeve3d,.vinyl3d{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}
@media(max-width:760px){
 .experience{height:380vh;height:380svh}
 .experience-stage{min-height:0}
 .experience .hero{min-height:0;max-height:none;height:100%}
 .hero-copy{padding-top:calc(96px + env(safe-area-inset-top));width:88%}
 .hero h1{font-size:clamp(60px,18vw,100px);margin:18px 0;line-height:.95}
 .hero-copy .eyebrow{margin-bottom:16px}
 .hero-subtitle{margin:18px 0;font-size:13px}
 .hero-actions{gap:12px;flex-wrap:wrap}
 .hero .pill{font-size:11px;min-height:44px;padding:12px 16px}
 .hero-listen{font-size:10px;min-height:44px}
 .mood-picker{margin-top:18px}
 .mood-picker>div{flex-wrap:wrap;gap:6px}
 .mood-picker button{font-size:10px;min-height:44px;padding:8px 12px}
 .journey-hud{bottom:calc(12px + env(safe-area-inset-bottom));gap:12px}
 .journey-hud nav button,.journey-hud .motion-toggle{width:44px;height:44px;min-width:44px}
 .object-label{display:none}
 .stage-vignette{background:linear-gradient(90deg,#06070b88,transparent),linear-gradient(0deg,#06070b,transparent 20%)}
 .experience-stage:not([data-active-scene="0"]) #sculpture{visibility:hidden}
 .chapter-copy{width:88%;margin-top:0;padding-top:40px;padding-bottom:70px}
 .chapter h2{font-size:clamp(44px,12vw,76px);margin:18px 0;overflow-wrap:break-word}
 .chapter h2>span{font-size:clamp(23px,7vw,30px)}
 .chapter-copy>p:not(.eyebrow){margin:18px 0;max-width:100%}
 .chapter-art{width:76%;right:-5%;height:60%;top:18%;opacity:.5}
 .chapter-ghost{display:none}
 .site-header.menu-open:after{top:calc(64px + env(safe-area-inset-top))}
 .site-header.menu-open nav>a:not(.nav-button){top:calc(68px + env(safe-area-inset-top))}
 .site-header.menu-open nav>a:nth-child(2){top:calc(120px + env(safe-area-inset-top))}
 .site-header.menu-open nav>a:nth-child(3){top:calc(172px + env(safe-area-inset-top))}
 .brand img,.header-docked .brand img{width:clamp(94px,29vw,122px)}
 .site-header{gap:8px}.site-header .nav-button{padding:9px 12px;white-space:nowrap}
 .collection-track{--card-width:min(310px,86vw);padding-inline:calc((100% - var(--card-width))/2);gap:20px;scroll-padding:0}
 .album3d-card{flex-basis:var(--card-width);min-width:0;opacity:1!important}
 .album3d-stage{height:calc(var(--card-width)*.93)}
 .album3d-object{will-change:auto}.cover-gloss{mix-blend-mode:normal}
 .album3d-info h3{overflow-wrap:anywhere}
 .collection-heading h2{font-size:clamp(40px,12vw,52px)}
 .collection-hint{flex-wrap:wrap;gap:12px}
 .section-heading,.section-heading>div,.project-feature>*{min-width:0}
 .world-card{transform-style:flat;will-change:auto;overflow:hidden}
 .world-copy h3,.feature-copy h2,.signature h2{overflow-wrap:break-word}
 .player-actions{flex-wrap:wrap;gap:12px}.player-tabs{gap:2px}.player-tabs button{padding:9px 6px}
 .mini-player{max-width:calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))}
 .mini-player button,.mini-player>a{width:44px;min-width:44px}
 .mini-player>img{width:28px;height:28px}
 .project-topline>span:first-child{max-width:75%}
 footer{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
}
@media(max-width:760px) and (max-height:700px){
 .hero-copy{padding-top:calc(80px + env(safe-area-inset-top))}
 .hero h1{font-size:clamp(56px,16vw,72px);margin:14px 0}
 .hero-subtitle{margin:14px 0}.mood-picker{margin-top:12px}
 .hero-copy .eyebrow{margin-bottom:10px}
}
/* Landscape phones and very short windows use ordinary vertical flow. */
@media(max-width:1000px) and (max-height:500px){
 .experience{height:auto}.experience-stage{position:relative;height:auto;min-height:0;overflow:hidden}
 .experience .scene{position:relative;height:auto;min-height:420px;visibility:visible;opacity:1;transform:none}
 .experience .hero{min-height:490px;max-height:none}
 .hero-copy{padding-top:calc(90px + env(safe-area-inset-top));padding-bottom:40px}
 .hero h1{font-size:64px;max-width:100%}.hero-subtitle{margin:16px 0}
 .experience-stage>canvas,.stage-fallback,.stage-vignette,.stage-grid{height:490px}
 .chapter{padding:45px 0}.chapter-copy{padding:0;margin-top:0}
 .chapter h2{font-size:clamp(42px,8vw,70px);white-space:normal}
 .chapter h2>span{font-size:26px}.chapter-copy>p:not(.eyebrow){max-width:460px}
 .journey-hud,.journey-progress,.object-label{display:none}
 .chapter-art{width:50%;height:85%;top:5%;right:0;opacity:.45}
 .scene{scroll-margin-top:70px}
}
@media(prefers-reduced-motion:reduce){.scene{visibility:visible!important}.experience-stage{height:auto}}
