/* Volt — layout. Breaker-board skeleton: header + status strip, full-bleed
   hero with ammeter and live wire, breaker-panel service cards, cable
   timeline, job cards, numbers strip. */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--volt);
  color: #101214; padding: 0.6rem 1rem; font-weight: 700; z-index: 50;
}
.skip:focus { left: 0; }

/* ---- top strips ---- */
.statusbar {
  background: #000; color: var(--volt);
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.45rem var(--pad); display: flex; justify-content: space-between; gap: 1rem;
}
.statusbar .dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--volt); margin-right: 0.5rem; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 18, 20, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.top-in { max-width: var(--max); margin: 0 auto; padding: 0.7rem var(--pad); display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; }
.brand .bolt { width: 2rem; height: 2rem; background: var(--volt); border-radius: 6px; display: grid; place-items: center; flex: none; }
.brand .bolt svg { width: 1.15rem; height: 1.15rem; }
.brand small { font-size: 0.68rem; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; display: block; line-height: 1; }
nav#nav { margin-left: auto; display: flex; align-items: center; gap: 0.2rem; }
nav#nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 0.5rem 0.8rem; border-radius: 8px;
}
nav#nav a:hover { background: var(--panel); }
nav#nav a[aria-current="page"] { color: var(--volt); }
.chip {
  background: var(--volt); color: #101214; font-family: var(--display);
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  padding: 0.55rem 0.95rem; border-radius: 999px; white-space: nowrap;
  border: 2px solid var(--volt);
}
.chip:hover { background: transparent; color: var(--volt); }
.lang {
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 0.8rem; border-radius: 999px; cursor: pointer;
}
.lang:hover { border-color: var(--volt); color: var(--volt); }
.menu { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-weight: 600; padding: 0.5rem 0.9rem; border-radius: 8px; cursor: pointer; }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--volt); color: #101214;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 10px;
  border: 2px solid var(--volt); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--volt); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--volt); color: var(--volt); }

/* ---- hero ---- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255,199,0,0.05), transparent 40%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max); margin: 0 auto; padding: 3.2rem var(--pad) 0;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.hero h1 {
  font-size: clamp(3rem, 8.2vw, 6.4rem); font-weight: 700;
  text-transform: uppercase; line-height: 0.94; letter-spacing: 0.005em;
}
.hero h1 .line { display: block; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--volt);
  text-stroke: 2px var(--volt);
}
.hero .lead { margin: 1.4rem 0 1.8rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }
.gauge {
  margin-top: 2rem; display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; background: var(--bg-2); max-width: 26rem;
}
.gauge svg { flex: none; }
.gauge .g-label { font-family: var(--display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gauge .g-value { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--volt); }
.gauge .g-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }
.hero-fig { position: relative; margin: 0; }
.hero-fig img {
  width: 100%; height: 100%; min-height: 26rem; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--line); border-bottom: 0;
}
.hero-fig::after {
  content: ""; position: absolute; inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  border: 2px solid var(--volt); border-radius: var(--radius) var(--radius) 0 0;
  z-index: -1; pointer-events: none;
}
.hero-card {
  position: absolute; left: -1.2rem; bottom: 1.4rem; z-index: 2;
  background: var(--volt); color: #101214; border-radius: 12px;
  padding: 0.9rem 1.1rem; max-width: 17rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.hero-card strong { font-family: var(--display); font-size: 1.05rem; display: block; }
.hero-card p { margin: 0.2rem 0 0; font-size: 0.92rem; line-height: 1.45; }
.hero-card a { color: #101214; font-weight: 700; white-space: nowrap; }

/* live wire: circuit trace along the bottom of the hero */
.wire { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.wire svg { display: block; width: 100%; height: 64px; }
.wire .trace { stroke: var(--line); stroke-width: 2; fill: none; }
.wire .node { fill: var(--panel); stroke: var(--volt); stroke-width: 2; }
.wire .pulse { fill: var(--volt); filter: drop-shadow(0 0 6px var(--volt)); }
.wire-label {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* ---- sections ---- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--line-soft); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.sec-head .lead { margin: 0; }

/* breaker strip */
.breakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.switch {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.1rem 1.1rem; text-align: left; cursor: pointer; color: var(--ink);
  font-family: var(--body); position: relative; transition: border-color 0.2s, background 0.2s;
}
.switch:hover { border-color: var(--volt); }
.switch .lever {
  width: 2.6rem; height: 1.5rem; border-radius: 999px; background: var(--line);
  position: relative; margin-bottom: 0.9rem; transition: background 0.2s;
}
.switch .lever::after {
  content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--ink); transition: transform 0.25s, background 0.2s;
}
.switch.on { background: var(--volt-soft); border-color: var(--volt); }
.switch.on .lever { background: var(--volt); }
.switch.on .lever::after { transform: translateX(1.1rem); background: #101214; }
.switch strong { font-family: var(--display); font-size: 1.05rem; display: block; margin-bottom: 0.25rem; }
.switch span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; display: block; }

