/* Apex Electrical, Dublin. Fresh design, 2 Nov 2026 (Charlie: not a copy of his old site).
   Graphite base with warm stone sections, his red as the one accent, his logo. Schibsted Grotesk headings in sentence case,
   Figtree body. 6px buttons, 10px panels, hairline lists, no pills, no icon chips. Video first screens on every page. */
:root {
  --ink: #0d0f12; --ink-2: #14171c; --ink-3: #1c2027;
  --stone: #f1efea; --stone-2: #e6e2da;
  --tx-l: #121417; --mu-l: #565a61; --line-l: rgba(18, 20, 23, .12);
  --tx-d: #fff; --mu-d: rgba(255, 255, 255, .74); --line-d: rgba(255, 255, 255, .13);
  --red: #d63a2f; --red-h: #bd2e24; --red-tx: #c0332a; --red-hi: #ef5547; --green: #25d366;
  --r: 6px; --r-lg: 10px;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd: 80px;
  --head: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ck-bg: #0d0f12; --ck-fg: #fff; --ck-muted: rgba(255, 255, 255, .72); --ck-btn-bg: #d63a2f; --ck-btn-fg: #fff; --ck-accent: #d63a2f;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--ink); color: var(--tx-l); font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { background: #fff; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--red-tx); }
h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.15rem); }
h3 { font-size: 1.18rem; letter-spacing: -.012em; line-height: 1.3; }
button { font: inherit; color: inherit; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: var(--r); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; }

/* section tones: graphite, warm stone, white */
.sec-dark, .sec-coal, .sec-ink, .sec-plaster, .sec-plaster2, .sec-white { padding: clamp(76px, 8.5vw, 132px) 0; }
.sec-dark, .sec-ink { background: var(--ink); color: var(--tx-d); }
.sec-coal { background: var(--ink-2); color: var(--tx-d); }
.sec-plaster { background: var(--stone); color: var(--tx-l); }
.sec-plaster2 { background: var(--stone-2); color: var(--tx-l); }
.sec-white { background: #fff; color: var(--tx-l); }
.sec-dark h2 em, .sec-coal h2 em, .sec-ink h2 em, .lp h1 em, .ph h1 em { color: var(--red-hi); }
.lede { font-size: clamp(1.05rem, 1rem + .25vw, 1.16rem); color: var(--mu-l); max-width: 54ch; margin-top: 18px; }
.sec-dark .lede, .sec-coal .lede, .sec-ink .lede { color: var(--mu-d); }

/* small uppercase label with a thin red rule */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mu-l); margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--red); flex: none; }
.kicker svg { display: none; }
.sec-dark .kicker, .sec-coal .kicker, .sec-ink .kicker, .lp .kicker, .ph .kicker { color: var(--mu-d); }
.sec-head { margin-bottom: clamp(36px, 4.5vw, 60px); max-width: 760px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red-tx); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sec-dark .link, .sec-coal .link, .sec-ink .link { color: #fff; border-color: var(--red-hi); }
.link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }

