/* ============================================================
   MOORE ELECTRIC — "HIGH VOLTAGE" design system
   phoenix-oct7 radical rebuild. Dark, electric, kinetic.
   ============================================================ */

:root {
  --bg: #060607;
  --bg-2: #0b0b0d;
  --bg-3: #121215;
  --ink: #f4f1e8;
  --ink-dim: rgba(244, 241, 232, 0.62);
  --ink-faint: rgba(244, 241, 232, 0.34);
  --volt: #ffd400;
  --volt-deep: #e0b400;
  --blue: #00c2ff;
  --red: #ff453a;
  --line: rgba(244, 241, 232, 0.1);
  --line-strong: rgba(244, 241, 232, 0.2);
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --nav-h: 64px;
  --max: 1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-motion { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--volt); color: #000; }

/* film-grain + vignette overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { position: relative; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--volt); display: inline-block; }
.lede { color: var(--ink-dim); font-size: 17px; max-width: 56ch; }

/* kinetic word-split: JS wraps words in masked spans; hidden until .js */
.js .k-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .k-word { display: inline-block; transform: translateY(115%); will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 18px 30px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
  position: relative; white-space: nowrap;
  will-change: transform;
}
.btn-volt { background: var(--volt); color: #0a0a0a; box-shadow: 0 0 0 rgba(255, 212, 0, 0); }
.btn-volt:hover { box-shadow: 0 0 42px rgba(255, 212, 0, 0.45); background: #ffdb33; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { box-shadow: 0 0 42px rgba(255, 69, 58, 0.5); }
.btn-sm { padding: 12px 20px; font-size: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 6, 7, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { width: min(var(--max), 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; }
.brand .bolt { color: var(--volt); font-size: 26px; line-height: 1; }
.brand small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--ink-faint); display: block; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--volt); }
.nav-call { display: inline-flex; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 24px) 0 48px;
  position: relative; overflow: clip;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.08); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,6,7,0.72) 0%, rgba(6,6,7,0.25) 40%, rgba(6,6,7,0.94) 100%),
    radial-gradient(120% 60% at 50% 110%, rgba(255,212,0,0.14), transparent 60%);
}
.hero-kicker { margin-bottom: 18px; }
.hero h1 { font-size: clamp(64px, 15vw, 196px); color: var(--ink); }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--volt); }
.hero-sub { margin-top: 22px; max-width: 46ch; color: var(--ink-dim); font-size: clamp(16px, 2.4vw, 20px); }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-micro { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.06em; }
.hero-stats {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.stat b { display: block; font-family: var(--font-display); font-size: clamp(28px, 5vw, 44px); color: var(--volt); letter-spacing: 0.02em; }
.stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.scroll-hint { position: absolute; right: 24px; bottom: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ink-faint); writing-mode: vertical-rl; display: none; }
@media (min-width: 900px) { .scroll-hint { display: block; } }

/* hero power-on flicker */
@keyframes powerflicker {
  0% { filter: brightness(2.2) saturate(0.4); }
  18% { filter: brightness(0.6); }
  32% { filter: brightness(1.8); }
  46% { filter: brightness(0.8); }
  60% { filter: brightness(1.5); }
  100% { filter: brightness(1); }
}
.hero.power-flash .hero-bg img { animation: powerflicker 0.55s steps(2, end); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 30s linear infinite; }
.ticker span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); padding: 0 28px; white-space: nowrap; }
.ticker span i { color: var(--volt); font-style: normal; padding-right: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- bento services ---------- */
.section-pad { padding: 96px 0; }
@media (min-width: 900px) { .section-pad { padding: 140px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(44px, 8vw, 104px); }
.sec-head h2 em { font-style: normal; color: var(--volt); }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.card {
  position: relative; overflow: clip; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; isolation: isolate;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(255, 212, 0, 0.5); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s; }
.card:hover img { transform: scale(1.06); opacity: 0.7; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,6,7,0.1) 30%, rgba(6,6,7,0.92) 100%); }
.card-body { padding: 24px; }
.card-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--volt); text-transform: uppercase; }
.card h3 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; line-height: 1; margin: 10px 0 8px; }
.card p { color: var(--ink-dim); font-size: 14px; max-width: 34ch; }
.card .go { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.card:hover .go { color: var(--volt); }
@media (min-width: 700px) {
  .card.tall { grid-column: span 3; grid-row: span 2; min-height: 520px; }
  .card.wide { grid-column: span 3; }
  .card.std { grid-column: span 2; }
  .card.sq { grid-column: span 3; }
}
.card.flash { border-color: rgba(255, 69, 58, 0.55); }
.card.flash .card-tag { color: var(--red); }

/* ---------- statement / about ---------- */
.statement { background: var(--bg-2); border-block: 1px solid var(--line); overflow: clip; }
.statement .big { font-size: clamp(40px, 7.5vw, 110px); max-width: 14ch; }
.statement .big .hl { color: var(--volt); }
.about-grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.creed { list-style: none; margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creed li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; font-size: 16px; }
.creed li b { font-family: var(--font-mono); color: var(--volt); font-size: 12px; }
.about-photo { border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); position: relative; min-height: 320px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-photo figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; background: rgba(6,6,7,0.75); padding: 8px 12px; border-radius: 8px; color: var(--ink-dim); }

