/* Precision Power Solutions: site styles, version 3.
   One typeface (Manrope). Permanent Marker appears only on the breaker panel's tape labels.
   Every size resolves to a named text style, every gap to a spacing token,
   every radius to a Tailwind radius step. Order: tokens, base, text styles, layout,
   components, sections, pages, motion. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Tokens
   ========================================================= */
:root {
  /* Dark surfaces: only the approved dark backgrounds */
  --dark: #131209;
  --dark-2: #181818;
  --dark-3: #1f1f1f;
  --dark-4: #272727;
  --dark-5: #313131;
  --black: #000000;

  /* Light surfaces */
  --light: #f5f4ef;
  --light-2: #eceae3;
  --paper: #ffffff;

  /* Text and lines */
  --ink: #131209;
  --ink-muted: #5c5a50;
  --line: #dcd9ce;
  --line-strong: #b9b5a7;
  --on-dark: #ffffff;
  --on-dark-muted: #aaa89e;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Accent and status */
  --amber: #ffb020;
  --amber-hover: #ffc24d;
  --amber-ink: #8a5800;
  --lit: #fff3d6;
  --green: #43b97a;
  --red: #c8432b;
  --red-bg: #fbe9e5;
  --green-bg: #e4f3ea;

  /* Spacing tokens (the only spacing values used) */
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* Radius steps (Tailwind) */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-color: 300ms;
  --t-move: 500ms;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Manrope", ui-sans-serif, sans-serif;

  --max: 1200px;
  --gutter: var(--s-200);
  --nav-clear: var(--s-900);
}
@media (min-width: 640px) { :root { --gutter: var(--s-300); } }
@media (min-width: 1024px) { :root { --gutter: var(--s-400); } }

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--s-900);
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--amber); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
p, h1, h2, h3, h4, h5, h6, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; font-weight: 600; }
p, li, dd, blockquote, summary { text-wrap: pretty; }
[class*="heading-"], [class*="title-"] { text-wrap: balance; }
[class*="body-"], [class*="caption-"] { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm); }
.on-dark :focus-visible { outline-color: var(--amber); }

.skip {
  position: absolute; left: var(--s-100); top: var(--s-100); z-index: 100;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  background: var(--amber); color: var(--ink); text-decoration: none;
  transform: translateY(-200%); transition: transform var(--t-move) var(--ease);
}
.skip:focus { transform: none; }

.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;
}

/* Placeholder for a fact the business still has to supply. Impossible to miss on purpose. */
.ph {
  display: inline; padding: 0 var(--s-50); border-radius: var(--r-sm);
  outline: 2px dashed var(--amber); outline-offset: 0;
  background: rgba(255, 176, 32, 0.16); color: inherit;
}

/* =========================================================
   Named text styles (Tailwind scale)
   ========================================================= */
.heading-1 { font-size: 3.75rem; line-height: 3.75rem; font-weight: 600; letter-spacing: -0.025em; }
.heading-2 { font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.01em; }

.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }

.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
/* Body 7: lead paragraphs, built from text-lg */
.body-7 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }

.button-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }

.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

@media (min-width: 640px) {
  .sm\:heading-1 { font-size: 3.75rem; line-height: 3.75rem; letter-spacing: -0.025em; }
  .sm\:heading-2 { font-size: 3rem; line-height: 3rem; letter-spacing: -0.025em; }
  .sm\:heading-3 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
  .sm\:heading-4 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
  .sm\:heading-5 { font-size: 1.5rem; line-height: 2rem; }
  .sm\:body-7 { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) {
  .lg\:heading-1 { font-size: 3.75rem; line-height: 3.75rem; letter-spacing: -0.025em; }
  .lg\:heading-2 { font-size: 3rem; line-height: 3rem; letter-spacing: -0.025em; }
  .lg\:heading-3 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
  .lg\:heading-4 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
}

.br-sm, .br-lg { display: none; }
@media (min-width: 640px) { .br-sm { display: inline; } }
@media (min-width: 1024px) { .br-lg { display: inline; } }

.eyebrow { color: var(--amber-ink); }
.on-dark .eyebrow, .on-dark-2 .eyebrow { color: var(--amber); }
.muted { color: var(--ink-muted); }
.on-dark .muted { color: var(--on-dark-muted); }
.measure { max-width: 680px; }
.tabular { font-variant-numeric: tabular-nums; }

/* Hero heading: the one gradient, on text only */
.on-dark .grad {
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.on-light .grad {
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* =========================================================
   Layout
   ========================================================= */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--s-700); }
@media (min-width: 1024px) { .section { padding-block: var(--s-900); } }
.section-tight { padding-block: var(--s-600); }
@media (min-width: 1024px) { .section-tight { padding-block: var(--s-700); } }

.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark-2 { background: var(--dark-2); color: var(--on-dark); }
.on-black { background: var(--black); color: var(--on-dark); }
.on-light { background: var(--light); color: var(--ink); }
.on-light-2 { background: var(--light-2); color: var(--ink); }
.on-paper { background: var(--paper); color: var(--ink); }
.on-dark-2, .on-black { --is-dark: 1; }

.stack-75 > * + * { margin-top: var(--s-75); }
.stack-100 > * + * { margin-top: var(--s-100); }
.stack-200 > * + * { margin-top: var(--s-200); }
.stack-300 > * + * { margin-top: var(--s-300); }
.stack-400 > * + * { margin-top: var(--s-400); }

.section-head { max-width: 680px; margin-bottom: var(--s-400); }
.section-head > * + * { margin-top: var(--s-100); }
@media (min-width: 1024px) { .section-head { margin-bottom: var(--s-600); } }
.section-head .body-7 { color: var(--ink-muted); }
.on-dark .section-head .body-7, .on-dark-2 .section-head .body-7 { color: var(--on-dark-muted); }

.row { display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; }

/* =========================================================
   Buttons and links
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border: 1px solid transparent; border-radius: var(--r-lg);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease),
    color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn.button-lg { font-size: 1.125rem; line-height: 1.75rem; }
.btn.button-sm { font-size: 0.875rem; line-height: 1.25rem; }
.btn.button-sm .icon { width: 1rem; height: 1rem; }

.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--dark-5); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--light-2); border-color: var(--ink); }
.on-dark .btn-ghost, .on-dark-2 .btn-ghost, .on-black .btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--on-dark); }
.on-dark .btn-ghost:hover, .on-dark-2 .btn-ghost:hover, .on-black .btn-ghost:hover { background: var(--dark-4); border-color: rgba(255, 255, 255, 0.6); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.is-loading { cursor: progress; }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-decoration-color: var(--amber); text-underline-offset: 0.25em;
  transition: text-decoration-color var(--t-color) var(--ease), color var(--t-color) var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; text-decoration: none; }
.arrow-link .icon { width: 1rem; height: 1rem; transition: transform var(--t-move) var(--ease); }
.arrow-link:hover .icon { transform: translateX(4px); }
.arrow-link span { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); text-underline-offset: 0.25em; }

/* =========================================================
   Floating navigation
   ========================================================= */
.site-header {
  position: fixed; z-index: 60; top: var(--s-100); left: 0; right: 0;
  display: flex; justify-content: center; padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-200);
  max-width: 100%;
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-100);
  border-radius: var(--r-2xl);
  background: rgba(19, 18, 9, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color: var(--on-dark);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-100); text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { white-space: nowrap; }
