/* =========================================================
   VicVolt — site styles
   World: monochrome brand (ink + cool concrete), Archivo
   variable width echoing the wide logotype, amber reserved
   for pilot lights / live indicators only.
   ========================================================= */

:root {
  --ink: #0b0b0c;
  --ink-2: #131416;
  --ink-3: #1c1d20;
  --steel: #2a2c30;
  --on-ink: #f3f3f1;
  --on-ink-mute: #a4a6aa;
  --line-ink: rgba(255, 255, 255, 0.12);

  --paper: #ededea;
  --paper-2: #e2e2de;
  --on-paper: #0b0b0c;
  --on-paper-mute: #53565b;
  --line-paper: rgba(11, 11, 12, 0.14);

  --gold: #ffb81c;
  --gold-hi: #ffe48a;
  --gold-lo: #f07400;
  --gold-ink: #b35f00; /* gold that holds contrast on light concrete */
  --gold-grad: linear-gradient(160deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  --night: #0a1322;
  --night-2: #0f1d33;
  --electric: #4c8dff;
  --pilot: var(--gold);
  --error: #ff8a73;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --semi: 112%;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-snap: cubic-bezier(0.34, 1.45, 0.64, 1);

  --radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #3a3c41 var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--pilot);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pilot); color: var(--ink); }
:focus-visible { outline: 2px solid var(--pilot); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #34363b; border-radius: 12px; border: 3px solid var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pilot); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-stretch: var(--wide);
  font-weight: 780;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.1vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.section-lede {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: var(--on-paper-mute);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* Pilot light — the only colour on the page */
.pilot {
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pilot);
  box-shadow: 0 0 0 3px rgba(255, 178, 30, 0.16);
}
.pilot--live { animation: pilot 2.8s ease-in-out infinite; }
@keyframes pilot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 178, 30, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(255, 178, 30, 0.05); }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-stretch: var(--semi);
  font-weight: 650;
  font-size: 0.8125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 0.75rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--on-ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.26); color: var(--on-ink); }
