.page-electrical .station--green { background: var(--green); }

/* Opening: the painted wall with the notice plate pinned to the outlet by a right-angle lead */
.el-open__grid { display: grid; gap: 1.5rem; align-items: center; }
.el-open__text .title-wrap { padding-bottom: clamp(1rem, 3vh, 1.5rem); }
.el-open__call { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.el-open__fig { position: relative; background: var(--cherry); }
.el-open__fig img { aspect-ratio: 4/3; }
.el-open__anchor { display: flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0.45rem 0.9rem; background: var(--cherry); border-top: var(--hair) solid var(--pink); text-decoration: none; font-size: var(--fs-body); }
.el-open__anchor:hover { background: var(--ink); color: var(--cherry); }
.el-open__paneltag { display: none; }
@media (min-width: 64em) {
  .el-open__grid { grid-template-columns: 1fr 1.1fr; }
  .el-open__text { padding-top: 1rem; }
  .el-open__fig img { max-height: 62vh; }
  .el-open__anchor { position: absolute; left: 30%; top: 66%; border: var(--hair) solid var(--pink); }
  .el-open__anchor::before { content: ""; position: absolute; right: 100%; top: 0; width: 1.75rem; border-top: var(--hair) solid var(--pink); }
  .el-open__anchor::after { content: ""; position: absolute; right: calc(100% + 1.75rem); bottom: 100%; height: 2.75rem; border-left: var(--hair) solid var(--pink); }
  .el-open__paneltag { display: inline-flex; align-items: center; gap: 0.55rem; position: absolute; right: 2%; top: 57%; padding: 0.35rem 0.7rem; background: var(--cherry); border: var(--hair) solid var(--volt); color: var(--volt); font-size: var(--fs-small); }
}

/* The wall: one whole stop per view, the track held to a fixed height on a desk screen */
.el-wall { padding-bottom: 0; }
.el-wall .wrap { padding-bottom: 1.25rem; }
.wall { position: relative; }
.wall__strip { display: flex; align-items: stretch; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: 0; position: relative; border-block: var(--hair) solid var(--ink); background: var(--green); scrollbar-width: thin; }
.wall__strip:focus-visible { outline-offset: -0.3rem; }
.stop { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; position: relative; background: var(--green); }
.stop .plate-fig { border: 0; border-bottom: var(--hair) solid var(--ink); }
.stop .plate-fig img { width: 100%; height: clamp(10rem, 30vh, 16rem); object-fit: cover; object-position: center; }
.stop__text { padding: 1rem var(--gut) 1.25rem; background: var(--cherry); position: relative; z-index: 1; }
.stop__n { display: flex; align-items: center; gap: 0.6rem; color: var(--pink); margin: 0 0 0.4rem; font-size: var(--fs-small); }
.stop .pair { max-width: 14rem; margin-bottom: 0.8rem; }
.stop .next__link { display: inline-block; font-size: 1.125rem; min-height: 2.75rem; }
@media (min-width: 64em) {
  .wall__strip { height: clamp(24rem, 62vh, 32rem); }
  .stop { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 100%; border-left: var(--hair) solid var(--ink); }
  .stop:first-child { border-left: 0; }
  .stop .plate-fig { border-bottom: 0; border-right: var(--hair) solid var(--ink); min-height: 0; }
  .stop .plate-fig img { height: 100%; object-fit: cover; object-position: center; }
  .stop__text { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem var(--gut) 1.5rem; }
  .stop .pair { margin-bottom: 0.6rem; }
}
.rail { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 1.25rem; padding: 0.6rem var(--gut); background: var(--cherry); border-top: var(--hair) solid var(--ink); }
.rail__track { position: relative; flex: 1; height: 1.25rem; border-bottom: var(--hair) solid var(--ink); }
.rail__marker { position: absolute; bottom: -0.45rem; left: 0; width: 0.875rem; height: 0.875rem; background: var(--volt); border: var(--hair) solid var(--ink); transform: translateX(calc((var(--i, 0)) * (var(--tw, 300px) - 0.875rem) / 3)); transition: transform var(--step) steps(2, jump-end); }
.rail__btns { display: flex; gap: 0.4rem; }
.rail__btn { width: 2.75rem; height: 2.75rem; border: var(--hair) solid var(--ink); background: var(--cherry); color: var(--ink); font: 500 1rem var(--display); border-radius: 0; cursor: pointer; }
.rail__btn:hover { background: var(--ink); color: var(--cherry); }
.rail__btn[aria-current="true"] { background: var(--pink); border-color: var(--pink); color: var(--cherry); }

/* Stop four: a numbered square node tied to the heading, not a stray numeral */
.el-phone__grid { display: grid; gap: 1.25rem; }
.el-phone__stop { display: inline-flex; align-items: center; gap: 0.65rem; margin: 0; color: var(--volt); font-family: var(--display); font-size: var(--fs-small); }
.el-phone__node { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none; background: var(--volt); border: var(--hair) solid var(--volt); color: var(--cherry); font: 500 0.95rem/1 var(--display); }
@media (min-width: 56em) {
  .el-phone__grid { grid-template-columns: minmax(8rem, 11rem) 1fr; column-gap: 2rem; align-items: start; }
  .el-phone__stop { margin-top: 0.4rem; }
}

/* Hand-off: the next station as a whole pressable link, route node included */
.el-hand .el-hand__inner { display: grid; gap: 1.25rem; }
.el-hand__link { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding: 0.9rem 1.25rem; border: var(--hair) solid var(--ink); background: var(--green); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-stretch: 140%; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.1; }
.el-hand__link .node { width: 1.25rem; height: 1.25rem; }
.el-hand__link:hover { background: var(--volt); color: var(--cherry); }
.el-hand__link:hover .node { background: var(--cherry); border-color: var(--cherry); }
.el-hand__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
@media (min-width: 48em) {
  .el-hand .el-hand__inner { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
}