.nav-links { display: none; align-items: center; gap: var(--s-50); }
.nav-links a {
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); text-decoration: none;
  color: var(--on-dark-muted);
  transition: background-color var(--t-color) var(--ease), color var(--t-color) var(--ease);
}
.nav-links a:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: var(--on-dark); background: var(--dark-5); }
.nav-call { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  background: var(--dark-4); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-dark); cursor: pointer;
  transition: background-color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.menu-btn:hover { background: var(--dark-5); }
.menu-btn:active { transform: scale(0.98); }
.menu-icon { position: relative; width: 16px; height: 16px; flex: none; }
.menu-icon i {
  position: absolute; left: 1px; right: 1px; top: 7px; height: 2px; border-radius: var(--r-full); background: currentColor;
  transition: transform var(--t-move) var(--ease);
}
.menu-icon i:first-child { transform: translateY(-4px); }
.menu-icon i:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Full height mobile menu */
.menu-panel {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-400);
  padding: var(--s-900) var(--gutter) var(--s-400);
  background: rgba(19, 18, 9, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--on-dark);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-color) var(--ease), visibility 0s var(--ease) var(--t-color);
}
.menu-panel.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-color) var(--ease), visibility 0s; }
.menu-panel ul { list-style: none; display: grid; gap: var(--s-50); }
.menu-panel a.menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-100) 0; text-decoration: none; color: var(--on-dark);
}
.menu-panel a.menu-link .icon { width: 1.25rem; height: 1.25rem; color: var(--on-dark-muted); }
.menu-panel a.menu-link[aria-current="page"] { color: var(--amber); }
.menu-panel a.menu-link:hover .icon { color: var(--amber); }
.menu-foot { display: grid; gap: var(--s-200); }
.menu-foot .btn { width: 100%; }
.menu-item { opacity: 0; transform: translateY(24px); }
.menu-panel.is-open .menu-item {
  opacity: 1; transform: none;
  transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease);
  transition-delay: calc(min(var(--i, 0) * 60ms, 400ms));
}
@media (min-width: 1100px) { .menu-panel { display: none; } }

/* Floating call bar on phones */
.callbar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: var(--s-800); }
  .callbar {
    position: fixed; z-index: 50; left: var(--gutter); right: var(--gutter); bottom: var(--s-100);
    display: flex; gap: var(--s-75); padding: var(--s-75);
    border-radius: var(--r-2xl);
    background: rgba(19, 18, 9, 0.82);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  }
  .callbar .btn { flex: 1 1 auto; min-width: 0; }
  .callbar .btn-ghost { flex: 0 1 auto; border-color: rgba(255, 255, 255, 0.32); color: var(--on-dark); }
  html.office-closed .callbar [data-callbar="request"] { order: -1; }
}

/* =========================================================
   Live office status
   ========================================================= */
.live-chip {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  background: rgba(255, 176, 32, 0.12); border: 1px solid rgba(255, 176, 32, 0.5);
  color: inherit;
}
.live-chip::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--amber); flex: none; animation: pulse 2.4s var(--ease) infinite; }
.live-chip.is-open { background: rgba(67, 185, 122, 0.12); border-color: rgba(67, 185, 122, 0.55); }
.live-chip.is-open::before { background: var(--green); }
.on-light .live-chip, .on-paper .live-chip { background: #fff4da; color: var(--ink); }
.on-light .live-chip.is-open, .on-paper .live-chip.is-open { background: var(--green-bg); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.status-line { position: relative; padding-left: var(--s-200); color: var(--on-dark-muted); }
.status-line::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--green);
}
html.office-closed .status-line::before { background: var(--amber); }
.status-line a { color: var(--on-dark); }

/* The CTA that changes with the clock. Without JavaScript the call version shows. */
[data-cta="request"] { display: none; }
html.office-closed [data-cta="request"] { display: inline-flex; }
html.office-closed [data-cta="call"] { display: none; }
[data-when-open], [data-when-closed] { display: none; }
html:not(.office-closed) [data-when-open] { display: inline; }
html.office-closed [data-when-closed] { display: inline; }

