/* =====================================================================================
   Switch Smart Electrical: home page (public/index.html only)
   Builds on site.css tokens and components; nothing here is shared with other pages.
    1 hero: consumer unit (hb-*) + circuit chart door (cc)   2 services cards
    3 cutaway (cw-*)   4 schedule of work (cert)   5 wiring check teaser (hwc, opt)
    6 areas teaser (harea, tw, map hm-*)   7 who we are (hwho)   8 faq + misc
   Art is generated by _src/art/home/*.py and inlined by build.py.
   Default CSS state is the finished state: breakers ON, rows ticked, cables live. JS
   (js/pages/home.js) animates towards it; reduced motion and no-JS show it straight away.
   ===================================================================================== */

/* ------------------------------------------------------------------ 1 hero */
.hhero { padding-bottom: clamp(56px, 7vw, 104px); }
.hhero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -10%; top: 4%; width: 70%; height: 92%;
  background: radial-gradient(closest-side, rgba(196, 18, 48, .10), rgba(196, 18, 48, 0) 70%);
}
.hhero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px clamp(40px, 5vw, 72px); align-items: center; }
.hhero__main { min-width: 0; padding-top: clamp(8px, 2vw, 32px); }
.hhero .eyebrow { margin-bottom: 26px; }
.hhero__h { font-size: clamp(3.4rem, .9rem + 5.4vw, 5.75rem); max-width: 9.6ch; margin: 0 0 28px; }
.hhero__lede { margin-bottom: 34px; max-width: 34em; }
.hhero__btns { gap: 12px; flex-wrap: nowrap; }
.hhero__btns .btn { padding: 0 19px; }
@media (max-width: 1239px) and (min-width: 1080px), (max-width: 560px) {
  .hhero__btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; max-width: 460px; }
  .hhero__btns .btn { width: 100%; padding: 0 14px; }
  .hhero__tel { grid-column: 1 / -1; order: 3; }
}
.hhero__meta { margin-top: 30px; }
.hhero__board { position: relative; min-width: 0; }

@media (max-width: 1079px) {
  .hhero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hhero__h { max-width: 11ch; }
  .hhero__board { max-width: 680px; }
}
@media (max-width: 560px) {
  .hhero__eb2 { display: none; }
}