/* ---------- gallery ---------- */
.g-head h2 { font-size: clamp(44px, 8vw, 104px); }
.g-head h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 20px; margin: 36px -20px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .rail { grid-auto-columns: 380px; } }
.shot { scroll-snap-align: start; border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); position: relative; aspect-ratio: 4/5; background: var(--bg-3); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(6,6,7,0.9)); font-size: 14px; color: var(--ink); }
.shot figcaption small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--volt); text-transform: uppercase; margin-bottom: 4px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 9900; background: rgba(4,4,5,0.96); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 20px; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1100px); max-height: 76vh; border-radius: 10px; border: 1px solid var(--line-strong); object-fit: contain; }
.lb-cap { font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); text-align: center; max-width: 60ch; }
.lb-nav { display: flex; gap: 12px; align-items: center; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: border-color 0.2s, color 0.2s; }
.lb-btn:hover { border-color: var(--volt); color: var(--volt); }
.lb-count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.2em; }
.lb-close { position: absolute; top: 18px; right: 18px; }

/* ---------- reviews ---------- */
.reviews { background: var(--bg-2); border-block: 1px solid var(--line); }
.plat-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 40px; }
.plat { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 20px; background: var(--bg-3); }
.plat b { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.02em; }
.plat.fb b { color: var(--blue); }
.plat.ha b { color: var(--volt); }
.plat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.rev-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; transition: border-color 0.3s, transform 0.3s; }
.rev:hover { border-color: rgba(0, 194, 255, 0.4); transform: translateY(-4px); }
.rev .stars { color: var(--volt); letter-spacing: 4px; font-size: 15px; }
.stars-partial { position: relative; display: inline-block; line-height: 1; }
.stars-partial .stars-bg { color: rgba(255,212,0,.22); }
.stars-partial .stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--volt); }
.stars-partial .stars-num { margin-left: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink); vertical-align: 2px; }
.rev blockquote { font-size: 16px; line-height: 1.65; color: var(--ink); }
.rev footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev .who { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.rev .who small { display: block; color: var(--ink-faint); font-size: 11px; }
.rev .src { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(0,194,255,0.35); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.rev-cta { margin-top: 40px; text-align: center; }
.rev-cta p { font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); letter-spacing: 0.08em; margin-bottom: 18px; }

/* ---------- areas ---------- */
.area-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; text-decoration: none; position: relative; min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.5; transition: transform 0.6s, opacity 0.4s; }
.area-card:hover img { transform: scale(1.05); opacity: 0.65; }
.area-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(6,6,7,0.94) 100%); }
.area-card div { padding: 28px; }
.area-card h3 { font-family: var(--font-display); font-size: clamp(38px, 6vw, 64px); text-transform: uppercase; line-height: 0.95; }
.area-card p { color: var(--ink-dim); margin-top: 10px; max-width: 40ch; }
.town-list { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; color: var(--ink-dim); }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 22px 4px; font-size: 18px; font-weight: 600; }
.faq-q .pm { font-family: var(--font-mono); color: var(--volt); font-size: 22px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-dim); max-width: 68ch; }
.faq-a-inner strong { color: var(--volt); }
.faq-a-inner .mini-cta { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--volt); }

