/* Mark Roque Electrical — "Job board" direction.
   Black-shirt ink + paper white + hi-vis yellow, Barlow Condensed like the cover sign,
   real job photos pinned up as polaroids with marker captions. */

:root {
  --ink:       #16181B;
  --ink-2:     #202328;
  --ink-3:     #2C3036;
  --paper:     #F4F1EA;
  --paper-2:   #EAE5DA;
  --card:      #FFFFFF;
  --text:      #16181B;
  --muted:     #57534B;
  --muted-lt:  #B9B4AA;
  --line:      #DCD5C8;
  --volt:      #FFC21A;
  --volt-hov:  #F2B200;
  --tape:      rgba(255, 226, 140, 0.82);

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --radius: 0.3rem;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--font-head); line-height: 1.02; letter-spacing: 0.005em; }
p { text-wrap: pretty; max-width: 65ch; margin: 0 0 var(--space-sm); }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
section { padding-block: var(--space-xl); }
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--space-md); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--space-sm); top: var(--space-sm); z-index: 100; background: var(--volt); padding: var(--space-xs) var(--space-sm); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: 48px; padding: 0 var(--space-md);
  border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .15s, transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-volt { background: var(--volt); color: var(--ink); }
.btn-volt:hover { background: var(--volt-hov); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-sm { min-height: 44px; padding: 0 var(--space-sm); font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--space-md); min-height: 4.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; margin-right: auto; }
.bolt { width: 1.4rem; height: auto; fill: var(--volt); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; flex: none; }
.wm-text { display: flex; flex-direction: column; line-height: 0.9; font-family: var(--font-head); text-transform: uppercase; }
.wm-name { font-weight: 800; font-size: 1.45rem; letter-spacing: 0.01em; }
.wm-trade { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.32em; color: var(--muted); }
.nav { display: none; gap: var(--space-md); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: var(--space-xs); }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.header-phone { display: none; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding-block: var(--space-lg) var(--space-xl); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-lg); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.95rem; color: var(--muted);
  margin-bottom: var(--space-sm);
}
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.3); }
.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 5.4rem); font-weight: 800; text-transform: uppercase;
  line-height: 0.92; max-width: 13ch;
}
.lede { font-size: 1.2rem; color: var(--muted); margin-top: var(--space-sm); max-width: 44ch; }
.hero-proof { margin-top: var(--space-md); margin-bottom: 0; font-size: 0.98rem; color: var(--muted); }
.hero-proof strong { color: var(--text); }
.stars { color: #E7A400; letter-spacing: 0.08em; }
.sep { margin-inline: var(--space-xs); color: var(--line); }

.hero-photos { position: relative; min-height: 20rem; }
.polaroid {
  position: relative; background: var(--card);
  padding: var(--space-xs) var(--space-xs) var(--space-sm);
  box-shadow: var(--shadow);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hand {
  font-family: var(--font-hand); font-weight: 700; font-size: 1.55rem; line-height: 1.1;
  color: #2A2A2A; padding-top: var(--space-xs); padding-inline: var(--space-xs);
}
.tape {
  position: absolute; top: -0.9rem; left: 50%; width: 6.5rem; height: 1.8rem;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--tape); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); z-index: 2;
}
.p-front { width: 88%; margin-left: auto; transform: rotate(2deg); z-index: 2; }
.p-front img { object-position: center 40%; }
.p-back {
  position: absolute; width: 62%; left: 0; top: -0.5rem; transform: rotate(-6deg); z-index: 1;
  padding-bottom: var(--space-md);
}
.p-back img { object-position: center 30%; }
.hero-photos { padding-top: var(--space-lg); }

/* ---------- stats band (centred on purpose) ---------- */
.stats { background: var(--ink); color: var(--paper); padding-block: var(--space-md); text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-sm); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1; }
.stat-num .star { color: var(--volt); font-size: 0.8em; margin-left: 0.1em; }
.stat-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-lt); }

