/* Breaker - local electrician. Every colour, font and size comes from the tokens below. */
:root {
  --dark: #0c0c0c;
  --light: #f4f4f1;
  --card: #e7e7e2;
  --ink: #0c0c0c;
  --muted-l: #6a6a66;
  --muted-d: #a19c92;
  --accent: #ff5a1f;
  --on-accent: #ffffff;
  --line: rgba(12, 12, 12, .14);
  --line-d: rgba(244, 244, 241, .16);
  --f-head: "Archivo", system-ui, sans-serif;
  --w-head: 700;
  --ls-head: -.04em;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 2px;
  --gut: clamp(24px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.5, .5, 1);
  --glow: 0 0 1px rgba(0, 0, 0, .45), 0 0 24px rgba(0, 0, 0, .45);
  --off: .18; /* how much of a block shows before its circuit is switched on */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font: 400 17px/1.55 var(--f-body); overflow-x: clip; -webkit-font-smoothing: antialiased; counter-reset: circuit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
figure, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
p, h1, h2, h3, h4, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--light); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* type */
.h1, .h2, .h3, .h4, .hero-title, .stat-n, .rev-n, .emerg-phone, .oncall-name, .brk-name, .nf-code { font-family: var(--f-head); font-weight: var(--w-head); letter-spacing: var(--ls-head); }
.h1 { font-size: clamp(2.3rem, 6vw, 5.6rem); line-height: 1; max-width: 16ch; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.9rem); line-height: 1.04; max-width: 18ch; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.12; }
.h4 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; max-width: 36ch; }
.label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.muted { color: var(--muted-l); }
.dark .muted { color: var(--muted-d); }
.glow { text-shadow: var(--glow); }
.link { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg); transition: transform .4s var(--ease); }
.link:hover::after { transform: translateX(4px) rotate(45deg); }
.prose p + p { margin-top: 1em; }

/* buttons: a contact closes. The fill snaps across from the left like a blade into its clip. */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid currentColor; border-radius: var(--radius); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; overflow: hidden; isolation: isolate; background: none; transition: color .35s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--spring); }
.btn:hover::before { transform: scaleX(1); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--light); }
.dark .btn-accent::before, .hero .btn-accent::before, .head:not(.is-solid) .btn-accent::before { background: var(--light); }
.dark .btn-accent:hover, .hero .btn-accent:hover, .head:not(.is-solid) .btn-accent:hover { color: var(--dark); }
.btn-line:hover { color: var(--light); }
.dark .btn-line::before, .hero .btn-line::before { background: var(--light); }
.dark .btn-line:hover, .hero .btn-line:hover { color: var(--dark); }

/* the switch: a small rocker, lever down = off, up = on */
.sw { position: relative; display: inline-block; flex: none; width: 14px; height: 24px; border: 1.5px solid currentColor; border-radius: var(--radius); background: var(--light); }
.dark .sw { background: var(--dark); }
.sw i { position: absolute; left: 2px; right: 2px; top: 11px; height: 8px; background: currentColor; border-radius: 1px; transition: top .35s var(--spring), background .2s; }
.is-on > .sw, .sw.is-on { color: var(--accent); }
.is-on > .sw i, .sw.is-on i { top: 2px; }

/* the wire: one copper conductor down the left side of every page. Current flows with the scroll. */
main { position: relative; display: block; }
.wire { position: absolute; z-index: 4; top: var(--wire-top, 0px); bottom: 0; left: calc(max(0px, (100% - var(--max)) / 2) + var(--gut) / 2 - 1px); width: 2px; background: rgba(128, 124, 116, .32); pointer-events: none; }
.wire i { position: absolute; left: 0; top: 0; width: 2px; height: var(--cur, 0px); background: var(--accent); }
.wire b { position: absolute; left: 50%; top: var(--cur, 0px); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 18px 4px color-mix(in srgb, var(--accent) 60%, transparent); }
html:not(.js) .wire { display: none; }