/* ---------- quote form ---------- */
.quote { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.quote-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.quote h2 { font-size: clamp(48px, 8vw, 110px); }
.quote h2 em { font-style: normal; color: var(--volt); }
.form { display: grid; gap: 16px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--ink); padding: 14px 16px; font: inherit; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.18); }
.field textarea { min-height: 120px; resize: vertical; }
.form .row2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); text-align: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 90px 0 130px; background: #040405; position: relative; overflow: clip; }
.footer .mega { font-size: clamp(56px, 13vw, 190px); line-height: 0.9; }
.footer .mega em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--volt); }
.foot-grid { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.foot-grid a.big { font-size: 24px; font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 6px; }
.foot-grid a.big:hover { color: var(--volt); }
.foot-grid p, .foot-grid li { color: var(--ink-dim); font-size: 15px; list-style: none; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid ul a { text-decoration: none; color: var(--ink-dim); }
.foot-grid ul a:hover { color: var(--volt); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-faint); }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950;
  display: flex; gap: 10px;
  background: rgba(10, 10, 12, 0.9); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 10px;
  transform: translateY(140%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.callbar.show { transform: translateY(0); }
.callbar a { flex: 1; text-align: center; text-decoration: none; font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; padding: 15px 8px; border-radius: 12px; }
.callbar .cb-call { background: var(--volt); color: #0a0a0a; }
.callbar .cb-est { border: 1px solid var(--line-strong); color: var(--ink); }
@media (min-width: 760px) { .callbar { display: none; } }

/* ---------- power-on overlay ---------- */
.poweron { position: fixed; inset: 0; z-index: 9999; background: #020203; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 34px; cursor: pointer; }
.poweron.done { pointer-events: none; }
.breaker { width: 120px; height: 190px; border: 2px solid var(--line-strong); border-radius: 18px; background: #0d0d10; position: relative; display: flex; align-items: center; justify-content: center; }
.breaker .slot { width: 54px; height: 110px; border-radius: 10px; background: #000; border: 1px solid var(--line); position: relative; overflow: hidden; }
.breaker .lever { position: absolute; left: 4px; right: 4px; top: 56px; height: 48px; border-radius: 8px; background: linear-gradient(180deg, #3a3a40, #1c1c20); border: 1px solid var(--line-strong); transition: top 0.18s cubic-bezier(0.6, -0.2, 0.4, 1.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); }
.breaker.on .lever { top: 6px; background: linear-gradient(180deg, var(--volt), var(--volt-deep)); color: #000; box-shadow: 0 0 30px rgba(255, 212, 0, 0.7); }
.poweron .po-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-dim); }
.poweron .po-bolt { width: 72px; height: 110px; opacity: 0.25; }
.poweron.lit .po-label { color: var(--volt); }
.poweron .po-bolt path { stroke: var(--volt); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flash-veil { position: fixed; inset: 0; z-index: 9998; background: #fff8dc; opacity: 0; pointer-events: none; }

/* ---------- custom cursor (desktop, fine pointer only) ---------- */
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9995; border-radius: 50%; }
  .cursor-dot { width: 8px; height: 8px; background: var(--volt); transform: translate(-50%, -50%); }
  .cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(255, 212, 0, 0.55); transform: translate(-50%, -50%); transition: width 0.25s, height 0.25s, border-color 0.25s; }
  .cursor-ring.hovering { width: 64px; height: 64px; border-color: var(--volt); }
}

/* ---------- subpage hero ---------- */
.subhero { min-height: 82svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 56px; position: relative; overflow: clip; isolation: isolate; }
.subhero .hero-bg img { opacity: 0.42; }
.subhero h1 { font-size: clamp(52px, 11vw, 140px); }
.crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--volt); }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px); text-transform: uppercase; margin: 56px 0 18px; line-height: 1; }
.prose h2 em { font-style: normal; color: var(--volt); }
.prose p { color: var(--ink-dim); margin-bottom: 16px; font-size: 17px; }
.prose ul { margin: 18px 0 26px 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.prose ul li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.prose ul li::before { content: "⚡"; position: absolute; left: 0; color: var(--volt); }
.prose ol { margin: 18px 0 26px 22px; display: grid; gap: 12px; color: var(--ink-dim); }
.prose ol li::marker { color: var(--volt); font-family: var(--font-mono); }
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 30px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-2); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 40px; color: var(--volt); line-height: 1; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-dim); font-size: 15px; }
.related { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.rel-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; background: var(--bg-2); transition: border-color 0.3s, transform 0.3s; }
.rel-card:hover { border-color: rgba(255,212,0,0.5); transform: translateY(-4px); }
.rel-card h3 { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.rel-card p { color: var(--ink-dim); font-size: 14px; }
.emergency-strip { background: var(--red); color: #fff; border-radius: var(--radius); padding: 32px; margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.emergency-strip h2 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 54px); text-transform: uppercase; line-height: 1; }
.emergency-strip p { opacity: 0.9; margin-top: 8px; }
.emergency-strip .btn { background: #fff; color: #111; }

/* ---------- reveal defaults (JS-gated so no-JS shows content) ---------- */
.js .rv { opacity: 0; transform: translateY(36px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- accessibility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -60px; left: 12px; z-index: 99999; background: var(--volt); color: #000; font-family: var(--font-mono); font-size: 13px; padding: 12px 18px; border-radius: 8px; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .js .rv, .js .k-word { opacity: 1 !important; transform: none !important; }
  .ticker-track { animation: none; }
  .poweron { display: none !important; }
}