/* =========================================================
   Hero: a bulb on a cord and a switch that works
   ========================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { position: relative; z-index: 2; max-width: 680px; padding: var(--s-300) 0 var(--s-700); }
.hero-copy > * + * { margin-top: var(--s-300); }
.hero-copy .eyebrow-lit {
  display: inline-block; color: var(--lit);
  text-shadow: 0 0 16px rgba(255, 205, 120, 0.55), 0 0 48px rgba(255, 176, 32, 0.4);
  transition: opacity var(--t-color) var(--ease);
}
.hero[data-lights="off"] .eyebrow-lit { opacity: 0.35; text-shadow: none; }
.hero h1 { transition: opacity var(--t-color) var(--ease); }
.hero[data-lights="off"] h1 { opacity: 0.55; }
.hero .body-7 { color: var(--on-dark-muted); max-width: 680px; }
.hero-actions { display: grid; gap: var(--s-200); justify-items: start; }
.hero-actions .btn { min-width: 0; }

.proof {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-75);
  color: var(--on-dark); text-decoration: none;
}
.stars { display: inline-flex; gap: var(--s-25); color: var(--amber); }
.stars .icon { width: 1rem; height: 1rem; }
.proof:hover .proof-label { text-decoration-color: currentColor; }
.proof-label { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 176, 32, 0.6); text-underline-offset: 0.25em; transition: text-decoration-color var(--t-color) var(--ease); }

/* The art: lamp hanging from the top edge, wall switch beside it */
.hero-art {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: var(--s-300);
  padding-top: 0; min-height: 0;
}
.lamp { display: flex; flex-direction: column; align-items: center; pointer-events: none; order: 2; margin-right: var(--s-200); }
.cord { width: 3px; height: var(--cord, 72px); flex: none; background: #2a2a24; }
.bulb { width: var(--bulb-w, 72px); height: auto; overflow: visible; flex: none; margin-top: -1px; }
.bulb .lit { transition: opacity var(--t-color) var(--ease); }
.hero[data-lights="off"] .bulb .lit { opacity: 0; }

.switch-wrap { display: flex; align-items: center; gap: var(--s-100); order: 1; padding-bottom: var(--s-75); }
.switch-hint { color: var(--on-dark-muted); white-space: nowrap; }
.switch {
  position: relative; width: 56px; height: 88px; padding: 0; border: 0; border-radius: var(--r-xl); cursor: pointer;
  background: #ecebe6;
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 0 rgba(0, 0, 0, 0.1), 0 16px 32px -12px rgba(0, 0, 0, 0.8);
  transition: opacity var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.switch:active { transform: scale(0.98); }
.switch::before, .switch::after {
  content: ""; position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: var(--r-full);
  background: #d6d4cc; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.switch::before { top: 8px; }
.switch::after { bottom: 8px; }
.switch .slot { position: absolute; left: 50%; top: 50%; width: 24px; height: 40px; transform: translate(-50%, -50%); border-radius: var(--r-sm); background: #c9c6bc; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); }
.switch .lever {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 24px; margin: -12px 0 0 -8px; border-radius: var(--r-sm);
  background: #ffffff; box-shadow: 0 0 0 1px rgba(19, 18, 9, 0.18);
  transition: transform var(--t-move) var(--ease);
}
.switch[aria-pressed="true"] .lever { transform: translateY(-6px); }
.switch[aria-pressed="false"] .lever { transform: translateY(6px); }
.switch:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.hero[data-lights="off"] .switch { opacity: 0.7; }

/* Phones: lamp hangs top right above the copy */
.hero-art { --cord: 80px; --bulb-w: 64px; }
.hero-copy { padding-top: var(--s-300); }

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
    column-gap: var(--s-600);
    min-height: min(760px, 100svh);
  }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: center; padding: calc(var(--s-900) + var(--s-400)) 0 var(--s-900); }
  .hero-art {
    grid-column: 2; grid-row: 1; --cord: 168px; --bulb-w: 152px;
    display: block; min-height: 100%;
  }
  .lamp { position: absolute; top: 0; left: 50%; margin: 0 0 0 calc(var(--bulb-w) / -2); width: var(--bulb-w); }
  .switch-wrap {
    position: absolute; left: 50%; top: calc(var(--cord) + var(--bulb-w) * 1.625 + var(--s-600));
    margin-left: calc(var(--bulb-w) / 2 + var(--s-200));
    flex-direction: row-reverse; padding: 0;
  }
}

/* Flicker as the filament warms up (opacity only) */
@keyframes flicker {
  0% { opacity: 0; } 7% { opacity: 0.9; } 11% { opacity: 0.08; } 20% { opacity: 1; }
  24% { opacity: 0.3; } 38% { opacity: 1; } 42% { opacity: 0.7; } 52%, 100% { opacity: 1; }
}
.hero.warming .bulb .lit, .hero.warming .eyebrow-lit { animation: flicker 1150ms var(--ease) both; }
.hero.warming-quick .bulb .lit, .hero.warming-quick .eyebrow-lit { animation: flicker 500ms var(--ease) both; }

/* =========================================================
   "What's going on?" A breaker panel of real problems.
   ========================================================= */
.trouble { padding-block: var(--s-700); }
@media (min-width: 1024px) { .trouble { padding-block: var(--s-800) var(--s-900); } }
.trouble .section-head .live-chip { margin-top: var(--s-200); }

.tb {
  --brk-w: 96px;
  --steel: #d9dcd8;
  position: relative;
  background: var(--steel);
  border-radius: var(--r-xl);
  border: 1px solid #a9ada6;
  box-shadow: inset 0 0 0 8px #c6c9c4, inset 0 0 0 9px #9ea29b, 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  padding: var(--s-400) var(--s-200) var(--s-400) var(--s-200);
}
.screw {
  position: absolute; width: 12px; height: 12px; border-radius: var(--r-full);
  background: #eef0ec; border: 2px solid #7d847f; pointer-events: none;
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 3px; height: 2px; background: #7d847f; transform: rotate(-30deg); }
.screw.tl { top: var(--s-100); left: var(--s-100); }
.screw.tr { top: var(--s-100); right: var(--s-100); }
.screw.bl { bottom: var(--s-100); left: var(--s-100); }
.screw.br { bottom: var(--s-100); right: var(--s-100); }
.tb-idle { display: none; }

.tb-main {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) var(--brk-w); grid-template-areas: ". plate bay";
  align-items: center; column-gap: var(--s-100); margin: 0 0 var(--s-200);
}
.tb-plate {
  grid-area: plate; justify-self: start; display: flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-sm);
  background: #eef0ec; border: 1px solid #a9ada6; color: #4a4f4b;
}
.tb-plate b { display: block; color: var(--ink); }
.tb-plate-mark { width: 24px; height: 24px; flex: none; }
.tb-live { display: none; align-items: center; gap: var(--s-75); color: #4a4f4b; letter-spacing: 0.12em; text-transform: uppercase; }
.tb-live i { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--amber); box-shadow: 0 0 8px 2px rgba(255, 176, 32, 0.75); }
html.office-open .tb-live i { background: var(--green); box-shadow: 0 0 8px 2px rgba(67, 185, 122, 0.7); }

.tb-pick {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 24px minmax(0, 1fr) var(--brk-w); grid-template-areas: "num tape bay";
  align-items: center; column-gap: var(--s-100);
  width: 100%; min-height: 64px; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 0; color: var(--ink); text-align: left; cursor: pointer;
}
.tb-pick:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm); }
.ckt-no { grid-area: num; color: #5d625e; text-align: center; font-variant-numeric: tabular-nums; }

.tape {
  grid-area: tape; justify-self: start; position: relative; max-width: 100%;
  padding: var(--s-50) var(--s-100);
  background: #f6efd9; color: #1b1a14;
  font-family: var(--marker); font-weight: 400; font-size: 1rem; line-height: 1.5rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18), 0 4px 8px -4px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.8deg);
  transition: transform var(--t-move) var(--ease);
}
.tb-pick:nth-of-type(3n+2) .tape { transform: rotate(0.6deg); }
.tb-pick:nth-of-type(3n) .tape { transform: rotate(-0.3deg); }
.tb-pick:hover .tape { transform: rotate(0deg) translateY(-2px); }
.tape-text { display: block; }
.tb-tag {
  position: absolute; top: -12px; right: -8px; z-index: 1; transform: rotate(6deg);
  padding: var(--s-25) var(--s-50); border-radius: var(--r-xs);
  font-family: var(--font); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--amber);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.bay { grid-area: bay; align-self: stretch; display: flex; align-items: center; padding: var(--s-50); background: var(--black); }