/* ---------- section headings ---------- */
.kicker {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.95rem; color: var(--muted); margin-bottom: var(--space-xs);
  display: inline-block; border-bottom: 3px solid var(--volt); padding-bottom: 0.15rem;
}
.kicker-light { color: var(--muted-lt); }
section h2 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); font-weight: 800; text-transform: uppercase; max-width: 18ch; }
.section-lede { color: var(--muted); font-size: 1.12rem; margin-top: var(--space-sm); }
.section-lede a { font-weight: 600; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: var(--space-sm); margin-top: var(--space-md); }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-md); position: relative;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--volt); border-radius: var(--radius) 0 0 var(--radius); }
.svc svg { width: 2rem; height: 2rem; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-xs); }
.svc h3 { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; margin-bottom: var(--space-xs); }
.svc p { margin: 0; color: var(--muted); }
.svc-foot {
  margin-top: var(--space-md); padding: var(--space-md);
  background: var(--paper-2); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm);
}
.svc-foot p { margin: 0; font-size: 1.1rem; }

/* ---------- signature: the job board ---------- */
.board {
  background-color: var(--ink-2);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--paper);
}
.board .section-lede { color: var(--muted-lt); }
.pins { display: grid; gap: var(--space-lg) var(--space-md); margin-top: var(--space-lg); }
.pin .polaroid img { aspect-ratio: 4 / 5; object-position: center; }
.pin-note { margin-top: var(--space-sm); color: #D9D4CA; font-size: 1rem; max-width: 34ch; }
.tilt-l  { transform: rotate(-2deg); }
.tilt-l2 { transform: rotate(-1deg); }
.tilt-r  { transform: rotate(2deg); }
.tilt-r2 { transform: rotate(1.2deg); }
.pin .polaroid { transition: transform .25s ease; }
.pin:hover .polaroid { transform: rotate(0deg) scale(1.02); }

/* ---------- generlink ---------- */
.outage { background: var(--paper-2); }
.outage-grid { display: grid; gap: var(--space-lg); align-items: center; }
.outage-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); }
.outage-copy p { font-size: 1.1rem; }
.outage-copy h2 { margin-bottom: var(--space-sm); }
.fine { font-size: 0.98rem !important; color: var(--muted); border-left: 3px solid var(--volt); padding-left: var(--space-sm); }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: var(--space-sm); margin-top: var(--space-md); }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-md); display: flex; flex-direction: column; }
.review blockquote { margin: var(--space-xs) 0 var(--space-sm); flex: 1; }
.review blockquote p { font-size: 1.12rem; margin: 0; }
.who { margin: 0; font-weight: 700; }
.who span { font-weight: 400; color: var(--muted); }
.review-links { margin-top: var(--space-md); }
.review-links .btn-row { margin-top: 0; }
.review-fb { color: var(--muted); margin-top: var(--space-sm); }
/* Facebook logo: brand blue on light backgrounds, white on hover/dark. */
.btn-fb svg { width: 1.25rem; height: 1.25rem; flex: none; color: #0866FF; }
.btn-fb:hover svg { color: currentColor; }
.header-fb { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #0866FF; flex: none; }
.header-fb svg { width: 1.6rem; height: 1.6rem; }
.header-fb:hover { color: var(--ink); }
.footer-fb { display: inline-flex !important; align-items: center; gap: var(--space-xs); }
.footer-fb svg { width: 1.25rem; height: 1.25rem; flex: none; }
.hero-proof-link { color: inherit; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: var(--space-lg); align-items: center; }
.about-copy h2 { margin-bottom: var(--space-sm); }
.about-photo { max-width: 32rem; }
.about-photo img { object-position: center 35%; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; gap: var(--space-lg); }
.contact-info h2 { margin-bottom: var(--space-sm); }
.contact-info p { color: var(--muted-lt); }
.big-phone {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3rem); color: var(--volt); text-decoration: none; line-height: 1.1;
  margin-block: var(--space-xs) var(--space-md);
}
.facts { margin: 0; display: grid; gap: var(--space-sm); }
.facts div { border-top: 1px solid var(--ink-3); padding-top: var(--space-xs); }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-lt); }
.facts dd { margin: 0; font-weight: 600; }
.facts a { text-decoration-color: var(--volt); text-underline-offset: 3px; word-break: break-word; }