/* To confirm tags (preview only; off with site.json show_gaps) */
.gap { display: inline-flex; gap: 8px; align-items: baseline; margin-top: 12px; padding: 6px 10px; border: 1px dashed #e0913a; border-radius: 4px; background: rgba(240, 160, 70, .16); color: #8a460c; font-size: .84rem; line-height: 1.35; font-weight: 400; max-width: 100%; text-align: left; }
.gap b { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; font-weight: 600; }
p.gap { display: flex; }
.sec-dark .gap, .sec-coal .gap, .sec-ink .gap, .lp .gap, .ph .gap, .offer .gap { color: #ffc58a; background: rgba(240, 150, 60, .14); }

/* buttons: 6px corners, sentence case */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r); font-weight: 600; font-size: 1rem; letter-spacing: .005em; border: 1px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, color .25s; white-space: nowrap; line-height: 1.2; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-h); border-color: var(--red-h); }
.btn svg[viewBox="0 0 20 20"] { transition: transform .3s var(--ease); }
.btn:hover svg[viewBox="0 0 20 20"] { transform: translate(2px, -2px); }
.btn-light, .btn-white { background: #fff; color: var(--tx-l); border-color: #fff; }
.sec-white .btn-light, .sec-plaster .btn-light, .qf ~ .btn-light { border-color: var(--line-l); }
.btn-light .wa-g, .btn-ghost .wa-g { color: #1fb855; width: 21px; height: 21px; }
.btn-light:hover, .btn-white:hover { background: #f3f2ef; }
.btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-navy:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.bnow { display: none; }
@media (max-width: 520px) { .lp-btns .bn, .hero-btns .bn { display: none; } .lp-btns .bnow, .hero-btns .bnow { display: inline; } }
@media (max-width: 420px) { .btn { white-space: normal; padding: 12px 18px; } }

/* header: transparent over the dark first screen, solid graphite once scrolled. No blur, no transform (menu leak rule). */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; background: transparent; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.hd.is-solid, .menu-open .hd { background: rgba(13, 15, 18, .97); border-bottom-color: var(--line-d); }
.hd-in { height: var(--hd); display: flex; align-items: center; gap: 36px; max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); }
.hd-logo { flex: none; transition: opacity .35s; }
.hd-logo img { height: 46px; width: auto; }
.hd-home:not(.is-logo) .hd-logo { opacity: 0; pointer-events: none; }
.menu-open .hd-home .hd-logo { opacity: 1; pointer-events: auto; }
.hd-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.hd-nav > a, .dd-btn { font-size: .98rem; font-weight: 500; color: rgba(255, 255, 255, .86); padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; transition: color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.hd-nav > a:hover, .dd-btn:hover, .dd.is-open .dd-btn { color: #fff; }
.hd-nav > a[aria-current], .dd-btn.is-cur { color: #fff; border-bottom-color: var(--red-hi); }
.dd { position: relative; }
.dd.is-open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 20px); left: -20px; width: 360px; background: #fff; color: var(--tx-l); border-radius: var(--r-lg); padding: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .32);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s; }
.dd.is-open .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.dd-panel a { display: block; padding: 11px 14px; border-radius: var(--r); transition: background .2s; }
.dd-panel a:hover, .dd-panel a:focus-visible, .dd-panel a[aria-current] { background: var(--stone); }
.dd-panel b { display: block; font-family: var(--head); font-weight: 600; }
.dd-panel a:hover b { color: var(--red-tx); }
.dd-panel span { display: block; font-size: .9rem; color: var(--mu-l); line-height: 1.4; margin-top: 2px; }
.dd-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mu-l); padding: 12px 14px 2px; border-top: 1px solid var(--line-l); margin-top: 6px; font-weight: 600; }
.dd-sm { padding-top: 7px !important; padding-bottom: 7px !important; }
.dd-sm b { font-size: .95rem; }
.hd-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.hd-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.hd-tel svg { width: 17px; height: 17px; color: var(--red-hi); }
.hd-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: var(--r); background: transparent; cursor: pointer; position: relative; flex: none; }
.hd-burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.hd-burger i:nth-of-type(1) { top: 15px; } .hd-burger i:nth-of-type(2) { top: 22px; } .hd-burger i:nth-of-type(3) { top: 29px; }
.menu-open .hd-burger i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.menu-open .hd-burger i:nth-of-type(2) { opacity: 0; }
.menu-open .hd-burger i:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .hd-nav { display: none; }
  .hd-cta { margin-left: auto; }
  .hd-burger { display: block; }
}
@media (max-width: 760px) {
  :root { --hd: 66px; }
  .hd-logo img { height: 36px; }
  .hd-q { display: none; }
  .hd-tel span { display: none; }
  .hd-tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line-d); border-radius: var(--r); }
  .hd-cta { gap: 8px; }
  .hd-in { gap: 10px; }
}

/* full-screen phone menu: hidden with visibility, never transform alone; a sibling of the header */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: calc(var(--hd) + 14px) var(--gut) 24px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s linear .3s; }
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s, visibility 0s; }
.menu-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mu-d); font-weight: 600; margin: 20px 0 6px; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font-family: var(--head); font-size: 1.45rem; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.menu-small a { font-family: inherit; font-size: 1.06rem; font-weight: 500; }
.menu-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
html.menu-open { overflow: hidden; }