.brk {
  position: relative; flex: 1; height: 56px; border-radius: var(--r-sm);
  background: var(--dark-4); border: 1px solid var(--dark-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 3px rgba(0, 0, 0, 0.6);
}
.brk-slot { position: absolute; left: 50%; top: 22px; width: 52px; height: 24px; margin-left: -26px; border-radius: var(--r-xs); background: var(--black); box-shadow: inset 0 2px 4px #000; }
.brk-handle {
  position: absolute; top: 2px; left: 2px; width: 24px; height: 20px; border-radius: var(--r-xs);
  background: #55554f; color: #ffffff; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 2px 0 4px rgba(0, 0, 0, 0.8);
  font-size: 0.75rem; line-height: 1.25rem; font-weight: 600;
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
}
.brk-stamp { position: absolute; top: 4px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.08em; transition: color var(--t-color) var(--ease); }
.brk-off { left: 8px; }
.brk-on { right: 8px; }
.brk-led { position: absolute; top: 8px; left: 50%; margin-left: -3px; width: 6px; height: 6px; border-radius: var(--r-full); background: #3a2c12; transition: background-color var(--t-color) var(--ease); }
.brk-glow { position: absolute; top: 5px; left: 50%; margin-left: -6px; width: 12px; height: 12px; border-radius: var(--r-full); box-shadow: 0 0 10px 4px rgba(255, 176, 32, 0.75); opacity: 0; transition: opacity var(--t-color) var(--ease); }

.tb-pick:hover .brk-handle { transform: translateX(4px); }
.tb-pick[aria-expanded="true"] .brk-handle { transform: translateX(24px); background: #6c6c64; }
.tb-pick[aria-expanded="true"] .brk-on { color: var(--amber); }
.tb-pick[aria-expanded="true"] .brk-led { background: var(--amber); }
.tb-pick[aria-expanded="true"] .brk-glow { opacity: 1; }
.tb-pick[aria-expanded="true"] .brk { border-color: var(--amber); }
.tb-pick[aria-expanded="true"] .tape { transform: rotate(0deg) translateY(-2px); box-shadow: 0 0 0 3px var(--amber), 0 8px 16px -6px rgba(0, 0, 0, 0.5); }

.bay-main { flex-direction: column; gap: var(--s-50); padding: var(--s-50) var(--s-50) var(--s-75); }
.brk-main { flex: none; width: 100%; height: 64px; }
.brk-main .brk-slot { top: 16px; width: 64px; height: 32px; margin-left: -32px; }
.brk-main .brk-handle { width: 36px; height: 28px; line-height: 1.75rem; transform: translateX(24px); background: #6c6c64; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), -2px 0 4px rgba(0, 0, 0, 0.8); }
.brk-main-label { color: rgba(255, 255, 255, 0.6); letter-spacing: 0.2em; text-transform: uppercase; }

/* The answer: a card from the panel door */
.tb-answer {
  position: relative; overflow: hidden; margin: 0 0 var(--s-100);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-2xl); padding: var(--s-300);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.9);
}
@media (min-width: 640px) { .tb-answer { padding: var(--s-400); } }
.tb-answer[data-tone="urgent"] { padding-top: calc(var(--s-300) + var(--s-100)); }
@media (min-width: 640px) { .tb-answer[data-tone="urgent"] { padding-top: calc(var(--s-400) + var(--s-100)); } }
.tb-answer[data-tone="urgent"]::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background-color: var(--amber);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12'%3E%3Cpath d='M0 12 L12 0 H26 L14 12Z' fill='%23131209'/%3E%3Cpath d='M28 0 V12 H22 Z' fill='%23131209' opacity='0'/%3E%3C/svg%3E");
  background-size: 28px 12px;
}
.tb-answer > * + * { margin-top: var(--s-200); }
.tb-answer .eyebrow { color: var(--amber-ink); }
.tb-steps { list-style: none; counter-reset: s; display: grid; gap: var(--s-100); }
.tb-steps li { counter-increment: s; position: relative; padding-left: var(--s-500); }
.tb-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: var(--r-full);
  background: var(--ink); color: var(--paper); display: grid; place-items: center;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
}
.tb-steps strong { font-weight: 600; }
.tb-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); padding-top: var(--s-75); }
.tb-note { color: var(--ink-muted); }

/* After hours, a routine problem leads with a request, not a phone call */
html.office-closed [data-closed-lead="request"] .tb-req { order: -1; background: var(--amber); border-color: var(--amber); color: var(--ink); }
html.office-closed [data-closed-lead="request"] .tb-req:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
html.office-closed [data-closed-lead="request"] .tb-call { background: transparent; border-color: var(--line-strong); color: var(--ink); }
html.office-closed [data-closed-lead="request"] .tb-call:hover { background: var(--light-2); border-color: var(--ink); }

/* The short request form: parked at the end without JS, dropped into an answer with it */
.tb-form { background: var(--paper); color: var(--ink); border-radius: var(--r-2xl); padding: var(--s-300); margin-top: var(--s-100); }
@media (min-width: 640px) { .tb-form { padding: var(--s-400); } }
.tb-answer .tb-form { background: none; border-radius: 0; padding: var(--s-300) 0 0; margin-top: var(--s-300); box-shadow: 0 -1px 0 var(--line); }
.tb-answer .tb-form-title { display: none; }
.tb-form-for { color: var(--ink-muted); }
.tb-form-for strong { color: var(--ink); font-weight: 600; }
.tb-form.is-sent > :not(.form-status):not(.tb-form-for) { display: none; }