/* circuit label at the top of every section: switch on the wire + C01, C02... */
.circ { position: relative; display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: clamp(28px, 4vw, 56px); counter-increment: circuit; color: var(--muted-l); }
.dark .circ { color: var(--muted-d); }
.circ > .sw { position: absolute; left: calc(var(--gut) / -2 - 7px); top: 0; }
.circ-n::before { content: "C" counter(circuit, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; }
.circ-n { color: var(--ink); }
.dark .circ-n { color: var(--light); }
.circ.is-on .circ-n { color: var(--accent); }
.circ a { text-decoration: none; }
.circ a:hover { text-decoration: underline; }

/* entrance: a block waits unlit, then strikes on like a fluorescent tube (hard steps, no fade, no movement) */
.js [data-in]:not(.on):not(.ph) { opacity: var(--off); }
.js .ph[data-in]:not(.on) img { filter: brightness(.14) saturate(.3); }
.js [data-in].on:not(.ph) { animation: strike .62s steps(1, end) both; }
.js .ph[data-in].on img { animation: strike-img .62s steps(1, end) both; }
@keyframes strike { 0% { opacity: var(--off); } 10% { opacity: 1; } 18% { opacity: var(--off); } 30% { opacity: 1; } 38% { opacity: .45; } 52%, 100% { opacity: 1; } }
@keyframes strike-img { 0% { filter: brightness(.14) saturate(.3); } 10% { filter: none; } 18% { filter: brightness(.14) saturate(.3); } 30% { filter: none; } 38% { filter: brightness(.55); } 52%, 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-in]:not(.on):not(.ph) { opacity: 1; }
  .js .ph[data-in]:not(.on) img { filter: none; }
  .js [data-in].on, .js .ph[data-in].on img { animation: none; }
}

/* header */
.head { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 16px var(--gut); color: var(--light); transition: background .35s, color .35s, padding .35s; }
.head.is-solid, .inner .head { background: color-mix(in srgb, var(--light) 92%, transparent); color: var(--ink); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.head.is-menu { background: transparent; color: var(--light); box-shadow: none; backdrop-filter: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-weight: var(--w-head); font-size: 20px; letter-spacing: -.03em; margin-right: auto; }
.logo-mark { color: var(--accent); }
.head-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; }
.head-call-l { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: live 2.4s steps(2, jump-none) infinite; display: inline-block; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 0%, transparent); } }
.head-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 4px 0 12px; border: 0; background: none; cursor: pointer; font-size: 15px; }
.menu-sw { display: inline-block; position: relative; width: 16px; height: 26px; border: 1.5px solid currentColor; border-radius: var(--radius); }
.menu-sw i { position: absolute; left: 2px; right: 2px; top: 12px; height: 9px; background: currentColor; transition: top .35s var(--spring); }
.menu-btn[aria-expanded="true"] .menu-sw i { top: 2px; background: var(--accent); }
@media (max-width: 809px) {
  .head-call-l, .head-cta { display: none; }
  .head-call { font-size: 0; }
  .head-call .dot { width: 10px; height: 10px; }
  .head-call::after { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
}

/* menu: a circuit schedule over the page; rows switch on one after another */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--dark); color: var(--light); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gut) 32px; overflow: auto; }
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; font-family: var(--f-head); font-weight: var(--w-head); letter-spacing: var(--ls-head); font-size: clamp(1.6rem, 4.6vw, 3.4rem); line-height: 1.1; }
.menu-i { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; color: var(--muted-d); min-width: 3em; }
.menu-nav a:hover .menu-t, .menu-nav a[aria-current] .menu-t { color: var(--accent); }
.menu.is-open .menu-nav a { animation: strike .5s steps(1, end) both; animation-delay: calc(var(--k) * 60ms); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; }
.menu-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* sections */
.sec { position: relative; padding-block: clamp(64px, 8vw, 120px); }
.sec + .sec:not(.dark) { border-top: 1px solid var(--line); }
.dark { background: var(--dark); color: var(--light); }
.dark + .sec { border-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .btns { margin-top: 8px; }
.sec-head-row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.sec-title { margin-bottom: clamp(36px, 5vw, 64px); }
.page-head { padding-top: clamp(130px, 16vw, 210px); }
.page-head .lead { margin-top: 26px; }
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-wide { aspect-ratio: 21 / 9; margin-top: clamp(48px, 6vw, 88px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 28px; }
@media (max-width: 809px) { .two, .sec-head-row { grid-template-columns: 1fr; } .ph-wide { aspect-ratio: 4 / 3; } }

/* hero: the room is dark, the visitor carries a lamp; the switch lights everything */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--light); background: #000; overflow: hidden; }
.hero-ph { position: absolute; inset: 0; --lx: 62%; --ly: 40%; --lr: 26vmax; }
.hero-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-dark { filter: brightness(.2) saturate(.4); }
.hero-lit { -webkit-mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, .85) 35%, transparent 100%); mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, .85) 35%, transparent 100%); }
.hero.lit .hero-lit { -webkit-mask: none; mask: none; animation: hero-strike .7s steps(1, end) both; }
@keyframes hero-strike { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: 0; } 34% { opacity: 1; } 42% { opacity: .3; } 56%, 100% { opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, transparent 22%, transparent 45%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(36px, 6vw, 72px); display: grid; gap: 22px; }
.hero-title { font-size: clamp(2.7rem, 9vw, 9rem); line-height: .95; max-width: 11ch; }
.hero-lead { max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 44px; margin-top: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stats li { display: grid; }
.stat-n { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.stat-t { font-size: 13px; opacity: .8; }
.hero-sw { position: absolute; z-index: 3; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; color: var(--light); cursor: pointer; padding: 10px; }
.sw-big { width: 40px; height: 66px; border-width: 2px; background: rgba(0, 0, 0, .35); }
.sw-big i { top: 32px; height: 26px; left: 5px; right: 5px; }
.hero-sw[aria-pressed="true"] .sw-big { color: var(--accent); }
.hero-sw[aria-pressed="true"] .sw-big i { top: 5px; }
.hero-sw-l { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; text-shadow: var(--glow); }
.hero-hint { position: absolute; z-index: 2; right: var(--gut); bottom: clamp(36px, 6vw, 72px); opacity: .7; }
.hero.lit .hero-hint { visibility: hidden; }
@media (max-width: 809px) {
  .hero-sw { top: auto; bottom: clamp(28px, 6vw, 72px); transform: none; }
  .sw-big { width: 30px; height: 50px; }
  .sw-big i { top: 24px; height: 19px; left: 4px; right: 4px; }
  .hero-sw[aria-pressed="true"] .sw-big i { top: 4px; }
  .hero-hint { display: none; }
  .hero-in { padding-right: calc(var(--gut) + 56px); }
  .hero-ph img { object-position: 64% 40%; }
}

/* intro */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 96px); }
.values li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.values .mono { color: var(--accent); }
@media (max-width: 809px) { .intro, .values { grid-template-columns: 1fr; } }

