/* "How a Final loudspeaker works" (home, #technology): one scroll story in four steps, ending in the moving cross-section with its signal. */

/* Layout: the copy column stays narrow, the drawing gets the room. */
#technology .ps-layout{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:5vw;align-items:center;margin-top:28px}
#technology .chapter-top{justify-content:space-between}
#technology .panel-space{height:clamp(380px,min(66vh,calc(100vh - 300px)),700px);perspective:1400px}
/* Same height as the cross-section that takes over from it (13% to 88% of the drawing). */
#technology .panel-stack{height:75%;top:50.5%}
#technology .ps-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#technology .principle-copy>.text-link{margin-top:6px}

/* Pinned only where journey.css pins the chapters: desktop taller than 720px, full motion. */
@media(min-width:1101px) and (min-height:721px){html:not(.compact-journey).motion-enabled #technology{height:max(calc(var(--viewport-height,100svh) * 3.4),2600px)}}

/* The four steps. */
.ps-steps{list-style:none;margin:34px 0 30px;padding:0;border-top:1px solid var(--line);max-width:430px}
.ps-steps li{display:grid;grid-template-columns:46px minmax(0,1fr);padding:16px 0 17px;border-bottom:1px solid var(--line);color:rgb(255 255 255/.4);transition:color .6s var(--ease-slow,ease)}
.ps-steps li.is-active{color:var(--fnl-white)}
.ps-steps li.is-past{color:rgb(255 255 255/.58)}
.ps-n{font-size:10px;letter-spacing:.13em;padding-top:7px}
.ps-steps li>div{display:grid;grid-template-rows:auto 0fr;transition:grid-template-rows .7s var(--ease-slow,ease)}
.ps-steps li.is-active>div{grid-template-rows:auto 1fr}
.ps-steps h3{margin:0;font-size:clamp(18px,1.45vw,22px);line-height:1.3;font-weight:300;letter-spacing:-.01em}
.ps-steps p{min-height:0;overflow:hidden;margin:0;font-size:15px;line-height:1.65;font-weight:300;color:rgb(255 255 255/.78);opacity:0;transition:opacity .5s ease,margin .7s var(--ease-slow,ease)}
.ps-steps li.is-active p{opacity:1;margin-top:8px}

/* Layer labels: each one under its own layer, a hairline up to the bottom of that layer (positions from the script). */
#technology .layer-label{left:var(--x,50%);bottom:auto;top:calc(95.5% - 7px);transform:translateX(-50%);opacity:var(--ps-label,0)!important;transition:none;font-size:10px;letter-spacing:.13em;line-height:14px;white-space:nowrap;color:rgb(255 255 255/.62)}
#technology .layer-label::before{left:50%;bottom:calc(100% + 6px);height:var(--lead,20px);background:rgb(255 255 255/.35)}
#technology .label-film{color:rgb(255 255 255/.8)}

/* Signal choice: appears with the signal strip in the last step. */
#technology .panel-study figcaption{gap:24px}
.ps-signals{display:flex;gap:20px;opacity:var(--ps-band,0)}
.ps-signals button{font:inherit;font-size:12px;font-weight:300;color:rgb(255 255 255/.55);background:none;border:0;border-bottom:1px solid transparent;padding:6px 0;cursor:pointer;transition:color .3s ease,border-color .3s ease}
.ps-signals button:hover{color:var(--fnl-white)}
.ps-signals button[aria-pressed=true]{color:var(--fnl-white);border-bottom-color:var(--fnl-white)}
.ps-signals button:focus-visible{outline:1px solid var(--fnl-white);outline-offset:4px}

@media(max-width:1100px){#technology .ps-layout{grid-template-columns:1fr 1fr;gap:3vw}}
@media(max-width:760px){
 .ps-steps{order:3;width:100%;align-self:flex-start;margin:8px 0 18px}
 .ps-steps p{font-size:14px}
 #technology .panel-space{height:360px}
 #technology .layer-label{font-size:8px}
 #technology .panel-study figcaption{flex-wrap:wrap;gap:10px 16px}
 .ps-signals{order:3;width:100%;gap:18px}
}