.btn--gold {
  background: var(--gold-grad);
  color: #1a1100;
  box-shadow: 0 8px 24px -10px rgba(255, 160, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold:active { transform: scale(0.97); }

.btn__arrow, .btn__icon { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #d9d9d5; }
  .btn--dark:hover { background: #26282b; }
  .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
  .btn--gold:hover { filter: brightness(1.06) saturate(1.05); box-shadow: 0 12px 30px -10px rgba(255, 160, 20, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 11, 12, 0.96); border-bottom-color: var(--line-ink); }
.header-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 148px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a, .header-phone {
  font-stretch: var(--semi);
  font-weight: 560;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-mute);
  transition: color 180ms ease;
}
.nav a:hover, .header-phone:hover { color: var(--on-ink); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-ink); background: transparent; border-radius: var(--radius); cursor: pointer; position: relative; }
.menu-btn__bars, .menu-btn__bars::before { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--on-ink); transition: transform 220ms var(--ease-out); }
.menu-btn__bars { top: 18px; }
.menu-btn__bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(-7px) rotate(-90deg); }
.mobile-menu { background: var(--ink); border-top: 1px solid var(--line-ink); padding: 12px 0 28px; }
.mobile-menu nav { display: grid; }
.mobile-menu a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-ink);
  font-stretch: var(--wide);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(116px, 14vw, 168px);
  padding-bottom: clamp(40px, 5vw, 64px);
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(255, 170, 30, 0.10), transparent 70%),
    radial-gradient(70% 60% at 10% 110%, rgba(76, 141, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #0b0f18 100%);
  overflow: hidden;
}
/* ---------- Hero pendants: the signature motion ---------- */
.hero { padding-top: clamp(190px, 19vw, 270px); }
.pendants {
  position: absolute; z-index: 0; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--wrap)); height: 100%;
  pointer-events: none;
}
.pendant {
  position: absolute; top: 0; left: var(--x); width: var(--w);
  transform-origin: 50% 0;
  transform: rotate(var(--lean, 0deg));
  transition: transform 1100ms var(--ease-out);
}
.pendant__body {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0;
  animation: sway var(--t) ease-in-out infinite alternate;
}
@keyframes sway { from { rotate: calc(var(--sway) * -1); } to { rotate: var(--sway); } }
.pendant__cord { display: block; width: 1.5px; height: var(--len); background: linear-gradient(180deg, #000 0%, #4a4c51 100%); }
.pendant__shade { display: block; width: var(--w); height: auto; aspect-ratio: 80 / 70; margin-top: -1px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6)); }
.pendant__bulb, .pendant__beam { position: absolute; left: 50%; top: calc(var(--len) + var(--w) * 0.8); opacity: 0; pointer-events: none; }
.pendant__bulb {
  width: calc(var(--w) * 0.82); height: 9px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff6dc, #ffd27a 55%, rgba(255, 170, 40, 0) 100%);
  box-shadow: 0 0 18px 6px rgba(255, 190, 80, 0.45);
}
.pendant__beam {
  width: calc(var(--w) * 6.5); height: min(560px, 62vh); transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 208, 128, 0.30) 0%, rgba(255, 184, 70, 0.11) 42%, rgba(255, 170, 40, 0) 88%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  filter: blur(7px);
  mix-blend-mode: screen;
}
.pendant__bulb, .pendant__beam {
  animation: lamp-on 1s var(--on) steps(1, end) forwards, breathe 5.5s calc(var(--on) + 1.2s) ease-in-out infinite;
}
/* the light reveals the headline */
.hero-title .line { animation: line-lit 900ms var(--ease-out) both; }
.hero-title .line:nth-child(1) { animation-delay: 0.75s; }
.hero-title .line:nth-child(2) { animation-delay: 1.3s; }
@keyframes line-lit { from { opacity: 0.22; } to { opacity: 1; } }
.hero.is-offscreen .pendant__body, .hero.is-offscreen .pendant__bulb, .hero.is-offscreen .pendant__beam { animation-play-state: paused; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero-loc {
  display: flex; align-items: center; gap: 12px;
  font-stretch: var(--semi);
  font-weight: 560;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-mute);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero-title {
  font-stretch: var(--wide);
  font-weight: 820;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.hero-title .line { display: block; }
.hero-title .line + .line { color: transparent; -webkit-text-stroke: 1.5px var(--on-ink); }
.hero-lede {
  max-width: 46ch;
  margin-top: clamp(28px, 3vw, 40px);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  color: var(--on-ink-mute);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 3.5vw, 48px); }

.hero-media { position: relative; margin: 0; }
.hero-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 40px 80px -40px rgba(255, 160, 20, 0.25);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
/* the pendant he is installing is on: a live glow that breathes over the baked light */
.lamp-glow {
  position: absolute; z-index: 1; left: 37.7%; top: 39.8%;
  width: 90%; aspect-ratio: 1.3; transform: translate(-50%, -38%);
  background: radial-gradient(closest-side, rgba(255, 200, 90, 0.55), rgba(255, 150, 20, 0.18) 45%, transparent 75%);
  mix-blend-mode: screen; pointer-events: none;
  opacity: 0;
}
.js .hero-photo.is-on .lamp-glow, html:not(.js) .lamp-glow { animation: lamp-on 1.1s 0.5s steps(1, end) forwards, breathe 5s 1.6s ease-in-out infinite; }
@keyframes lamp-on { 0% { opacity: 0.6; } 10% { opacity: 0; } 22% { opacity: 0.9; } 30% { opacity: 0.2; } 42%, 100% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.78; } }
.hero-bolt {
  position: absolute; z-index: 2;
  width: clamp(90px, 10vw, 150px); aspect-ratio: 2 / 3; height: auto;
  left: clamp(-80px, -5vw, -40px); top: 12%;
  filter: drop-shadow(0 10px 24px rgba(255, 150, 20, 0.45));
}
.hero-photo::after {
  /* grain to hold the low-res source together */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tag {
  position: absolute;
  left: -1px; bottom: 24px;
  display: grid; gap: 2px;
  padding: 12px 16px;
  background: var(--ink);
  border: 1px solid var(--line-ink);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tag__k { font-stretch: var(--semi); font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pilot); }
.tag__v { font-size: 0.875rem; color: var(--on-ink); }

/* Rating plate */
.plate {
  margin: clamp(56px, 7vw, 96px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-ink);
}
.plate__cell { padding: 28px 28px 8px 0; }
.plate__cell + .plate__cell { padding-left: 28px; border-left: 1px solid var(--line-ink); }
.plate dt {
  font-stretch: var(--wide);
  font-weight: 720;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plate dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--on-ink-mute); }