/* phone call bar (docks the cookie banner above it) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); border-top: 1px solid var(--line-d); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r); font-weight: 600; font-size: .98rem; }
  .mbar svg { width: 18px; height: 18px; }
  .mbar-call { background: var(--red); color: #fff; }
  .mbar-wa { background: #fff; color: var(--tx-l); }
  .mbar-wa .wa-g { color: #1fb855; width: 20px; height: 20px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .menu-open .mbar { visibility: hidden; }
}

/* reveals */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------- video first screens (_gen/hero/hero.sh) */
.lp-bg { position: absolute; inset: 0; overflow: hidden; }
.lp-bg picture, .lp-bg img { width: 100%; height: 100%; object-fit: cover; }
.lp-bg-v img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .9s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-video::-webkit-media-controls, .hero-video::-webkit-media-controls-panel, .hero-video::-webkit-media-controls-start-playback-button, .hero-video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
/* photo crossfade, only used if a video is missing */
.hs { position: absolute; inset: 0; opacity: 0; animation: hs-fade 21s infinite; }
.hs img { object-position: var(--dp); }
.hs-0 { opacity: 1; animation-name: hs-fade-first; } .hs-1 { animation-delay: 7s; } .hs-2 { animation-delay: 14s; }
@keyframes hs-fade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hs-fade-first { 0% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 95% { opacity: 0; } 100% { opacity: 1; } }

