/* LEGION / rotating exterior studies */
:root{--study-paper:#ecece9;--study-ink:#1a1d1b;--study-muted:#626762;--study-red:#d84839}
.legion-header{height:88px;padding:0 3.7vw}.nav-wordmark{width:135px}.nav-note{font-size:10px;letter-spacing:.13em}
.legion-journey .scroll-scrub__route{top:20px;right:3.7vw;gap:28px}
.legion-journey .scroll-scrub__route-button{font-size:11px;letter-spacing:.12em}
.legion-journey .scroll-scrub__route-button:last-child{display:block}
.legion-journey .scroll-scrub__route-button[aria-current=step]::before{content:'';display:inline-block;width:5px;height:5px;vertical-align:2px;background:var(--study-red);margin-right:8px}
.legion-journey .scroll-scrub__chapter-pin{padding:115px 4.6vw 100px;pointer-events:none!important}
.legion-journey .scroll-scrub__copy{width:24vw;max-width:350px}
.legion-journey .scroll-scrub__copy::before{display:none}
.legion-journey .scroll-scrub__title{font-size:clamp(54px,5.7vw,88px);letter-spacing:-.055em}
.legion-journey .scroll-scrub__kicker{font-size:11px;letter-spacing:.16em;margin-bottom:25px;color:#666c66}
.legion-journey .scroll-scrub__body{font-size:15px;line-height:1.7;max-width:30ch;margin-top:26px;color:#575e58}
.legion-journey .scroll-scrub__actions{margin-top:27px}
.product-statement{font-size:15px;font-weight:600;margin:0 0 30px;max-width:22ch;line-height:1.45}
.inspect-link{font-size:10px;letter-spacing:.12em;min-height:44px;gap:24px;width:202px;max-width:100%;padding:10px 0}
.study-caption{font-size:10px;letter-spacing:.06em;line-height:1.6;margin-top:26px;max-width:24ch}
.product-scene{position:absolute;inset:0;z-index:2;background:radial-gradient(ellipse at 70% 35%,#fafaf7 0%,#ededeb 46%,#e2e3df 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility 0s .4s}
.product-scene[data-active=true]{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
.model-frame{position:absolute;left:27%;right:2.5%;top:12%;bottom:19%;isolation:isolate}
#product-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:block;cursor:grab;touch-action:pan-y!important;outline-offset:-4px}
#product-canvas:active{cursor:grabbing}
#product-canvas:focus-visible{outline:1px solid var(--study-red)}
.studio-floor{position:absolute;left:18%;right:8%;height:1px;bottom:9%;background:linear-gradient(90deg,transparent,rgba(72,79,71,.16),transparent);z-index:0}
.callout-lines{position:absolute;inset:0;width:100%;height:100%;z-index:4;overflow:visible;pointer-events:none}
.callout-lines path{fill:none;stroke:#92978f;stroke-width:1;vector-effect:non-scaling-stroke}
.callout-lines .anchor-dot{fill:var(--study-red);stroke:var(--study-paper);stroke-width:2}
.callout-lines .anchor-ring{fill:none;stroke:var(--study-red);stroke-width:1;opacity:.32}
.callout-labels{position:absolute;inset:0;z-index:5;pointer-events:none}
.callout-label{position:absolute;border:0;border-top:1px solid rgba(79,87,78,.28);padding:12px 0 0;text-align:left;background:transparent;max-width:150px;width:14vw;min-height:60px;color:var(--study-ink);pointer-events:auto;cursor:pointer;transition:opacity .2s}
.callout-label:nth-child(1){left:0;top:17%}.callout-label:nth-child(2){right:0;top:24%}.callout-label:nth-child(3){right:1%;bottom:4%}
.callout-label[data-visible=false]{opacity:.28}
.callout-label:hover,.callout-label[aria-pressed=true]{border-color:var(--study-red)}
.callout-index{display:block;margin:0 0 7px;color:var(--study-red);font:10px 'Legion Mono',monospace;letter-spacing:.12em}
.callout-title{display:block;font:600 12px/1.4 Arial,sans-serif}
.callout-detail{display:block;font:11px/1.55 Arial,sans-serif;color:var(--study-muted);margin-top:4px}
.study-topline{position:absolute;left:31%;right:4.6%;top:104px;display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.15em;color:#686f67;pointer-events:none}
.study-phase{color:#8b9288}.viewer-toolbar{position:absolute;left:31%;right:4.6%;bottom:7.5%;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:7}
.view-modes{display:flex;border:1px solid #aeb3a9;flex-shrink:0}.view-modes button{border:0;min-height:44px;padding:12px 20px;background:transparent;font:10px 'Legion Mono',monospace;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;color:#666f64}
.view-modes button[aria-pressed=true]{background:var(--study-ink);color:#fff}
.view-adjustments{display:flex;align-items:center;gap:8px}.view-adjustments button{height:44px;min-width:36px;border:0;background:none;cursor:pointer;font:21px Arial,sans-serif;color:var(--study-ink)}
.view-adjustments button:disabled{opacity:.25;cursor:default}.view-adjustments .reset-view{font:10px 'Legion Mono',monospace;border-left:1px solid #b9bdb5;padding-left:20px;letter-spacing:.06em;text-transform:uppercase;margin-left:3px}
.rotate-hint{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:.06em;color:#737b70;white-space:nowrap}.rotate-hint svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.2}
.model-caption{position:absolute;bottom:2.8%;right:4.6%;font-size:8px;color:#848b80;letter-spacing:.11em;margin:0}
.mobile-callout{display:none}
#top .scroll-scrub__chapter-pin{opacity:1}
.hall-brand{top:12%;left:29%;width:45%}.hall-brand p{font-size:clamp(10px,1vw,16px)}
.hall-product span{font-size:clamp(12px,1vw,17px)}.hall-product small{font-size:clamp(7px,.6vw,10px)}
.hall-left-note{font-size:clamp(9px,.75vw,12px)}.hall-domains{font-size:clamp(8px,.7vw,11px)}
/* The closing composition is the final viewport; nothing follows it. */
#legion .scroll-scrub__chapter-pin{padding:0;opacity:1}
.closing-sheet{position:absolute;inset:0;padding:12vh 5vw 5vh;background:radial-gradient(ellipse at 20% 15%,#e6e7e3,#c9cbc6 95%);color:var(--study-ink);display:flex;flex-direction:column;overflow:hidden;opacity:0;pointer-events:auto}
.closing-sheet::before{position:absolute;inset:0;content:'';opacity:.055;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.75'/%3E%3C/svg%3E")}
.closing-intro,.closing-identity,.closing-bottom,.closing-note{position:relative}
.closing-eyebrow{font-size:10px;letter-spacing:.16em;color:#757c72;margin:0 0 7vh}
.closing-statement{font:400 clamp(23px,2.45vw,43px)/1.37 Arial,sans-serif;letter-spacing:-.02em;max-width:1100px;margin:0}
.closing-domains{font-size:10px;letter-spacing:.14em;margin:20px 0 0;color:#777f73;line-height:2}.closing-domains i{font-style:normal;color:#7d8578;margin:0 9px}
.closing-identity{display:flex;align-items:flex-start;gap:6.5vw;width:95%;margin-top:auto;margin-bottom:auto;padding:4vh 0}
.closing-wordmark{width:76%;flex-shrink:0}.closing-wordmark>svg{display:block;width:100%;height:auto}
.legion-emblem{width:8.7vw;max-height:19vh;fill:#30382e;opacity:.7}
.closing-tagline{border-top:1px solid rgba(90,99,82,.24);padding-top:22px;margin:25px 0 0;font-size:clamp(9px,1vw,15px);line-height:1.7;letter-spacing:.15em;white-space:nowrap}
.closing-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:2vh}
.closing-domain{font-size:12px;letter-spacing:.14em}.closing-replay{font-size:11px;letter-spacing:.1em;text-decoration:none;min-height:44px;display:flex;align-items:center;gap:25px}.closing-replay span{font:21px Arial,sans-serif;color:var(--study-red)}
.closing-note{font:9px/1.5 Arial,sans-serif;letter-spacing:.02em;color:#6b7565;margin:22px 0 0}
@media(min-width:1900px){.model-frame{left:28%;right:3%;top:10%;bottom:17%}.callout-label{max-width:205px}.callout-title{font-size:15px}.callout-detail{font-size:13px}.callout-index{font-size:12px}.study-topline{font-size:12px;top:120px}.legion-journey .scroll-scrub__body{font-size:19px}.product-statement{font-size:18px}.study-caption{font-size:11px}.viewer-toolbar{bottom:8%}.view-modes button,.view-adjustments .reset-view,.rotate-hint{font-size:12px}.model-caption{font-size:10px}}
@media(max-width:1100px) and (min-width:861px){.legion-journey .scroll-scrub__title{font-size:6vw}.legion-journey .scroll-scrub__copy{width:24vw}.legion-journey .scroll-scrub__body{font-size:13px}.product-statement{font-size:13px}.model-frame{left:29%;right:3%;top:14%;bottom:22%}.callout-label{max-width:125px}.callout-title{font-size:11px}.callout-detail{font-size:10px}.viewer-toolbar{left:31%;gap:12px}.rotate-hint{display:none}.study-topline{left:32%;top:100px}.closing-eyebrow{margin-bottom:6vh}}
@media(max-width:860px){
 .legion-header{height:64px;padding:0 20px}.nav-wordmark{width:97px}.nav-note{display:none}
 .legion-journey .scroll-scrub__route{top:10px;right:20px;gap:14px}.legion-journey .scroll-scrub__route-button{font-size:9px;letter-spacing:.04em}.legion-journey .scroll-scrub__route-button[aria-current=step]::before{width:3px;height:3px;margin-right:5px;vertical-align:2px}
 .legion-journey .scroll-scrub__chapter-pin{padding:65px 25px 35px;align-items:flex-end}
 .legion-journey .scroll-scrub__copy{width:100%;max-width:none;pointer-events:auto}
 .legion-journey .scroll-scrub__title{font-size:clamp(44px,9.5vw,70px);line-height:.94}
 .legion-journey .scroll-scrub__kicker{font-size:9px;letter-spacing:.13em;margin-bottom:11px}
 .legion-journey .scroll-scrub__body{font-size:12px;line-height:1.6;max-width:47ch;margin-top:13px}
 .legion-journey .scroll-scrub__actions{margin-top:12px}.product-statement{font-size:12px;margin:0 0 8px;max-width:none}.inspect-link{font-size:9px;width:170px;min-height:40px;padding:6px 0}.study-caption{display:none}
 .product-scene{background:radial-gradient(ellipse at 50% 27%,#fafaf7,#e9eae5 80%)}
 .model-frame{left:3%;right:3%;top:9%;bottom:38%}.study-topline{left:25px;right:25px;top:78px;font-size:8px;letter-spacing:.1em}
 .model-frame canvas{height:88% !important;top:0!important}
 .studio-floor{bottom:14%}
 .callout-labels{left:0;right:0;top:auto;bottom:0;height:44px;display:flex;justify-content:center;gap:3px}
 .callout-label,.callout-label:nth-child(1),.callout-label:nth-child(2),.callout-label:nth-child(3){position:relative;inset:auto;width:44px;height:44px;min-height:44px;max-width:44px;border:0;padding:0;background:none;text-align:center;opacity:1}
 .callout-index{font-size:10px;letter-spacing:0;margin:0;padding:8px;border:1px solid transparent;display:inline-block;border-radius:50%}
 .callout-label[aria-pressed=true] .callout-index{border-color:var(--study-red)}.callout-label .callout-title,.callout-label .callout-detail{display:none}
 .mobile-callout{display:block;position:absolute;bottom:-31px;left:0;right:0;text-align:center;font:11px/1.5 Arial,sans-serif;min-height:20px;color:#5e6759}.mobile-callout strong{font-weight:600;color:#262c24;margin-right:8px}
 .viewer-toolbar{left:auto;right:24px;bottom:calc(38% - 74px);gap:10px}.view-modes button{min-height:40px;padding:10px 12px;font-size:8px}.view-adjustments{gap:0}.view-adjustments button{min-width:30px;height:40px;font-size:19px}.view-adjustments .reset-view{font-size:8px;padding-left:10px;margin-left:3px}
 .rotate-hint{position:fixed;left:25px;bottom:calc(38% - 62px);font-size:8px;gap:5px}.rotate-hint svg{width:17px}.model-caption{display:none}
 .hall-brand{top:14%;left:9%;width:82%}.hall-brand p{font-size:8px;letter-spacing:.22em}.hall-left-note{font-size:8px;top:66%}.hall-domains{font-size:7px;top:65%}.hall-product span{font-size:10px}
 .closing-sheet{padding:13vh 25px 25px}.closing-eyebrow{font-size:9px;margin-bottom:5vh}
 .closing-statement{font-size:clamp(23px,5vw,38px);line-height:1.4;max-width:650px}.closing-domains{font-size:8px;letter-spacing:.08em;margin-top:20px}.closing-domains i{margin:0 5px}
 .closing-identity{gap:5vw;width:100%;padding:7vh 0;align-items:center}.closing-wordmark{width:82%}.legion-emblem{width:10%;max-height:14vh;margin-top:-25px}
 .closing-tagline{font-size:8px;white-space:normal;letter-spacing:.12em;padding-top:16px;margin-top:20px;max-width:35ch;line-height:1.8}
 .closing-domain{font-size:10px}.closing-replay{font-size:9px;gap:12px}.closing-note{font-size:8px;max-width:33ch;margin-top:12px}
}
@media(max-width:860px) and (min-height:1000px){.legion-journey .scroll-scrub__chapter-pin{padding-bottom:60px}.legion-journey .scroll-scrub__copy{max-width:560px}.legion-journey .scroll-scrub__body{font-size:15px}.product-statement{font-size:14px}.model-frame{bottom:36%}.viewer-toolbar{bottom:calc(36% - 72px);right:35px}.rotate-hint{bottom:calc(36% - 58px)}.closing-identity{max-width:760px}.closing-tagline{font-size:11px;white-space:nowrap;max-width:none}}
@media(max-width:380px){.legion-header{padding:0 15px}.nav-wordmark{width:78px}.legion-journey .scroll-scrub__route{right:15px;gap:11px}.legion-journey .scroll-scrub__route-button{font-size:8px}.legion-journey .scroll-scrub__chapter-pin{padding:65px 20px 25px}.legion-journey .scroll-scrub__title{font-size:42px}.legion-journey .scroll-scrub__body{font-size:11px}.product-statement{display:none}.model-frame{bottom:39%}.viewer-toolbar{bottom:calc(39% - 75px);right:20px}.rotate-hint{display:none}.closing-statement{font-size:23px}.closing-sheet{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){.closing-sheet{opacity:1!important;transform:none!important}.product-scene,.callout-label{transition:none}.legion-journey #legion{min-height:200dvh!important}}
@media(max-width:860px) and (max-height:999px){.model-frame{bottom:335px}.viewer-toolbar{bottom:260px}.rotate-hint{bottom:272px}}
