/* Final, scoped composition contract. Existing Vellaris tokens remain authoritative. */
.hero-depth img{object-position:54% 38%}
.bridge.assembly-bridge{position:relative;isolation:isolate}
.assembly-bridge .bridge-image{height:clamp(320px,58svh,640px);max-height:none}
.assembly-bridge .bridge-image img{object-position:50% 62%;transform-origin:50% 62%}
.assembly-bridge>.wrap{position:relative;margin-top:-88px;padding-block:0 56px}
.assembly-bridge .bridge-image::after{background:linear-gradient(180deg,transparent 24%,var(--fg) 96%)}

/* Every chapter has one media window and its own readable caption row. */
.product-story{--chapter-media:clamp(280px,36vw,430px);--chapter-focal:50% 50%}
.product-story .chapter-visual{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--chapter-media) auto;gap:0;padding:0;width:100%;height:auto;max-height:none;overflow:visible;align-content:start}
.product-story .chapter-visual.product-study.single-study{display:grid}
.product-story .chapter-visual>img,.product-story .product-study.single-study .study-detail{grid-row:1;width:100%;height:var(--chapter-media);max-height:none;aspect-ratio:auto;object-fit:cover;object-position:var(--chapter-focal);border-radius:var(--radius)}
.product-story .chapter-visual figcaption,.product-story .single-study figcaption{grid-row:2;display:block;font:12px/1.5 var(--font-body);margin:0;padding:14px 0 0;max-width:none;min-height:50px;color:var(--border)}
.product-story .understand-visual{display:flex;flex-direction:column;justify-content:center;min-height:calc(var(--chapter-media) + 50px);padding:24px}
.product-story .understand-visual .visual-overline{margin-bottom:18px}
.product-story .understand-visual .role-line{padding:16px 0}
.product-story .understand-visual .role-line strong{font-size:clamp(26px,3.2vw,46px)}
.product-story .continuity-image{position:relative}
.product-story .continuity-image>div{grid-row:2;padding-top:14px;min-height:50px}
.product-story .continuity-image .continuity-number{font:20px/1.2 var(--font-display)}
.product-story .continuity-image figcaption .continuity-number{display:block;margin-bottom:4px}
.product-story .continuity-image p{margin-top:8px;font-size:12px}
html.assembly-story .product-story{--chapter-media:clamp(240px,41svh,410px)}
html.assembly-story .product-visual .chapter-visual{height:auto;max-height:none;min-height:0;overflow:visible;display:grid;grid-template-rows:var(--chapter-media) minmax(50px,auto);align-content:start}
html.assembly-story .product-visual .chapter-visual img,html.assembly-story .product-visual .single-study .study-detail{height:var(--chapter-media);max-height:none;width:100%;object-fit:cover;aspect-ratio:auto}
html.assembly-story .product-visual .understand-visual{display:flex;min-height:calc(var(--chapter-media) + 50px)}
html.assembly-story .product-visual .chapter-visual figcaption{display:block;margin:0;padding-top:14px}
html.assembly-story .product-visual .visual-overline{display:block}
html.assembly-story .product-story .product-visual{max-height:none}
.product-story .chair-composition{overflow:hidden}

/* The rail can reveal slices without forcing every photograph to share a crop. */
.vl-visual img{object-position:var(--focal,50%) var(--focal-y,40%)}
.vl-rail[data-mode=journey] .vl-visual img{object-position:var(--focal,50%) var(--focal-y,32%)}
.vl-caption h2{overflow:visible;line-height:1.1;padding-bottom:.08em}
.vl-rail.is-enhanced .vl-stage{height:auto;min-height:calc(100svh - var(--assembly-header))}
.vl-rail.is-enhanced .vl-caption{overflow:visible}

/* Support summary, not a fabricated portal screenshot. */
.portal-index{display:block;padding:clamp(20px,3vw,32px)}
.portal-index img{display:block;width:42px;height:auto;aspect-ratio:304/214;object-fit:contain;margin:0 0 24px;grid-row:auto;justify-self:start}
.portal-index span{font-size:clamp(23px,2.5vw,32px);padding-block:12px;line-height:1.25}
.portal-index small{display:block;margin-top:18px;font-size:12px}
.access-list article{scroll-margin-top:110px}