/* home: his logo as the headline over the video */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 55% at 50% 50%, rgba(13, 15, 18, .62), rgba(13, 15, 18, .3) 72%), linear-gradient(180deg, rgba(13, 15, 18, .7), rgba(13, 15, 18, .25) 30%, rgba(13, 15, 18, .35) 70%, rgba(13, 15, 18, .9)); }
.hero-in { position: relative; z-index: 2; padding: calc(var(--hd) + 32px) var(--gut) 64px; max-width: 920px; }
.hero-logo img { width: min(600px, 82vw); height: auto; margin: 0 auto; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .5)); }
.hero-line { font-family: var(--head); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem); font-weight: 500; letter-spacing: -.01em; margin-top: clamp(22px, 3vw, 34px); text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero-btns { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-proof { margin-top: 24px; color: rgba(255, 255, 255, .78); font-size: .93rem; }
@media (max-width: 520px) { .hero-btns { display: grid; grid-template-columns: minmax(0, 1fr); } }

/* landing pages: video full-bleed, headline left, the form as a white panel on the right */
.lp { position: relative; background: var(--ink); color: #fff; padding: calc(var(--hd) + clamp(36px, 4.5vw, 64px)) 0 clamp(52px, 6vw, 88px); overflow: hidden; }
.lp-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 18, .92), rgba(13, 15, 18, .78) 55%, rgba(13, 15, 18, .62)); }
.lp-bg-v + .lp-scrim { background: linear-gradient(90deg, rgba(13, 15, 18, .86) 0%, rgba(13, 15, 18, .6) 48%, rgba(13, 15, 18, .38) 100%), linear-gradient(180deg, rgba(13, 15, 18, .45), rgba(13, 15, 18, 0) 28%, rgba(13, 15, 18, 0) 70%, rgba(13, 15, 18, .5)); }
.lp-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.crumbs { font-size: .86rem; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.lp-k { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 18px; }
.lp-k::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.lp h1 { font-size: clamp(2.35rem, 1.3rem + 3.3vw, 4.25rem); line-height: 1.03; letter-spacing: -.028em; }
.lp-line { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .86); margin-top: 22px; max-width: 48ch; }
.lp-ticks { margin-top: 26px; max-width: 520px; border-top: 1px solid var(--line-d); }
.lp-ticks li, .ticks li { display: flex; gap: 12px; align-items: flex-start; }
.lp-ticks li { padding: 10px 0; border-bottom: 1px solid var(--line-d); font-size: .98rem; }
.lp-ticks svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--red-hi); }
.lp-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-trust { display: none; }
.lp-card { background: #fff; color: var(--tx-l); border-radius: var(--r-lg); padding: clamp(22px, 2.3vw, 32px); box-shadow: 0 40px 80px rgba(0, 0, 0, .38); border-top: 4px solid var(--red); scroll-margin-top: calc(var(--hd) + 16px); }
.lp-card-h { font-family: var(--head); font-size: 1.42rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; }
@media (max-width: 960px) {
  .lp { padding-top: calc(var(--hd) + 22px); padding-bottom: 36px; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp h1 { font-size: clamp(2rem, 1.2rem + 3.8vw, 2.8rem); }
  .lp-k { margin-bottom: 12px; }
  .lp-line { margin-top: 12px; font-size: 1.02rem; }
  .lp-ticks { display: none; }
  .lp-btns { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .lp-btns .btn { min-height: 48px; padding: 0 12px; }
  .lp-trust { display: block; margin-top: 12px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
  .lp-copy .gap { display: none; }
  .lp-card { padding: 18px; }
  .lp-card .lp-card-h { font-size: 1.2rem; margin-bottom: 10px; }
  .crumbs { margin-bottom: 12px; }
}
@media (max-width: 760px) { .lp-bg-v + .lp-scrim { background: linear-gradient(180deg, rgba(13, 15, 18, .6) 0%, rgba(13, 15, 18, .72) 40%, rgba(13, 15, 18, .92) 72%, var(--ink) 100%); } }
@media (max-width: 380px) { .lp-btns { grid-template-columns: minmax(0, 1fr); } .lp-trust { display: none; } }

/* the quote form (white panel) */
.qf { display: grid; gap: 12px; }
.qf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.qf label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--tx-l); }
.qf label em { font-style: normal; color: var(--mu-l); font-weight: 400; }
.qf input, .qf select, .qf textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--tx-l); background: var(--stone); border: 1px solid transparent; border-radius: var(--r); padding: 12px 13px; transition: border-color .2s, background .2s; }
.qf select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tx-l) 50%), linear-gradient(135deg, var(--tx-l) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.qf textarea { resize: vertical; min-height: 64px; }
.qf input:focus, .qf select:focus, .qf textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.qf .is-bad { border-color: var(--red); background: #fff3f2; }
.qf-err { color: var(--red-tx); font-size: .9rem; }
.qf-note { font-size: .88rem; color: var(--mu-l); text-align: center; }
.qf-note a { color: var(--tx-l); font-weight: 600; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 420px) { .qf-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- home: the two jobs as panels that open on hover */
.pn-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.pn-head .sec-head { margin-bottom: 0; }
.pn-head .link { flex: none; margin-bottom: 8px; }
.pn-row { display: flex; gap: 14px; height: clamp(440px, 42vw, 600px); }
.pn { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); color: #fff; transition: flex-grow .9s var(--ease); }
.pn-row:hover .pn:hover, .pn:focus-visible { flex-grow: 1.55; }
.pn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.pn:hover img { transform: scale(1.07); }
.pn-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 15, 18, 0) 35%, rgba(13, 15, 18, .86)); }
.pn-t { position: absolute; left: clamp(22px, 2.6vw, 36px); bottom: clamp(22px, 2.6vw, 34px); width: 380px; display: grid; gap: 8px; }
.pn-n { font-family: var(--head); font-weight: 600; color: var(--red-hi); font-size: .95rem; }
.pn-t b { font-family: var(--head); font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.pn-p { color: rgba(255, 255, 255, .84); font-size: 1rem; line-height: 1.5; min-height: 3em; }
.pn-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
.pn-go svg { width: 16px; height: 16px; color: var(--red-hi); }
@media (max-width: 900px) {
  .pn-head { display: block; }
  .pn-head .link { margin-top: 18px; }
  .pn-row { flex-direction: column; height: auto; }
  .pn { flex: none; height: 400px; }
  .pn-t { width: auto; right: 22px; }
}

/* reviews */
.rw .sec-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.rw .gap { display: flex; width: fit-content; margin: -12px 0 28px; }
.rw-list { columns: 3; column-gap: 18px; }
.rw-c { break-inside: avoid; margin-bottom: 18px; background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 24px 24px 20px; }
.sec-white .rw-c { background: var(--stone); border-color: transparent; }
.rw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.rw-stars { display: inline-flex; gap: 2px; color: #f2a900; }
.rw-stars svg { width: 16px; height: 16px; }
.rw-job { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mu-l); font-weight: 600; text-align: right; }
.rw-c blockquote p { font-size: 1.02rem; line-height: 1.62; color: var(--tx-l); }
.rw-n { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-l); font-size: .92rem; color: var(--mu-l); }
.rw-n b { color: var(--tx-l); }
.rw-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(14px, 2vw, 26px); }
@media (max-width: 980px) { .rw-list { columns: 2; } }
@media (max-width: 640px) {
  .rw-list { columns: auto; display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rw-list::-webkit-scrollbar { display: none; }
  .rw-c { flex: 0 0 86%; margin: 0; scroll-snap-align: center; }
  .rw-btns { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
}

/* what every rewire includes: a test-certificate list */
.spec-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.spec-copy { position: sticky; top: calc(var(--hd) + 32px); }
.spec-copy .sec-head { margin-bottom: 0; }
.spec-list { border-top: 1px solid var(--tx-l); counter-reset: s; }
.spec-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-l); }
.spec-n { font-family: var(--head); font-weight: 600; color: var(--red-tx); font-variant-numeric: tabular-nums; padding-top: 2px; }
.spec-list h3 { font-size: 1.22rem; }
.spec-list p { color: var(--mu-l); margin-top: 6px; max-width: 52ch; }
.offer { margin-top: 34px; padding: 22px 24px; background: var(--ink); color: #fff; border-radius: var(--r-lg); border-left: 4px solid var(--red); max-width: 460px; }
.offer-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--red-hi); }
.offer-h { font-family: var(--head); font-size: 1.16rem; font-weight: 500; line-height: 1.4; margin-top: 8px; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } .spec-copy { position: static; } .spec-list li { grid-template-columns: 48px minmax(0, 1fr); } }

