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

:root {
  color-scheme: dark; /* a11y Dec 2, 2026: site is dark by design — declare it so UA chrome, scrollbars and form controls render dark */
  --bg: #0d0d10; /* eased Dec 4, 2026: near-black lifted per Dev — same family, softer */
  --bg-2: #121218;
  --bg-3: #1a1a20;
  --ink: #f4f1e8;
  --ink-dim: rgba(244, 241, 232, 0.62);
  --ink-faint: rgba(244, 241, 232, 0.56); /* a11y Dec 2, 2026: was 0.34 = 2.76:1 on --bg (AA fail); 0.56 = ~5.9:1 */
  --volt: #ffd400;
  --volt-deep: #e0b400;
  --blue: #00c2ff;
  --red: #ff453a;
  --sunset: #ff7a3c;
  --amber: #f0a22e;
  --coral: #ff6b5e;
  --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.
   Vertical mask padding (cancelled by equal negative margins, so layout is
   unchanged) gives glyphs room the tight 0.92 line-height denies them:
   without the top room the mask shaves stacked diacritics (VI) and acute
   accents (ES) off animated headlines; without enough bottom room it
   shaves below-baseline dots (e.g. VI Ệ). */
.js .k-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-top: 0.16em; margin-top: -0.16em; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.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); }
/* Red pop (Dec 3, 2026): the emergency "get help" action wears the emergency
   card's pattern — Moore red #E7364A outline + red text. */
