.chain-hero {
  --station-bg:#111617;
  --station-type:#f6f3ec;
  --station-copy:#b4c0bf;
  --station-line:#344041;
  --station-orange:#ff8248;
  --station-cyan:#65c4cf;
  color:var(--station-type);
  background:var(--station-bg);
}
.station-shell { padding-block:clamp(24px,3.4vh,43px) 0; }
.station-heading {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.61fr);gap:clamp(26px,5vw,88px);align-items:end;margin-bottom:clamp(18px,2.7vh,32px);}
.station-edition {display:flex;align-items:center;gap:10px;color:#ffd5b9;font-size:13px;font-weight:600;}
.station-edition i {width:20px;height:12px;background:repeating-linear-gradient(111deg,#ff9256 0 3px,transparent 3px 6px);clip-path:polygon(18% 0,100% 0,82% 100%,0 100%);}
.station-edition span {font:12px/1.3 var(--mono);color:#a6b2b0;border-left:1px solid #53605e;padding-left:10px;}
.station-heading h1 {margin:11px 0 0 -.04em;font-size:clamp(44px,4.8vw,83px);line-height:1.09;letter-spacing:-.065em;color:#fbf8f2;}
.station-heading h1 span {color:var(--station-orange);}
.station-intro {justify-self:end;max-width:31em;}
.station-intro p {font-size:clamp(14px,1.04vw,18px);line-height:1.7;color:#c4cecb;}
.station-intro a,.station-foot a {display:inline-flex;min-height:36px;align-items:center;gap:11px;font-size:13px;}
.station-intro a {color:#ffa46d;font-weight:620;}
.station-intro a:hover,.station-foot a:hover {color:#ffd8b8;}
.station-console {border-block:1px solid var(--station-line);}
.station-nav {display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;border-bottom:1px solid #354041;}
.station-modes,.station-key {display:flex;align-items:center;}
.station-modes {gap:clamp(9px,1.5vw,26px);}
.station-modes button {position:relative;border:0;background:none;color:#aeb9b6;font-size:14px;padding:13px 4px;min-height:49px;font-weight:650;}
.station-modes button:first-child {padding-left:0;}
.station-modes button::after {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;transform:scaleX(0);transform-origin:left;background:var(--station-orange);transition:transform .18s;}
.station-modes button:hover,.station-modes button[aria-pressed=true] {color:#fff7ed;}
.station-modes button[aria-pressed=true]::after {transform:scaleX(1);}
.station-key {gap:17px;font-size:11px;line-height:1.3;color:#b6c4c3;}
.station-key span {display:flex;align-items:center;gap:5px;}
.station-key span::before {content:"";width:20px;height:0;border-top:2px solid var(--station-orange);}
.station-key .key-height::before {border-color:var(--station-cyan);}
.station-key .key-data::before {border-color:#94a9a7;border-top-style:dashed;}
.station-scene {
  position:relative;isolation:isolate;overflow:hidden;
  height:clamp(350px,47vh,535px);
  background:
    radial-gradient(ellipse at 48% 49%,#293331 0%,#172021 44%,#101718 73%,#111617 100%);
}
/* Faint projection lines ground the workpiece and the signal branches in one station. */
.station-scene::before {content:"";position:absolute;inset:25% -12% -25%;transform:perspective(300px) rotateX(52deg);transform-origin:50% 82%;background-image:linear-gradient(#77918c12 1px,transparent 1px),linear-gradient(90deg,#77918c19 1px,transparent 1px);background-size:58px 39px;mask-image:radial-gradient(ellipse at 51% 60%,#000,transparent 73%);pointer-events:none;z-index:-3;}
.specimen {position:absolute;z-index:-1;left:24%;top:0;width:51.5%;height:94%;pointer-events:none;transition:opacity .32s ease;}
.specimen-photo {width:100%;height:100%;object-fit:cover;object-position:50% 54%;mask-image:linear-gradient(to right,transparent 0%,#000 13%,#000 86%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 12%,#000 88%,transparent 100%);mask-composite:intersect;}
.specimen-tag {position:absolute;right:13%;bottom:14%;padding:3px 8px;color:#eee8d9;background:#121715d9;border-left:2px solid #de945e;font-size:11px;line-height:1.5;}
.signal-lines {position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;pointer-events:none;}
.signal-lines path {fill:none;stroke-linecap:round;stroke-linejoin:round;}
.signal-lines .track {stroke-width:1.1;}
.signal-lines .signal {stroke-width:2.6;stroke-dasharray:3 115;animation:pass-once 2.4s ease-in-out 1;}
@keyframes pass-once {from{stroke-dashoffset:3;}to{stroke-dashoffset:-110;}}
.hardware {position:absolute;z-index:2;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;background:none;border:0;padding:5px;min-height:44px;color:var(--station-type);text-align:center;transition:opacity .22s;}
.hardware img {height:var(--h);max-width:var(--w);width:auto;object-fit:contain;filter:drop-shadow(0 8px 8px #020808b0);transition:transform .2s,filter .2s;}
.hardware span {display:inline-block;position:relative;line-height:1.45;font-size:clamp(12px,.95vw,16px);font-weight:560;white-space:nowrap;margin-top:4px;padding:0 3px;text-shadow:0 1px 3px #050a0a,0 0 7px #101617;}
.hardware:hover img,.hardware.chosen img {transform:translateY(-2px);filter:drop-shadow(0 4px 9px #52665070);}
.hardware:hover span,.hardware.chosen span {color:#ffab78;}
.hardware-camera {--x:18%;--y:20%;--h:clamp(52px,5.9vw,88px);--w:clamp(70px,8.2vw,128px);}
.hardware-lens {--x:22%;--y:47%;--h:clamp(42px,3.9vw,61px);--w:clamp(48px,4.4vw,69px);}
.hardware-light {--x:22%;--y:74%;--h:clamp(43px,4.9vw,80px);--w:clamp(75px,8.2vw,130px);}
.hardware-controller {--x:6.3%;--y:66%;--h:clamp(53px,5.8vw,92px);--w:clamp(58px,6.7vw,102px);}
.hardware-sensor {--x:80%;--y:23%;--h:clamp(70px,7.8vw,120px);--w:clamp(100px,11.5vw,169px);}
.hardware-computer {--x:89%;--y:60%;--h:clamp(52px,5.55vw,85px);--w:clamp(85px,9.3vw,142px);}
.station-ports {position:absolute;z-index:2;left:60%;right:1%;top:85%;display:grid;grid-template-columns:repeat(3,1fr);align-items:start;gap:7px;}
.station-ports button {display:flex;flex-direction:column;gap:1px;min-height:42px;width:max-content;max-width:100%;justify-self:center;align-items:center;background:#11191acc;border:0;border-top:1px solid #5e7270;color:#e0e8e1;padding:4px 9px;font:inherit;}
.station-ports button b {font-size:clamp(12px,.95vw,16px);font-weight:600;white-space:nowrap;}
.station-ports button span {font-size:clamp(10px,.77vw,13px);color:#9caeaa;}
.station-ports button:hover,.station-ports button.chosen {border-top-color:var(--station-orange);color:#ffad78;}
.station-scene[data-view=outputs] :is(.hardware-camera,.hardware-lens,.hardware-light,.hardware-controller,.hardware-sensor) {opacity:.39;}
.station-scene[data-view=outputs] .specimen {opacity:.67;}
.hardware:focus-visible,.station-ports button:focus-visible,.station-modes button:focus-visible,.chain-hero a:focus-visible {outline:2px solid #ffd0a4;outline-offset:3px;}
.station-readout {display:flex;gap:17px;align-items:baseline;padding:clamp(12px,1.3vw,19px) 0;border-top:1px solid var(--station-line);}
.station-readout strong {flex:none;font-size:clamp(14px,1.05vw,17px);color:#ffd2ac;}
.station-readout strong::before {content:"";display:inline-block;width:6px;height:6px;border-radius:100%;background:#ed9257;margin-right:8px;vertical-align:2px;}
.station-readout p {font-size:clamp(13px,.96vw,16px);color:#c2cdca;line-height:1.65;}
.station-foot {min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.station-foot a {color:#c1ceca;font-size:12px;}.station-foot img {width:103px;height:29px;object-fit:contain;}
.station-foot a>span[aria-hidden] {color:var(--station-orange);}
@media(min-width:1700px){.station-scene {height:clamp(440px,27vw,560px);}}
@media(max-width:960px) and (min-width:681px){
 .station-heading{grid-template-columns:1.22fr .78fr;gap:20px;}.station-heading h1{font-size:clamp(38px,4.9vw,51px);}
 .station-scene{height:clamp(352px,45vw,426px);}
 .hardware-computer {--x:88%;}
 .station-ports{left:57%;right:0;}
}
@media(max-width:680px) {
 .station-shell{padding-top:24px;}
 .station-heading {display:block;margin-bottom:12px;}
 .station-heading h1{font-size:clamp(34px,7.8vw,52px);margin:9px 0 12px;}
 .station-edition{font-size:12px;}.station-edition span {font-size:11px;}
 .station-intro {max-width:39em;}.station-intro p{font-size:13px;line-height:1.65;}
 .station-intro a {min-height:44px;font-size:13px;}
 .station-nav {min-height:46px;}
 .station-modes {display:grid;width:100%;grid-template-columns:.78fr 1fr 1fr 1.25fr;gap:2px;}
 .station-modes button {min-width:0;padding:9px 2px;min-height:44px;font-size:13px;white-space:nowrap;}
 .station-key {display:none;}
 .station-scene {height:clamp(355px,90vw,450px);}
 .specimen {left:11%;top:20%;width:78%;height:49%;}
 .specimen-tag {font-size:10px;bottom:7%;right:12%;}
 .hardware {padding:2px;}
 .hardware span {font-size:10px;line-height:1.35;margin-top:2px;white-space:normal;max-width:98px;}
 .hardware-camera {--x:15%;--y:13%;--h:50px;--w:68px;}
 .hardware-lens {--x:43%;--y:13%;--h:39px;--w:40px;}
 .hardware-sensor {--x:82%;--y:14%;--h:55px;--w:78px;}
 .hardware-sensor span {max-width:none;white-space:nowrap;}
 .hardware-controller {--x:9%;--y:63%;--h:41px;--w:39px;}
 .hardware-light {--x:29%;--y:69%;--h:38px;--w:61px;}
 .hardware-computer {--x:83%;--y:69%;--h:40px;--w:72px;}
 .station-ports {left:22%;right:0;top:87%;gap:4px;}
 .station-ports button {padding:3px;min-height:44px;min-width:44px;}
 .station-ports button b {font-size:11px;}.station-ports button span {font-size:10px;}
 .station-scene[data-view=outputs] .specimen {left:8%;top:9%;width:63%;height:57%;opacity:.7;}
 .station-scene[data-view=outputs] :is(.hardware-camera,.hardware-lens,.hardware-light,.hardware-controller,.hardware-sensor){display:none;}
 .station-scene[data-view=outputs] .hardware-computer {--x:70%;--y:49%;--h:65px;--w:112px;}
 .station-scene[data-view=outputs] .station-ports {left:2%;right:2%;top:76%;}
 .station-readout {display:block;padding:10px 0 12px;}.station-readout strong {font-size:13px;}.station-readout p {font-size:12px;line-height:1.6;margin-top:4px;}
 .station-foot {min-height:46px;}.station-foot a {gap:6px;font-size:10px;}.station-foot img {width:80px;height:24px;}
}
@media(prefers-reduced-motion:reduce) {
 .chain-hero *,.chain-hero *::before,.chain-hero *::after {animation:none !important;transition:none !important;}
}
@media (min-width:961px) and (max-width:1699px) {
  .station-scene {height:clamp(350px,53vh,535px);}
}
@media (max-width:680px) {
  .specimen-tag {left:45%;right:auto;top:8%;bottom:auto;white-space:nowrap;transform:translateX(-50%);}
}
@media (max-width:360px) {
  .station-heading h1 {font-size:clamp(29px,8.7vw,32px);}
  .hardware-light {--x:34%;--y:74%;--w:54px;}
}