/* the consumer unit (inline SVG from _src/art/home/hero_board.py) */
.hb { position: relative; z-index: 2; width: 100%; height: auto; overflow: visible; display: block; }
.hb text { font-family: var(--f-mono); }
.hb .tx-m { text-anchor: middle; }
.hb .tx-e { text-anchor: end; }
.hb-enc { fill: #1E2026; stroke: rgba(242, 239, 233, .4); stroke-width: 1.6; }
.hb-cover { fill: none; stroke: rgba(242, 239, 233, .1); stroke-width: 1; }
.hb-screw { fill: #2B2E35; stroke: rgba(242, 239, 233, .32); stroke-width: 1; }
.hb-slot { stroke: rgba(242, 239, 233, .5); stroke-width: 1.1; }
.hb-strip { fill: #16181C; stroke: rgba(242, 239, 233, .12); stroke-width: 1; }
.hb-sn { fill: var(--on-ink); font-size: 12px; font-weight: 500; letter-spacing: .04em; transition: fill .2s; }
.hb-sn--solo { font-size: 11px; letter-spacing: .12em; fill: var(--on-ink-2); }
.hb-sw { fill: var(--on-ink-3); font-size: 9.5px; letter-spacing: .03em; transition: fill .2s; }
.hb-win-bg { fill: #0A0B0D; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.hb-rail { stroke: #262930; stroke-width: 26; }
.hb-face { fill: #E9E4DA; }
.hb-face2 { fill: #DDD7CB; }
.hb-rt { fill: #111214; font-size: 12.5px; font-weight: 500; }
.hb-st { fill: #5C5850; font-size: 8.5px; letter-spacing: .05em; }
.hb-tt { fill: #5C5850; font-size: 7.5px; }
.hb-slotbg { fill: #2A2C31; }
.hb-lev { fill: #FBF9F5; stroke: rgba(17, 18, 20, .28); stroke-width: .8; }
.hb-grip { stroke: #A39C90; stroke-width: 1.2; }
.hb-lever { transition: transform .24s cubic-bezier(.5, 0, .2, 1.45); }
.hb-flag { fill: var(--red); transition: fill .15s .1s; }
.hb-test { fill: #D3CDC1; stroke: #A59E91; stroke-width: .8; }
.hb-led { fill: #FF4D63; transition: fill .15s .12s; }
.hb-glow { fill: url(#hbGlowG); transition: opacity .3s .1s; }
.hb-ring { fill: none; stroke: var(--red-l); stroke-width: 2; opacity: 0; transition: opacity .2s; }
.hb-hit { fill: none; pointer-events: all; }
.hb-cab { fill: none; stroke: #80868D; stroke-width: 7; transition: stroke .2s; }
.hb-tail { fill: none; stroke-width: 9; }
.hb-tail--l { stroke: var(--c-line); }
.hb-tail--n { stroke: var(--c-neutral); }
.hb-earth { fill: none; stroke: var(--c-earth); stroke-width: 7; }
.hb-earth-s { fill: none; stroke: var(--c-earth-2); stroke-width: 7; stroke-dasharray: 7 7; }
.hb-pulse { fill: none; stroke: #FF7A8C; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 24 140; stroke-dashoffset: 24; opacity: 0; }
.hb-pulse--tail { stroke-width: 3.4; }
.hb-cart { fill: #DDD7CB; stroke: rgba(17, 18, 20, .18); stroke-width: .8; }
.hb-win { fill: #F7F5F0; stroke: rgba(17, 18, 20, .3); stroke-width: .8; }
.hb-ok { fill: #6F6A62; }
.hb-blank { fill: #D9D3C7; }
.hb-bl { stroke: rgba(17, 18, 20, .12); stroke-width: 1; }
.hb-hinge { fill: #2B2E35; stroke: rgba(242, 239, 233, .38); stroke-width: 1.2; }
.hb-hinge-l { stroke: rgba(242, 239, 233, .3); stroke-width: 1; }
.hb-plate { fill: rgba(242, 239, 233, .36); font-size: 8.5px; letter-spacing: .14em; }
.hb-dev { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
@keyframes hb-pulse { 0% { stroke-dashoffset: 24; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: -110; opacity: 0; } }
@keyframes hb-pulse-down { 0% { stroke-dashoffset: -110; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: 24; opacity: 0; } }
.hb-dev.is-pulse .hb-pulse { animation: hb-pulse .9s var(--ease-in-out) 1 both; }
.hb-dev--ms.is-pulse .hb-pulse { animation-name: hb-pulse-down; }
.hb-dev.is-hot .hb-pulse, .hb-dev:hover .hb-pulse { animation: hb-pulse 1.25s cubic-bezier(.45, 0, .55, 1) infinite; }
.hb-dev--ms.is-hot .hb-pulse, .hb-dev--ms:hover .hb-pulse { animation-name: hb-pulse-down; }
.hb-dev.is-hot .hb-ring, .hb-dev:hover .hb-ring { opacity: 1; }
.hb-dev.is-hot .hb-sn, .hb-dev:hover .hb-sn, .hb-dev.is-hot .hb-sw, .hb-dev:hover .hb-sw { fill: var(--red-l); }
.hb-dev.is-hot .hb-cab, .hb-dev:hover .hb-cab { stroke: #9AA0A6; }
/* off: JS arms the board (inline head script, motion allowed) and closes each device in turn */
html.hb-arm:not(.hb-done) .hb-dev:not(.is-on) .hb-lever, .hb-dev.is-flick .hb-lever { transform: translateY(var(--throw, 28px)); }
html.hb-arm:not(.hb-done) .hb-dev:not(.is-on) .hb-flag, .hb-dev.is-flick .hb-flag { fill: #A9A296; }
html.hb-arm:not(.hb-done) .hb-dev:not(.is-on) .hb-led, .hb-dev.is-flick .hb-led { fill: #6F6A62; }
html.hb-arm:not(.hb-done) .hb-dev:not(.is-on) .hb-glow, .hb-dev.is-flick .hb-glow { opacity: 0; }
.hb-dev.is-flick .hb-lever { transition-duration: .08s; transition-timing-function: ease-in; }

/* the door, folded down under the board, with the circuit chart on its inside face */
.hcu__door {
  position: relative; z-index: 1; margin: -1.9% 2.2% 0; padding: clamp(10px, 1.4vw, 14px);
  border-radius: 8px 8px 16px 16px; background: #1E2026; box-shadow: inset 0 0 0 1.6px rgba(242, 239, 233, .4), 0 40px 70px -40px rgba(0, 0, 0, .9);
}
.cchart { border-radius: 8px; background: var(--card); color: var(--text); padding: 4px clamp(12px, 1.6vw, 20px) 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.cchart__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0 10px; border-bottom: 1.5px solid var(--text);
  font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.cchart__tag { color: var(--text-3); letter-spacing: .08em; }
.cchart__list { list-style: none; }
.cchart__list li + li { border-top: 1px solid var(--rule); }
.cc {
  display: grid; grid-template-columns: 8px 30px minmax(0, 1fr) 76px minmax(0, 1.05fr) 18px; align-items: center; gap: 12px;
  min-height: 42px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: var(--text); text-decoration: none;
  transition: background-color var(--t-fast);
}
.cc__led { width: 7px; height: 7px; }
.cc__w { font: 500 .8125rem/1 var(--f-mono); color: var(--text-3); letter-spacing: .04em; }
.cc__c { font-weight: 600; font-size: .9688rem; line-height: 1.25; }
.cc__d { font: 400 .75rem/1.2 var(--f-mono); color: var(--text-2); letter-spacing: .02em; white-space: nowrap; }
.cc__s { font-size: .875rem; color: var(--text-3); line-height: 1.25; text-align: right; }
.cc__go { width: 16px; height: 16px; color: var(--red); transition: transform .3s var(--ease-out); }
.cc:hover, .cc.is-hot, .cc:focus-visible { background: var(--paper-2); }
.cc:hover .cc__s, .cc.is-hot .cc__s, .cc:focus-visible .cc__s { color: var(--text); }
.cc:hover .cc__go, .cc.is-hot .cc__go, .cc:focus-visible .cc__go { transform: translateX(3px); }
.cc:focus-visible { outline: 3px solid var(--red); outline-offset: 0; }
.cc .cc__led { background: var(--red); box-shadow: 0 0 0 3px rgba(196, 18, 48, .14), 0 0 10px 1px var(--red-glow); }
html.hb-arm:not(.hb-done) .cc:not(.is-on) .cc__led { background: rgba(17, 18, 20, .16); box-shadow: inset 0 0 0 1px rgba(17, 18, 20, .18); }
@media (max-width: 1239px) and (min-width: 1080px) { .cc { grid-template-columns: 8px 26px minmax(0, 1fr) 70px 18px; } .cc__s { display: none; } }
@media (max-width: 560px) {
  .hcu__door { margin-top: -2.4%; padding: 8px; border-radius: 6px 6px 12px 12px; }
  .cchart { padding: 2px 12px 6px; }
  .cchart__head { font-size: .6875rem; }
  .cc { grid-template-columns: 7px 22px minmax(0, 1fr) auto 16px; gap: 10px; min-height: 50px; }
  .cc__c { display: grid; gap: 2px; font-size: .9375rem; }
  .cc__s { grid-column: 3; grid-row: 2; text-align: left; font-size: .8125rem; margin-top: -6px; }
  .cc__d { grid-column: 4; grid-row: 1 / 3; font-size: .6875rem; }
  .cc__go { grid-column: 5; grid-row: 1 / 3; }
  .cc__led, .cc__w { grid-row: 1 / 3; }
  .hb-sw { display: none; }
  .hb-sn { font-size: 19px; }
  .hb-sn:not(.hb-sn--solo) { transform: translateY(6px); }
  .hb-sn--solo { font-size: 15px; letter-spacing: .06em; }
  .hb-plate { display: none; }
}

/* ------------------------------------------------------------------ 2 services cards (drawn icons) */
.hsvc__cards { --cols: 3; }
.hcard { gap: 8px; padding: 22px 22px 20px; }
.hcard .card__top { align-items: flex-start; margin-bottom: 14px; }
.hcard__ic { display: grid; place-items: center; width: 64px; height: 64px; margin: -6px 0 0 -6px; border-radius: 12px; color: var(--text); }
.hcard__n { display: inline-flex; align-items: center; gap: 10px; }
.hic { width: 56px; height: 56px; overflow: visible; }
.hic-l { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hic-r { fill: var(--red); }
.hic-rl { fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html.js:not(.ss-reduced) .hic[data-draw]:not(.is-drawn) :is(.hic-r, .hic-rl) { opacity: 0; }
.hic :is(.hic-r, .hic-rl) { transition: opacity .5s var(--ease-out) .1s; }
a.hcard:hover .hcard__ic { color: var(--text); }
a.hcard:hover .hic-r, a.hcard:focus-visible .hic-r { filter: drop-shadow(0 0 3px var(--red-glow)); }
@media (max-width: 1079px) { .hsvc__cards { --cols: 2; } }
@media (max-width: 560px) {
  .hsvc__cards { --cols: 1; gap: 10px; }
  .hcard { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "ic t n" "ic d d"; gap: 2px 14px; align-items: center; padding: 16px 16px 16px 12px; }
  .hcard .card__top { display: contents; }
  .hcard__ic { grid-area: ic; align-self: start; width: 52px; height: 52px; margin: 0; }
  .hcard__ic .hic { width: 44px; height: 44px; }
  .hcard__n { grid-area: n; }
  .hcard .card__t { grid-area: t; font-size: 1.1875rem; }
  .hcard .card__d { grid-area: d; font-size: .875rem; line-height: 1.45; }
  .hcard .card__go { display: none; }
}
.hic-f { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; opacity: .75; }

/* ------------------------------------------------------------------ 3 cutaway: where the work is */
.hcw { overflow: clip; }
.cw { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.cw__fig { display: grid; gap: 14px; }
.cw__frame {
  position: relative; border-radius: var(--r-3); background-color: #16181C; background-image: var(--grid-ink); background-size: 30px 30px; background-position: -1px -1px;
  box-shadow: 0 0 0 1px var(--rule-ink); padding: clamp(10px, 2.2vw, 28px) clamp(6px, 1.6vw, 22px) 0; overflow: hidden;
}
.cw__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-small); line-height: 1.5; color: var(--on-ink-3); }
.cw__cap .fig__n { color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--rule-ink-2); }
.cw__cap > span:nth-child(2) { flex: 1 1 360px; }
.cw__pause {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--ink-3);
  color: var(--on-ink); font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--rule-ink-2);
  transition: box-shadow var(--t-fast);
}
.cw__pause:hover { box-shadow: inset 0 0 0 1.5px var(--on-ink-2); }
.cw__pause-ic { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.cw__pause[aria-pressed="true"] .cw__pause-ic { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.cw-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cw-svg text { font-family: var(--f-mono); }
.cw-svg .tx-m { text-anchor: middle; }
.cw-soil { fill: #131417; }
.cw-hatch { stroke: rgba(255, 255, 255, .045); stroke-width: 1; }
.cw-gl { stroke: rgba(242, 239, 233, .55); stroke-width: 1.6; }
.cw-ghost { fill: none; stroke: rgba(242, 239, 233, .16); stroke-width: 1.2; stroke-dasharray: 4 6; }
.cw-roof { fill: none; stroke: rgba(242, 239, 233, .8); stroke-width: 2; stroke-linejoin: round; }
.cw-l2 { fill: none; stroke: rgba(242, 239, 233, .26); stroke-width: 1; }
.cw-l { fill: none; stroke: rgba(242, 239, 233, .7); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cw-f { fill: none; stroke: rgba(242, 239, 233, .3); stroke-width: 1; stroke-linecap: round; }
.cw-void { fill: rgba(255, 255, 255, .02); stroke: rgba(242, 239, 233, .2); stroke-width: 1; }
.cw-joist { fill: rgba(242, 239, 233, .1); }
.cw-ins { fill: none; stroke: rgba(242, 239, 233, .22); stroke-width: 1; }
.cw-hatchdoor { fill: #1B1D22; stroke: rgba(242, 239, 233, .34); stroke-width: 1; }
.cw-wall { fill: #2A2D33; stroke: rgba(242, 239, 233, .55); stroke-width: 1.3; }
.cw-wh { stroke: rgba(242, 239, 233, .16); stroke-width: 1; }
.cw-iw { fill: #23262C; stroke: rgba(242, 239, 233, .36); stroke-width: 1; }
.cw-slab, .cw-roofslab { fill: #23262C; stroke: rgba(242, 239, 233, .4); stroke-width: 1; }
.cw-room { fill: rgba(242, 239, 233, .55); font-size: 11px; letter-spacing: .16em; stroke: #16181C; stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; }
.cw-room--ghost { fill: rgba(242, 239, 233, .22); }
.cw-supply { fill: none; stroke: #4B5056; stroke-width: 5; stroke-linejoin: round; }
.cw-tails { fill: none; stroke: #6B7178; stroke-width: 4; }
.cw-cab { fill: none; stroke: #6E747B; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.cw-run-s { fill: none; stroke: #6E747B; stroke-width: 3; stroke-linecap: round; }
.cw-cur { fill: none; stroke: #FF5A70; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .4; transition: opacity .8s; }
.cw-run.is-active .cw-cur, .cw.is-armed.is-live:not(.is-settled) .cw-cur { opacity: 1; }
.cw-flow { fill: none; stroke: #FFC2CB; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 18; opacity: 0; transition: opacity .3s; }
.cw-cone { fill: url(#cwCone); opacity: .8; transition: opacity .5s; }
.cw-bulb { fill: #FFE6BD; transition: fill .3s; }
.cw-led { fill: #FF5A70; transition: fill .3s; }
.cw-cu { fill: #2B2E35; stroke: rgba(242, 239, 233, .8); stroke-width: 1.4; }
.cw-cuwin { fill: #0D0E10; }
.cw-brk { fill: #E9E4DA; }
.cw-z0 { fill: rgba(242, 239, 233, .09); stroke: rgba(242, 239, 233, .4); stroke-width: 1; stroke-dasharray: 3 4; }
.cw-z1 { fill: rgba(242, 239, 233, .055); stroke: rgba(242, 239, 233, .32); stroke-width: 1; stroke-dasharray: 3 4; }
.cw-z2 { fill: rgba(242, 239, 233, .03); stroke: rgba(242, 239, 233, .26); stroke-width: 1; stroke-dasharray: 3 4; }
.cw-zn { fill: rgba(242, 239, 233, .7); font-size: 12px; }
.cw-chase { stroke: rgba(242, 239, 233, .35); stroke-width: 1.2; stroke-dasharray: 3 4; }
.cw-mat { fill: none; stroke: #FF7A5C; stroke-width: 1.3; opacity: .75; transition: stroke .4s, opacity .4s; }
.cw-evcab { fill: none; stroke: rgba(242, 239, 233, .6); stroke-width: 2.2; stroke-linecap: round; }
.cw-hit { fill: rgba(255, 255, 255, 0); pointer-events: all; transition: fill .35s; }
.cw-z { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.cw-bal circle { fill: #1B1D22; stroke: rgba(242, 239, 233, .85); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.cw-bal text { fill: var(--on-ink); font-size: 13px; font-weight: 500; text-anchor: middle; transition: fill .25s; }
.cw-chipg { opacity: 0; transition: opacity .25s; pointer-events: none; }
.cw-chip { fill: var(--on-ink); }
.cw-chipt { fill: var(--ink); font-size: 11px; letter-spacing: .1em; }
/* active zone (tour, hover, focus on its key row) */
.cw-z.is-active .cw-hit { fill: rgba(255, 255, 255, .05); }
.cw-z.is-active .cw-bal circle { fill: var(--red); stroke: var(--red-l); }
.cw-z.is-active .cw-chipg { opacity: 1; }
.cw-run.is-active .cw-cab { stroke: #9AA0A6; }
.cw-run.is-active .cw-flow { opacity: 1; animation: cw-flow .9s linear infinite; }
@keyframes cw-flow { to { stroke-dashoffset: -20; } }
/* armed (JS, motion allowed): dark until the drawing scrolls into view, then the current runs out */
.cw.is-armed .cw-cur { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.cw.is-armed.is-live .cw-cur { stroke-dashoffset: 0; transition: stroke-dashoffset calc(var(--len) * 1.316ms) linear .15s; }
.cw.is-armed:not(.is-live) :is(.cw-cone) { opacity: 0; }
.cw.is-armed:not(.is-live) .cw-bulb { fill: #3A3D43; }
.cw.is-armed:not(.is-live) .cw-led { fill: #3A3D43; }
.cw.is-armed:not(.is-live) .cw-mat { stroke: rgba(242, 239, 233, .25); opacity: 1; }
.cw.is-armed.is-live :is(.cw-cone, .cw-bulb, .cw-led, .cw-mat) { transition-delay: calc(var(--at, 0s) + .2s); }
.cw.is-armed:not(.is-live) .cw-bal { opacity: 0; }
.cw.is-armed .cw-bal { transition: opacity .5s calc(var(--at, 0s) + .25s); }

/* key under the drawing: the same nine links, legible on a phone */
.cw__key { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--rule-ink); }
.cw__key li { border-bottom: 1px solid var(--rule-ink); }
.cwk {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 16px 10px 16px 0; color: var(--on-ink); text-decoration: none; height: 100%;
}
.cwk__n {
  grid-row: 1 / 3; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--on-ink-2); font: 500 .8125rem/1 var(--f-mono); color: var(--on-ink); transition: background-color .25s, box-shadow .25s;
}
.cwk__b { display: grid; gap: 3px; }
.cwk__t { font: 650 1.0625rem/1.25 var(--f-display); font-stretch: var(--display-stretch); }
.cwk__d { font-size: .875rem; line-height: 1.45; color: var(--on-ink-2); }
.cwk__s { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-ink-3); transition: color .2s; }
.cwk__s::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: width .3s var(--ease-out); }
.cwk:hover .cwk__s, .cwk:focus-visible .cwk__s, .cwk.is-active .cwk__s { color: var(--red-l); }
.cwk:hover .cwk__s::after, .cwk:focus-visible .cwk__s::after { width: 24px; }
.cwk.is-active .cwk__n { background: var(--red); box-shadow: inset 0 0 0 1.5px var(--red-l), 0 0 14px -2px var(--red-glow); }
.cwk:focus-visible { outline-offset: 2px; }
@media (max-width: 999px) { .cw__key { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cw__key { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .cwk { grid-template-columns: 26px minmax(0, 1fr); gap: 2px 10px; padding: 12px 0; }
  .cwk__n { width: 26px; height: 26px; font-size: .75rem; }
  .cwk__t { font-size: 1rem; }
  .cwk__d { display: none; }
  .cwk__s { margin-top: 2px; font-size: .625rem; letter-spacing: .04em; }
  .cwk__s::after { display: none; }
  .cw__frame { padding: 10px 4px 0; }
  .cw-chipg, .cw-room { display: none; }
  .cw-bal { transform: scale(2.1); transform-box: fill-box; transform-origin: center; }
}

/* ------------------------------------------------------------------ 4 schedule of work (how a job runs) */
.cert {
  position: relative; border-radius: var(--r-2); background: var(--card); color: var(--text);
  box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-2); overflow: hidden;
}
.cert::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); }
.cert__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; padding: 26px clamp(18px, 2.6vw, 32px) 18px; border-bottom: 1.5px solid var(--text); }
.cert__t { display: flex; align-items: center; gap: 12px; margin: 0; font: 720 clamp(1.35rem, 1.1rem + .9vw, 1.75rem)/1.1 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: -.01em; }
.cert__m { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cert__hd, .cert__row { display: grid; grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.75fr) minmax(0, 1.35fr) 84px; gap: 0; }
.cert__hd { border-bottom: 1px solid var(--rule-2); background: var(--paper); }
.cert__hd span { padding: 10px 16px; font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cert__hd span + span, .cert__row > * + * { border-left: 1px solid var(--rule); }
.cert__rows { list-style: none; }
.cert__row { border-bottom: 1px solid var(--rule); align-items: stretch; }
.cert__row > * { margin: 0; padding: 18px 16px; }
.cert__no { font: 500 .8125rem/1.5 var(--f-mono); color: var(--text-3); letter-spacing: .04em; }
.cert__st { font: 680 1.1875rem/1.25 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: -.004em; }
.cert__wh { font-size: .9688rem; line-height: 1.55; color: var(--text-2); }
.cert__get { font-size: .9375rem; line-height: 1.5; font-weight: 500; }
.cert__lbl { display: none; }
.cert__ok { display: grid; place-items: center; }
.cert__ok svg { width: 30px; height: 30px; padding: 5px; border-radius: 6px; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--rule-2); transition: box-shadow .3s; }
.cert__row.is-ticked .cert__ok svg, html:not(.js) .cert__ok svg { box-shadow: inset 0 0 0 1.5px var(--red); }
html.js:not(.ss-reduced) .cert.is-armed .cert__row:not(.is-ticked) .cert__ok svg { color: transparent; }
html.js:not(.ss-reduced) .cert.is-armed .cert__row:not(.is-ticked) .cert__no { color: var(--text-3); }
.cert__ok svg { transition: color .25s var(--ease-out), box-shadow .3s; }
.cert__row.is-ticked .cert__no { color: var(--red); }
.cert__row.is-ticked .cert__ok svg { animation: cert-tick .45s var(--ease-snap); }
@keyframes cert-tick { 0% { transform: scale(.6); } 100% { transform: none; } }
.cert__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); }
.cert__foot > div { padding: 16px clamp(16px, 2.2vw, 24px); }
.cert__foot > div + div { border-left: 1px solid var(--rule); }
.cert__foot dt { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.cert__foot dd { font-weight: 600; font-size: .9688rem; }
.hjob__cable { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 899px) {
  .cert__hd { display: none; }
  .cert__row { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "no st ok" "no wh ok" "no get ok"; padding: 18px 16px 18px 8px; gap: 6px 0; }
  .cert__row > * { padding: 0 10px; border-left: 0 !important; }
  .cert__no { grid-area: no; }
  .cert__st { grid-area: st; }
  .cert__wh { grid-area: wh; }
  .cert__get { grid-area: get; padding-top: 4px; }
  .cert__lbl { display: block; font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
  .cert__ok { grid-area: ok; align-self: start; }
  .cert__foot { grid-template-columns: minmax(0, 1fr); }
  .cert__foot > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ------------------------------------------------------------------ 5 wiring check teaser */
.hwc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center; }
.hwc__intro .h2 { margin-bottom: 18px; }
.hwc__intro .lede { margin-bottom: 24px; }
.hwc__note { display: flex; gap: 12px; align-items: flex-start; max-width: 46ch; font-size: var(--fs-small); color: var(--text-3); }
.hwc__note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--text-2); }
.hwc__q { border-radius: var(--r-3); background: var(--card); box-shadow: 0 0 0 1px var(--rule), var(--shadow-2); padding: clamp(20px, 3vw, 36px); }
.hwc__qn { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.hwc__qn span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.hwc__qt { margin: 0 0 22px; font: 720 clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem)/1.05 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: -.015em; }
.hwc__opts { list-style: none; display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; align-items: center; gap: 16px; min-height: 76px; padding: 10px 18px 10px 12px;
  border-radius: 12px; background: var(--paper); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--rule-2);
  transition: box-shadow var(--t-fast), background-color var(--t-fast), transform .3s var(--ease-out);
}
.opt__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.opt__ic .hic { width: 40px; height: 40px; }
.opt__b { display: grid; gap: 2px; }
.opt__t { font: 650 1.125rem/1.25 var(--f-display); font-stretch: var(--display-stretch); }
.opt__d { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.opt:hover, .opt:focus-visible { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--text); }
.opt:hover .sw, .opt:focus-visible .sw { background: var(--red); box-shadow: inset 0 0 0 1.5px var(--red-d), 0 0 12px -2px var(--red-glow); }
.opt:hover .sw::after, .opt:focus-visible .sw::after { transform: translateX(18px); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.opt:active { transform: translateY(1px); }
@media (max-width: 899px) { .hwc__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .opt { grid-template-columns: 48px minmax(0, 1fr) 40px; gap: 12px; padding: 10px 12px 10px 10px; } .opt__ic { width: 48px; height: 48px; } .opt__ic .hic { width: 34px; height: 34px; } }

/* ------------------------------------------------------------------ 6 areas teaser */
.harea__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px clamp(40px, 5vw, 88px); align-items: center; }
.harea__main .h2 { margin-bottom: 18px; }
.harea__main .lede { margin-bottom: 28px; }
.pc { display: grid; gap: 8px; max-width: 460px; margin-bottom: 30px; }
.pc__row { display: flex; gap: 10px; align-items: flex-start; }
.pc__in { flex: 1 1 auto; min-width: 0; text-transform: uppercase; font-family: var(--f-mono); letter-spacing: .04em; }
.pc__in::placeholder { text-transform: none; font-family: var(--f-text); letter-spacing: 0; }
.pc .btn { flex: none; min-height: 50px; }
.tw { list-style: none; border-top: 1.5px solid var(--text); margin-bottom: 22px; }
.tw li { border-bottom: 1px solid var(--rule-2); }
.tw__a {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px 92px minmax(0, 1.2fr) 18px; align-items: baseline; gap: 12px;
  padding: 13px 4px; color: var(--text); text-decoration: none; transition: background-color var(--t-fast), padding var(--t-med) var(--ease-out);
}
.tw__t { font: 680 1.1875rem/1.2 var(--f-display); font-stretch: var(--display-stretch); }
.tw__pc, .tw__m { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .06em; color: var(--text-2); white-space: nowrap; }
.tw__c { font-size: .875rem; color: var(--text-3); line-height: 1.3; }
.tw__go { width: 16px; height: 16px; align-self: center; color: var(--red); transition: transform .3s var(--ease-out); }
.tw__a:hover, .tw__a.is-hot { background: var(--paper-2); padding-inline: 10px 6px; }
.tw__a:hover .tw__go, .tw__a:focus-visible .tw__go { transform: translateX(3px); }
.harea__also { font-size: var(--fs-small); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.harea__also b { color: var(--text); font-weight: 600; }
.harea__map { display: grid; gap: 14px; min-width: 0; }
.harea__frame { border-radius: var(--r-3); background-color: var(--card); background-image: var(--grid-paper); background-size: 24px 24px; background-position: -1px -1px; box-shadow: 0 0 0 1px var(--rule), var(--shadow-1); padding: clamp(10px, 1.4vw, 16px); }
.hm { display: block; width: 100%; height: auto; overflow: visible; }
.hm text { font-family: var(--f-mono); stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; paint-order: stroke; }
.hm .hm-s { text-anchor: start; } .hm .hm-e { text-anchor: end; } .hm .hm-m { text-anchor: middle; }
.hm-county { fill: rgba(17, 18, 20, .24); font-size: 12.5px; letter-spacing: .32em; }
.hm-spoke { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.hm-ring { fill: none; stroke: var(--rule-2); stroke-width: 1.2; }
.hm-rl { fill: var(--text-3); font-size: 12px; letter-spacing: .1em; }
.hm-north { fill: var(--text); }
.hm-dot { fill: var(--card); stroke: var(--text-2); stroke-width: 1.5; }
.hm-dot--main { fill: var(--text); stroke: none; }
.hm-halo { fill: none; stroke: var(--text); stroke-width: 1; opacity: .3; transition: opacity .25s, stroke .25s; }
.hm .hm-tn { fill: var(--text); font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 680; font-size: 20px; letter-spacing: -.005em; }
.hm-pc { fill: var(--text-3); font-size: 12px; letter-spacing: .08em; }
.hm-an { fill: var(--text-2); font-size: 13px; letter-spacing: 0; }
.hm-home { fill: var(--red); }
.hm-halo--home { stroke: var(--red); opacity: .5; }
.hm-pulse { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hm-pulse 2.8s var(--ease-out) infinite 1.4s; }
@keyframes hm-pulse { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.hm-town { transition: opacity .6s var(--ease-out); transition-delay: var(--d, 0s); }
html.js:not(.ss-reduced) .hm:not(.is-in) .hm-town:not(.hm-town--home) { opacity: 0; }
.hm-town.is-hot .hm-halo { opacity: 1; stroke: var(--red); stroke-width: 1.6; }
.hm-town.is-hot .hm-dot--main { fill: var(--red); }
.hm-town.is-hot .hm-tn { fill: var(--red); }
@media (max-width: 999px) { .harea__grid { grid-template-columns: minmax(0, 1fr); } .harea__map { max-width: 640px; } }
@media (max-width: 640px) {
  .tw__a { grid-template-columns: minmax(0, 1fr) auto 18px; grid-template-areas: "t m go" "c c go"; gap: 2px 10px; }
  .tw__t { grid-area: t; } .tw__m { grid-area: m; } .tw__go { grid-area: go; } .tw__pc { display: none; }
  .tw__c { grid-area: c; font-size: .8125rem; }
  .hm-an, .hm-county { display: none; }
  .hm .hm-tn { font-size: 30px; }
  .hm-pc { font-size: 19px; transform: translateY(12px); }
  .hm-town--home .hm-tn { transform: translateY(8px); }
  .hm-town--home .hm-pc { display: none; }
  .hm-rl { font-size: 18px; }
  .hm-dot { stroke-width: 2.5; }
}
@media (max-width: 400px) { .pc__row .btn { padding: 0 16px; } }

/* ------------------------------------------------------------------ 7 who we are */
.hwho { overflow: clip; isolation: isolate; }
.hwho__mark { position: absolute; z-index: -1; right: -6%; top: 50%; width: min(620px, 56vw); translate: 0 -50%; color: rgba(242, 239, 233, .035); pointer-events: none; }
.hwho__mark svg { width: 100%; height: auto; }
.hwho__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 104px); align-items: center; }
.hwho .h2 { margin-bottom: 24px; }
.hwho__prose { max-width: 60ch; }
@media (max-width: 899px) { .hwho__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ 8 faq */
.hfaq { padding-bottom: clamp(72px, 9vw, 136px); }
.cwk__d, .hcard .card__d, .cert__wh, .cert__get, .tw__c, .hwc__note span { text-wrap: pretty; }