/* Laptops and tablets with JavaScript: one column of breakers beside the answer */
@media (min-width: 900px) {
  .tb.is-ready {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto repeat(6, auto) 1fr; column-gap: var(--s-600); align-items: start;
    background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0;
  }
  .tb.is-ready::before {
    content: ""; grid-column: 1; grid-row: 1 / 8; align-self: stretch;
    background: var(--steel); border-radius: var(--r-xl); border: 1px solid #a9ada6;
    box-shadow: inset 0 0 0 8px #c6c9c4, inset 0 0 0 9px #9ea29b, 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  }
  .tb.is-ready .screw { display: none; }
  .tb.is-ready .tb-main { grid-column: 1; grid-row: 1; margin: var(--s-400) var(--s-300) var(--s-200) var(--s-200); position: relative; z-index: 1; }
  .tb.is-ready .tb-pick { grid-column: 1; grid-row: var(--r1); width: auto; margin: 0 var(--s-300) 0 var(--s-200); }
  .tb.is-ready .tb-pick:last-of-type { margin-bottom: var(--s-400); }
  .tb.is-ready .tb-answer, .tb.is-ready .tb-idle { grid-column: 2; grid-row: 1 / -1; margin: 0; }
  .tb.is-ready .tb-idle {
    display: block; border: 1px dashed rgba(255, 255, 255, 0.24); border-radius: var(--r-2xl);
    padding: var(--s-400); color: var(--on-dark);
  }
  .tb.is-ready.has-open .tb-idle { display: none; }
  .tb.is-ready .tb-answer { animation: card-in var(--t-move) var(--ease) both; }
  .trouble .section-head .live-chip { display: none; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Wide screens: a full panel, odd circuits left, even right, like the real thing */
@media (min-width: 1180px) {
  .tb.is-ready { grid-template-columns: minmax(0, 0.76fr) minmax(0, 0.76fr) minmax(0, 1fr); grid-template-rows: auto repeat(3, auto) 1fr; column-gap: 0; }
  .tb.is-ready::before { grid-column: 1 / 3; grid-row: 1 / 5; }
  .tb.is-ready .tb-main { grid-column: 1 / 3; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "plate bay live"; column-gap: var(--s-300); margin: var(--s-400) var(--s-400) var(--s-200); }
  .tb.is-ready .tb-main .bay-main { width: 144px; }
  .tb.is-ready .tb-live { display: flex; grid-area: live; justify-self: end; }
  .tb.is-ready .tb-pick { grid-row: var(--r2); }
  .tb.is-ready .tb-pick:last-of-type { margin-bottom: 0; }
  .tb.is-ready .tb-pick:nth-of-type(n+5) { margin-bottom: var(--s-400); }
  .tb.is-ready .tb-pick.col-l { grid-column: 1; margin-left: var(--s-300); margin-right: var(--s-75); }
  .tb.is-ready .tb-pick.col-l .tape { justify-self: end; }
  .tb.is-ready .tb-pick.col-r { grid-column: 2; margin-left: var(--s-75); margin-right: var(--s-300); grid-template-columns: var(--brk-w) minmax(0, 1fr) 24px; grid-template-areas: "bay tape num"; }
  .tb.is-ready .tb-answer, .tb.is-ready .tb-idle { grid-column: 3; margin-left: var(--s-600); }
  /* right hand breakers are mirrored: ON points to the middle of the panel */
  .tb.is-ready .col-r .brk-handle { left: auto; right: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), -2px 0 4px rgba(0, 0, 0, 0.8); }
  .tb.is-ready .col-r:hover .brk-handle { transform: translateX(-4px); }
  .tb.is-ready .col-r[aria-expanded="true"] .brk-handle { transform: translateX(-24px); }
  .tb.is-ready .col-r .brk-off { left: auto; right: 8px; }
  .tb.is-ready .col-r .brk-on { right: auto; left: 8px; }
}
.tb-idle .eyebrow { color: var(--amber); }
.tb-idle > * + * { margin-top: var(--s-300); }
.tb-hours { display: grid; gap: var(--s-200); }
.tb-hours dt { color: var(--on-dark-muted); }
.tb-hours dd { color: var(--on-dark); }
.tb-idle-hint { color: var(--on-dark-muted); max-width: 26em; display: flex; gap: var(--s-75); }
.tb-idle-hint .icon { width: 1.25rem; height: 1.25rem; transform: rotate(180deg); color: var(--amber); }

@media (max-width: 519px) {
  .tb { --brk-w: 84px; padding: var(--s-400) var(--s-100) var(--s-400) var(--s-75); }
  .tb-pick, .tb-main { column-gap: var(--s-75); }
  .tape { font-size: 0.875rem; line-height: 1.25rem; }
  .tb-answer .btn { width: 100%; }
  .brk-stamp { display: none; }
}
.tb-answer .field-row { grid-template-columns: 1fr; gap: 0; }

/* =========================================================
   Chips
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); }
button.chip, label.chip > span {
  display: inline-flex; align-items: center; min-height: 40px; padding: var(--s-75) var(--s-200);
  border: 1px solid var(--line-strong); border-radius: var(--r-full); background: var(--paper); color: var(--ink);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; cursor: pointer;
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease), color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
button.chip:hover, label.chip:hover > span { border-color: var(--ink); background: var(--light); }
button.chip:active, label.chip:active > span { transform: scale(0.98); }
button.chip[aria-pressed="true"], label.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
label.chip { position: relative; display: inline-flex; margin: 0; }
label.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
label.chip input:focus-visible + span, button.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* =========================================================
   Forms
   ========================================================= */
.field { display: grid; gap: var(--s-75); margin-bottom: var(--s-200); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; column-gap: var(--s-200); } }
label, legend { display: block; }
.label { color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: var(--s-100);
  font-size: 1rem; line-height: 1.5rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  transition: border-color var(--t-color) var(--ease), background-color var(--t-color) var(--ease);
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-muted); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); background: var(--red-bg); }
.field-error { display: flex; gap: var(--s-50); align-items: flex-start; color: var(--red); }
.field-error .icon { width: 1rem; height: 1rem; margin-top: var(--s-25); }
select {
  appearance: none; padding-right: var(--s-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23131209' d='M216.49 104.49l-80 80a12 12 0 0 1-17 0l-80-80a12 12 0 0 1 17-17L128 159l71.51-71.52a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-100) center; background-size: 16px 16px;
}
.chips-field { border: 0; padding: 0; margin: 0 0 var(--s-200); min-width: 0; }
.chips-field legend { padding: 0; margin-bottom: var(--s-75); }
.check { display: flex; gap: var(--s-100); align-items: flex-start; cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; margin: var(--s-25) 0 0; accent-color: var(--ink); flex: none; }
.alert { display: flex; gap: var(--s-75); padding: var(--s-100) var(--s-200); background: #fff4da; border: 1px solid rgba(255, 176, 32, 0.6); border-radius: var(--r-lg); }
.alert .icon { width: 1.25rem; height: 1.25rem; color: var(--amber-ink); margin-top: var(--s-25); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: var(--s-200); flex-wrap: wrap; margin-top: var(--s-300); }
.form-status { margin-top: var(--s-200); padding: var(--s-100) var(--s-200); border-radius: var(--r-lg); border: 1px solid transparent; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--green-bg); border-color: rgba(67, 185, 122, 0.6); }
.form-status.err { background: var(--red-bg); border-color: rgba(200, 67, 43, 0.5); }
.form-status a { font-weight: 600; }

.form-card { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300); }
@media (min-width: 640px) { .form-card { padding: var(--s-400); } }
.form-card > h2, .form-card > h3 { margin-bottom: var(--s-100); }
.form-card > .form-intro { margin-bottom: var(--s-300); color: var(--ink-muted); }

/* =========================================================
   Benefits
   ========================================================= */
.benefits { display: grid; gap: var(--s-200); grid-template-columns: 1fr; }
@media (min-width: 720px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } .benefits.benefits-4 { grid-template-columns: 1fr 1fr; } }
.benefit {
  display: flex; flex-direction: column; gap: var(--s-100);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300);
}
.benefit-icon { width: 40px; height: 40px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--ink); color: var(--amber); margin-bottom: var(--s-75); }
.benefit-icon .icon { width: 1.25rem; height: 1.25rem; }
.benefit p { color: var(--ink-muted); }
.benefit blockquote {
  margin-top: auto; padding: var(--s-100) var(--s-200); border-radius: var(--r-lg);
  background: var(--light); color: var(--ink);
}
.benefit blockquote footer { margin-top: var(--s-50); color: var(--ink-muted); }
.benefit-spacer { flex: 1; }

/* =========================================================
   Tagline reveal
   ========================================================= */
.tagline { padding-block: var(--s-800); }
@media (min-width: 1024px) { .tagline { padding-block: var(--s-900); } }
.tagline-text { max-width: 840px; }
.tagline-text .w { color: rgba(255, 255, 255, 0.3); transition: color var(--t-move) var(--ease); }
.tagline-text .w.on { color: var(--on-dark); }
.tagline-text .w.amber.on { color: var(--amber); }
.tagline-sub { margin-top: var(--s-300); max-width: 680px; }

