/* One shared subtitle retains the existing type and reveal animation. */
.studio-page .intro-subtitle.studio-positioning{max-width:100%}
@media(min-width:761px) and (pointer:fine){.studio-page .intro-subtitle.studio-positioning{white-space:nowrap;font-size:clamp(12px,1.5vw,20px)}}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){.studio-positioning>span{display:block}}
@media(max-width:760px) and (orientation:landscape),(max-width:1000px) and (pointer:coarse) and (orientation:landscape),(max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .studio-page .studio-glass-cover .intro-subtitle.studio-positioning{display:block!important;font-size:12px;line-height:1.3;margin:6px 0;flex:none}
}

/* Mobile entrance choices have fixed colors from their first paint. A newly
   mounted Safari link must not transition from its native blue/visited purple.
   The surrounding group's reveal/translation remains the animation owner. */
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .studio-page .mobile-studio-choice .studio-word-choice.mobile-pill-link{
  transition:none;
  background:#f2ff00;
  color:#080808!important;
  -webkit-text-fill-color:#080808;
 }
 .studio-page .mobile-studio-choice .studio-word-choice.mobile-pill-link:last-child{
  background:transparent;
  color:#f2ff00!important;
  -webkit-text-fill-color:#f2ff00;
 }
}

/* Reveal the complete, already colored controls as one group after the mobile
   entrance is ready. The old heading reveal must not compete with this fade. */
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .studio-page .mobile-studio-choice{opacity:0}
 html:not(.studio-entrance-pending) .studio-page .mobile-studio-choice{
  animation:studio-mobile-choice-fade .6s cubic-bezier(.22,1,.36,1) .12s both;
  animation-play-state:running!important;
 }
 .studio-page .mobile-studio-choice .section-heading h2.reveal{
  opacity:1;transform:none;filter:none;transition:none;
 }
}
@keyframes studio-mobile-choice-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .studio-page .mobile-studio-choice{opacity:1!important;animation:none!important}
}

/* Phone glass engraving: follow the glyph outlines, including the counters in
   o/D/R. White faces stay solid; opposed fine shadows form the cut glass lip.
   Static paint only: no additional animated layer or backdrop filter. */
html.iphone-experience .studio-page .studio-glass-cover #page-title > .reveal{
 -webkit-text-fill-color:#fff;
 -webkit-text-stroke:.55px rgba(47,53,65,.62);
 paint-order:stroke fill;
 text-shadow:0 -.8px .45px rgba(0,0,0,.82),
             0 .8px .35px rgba(239,247,255,.85),
             -.6px .35px .4px rgba(208,224,240,.48),
             .65px -.4px .8px rgba(0,0,0,.55);
}
html.iphone-experience .studio-page .studio-glass-cover #page-title .studio-number{
 -webkit-text-fill-color:#fff;
 -webkit-text-stroke:.45px rgba(47,53,65,.55);
 paint-order:stroke fill;
}

/* iPhone landscape: the moving glass entrance becomes a full-width photo view.
   Keep the existing ribbon and glass edges; rotation restores entrance controls. */
@media(orientation:landscape){
 html.iphone-experience body.studio-page>.studio-glass-cover .intro-inner,
 html.iphone-experience body.studio-page>.studio-glass-cover .mobile-studio-choice{display:none!important}
 html.iphone-experience body.studio-page>.studio-glass-cover>.studio-photo-ribbon{left:0;right:0;border-radius:0}
}

/* Photo-only mode is scoped to the still-closed Studio entrance. Browser chrome
   stays under Safari's control; no document fullscreen or global scroll lock. */
@media(orientation:landscape){
 html.iphone-experience.studio-cover-locked body.studio-page>.header{visibility:hidden!important}
 html.iphone-experience.studio-cover-locked body.studio-page>.studio-glass-cover{top:0!important}
 html.iphone-experience body.studio-page>.studio-glass-cover>.mobile-studio-swipe-hint{display:none!important}
 html.iphone-experience body.studio-page>.studio-glass-cover,
 html.iphone-experience body.studio-page>.studio-glass-cover>.studio-photo-ribbon{touch-action:none;overscroll-behavior:none}
}