.btn-alert { border-color: #E7364A; color: #E7364A; }
.btn-alert:hover { border-color: #E7364A; color: #E7364A; box-shadow: 0 0 42px rgba(231, 54, 74, 0.35); }
.btn-red { background: var(--red); color: #0a0a0a; border-color: rgba(255, 69, 58, 0.65); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), inset 0 -2px 0 rgba(0, 0, 0, 0.18); } /* a11y Dec 2, 2026: white on --red was 3.41:1 (AA fail at 14px bold); near-black is 6.16:1. Border + inset definition from PR #62 (Dec 4 port), adapted to keep the canonical near-black text. */
.btn-red:hover { box-shadow: 0 0 42px rgba(255, 69, 58, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14); border-color: rgba(255, 69, 58, 0.9); }
.btn-sm { padding: 12px 20px; font-size: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  /* Safe-area floor (Dec 3, 2026): with viewport-fit=cover the bar takes the
     full screen width of the island zone; its content floor IS the inset —
     nothing stacks on top of it, so the header rides up to the camera island. */
  padding-top: env(safe-area-inset-top);
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  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(13, 13, 16, 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 .bolt-mark { width: 44px; height: 44px; display: block; }
.brand small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--ink-faint); display: block; }
/* Header recompose (Dec 4, 2026, Dev's orders): the lockup is one composed
   stack — name / city spelled out / tagline in volt — flanked by the
   canonical mark on BOTH sides of the wordmark (Dev, ~7:24 AM: the second
   emblem belongs on the other side of the MOORE ELECTRIC text, not pushed
   to the far side of the screen; both emblems a little larger). The
   language flags take the top-right of the bar. */
.brand { flex-shrink: 0; }
.brand .brand-text { line-height: 1.18; white-space: nowrap; }
.brand .brand-tag { color: var(--volt); margin-top: 2px; }
/* Canonical bolt (Dec 3, 2026): the bolt extracted from the mark (assets/images/bolt.svg) replaces every stock bolt glyph. */
.bolt-logo { height: 1.15em; width: auto; vertical-align: -0.18em; }
.btn .bolt-logo { height: 1.05em; margin-right: 0.35em; }
.ticker span i .bolt-logo { height: 1.35em; vertical-align: -0.34em; }
/* Footer logo: the canonical mark, carried at the top of the footer (Dec 3, 2026). */
.footer .foot-mark { width: 42px; height: 42px; display: block; margin-bottom: 16px; }
.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; } }
/* Mobile header fit (<=720px, the lang switcher's own breakpoint): the single
   row's min-content (~555px) overflows phone viewports, pushing the language
   bubbles off the right edge, and the stacked 3-line brand (~85px at the
   inherited 1.6 line-height) overflows the fixed 64px nav height, clipping
   the top of "MOORE". Let the header grow, wrap the switcher onto its own
   right-aligned row, and tighten the brand so its block fits the bar. */
@media (max-width: 720px) {
  .nav { height: auto; min-height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-block: env(safe-area-inset-top) 6px; }
  /* Scrolled state rides tighter (Dec 3, 2026): same inset floor on top,
     less slack below and between rows — the bar's faded background still
     extends to the screen edge behind the island. */
  .nav.scrolled { padding-block: env(safe-area-inset-top) 4px; }
  .nav.scrolled .nav-inner { gap: 6px 16px; }
  .nav-inner { flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 17.5px; line-height: 1.1; order: 1; }
  .brand .bolt { font-size: 22px; }
  .brand .bolt-mark { width: 34px; height: 34px; }
  .brand small { font-size: 7.5px; letter-spacing: 0.22em; line-height: 1.1; }
  .brand .brand-tag { margin-top: 0; }
  /* flags hold the top row's right side (Dev, ~7:24 AM: flags back where
     they belong at the top); the call pill wraps below */
  .nav-inner .lang-switch { order: 2; margin-left: auto; }
  /* the 3-line lockup is taller than the old 2-line brand: tighten the row
     gap and give the hero back its clearance — the kicker's top edge IS the
     hero padding-top (measured: nav bottom 98 vs kicker top 88 before this
     compensation) */
  .nav-inner { row-gap: 6px; }
  .nav-call { padding: 8px 14px; order: 3; }
}
/* Small phones (<=374px): the flanked lockup + four flags cannot share the
   top row — flags take the call row's right side instead of wrapping loose. */
@media (max-width: 374px) {
  .nav-call { order: 2; }
  .nav-inner .lang-switch { order: 3; }
  .share-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .share-label { grid-column: 1 / -1; margin-right: 0; }
  .share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .share-row .share-btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top)) 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(13,13,16,0.72) 0%, rgba(13,13,16,0.25) 40%, rgba(13,13,16,0.94) 100%),
    radial-gradient(90% 45% at 78% 108%, rgba(255,122,60,0.20), transparent 65%),
    radial-gradient(120% 60% at 50% 110%, rgba(255,212,0,0.14), transparent 60%);
}
.hero-kicker { margin-bottom: 18px; }
/* Phones (Dec 4, 2026): the composed 3-line brand stack makes the fixed
   header ~98px tall; the hero's kicker top edge is its padding-top, so the
   padding grows to keep the kicker clear of the bar (see the <=360px rule
   below for the three-row header). */
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--nav-h) + 44px + env(safe-area-inset-top)); }
}
.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; }
.moore-more { font-family: var(--font-display); font-size: clamp(22px, 4vw, 34px); color: var(--volt); letter-spacing: 0.05em; margin-top: 14px; }
.emergency-alert { color: var(--red); font-size: clamp(15px, 2.6vw, 19px); font-weight: 700; letter-spacing: 0.03em; }
.emergency-red { color: var(--red); font-weight: 700; }
.faq-a-inner .mini-cta.emergency-red { color: var(--red); border-bottom-color: var(--red); font-weight: 700; }
.card.flash .go { color: var(--red); font-weight: 700; }
.coast-map { margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d2836; }
.coast-map svg { display: block; width: 100%; height: auto; }
.coast-map .map-cap { margin: 0; padding: 14px 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-dim); background: #0a0e14; }
.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); }