/* Inputs -> result -> delivery obligation. One primary number. */
.calculator-section .package-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.calculator-section .calc-field{display:block;min-width:0;border:0;padding:0}
.calculator-section .calc-field label{min-height:44px;font-size:13px;line-height:1.5;margin-bottom:10px}
.calculator-section .calc-field input{width:100%;min-width:0;text-align:right;font:20px/1.4 var(--font-body);font-variant-numeric:tabular-nums;padding:12px 16px;appearance:textfield;-moz-appearance:textfield}
.calculator-section .calc-field input::-webkit-inner-spin-button,.calculator-section .calc-field input::-webkit-outer-spin-button{appearance:none;margin:0}
.calculator-section .calc-result{background:transparent;padding:28px 0 0;margin-block:16px 0;border:0;border-top:1px solid var(--border)}
.calculator-section .calc-result output{white-space:nowrap;overflow-wrap:normal;font-size:clamp(28px,3.8vw,52px);font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.calculator-section .calc-result .label{text-transform:none;letter-spacing:0;font-size:15px;font-weight:600}
.calculator-section .package-equation{display:block;padding:18px 0;font-size:14px;line-height:1.65;border-bottom:1px solid var(--border)}
.calculator-section .package-equation span{font:inherit;font-variant-numeric:tabular-nums}
.calculator-section .package-costs input{width:100%;max-width:100%;font-size:16px;padding-inline:16px;text-align:right}
.calculator-section .cost-balance output{display:block;margin-top:8px;overflow-wrap:normal;font-variant-numeric:tabular-nums}
@media(max-width:960px){
 .product-story{--chapter-media:clamp(220px,64vw,430px)}
 html.assembly-story .product-story{--chapter-media:clamp(180px,25svh,240px)}
 html.assembly-story .product-visual .product-study{grid-template-columns:minmax(0,1fr)}
 .product-story .understand-visual{padding:12px 16px}
 .product-story .understand-visual .role-line{padding:10px 0}
 .product-story .understand-visual .role-line strong{font-size:27px}
 .product-story .understand-visual .role-line span{font-size:11px}
 .product-story .understand-visual .visual-overline{font-size:10px;margin-bottom:12px}
 html.assembly-story .product-visual .chapter-visual figcaption{font-size:11px;line-height:1.5;padding-top:10px}
 html.assembly-story .product-visual>figcaption{margin-top:8px}
 .assembly-bridge>.wrap{margin-top:-48px;padding-bottom:32px}
 .assembly-bridge .bridge-image{height:46svh;min-height:300px}
 .calculator-section .package-inputs{grid-template-columns:1fr;gap:18px}
 .calculator-section .calc-field label{min-height:0;margin-bottom:8px}
 .calculator-section .calc-result{padding:24px 0 0}
 .calculator-section .calc-result output{font-size:clamp(26px,7.5vw,42px)}
 .portal-index{padding:24px 20px}
 .vl-rail[data-mode=journey] .vl-visual img{object-position:var(--focal-phone,var(--focal,50%)) var(--focal-y,32%)}
}
@media(prefers-reduced-motion:reduce){.assembly-bridge .bridge-image img{transform:none!important}}

/* One plate carries body awareness into the cushion. Enhanced only after decode.
   Layer 0: scene ground; layer 1: readable copy and the shared photographic plate. */
.consumer-handoff.has-shared-handoff{background:var(--fg);isolation:isolate}
.has-shared-handoff .body-context{position:relative;background:var(--fg)}
.has-shared-handoff .handoff-frame{position:relative;overflow:hidden;border-radius:var(--radius-lg);aspect-ratio:4/3}
.has-shared-handoff .handoff-frame img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;margin:0}
.has-shared-handoff .handoff-frame .handoff-body{object-position:50% 40%}
.has-shared-handoff .handoff-frame .handoff-seat{object-position:50% 62%;opacity:0}
.has-shared-handoff .body-context figcaption{margin:0;padding:16px 0;color:var(--border);min-height:56px}
.has-shared-handoff .bridge-image{display:none}
.has-shared-handoff .assembly-bridge>.wrap{margin-top:0;padding-block:40px 64px}
.calculator-section .calculator-bridge{font:500 16px/1.6 var(--font-body);color:var(--fg);margin:0}
.calculator-section #calculator-form{min-width:0}
.calculator-section .calc-result p,.calculator-section .package-equation,.calculator-section .package-costs p{max-width:none}
.calculator-section .calc-result output{text-align:right;padding-right:16px}
.calculator-section .calc-formula{text-align:right;padding-right:16px}
.calculator-section .calc-result .label{margin-top:0}
.calculator-section .calc-error:empty{min-height:0;margin:0}
.calculator-section .package-costs input::placeholder{text-align:left}
.calculator-section .cost-balance output{text-align:right;padding-right:16px}
.calculator-section{background:linear-gradient(180deg,var(--bg),var(--surface-warm) 180px)}
@media(min-width:961px) and (min-height:700px){
 .consumer-handoff.has-shared-handoff{display:grid;grid-template-columns:minmax(var(--gutter),1fr) minmax(0,620px) clamp(40px,5vw,80px) minmax(0,620px) minmax(var(--gutter),1fr);position:relative;align-items:start}
 .consumer-handoff.has-shared-handoff::before{content:"";grid-column:1/-1;grid-row:1;align-self:stretch;background:var(--surface-warm);z-index:0}
 .has-shared-handoff .body-story,.has-shared-handoff .body-story>.wrap,.has-shared-handoff .assembly-bridge{display:contents}
 .has-shared-handoff .body-story .body-context{grid-column:2;grid-row:1/3;position:sticky;top:110px;margin:80px 0 0;max-width:none;width:100%;align-self:start;z-index:1}
 .has-shared-handoff .handoff-frame{aspect-ratio:auto;height:clamp(300px,48svh,540px)}
 .has-shared-handoff .body-story>.wrap>div{grid-column:4;grid-row:1;position:relative;padding:80px 0;z-index:1}
 .has-shared-handoff .assembly-bridge>.wrap{grid-column:4;grid-row:2;position:relative;width:100%;max-width:none;padding:80px 0 96px;margin:0;min-height:62svh;color:var(--bg);z-index:1}
 .has-shared-handoff .assembly-bridge h2{font-size:clamp(34px,4vw,60px);max-width:17ch}
}
@media(max-width:960px),(max-height:699px){
 .has-shared-handoff .body-story{padding-bottom:0;background:linear-gradient(180deg,var(--surface-warm) 70%,var(--fg))}
 .has-shared-handoff .body-story .body-context{margin:0;width:100%;max-width:none;justify-self:stretch}
 .has-shared-handoff .handoff-frame{height:auto;aspect-ratio:4/3}
 .has-shared-handoff .assembly-bridge>.wrap{padding-top:24px}
 .calculator-section .package-inputs{gap:24px}
}

/* Focused production corrections; preserve the approved typography and palette. */
.portal-index img{width:144px;height:auto;aspect-ratio:920/223;object-fit:contain}
.header .header-login{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:13px;white-space:nowrap}
.header .header-login:focus-visible{outline:var(--focus-ring);outline-offset:3px}
.product-story .product-study.chair-overview{grid-template-columns:1fr}
.product-story .product-study.chair-overview img{width:100%;height:var(--chapter-media);object-fit:contain;aspect-ratio:auto}
html.assembly-story .product-visual .product-study.chair-overview img{height:var(--chapter-media);max-height:none;object-fit:contain}
@media(max-width:960px){
 .header:has(.header-login) .header-right{gap:12px}
}
@media(max-width:480px){
 .header:has(.header-login) .audiences a:first-child{display:none}
 .header:has(.header-login) .header-login{font-size:12px}
 .header:has(.header-login) .header-right{gap:8px}
}