/* Explicit tile width keeps all three loop copies identical before image load. */
.studio-photo-ribbon-group>img{width:var(--studio-photo-width,270px)}
@media(orientation:landscape){
 html.iphone-experience.studio-cover-locked body.studio-page>.logo-note-rain,
 html.iphone-experience.studio-cover-locked body.studio-page>.floating-navigation{display:none!important}
}

/* This portrait contains two full figures above the speaker: a square,
   top-aligned crop keeps both heads and feet inside the continuous ribbon. */
.studio-photo-ribbon-group>img[data-photo-index="11"]{width:calc(var(--studio-photo-width,270px) / 1.5);object-position:50% 0}

/* The inverted Chandler needs its lower capsule, body logo and complete pop
   shield together. Keep the photo orientation; show the lower square crop. */
.studio-photo-ribbon-group>img[data-photo-index="13"]{width:calc(var(--studio-photo-width,270px) / 1.5);object-position:50% 100%}

/* A brief, silent orientation cue. It never intercepts a swipe or a hold. */
.studio-photo-rotate-hint{display:none;pointer-events:none}
@media(orientation:portrait){
 html.iphone-experience .studio-photo-rotate-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:grid;place-items:center;width:112px;height:112px;color:#fff;opacity:0;transition:opacity .35s ease}
 html.iphone-experience .studio-photo-rotate-hint.is-visible{opacity:.9}
 .studio-photo-rotate-hint svg{width:112px;height:112px;fill:none;stroke:currentColor;stroke-width:2;filter:drop-shadow(0 1px 3px #000);stroke-linecap:round;stroke-linejoin:round}
}
@media(prefers-reduced-motion:reduce){.studio-photo-rotate-hint{transition:none!important}}

/* The device itself demonstrates the turn, once per brief appearance. */
.rotate-phone-device{transform-origin:60px 60px}
.studio-photo-rotate-hint.is-visible .rotate-phone-device{animation:studio-phone-quarter-turn 2.1s cubic-bezier(.45,0,.2,1) both}
@keyframes studio-phone-quarter-turn{0%,18%{transform:rotate(0deg)}72%,100%{transform:rotate(90deg)}}
@media(prefers-reduced-motion:reduce){.studio-photo-rotate-hint.is-visible .rotate-phone-device{animation:none;transform:rotate(35deg)}}
.studio-recording-story{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);align-items:center;gap:clamp(28px,5vw,80px);width:100%;visibility:visible!important}
.studio-page .studio-recording-story h2{font-size:clamp(30px,3.4vw,52px);line-height:1.12;margin:16px 0 26px}
.studio-recording-copy>p:not(.eyebrow){font-family:SpartanText,Arial,sans-serif;font-weight:300;font-size:clamp(15px,1.25vw,19px);line-height:1.7;color:#c4c4c8;margin:0 0 18px;max-width:62ch}
.studio-recording-photo{position:relative;display:block;width:100%;height:min(65svh,610px);margin:0;border-radius:18px;box-sizing:border-box}
.studio-recording-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:18px}
.studio-recording-links{display:flex;flex-wrap:wrap;gap:18px 24px;margin-top:26px}
.studio-recording-links :is(a,button){font:inherit;font-size:12px;line-height:1.6;color:#f2ff00;background:none;border:0;padding:0;text-decoration:none;cursor:pointer}
.studio-recording-links :is(a,button):focus-visible{outline:1px solid currentColor;outline-offset:5px}
@media(max-height:650px) and (min-width:1001px){.studio-recording-copy>p:not(.eyebrow){font-size:14px;line-height:1.5}.studio-page .studio-recording-story h2{font-size:30px;margin:12px 0 18px}.studio-recording-links{margin-top:16px}}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .studio-recording-story{grid-template-columns:1fr;gap:26px;margin-bottom:52px}
 .studio-page .studio-recording-story h2{font-size:clamp(28px,7.6vw,40px);text-align:left;margin:14px 0 24px}
 .studio-recording-photo{height:clamp(280px,90vw,440px)}
 .studio-recording-photo>img{object-position:50% 45%}
 .studio-recording-copy>p:not(.eyebrow){font-size:16px;line-height:1.75}
 .studio-recording-links{display:none}
}

/* The entrance pauses background animations, but this short foreground cue remains active. */
.studio-page .studio-photo-rotate-hint.is-visible .rotate-phone-device{animation-play-state:running!important}

/* Recording follows the complete catalogue and precedes the contact panel. */
.studio-page .studio-story .studio-recording-panel{height:100svh;min-height:100svh;padding:40px 0;box-sizing:border-box}
.studio-page .studio-recording-panel{position:relative;background:#030303}
.studio-page .studio-recording-panel .studio-recording-copy{min-width:0}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .studio-page .studio-recording-panel{margin:0;padding:58px 24px 36px;width:100%;box-sizing:border-box}
 .studio-page .studio-recording-panel .studio-recording-story{margin-bottom:0}
 .studio-page .studio-recording-panel .eyebrow{text-align:left}
 .studio-page .studio-recording-panel::before{content:"";position:absolute;inset:0;left:50%;width:100vw;transform:translateX(-50%);background:#030303;z-index:-1}
}

/* Room setup leads in white; the following guidance paragraph stays gray. */
.studio-recording-copy>h2+p{color:#fff!important}

/* Draw contours, hold for .2s, reveal the heading, then photo and body together. */
.studio-recording-divider{height:1px;margin:24px 0 20px;background:#ffffff1f;transform-origin:left center}
.studio-recording-photo-outline{position:absolute;inset:0;display:block;overflow:visible;pointer-events:none;z-index:1}
.studio-recording-photo-outline rect{width:calc(100% - 1px);height:calc(100% - 1px);fill:none;stroke:#ffffff38;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0}
.js .studio-recording-panel .studio-recording-photo-outline rect{stroke-dashoffset:1;transition:stroke-dashoffset .42s linear .1s}
.js .studio-recording-panel .studio-recording-divider{transform:scaleX(0);transition:transform .35s cubic-bezier(.45,0,.55,1) .1s}
.js .studio-recording-panel .studio-recording-photo>img{opacity:0;transition:opacity .3s cubic-bezier(.45,0,.55,1) 1.77s}
.js .studio-recording-panel .studio-recording-copy>:not(.studio-recording-divider){opacity:0;transition:opacity 1.25s cubic-bezier(.45,0,.55,1) .72s}
.js .studio-recording-panel .studio-recording-subtitle{opacity:0;transition:opacity 1.25s cubic-bezier(.45,0,.55,1) .92s}
.js .studio-recording-panel .studio-recording-copy>:is(.studio-recording-paragraph,.studio-recording-links){transition-delay:1.77s}
.js .studio-recording-panel.is-recording-built .studio-recording-photo-outline rect{stroke-dashoffset:0}
.js .studio-recording-panel.is-recording-built .studio-recording-divider{transform:scaleX(1)}
.js .studio-recording-panel.is-recording-built :is(.studio-recording-photo>img,.studio-recording-copy>:not(.studio-recording-divider),.studio-recording-subtitle){opacity:1}
@media(max-height:650px) and (min-width:1001px){.studio-recording-divider{margin:16px 0 14px}}
@media(prefers-reduced-motion:reduce){
 .js .studio-recording-panel :is(.studio-recording-photo>img,.studio-recording-copy>:not(.studio-recording-divider),.studio-recording-subtitle){opacity:1}
 .js .studio-recording-panel .studio-recording-photo-outline rect{stroke-dashoffset:0}
 .js .studio-recording-panel .studio-recording-divider{transform:none}
}

/* On phones, each part waits until the reader scrolls to it. */
.js .recording-phone-build .studio-recording-copy>:not(.studio-recording-divider){transition-delay:.1s}
.js .recording-phone-build .studio-recording-subtitle{transition-delay:.3s}
.js .recording-phone-build .studio-recording-photo>img{transition-delay:.72s}
.js .recording-phone-build .studio-recording-copy>.is-recording-item-visible,
.js .recording-phone-build h2.is-recording-item-visible .studio-recording-subtitle{opacity:1}
.js .recording-phone-build .studio-recording-divider.is-recording-item-visible{transform:scaleX(1)}
.js .recording-phone-build .studio-recording-photo.is-recording-item-visible .studio-recording-photo-outline rect{stroke-dashoffset:0}
.js .recording-phone-build .studio-recording-photo.is-recording-item-visible>img{opacity:1}

/* The label anchors the section before the frame and text build. */
.js .studio-recording-panel .studio-recording-copy>.eyebrow{opacity:1;transition:none}

/* Lightweight architectural linework, anchored only to the recording section. */
.studio-recording-story{position:relative;z-index:1}
.studio-recording-plan{position:absolute;inset:30px 0;width:100%;height:calc(100% - 60px);z-index:0;pointer-events:none;opacity:.17;overflow:hidden;fill:none;color:#fff}
.studio-recording-plan .plan-stroke{stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.studio-recording-plan .plan-console{stroke-width:1.1;opacity:.8}
.studio-recording-plan .plan-dimension{stroke-width:1;opacity:.75}
.studio-recording-plan text{fill:currentColor;stroke:none;text-anchor:middle;font:24px Arial,sans-serif;letter-spacing:1px}
.studio-recording-plan .plan-labels text{font-size:25px;letter-spacing:5px}
.js .studio-recording-plan .plan-stroke{stroke-dashoffset:1;transition:stroke-dashoffset 1s linear .1s}
.js .studio-recording-plan .plan-wall{transition-duration:var(--plan-ink-time,1s);transition-delay:var(--plan-ink-delay,.1s)}
.js .studio-recording-plan .plan-console{transition-duration:.65s;transition-delay:.35s}
.js .studio-recording-plan .plan-dimension{transition-duration:.6s;transition-delay:1.1s}
.js .studio-recording-plan :is(.plan-measurements,.plan-labels){opacity:0;transition:opacity .3s ease 1.7s}
.js .studio-recording-plan .plan-labels{transition-delay:1.85s}
.js .studio-recording-panel:is(.is-recording-built,.is-recording-plan-visible) .plan-stroke{stroke-dashoffset:0}
.js .studio-recording-panel:is(.is-recording-built,.is-recording-plan-visible) :is(.plan-measurements,.plan-labels){opacity:1}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .studio-recording-plan{inset:60px 0 auto;height:auto;aspect-ratio:1233/1275;opacity:.12}
}
@media(prefers-reduced-motion:reduce){
 .js .studio-recording-plan .plan-stroke{stroke-dashoffset:0;transition:none}
 .js .studio-recording-plan :is(.plan-measurements,.plan-labels){opacity:1;transition:none}
}

/* Trapez 100: vector trace of the supplied Sessiondesk drawing and dimensions. */
.studio-recording-plan .plan-console-trace{fill:currentColor;fill-opacity:1;stroke-width:.45;stroke-linejoin:round;stroke-linecap:round}
.js .studio-recording-plan .plan-console-trace{fill-opacity:0;transition:stroke-dashoffset 1s linear .35s,fill-opacity .2s linear 1.35s}
.js .studio-recording-panel:is(.is-recording-built,.is-recording-plan-visible) .plan-console-trace{fill-opacity:1}
@media(prefers-reduced-motion:reduce){.js .studio-recording-plan .plan-console-trace{fill-opacity:1;transition:none}}

/* Notes are pen paths. Only the active region is animated by the controller. */
.studio-recording-plan .plan-sketch{color:#fae8c5}
.studio-recording-plan .plan-sketch-line{stroke:currentColor;stroke-width:1.35;stroke-linejoin:round;stroke-dasharray:1 1.02;stroke-dashoffset:1.01}

/* Reset the offscreen drawing without playing its transitions backwards. */
.js .studio-recording-panel.is-recording-resetting *{transition:none!important}

/* Desktop equipment cards reuse pre-rendered versions of their SVG contours. */
@media(min-width:761px) and (hover:hover) and (pointer:fine){
 .studio-page .equipment-cutout .equipment-image-frame .equipment-outline-image.is-desktop-prepared-outline{filter:none}
}