/* ---------- topo contour motif + coast accents ---------- */
.topo { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-image: url('../images/topo.svg'); background-size: cover; background-position: center; background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(85% 85% at 50% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(85% 85% at 50% 42%, #000 25%, transparent 78%); }
.em-sunset { font-style: normal; color: var(--sunset); }
.stroke-sunset { color: transparent; -webkit-text-stroke: 2px var(--sunset); }
#areas { position: relative; overflow: clip; }

/* ---------- 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(13,13,16,0.1) 30%, rgba(13,13,16,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(13,13,16,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 0 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-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.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(13,13,16,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-wrap { display: inline-flex; align-items: center; gap: 10px; }
.stars-partial { position: relative; display: inline-block; line-height: 1; white-space: nowrap; }
.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-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink); }
.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(13,13,16,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; }

/* ---------- 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; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q .pm { font-family: var(--font-mono); color: var(--volt); font-size: 22px; flex-shrink: 0; transition: transform 0.3s; }
details.faq-item[open] .faq-q .pm { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
details.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.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: #0a0a0d; 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 a.big.mail { color: var(--volt); }
.foot-grid a.big.mail:hover { color: var(--ink); }
.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 ---------- */
/* THE PILL (Dev amendments, Dec 4 ~9:16–9:17 PM — these supersede the
   full-width dock shipped earlier the same night): full-width is OFF;
   the pill keeps its floating width, with Mo's run spanning the whole
   screen width above it. It sits at the LOWEST position it can take —
   resting on the safe-area line — and stays locked there; it never
   rides up. */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: env(safe-area-inset-bottom); 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 #E7364A; color: #E7364A; }
@media (min-width: 760px) { .callbar { display: none; } }

/* Keep the footer "Built by" credit clear of the fixed callbar on phones.
   The pill is ~72px tall resting on the safe-area line; the footer's
   bottom padding clears it — this adds margin so the credit never sits
   under the pill even if it wraps to two lines at 320px. */
@media (max-width: 759px) { .footer { padding-bottom: 168px; } }

/* ---------- power-on overlay ---------- */
.poweron { position: fixed; inset: 0; z-index: 9999; background: #0d0d10; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 34px; pointer-events: none; }
.poweron.done { display: none; }
.po-flip { pointer-events: auto; background: none; border: none; padding: 0; cursor: pointer; }
.po-flip:focus-visible { outline: 2px solid var(--volt); outline-offset: 8px; border-radius: 18px; }
.po-builtby { pointer-events: auto; position: absolute; bottom: 28px; left: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); text-decoration: none; }
.po-builtby:hover { color: var(--volt); }
.breaker { width: 120px; height: 190px; border: 2px solid var(--line-strong); border-radius: 18px; background: #17171d; 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 + env(safe-area-inset-top)) 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: 2px; top: 15px; width: 8px; height: 21px; background: url("../images/bolt.svg") no-repeat center / contain; }
.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; }
}

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); color: var(--volt); line-height: 1; }
.price-plus { font-size: 0.6em; }
.price-card h3 { margin-top: 12px; font-size: 17px; }
.price-card p { margin-top: 8px; color: var(--ink-dim); font-size: 15px; }
/* ---------- fine print ---------- */
.fine { font-size: 11px; color: var(--ink-dim); margin-top: 8px; } /* a11y Dec 2, 2026: dropped opacity:.7 — it cut --ink-dim to ~3.9:1 (AA fail) */
.built-by { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); text-align: center; margin-top: 24px; }
.built-by a { color: var(--ink-dim); text-decoration: none; }
.built-by a:hover { color: var(--volt); }

/* ---------- "Built by 228neuraledge.dev" pill (Dev, voice Dec 1 ~12:06 AM CT;
   wording: dot-dev standard, Dec 1 ~8:55 PM CT). RESTYLED Dec 1 ~11:51 PM CT
   on Dev's live order: on Moore Electric the pill wears MOORE's branding, not
   Neural Edge's — no sky glow, no pulse, no all-caps; small mono hyperlink
   style (12px, ink-dim on bg-2, hairline border, volt hover), pill shape and
   centered bottom placement unchanged. Links to https://228neuraledge.dev.
   Homepage only for now — town pages keep the old .built-by line (follow-up). */
.built-by-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; padding-bottom: 34px; }
.built-by-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-dim); text-decoration: none; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); position: relative; overflow: hidden; transition: border-color .25s, color .25s, transform .25s; }
.built-by-pill::after { content: "\2197"; font-size: 11px; line-height: 1; color: var(--volt); }
.built-by-pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 212, 0, 0.14) 50%, transparent 65%); transform: translateX(-120%); animation: built-by-shine 1.4s ease 0.5s 1 both; pointer-events: none; }
@keyframes built-by-shine { to { transform: translateX(120%); } }
.built-by-pill:hover, .built-by-pill:focus-visible { color: var(--volt); border-color: var(--volt); transform: translateY(-1px); }

/* ---- COMING SOON TAG (footer, Dec 4, 2026 — Dev's order) ----
   Small teaser at the very bottom of the homepages (EN/ES/VI): the digital
   brick-and-mortar Moore Electric — the full 3D shop — is in development.
   Teaser only; no lab build yet. Moore skin: canonical mark, brand red
   #E7364A label in the site's display face, quiet pill like the built-by. */
