/* One proportional canvas per variant. Desktop scale follows usable viewport height. */
.reference-section{aspect-ratio:auto;padding-bottom:16px;--reference-ink:#161616;--reference-surface:#fff;--reference-accent:#f04a1c;background:var(--reference-surface);color:var(--reference-ink)}
.reference-layout{position:relative;container-type:inline-size;width:min(88%,max(960px,calc((100svh - 48px)*1.5222)));aspect-ratio:3600/2365;margin-inline:auto;margin-bottom:-6cqw}
.reference-section .reference-description{top:79%;font-size:clamp(14px,1.4cqw,28px);line-height:1.4}
.reference-experience .reference-description{top:79.5%}
.reference-brand-words>span+span{color:var(--reference-accent)}
.reference-brand .reference-brand-words{font-size:clamp(26px,2.65cqw,54px)}
.reference-subtitle{font-size:clamp(20px,2.15cqw,40px)}
.reference-controls-list,.reference-remote-caption{font-size:clamp(14px,1.4cqw,26px)}
.reference-dark{--reference-ink:#f5f5f5;--reference-surface:#101010;--reference-accent:#f04a1c}
.reference-dark .reference-brand img.reference-bt-symbol{filter:brightness(0) invert(1)}
.reference-dark .reference-wifi-symbol{isolation:isolate}
.reference-dark .reference-wifi-symbol img{filter:invert(1);mix-blend-mode:screen}
.reference-dark .reference-panel{box-shadow:0 12px 24px #0005,0 1px 0 #ff884c12}
.reference-dark .reference-experience-ipad{filter:drop-shadow(0 22px 22px #0008)}
.reference-dark .reference-bt-ipad{filter:drop-shadow(0 10px 18px #0005)}
.comparison-divider{position:relative;height:1px;margin:12px auto;width:30%;background:transparent;pointer-events:none}
.comparison-divider>span{display:block;width:100%;height:1px;background:#f04a1c;transform-origin:center;transform:scaleX(.55);opacity:.15;transition:transform 850ms cubic-bezier(.22,1,.36,1),opacity 850ms ease}
.comparison-divider[data-visible=true]>span{transform:scaleX(1);opacity:.7}
/* Compact presentation trades spare whitespace for a readable natural-height flow. */
@media(max-width:700px),(max-width:900px) and (orientation:portrait){
 .reference-section{padding-bottom:28px}
 .reference-layout{width:100%;aspect-ratio:auto;margin-bottom:0}
 .reference-section .reference-brand{margin-top:24px;margin-bottom:20px}
 .reference-brand .reference-brand-words{font-size:clamp(25px,6.8vw,34px)}
 .reference-subtitle{font-size:clamp(20px,3.2vw,24px);margin-bottom:12px}
 .reference-section .reference-description,.reference-experience .reference-description{top:auto;font-size:16px;line-height:1.55;margin-top:12px;margin-inline:24px}
 .reference-controls-list{font-size:14px;line-height:1.45;gap:4px 18px;transform:translateY(50cqw)}
 .reference-remote-caption{font-size:14px;line-height:1.4}
 .reference-scene-bt{margin-top:-6%;margin-bottom:0}
 .reference-dark .reference-controls-list{color:#f5f5f5}
 .comparison-divider{margin-block:8px}
}
@media(prefers-reduced-motion:reduce){.comparison-divider>span{transition:none;transform:scaleX(1);opacity:.7}}
.reference-dark .reference-wifi-symbol{background:#101010}
@media(orientation:landscape) and (max-height:600px){.reference-remote-caption{top:64%;letter-spacing:.025em}}
@media(max-width:700px),(max-width:900px) and (orientation:portrait){.reference-controls-list{column-gap:28px;list-style-position:inside}}
@media(min-width:701px) and (max-width:900px) and (orientation:portrait){
 .reference-scene{width:88%;margin-inline:auto}
 .reference-scene-experience{margin-top:-6cqw;margin-bottom:-4cqw}
 .reference-controls-list{transform:translateY(44cqw)}
}
/* The divider owns its surface so the hero's root background never shows between variants. */
.comparison-divider{display:grid;place-items:center;width:100%;height:25px;margin:0;background:#fff}
.comparison-divider>span{width:30%}
.comparison-divider[data-theme=dark]{background:#101010}
@media(max-width:700px),(max-width:900px) and (orientation:portrait){.comparison-divider{height:17px;margin:0}}
@media(min-width:701px) and (max-width:800px) and (orientation:landscape){.reference-remote-caption{left:26%;width:48%}}
/* Stretch only the orange artwork to the window edge; the product canvas stays fixed. */
.reference-scene-bt .reference-panel{left:calc(50% - 50vw);width:calc(44.36% + 50vw)}
.reference-scene-experience .reference-panel{width:calc(43.125% + 50vw)}
@media(max-width:700px),(max-width:900px) and (orientation:portrait){
 .reference-remote-caption::after{content:"";position:absolute;left:100%;top:0;bottom:0;width:max(0px,calc(50vw - 53.691275%));background:#f65b05;z-index:-1}
}

/* Separate generated textile layer; the original hand and phone remain untouched above it. */
.reference-sleeve-layer{position:absolute;left:58.56%;top:22.06%;width:51.98%;aspect-ratio:3600/2365;z-index:2;pointer-events:none;clip-path:polygon(0 0,400% 0,400% 98.72%,0 98.72%)}
.reference-sleeve-layer img{display:block;width:100%;height:100%;max-width:none;clip-path:polygon(77% 74%,100% 74%,100% 100%,77% 100%);transform:translateY(12%) scale(1.65);transform-origin:79.75% 100%}

.reference-experience .reference-panel{box-shadow:none}
.reference-experience .reference-iphone{mask-image:linear-gradient(to right,#000 0%,#000 78%,transparent 80%)}