/* services as a consumer unit: one breaker per service */
.board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 14px; background: var(--card); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.brk { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 100%; padding: 16px 14px 18px; background: var(--light); border: 1px solid var(--line); margin-left: -1px; text-decoration: none; transition: background .3s; }
.brk-top { display: flex; justify-content: space-between; color: var(--muted-l); }
.brk-lever { position: relative; align-self: center; width: 34px; height: 56px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.brk-lever i { position: absolute; left: 5px; right: 5px; top: 28px; height: 22px; border-radius: 1px; background: var(--ink); transition: top .4s var(--spring), background .2s; }
.brk:hover .brk-lever i, .brk:focus-visible .brk-lever i { top: 6px; background: var(--accent); }
.brk-ph { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: #000; }
.brk-ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.5); transition: filter .1s steps(1, end); }
.brk:hover .brk-ph img, .brk:focus-visible .brk-ph img { filter: none; animation: strike-img .5s steps(1, end); }
.brk-name { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.02em; }
.brk-short { font-size: 14px; line-height: 1.45; }
.brk-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.brk-price b { font-weight: 500; font-size: 17px; }
@media (max-width: 1199px) { .board { grid-template-columns: repeat(3, 1fr); } .brk { margin-top: -1px; } }
@media (max-width: 599px) { .board { grid-template-columns: 1fr 1fr; padding: 8px; } .brk { padding: 12px 10px 14px; } .brk-short { display: none; } }

/* emergency */
.emerg-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.emerg-grid .lead { margin-top: 24px; }
.emerg-phone { display: inline-block; margin-top: 32px; font-size: clamp(2rem, 6vw, 5rem); line-height: 1; color: var(--accent); text-decoration: none; }
.emerg-phone + .muted { margin-top: 12px; }
.oncall { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-d); border-radius: var(--radius); }
.oncall .label { display: flex; align-items: center; gap: 10px; }
.oncall-name { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.05; }
.oncall-rota { display: grid; border-top: 1px solid var(--line-d); }
.oncall-rota li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.oncall-rota li.is-today { color: var(--light); }
.oncall-rota li.is-today span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.oncall .btn { justify-self: start; }
@media (max-width: 899px) { .emerg-grid { grid-template-columns: 1fr; } }