.soon-wrap { display: flex; justify-content: center; margin-top: 16px; padding-bottom: 32px; }
.soon-tag { display: inline-flex; align-items: center; gap: 10px; max-width: 640px; padding: 9px 16px; border: 1px solid rgba(231, 54, 74, 0.55); border-radius: 999px; background: var(--bg-2); color: var(--ink-dim); font-size: 13px; line-height: 1.45; }
.soon-tag img { flex: none; }
.soon-tag b { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.07em; color: #e7364a; white-space: nowrap; }

/* ---- SHARE + SOCIAL + BADGES (2026-10) ---- */
/* ---- SHARE BAR (footer, rebuilt 2026-11-29) ----
   One contained card: label on its own row, four equal buttons.
   4 across on desktop, even 2x2 on phones (<=720px). Every button is
   the same width and height; the longest label ("Messenger") fits the
   narrowest column (320px viewport) with room to spare. */
.share-bar { margin-top: 56px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.share-bar + .foot-base { margin-top: 24px; padding-top: 24px; }
.share-label { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 4px; }
.share-bar .share-btn { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--volt); border-radius: 999px; background: transparent; color: var(--volt); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .25s, color .25s; }
.share-btn:focus-visible { background: var(--volt); color: #060607; }
@media (hover: hover) { .share-btn:hover { background: var(--volt); color: #060607; } }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.share-row .share-btn { min-height: 48px; padding: 0 22px; font-size: 13px; }
.share-qr { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.share-qr img { width: 132px; height: 132px; border-radius: 12px; background: #fff; }
.share-qr p { color: var(--ink-dim); max-width: 34ch; line-height: 1.6; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--ink); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-decoration: none; transition: border-color .25s; }
.badge:hover, .badge:focus-visible { border-color: var(--volt); }
.badge .stars { color: var(--volt); letter-spacing: 2px; }

/* ---- CALCULATORS (2026-10) ---- */
.calc-stack { display: grid; gap: 28px; max-width: 860px; }
.calc-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.calc-card > h2 { font-family: var(--font-display); font-size: clamp(28px, 4.4vw, 44px); text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.calc-card > h2 em { font-style: normal; color: var(--volt); }
.calc-card > p { color: var(--ink-dim); font-size: 16px; margin-bottom: 22px; max-width: 62ch; }
.calc-fields { display: grid; gap: 16px; }
@media (min-width: 600px) { .calc-fields.row3 { grid-template-columns: 1fr 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-dim); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--volt); color: var(--volt); }
.chip.active { background: var(--volt); border-color: var(--volt); color: #0a0a0a; font-weight: 700; }
.calc-results { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-results .stat b { font-size: clamp(22px, 5.4vw, 38px); }
.calc-kwh { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-faint); }
.load-list { display: grid; border-top: 1px solid var(--line); margin-bottom: 20px; }
.load-row { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; }
.load-row input { width: 22px; height: 22px; accent-color: var(--volt); flex-shrink: 0; cursor: pointer; }
.load-row .la { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); white-space: nowrap; }
.verdict { margin-top: 24px; border: 1px solid var(--line-strong); border-left: 5px solid var(--line-strong); border-radius: 10px; padding: 20px 22px; background: var(--bg-2); }
.verdict.ok { border-left-color: var(--volt); }
.verdict.warn { border-left-color: var(--red); }
.verdict h3 { font-family: var(--font-display); font-size: clamp(20px, 3.6vw, 28px); text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.verdict.ok h3 { color: var(--volt); }
.verdict.warn h3 { color: var(--coral); }
.verdict p { color: var(--ink-dim); font-size: 15px; }
.calc-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.calc-cta .fine { margin-top: 0; max-width: 52ch; }

/* ---- EXPANDED SERVICE AREAS + SERVICE FAQ ---- */
.area-grid--more { display: grid; gap: 14px; margin-top: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .area-grid--more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .area-grid--more { grid-template-columns: repeat(5, 1fr); } }
.area-card.compact { min-height: 210px; }
.area-card.compact div { padding: 20px; }
.area-card.compact h3 { font-size: clamp(22px, 2.2vw, 28px); }
.service-faq { margin: 48px 0; }
.service-faq .faq-list { margin-top: 20px; }
.plat.ag b { color: var(--volt); }

/* ---------- accessibility: target sizes (Dec 2, 2026) ----------
   Discrete controls get a 44px minimum target (WCAG 2.5.5 AAA /
   Apple HIG). Inline text links and footer list links already
   meet the WCAG 2.5.8 AA 24px minimum and are left as designed. */
.chip { display: inline-flex; align-items: center; min-height: 44px; }
.share-btn { min-height: 44px; }
.badge { min-height: 44px; }
.btn-sm { min-height: 44px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.po-builtby { display: inline-flex; align-items: center; min-height: 44px; }
.lb-close { min-width: 44px; min-height: 44px; }
/* a11y Dec 2, 2026 (cont.): reflow — long CTA labels must wrap inside
   the viewport instead of running off the phone's edge (WCAG 1.4.10).
   Baseline 390px: document scrollWidth 420, red CTA clipped at right. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* Smallest phones (Dec 4, 2026): the header wraps to three rows (~130px),
   so the hero needs the deeper clearance to keep its kicker below the bar. */
@media (max-width: 360px) {
  .hero { padding-top: calc(var(--nav-h) + 78px + env(safe-area-inset-top)); }
}

/* ============================================================
   TV + LAPTOP OPTIMIZATION — 2026-12-02 (feat/tv-laptop-optimization)
   Presentation only: no copy, price, or color changes. The breaker
   power-on overlay (.poweron / .breaker) and the light-switch entrance
   are untouched. Everything below is additive and scoped to
   >=1280px, so phone and tablet rendering is byte-for-byte the
   cascade they had before this block existed.
   - Laptop (1280–1599px): slightly narrower measure, calmer display
     type, denser section rhythm so 13–15" screens stop feeling like
     a stretched desktop page.
   - TV (>=1600px): a real 10-foot treatment — wider 1600px measure
     that uses the landscape width, larger body/display type, taller
     nav, >=56px remote-friendly targets, 64px+ overscan-safe side
     margins, visible 4px focus rings (no hover-dependent UI: every
     hover reveal already has its content visible without hover),
     custom cursor and scroll-hint hidden, ticker/animation cost
     unchanged (zero new assets, zero new requests).
   - Large TV (>=2200px, e.g. 2560×1440): one more type step and a
     1760px measure so 1440p doesn't just add empty margins.
   ============================================================ */

/* ---------- laptop: 1280–1599px ---------- */
@media (min-width: 1280px) and (max-width: 1599px) {
  :root { --max: 1200px; }
  .section-pad { padding: 112px 0; }
  .hero h1 { font-size: clamp(64px, 9.5vw, 150px); }
  .sec-head h2, .g-head h2 { font-size: clamp(44px, 6.5vw, 84px); }
  .quote h2 { font-size: clamp(48px, 6.5vw, 88px); }
  .statement .big { font-size: clamp(40px, 6.5vw, 92px); }
  .subhero h1 { font-size: clamp(52px, 8.5vw, 110px); }
  .card p { font-size: 15px; }
  .rev blockquote { font-size: 17px; }
}

/* ---------- TV: >=1600px (1920×1080 and up) ---------- */
@media (min-width: 1600px) {
  :root { --max: 1600px; --nav-h: 84px; }
  body { font-size: 19px; line-height: 1.65; }
  /* overscan-safe: 64px minimum side margin on top of the measure */
  .wrap, .nav-inner { width: min(var(--max), 100% - 128px); }
  .lede { font-size: 21px; }
  .eyebrow { font-size: 14px; }
  .brand { font-size: 27px; }
  .brand small { font-size: 11px; }
  .nav-links { gap: 36px; }
  .nav-links a { font-size: 14px; }
  .btn { font-size: 16px; padding: 22px 38px; min-height: 56px; }
  .btn-sm { padding: 16px 26px; font-size: 14px; min-height: 52px; }
  /* hero: use the full landscape frame, content vertically centered */
  .hero { align-items: center; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(120px, 10.5vw, 240px); }
  .hero-sub { font-size: 24px; max-width: 52ch; }
  .hero-micro { font-size: 14px; }
  .moore-more { font-size: 40px; }
  .stat b { font-size: 56px; }
  .stat span { font-size: 13px; }
  .scroll-hint { display: none; }
  .section-pad { padding: 120px 0; }
  .sec-head h2, .g-head h2 { font-size: 118px; }
  .statement .big { font-size: 120px; }
  .quote h2 { font-size: 118px; }
  .subhero h1 { font-size: 150px; }
  .bento { gap: 18px; }
  .card { min-height: 360px; }
  .card.tall { min-height: 640px; }
  .card-body { padding: 30px; }
  .card-tag { font-size: 13px; }
  .card h3 { font-size: 46px; }
  .card p { font-size: 17px; max-width: 40ch; }
  .card .go { font-size: 14px; }
  .rail { grid-auto-columns: 440px; }
  .shot figcaption { font-size: 16px; }
  .rev { padding: 32px; }
  .rev blockquote { font-size: 18px; }
  .faq-q { font-size: 21px; padding: 26px 4px; }
  .faq-a-inner { font-size: 18px; }
  .area-card { min-height: 420px; }
  .area-card h3 { font-size: 72px; }
  .area-card p { font-size: 18px; }
  .field label { font-size: 13px; }
  .field input, .field select, .field textarea { font-size: 18px; padding: 17px 18px; }
  .footer .mega { font-size: 210px; }
  .foot-grid a.big { font-size: 28px; }
  .foot-grid p, .foot-grid li { font-size: 17px; }
  .ticker span { font-size: 15px; }
  .prose p { font-size: 19px; }
  .price-num { font-size: 64px; }
  /* remote/keyboard navigation: focus must be unmissable at 10 feet */
  :focus-visible { outline-width: 4px; outline-offset: 4px; }
  /* no pointer chrome on a TV browser */
  .cursor-dot, .cursor-ring { display: none; }
}
@supports (padding: env(safe-area-inset-left)) {
  @media (min-width: 1600px) {
    .wrap, .nav-inner { padding-inline: max(0px, env(safe-area-inset-left)); }
  }
}

/* ---------- large TV: >=2200px (2560×1440) ---------- */
@media (min-width: 2200px) {
  :root { --max: 1760px; }
  body { font-size: 20px; }
  .hero h1 { font-size: clamp(180px, 9.5vw, 250px); }
  .sec-head h2, .g-head h2, .quote h2 { font-size: 132px; }
  .statement .big { font-size: 136px; }
  .subhero h1 { font-size: 168px; }
  .card h3 { font-size: 52px; }
  .card.tall { min-height: 700px; }
}



/* ---------- lil' mo: the little electrician (Dec 4, 2026) ----------
   Replaces the PR #65 dev-mark portrait square (killed on Dev's order:
   too big, awkward, blocking the visual). A ~52x72px character who stands
   on the sticky call pill, points at sections as they pass, and opens the
   "Talk to Moore Electric" panel. Calm motion only; nothing flashes; he
   never covers content. */
.lilmo-wrap {
  position: fixed; left: 12px; bottom: 12px; z-index: 940;
  transition: bottom 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, transform 2.6s ease-in-out;
}
.lilmo-wrap.bye { opacity: 0; pointer-events: none; }
@media (max-width: 759px) {
  /* MAGNETIC (Dev, Dec 4 ~9:15 PM, reaffirmed ~9:17 PM): Mo never
     floats. With the pill away his feet sit on the safe-area floor line
     where the pill rests; when the pill slides in the JS ride (measured
     off the pill itself) lifts him onto its top edge — the lift value
     here is only the pre-JS fallback, matched to the pill's geometry. */
  .lilmo-wrap { bottom: env(safe-area-inset-bottom); }
  .lilmo-wrap.lift { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (min-width: 760px) {
  .lilmo-wrap { left: 18px; bottom: 18px; }
  .lilmo-wrap.lift { bottom: 88px; }
}
.lilmo {
  display: block; width: 52px; height: 72px; padding: 0; border: 0;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  /* a whisper of volt halo so visitors know he is clickable — Dev
     (Dec 4, ~7:25 AM): the glow was too much; subtle, static, no pulse */
  filter: drop-shadow(0 0 3px rgba(255, 212, 0, 0.22));
}
/* MAGNETIC (Dev, Dec 4 ~9:15 PM): the old idle bob floated the whole
   figure up to 3px off the pill's surface — killed. His feet stay on
   the surface line in every frame; the only vertical moves left are
   the measured ride onto the pill and his walk steps. */
.lilmo svg { display: block; width: 100%; height: 100%; }
/* text-avoidance sidesteps are a brisk shuffle, not the slow patrol glide */
.lilmo-wrap.brisk { transition: bottom 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, transform 0.38s ease-in-out; }
.lilmo:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 10px; }
/* the point (Dev, Dec 4 ~9:25 PM — the old rig rotated the hanging arm
   up beside his head and read as a SALUTE; that rig is dead). The point
   is now a DRAWN pose, crossfaded in: a bent-elbow arm already angled
   up-forward with the index finger extended, the whole upper body
   leaning a few degrees into it and the eyes glancing the same way.
   No arm ever sweeps through the air, so no frame — mid-transition
   included — can read as a raised-arm salute. point-pill swaps in the
   matching down-forward arm, aimed along the call bar at its button. */
.lilmo .lm-shoulder { transform-origin: 48px 33px; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lilmo .lm-arm-r { transition: opacity 0.16s ease; }
.lilmo .lm-arm-point, .lilmo .lm-arm-point-dn { opacity: 0; transition: opacity 0.16s ease; }
/* the drawn points sit a touch inboard so the extended finger never
   kisses the viewBox edge, even with the body lean applied */
.lilmo .lm-arm-point { transform: translateX(-1.2px); }
.lilmo .lm-arm-point-dn { transform: translateX(-1px); }
.lilmo .lm-upper { transform-origin: 32px 54px; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lilmo .lm-eyes { transition: transform 0.3s ease; }
.lilmo.point .lm-shoulder { transform: rotate(-6deg); }
.lilmo.point .lm-arm-r, .lilmo.point-pill .lm-arm-r { opacity: 0; }
.lilmo.point .lm-arm-point { opacity: 1; }
.lilmo.point .lm-upper { transform: rotate(2.5deg); }
.lilmo.point .lm-eyes { transform: translate(1.7px, -0.7px); }
.lilmo.point-pill .lm-shoulder { transform: rotate(-4deg); }
.lilmo.point-pill .lm-arm-point-dn { opacity: 1; }
.lilmo.point-pill .lm-upper { transform: rotate(1.5deg); }
.lilmo.point-pill .lm-eyes { transform: translate(1.7px, 0.8px); }
/* the patrol walk: legs alternate while the wrap glides */
.lilmo-wrap.walk .lm-leg-l { transform-origin: 27px 55px; animation: lilmo-step 0.42s ease-in-out infinite alternate; }
.lilmo-wrap.walk .lm-leg-r { transform-origin: 37px 55px; animation: lilmo-step 0.42s ease-in-out infinite alternate-reverse; }
@keyframes lilmo-step {
  from { transform: rotate(7deg); }
  to { transform: rotate(-7deg); }
}
/* the talk panel */
.lilmo-panel {
  position: absolute; left: 0; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 24px));
  /* the panel can never outgrow the screen (Dev, Dec 4 ~9:17 PM):
     capped height with its own scroll, and placePanel() in main.js
     centers it over Mo and clamps every edge inside the viewport */
  max-height: calc(100vh - 110px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 16px 16px 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); z-index: 950;
}
.lilmo-panel h3 { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.03em; margin-bottom: 8px; }
.lilmo-panel p { font-size: 13.5px; line-height: 1.5; color: var(--ink-dim); }
.lilmo-panel .lilmo-warn { margin-top: 10px; color: var(--ink); font-weight: 600; }
.lilmo-act {
  display: block; text-align: center; text-decoration: none; margin-top: 10px;
  padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; min-height: 44px;
}
.lilmo-guide { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-strong); }
.lilmo-call { background: var(--volt); color: #0a0a0a; }
.lilmo-back {
  display: block; width: 100%; margin-top: 10px; padding: 8px; background: none; border: 0;
  color: var(--ink-dim); font-size: 13px; cursor: pointer; min-height: 44px;
}
.lilmo-back:hover, .lilmo-back:focus-visible { color: var(--volt); }
/* reduced motion: no bob, no glow pulse, no steps, no arm swing */
@media (prefers-reduced-motion: reduce) {
  .lilmo, .lilmo svg { animation: none; }
  .lilmo .lm-arm-r, .lilmo .lm-shoulder, .lilmo .lm-upper, .lilmo .lm-eyes, .lilmo .lm-arm-point, .lilmo .lm-arm-point-dn { transition: none; }
  .lilmo-wrap { transition: opacity 0.3s ease; }
}
html.no-motion .lilmo, html.no-motion .lilmo svg { animation: none; }
html.no-motion .lilmo .lm-arm-r, .lilmo .lm-shoulder, .lilmo .lm-upper, .lilmo .lm-eyes, .lilmo .lm-arm-point, .lilmo .lm-arm-point-dn { transition: none; }
/* ---------- inline SVG icons (PR #66 remainders port, Dec 4) ---------- */
.ico { width: 1em; height: 1em; vertical-align: -0.12em; flex: 0 0 auto; }
.stars .ico-star { width: 1em; height: 1em; vertical-align: -0.08em; }
.stars-partial .ico-star { width: 1em; height: 1em; vertical-align: -0.08em; }