/* =========================================================
   Circuit directory (services index)
   ========================================================= */
.directory {
  list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--s-25);
  background: var(--light-2); border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden;
}
@media (min-width: 820px) { .directory { grid-template-columns: 1fr 1fr; } }
.directory li { background: var(--paper); }
.directory a {
  display: grid; grid-template-columns: 24px 24px minmax(0, 1fr) 16px; gap: var(--s-200); align-items: center;
  padding: var(--s-200) var(--s-300); text-decoration: none; height: 100%;
  transition: background-color var(--t-color) var(--ease);
}
.directory a:hover { background: var(--light); }
@media (min-width: 820px) { .directory li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.directory .ckt { color: var(--ink-muted); text-align: right; font-variant-numeric: tabular-nums; }
.directory .svc { display: grid; gap: var(--s-25); }
.directory .svc span { color: var(--ink-muted); }
.directory a > .icon { width: 16px; height: 16px; color: var(--ink-muted); transition: transform var(--t-move) var(--ease), color var(--t-color) var(--ease); }
.directory a:hover > .icon { transform: translateX(4px); color: var(--ink); }

/* Feature cards: the two service landing pages */
.feature-pair { display: grid; gap: var(--s-200); grid-template-columns: 1fr; margin-bottom: var(--s-300); }
@media (min-width: 820px) { .feature-pair { grid-template-columns: 1fr 1fr; } }
.feature {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; gap: var(--s-200); align-items: start;
  padding: var(--s-300); border-radius: var(--r-2xl); text-decoration: none;
  transition: background-color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.feature:hover { background: var(--dark-4); }
.feature:active { transform: scale(0.99); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--r-xl); background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-text { display: grid; gap: var(--s-75); }
.feature-go { color: var(--amber); align-self: center; }
.feature-go .icon { width: 24px; height: 24px; transition: transform var(--t-move) var(--ease); }
.feature:hover .feature-go .icon { transform: translateX(4px); }

.breaker { width: 24px; height: 40px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: var(--light-2); position: relative; }
.breaker::before { content: ""; position: absolute; left: 2px; right: 2px; top: 2px; height: 16px; border-radius: var(--r-xs); background: var(--ink); transition: transform var(--t-move) var(--ease); }
.breaker::after { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; border-radius: var(--r-xs); background: var(--amber); transition: transform var(--t-move) var(--ease); }
.directory a:hover .breaker::before, .directory a:hover .breaker::after { transform: translateY(16px); }
.more { margin-top: var(--s-300); }

/* =========================================================
   How it works
   ========================================================= */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--s-200); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300); }
.step > * + * { margin-top: var(--s-100); }
.step p { color: var(--ink-muted); }
.node {
  width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--amber); color: var(--ink); margin-bottom: var(--s-200);
}
.wire { display: none; }
@media (min-width: 860px) {
  .wire { display: block; position: absolute; top: calc(var(--s-300) + 19px); left: calc(var(--s-300) + 48px); right: calc(-1 * var(--s-300)); height: 2px; background: var(--line-strong); transform-origin: left center; }
  .step:last-child .wire { display: none; }
  .js .steps .wire { transform: scaleX(0); transition: transform var(--t-move) var(--ease); }
  .js .steps.is-in .wire { transform: scaleX(1); }
  .js .steps.is-in .step:nth-child(2) .wire { transition-delay: 200ms; }
}

/* =========================================================
   Reviews
   ========================================================= */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-100) var(--s-300); margin-bottom: var(--s-400); }
.rating-score { display: flex; align-items: center; gap: var(--s-200); }
.rating .stars .icon { width: 1.5rem; height: 1.5rem; }
.reviews { display: grid; gap: var(--s-200); grid-template-columns: 1fr; }
@media (min-width: 720px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { display: flex; flex-direction: column; gap: var(--s-200); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300); }
.review blockquote { flex: 1; }
.review figcaption { display: flex; align-items: center; gap: var(--s-100); }
.avatar { width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--ink); color: var(--amber); flex: none; }
.review figcaption .muted { display: block; }

/* =========================================================
   Service area
   ========================================================= */
.area-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: start; }
@media (min-width: 860px) { .area-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-700); } }
.area-grid > div > * + * { margin-top: var(--s-200); }
.towns { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-100) var(--s-300); }
@media (min-width: 640px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.towns li { display: flex; align-items: center; gap: var(--s-75); }
.towns li::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--amber); flex: none; }
.towns li.towns-more::before { background: transparent; border: 1px solid var(--amber); }
.towns-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .towns-page { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.towns-page li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-200); }
.towns-page li.home { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.side-note { display: flex; align-items: center; gap: var(--s-100); padding: var(--s-200); border-radius: var(--r-xl); background: var(--dark-4); }
.side-note .icon { width: 1.5rem; height: 1.5rem; color: var(--amber); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; gap: var(--s-400); grid-template-columns: 1fr; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-700); align-items: start; } }
.faq-aside > * + * { margin-top: var(--s-200); }
.faq { display: grid; gap: var(--s-75); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color var(--t-color) var(--ease); }
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); cursor: pointer; border-radius: var(--r-xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.25rem; height: 1.25rem; color: var(--ink-muted); transition: transform var(--t-move) var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--ink); }
.faq .faq-a { padding: 0 var(--s-300) var(--s-300); color: var(--ink-muted); }
.faq .faq-a > * + * { margin-top: var(--s-100); }
.faq .faq-a a { color: var(--ink); }
.faq details[open] .faq-a { animation: card-in var(--t-move) var(--ease) both; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: start; }
@media (min-width: 960px) { .final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); } }
.final-copy > * + * { margin-top: var(--s-300); }
.promise-list { list-style: none; display: grid; gap: var(--s-100); }
.promise-list li { display: flex; gap: var(--s-100); align-items: flex-start; }
.promise-list .icon { width: 1.25rem; height: 1.25rem; color: var(--amber); margin-top: var(--s-25); }
.on-light .promise-list .icon, .on-paper .promise-list .icon { color: var(--amber-ink); }

/* =========================================================
   Inner page header
   ========================================================= */
.page-hero { padding: calc(var(--s-900) + var(--s-400)) 0 var(--s-700); }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--s-900) + var(--s-700)) 0 var(--s-800); } }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: center; }
@media (min-width: 860px) { .page-hero-grid { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: var(--s-700); } }
.page-hero-copy { max-width: 680px; }
.page-hero-copy > * + * { margin-top: var(--s-300); }
.page-hero-copy .body-7 { color: var(--on-dark-muted); }
.hero-art-svg { justify-self: center; width: 100%; max-width: 320px; }
@media (max-width: 859px) { .hero-art-svg { justify-self: start; max-width: 200px; } }