/* service panel grid */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.breaker-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; min-height: 13rem;
  position: relative; overflow: hidden;
}
.breaker-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--line); transition: background 0.2s;
}
.breaker-card:hover::before { background: var(--volt); }
.breaker-card .num {
  font-family: var(--display); font-weight: 700; color: var(--volt);
  font-size: 0.85rem; letter-spacing: 0.18em;
}
.breaker-card h3 { margin-top: 0.7rem; font-size: 1.25rem; }
.breaker-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.breaker-card .price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--volt); }
.breaker-card .price small { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.breaker-card .tag {
  position: absolute; top: 1.1rem; right: 1.1rem; font-size: 0.72rem;
  font-family: var(--display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem;
}

/* cable timeline */
.cable { position: relative; padding-top: 1.2rem; }
.cable::before {
  content: ""; position: absolute; top: 2.2rem; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-top: 2.6rem; }
.steps .node {
  position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--volt); display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; color: var(--volt);
}
.steps li.active .node { background: var(--volt); color: #101214; }
.steps h3 { margin-bottom: 0.3rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }

/* jobs */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.job div { padding: 1.2rem 1.3rem 1.4rem; }
.job h3 { font-size: 1.15rem; }
.job p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: left; }
.numbers .stat { border-left: 3px solid var(--volt); padding-left: 1.1rem; }
.numbers .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; color: var(--volt); }
.numbers p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.95rem; }

/* filters + list rows (services page) */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filters button {
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 0.9rem;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--volt); color: #101214; border-color: var(--volt); }
.list-rows { margin: 0; }
.list-rows > div {
  display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1.5rem;
  padding: 1.3rem 0; border-top: 1px solid var(--line-soft); align-items: baseline;
}
.list-rows > div:last-child { border-bottom: 1px solid var(--line-soft); }
.list-rows dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.list-rows dt .desc { display: block; font-family: var(--body); font-weight: 400; font-size: 0.97rem; color: var(--muted); margin-top: 0.2rem; }
.list-rows dd { margin: 0; font-family: var(--display); font-weight: 700; color: var(--volt); font-size: 1.1rem; white-space: nowrap; }
.list-rows .tag {
  grid-column: 1; font-size: 0.72rem; font-family: var(--display); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.quote-note {
  margin-top: 2rem; border: 1px solid var(--volt); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; background: var(--volt-soft); color: var(--ink);
}
.quote-note strong { color: var(--volt); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.about-grid img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.team li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.team h3 { margin-bottom: 0.2rem; }
.team p { color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.values div { border-top: 3px solid var(--volt); padding-top: 1rem; }
.values p { color: var(--muted); }

/* contact */
.emergency-band {
  background: var(--volt); color: #101214; border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem;
}
.emergency-band h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.emergency-band p { margin: 0; max-width: 46rem; }
.emergency-band .btn { background: #101214; color: var(--volt); border-color: #101214; }
.emergency-band .btn:hover { background: transparent; color: #101214; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.hours { border-collapse: collapse; width: 100%; margin-top: 0.6rem; }
.hours td { padding: 0.55rem 0; border-top: 1px solid var(--line-soft); }
.hours td:last-child { text-align: right; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: 0.95rem; }
.form label span { display: block; margin-bottom: 0.35rem; }
.form label.wide { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; padding: 0.75rem 0.9rem; font: inherit;
}
.form input:focus, .form textarea:focus { border-color: var(--volt); outline: none; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--danger); }
.form .btn { grid-column: 1 / -1; }
.form .note { grid-column: 1 / -1; color: var(--muted); margin: 0; }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
.page-head .lead { margin-top: 1rem; }

/* footer */
.foot {
  border-top: 1px solid var(--line-soft); padding: 2rem var(--pad);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  color: var(--muted); font-size: 0.92rem; max-width: var(--max); margin: 0 auto;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.2rem; }
  .hero-fig img { min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero-fig::after { display: none; }
  .hero-card { left: 1rem; bottom: 1rem; }
  .breakers { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cable::before { display: none; }
  .steps li { padding-top: 2.6rem; }
  .jobs { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .team, .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu { display: block; margin-left: auto; }
  nav#nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column; align-items: stretch;
    padding: 0.8rem var(--pad) 1.2rem; border-bottom: 1px solid var(--line);
    margin-left: 0;
  }
  nav#nav.open { display: flex; }
  nav#nav a { padding: 0.7rem 0.2rem; border-top: 1px solid var(--line-soft); }
  .top-in { flex-wrap: wrap; position: relative; }
  .chip { display: none; }
  .statusbar span:last-child { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
  .breakers { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .list-rows > div { grid-template-columns: 1fr; }
  .list-rows dd { grid-column: 1; }
  .wire-label { display: none; }
  .gauge { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .statusbar .dot { animation: none; }
  .switch .lever::after { transition: none; }
  .wire .pulse { display: none; }
}