/* EV band */
.evb-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.evb-fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); }
.evb-copy .ticks { margin-top: 24px; }
.evb-btns { margin-top: 30px; }
@media (max-width: 900px) { .evb-grid { grid-template-columns: minmax(0, 1fr); } }

/* ticked lists on hairlines */
.ticks { border-top: 1px solid var(--line-l); }
.ticks li { padding: 11px 0; border-bottom: 1px solid var(--line-l); }
.ticks svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--red-tx); }
.sec-dark .ticks, .sec-dark .ticks li { border-color: var(--line-d); }
.sec-dark .ticks svg { color: var(--red-hi); }

/* how it works: one line from the first call to the certificate */
.sp .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-l); }
.tl li { position: relative; padding-top: 34px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; background: var(--red); border-radius: 2px; }
.tl-n { font-family: var(--head); font-weight: 600; color: var(--mu-l); font-size: .9rem; }
.tl h3 { margin-top: 6px; font-size: 1.14rem; }
.tl p { color: var(--mu-l); font-size: .97rem; margin-top: 8px; }
.sp-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(36px, 4.5vw, 56px); }
@media (max-width: 900px) {
  .tl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .tl li { padding: 0 0 26px 36px; }
  .tl li::before { top: 4px; }
  .tl h3 { margin-top: 2px; }
}

