/* Electric Works scroll sequence. Shared by the story page (electric-works.html); the same rules still ship in home.css. */
.ew{position:relative;height:420vh;background:var(--ink);color:var(--paper)}
.ew-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:#0b1917}
.ew-poster,.ew-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.ew-poster{z-index:0}.ew-canvas{z-index:1;opacity:0;transition:opacity .5s}.ew.is-ready .ew-canvas{opacity:1}
.ew-wash{position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,#0b1917f2 0%,#0b1917a6 26%,#0b191700 58%),linear-gradient(180deg,#0b1917b8,#0b191700 26%)}
.ew-hud{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:space-between;padding:30px max(32px,6.5vw) 34px}
.ew-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.ew-top .eyebrow{color:#d9e6d9;margin:0;display:flex;align-items:center;gap:10px}
.ew-tag{font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#b9c5ba;text-align:right;max-width:190px;line-height:1.6;padding-top:1px}
.ew-bottom{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:end}
.ew-stages{position:relative;min-height:300px}
.ew-stage{position:absolute;left:0;bottom:0;width:100%;max-width:680px;opacity:0;transform:translateY(16px);transition:opacity .55s,transform .55s;pointer-events:none}
.ew-stage.is-active{opacity:1;transform:none;pointer-events:auto}
.ew-step{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:650;color:#b5c2a5;margin-bottom:18px}
.ew-stage h2{font-size:clamp(34px,4vw,58px);font-weight:500;line-height:1.08;letter-spacing:-2.2px;color:var(--paper)}
.ew-stage h2 em{font-family:Georgia,serif;font-weight:400;color:#d6dfc5}
.ew-stage p:not(.ew-step){margin-top:16px;font-size:14px;line-height:1.75;color:#d3dad3;max-width:540px}
.ew-stage .btn{margin-top:22px}
.ew-meta{font-size:9px;letter-spacing:.5px;color:#b9c5ba;line-height:1.7}
.ew-meta>p{margin-top:16px;max-width:300px}
.ew-progress{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ew-progress li{font-size:9px;letter-spacing:1.5px;color:#8f9d93;transition:color .3s}
.ew-progress li.is-active{color:var(--paper)}
.ew-progress i{display:block;height:2px;background:#ffffff2e;margin-bottom:9px;overflow:hidden}
.ew-progress i::after{content:'';display:block;height:100%;background:#eef0e5;transform:scaleX(var(--fill,0));transform-origin:left}
.ew.is-static{height:auto}.ew.is-static .ew-sticky{position:relative;height:auto;min-height:640px}.ew.is-static .ew-canvas{display:none}
@media(max-width:1000px){.ew-bottom{grid-template-columns:1fr;gap:26px}.ew-stages{min-height:280px}.ew-meta>p{max-width:none}}
@media(max-width:760px){.ew{height:360vh}.ew-hud{padding:22px 24px 26px}.ew-tag{display:none}.ew-stages{min-height:330px}.ew-stage h2{font-size:38px;letter-spacing:-1.8px}.ew-stage p:not(.ew-step){font-size:13px;line-height:1.65}.ew-step{margin-bottom:14px}.ew-meta>p{font-size:8px;margin-top:12px}}
/* Base pieces the sequence borrows from the homepage styles, scoped so the
   story page can run on site.css alone. */
.ew .eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650}
.ew .signal{width:6px;height:6px;background:#b5c2a5;border-radius:50%;box-shadow:0 0 0 4px #b5c2a515}
.ew .btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 20px;background:var(--forest);color:var(--paper);font-size:13px;font-weight:600;white-space:nowrap;border-radius:999px}
.ew .btn.light{background:var(--stone);color:var(--ink)}.ew .btn.light:hover{background:#fff}