/* recent jobs strip */
.strip-nav { display: flex; align-items: center; gap: 10px; }
.strip-nav .mono { margin-right: 8px; }
.arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--radius); background: none; cursor: pointer; transition: background .2s, color .2s; }
.arrow:hover { background: var(--ink); color: var(--light); }
.strip { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 24px calc(max(0px, (100% - var(--max)) / 2) + var(--gut)); scroll-padding-left: calc(max(0px, (100% - var(--max)) / 2) + var(--gut)); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip .job { flex: 0 0 clamp(270px, 30vw, 440px); scroll-snap-align: start; }
.job { display: grid; gap: 10px; align-content: start; }
.job .ph { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.job .label { display: flex; gap: 10px; color: var(--muted-l); }
.job .link { justify-self: start; margin-top: 4px; }
#work > .wrap:last-child { margin-top: 32px; }

/* steps on one wire */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 34px; }
.node { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--light); }
.steps li.on .node { border-color: var(--accent); background: var(--accent); }
.steps .mono { color: var(--accent); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

/* rate card = the circuit chart inside a fuse box door */
.rates-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.chart { padding: clamp(14px, 2vw, 24px); background: var(--card); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--light); }
.rates th { text-align: left; font: 400 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-l); padding: 12px; border-bottom: 2px solid var(--ink); }
.rates td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates tr:last-child td { border-bottom: 0; }
.rates td.mono { color: var(--accent); width: 3.5em; }
.rates .r-price { text-align: right; font-weight: 500; white-space: nowrap; }
.rates tbody tr { transition: background .15s; }
.rates tbody tr:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
@media (max-width: 899px) { .rates-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .rates .r-note { display: none; } .rates th, .rates td { padding-inline: 8px; } }

/* reviews */
.rev-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.rev-score { display: grid; gap: 6px; }
.rev-n { font-size: clamp(3.4rem, 8vw, 7rem); line-height: .9; color: var(--accent); }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 15px; }
.stars-off { color: var(--line); }
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 36px; }
.revs-2 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 5vw, 64px); }
.rev { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.5vw, 32px); background: var(--card); border-radius: var(--radius); }
.rev blockquote { font-size: 17px; line-height: 1.5; }
.rev figcaption { margin-top: auto; font-size: 14px; }
.rev figcaption b { font-weight: 500; }
@media (max-width: 899px) { .revs, .revs-2 { grid-template-columns: 1fr; } .rev-head { grid-template-columns: 1fr; } }

/* areas: postcode check lights a node */
.areas-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.check { display: grid; gap: 10px; margin-top: 12px; }
.check-row { display: flex; gap: 8px; }
.check input { flex: 1; width: 100%; min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; text-transform: uppercase; }
.check input::placeholder { text-transform: none; color: var(--muted-l); }
.check-out { min-height: 1.5em; font-size: 15px; }
.check-out.is-yes { color: var(--ink); }
.check-out.is-yes::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nodes li { display: grid; gap: 2px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; transition: background .2s, color .2s; }
.nodes .mono { font-size: 13px; color: var(--accent); }
.node-name { line-height: 1.3; }
.node-eta { font-size: 12px; }
.nodes li.is-hit { background: var(--accent); color: var(--on-accent); }
.nodes li.is-hit .mono, .nodes li.is-hit .muted { color: var(--on-accent); }
@media (max-width: 899px) { .areas-grid { grid-template-columns: minmax(0, 1fr); } }
.areas-grid > * { min-width: 0; }
@media (max-width: 399px) { .nodes { grid-template-columns: 1fr 1fr; } }

/* call to action */
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.cta-grid .btns { margin: 22px 0 18px; }
.cta-or a { color: var(--light); }
@media (max-width: 899px) { .cta-grid { grid-template-columns: 1fr; } }