/* does it need doing? (the six signs, toggles) */
.sg-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.sg-urgent { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line-d); border-left: 3px solid var(--red); border-radius: var(--r); font-size: .97rem; color: var(--mu-d); max-width: 440px; }
.sg-urgent svg { width: 18px; height: 18px; color: var(--red-hi); flex: none; margin-top: 3px; }
.sg-urgent a { color: #fff; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--red-hi); }
.sg-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sg-item { width: 100%; height: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r-lg); color: #fff; cursor: pointer; transition: border-color .25s, background .25s; }
.sg-item:hover { border-color: rgba(255, 255, 255, .3); }
.sg-item[aria-pressed="true"] { border-color: var(--red); background: #261719; }
.sg-sw { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .16); margin-top: 2px; transition: background .25s; }
.sg-sw i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.sg-item[aria-pressed="true"] .sg-sw { background: var(--red); }
.sg-item[aria-pressed="true"] .sg-sw i { transform: translateX(18px); }
.sg-t b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.sg-t span { display: block; color: var(--mu-d); font-size: .9rem; line-height: 1.45; margin-top: 4px; }
.sg-out { margin-top: 14px; padding: 20px 22px; background: #fff; color: var(--tx-l); border-radius: var(--r-lg); }
.sg-meter { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.sg-meter i { height: 5px; border-radius: 2px; background: var(--stone-2); transition: background .3s; }
.sg-meter i.is-on { background: var(--red); }
.sg-count { font-size: .86rem; color: var(--mu-l); margin-top: 12px; }
.sg-count b { color: var(--tx-l); }
.sg-res { font-family: var(--head); font-weight: 600; font-size: 1.12rem; margin-top: 4px; }
.sg-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sg-btns .btn-ghost { color: var(--tx-l); border-color: var(--line-l); }
.sg-btns .btn-ghost:hover { background: var(--stone); }
@media (max-width: 960px) { .sg-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sg-list { grid-template-columns: minmax(0, 1fr); } .sg-btns { display: grid; } }

/* quicker quote: taps write the note into the form */
.ch-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.ch-ui { display: grid; gap: 20px; }
.ch-g legend { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mu-l); margin-bottom: 10px; }
.sec-dark .ch-g legend { color: var(--mu-d); }
.ch-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-opt { position: relative; cursor: pointer; }
.ch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ch-opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--line-l); border-radius: var(--r); background: #fff; font-size: .96rem; transition: border-color .2s, background .2s, color .2s; }
.sec-white .ch-opt span { background: var(--stone); border-color: transparent; }
.sec-dark .ch-opt span { background: var(--ink-3); border-color: var(--line-d); color: #fff; }
.ch-opt:hover span { border-color: var(--tx-l); }
.ch-opt input:checked + span { border-color: var(--red); background: var(--red); color: #fff; }
.ch-opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.ch-out { padding: 20px 22px; background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.ch-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mu-d); }
.ch-text { font-family: var(--head); font-size: 1.08rem; margin: 8px 0 16px; }
@media (max-width: 960px) { .ch-grid { grid-template-columns: minmax(0, 1fr); } }

/* the job and what comes with it */
.job-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5.5vw, 88px); align-items: start; }
.job-copy p { color: var(--mu-l); margin-top: 16px; max-width: 58ch; }
.job-copy h2 + p { margin-top: 22px; }
.job-inc { padding: clamp(22px, 2.4vw, 32px); background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line-l); }
.sec-white .job-inc { background: var(--stone); border-color: transparent; }
.job-inc-h { font-family: var(--head); font-weight: 600; font-size: 1.2rem; margin-bottom: 14px; }
@media (max-width: 900px) { .job-grid { grid-template-columns: minmax(0, 1fr); } }

/* EV page: the board behind the charger */
.ev-ph-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ev-ph-grid img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .ev-ph-grid { grid-template-columns: minmax(0, 1fr); } .ev-ph-grid img { aspect-ratio: 4 / 3; } }

/* cost page factor cards */
.wc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wc-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wc { background: #fff; border-radius: var(--r-lg); padding: 26px 22px; border: 1px solid var(--line-l); border-top: 3px solid var(--red); }
.sec-white .wc { background: var(--stone); border-color: transparent; border-top-color: var(--red); }
.wc-n { display: block; font-family: var(--head); font-weight: 600; color: var(--red-tx); margin-bottom: 14px; }
.wc h3 { font-size: 1.12rem; }
.wc p { color: var(--mu-l); margin-top: 8px; font-size: .97rem; }
.wc .gap { display: flex; }
@media (max-width: 1100px) { .wc-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wc-grid, .wc-grid-5 { grid-template-columns: minmax(0, 1fr); } }

/* photos from his jobs */
.wk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.wk-head .sec-head { margin-bottom: 0; }
.wk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wk-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wk-c img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.wk-c p { margin-top: 12px; font-size: .92rem; color: var(--mu-l); }
.wk-c b { display: block; color: var(--tx-l); font-family: var(--head); font-weight: 600; font-size: 1rem; }
@media (max-width: 900px) { .wk-row, .wk-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-head { display: block; } .wk-head .link { margin-top: 16px; } }

/* projects page */
.pj-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pj-tabs button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-l); border-radius: var(--r); background: #fff; cursor: pointer; font-weight: 500; }
.pj-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pj-c img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); transition: transform .5s var(--ease); }
.pj-c a { display: block; overflow: hidden; border-radius: var(--r-lg); }
.pj-c a:hover img { transform: scale(1.03); }
.pj-c p { margin-top: 10px; font-size: .92rem; color: var(--mu-l); }
.pj-c b { display: block; color: var(--tx-l); font-family: var(--head); font-weight: 600; }
.pj-c.is-out { display: none; }
@media (max-width: 900px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } }

