/* The final movement: keep the signal, reveal its interpretation. */
.device-story{height:540svh}
.device-copy[data-chapter="4"] h2{font-size:clamp(3.3rem,5.6vw,6.2rem)}
.device-copy[data-chapter="4"] .lead{max-width:355px}
.story-chapters{gap:14px}
body[data-active-chapter="4"] .scene-labels .legend{opacity:0}
body[data-active-chapter="4"] .device-caption p{display:none}
.signal-applications{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:24px;max-width:390px;color:#c0d9cb;font-size:.9rem;line-height:1.5}
.signal-applications span{border-left:1px solid #7aab93;padding-left:11px}
.signal-applications b{display:block;font-weight:400;color:var(--mint)}
.signal-profile[hidden]{display:none!important}
.signal-profile{position:absolute;z-index:5;right:6%;top:39%;width:46%;max-width:660px;transform:translateY(var(--profile-rise,0));color:#deeee4}
.profile-pipeline{position:relative;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:14px;align-items:center;margin-bottom:17px;padding-bottom:18px}
.profile-pipeline:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#3d6a5b,#9ce7c2 55%,#3d6a5b)}
.profile-pipeline .travel-dot{position:absolute;bottom:-2px;left:calc(var(--travel,.5)*98%);width:5px;height:5px;border-radius:50%;background:#ceffe6;box-shadow:0 0 12px #a9f6c6}
.profile-pipeline>span{font-family:var(--mono);font-size:.75rem;line-height:1.45;letter-spacing:.035em}
.profile-pipeline>span:nth-child(2){color:#d1f7e1;text-align:center;border:1px solid #4a6e5c;background:#18372f88;border-radius:2px;padding:8px 5px}
.profile-pipeline>span:nth-child(3){text-align:right}
.profile-pipeline small{display:block;color:#87aa97;font-size:.7rem;margin-bottom:4px;letter-spacing:.09em}
.profile-result{opacity:var(--result,1);border:1px solid #3b6253;border-radius:3px;background:linear-gradient(135deg,#112c2aee,#091e23f5);padding:18px 22px 14px;box-shadow:0 15px 55px #04121650}
.profile-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.profile-header h3{font:400 clamp(1.65rem,2.4vw,2.35rem)/1 var(--serif);letter-spacing:-.035em}
.profile-header>span{font-family:var(--mono);font-size:.7rem;letter-spacing:.1em;color:#9bbbaa;white-space:nowrap}
.profile-switch{display:inline-flex;border-bottom:1px solid #375647;gap:22px;margin-bottom:10px}
.profile-switch button{font:inherit;font-size:.875rem;background:none;border:0;border-bottom:2px solid transparent;padding:5px 0 9px;color:#8fae9c;cursor:pointer}
.profile-switch button[aria-pressed="true"]{border-color:#afe9c9;color:#d0f3df}
.profile-application{font-family:var(--mono);font-size:.75rem;letter-spacing:.025em;color:#a7c6b4;margin-bottom:5px}
.fingerprint-row{display:grid;grid-template-columns:1fr 1.2fr;gap:15px;align-items:center;border-bottom:1px solid #294a3f;min-height:40px;color:#e2b797}
.fingerprint-row:nth-child(2){color:#adbcd2}
.fingerprint-row:nth-child(3){color:#a9d6be}
.fingerprint-name{font-size:.84rem;line-height:1.3;color:#c4d8cd}
.fingerprint-row svg{display:block;width:100%;height:38px;overflow:visible}
.fingerprint-line,.fingerprint-ghost{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.fingerprint-line{stroke-dasharray:1;stroke-dashoffset:1}
.fingerprint-ghost{opacity:.12;stroke-width:1}
.profile-focus{font-family:var(--mono);font-size:.65rem;line-height:1.5;letter-spacing:.025em;color:#90af9c;margin-top:10px}
.profile-note{font-family:var(--mono);font-size:.7rem;line-height:1.5;color:#88aa97;margin:10px 0 0}
.observatory-stage[data-view="profile"]{height:clamp(590px,75svh,730px)}
.observatory-stage[data-view="profile"] .studio-canvas{width:52%;height:100%}
.observatory-stage[data-view="profile"] .drag-hint{visibility:hidden}
.observatory-stage .signal-profile{top:20%;right:5%;width:47%;max-width:610px}
.profile-wave-caption{position:absolute;left:6%;top:13%;font-family:var(--mono);font-size:.8rem;letter-spacing:.05em;line-height:1.6;color:#a8c9b4;max-width:220px;pointer-events:none;opacity:0}
.observatory-stage[data-view="profile"] .profile-wave-caption{opacity:1}
.observatory-stage[data-view="signal"] .signal-study .signal-body{display:block;font-size:.9rem;line-height:1.6}
.observatory-stage[data-view="signal"] .signal-study h3{font-size:clamp(1.5rem,2.7vw,2.8rem)}
.view-tabs button{padding-left:15px;padding-right:15px}
.rna-programs{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px;padding-top:24px;border-top:1px solid #bacdbf}
.rna-programs span{font-family:var(--mono);font-size:.75rem;color:#69866f}
.rna-programs h3{font-family:var(--serif);font-size:1.9rem;font-weight:400;margin:10px 0;color:#214835}
.rna-programs p{font-size:.95rem!important;line-height:1.65}
.analysis-stages{margin-top:28px;display:flex;flex-direction:column;gap:0}
.analysis-stages p{padding:14px 0;border-top:1px solid #345950;display:flex;gap:18px;font-size:.95rem;color:#c1d8c9}
.analysis-stages span{font-family:var(--mono);font-size:.75rem;color:#80aa92;padding-top:3px}
@media(min-width:701px) and (max-height:760px){.signal-profile{top:35%;width:45%}.profile-result{padding:14px 18px 10px}.profile-pipeline{margin-bottom:12px;padding-bottom:12px}.profile-header{margin-bottom:8px}.profile-switch{margin-bottom:7px}.fingerprint-row{min-height:36px}.fingerprint-row svg{height:32px}.profile-note{margin-top:6px}.observatory-stage .signal-profile{top:20%}}
@media(min-width:701px) and (max-width:1050px){.signal-profile{right:4%;width:47%}.profile-result{padding:14px}.profile-header{flex-wrap:wrap;gap:5px}.profile-pipeline{gap:8px}.device-copy[data-chapter="4"] h2{font-size:3.5rem}.device-copy[data-chapter="4"] .lead{max-width:285px;font-size:1rem}.observatory-stage .signal-profile{width:48%;right:4%}.view-tabs button{padding:12px 9px;gap:6px}.story-chapters{gap:11px}.story-chapters button{min-width:32px}}
@media(max-width:700px){
 .device-story{height:520svh}.signal-applications{font-size:.82rem;margin-top:14px;gap:10px}.signal-applications span{padding-left:8px}
 .device-copy[data-chapter="3"] h2{font-size:2.9rem}.device-copy[data-chapter="3"] .lead{font-size:.93rem;line-height:1.45;max-width:330px}
 .device-copy[data-chapter="3"] .text-link,.home-signal{display:none}
 .device-copy[data-chapter="4"]{top:110px}.device-copy[data-chapter="4"] h2{font-size:2.85rem;max-width:340px}.device-copy[data-chapter="4"] .lead{display:none}
 .signal-profile{left:7%;right:7%;top:auto;bottom:115px;width:auto;max-width:none}
 .profile-pipeline{margin-bottom:11px;padding-bottom:12px;gap:9px}.profile-pipeline>span{font-size:.68rem}.profile-pipeline small{font-size:.63rem;margin-bottom:2px}
 .profile-result{padding:13px 15px 10px}.profile-header{margin-bottom:8px}.profile-header h3{font-size:1.7rem}.profile-header>span{font-size:.63rem}.profile-switch{margin-bottom:6px}.profile-switch button{font-size:.875rem;padding:2px 0 6px}.profile-application{display:none}
 .fingerprint-row{min-height:33px;grid-template-columns:1fr 1.1fr;gap:10px}.fingerprint-row svg{height:32px}.fingerprint-name{font-size:.875rem}.profile-focus{font-size:.61rem;margin-top:6px}.profile-note{font-size:.65rem;margin-top:7px}
 body[data-active-chapter="4"] .scene-labels{display:none}.story-chapters{gap:4px}.story-chapters button{min-width:26px}.story-chapters button b{font-size:.8rem}.device-bottom{gap:10px}.device-caption{min-width:0}.device-caption p{max-width:120px;font-size:.7rem}
 .observatory-stage .profile-header{flex-wrap:wrap;gap:6px} .observatory-stage[data-view="profile"]{height:760px}.observatory-stage .signal-profile{top:290px;left:6%;right:6%;width:auto}.profile-wave-caption{top:85px;left:7%;font-size:.72rem;max-width:200px}
 .observatory-stage[data-view="profile"] .studio-canvas{width:100%;height:420px;top:5px}
 .view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px}.view-tabs button{padding:9px 8px;font-size:.8rem}.view-tabs button span{font-size:.7rem}.observatory-controls{gap:10px}.drag-hint{bottom:167px}
 .rna-programs{grid-template-columns:1fr;gap:14px}.rna-programs h3{margin-top:6px}.observatory-stage[data-view="signal"] .signal-study .signal-body{font-size:.84rem;margin-top:12px;max-width:260px}.observatory-stage[data-view="signal"] .signal-study h3{display:none}
}
@media(max-width:700px) and (max-height:690px){.device-copy[data-chapter="4"]{top:97px}.device-copy[data-chapter="4"] .eyebrow{margin-bottom:10px}.device-copy[data-chapter="4"] h2{font-size:2.4rem}.signal-profile{bottom:108px}.profile-pipeline{padding-bottom:8px;margin-bottom:8px}.profile-pipeline small{display:none}.profile-focus{display:none}.profile-note{margin-top:6px}}
@media(prefers-reduced-motion:reduce){.signal-profile{transform:none}}