/* ---------- Services: the panel ---------- */
.services { background: var(--paper); color: var(--on-paper); padding-block: var(--section); }
.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.panel {
  position: relative;
  padding: 76px clamp(20px, 2.4vw, 32px) clamp(24px, 3vw, 36px);
  border-radius: 14px;
  background: linear-gradient(180deg, #1d1e21 0%, #141517 100%);
  color: var(--on-ink);
  box-shadow: 0 40px 70px -40px rgba(11, 11, 12, 0.55), 0 2px 6px rgba(11, 11, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.panel__plate {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 7px 14px;
  border: 1px solid var(--line-ink);
  border-radius: 4px;
  white-space: nowrap;
}
.panel__plate img { width: 70px; opacity: 0.9; }
.panel__plate span { font-stretch: var(--semi); font-size: 0.625rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-mute); }
.screw {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #55585e, #26282c 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5.5px; height: 1px; background: #0e0f10; transform: rotate(35deg); }
.screw--tl { top: 14px; left: 14px; } .screw--tr { top: 14px; right: 14px; }
.screw--bl { bottom: 14px; left: 14px; } .screw--br { bottom: 14px; right: 14px; }
.panel__bus {
  position: absolute; top: 72px; bottom: 30px; left: 50%; width: 6px; transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, #3a3c40, #2a2c30);
}
.breakers {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.breaker {
  width: 100%;
  display: grid;
  grid-template-columns: 18px 62px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 14px 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: #0f1012;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 140ms var(--ease-out);
}
.breaker:active { transform: scale(0.98); }
.breaker__no { font-stretch: var(--semi); font-size: 0.6875rem; font-weight: 600; color: #6c6f75; font-variant-numeric: tabular-nums; text-align: right; }
.breaker__body {
  position: relative; height: 30px; border-radius: 5px;
  background: #050506;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.breaker__handle {
  position: absolute; top: 4px; left: 4px; width: 27px; height: 22px; border-radius: 3px;
  background: linear-gradient(180deg, #45484d, #2b2d31);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 280ms var(--ease-snap), background 200ms ease;
}
.breaker__handle::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; margin-left: -0.75px; background: rgba(0, 0, 0, 0.35); }
.breaker__label {
  font-stretch: 100%;
  font-weight: 640;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b9bbbf;
  line-height: 1.25;
  transition: color 180ms ease;
}
.breaker__lamp { width: 8px; height: 8px; border-radius: 50%; background: #2a2b2e; transition: background-color 200ms ease, box-shadow 200ms ease; }
.breaker[aria-pressed="true"] { border-color: rgba(255, 255, 255, 0.18); background: #17181b; }
.breaker[aria-pressed="true"] .breaker__handle { transform: translateX(27px); background: linear-gradient(180deg, #f4f4f1, #cfcfcb); }
.breaker[aria-pressed="true"] .breaker__label { color: var(--on-ink); }
.breaker[aria-pressed="true"] .breaker__lamp { background: var(--pilot); box-shadow: 0 0 0 3px rgba(255, 178, 30, 0.18), 0 0 10px rgba(255, 178, 30, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .breaker:hover { border-color: rgba(255, 255, 255, 0.2); }
  .breaker:hover .breaker__label { color: var(--on-ink); }
}

.readout { position: sticky; top: 112px; padding-top: 8px; }
.readout__circuit {
  display: flex; align-items: center; gap: 10px;
  font-stretch: var(--semi); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-paper-mute);
}
.readout__title {
  margin-top: 20px;
  font-stretch: var(--wide); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.readout__text { margin-top: 20px; max-width: 46ch; color: var(--on-paper-mute); }
.readout__list { margin: 28px 0 36px; border-top: 1px solid var(--line-paper); }
.readout__list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line-paper);
  font-size: 0.9375rem;
}
.readout__list li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--on-paper); transform: translateY(-2px); }
.readout [data-r-title], .readout [data-r-text], .readout [data-r-list] { transition: opacity 220ms ease, filter 220ms ease, transform 220ms var(--ease-out); }
.readout.is-switching [data-r-title], .readout.is-switching [data-r-text], .readout.is-switching [data-r-list] { opacity: 0; filter: blur(3px); transform: translateY(4px); }

/* ---------- Process: the wire ---------- */
.process {
  position: relative;
  padding-block: var(--section);
  background:
    radial-gradient(80% 60% at 50% 120%, rgba(76, 141, 255, 0.22), transparent 70%),
    radial-gradient(40% 40% at 90% 0%, rgba(255, 184, 28, 0.08), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.process .section-lede { color: #a9b3c4; }
.process .wire__step p, .process .wire__step h3::before { color: #a9b3c4; }
.wire {
  --node: 16px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.wire::before, .wire::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--node) / 2 - 1px); height: 2px;
}
.wire::before { background: rgba(255, 255, 255, 0.12); }
.wire::after { background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-hi)); box-shadow: 0 0 14px rgba(255, 184, 28, 0.5); transform-origin: left; transform: scaleX(var(--wire-progress, 1)); }
.wire__step { position: relative; z-index: 1; counter-increment: step; padding-right: 8px; }
.wire__node {
  display: block; width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--night); border: 2px solid var(--pilot);
  transition: background-color 240ms ease, border-color 240ms ease;
}
.wire__step.is-lit .wire__node { background: var(--pilot); }
.wire__step h3 {
  margin-top: 36px;
  font-stretch: var(--wide); font-weight: 740; text-transform: uppercase; font-size: 1.0625rem; letter-spacing: 0.01em; line-height: 1.2;
}
.wire__step h3::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  font-stretch: var(--semi); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--on-ink-mute);
  font-variant-numeric: tabular-nums;
}
.wire__step p { margin-top: 12px; color: var(--on-ink-mute); font-size: 0.9875rem; max-width: 30ch; }

/* ---------- Crew ---------- */
.crew { background: var(--paper); color: var(--on-paper); padding-block: var(--section); }
.crew-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}
.crew-photo { margin: 0; position: relative; }
.crew-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 40%; border-radius: 4px; background: #cfcfcb; }
.crew-photo figcaption {
  margin-top: 14px;
  font-stretch: var(--semi); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-paper-mute);
}
.crew-copy .h2 { margin-bottom: 32px; }
.crew-copy > p { max-width: 54ch; color: var(--on-paper-mute); }
.crew-copy > p + p { margin-top: 18px; }
.founder { position: relative; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line-paper); }.founder p {
  font-stretch: var(--semi); font-weight: 560;
  font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 30ch; text-wrap: balance;
}
.founder footer { margin-top: 20px; display: flex; gap: 12px; align-items: baseline; font-size: 0.9375rem; }
.founder footer span { color: var(--on-paper-mute); }