/* about */
.who-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.who-fig img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); }
.who-p { color: var(--mu-l); margin-top: 14px; max-width: 58ch; }
.who-h3 { margin-top: 30px; margin-bottom: 12px; font-size: 1.12rem; }
.who-dl { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.who-dl div { padding: 12px 0; border-top: 1px solid var(--line-l); }
.who-dl dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mu-l); }
.who-dl dd { font-family: var(--head); font-weight: 600; margin-top: 4px; }
.who-dl .gap { display: flex; flex-wrap: wrap; font-family: "Figtree", sans-serif; font-weight: 400; }
@media (max-width: 520px) { .who-dl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .who-grid { grid-template-columns: minmax(0, 1fr); } .who-fig img { aspect-ratio: 4 / 3; } }

/* areas: county map and towns */
.ar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ar-map { margin-top: 30px; max-width: 420px; }
.ar-map svg { width: 100%; height: auto; overflow: hidden; }
.ar-map .cty { fill: #dcd8cf; stroke: #fff; stroke-width: .5; transition: fill .3s; }
.sec-plaster .ar-map .cty { stroke: var(--stone); }
.ar-map .cty.is-served { fill: #c4bfb4; }
.ar-map .cty.is-on { fill: #aea89b; }
.ar-map .ring { fill: rgba(214, 58, 47, .1); stroke: var(--red); stroke-width: .7; stroke-dasharray: 2 1.6; }
.ar-map .base { fill: var(--red); }
.ar-map .base-ring { fill: none; stroke: var(--red); stroke-width: .6; opacity: .6; }
.ar-map .tn { fill: var(--tx-l); opacity: .55; transition: opacity .2s, r .2s; }
.ar-map .tn.is-hl { opacity: 1; fill: var(--red); r: 2.6; }
.ar-map .tn-l { font: 700 6px "Schibsted Grotesk", sans-serif; fill: var(--tx-l); paint-order: stroke; stroke: #fff; stroke-width: 2px; }
.ar-legend { font-size: .86rem; color: var(--mu-l); margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg-ring { border: 1.5px dashed var(--red); background: rgba(214, 58, 47, .1); }
.lg-base { background: var(--red); width: 9px; height: 9px; margin-left: 8px; }
.ar-list { border-top: 1px solid var(--tx-l); }
@media (min-width: 1100px) { .ar-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; } }
.tw { width: 100%; display: grid; grid-template-columns: minmax(8.6em, 1.2fr) minmax(0, 1fr) 70px; gap: 14px; align-items: center; padding: 10px 6px; background: none; border: 0; border-bottom: 1px solid var(--line-l); cursor: pointer; text-align: left; transition: background .2s; }
.tw:hover, .tw.is-hl { background: rgba(18, 20, 23, .05); }
.tw-n { font-weight: 500; }
.tw-bar { height: 3px; background: rgba(18, 20, 23, .1); border-radius: 2px; overflow: hidden; }
.tw-bar i { display: block; height: 100%; background: var(--red); border-radius: 2px; }
.tw-d { text-align: right; font-size: .92rem; color: var(--mu-l); font-variant-numeric: tabular-nums; }
/* two columns of towns: the name and distance on one line, the bar on its own line under them, so a long name never meets the bar */
@media (min-width: 1100px) { .tw { padding: 10px 4px 11px; grid-template-columns: minmax(0, 1fr) auto; row-gap: 7px; } .tw-bar { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 900px) { .ar-grid { grid-template-columns: minmax(0, 1fr); } .ar-map { max-width: 360px; } }

/* questions */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-in .sec-head { text-align: left; margin: 0; }
.faq-in .sec-head .kicker { justify-content: flex-start; }
.faq-list { border-top: 1px solid var(--tx-l); }
.fq { border-bottom: 1px solid var(--line-l); }
.fq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); color: var(--red-tx); }
.fq[open] summary svg { transform: rotate(180deg); }
.fq p { color: var(--mu-l); padding: 0 0 22px; max-width: 64ch; }
@media (max-width: 900px) { .faq-in { grid-template-columns: minmax(0, 1fr); } }

/* get a quote */
.qt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.qt-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.qt-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 30px; max-width: 460px; }
.qt-lines div { padding-top: 14px; border-top: 1px solid var(--line-d); }
.qt-lines dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mu-d); }
.qt-lines dd { font-family: var(--head); font-weight: 600; font-size: 1.1rem; margin-top: 4px; }
.qt-card { background: #fff; color: var(--tx-l); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); border-top: 4px solid var(--red); }
@media (max-width: 900px) { .qt-grid { grid-template-columns: minmax(0, 1fr); } }

/* service cards (more from Apex, area pages) */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-c > a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-l); transition: border-color .25s; }
.sec-white .sv-c > a { background: var(--stone); border-color: transparent; }
.sv-c > a:hover { border-color: var(--tx-l); }
.sv-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sv-t { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.sv-t b { font-family: var(--head); font-weight: 600; font-size: 1.28rem; letter-spacing: -.012em; }
.sv-t > span:not(.sv-go) { color: var(--mu-l); font-size: .98rem; }
.sv-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red-tx); }
.sv-go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.sv-c > a:hover .sv-go svg { transform: translate(2px, -2px); }
@media (max-width: 900px) { .sv-grid, .sv-grid:has(> li:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }

/* plain page headers (projects, thanks, privacy, 404) */
.ph { background: var(--ink); color: #fff; padding: calc(var(--hd) + clamp(48px, 7vw, 100px)) 0 clamp(48px, 6vw, 84px); }
.ph h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); }
.ph-line { color: var(--mu-d); margin-top: 18px; max-width: 56ch; font-size: 1.1rem; }
.ph-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.preview-note { margin-top: 20px; padding: 10px 14px; border: 1px dashed #e0913a; border-radius: 4px; color: #ffc58a; font-size: .9rem; max-width: 560px; }
.legal-in { max-width: 760px; }
.legal-in h2 { font-size: 1.4rem; margin-top: 34px; }
.legal-in h2:first-child { margin-top: 0; }
.legal-in p { color: var(--mu-l); margin-top: 10px; }

/* footer */
.ft { background: var(--ink); color: var(--mu-d); padding: clamp(60px, 7vw, 96px) 0 0; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ft-brand img { height: 52px; width: auto; }
.ft-brand p { margin-top: 20px; max-width: 42ch; font-size: .97rem; }
.ft-contact { margin-top: 22px; display: grid; gap: 10px; font-size: .97rem; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact svg { width: 16px; height: 16px; color: var(--red-hi); flex: none; margin-top: 5px; }
.ft-contact a { color: #fff; font-weight: 600; }
.ft-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #fff; margin-bottom: 14px; }
.ft-links { display: grid; gap: 4px; }
.ft-links a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; transition: color .2s; }
.ft-links a svg { width: 13px; height: 13px; color: var(--red-hi); }
.ft-links a:hover { color: #fff; }
.ft-base { margin-top: clamp(44px, 5vw, 64px); padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d); font-size: .86rem; }
.ft-base a:hover, .credit-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-grid { grid-template-columns: minmax(0, 1fr); } }

/* Safe Electric mark with his reg. no. (Mark, 3 Nov 2026) and 4-up cards */
.wc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .wc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wc-grid-4 { grid-template-columns: minmax(0, 1fr); } }
.se { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; }
.se img { width: 74px; height: auto; border-radius: 4px; flex: none; }
.se span { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.3; }
.se b { font-family: var(--head); font-weight: 600; font-size: 1rem; }
.se-lp span { color: rgba(255, 255, 255, .85); } .se-lp b { color: #fff; }
.se-ft { margin-top: 22px; }
.qt-lines .qt-mail { grid-column: 1 / -1; } .qt-mail dd { overflow-wrap: anywhere; }