/* services page */
.svc-list { display: grid; gap: clamp(56px, 7vw, 110px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.svc:nth-child(even) .svc-ph { order: 2; }
.svc-ph { aspect-ratio: 4 / 3; }
.svc-body { display: grid; gap: 16px; justify-items: start; }
.svc-body .label { display: flex; gap: 10px; color: var(--muted-l); }
.svc-body h2 a { text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 14px 0; border-block: 1px solid var(--line); width: 100%; }
.facts div { display: grid; gap: 4px; }
.facts dt { color: var(--muted-l); }
@media (max-width: 809px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc-ph { order: 0; } }

/* service page */
.svc-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.facts-big { flex-direction: column; gap: 18px; }
.facts-big > dl { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.facts-big b { font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: var(--ls-head); }
.svc-detail { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc-detail .ph { aspect-ratio: 3 / 4; }
.ticks { display: grid; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks.warn li::before { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--accent); transform: none; top: 18px; }
.ticks.num { counter-reset: tick; }
.ticks.num li { counter-increment: tick; }
.ticks.num li::before { content: counter(tick); border: 0; transform: none; width: auto; height: auto; top: 12px; font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.two .ticks { margin-top: 24px; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }
.next-link { display: grid; gap: 12px; justify-items: start; text-decoration: none; }
.next-link .h2 { transition: color .2s; }
.next-link:hover .h2 { color: var(--accent); }
@media (max-width: 899px) { .svc-head, .svc-detail { grid-template-columns: 1fr; } .svc-detail .ph { aspect-ratio: 4 / 3; } }
@media (max-width: 599px) { .jobs-grid { grid-template-columns: 1fr; } }

/* faq: each answer behind its own switch */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] .sw { color: var(--accent); }
.faq details[open] .sw i { top: 2px; }
.faq details p { padding: 0 48px 22px 0; max-width: 64ch; }

/* work filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip-btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--light); border-color: var(--ink); }
.job[hidden] { display: none; }

/* about */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.person { display: grid; gap: 8px; align-content: start; }
.person .ph { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.person .label { color: var(--accent); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }
.timeline li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--ink); }
.timeline .mono { font-size: 14px; }
.timeline li.on .sw { color: var(--accent); }
.timeline li.on .sw i { top: 2px; transition-delay: .3s; }
.acc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 72px); }
.acc li, .foot-acc li { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
@media (max-width: 1023px) { .team { grid-template-columns: 1fr 1fr; } .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .timeline { grid-template-columns: 1fr; } }

/* quote form */
.urgent { margin-top: 22px; font-size: 15px; }
.urgent a { color: var(--accent); font-weight: 500; }
.form { display: grid; gap: clamp(28px, 3vw, 40px); max-width: 980px; }
.field-set legend { margin-bottom: 14px; color: var(--muted-l); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--light); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted-l); }
.field input, .field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field textarea::placeholder { color: var(--muted-l); }
.field-err { display: none; font-size: 13px; color: var(--accent); }
.field.is-bad .field-err { display: block; }
.field.is-bad input { border-bottom-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.form-foot .muted { font-size: 14px; }
.form-msg { min-height: 1.5em; }
.form-msg.is-bad { color: var(--accent); }
@media (max-width: 599px) { .fields { grid-template-columns: 1fr; } }

/* 404 */
.nf-sec { min-height: 80vh; }
.nf-code { font-size: 14px; color: var(--accent); margin-bottom: 18px; }
.nf-sec .btns { margin-top: 32px; }

/* footer: normal logo, links, contact. No giant name. */
.foot { background: var(--dark); color: var(--light); padding: clamp(64px, 8vw, 110px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.1fr; gap: 40px clamp(24px, 4vw, 64px); }
.foot-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.foot-brand .logo { font-size: 18px; margin: 0; }
.foot-brand .muted { max-width: 30ch; color: var(--muted-d); }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot-col .label { color: var(--muted-d); margin-bottom: 6px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--accent); }
.foot .muted { color: var(--muted-d); }
.foot-acc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.foot-acc li { border-color: var(--line-d); color: var(--muted-d); font-size: 13px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 13px; }
.foot-social { display: flex; gap: 20px; }
.foot-social a { text-decoration: none; }
.foot-social a:hover { color: var(--accent); }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .foot-grid { grid-template-columns: 1fr; } }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius); background: var(--ink); color: var(--light); visibility: hidden; }
.to-top.is-on { visibility: visible; }
.to-top:hover { background: var(--accent); }