/* ---------- Coverage ---------- */
.coverage { background: var(--paper); color: var(--on-paper); padding-bottom: var(--section); }
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px);
  padding-top: var(--section);
  border-top: 1px solid var(--line-paper);
}
.coverage-grid .h2 { margin-bottom: 28px; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.coverage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 48px); align-self: start; }
.coverage-list li { padding: 24px 0 28px; border-top: 1px solid var(--line-paper); }
.coverage-list h3 { font-stretch: var(--wide); font-weight: 740; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.01em; }
.coverage-list p { margin-top: 10px; color: var(--on-paper-mute); font-size: 0.9875rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--paper-2); color: var(--on-paper); padding-block: var(--section); }
.reviews .h2 { margin-bottom: clamp(48px, 6vw, 80px); }
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
  gap: 0 clamp(36px, 6vw, 100px);
}
.review { margin: 0; padding: 28px 0 32px; border-top: 1px solid var(--line-paper); }
.review--lead { grid-row: span 2; border-top: 2px solid var(--on-paper); }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.review--lead blockquote {
  font-stretch: var(--semi); font-weight: 520;
  font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -0.012em;
  text-wrap: pretty;
}
.review figcaption { margin-top: 22px; display: flex; gap: 12px; align-items: baseline; font-size: 0.9375rem; }
.review figcaption span { color: var(--on-paper-mute); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); color: var(--on-paper); padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 100px); }
.faq-list { border-top: 1px solid var(--line-paper); }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-stretch: var(--semi); font-weight: 620; font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform 240ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { max-width: 62ch; padding: 0 40px 28px 0; color: var(--on-paper-mute); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: #3a3c40; } }

/* ---------- Estimate ---------- */
.estimate {
  padding-block: var(--section);
  background:
    radial-gradient(50% 50% at 0% 0%, rgba(255, 184, 28, 0.10), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, rgba(76, 141, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
}
.estimate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.estimate .section-lede { color: #a9b3c4; margin-top: 24px; }
.estimate .form { background: rgba(8, 14, 26, 0.72); border-color: rgba(140, 170, 220, 0.18); }
.estimate .field input, .estimate .field select, .estimate .field textarea { background: #070c16; border-color: rgba(140, 170, 220, 0.2); }.contact-lines { margin-top: 48px; border-top: 1px solid var(--line-ink); }
.contact-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-ink); flex-wrap: wrap; }
.contact-lines__k { font-stretch: var(--semi); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-mute); }
.contact-lines a { font-stretch: var(--semi); font-weight: 620; font-size: 1.0625rem; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color 180ms ease; }
.contact-lines a:hover { text-decoration-color: var(--pilot); }

.form {
  display: grid; gap: 20px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-radius: 10px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-stretch: var(--semi); font-size: 0.75rem; font-weight: 620; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-mute); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: #7b7e83; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--on-ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field ::placeholder { color: #7b7e83; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pilot); box-shadow: 0 0 0 3px rgba(255, 178, 30, 0.18); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--on-ink-mute); border-bottom: 1.6px solid var(--on-ink-mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select option { background: var(--ink-2); }
.field__error { display: none; font-size: 0.8125rem; color: var(--error); }
.field.is-invalid input { border-color: var(--error); }
.field.is-invalid .field__error { display: block; }
.form__note { font-size: 0.8125rem; color: var(--on-ink-mute); text-align: center; }
.form__note.is-ok { color: var(--on-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: clamp(64px, 8vw, 120px) 0 40px; border-top: 1px solid var(--line-ink); }
.footer-mark { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.footer-logo { flex: 1; min-width: 0; width: 100%; height: auto; opacity: 0.96; }
.footer-bolt { flex: none; width: clamp(40px, 7vw, 96px); aspect-ratio: 2 / 3; height: auto; filter: drop-shadow(0 8px 24px rgba(255, 150, 20, 0.4)); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-ink);
  font-size: 0.875rem; color: var(--on-ink-mute);
}
.footer-row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--on-ink); }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; grid-template-columns: 1fr 1.6fr; gap: 8px;
  padding: 8px; border-radius: 12px;
  background: rgba(19, 20, 22, 0.97); border: 1px solid var(--line-ink);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(calc(100% + 24px));
  transition: transform 320ms var(--ease-out);
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 8px;
  font-stretch: var(--semi); font-weight: 650; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.action-bar svg { width: 18px; height: 18px; }
.action-bar__call { border: 1px solid rgba(255, 255, 255, 0.22); }
.action-bar__est { background: var(--on-ink); color: var(--ink); }

/* ---------- Motion: lights switching on ---------- */
.js [data-reveal-img] img { opacity: 0; }
.js [data-reveal-img].is-on img { animation: switch-on 900ms steps(1, end) forwards, settle 900ms var(--ease-out) forwards; }
@keyframes switch-on {
  0% { opacity: 0.25; }
  12% { opacity: 0; }
  20% { opacity: 0.6; }
  28% { opacity: 0.1; }
  36% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes settle { from { filter: brightness(1.35) contrast(0.9); } to { filter: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-grid, .panel-layout, .crew-grid, .coverage-grid, .faq-grid, .estimate-grid, .section-head, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 520px; }
  .readout { position: static; }
  .review--lead { grid-row: auto; }
  .plate { grid-template-columns: 1fr 1fr; }
  .plate__cell:nth-child(3) { padding-left: 0; border-left: 0; }
  .plate__cell:nth-child(n+3) { border-top: 1px solid var(--line-ink); }
  .wire { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .wire::before, .wire::after { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .header-phone, .header-actions .btn { display: none; }
  .brand img { width: 128px; }
  .header-row { height: 64px; }
  .hero-title .line + .line { -webkit-text-stroke-width: 1.2px; }
  .hero { padding-top: 200px; }
  .pendant:nth-child(1) { left: 10%; }
  .pendant:nth-child(2) { left: 58%; }
  .pendant:nth-child(3) { display: none; }
  .pendant__beam { height: 420px; }
  .hero-actions .btn { width: 100%; }
  .breakers { grid-template-columns: 1fr; }
  .panel__bus { display: none; }
  .wire { grid-template-columns: 1fr; row-gap: 0; padding-left: 0; }
  .wire__step { display: grid; grid-template-columns: var(--node) 1fr; column-gap: 20px; padding-bottom: 36px; }
  .wire__step::before { content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: 0; width: 2px; background: var(--steel); }
  .wire__step:last-child::before { display: none; }
  .wire__step.is-lit::before { background: var(--pilot); }
  .wire__step h3 { margin-top: 0; grid-column: 2; }
  .wire__step p { grid-column: 2; }
  .wire__node { grid-row: span 2; }
  .coverage-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .action-bar { display: grid; }
  .site-footer { padding-bottom: 104px; }
  .contact-lines li { display: grid; gap: 4px; }
}
@media (max-width: 420px) {
  .plate { grid-template-columns: 1fr; }
  .plate__cell + .plate__cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pilot--live { animation: none; }
  .js [data-reveal-img].is-on img { animation: fade 300ms ease forwards; }
  .breaker__handle { transition-duration: 0ms; }
  .lamp-glow { animation: none !important; opacity: 1; }
  .pendant__body, .hero-title .line { animation: none !important; }
  .pendant__bulb, .pendant__beam { animation: none !important; opacity: 1; }
  .pendant { transition: none; }
  .wire::after { transform: none; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