/* Breakers switch on as the services page loads */
.panel-art .brk-h { animation: brk-on 600ms var(--ease) both; animation-delay: calc(400ms + var(--i, 0) * 100ms); }
.panel-art .live-dot { animation: fade-in 600ms var(--ease) both; animation-delay: 1700ms; }
@keyframes brk-on { from { transform: translateX(var(--off, 0)); } to { transform: translateX(0); } }
@keyframes fade-in { from { opacity: 0.15; } to { opacity: 1; } }

/* =========================================================
   Services detail
   ========================================================= */
.svc-list { display: grid; gap: var(--s-200); }
.svc-row {
  display: grid; grid-template-columns: 1fr; gap: var(--s-200);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300);
}
@media (min-width: 860px) { .svc-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-600); padding: var(--s-400); } }
.svc-head { display: flex; align-items: flex-start; gap: var(--s-200); }
.tag {
  flex: none; min-width: 40px; height: 40px; padding: 0 var(--s-75); display: grid; place-items: center;
  border-radius: var(--r-lg); background: var(--ink); color: var(--amber); font-variant-numeric: tabular-nums;
}
.svc-body > * + * { margin-top: var(--s-200); }
.svc-body p { color: var(--ink-muted); }
.jobs { list-style: none; display: grid; gap: var(--s-75); }
.jobs li { display: flex; gap: var(--s-100); align-items: flex-start; }
.jobs .icon { width: 1rem; height: 1rem; margin-top: var(--s-50); color: var(--amber-ink); }
.note { display: flex; gap: var(--s-75); padding: var(--s-100) var(--s-200); background: #fff4da; border: 1px solid rgba(255, 176, 32, 0.6); border-radius: var(--r-lg); color: var(--ink); }
.note .icon { width: 1.25rem; height: 1.25rem; color: var(--amber-ink); margin-top: var(--s-25); }
.svc-cta { display: flex; flex-wrap: wrap; gap: var(--s-100); }

/* =========================================================
   About
   ========================================================= */
.two { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-700); } }
.prose > * + * { margin-top: var(--s-200); }
.prose p { max-width: 680px; }
.checklist { border-radius: var(--r-2xl); padding: var(--s-300); }
@media (min-width: 640px) { .checklist { padding: var(--s-400); } }
.checklist h2 { margin-bottom: var(--s-300); }
.checklist ul { list-style: none; display: grid; gap: var(--s-100); }
.checklist li { display: flex; gap: var(--s-100); align-items: flex-start; }
.checklist .icon { width: 1.25rem; height: 1.25rem; color: var(--amber); margin-top: var(--s-25); }
.values { display: grid; grid-template-columns: 1fr; gap: var(--s-200); }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300); }
.values > div > * + * { margin-top: var(--s-100); }
.values p { color: var(--ink-muted); }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-700); } }
.contact-info dl { display: grid; gap: var(--s-300); }
.contact-info dt { color: var(--ink-muted); margin-bottom: var(--s-50); }
.contact-info dd a:not(.btn) { overflow-wrap: anywhere; }
.big-phone { display: inline-block; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); text-underline-offset: 0.2em; transition: text-decoration-color var(--t-color) var(--ease); }
.big-phone:hover { text-decoration-color: var(--ink); }

/* =========================================================
   Local businesses
   ========================================================= */
.biz-filters { margin-bottom: var(--s-300); }
.biz-grid { display: grid; gap: var(--s-200); grid-template-columns: 1fr; list-style: none; }
@media (min-width: 720px) { .biz-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .biz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.biz {
  display: flex; flex-direction: column; gap: var(--s-200);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300);
  transition: border-color var(--t-color) var(--ease);
}
.biz:hover { border-color: var(--line-strong); }
.biz.is-example { border-style: dashed; border-color: var(--amber); }
.biz-top { display: flex; gap: var(--s-200); align-items: center; }
.biz-logo { width: 56px; height: 56px; border-radius: var(--r-xl); flex: none; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: var(--amber); border: 1px solid var(--line); }
.biz-logo img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.biz-trade { color: var(--amber-ink); }
.biz p { color: var(--ink-muted); flex: 1; }
.biz-actions { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.biz[hidden] { display: none; }
.biz-empty { display: grid; justify-items: start; gap: var(--s-200); padding: var(--s-400); border: 1px dashed var(--line-strong); border-radius: var(--r-2xl); background: var(--paper); }

/* =========================================================
   Legal pages
   ========================================================= */
.legal { max-width: 720px; }
.legal > * + * { margin-top: var(--s-200); }
.legal h2 { margin-top: var(--s-500); }
.legal ul { padding-left: var(--s-300); display: grid; gap: var(--s-75); }
.legal p, .legal li { color: var(--ink-muted); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); }

/* =========================================================
   404
   ========================================================= */
.lost { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--s-900) + var(--s-400)) 0 var(--s-700); }
.lost-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-400); align-items: center; }
@media (min-width: 760px) { .lost-grid { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); } }
.lost-copy > * + * { margin-top: var(--s-300); }
.dead-bulb { display: none; }
@media (min-width: 760px) { .dead-bulb { display: flex; flex-direction: column; align-items: center; } .dead-bulb .cord { height: 120px; } .dead-bulb .bulb { width: 140px; } }
.dead-bulb .lit { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: var(--s-700) 0 var(--s-400); }
@media (min-width: 1024px) { .site-footer { padding-top: var(--s-900); } }
.sign-off { display: grid; gap: var(--s-300); padding-bottom: var(--s-600); margin-bottom: var(--s-600); position: relative; }
.sign-off::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); }
@media (min-width: 860px) { .sign-off { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.slogan { color: var(--lit); text-shadow: 0 0 16px rgba(255, 205, 120, 0.4), 0 0 64px rgba(255, 176, 32, 0.3); }
.sign-off-call { max-width: 24em; color: var(--on-dark-muted); }
.sign-off-call a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-400) var(--s-300); }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: auto; } }
.site-footer h2 { margin-bottom: var(--s-200); color: var(--on-dark); }
.site-footer ul { list-style: none; display: grid; gap: var(--s-75); color: var(--on-dark-muted); }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-200); }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; transition: color var(--t-color) var(--ease); }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.footer-about { max-width: 26em; margin-top: var(--s-200); color: var(--on-dark-muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200);
  margin-top: var(--s-600); padding-top: var(--s-300); position: relative; color: var(--on-dark-muted);
}
.footer-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }

/* =========================================================
   Scroll reveals (only when JavaScript is running)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: 80ms; }
.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: 160ms; }
.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: 240ms; }
.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: 320ms; }
.js [data-reveal-stagger].is-in > :nth-child(n+6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { transform: none; transition: opacity 400ms var(--ease); }
  .menu-item, .menu-panel.is-open .menu-item { transform: none; }
  .tagline-text .w { color: var(--on-dark); transition: none; }
  .tagline-text .w.amber { color: var(--amber); }
  .live-chip::before { animation: none; }
  .btn:active, .switch:active, button.chip:active { transform: none; }
  .tb-pick .tape, .tb-pick:hover .tape { transition: none; }
}

/* =========================================================
   Service landing pages: options, sizing helper, solar quiz
   ========================================================= */