.quote-form { background: var(--card); color: var(--text); border-radius: var(--radius); padding: var(--space-md); display: grid; gap: var(--space-sm); align-self: start; box-shadow: var(--shadow); }
.field { display: grid; gap: 0.3rem; }
.field-row { display: grid; gap: var(--space-sm); }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #FBFAF7;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.7rem 0.8rem; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(255, 194, 26, 0.6); outline-offset: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.err { color: #A3261B; }

/* ---------- footer ---------- */
.site-footer { background: #0F1113; color: var(--muted-lt); padding-block: var(--space-lg); }
.footer-row { display: grid; gap: var(--space-md); }
.wordmark-light .wm-name { color: var(--paper); }
.wordmark-light .wm-trade { color: var(--muted-lt); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
.footer-links a { color: var(--paper); text-decoration: none; display: inline-block; padding-block: var(--space-xs); }
.footer-links a:hover { color: var(--volt); }
.copy { margin: 0; font-size: 0.9rem; }

/* ---------- cookie notice + mobile call bar ---------- */
#cookie-notice {
  position: fixed; left: var(--space-sm); right: var(--space-sm); bottom: 4.5rem; z-index: 60;
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: var(--space-sm); gap: var(--space-sm); align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
#cookie-notice p { margin: 0; font-size: 0.92rem; flex: 1 1 16rem; }
#cookie-notice a { color: var(--volt); }
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: flex; align-items: center; justify-content: center; min-height: 3.5rem;
  background: var(--volt); color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.18);
}
body { padding-bottom: 3.5rem; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pin.reveal.is-in .polaroid { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pin .polaroid { transition: none; }
}

/* ---------- breakpoints ---------- */
@media (max-width: 599px) {
  section { padding-block: var(--space-lg); }
  .container { padding-inline: var(--space-sm); }
  .header-row .btn-sm { display: none; }
  .hero { padding-top: var(--space-md); }
  .hero-photos { min-height: 0; padding-top: var(--space-md); }
  .svc, .review, .quote-form { padding: var(--space-sm); }
  .svc-foot { padding: var(--space-sm); }
}
@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .pins { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .header-phone { display: inline; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .mobile-call { display: none; }
  body { padding-bottom: 0; }
  #cookie-notice { bottom: var(--space-sm); left: auto; max-width: 34rem; }
  .nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-photos { padding-top: var(--space-lg); }
  .pins { grid-template-columns: repeat(3, 1fr); }
  .outage-grid { grid-template-columns: 0.8fr 1.2fr; }
  .about-grid { grid-template-columns: 1.2fr 0.8fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-row { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .copy { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- plain pages (thank-you, privacy) ---------- */
.plain-page { padding-bottom: 0; }
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 4.2rem); font-weight: 800; text-transform: uppercase; margin-block: var(--space-sm); }
.thanks p { margin-inline: auto; color: var(--muted); font-size: 1.15rem; }
.thanks .btn-row { justify-content: center; }
.bolt-big { width: 3rem; margin-inline: auto; }
.legal { padding-block: var(--space-xl); }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-sm); }
.legal h2 { font-size: 1.7rem; font-weight: 700; text-transform: uppercase; margin-block: var(--space-md) var(--space-xs); }
.legal a { text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- round 2 fixes (2026-11-12) ---------- */
.nowrap { white-space: nowrap; }
.hero h1 { font-size: clamp(2.9rem, 8vw, 4.9rem); max-width: 14ch; }
.p-back { width: 44%; top: 0; left: 0; }
.p-back img { aspect-ratio: 3 / 4; object-position: center 60%; }
.p-front { width: 82%; margin-top: var(--space-lg); }
@media (max-width: 599px) {
  .hero-proof .sep { display: none; }
  .hero-proof .nowrap { display: block; }
  .p-back { width: 46%; }
  .p-front { width: 86%; margin-top: var(--space-md); }
  .hero-photos { padding-top: var(--space-sm); }
  /* Services: icon beside the text so nine cards stay short on a phone */
  .svc { display: grid; grid-template-columns: 2rem 1fr; column-gap: var(--space-sm); align-items: start; padding-left: var(--space-md); }
  .svc svg { grid-row: 1 / span 2; margin: 0.15rem 0 0; }
  .svc h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
  .svc p { font-size: 0.98rem; }
  /* Job board: two across on phones */
  .pins { grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-sm); margin-top: var(--space-md); }
  .pin .polaroid { padding: 0.35rem 0.35rem var(--space-xs); }
  .pin .hand { font-size: 1.15rem; padding-inline: 0.2rem; }
  .pin .tape { width: 4.2rem; height: 1.3rem; top: -0.6rem; }
  .pin-note { font-size: 0.86rem; line-height: 1.45; margin-top: var(--space-xs); }
}

/* ---------- their badge (2026-11-12, round 3) ---------- */
.mark { width: 2.9rem; height: 2.9rem; flex: none; color: var(--ink); }
.wordmark-light .mark { color: var(--paper); }
.mark-big { width: 5rem; height: 5rem; margin-inline: auto; display: block; color: var(--ink); }

/* ---------- services: the breaker panel (round 3) ---------- */
.switchboard { display: grid; gap: var(--space-md); margin-top: var(--space-md); align-items: start; }
.panel-box { display: none; }
.js .panel-box { display: block; }
.panel-box {
  background: linear-gradient(160deg, #DADDDF 0%, #C4C8CB 55%, #B7BBBF 100%);
  border-radius: 0.6rem; padding: var(--space-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.12), var(--shadow);
  position: relative;
}
.panel-plate {
  display: flex; align-items: center; gap: var(--space-xs);
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: var(--space-xs) var(--space-sm); margin-bottom: var(--space-sm);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
}
.panel-plate .mark { width: 2rem; height: 2rem; color: var(--paper); }
.plate-lic { margin-left: auto; color: var(--muted-lt); font-weight: 600; font-size: .85rem; }
.bus {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs) 0;
  background: #A9AEB3; border-radius: var(--radius); padding: var(--space-xs);
  position: relative; box-shadow: inset 0 2px 6px rgba(0,0,0,.25);
}
.bus::before { /* the bus bar down the middle */
  content: ""; position: absolute; left: 50%; top: var(--space-xs); bottom: var(--space-xs); width: 6px;
  transform: translateX(-50%); background: linear-gradient(90deg, #8E7A55, #C8B27E, #8E7A55); border-radius: 3px;
}
.brk {
  position: relative; display: flex; align-items: center; gap: var(--space-xs);
  min-height: 3.1rem; padding: 0 var(--space-xs); margin: 0;
  background: transparent; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.brk:nth-child(odd) { padding-right: 0.55rem; }
.brk:nth-child(even) { flex-direction: row-reverse; padding-left: 0.55rem; }
.brk-num { font-size: .72rem; font-weight: 700; color: #4D5257; width: 1.1rem; text-align: center; flex: none; }
.brk-tape {
  flex: 1; min-width: 0; background: #F3E3A8; color: #222;
  font-family: var(--font-hand); font-weight: 700; font-size: 1.2rem; line-height: 1.1;
  padding: 0.2rem 0.45rem; border-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,.18);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brk:nth-child(3n) .brk-tape { transform: rotate(-1.2deg); }
.brk:nth-child(3n+1) .brk-tape { transform: rotate(0.8deg); }
.brk-body {
  flex: none; width: 3rem; height: 2.4rem; border-radius: 4px; position: relative;
  background: linear-gradient(180deg, #2A2E33, #16181B); box-shadow: 0 2px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.brk-handle {
  position: absolute; top: 0.45rem; bottom: 0.45rem; width: 1.15rem; border-radius: 3px;
  background: linear-gradient(180deg, #5A6068, #3A3F45); box-shadow: 0 1px 2px rgba(0,0,0,.5);
  transition: left .18s ease, right .18s ease, background-color .18s;
}
/* OFF = handle pushed away from the bus bar, ON = handle toward it, lit */
.brk:nth-child(odd) .brk-handle { left: 0.35rem; }
.brk:nth-child(even) .brk-handle { right: 0.35rem; }
.brk[aria-selected="true"]:nth-child(odd) .brk-handle { left: 1.5rem; }
.brk[aria-selected="true"]:nth-child(even) .brk-handle { right: 1.5rem; }
.brk[aria-selected="true"] .brk-handle { background: linear-gradient(180deg, #FFD455, #F2B200); box-shadow: 0 0 12px 2px rgba(255,194,26,.55); }
.brk[aria-selected="true"] .brk-num { color: var(--ink); }
.brk[aria-selected="true"] .brk-tape { background: #FFE58A; }
.brk:hover .brk-body { box-shadow: 0 0 0 2px rgba(255,194,26,.6), 0 2px 3px rgba(0,0,0,.35); }
.brk:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-radius: 4px; }
.brk-spare { cursor: default; opacity: .55; }
.brk-spare .brk-tape { background: #E6E2D6; color: #777; }
.panel-hint { margin: var(--space-xs) 0 0; color: #3E4247; font-size: 1.35rem; }

.directory { display: grid; gap: var(--space-sm); }
.js .directory { display: block; }
.circuit {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-md); box-shadow: var(--shadow);
}
.circuit .tape { left: 2.5rem; transform: rotate(-4deg); }
.circuit h3 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-xs); }
.circuit p { color: var(--muted); font-size: 1.1rem; }
.circuit-tag {
  display: inline-flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-xs) !important;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem !important; color: var(--muted);
}
.led { width: .6rem; height: .6rem; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px 2px rgba(255,194,26,.6); }
.circuit-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin: var(--space-sm) 0 0 !important; }
.ask { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 3px; text-underline-offset: 5px;
  display: inline-block; padding-block: var(--space-xs); }
.ask::after { content: " \2192"; }
.ask-alt { color: var(--muted); }
.js .circuit.is-on { animation: circuit-in .25s ease; }
@keyframes circuit-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .circuit.is-on { animation: none; } .brk-handle { transition: none; } }

@media (min-width: 600px) { .directory { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .switchboard { grid-template-columns: minmax(0, 30rem) 1fr; gap: var(--space-lg); }
  .js .circuit { margin-top: var(--space-lg); }
}
@media (max-width: 599px) {
  .panel-box { padding: var(--space-xs); }
  .brk { min-height: 2.9rem; padding: 0 0.2rem; gap: 0.3rem; }
  .brk-num { display: none; }
  .brk-tape { font-size: 1.05rem; padding: 0.15rem 0.3rem; }
  .brk-body { width: 2.6rem; height: 2.2rem; }
  .brk[aria-selected="true"]:nth-child(odd) .brk-handle { left: 1.1rem; }
  .brk[aria-selected="true"]:nth-child(even) .brk-handle { right: 1.1rem; }
  .plate-lic { display: none; }
  .circuit { padding: var(--space-sm); }
  .circuit .tape { left: 1.5rem; }
}

/* ---------- about: sketch map (round 3) ---------- */
.about-map { grid-template-columns: 1fr; }
.map-card { position: relative; background: var(--card); padding: var(--space-sm); box-shadow: var(--shadow); transform: rotate(0.6deg); }
.map-card > .tape { top: -0.9rem; }
.map-title { font-size: 1.9rem; padding: 0 0 var(--space-xs); }
.map-wrap { position: relative; border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; }
.map-river { fill: none; stroke: #8FB3C9; stroke-width: 9; stroke-linecap: round; }
.map-lake { fill: #8FB3C9; }
.map-road { fill: none; stroke: #7C766A; stroke-width: 5; stroke-linecap: round; }
.map-road-17 { stroke-width: 6.5; }
.map-town circle { fill: var(--ink); }
.map-shield rect { fill: var(--ink); }
.map-shield text { fill: var(--paper); font: 800 15px var(--font-head); text-anchor: middle; }
.map-label text { fill: #2A2A2A; font: 700 21px var(--font-hand); }
.map-label text.big { font-size: 30px; }
.map-label text.small { font: 600 13px var(--font-body); fill: #5B5850; letter-spacing: .04em; }
.map-water { fill: #4F7891; font: 700 18px var(--font-hand); }
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  min-width: 44px; min-height: 48px; padding: 0; background: none; border: 0; cursor: pointer;
}
.pin-dot {
  width: 1.5rem; height: 1.5rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--volt); border: 3px solid var(--ink); box-shadow: 0 3px 5px rgba(0,0,0,.3);
  transition: transform .15s;
}
.pin-tag {
  position: absolute; bottom: calc(100% - 0.3rem); white-space: nowrap;
  background: var(--ink); color: var(--paper); font: 700 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  padding: 0.1rem 0.4rem; border-radius: 2px; opacity: 0; transition: opacity .15s;
}
.map-pin:hover .pin-dot, .map-pin[aria-pressed="true"] .pin-dot { transform: rotate(-45deg) scale(1.2); background: #FFD455; }
.map-pin[aria-pressed="true"] .pin-tag, .map-pin:hover .pin-tag, .map-pin:focus-visible .pin-tag { opacity: 1; }
.map-pin:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.pin-cards { display: grid; gap: var(--space-xs); margin-top: var(--space-sm); }
.js .pin-cards { display: block; }
.pin-card { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--space-sm); align-items: center; }
.pin-card img { width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 2px; }
.pin-place { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; margin: 0; line-height: 1.1; }
.pin-text { margin: 0.2rem 0 0; color: var(--muted); font-size: 1rem; }
.map-foot { margin: var(--space-xs) 0 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 900px) { .about-grid.about-map { grid-template-columns: 0.85fr 1.15fr; } }

[hidden] { display: none !important; }
@media (max-width: 599px) { .pin-dot { width: 1.15rem; height: 1.15rem; border-width: 2.5px; } .map-label text { font-size: 24px; } .map-label text.big { font-size: 34px; } }

/* ---------- round 4 (2026-11-12): Nigel's phone notes ---------- */
/* Reviews and About share a background, so their paddings stacked into one big gap. */
.reviews + .about { padding-top: 0; }

/* Footer: brand | contact | links, then a ruled copyright line. */
.footer-grid { display: grid; gap: var(--space-md); }
.footer-tag { margin: var(--space-xs) 0 0; font-size: .95rem; }
.footer-contact { display: grid; gap: 0.15rem; justify-items: start; }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--volt); text-decoration: none; padding-block: 0.25rem; }
.footer-email { color: var(--paper); text-decoration: none; padding-block: 0.4rem; }
.footer-email:hover, .footer-phone:hover { text-decoration: underline; }
.footer-hours { margin: 0; font-size: .95rem; }
.footer-grid .footer-links { justify-content: flex-start; gap: 0 var(--space-md); }
.footer-grid .copy { border-top: 1px solid var(--ink-3); padding-top: var(--space-sm); font-size: .85rem; max-width: none; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr auto; align-items: start; gap: var(--space-lg); }
  .footer-grid .footer-links { flex-direction: column; gap: 0; }
  .footer-grid .copy { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  /* Headline fits in four lines, so the buttons come up the screen. */
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 2.9rem); max-width: none; }
  .review-links .btn-row { flex-direction: column; gap: var(--space-xs); }
  .review-links .btn { width: 100%; justify-content: center; }
  .eyebrow { font-size: .8rem; letter-spacing: .1em; }
  .lede { font-size: 1.08rem; }
  /* Full-width stacked buttons: tidy on a phone without breaking the page's left alignment. */
  .hero .btn-row { flex-direction: column; gap: var(--space-xs); margin-top: var(--space-sm); }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .hero-proof { margin-top: var(--space-sm); }
  .site-footer { padding-block: var(--space-md) var(--space-lg); }
  .footer-grid { gap: var(--space-sm); }
  .footer-contact { padding-block: var(--space-xs); }
}
