/* One document, one glass world. Art anchors share the reading flow. */
:root{--mobile-safe-bottom:env(safe-area-inset-bottom,0px);--mobile-safe-left:env(safe-area-inset-left,0px);--mobile-safe-right:env(safe-area-inset-right,0px)}
.mobile-art,.mobile-hint,.mobile-preferences,.control-label{display:none}
body[data-composition=mobile]{--grid-base:.55;--gutter:max(24px,env(safe-area-inset-left),env(safe-area-inset-right));--dock-space:76px;--layout-height:844px;--viewport-height:844px}
body[data-composition=mobile] .header{top:max(12px,env(safe-area-inset-top));left:var(--gutter);right:var(--gutter);padding:0;border:0;box-shadow:none;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:12px}
body[data-composition=mobile] .brand{font-size:17px;min-height:48px;letter-spacing:-1px;text-shadow:0 2px 12px #0008}
body[data-composition=mobile] .brand b{margin-left:7px;font-size:19px}
body[data-composition=mobile] .header-contact{display:none}
body[data-composition=mobile] .menu{margin-left:auto;position:static}
body[data-composition=mobile] .menu summary{width:48px;height:48px;padding:0;justify-content:center;font-size:0;gap:0;border-radius:50%}
body[data-composition=mobile] .menu summary span{font-size:23px}
body[data-composition=mobile] .menu nav{top:64px;right:auto;left:50%;transform:translateX(-50%);width:100%;max-width:620px;max-height:calc(100dvh - 112px - env(safe-area-inset-top));padding:8px;border-radius:24px;overscroll-behavior:contain;background:#191919ed}
body[data-composition=mobile] .menu nav a{min-height:48px;font-size:13px;padding:10px 14px;gap:20px}
body[data-composition=mobile] .menu nav a span{font-size:10px}
body[data-composition=mobile] .mobile-preferences{display:flex;gap:8px;border-top:1px solid #ffffff20;padding-top:8px;margin-top:6px}
body[data-composition=mobile] .mobile-preferences button{display:flex;align-items:center;justify-content:center;flex:1;gap:8px;min-height:48px;padding:10px 8px;border:1px solid var(--glass-rim);border-radius:16px;background:#ffffff09;font:11px/1.4 JetBrains,monospace}
body[data-composition=mobile] .mobile-preferences button>span:first-child{font-size:16px}
body[data-composition=mobile] .mobile-preferences .control-label{display:inline}
body.cinema-ready[data-composition=mobile] .beat,body.cinema-ready[data-composition=mobile] .beat:first-child,body.cinema-ready[data-composition=mobile] .beat:last-child{display:block;height:auto;min-height:0;padding:40px var(--gutter);scroll-margin-top:96px}
body.cinema-ready[data-composition=mobile] .beat:first-child{padding-top:110px}
body.cinema-ready[data-composition=mobile] .beat:last-child{padding-bottom:max(100px,calc(80px + env(safe-area-inset-bottom)))}
body.cinema-ready[data-composition=mobile] .beat-content,body.cinema-ready[data-composition=mobile] .beat.is-active .beat-content{position:relative;inset:auto;display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:620px;max-height:none;margin:auto;overflow:visible;padding:0;clip-path:none;transform:none;visibility:visible;opacity:1;pointer-events:auto;transition:none;flex:none}
body.cinema-ready[data-composition=mobile] .mobile-art{display:block;flex:none;position:relative;width:100%;max-width:252px;height:clamp(176px,calc(var(--layout-height)*.25),216px);margin:18px auto 0;touch-action:pan-y pinch-zoom}
body.cinema-ready[data-composition=mobile] #possibility .mobile-art{max-width:none;width:calc(100% + 16px);height:clamp(250px,calc(var(--layout-height)*.38),340px);margin:10px -8px 0}
body.cinema-ready[data-composition=mobile] #direction .mobile-art{max-width:none;height:clamp(140px,calc(var(--layout-height)*.22),180px);margin-top:24px}
body[data-composition=mobile] .beat-content>.eyebrow{order:0}
body[data-composition=mobile] .beat-content>.project-name{order:1}
body[data-composition=mobile] .beat-content>.mobile-art{order:2}
body[data-composition=mobile] .beat-content>h1,body[data-composition=mobile] .beat-content>h2{order:3}
body[data-composition=mobile] .beat-content>.description{order:4}
body[data-composition=mobile] .beat-content>.detail{order:5}
body[data-composition=mobile] .beat-content>.button,body[data-composition=mobile] .beat-content>.text-link{order:6}
body[data-composition=mobile] .beat-content>.aside{order:7}
body[data-composition=mobile] .beat-content>.chapter-next{order:5}
body[data-composition=mobile] .beat-content>.chapter-next-note{order:5}
body[data-composition=mobile] .beat-content>.socials{order:10}
body[data-composition=mobile] .beat-content>.legal{order:11}
body[data-composition=mobile] #possibility h1,body[data-composition=mobile] #direction h2,body[data-composition=mobile] #studio h2,body[data-composition=mobile] #release h2{order:1}
body[data-composition=mobile] #release .project-name{order:4;margin-top:8px}
body[data-composition=mobile] h1,body[data-composition=mobile] h2,body[data-composition=mobile] .beat[data-long=true] h2{font-size:clamp(40px,11.8vw,65px);line-height:1.02;letter-spacing:-.062em;text-wrap:balance;text-shadow:0 3px 22px #15151566}
body[data-composition=mobile] #possibility h1{font-size:clamp(44px,13vw,72px)}
body[data-composition=mobile] h1 em{color:#b5b7b8}
body[data-composition=mobile] .beat:is(#moniania,#health,#whishh,#omitt) h2{margin-top:18px;position:relative;z-index:1}
body[data-composition=mobile] .eyebrow{font-size:10px;letter-spacing:.03em;line-height:1.6;margin:0 0 22px}
body[data-composition=mobile] .eyebrow .status{font-size:10px;flex-shrink:0}
body[data-composition=mobile] .project-name{font-size:30px;letter-spacing:-.045em;line-height:1.2;margin:0}
body[data-composition=mobile] .description,body[data-composition=mobile] .beat[data-long=true] .description{font-size:17px;line-height:1.6;margin-top:24px;max-width:36ch;text-shadow:0 2px 16px #15151588}
body[data-composition=mobile] .detail{font-size:12px;line-height:1.8;margin-top:20px}
body[data-composition=mobile] .button{border-radius:24px;font-size:12px;line-height:1.5;min-height:56px;width:100%;max-width:420px;padding:14px 18px;margin-top:28px;gap:16px}
body[data-composition=mobile] .button span{font-size:22px;flex-shrink:0}
body[data-composition=mobile] .contact-button{font-size:clamp(16px,4.6vw,22px)}
body[data-composition=mobile] .aside{font-size:10px;line-height:1.7;margin-top:18px}
body[data-composition=mobile] .text-link{font-size:12px;min-height:48px;line-height:1.6;margin-top:20px;gap:16px}
body[data-composition=mobile] .socials{gap:28px;margin-top:12px;font-size:12px}
body[data-composition=mobile] .socials a{min-height:48px}
body[data-composition=mobile] .legal,body[data-composition=mobile] .legal div{font-size:12px;line-height:1.8}
body[data-composition=mobile] .legal summary{min-height:48px;margin-top:4px;gap:22px}
body.cinema-ready[data-composition=mobile] .scene-note{display:none}
body[data-composition=mobile] .journey{left:auto;right:max(16px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:112px;gap:4px;padding:5px;border:1px solid var(--glass-rim);border-radius:28px;background:linear-gradient(125deg,#ffffff15,#19191995);box-shadow:var(--glass-shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body[data-composition=mobile] .journey input,body[data-composition=mobile] .journey label{display:none}
body[data-composition=mobile] .journey button{height:44px;min-height:44px;width:44px;flex-basis:44px;border-radius:50%;font-size:17px}
body[data-composition=mobile] .journey output{flex:1;text-align:center;font-size:10px;letter-spacing:-.02em}
body[data-composition=mobile] .journey::after{display:none}
body[data-composition=mobile]::after{opacity:.55}
body[data-composition=mobile][data-mobile-axis=landscape] .beat-content{max-width:620px}
body[data-composition=mobile][data-mobile-axis=landscape] h1,body[data-composition=mobile][data-mobile-axis=landscape] h2,body[data-composition=mobile][data-mobile-axis=landscape] .beat[data-long=true] h2{font-size:52px;max-width:12ch}
body[data-composition=mobile][data-mobile-axis=landscape] #possibility h1{font-size:58px}
body[data-composition=mobile][data-mobile-axis=landscape] .mobile-art{height:210px}
body[data-composition=mobile][data-mobile-axis=landscape] #possibility .mobile-art{height:290px;width:100%;margin-inline:0}
body.graphics-fallback[data-composition=mobile] .mobile-art{display:none}
body.graphics-fallback[data-composition=mobile] .scene,body.graphics-fallback[data-composition=mobile] .scene-note{display:none}
body.graphics-fallback[data-composition=mobile] .beat{height:auto;min-height:0;padding:40px var(--gutter);scroll-margin-top:96px}
body.graphics-fallback[data-composition=mobile] .beat:first-child{padding-top:110px}
body.graphics-fallback[data-composition=mobile] .beat-content{position:relative;inset:auto;width:100%;max-width:620px;clip-path:none;transform:none;visibility:visible;opacity:1;pointer-events:auto;max-height:none}
body.graphics-fallback[data-composition=mobile] .beat:last-child{padding-bottom:80px}
@media(max-width:359px){body[data-composition=mobile]{--grid-base:.55;--gutter:max(20px,env(safe-area-inset-left),env(safe-area-inset-right))}body[data-composition=mobile] .brand{font-size:16px}body[data-composition=mobile] h1,body[data-composition=mobile] h2{font-size:39px}body[data-composition=mobile] #possibility h1{font-size:43px}body[data-composition=mobile] .project-name{font-size:27px}body[data-composition=mobile] .eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){body[data-composition=mobile] .description,body[data-composition=mobile] h1,body[data-composition=mobile] h2{text-shadow:none}}
@media(forced-colors:active){body.cinema-ready[data-composition=mobile] .mobile-art{display:none!important}body.cinema-ready[data-composition=mobile] .beat,body.cinema-ready[data-composition=mobile] .beat:first-child,body.cinema-ready[data-composition=mobile] .beat:last-child{padding:110px var(--gutter) 20px!important;min-height:0!important}body[data-composition=mobile] .beat:is(#moniania,#health,#whishh,#omitt) h2{margin-top:0}body[data-composition=mobile] .header,body[data-composition=mobile] .menu nav,body[data-composition=mobile] .mobile-preferences button{background:Canvas;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.scene,.journey{display:none!important}}

/* Keep the small navigation clear of copy and actions as they pass beneath it. */
body[data-composition=mobile] .journey{transition:opacity 140ms ease,visibility 140ms}
body[data-composition=mobile] .journey.is-obstructed{opacity:0;visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){body[data-composition=mobile] .journey{transition:none}}

/* The wordmark keeps its position and shares the menu button's glass. */
body[data-composition=mobile] .brand{padding-inline:11px;margin-inline:-12px;border-radius:24px}

/* Native editorial flow leaves no hidden copy or reserved sticky scroll area. */
body.mobile-intro #possibility{padding-bottom:0!important}
body.cinema-ready[data-composition=mobile].mobile-intro #possibility .mobile-art{width:100%;max-width:none;height:clamp(180px,calc(var(--layout-height)*.34),280px);margin:10px 0 0}
body.mobile-intro #possibility .description{font-size:15px;line-height:1.5;margin-top:20px;max-width:38ch}
body.mobile-intro #possibility .button{min-height:48px;margin-top:16px;padding:10px 16px}
body.mobile-intro #possibility .aside{margin-top:12px}
body.cinema-ready[data-composition=mobile].mobile-intro #direction{padding:24px var(--gutter)}
body.mobile-intro #direction .mobile-art{display:none}
body.mobile-intro #direction .eyebrow{margin-bottom:10px}
body.mobile-intro #direction h2{font-size:26px;line-height:1.08;letter-spacing:-.04em;margin:0}
body.mobile-intro.intro-running .journey{opacity:0;visibility:hidden;pointer-events:none}
body.cinema-ready[data-composition=mobile].mobile-intro #moniania{padding-top:16px}
body.mobile-intro #moniania .beat-content>.mobile-art{order:0}
body.mobile-intro #moniania .beat-content>.eyebrow{order:1;margin:18px 0 0}
body.mobile-intro #moniania .beat-content>.project-name{order:2;margin-top:12px}
body.mobile-intro #moniania .beat-content>h2{order:3;margin-top:16px}
body.cinema-ready[data-composition=mobile].mobile-intro[data-mobile-axis=landscape] #possibility .mobile-art{height:210px}

/* The studio is an editorial pause; the project collection appears only in the finale. */
body.cinema-ready[data-composition=mobile] #studio .mobile-art{height:1px;margin:0;pointer-events:none}

/* Safari toolbar motion must not resize the WebGL world during a swipe. */
body.cinema-ready[data-composition=mobile] .scene{height:100lvh;bottom:auto}

/* The collection belongs to the heading; navigation follows the complete reading block. */
body[data-composition=mobile] #release .socials{order:5}
body[data-composition=mobile] #release .legal{order:6}
body[data-composition=mobile] #release .mobile-art{order:2;margin-top:20px}
body[data-composition=mobile] #release .chapter-next{order:8}
body[data-composition=mobile] #release .chapter-next-note{order:9}