.options { display: grid; gap: var(--s-200); grid-template-columns: 1fr; }
@media (min-width: 960px) { .options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.option {
  display: flex; flex-direction: column; gap: var(--s-200);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-300);
}
.option-featured { border-color: var(--ink); }
.option-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); }
.option-icon { width: 48px; height: 48px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.option-icon .icon { width: 24px; height: 24px; }
.pill { display: inline-flex; align-items: center; padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: var(--light-2); color: var(--ink); }
.option-featured .pill { background: var(--amber); }
.option > p { color: var(--ink-muted); }
.option-facts { display: grid; gap: var(--s-100); margin-top: auto; padding-top: var(--s-200); position: relative; }
.option-facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.option-facts div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-100); }
.option-facts dt { color: var(--ink-muted); }
.wide-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-200);
  margin-top: var(--s-200); padding: var(--s-300); border-radius: var(--r-2xl); background: var(--ink); color: var(--on-dark);
}
.wide-note > div { display: flex; gap: var(--s-200); align-items: flex-start; max-width: 720px; }
.wide-note .icon { width: 24px; height: 24px; color: var(--amber); flex: none; margin-top: var(--s-25); }
.wide-note p { color: var(--on-dark-muted); }
.wide-note strong { color: var(--on-dark); font-weight: 600; }

.sizer { display: grid; gap: var(--s-300); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .sizer { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--s-400); } }
.sizer-list { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-75); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sizer-list { grid-template-columns: 1fr 1fr; } }
.load { position: relative; display: block; cursor: pointer; }
.load input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.load-card {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-100); align-items: start; height: 100%;
  padding: var(--s-200); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line);
  transition: border-color var(--t-color) var(--ease), background-color var(--t-color) var(--ease), transform var(--t-color) var(--ease);
}
.load:hover .load-card { border-color: var(--ink-muted); }
.load:active .load-card { transform: scale(0.99); }
.load-box { width: 24px; height: 24px; border-radius: var(--r-md); border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--paper); transition: background-color var(--t-color) var(--ease), color var(--t-color) var(--ease), border-color var(--t-color) var(--ease); }
.load-box .icon { width: 16px; height: 16px; }
.load input:checked + .load-card { border-color: var(--ink); background: #fffaf0; }
.load input:checked + .load-card .load-box { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.load input:focus-visible + .load-card { outline: 2px solid var(--ink); outline-offset: 2px; }
.load-text { display: grid; gap: var(--s-25); }
.load-text .caption-5 { color: var(--ink-muted); }

.sizer-result, .quiz-result {
  position: sticky; top: var(--s-900);
  display: grid; gap: var(--s-200); align-content: start;
  padding: var(--s-300); border-radius: var(--r-2xl); background: var(--ink); color: var(--on-dark);
}
@media (min-width: 640px) { .sizer-result, .quiz-result { padding: var(--s-400); } }
.sizer-result .muted, .quiz-result .muted { color: var(--on-dark-muted); }
.sizer-math { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-100); }
.sizer-math div { padding: var(--s-100); border-radius: var(--r-lg); background: var(--dark-4); }
.sizer-math dt { color: var(--on-dark-muted); }
.sizer-math dd { color: var(--on-dark); }
.result-empty { color: var(--on-dark-muted); }
.sizer-result .btn, .quiz-result .btn { justify-self: start; }
.meter { height: 8px; border-radius: var(--r-full); background: var(--dark-4); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left center; transform: scaleX(0); transition: transform var(--t-move) var(--ease); }
.meter-scale { display: flex; justify-content: space-between; color: var(--on-dark-muted); }
.result-list { list-style: none; display: grid; gap: var(--s-75); }
.result-list li { display: flex; gap: var(--s-75); align-items: flex-start; color: var(--on-dark-muted); }
.result-list .icon { width: 1rem; height: 1rem; color: var(--amber); margin-top: var(--s-50); }

.quiz { display: grid; gap: var(--s-300); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .quiz { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-400); } }
.quiz-qs { display: grid; gap: var(--s-200); }
.quiz-q { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--paper); padding: var(--s-300); margin: 0; min-width: 0; }
.quiz-q legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s-200); }
.quiz-q legend + * { clear: both; }

.safety {
  display: flex; gap: var(--s-200); align-items: flex-start;
  padding: var(--s-300); border-radius: var(--r-2xl); background: #fff4da; border: 1px solid rgba(255, 176, 32, 0.7);
}
.safety .icon { width: 24px; height: 24px; color: var(--amber-ink); flex: none; }
.safety > div > * + * { margin-top: var(--s-75); }

.gen-led { animation: pulse 2.4s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .gen-led { animation: none; } }

/* Owner section on About */
.owner { display: grid; gap: var(--s-300); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .owner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-700); } }
.owner-card { border-radius: var(--r-2xl); padding: var(--s-300); display: grid; gap: var(--s-200); }
@media (min-width: 640px) { .owner-card { padding: var(--s-400); } }
.owner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-100); }
.owner-stats div { padding: var(--s-200); border-radius: var(--r-xl); background: var(--dark-4); }
.owner-stats dt { color: var(--on-dark-muted); }
.creds { list-style: none; display: grid; gap: var(--s-100); }
.creds li { display: flex; gap: var(--s-100); align-items: flex-start; }
.creds .icon { width: 1.25rem; height: 1.25rem; color: var(--amber); margin-top: var(--s-25); flex: none; }

/* Light cards that sit inside dark sections keep light card styling */
.tb-answer .btn-ghost, .tb-form .btn-ghost, .form-card .btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.tb-answer .btn-ghost:hover, .tb-form .btn-ghost:hover, .form-card .btn-ghost:hover { background: var(--light-2); border-color: var(--ink); }
.tb-answer .muted, .tb-form .muted, .form-card .muted { color: var(--ink-muted); }
.tb-answer :focus-visible, .tb-form :focus-visible, .form-card :focus-visible { outline-color: var(--ink); }
.form-card .text-link, .tb-answer .text-link { color: var(--ink); }

/* Gradient text: give descenders room so background-clip doesn't cut them off */
.grad { padding-bottom: var(--s-100); margin-bottom: calc(-1 * var(--s-100)); }

/* Narrow laptops: the switch sits under the bulb so it never runs off the edge */
@media (min-width: 1024px) and (max-width: 1279px) {
  .switch-wrap { margin-left: 0; transform: translateX(-50%); flex-direction: column-reverse; gap: var(--s-75); }
}
/* Very small phones: the menu button shows only its icon */
@media (max-width: 379px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { padding: var(--s-75); }
}

@media (max-width: 639px) { .proof-dot { display: none; } .proof { column-gap: var(--s-200); } }
