/* =====================================================================================
   Switch Smart Electrical: site styles ("the circuit schedule")
   Warm paper, ink, brand red as the live colour. Cable colours only inside the cable
   motif and diagrams. Archivo (display) + Instrument Sans (text) + JetBrains Mono (labels).
   Motion states follow js/core.js (data-reveal, data-split, data-stagger, data-draw).
   Every class is documented in _src/COMPONENTS.md and shown on /styleguide.

    1 tokens        2 base          3 type          4 layout + themes   5 led + icons
    6 buttons       7 links         8 header        9 services dropdown 10 mobile menu
   11 cable motif  12 page hero    13 spec card    14 long-form + prose 15 figures + diagrams
   16 good to know 17 faq          18 cards        19 towns            20 credentials
   21 cta band     22 forms        23 footer       24 process rail     25 utilities
   26 motion states + reduced motion + print
   ===================================================================================== */

/* ------------------------------------------------------------------ 1 tokens */
:root {
  /* grounds */
  --paper: #F5F2EC;
  --paper-2: #ECE7DD;
  --paper-3: #E3DCCF;
  --card: #FBF9F5;
  --ink: #111214;
  --ink-2: #1B1D22;
  --ink-3: #25282E;
  /* text on paper (AA on paper and paper-2) */
  --text: #111214;          /* 16.8:1 on paper */
  --text-2: #46474C;        /* 8.3:1 */
  --text-3: #625E57;        /* 5.7:1 on paper, 5.2:1 on paper-2 */
  /* text on ink (AA on ink and ink-2) */
  --on-ink: #F2EFE9;
  --on-ink-2: rgba(242, 239, 233, .72);   /* 8.8:1 */
  --on-ink-3: rgba(242, 239, 233, .58);   /* 6.0:1 */
  /* rules */
  --rule: #D8D0C2;
  --rule-2: #C4B9A6;
  --field: #8E8576;         /* input borders, 3.5:1 (non-text) */
  --rule-ink: rgba(255, 255, 255, .12);
  --rule-ink-2: rgba(255, 255, 255, .22);
  /* the live colour */
  --red: #C41230;           /* 5.4:1 on paper, 4.9:1 on paper-2, white on it 6.0:1 */
  --red-d: #A50F28;         /* hover / pressed */
  --red-edge: #7A0B1D;      /* button edge */
  --red-l: #F2566C;         /* small red text and focus on ink, 5.6:1 */
  --red-glow: rgba(196, 18, 48, .55);
  --red-wash: rgba(196, 18, 48, .08);
  /* cable colours: ONLY inside the cable motif and diagrams */
  --c-line: #8A5A3B;        /* brown */
  --c-neutral: #2E5C9A;     /* blue */
  --c-earth: #3E8E4F;       /* green ... */
  --c-earth-2: #E2C230;     /* ... and yellow stripe */
  --c-sheath: #9AA0A6;      /* grey sheath */
  --c-copper: #BE8350;      /* bare conductor */

  --f-display: 'Archivo', 'Arial Narrow', ui-sans-serif, system-ui, sans-serif;
  --f-text: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --display-stretch: 88%;   /* semi-condensed, like an equipment label */

  --fs-display: clamp(3rem, 1.7rem + 5.6vw, 6.75rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4vw, 5rem);
  --fs-h2: clamp(1.95rem, 1.45rem + 2.1vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.12rem + .75vw, 1.75rem);
  --fs-h4: 1.1875rem;
  --fs-lead: clamp(1.125rem, 1.04rem + .38vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;
  --fs-mono: .8125rem;
  --fs-label: .75rem;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --sec: clamp(64px, 8.5vw, 128px);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 16px;
  --r-pill: 999px;
  --header-h: 76px;
  --z-header: 50;
  --z-menu: 60;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .16s;
  --t-med: .3s;

  --shadow-1: 0 1px 0 rgba(17, 18, 20, .04), 0 10px 26px -18px rgba(17, 18, 20, .35);
  --shadow-2: 0 2px 0 rgba(17, 18, 20, .04), 0 28px 60px -30px rgba(17, 18, 20, .45);
  --grid-ink: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  --grid-paper: linear-gradient(rgba(17, 18, 20, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 18, 20, .045) 1px, transparent 1px);
}
@media (max-width: 1079px) { :root { --header-h: 64px; } }

/* ------------------------------------------------------------------ 2 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--text);
  font: 400 var(--fs-body)/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 700; color: inherit; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
:is(.theme-ink, .theme-ink2, .menu, .hdr[data-theme="ink"]) :focus-visible { outline-color: var(--red-l); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: var(--r-1);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top var(--t-med);
}
.skip:focus { top: 12px; }
main { display: block; }

/* ------------------------------------------------------------------ 3 type */
.display { font-size: var(--fs-display); line-height: .92; letter-spacing: -.025em; font-weight: 760; }
.h1 { font-size: var(--fs-h1); line-height: .96; letter-spacing: -.022em; font-weight: 740; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.018em; font-weight: 720; }
.h3 { font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -.01em; font-weight: 680; }
.h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.004em; font-weight: 650; }
.h1 em, .h2 em, .display em { font-style: normal; color: var(--red); }
:is(.theme-ink, .theme-ink2) :is(.h1, .h2, .display) em { color: var(--red-l); }
.lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
:is(.theme-ink, .theme-ink2) .lede { color: var(--on-ink-2); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.muted { color: var(--text-3); }
:is(.theme-ink, .theme-ink2) .muted { color: var(--on-ink-3); }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .02em; font-weight: 400; }
.label, .eyebrow { font: 500 var(--fs-label)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--text-3); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
.eyebrow--live::before { content: none; }
:is(.theme-ink, .theme-ink2) .eyebrow { color: var(--on-ink-3); }
.num { font-variant-numeric: tabular-nums; }
.tel { font-family: var(--f-mono); font-weight: 500; letter-spacing: .01em; white-space: nowrap; }

/* ------------------------------------------------------------------ 4 layout + themes */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.sec { position: relative; padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--flush-top { padding-top: 0; }
.sec--ruled { border-top: 1px solid var(--rule); }
.theme-paper { background: var(--paper); color: var(--text); }
.theme-paper2 { background: var(--paper-2); color: var(--text); }
.theme-card { background: var(--card); color: var(--text); }
.theme-ink { background: var(--ink); color: var(--on-ink); }
.theme-ink2 { background: var(--ink-2); color: var(--on-ink); }
.theme-paper2 .muted { color: var(--text-3); }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.sec-head .h2 { margin-bottom: 18px; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px clamp(32px, 5vw, 88px); align-items: end; max-width: none; }
.sec-head--split .h2 { margin-bottom: 0; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: var(--gap, clamp(16px, 2vw, 24px)); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; }
@media (max-width: 999px) { .grid--3, .grid--4 { --cols: 2; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { --cols: 1; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack > * + * { margin-top: var(--stack, 16px); }
.rule { height: 1px; border: 0; margin: 0; background: var(--rule); }
:is(.theme-ink, .theme-ink2) .rule { background: var(--rule-ink); }

/* ------------------------------------------------------------------ 5 led + icons */
.led {
  display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(17, 18, 20, .16); box-shadow: inset 0 0 0 1px rgba(17, 18, 20, .18);
  transition: background-color .25s, box-shadow .35s;
}
:is(.theme-ink, .theme-ink2, .menu, .ftr) .led { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.led--on, .led.is-on { background: var(--red) !important; box-shadow: 0 0 0 3px rgba(196, 18, 48, .16), 0 0 12px 1px var(--red-glow) !important; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
.ic { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ 6 buttons */
/* A physical key: a face sitting on an edge. Hover lowers it a little, pressing drops it
   flush and it snaps back on release, like a breaker closing. */
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn {
  --bg: var(--red); --bg-h: #B0102B; --fg: #fff; --edge: var(--red-edge); --bd: transparent; --lift: 4px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; margin-bottom: var(--lift); border: 0; border-radius: 8px;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.1 var(--f-text); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--bd), 0 var(--lift) 0 var(--edge), 0 calc(var(--lift) + 8px) 16px -10px rgba(17, 18, 20, .5);
  transform: translateY(0);
  transition: transform .28s var(--ease-snap), box-shadow .28s var(--ease-snap), background-color var(--t-fast), color var(--t-fast);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--bg-h); transform: translateY(1px); box-shadow: inset 0 0 0 1.5px var(--bd), 0 calc(var(--lift) - 1px) 0 var(--edge), 0 calc(var(--lift) + 5px) 14px -10px rgba(17, 18, 20, .5); }
.btn:active, .btn.is-pressed {
  transform: translateY(var(--lift)); transition-duration: .05s;
  box-shadow: inset 0 0 0 1.5px var(--bd), 0 0 0 var(--edge), 0 2px 6px -4px rgba(17, 18, 20, .5);
}
.btn--ink { --bg: var(--ink); --bg-h: var(--ink-3); --fg: #fff; --edge: #000; }
.btn--ghost { --bg: var(--card); --bg-h: #fff; --fg: var(--text); --edge: var(--rule-2); --bd: var(--rule-2); --lift: 3px; }
:is(.theme-ink, .theme-ink2, .menu) .btn--ghost { --bg: var(--ink-3); --bg-h: #30333A; --fg: var(--on-ink); --edge: #050506; --bd: var(--rule-ink-2); }
.btn--phone span { font-family: var(--f-mono); font-weight: 500; letter-spacing: .01em; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9375rem; --lift: 3px; border-radius: 7px; gap: 8px; }
.btn--sm svg { width: 17px; height: 17px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 420px) { .btns > .btn:not(.btn--sm) { flex: 1 1 auto; } }

/* ------------------------------------------------------------------ 7 links */
.prose a, .link {
  color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  transition: color var(--t-fast), text-decoration-thickness var(--t-fast);
}
.prose a:hover, .link:hover { color: var(--red); text-decoration-thickness: 2.5px; }
:is(.theme-ink, .theme-ink2) :is(.prose a, .link) { text-decoration-color: var(--red-l); }
:is(.theme-ink, .theme-ink2) :is(.prose a, .link):hover { color: var(--red-l); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text);
  background: linear-gradient(var(--red) 0 0) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease-out), color var(--t-fast);
}
.link-arrow svg { width: 17px; height: 17px; flex: none; color: var(--red); transition: transform .3s var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }
:is(.theme-ink, .theme-ink2) .link-arrow { color: var(--on-ink); background-image: linear-gradient(var(--red-l) 0 0); }
:is(.theme-ink, .theme-ink2) .link-arrow svg { color: var(--red-l); }

/* ------------------------------------------------------------------ 8 header */
.hdr {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); color: var(--text);
  transition: transform .45s var(--ease-out), color var(--t-med);
}
.hdr.is-hidden { transform: translate3d(0, -105%, 0); }
.hdr__bg {
  position: absolute; inset: 0; background: rgba(245, 242, 236, .93); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  transition: background-color var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.hdr.is-scrolled .hdr__bg { border-bottom-color: var(--rule); box-shadow: 0 16px 36px -32px rgba(17, 18, 20, .55); }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.logo { position: relative; display: inline-flex; align-items: center; flex: none; height: 44px; text-decoration: none; }
.logo__img { height: 40px; width: auto; transition: opacity var(--t-med); }
.logo__img--white { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; }
.hdr__nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav__a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-1);
  font-weight: 600; font-size: .96875rem; text-decoration: none; color: inherit; opacity: .86; transition: opacity var(--t-fast);
}
.nav__a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__a:hover { opacity: 1; }
.nav__a:hover::after { transform: scaleX(1); }
.nav__a[aria-current], .dd.is-current > .nav__a, .dd:has([aria-current="page"]) > .nav__a { opacity: 1; }
.nav__a[aria-current]::before, .dd.is-current > .nav__a::before, .dd:has([aria-current="page"]) > .nav__a::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px 1px var(--red-glow); flex: none;
}
.hdr__acts { display: flex; align-items: center; gap: 10px; }
.hdr__tel {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px; color: inherit; text-decoration: none;
  font: 500 .9375rem/1 var(--f-mono); letter-spacing: .01em; white-space: nowrap;
}
.hdr__tel svg, .hdr__wa svg { width: 19px; height: 19px; flex: none; }
.hdr__tel:hover span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .3em; text-decoration-thickness: 1.5px; }
.hdr__wa {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: inherit;
  box-shadow: inset 0 0 0 1.5px var(--rule-2); transition: box-shadow var(--t-fast), background-color var(--t-fast);
}
.hdr__wa:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.hdr__cta { margin-left: 4px; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -6px; border: 0; background: none; border-radius: 8px; color: inherit; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
html.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* header on ink: white logo, light text; transparent at the top of a page that opens on ink */
:is(.hdr[data-theme="ink"], html:not(.ss-ready) body:has(#main > .theme-ink:first-child) .hdr, html.menu-open .hdr) { color: var(--on-ink); }
:is(.hdr[data-theme="ink"], html:not(.ss-ready) body:has(#main > .theme-ink:first-child) .hdr) .hdr__bg { background: rgba(17, 18, 20, .9); }
.hdr[data-theme="ink"].is-scrolled .hdr__bg { border-bottom-color: var(--rule-ink); box-shadow: none; }
html.ss-ready .hdr[data-theme="ink"]:not(.is-scrolled) .hdr__bg { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.hdr[data-theme="ink"], html:not(.ss-ready) body:has(#main > .theme-ink:first-child) .hdr, html.menu-open .hdr) .logo__img--ink { opacity: 0; }
:is(.hdr[data-theme="ink"], html:not(.ss-ready) body:has(#main > .theme-ink:first-child) .hdr, html.menu-open .hdr) .logo__img--white { opacity: 1; }
:is(.hdr[data-theme="ink"], html.menu-open .hdr) .hdr__wa { box-shadow: inset 0 0 0 1.5px var(--rule-ink-2); }
:is(.hdr[data-theme="ink"], html.menu-open .hdr) .hdr__wa:hover { box-shadow: inset 0 0 0 1.5px var(--on-ink); }
html.menu-open .hdr { z-index: calc(var(--z-menu) + 1); transform: none; }
html.menu-open .hdr .hdr__bg { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 1239px) { .hdr__tel span { display: none; } .hdr__tel { width: 42px; justify-content: center; padding: 0; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rule-2); } :is(.hdr[data-theme="ink"], html.menu-open .hdr) .hdr__tel { box-shadow: inset 0 0 0 1.5px var(--rule-ink-2); } }
@media (max-width: 1179px) { .nav__a { padding: 0 9px; } .nav__a::after { left: 9px; right: 9px; } }
@media (max-width: 1079px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__acts { margin-left: auto; gap: 8px; }
  .burger { display: block; }
  .logo__img { height: 34px; }
}
@media (max-width: 359px) { .hdr__wa { display: none; } }

/* ------------------------------------------------------------------ 9 services dropdown (mega panel) */
.dd__btn {
  display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; padding: 0; border: 0; border-radius: 6px;
  background: none; color: inherit; opacity: .7; transition: opacity var(--t-fast);
}
.dd__btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.dd__btn:hover, .dd.is-open .dd__btn { opacity: 1; }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel {
  position: absolute; z-index: 2; top: calc(100% + 4px); right: var(--gutter); width: min(1040px, calc(100vw - 2 * var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 0;
  background: var(--card); color: var(--text); border-radius: var(--r-3);
  box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -40px rgba(17, 18, 20, .55), 0 12px 24px -16px rgba(17, 18, 20, .25);
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .22s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
}
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.is-open .dd__panel, html:not(.js) .dd:hover .dd__panel, html:not(.js) .dd:focus-within .dd__panel {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .2s var(--ease-out), transform .4s var(--ease-out), visibility 0s;
}
.hdr__nav > .nav { position: static; }
.hdr__nav .dd { position: static; }
.hdr__nav { position: static; }
.dd__side { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border-right: 1px solid var(--rule); background: var(--paper); border-radius: var(--r-3) 0 0 var(--r-3); }
.dd__side .eyebrow { margin: 0; }
.dd__lead { font-size: var(--fs-small); color: var(--text-2); line-height: 1.5; margin: 0; }
.dd__check { margin-top: auto; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-2); background: var(--ink); color: var(--on-ink); text-decoration: none; transition: background-color var(--t-fast); }
.dd__check .mono { font-size: .75rem; color: var(--on-ink-3); }
.dd__check b { font: 650 1.0625rem/1.2 var(--f-display); font-stretch: var(--display-stretch); }
.dd__check:hover { background: var(--ink-3); }
.dd__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 14px; }
.way {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; align-content: start; height: 100%;
  padding: 14px 14px 15px; border-radius: var(--r-2); text-decoration: none; color: var(--text); transition: background-color var(--t-fast);
}
.way__n {
  grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 7px; border-radius: 5px;
  font: 500 .75rem/1 var(--f-mono); letter-spacing: .04em; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--rule-2);
}
.way__n::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(17, 18, 20, .16); transition: background-color .2s, box-shadow .3s; }
.way__t { font: 650 1.0625rem/1.25 var(--f-display); font-stretch: var(--display-stretch); }
.way__d { font-size: .875rem; line-height: 1.4; color: var(--text-3); }
.way:hover, .way:focus-visible { background: var(--paper-2); }
.way:hover .way__n::after, .way:focus-visible .way__n::after, .way[aria-current="page"] .way__n::after { background: var(--red); box-shadow: 0 0 8px 1px var(--red-glow); }
.way[aria-current="page"] .way__n { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
@media (max-width: 1179px) { .dd__panel { grid-template-columns: minmax(0, 1fr); } .dd__side { display: none; } }

/* ------------------------------------------------------------------ 10 mobile menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
  background: var(--ink); background-image: var(--grid-ink); background-size: 32px 32px; color: var(--on-ink); overflow-y: auto; overscroll-behavior: contain;
  transition: clip-path .55s var(--ease-in-out), opacity .3s .25s, visibility 0s .55s;
}
.menu.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-in-out), opacity .2s, visibility 0s; }
html:not(.js) .menu { display: none; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: calc(var(--header-h) + 16px) var(--gutter) 28px; max-width: 640px; }
.menu__list { list-style: none; display: grid; }
.menu__list > li, .menu__foot > * { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(.18s + var(--i, 0) * 45ms); }
.menu.is-open .menu__list > li, .menu.is-open .menu__foot > * { opacity: 1; transform: none; }
.menu__list > li > a {
  display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-ink); color: var(--on-ink); text-decoration: none;
  font: 700 clamp(1.7rem, 7vw, 2.4rem)/1.05 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: -.015em;
}
.menu__list > li > a small { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--on-ink-3); min-width: 1.8em; }
.menu__list a[aria-current] small { color: var(--red-l); }
.menu__sub { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 8px 0 12px calc(1.8em * .75 + 14px); border-bottom: 1px solid var(--rule-ink); }
.menu__sub a { display: block; padding: 7px 0; color: var(--on-ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.3; }
.menu__sub a:hover, .menu__sub a[aria-current="page"] { color: var(--on-ink); }
.menu__sub a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: .12em; box-shadow: 0 0 8px var(--red-glow); }
.menu__foot { margin-top: auto; display: grid; gap: 12px; }
.menu__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu__row .btn { margin-bottom: 3px; }
.menu__mail { color: var(--on-ink-2); font-size: .875rem; word-break: break-all; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 359px) { .menu__sub { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ 11 cable motif */
/* <!-- include:partials/cable.html --> : a grey sheath that opens to brown, blue and
   green/yellow cores with bare copper ends. Draws itself in when it scrolls into view. */
.cable { position: relative; display: flex; align-items: center; height: 32px; margin-block: 0; pointer-events: none; }
.cable__sheath {
  position: relative; z-index: 1; flex: 1 1 auto; height: 16px; border-radius: 8px 3px 3px 8px;
  background: linear-gradient(180deg, #B9BEC3 0%, var(--c-sheath) 42%, #80868C 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 rgba(17, 18, 20, .08);
  transform-origin: left center; overflow: hidden;
}
.cable__sheath::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; width: 22%; left: -24%; border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 112, .75), transparent); opacity: 0;
}
.cable__end { flex: none; width: 176px; height: 32px; margin-left: -8px; overflow: visible; }
.cable__core { fill: none; stroke-width: 4.6; stroke-linecap: round; }
.cable__core--l { stroke: var(--c-line); }
.cable__core--n { stroke: var(--c-neutral); }
.cable__core--e { stroke: var(--c-earth); }
.cable__core--es { stroke: var(--c-earth-2); stroke-dasharray: 5 6; stroke-linecap: butt; stroke-width: 4.6; }
.cable__cu { fill: none; stroke: var(--c-copper); stroke-width: 2.2; stroke-linecap: round; }
.cable--short .cable__sheath, .cable-sep--short .cable__sheath { flex: 0 0 min(360px, 55%); }
.theme-ink .cable__sheath, .theme-ink2 .cable__sheath, .cable--ink .cable__sheath { background: linear-gradient(180deg, #8E949A 0%, #6E747A 45%, #575C61 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
html.js:not(.ss-reduced) .cable[data-cable]:not(.is-live) .cable__sheath { transform: scaleX(0); }
html.js:not(.ss-reduced) .cable[data-cable]:not(.is-live) .cable__end { clip-path: inset(0 100% 0 0); }
html.js .cable[data-cable] .cable__sheath { transition: transform 1.1s var(--ease-out); }
html.js .cable[data-cable] .cable__end { transition: clip-path .7s var(--ease-out) .85s; }
.cable.is-live .cable__sheath::after { animation: cable-current 1.5s var(--ease-in-out) 1.3s 1 both; }
@keyframes cable-current { 0% { left: -24%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 102%; opacity: 0; } }
.cable-sep { padding-block: 0 clamp(40px, 5.5vw, 80px); }

/* ------------------------------------------------------------------ 12 page hero (inner pages) */
/* Opens on ink, so it slides up under the sticky header (header turns transparent + white). */
.phero {
  position: relative; isolation: isolate; overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(28px, 4.5vw, 64px)) 0 clamp(48px, 6vw, 96px);
}
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grid-ink); background-size: 32px 32px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
}
.phero.theme-paper::before, .phero.theme-paper2::before { background-image: var(--grid-paper); }
.phero.theme-paper, .phero.theme-paper2 { margin-top: 0; padding-top: clamp(28px, 4.5vw, 64px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 40px clamp(36px, 5vw, 88px); align-items: end; }
.phero__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.phero__main { min-width: 0; }
.phero h1 { margin: 18px 0 22px; max-width: 16ch; }
.phero .lede { margin-bottom: 30px; }
.phero__aside { min-width: 0; }
@media (max-width: 999px) { .phero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; } .phero h1 { max-width: 18ch; } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; list-style: none; font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--t-fast), color var(--t-fast); }
.crumbs a:hover { border-bottom-color: currentColor; color: var(--text); }
.crumbs [aria-current="page"] { color: var(--text); }
:is(.theme-ink, .theme-ink2) .crumbs { color: var(--on-ink-3); }
:is(.theme-ink, .theme-ink2) .crumbs a:hover, :is(.theme-ink, .theme-ink2) .crumbs [aria-current="page"] { color: var(--on-ink); }

.meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.meta li {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--rule-2); border-radius: 5px; white-space: nowrap;
  font: 500 .75rem/1.25 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3);
}
.meta b { font-weight: 500; color: var(--text); }
:is(.theme-ink, .theme-ink2) .meta li { border-color: var(--rule-ink-2); color: var(--on-ink-3); }
:is(.theme-ink, .theme-ink2) .meta b { color: var(--on-ink); }
@media (max-width: 380px) { .meta li { padding: 6px 9px; letter-spacing: .04em; } }

/* ------------------------------------------------------------------ 13 spec card (job sheet) */
.spec { position: relative; border-radius: var(--r-3); background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--rule), var(--shadow-1); overflow: hidden; }
:is(.theme-ink, .theme-ink2) .spec { background: var(--ink-2); color: var(--on-ink); box-shadow: 0 0 0 1px var(--rule-ink-2), 0 30px 60px -36px rgba(0, 0, 0, .9); }
.theme-ink2 .spec { background: var(--ink-3); }
.spec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.spec__head span:first-child { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
:is(.theme-ink, .theme-ink2) .spec__head { border-bottom-color: var(--rule-ink); color: var(--on-ink-3); }
:is(.theme-ink, .theme-ink2) .spec__head span:first-child { color: var(--on-ink); }
.spec__rows { display: grid; }
.spec__row { display: grid; grid-template-columns: minmax(0, 118px) minmax(0, 1fr) 18px; gap: 14px; align-items: baseline; padding: 12px 18px; border-bottom: 1px dashed var(--rule); }
.spec__row:last-child { border-bottom: 0; }
:is(.theme-ink, .theme-ink2) .spec__row { border-bottom-color: var(--rule-ink); }
.spec__row dt { font: 500 .75rem/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
:is(.theme-ink, .theme-ink2) .spec__row dt { color: var(--on-ink-3); }
.spec__row dd { font-size: .9688rem; line-height: 1.4; font-weight: 500; }
.spec__tick { align-self: center; width: 18px; height: 18px; color: var(--red); }
:is(.theme-ink, .theme-ink2) .spec__tick { color: var(--red-l); }
.spec__foot { padding: 12px 18px; border-top: 1px solid var(--rule); font: 400 .75rem/1.4 var(--f-mono); color: var(--text-3); letter-spacing: .02em; }
:is(.theme-ink, .theme-ink2) .spec__foot { border-top-color: var(--rule-ink); color: var(--on-ink-3); }
html.js:not(.ss-reduced) .spec[data-spec]:not(.is-in) .spec__tick { opacity: 0; transform: scale(.4); }
html.js .spec[data-spec] .spec__tick { transition: opacity .3s var(--ease-out), transform .45s var(--ease-snap); transition-delay: calc(.45s + var(--k, 0) * 140ms); }
@media (max-width: 420px) { .spec__row { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 12px; } .spec__row dt { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ 14 long-form + prose */
/* .lf: a column of numbered sections, heading on the left (sticky), copy on the right, like
   the ways of a circuit chart. The number's LED lights while you are reading that section. */
.lf { display: grid; }
.lf__sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(32px, 5vw, 88px); padding-block: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--rule); }
.lf__sec:first-child { border-top: 0; padding-top: 0; }
.lf__head { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.lf__n { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 5px 9px; border-radius: 5px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--rule-2); }
.lf__n .led { width: 7px; height: 7px; }
.lf__sec.is-live .lf__n { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.lf__sec.is-live .lf__n .led { background: var(--red); box-shadow: 0 0 0 3px rgba(196, 18, 48, .14), 0 0 10px 1px var(--red-glow); }
.lf__head .h3 { max-width: 16ch; }
.lf__wide { padding-block: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--rule); }
@media (max-width: 899px) { .lf__sec { grid-template-columns: minmax(0, 1fr); } .lf__head { position: static; } .lf__head .h3 { max-width: 24ch; } }

.prose { max-width: 68ch; color: var(--text-2); }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); }
.prose h2 { font-size: var(--fs-h3); line-height: 1.15; margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; line-height: 1.25; margin-top: 1.7em; font-weight: 680; }
.prose h4 { font-size: 1.0625rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 12px; height: 2px; background: var(--red); }
.prose ol { counter-reset: step; }
.prose ol > li { position: relative; padding-left: 44px; counter-increment: step; }
.prose ol > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .12em; min-width: 30px; padding: 3px 0; border-radius: 4px; text-align: center;
  font: 500 .75rem/1.2 var(--f-mono); color: var(--text); box-shadow: inset 0 0 0 1px var(--rule-2);
}
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--text); font-size: 1.125rem; }
.prose .note { padding: 16px 18px; border-radius: var(--r-2); background: var(--paper-2); color: var(--text-2); font-size: var(--fs-small); }
.prose .note b:first-child { display: block; margin-bottom: 4px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.prose code, .prose kbd { font: 500 .875em/1 var(--f-mono); padding: 2px 6px; border-radius: 4px; background: var(--paper-2); color: var(--text); }
:is(.theme-ink, .theme-ink2) .prose { color: var(--on-ink-2); }
:is(.theme-ink, .theme-ink2) .prose :is(h2, h3, h4, strong, b) { color: var(--on-ink); }

/* ------------------------------------------------------------------ 15 figures + diagrams */
.fig { display: grid; gap: 14px; }
.fig__frame {
  position: relative; 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(14px, 2.5vw, 32px); overflow: hidden;
}
.fig__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); }
.fig__panel { min-width: 0; display: grid; align-content: start; gap: 10px; }
.fig__panel + .fig__panel { border-left: 1px dashed var(--rule-2); padding-left: clamp(14px, 3vw, 40px); }
.fig__tag { display: flex; align-items: center; gap: 10px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.fig__tag b { font-weight: 500; color: var(--text); }
.fig__cap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: var(--fs-small); color: var(--text-3); line-height: 1.5; }
@media (min-width: 640px) { .fig__cap { flex-wrap: nowrap; } .fig__cap > :last-child { min-width: 0; } .fig__cap .fig__n { flex: none; } }
.fig__n { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 4px 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.fig__foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px clamp(24px, 4vw, 48px); align-items: end; margin-top: clamp(20px, 3vw, 32px); padding-top: clamp(18px, 2.5vw, 28px); border-top: 1px dashed var(--rule-2); }
.fig__note { font-size: var(--fs-small); line-height: 1.55; color: var(--text-3); max-width: 46ch; }
@media (max-width: 719px) {
  .fig__frame { padding: 14px 12px; }
  .fig__panels { grid-template-columns: minmax(0, 1fr); }
  .fig__panel + .fig__panel { border-left: 0; padding-left: 0; border-top: 1px dashed var(--rule-2); padding-top: 18px; }
  .fig__foot { grid-template-columns: minmax(0, 1fr); }
}
/* key under a diagram: lettered balloons A, B, C and numbered circuits */
.key { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--rule); }
.key li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .9063rem; line-height: 1.45; color: var(--text-2); }
.key li b { color: var(--text); font-weight: 600; }
.key__b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text); font: 600 .75rem/1 var(--f-mono); color: var(--text); transform: translateY(-1px); }
.key__b--sq { border-radius: 5px; }
/* circuit chart (the card in the consumer unit door) */
.chart { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.chart caption { text-align: left; padding: 0 0 10px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.chart th, .chart td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.chart thead th { font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); border-bottom: 1.5px solid var(--text); }
.chart td:first-child, .chart th:first-child { padding-left: 0; }
.chart .mono { font-size: .8125rem; color: var(--text); }

/* .dgm: shared classes for every generated line drawing (inline SVG). */
.dgm { --dg-ink: var(--text); --dg-card: var(--card); --dg-paper: var(--paper-2); --dg-steel: #E2E0DC; --dg-dark: #2B2D32; width: 100%; height: auto; overflow: visible; }
:is(.theme-ink, .theme-ink2) .dgm { --dg-ink: var(--on-ink); --dg-card: var(--ink-2); --dg-paper: var(--ink-3); --dg-steel: #2F3238; --dg-dark: #0B0B0D; }
.dgm .ln { fill: none; stroke: var(--dg-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dgm .ln-b { stroke-width: 2.6; }
.dgm .ln-f { fill: none; stroke: var(--dg-ink); stroke-width: 1; stroke-linecap: round; opacity: .5; }
.dgm .ln-d { fill: none; stroke: var(--dg-ink); stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .6; }
.dgm .lead { fill: none; stroke: var(--dg-ink); stroke-width: 1.2; }
.dgm .fl-card { fill: var(--dg-card); }
.dgm .fl-paper { fill: var(--dg-paper); }
.dgm .fl-steel { fill: var(--dg-steel); }
.dgm .fl-dark { fill: var(--dg-dark); }
.dgm .fl-ink { fill: var(--dg-ink); }
.dgm .fl-brass { fill: #C9A25A; }
.dgm .fl-wood { fill: #E6D6BC; }
.dgm .fl-none { fill: none; }
.dgm .fl-live { fill: var(--red); }
.dgm .tx { fill: var(--dg-ink); font: 500 13px/1 var(--f-mono); letter-spacing: .04em; }
.dgm .tx-s { font-size: 10.5px; }
.dgm .tx-l { font-size: 15px; font-weight: 600; }
.dgm .tx-inv { fill: var(--dg-card); }
.dgm .tx-m { text-anchor: middle; }
.dgm .tx-e { text-anchor: end; }
.dgm .cab { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }
.dgm .cab-s { stroke-width: 4; }
.dgm .c-line { stroke: var(--c-line); }
.dgm .c-neutral { stroke: var(--c-neutral); }
.dgm .c-earth { stroke: var(--c-earth); }
.dgm .c-earth-s { stroke: var(--c-earth-2); stroke-dasharray: 6 6; stroke-linecap: butt; }
.dgm .c-sheath { stroke: var(--c-sheath); }
.dgm .c-copper { stroke: var(--c-copper); }
.dgm .c-old-line { stroke: var(--red); }
.dgm .c-old-neutral { stroke: var(--dg-ink); }
.dgm .bal circle { fill: var(--dg-card); stroke: var(--dg-ink); stroke-width: 1.6; }
.dgm .bal text { fill: var(--dg-ink); font: 600 14px/1 var(--f-mono); text-anchor: middle; }
.dgm .bal--n circle { fill: var(--dg-ink); }
.dgm .bal--n text { fill: var(--dg-card); }
/* breakers: default (no JS, reduced motion, final state) is ON: lever up, red flag showing */
.dgm .brk__lever { transition: transform .2s cubic-bezier(.5, 0, .2, 1.5); transform-box: fill-box; }
.dgm .brk__flag { fill: var(--red); transition: fill .15s .1s; }
[data-breakers].is-armed .brk:not(.is-on) .brk__lever { transform: translateY(var(--throw, 18px)); }
[data-breakers].is-armed .brk:not(.is-on) .brk__flag { fill: var(--dg-paper); }
/* draw-in: text, fills and balloons wait for the linework */
html.js:not(.ss-reduced) .dgm[data-draw]:not(.is-drawn) :is(.fl-card, .fl-paper, .fl-steel, .fl-dark, .fl-ink, .fl-brass, .fl-wood, .fl-live, .brk__flag, .bal circle) { fill-opacity: 0; }
html.js:not(.ss-reduced) .dgm[data-draw]:not(.is-drawn) :is(text, [data-nodraw]) { opacity: 0; }
html.js .dgm[data-draw] :is(.fl-card, .fl-paper, .fl-steel, .fl-dark, .fl-ink, .fl-brass, .fl-wood, .fl-live, .brk__flag, .bal circle, text, [data-nodraw]) { transition: fill-opacity .8s var(--ease-out) .05s, opacity .8s var(--ease-out) .15s, fill .15s .1s; }
@media (max-width: 640px) {
  .dgm .tx { font-size: 16px; }
  .dgm .tx-s { font-size: 13px; }
  .dgm .tx-l { font-size: 18px; }
  .dgm .bal text { font-size: 17px; }
}

/* ------------------------------------------------------------------ 16 good to know */
.gtk { border-radius: var(--r-3); background: var(--card); box-shadow: 0 0 0 1px var(--rule), var(--shadow-1); overflow: hidden; }
.gtk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(18px, 2.5vw, 28px); background: var(--ink); color: var(--on-ink); }
.gtk__head .h4 { display: flex; align-items: center; gap: 12px; }
.gtk__head .mono { color: var(--on-ink-3); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.gtk__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gtk__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 18px clamp(18px, 2.5vw, 28px); border-top: 1px solid var(--rule); color: var(--text-2); font-size: .9688rem; line-height: 1.55; }
.gtk__list li:nth-child(even) { border-left: 1px solid var(--rule); }
.gtk__list li:nth-child(-n+2) { border-top: 0; }
.gtk__list b { color: var(--text); font-weight: 600; }
.gtk__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--rule-2); color: var(--red); transform: translateY(1px); }
.gtk__ic svg { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .gtk__list { grid-template-columns: minmax(0, 1fr); }
  .gtk__list li:nth-child(even) { border-left: 0; }
  .gtk__list li:nth-child(2) { border-top: 1px solid var(--rule); }
}

/* ------------------------------------------------------------------ 17 faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 32px clamp(32px, 5vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 28px); }
/* the intro column is narrower than a section head: cap the heading so "asked and answered" keeps to one line */
.faq__intro .h2 { font-size: min(var(--fs-h2), 4.1vw); }
@media (max-width: 899px) { .faq__intro .h2 { font-size: var(--fs-h2); } }
.faq__list { border-top: 1.5px solid var(--text); }
.faq__item { border-bottom: 1px solid var(--rule-2); }
.faq__q {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 18px; padding: 20px 2px; cursor: pointer; list-style: none;
  font: 650 1.1875rem/1.3 var(--f-display); font-stretch: var(--display-stretch); color: var(--text); letter-spacing: -.004em;
  transition: color var(--t-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--red); }
.faq__q:focus-visible { outline-offset: -2px; }
/* the indicator is a small switch: off (closed), on (open, red) */
.sw { position: relative; width: 40px; height: 22px; border-radius: 11px; background: var(--paper-3); box-shadow: inset 0 0 0 1.5px var(--rule-2); transition: background-color .25s, box-shadow .25s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(17, 18, 20, .35), inset 0 0 0 1px var(--rule-2); transition: transform .3s var(--ease-snap); }
.faq__item[open] .sw { background: var(--red); box-shadow: inset 0 0 0 1.5px var(--red-d), 0 0 12px -2px var(--red-glow); }
.faq__item[open] .sw::after { transform: translateX(18px); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.faq__item[open].is-closing .sw { background: var(--paper-3); box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.faq__item[open].is-closing .sw::after { transform: none; }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 56px 24px 2px; color: var(--text-2); }
.faq__a > div > * + * { margin-top: .8em; }
.faq__a a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.theme-paper2 .sw { background: var(--paper-3); }
@media (max-width: 899px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__intro { position: static; } .faq__a > div { padding-right: 0; } }

/* ------------------------------------------------------------------ 18 cards (services, related) */
.cards { list-style: none; display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.cards--3 { --cols: 3; }
@media (max-width: 1079px) { .cards { --cols: 2; } }
@media (max-width: 560px) { .cards { --cols: 1; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 20px 18px; border-radius: var(--r-3);
  background: var(--card); color: var(--text); text-decoration: none; box-shadow: 0 0 0 1px var(--rule);
  transition: box-shadow .3s var(--ease-out), transform .4s var(--ease-out);
}
a.card:hover { box-shadow: 0 0 0 1.5px var(--text), var(--shadow-2); transform: translateY(-3px); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card__n { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--text-3); }
.card__t { font: 680 1.3125rem/1.15 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: -.008em; }
.card__d { font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.card__go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.card__go svg { width: 17px; height: 17px; color: var(--red); transition: transform .3s var(--ease-out); }
a.card:hover .card__go svg { transform: translateX(4px); }
a.card:hover .led, a.card:focus-visible .led { background: var(--red); box-shadow: 0 0 0 3px rgba(196, 18, 48, .14), 0 0 12px 1px var(--red-glow); }
:is(.theme-ink, .theme-ink2) .card { background: var(--ink-2); color: var(--on-ink); box-shadow: 0 0 0 1px var(--rule-ink-2); }
:is(.theme-ink, .theme-ink2) .card__d { color: var(--on-ink-2); }
:is(.theme-ink, .theme-ink2) .card__n { color: var(--on-ink-3); }
:is(.theme-ink, .theme-ink2) a.card:hover { box-shadow: 0 0 0 1.5px var(--on-ink); }
:is(.theme-ink, .theme-ink2) .card__go svg { color: var(--red-l); }

/* ------------------------------------------------------------------ 19 towns */
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.town {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 14px; border-radius: 8px;
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--rule-2);
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}
.town svg { flex: none; width: 17px; height: 17px; color: var(--text-3); transition: color var(--t-fast); }
.town small { font: 500 .75rem/1 var(--f-mono); letter-spacing: .04em; color: var(--text-3); }
.town:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.town:hover svg { color: var(--red); }
.town--all { background: transparent; box-shadow: none; padding-inline: 4px; }
.town--all:hover { box-shadow: none; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .25em; }
:is(.theme-ink, .theme-ink2) .town { background: var(--ink-3); color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--rule-ink-2); }
:is(.theme-ink, .theme-ink2) .town small, :is(.theme-ink, .theme-ink2) .town svg { color: var(--on-ink-3); }
/* phones: two equal columns, postcode pushed to the chip's right edge; one column below 370px */
@media (max-width: 560px) {
  .towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .town { display: flex; min-width: 0; gap: 8px; justify-content: flex-start; padding: 0 11px; font-size: .9375rem; }
  .town small { margin-left: auto; }
  .town--all { grid-column: 1 / -1; }
}
@media (max-width: 369px) { .towns { grid-template-columns: minmax(0, 1fr); } }
.towns-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.towns-row .h4 { max-width: 28ch; }

/* ------------------------------------------------------------------ 20 credentials (partial) */
.creds { padding-block: clamp(36px, 4.5vw, 56px); background: var(--paper-2); border-block: 1px solid var(--rule); }
.creds__in { display: grid; gap: 20px; }
.creds__h { display: flex; align-items: center; gap: 10px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.creds__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plate {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 16px 18px 16px; border-radius: var(--r-1);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-2), 0 1px 0 rgba(17, 18, 20, .05);
}
/* four fixing screws, like a rating plate */
.plate::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  background:
    radial-gradient(circle, var(--rule-2) 1.6px, transparent 2.2px) left top / 6px 6px no-repeat,
    radial-gradient(circle, var(--rule-2) 1.6px, transparent 2.2px) right top / 6px 6px no-repeat,
    radial-gradient(circle, var(--rule-2) 1.6px, transparent 2.2px) left bottom / 6px 6px no-repeat,
    radial-gradient(circle, var(--rule-2) 1.6px, transparent 2.2px) right bottom / 6px 6px no-repeat;
}
/* the link fills the plate (not display: contents, which Chrome leaves out of the tab order) */
.plate.plate--link { padding: 0; }
.plate > a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 16px 18px; border-radius: inherit; color: inherit; text-decoration: none; }
.plate__k { font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.plate__v { font: 720 1.25rem/1.15 var(--f-display); font-stretch: var(--display-stretch); color: var(--text); letter-spacing: -.005em; }
.plate__s { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; line-height: 1.4; color: var(--text-2); }
.plate__s svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.plate--link { transition: box-shadow var(--t-fast); }
.plate--link:hover { box-shadow: inset 0 0 0 1.5px var(--text), 0 1px 0 rgba(17, 18, 20, .05); }
.plate--link:hover .plate__s { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.plate--link:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.plate--link a:focus-visible { outline: none; }
@media (max-width: 999px) { .creds__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plate { padding: 14px 14px; } .plate > a { padding: 14px; } .plate__v { font-size: 1.0625rem; } .plate__s { font-size: .8125rem; } }
@media (max-width: 339px) { .creds__list { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ 21 cta band (partial) */
.cta { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(64px, 8vw, 112px); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid-ink); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 40px clamp(36px, 5vw, 88px); align-items: center; }
.cta .h2 { margin-bottom: 18px; max-width: 16ch; }
.cta .lede { margin-bottom: 30px; }
.cta__card { list-style: none; border-radius: var(--r-3); background: var(--ink-3); box-shadow: 0 0 0 1px var(--rule-ink-2); overflow: hidden; }
.cta__card li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 18px 22px; color: var(--on-ink-2); line-height: 1.45; }
.cta__card li + li { border-top: 1px dashed var(--rule-ink-2); }
.cta__card b { color: var(--on-ink); font-weight: 600; }
.cta__n { font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; color: #F45E73; } /* red-l lifted a touch: 4.7:1 on the ink-3 card (red-l is 4.45:1 there) */
@media (max-width: 899px) { .cta__in { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ 22 forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field__label { font-weight: 600; font-size: .9375rem; color: var(--text); }
.field__label small { font-weight: 400; color: var(--text-3); margin-left: 6px; }
.field__hint { font-size: .8438rem; color: var(--text-3); line-height: 1.4; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 8px;
  background: var(--card); color: var(--text); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.input::placeholder, .textarea::placeholder { color: #8A857D; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(196, 18, 48, .16); background: #fff; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--red); background: #FFF8F8; }
.field__err { display: none; align-items: center; gap: 7px; font-size: .875rem; font-weight: 600; color: var(--red); }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--red); color: #fff; font: 700 .6875rem/1 var(--f-mono); flex: none; }
.field.is-invalid .field__err { display: flex; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--field); border-radius: 5px; background: var(--card); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast); }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .2s var(--ease-snap); }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check input[type="radio"] { border-radius: 50%; }
.check input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .8438rem; color: var(--text-3); }
.form__prefill { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-2); background: var(--paper-2); box-shadow: inset 3px 0 0 var(--red); font-size: .9375rem; color: var(--text-2); }
.form__prefill b { color: var(--text); }
:is(.theme-ink, .theme-ink2) .field__label { color: var(--on-ink); }

/* ------------------------------------------------------------------ 23 footer (partial) */
.ftr { position: relative; padding: clamp(40px, 5vw, 64px) 0 28px; background: var(--ink); color: var(--on-ink-2); font-size: .9375rem; }
.ftr a { color: var(--on-ink); text-decoration: none; transition: color var(--t-fast); }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-l); text-underline-offset: .25em; text-decoration-thickness: 1.5px; }
.ftr__cable { margin-bottom: clamp(36px, 5vw, 64px); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule-ink); }
.ftr__logo { display: inline-block; margin-bottom: 20px; }
.ftr__logo img { height: 48px; width: auto; }
.ftr__brand p { max-width: 40ch; }
.ftr__std { margin-top: 16px; font-size: .75rem; line-height: 1.55; color: var(--on-ink-3); letter-spacing: .02em; }
.ftr__h { margin-bottom: 14px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.ftr__col ul { list-style: none; display: grid; gap: 9px; }
.ftr__col .mono { font-size: .75rem; color: var(--on-ink-3); margin-left: 4px; }
.ftr__col a[aria-current="page"] { color: #fff; }
.ftr__col a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: .12em; box-shadow: 0 0 8px var(--red-glow); }
.ftr__contact a { display: inline-flex; align-items: flex-start; gap: 10px; }
.ftr__contact a[aria-current="page"]::before { content: none; }
.ftr__contact a[aria-current="page"] svg { color: var(--red-l); }
.ftr__contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--on-ink-3); }
.ftr__contact span { min-width: 0; overflow-wrap: anywhere; }
.ftr__legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: end; padding-top: 24px; font-size: .8125rem; color: var(--on-ink-3); }
.ftr__legal > p:first-child { grid-column: 1 / -1; max-width: 100ch; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__links a { color: var(--on-ink-2); }
.credit { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; letter-spacing: .02em; color: var(--on-ink-3) !important; white-space: nowrap; }
.credit__logo {
  display: block; height: 13px; width: auto; aspect-ratio: 4.2429; background: rgba(255, 255, 255, .62);
  -webkit-mask: url(/saasyn-word.svg) no-repeat left center / contain; mask: url(/saasyn-word.svg) no-repeat left center / contain;
  transition: background-color var(--t-fast);
}
.credit:hover { color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; }
.credit:hover .credit__logo { background: #fff; }
@media (max-width: 999px) { .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__col:last-child { grid-column: 1 / -1; }
  .ftr__legal { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ 24 process rail (core.js .process) */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 24px; list-style: none; padding-top: 34px; }
.process__rail { position: absolute; left: 0; right: 0; top: 8px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #B9BEC3, var(--c-sheath) 45%, #80868C); }
.process__fill { position: absolute; left: 0; top: 2px; bottom: 2px; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.process__head { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(196, 18, 48, .2), 0 0 14px var(--red-glow); }
.process__step { position: relative; color: var(--text-3); transition: color .3s; }
.process__step.is-lit { color: var(--text); }
.process.is-vertical { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 36px; }
.process.is-vertical .process__rail { left: 6px; right: auto; top: 0; bottom: 0; width: 8px; height: auto; background: linear-gradient(90deg, #B9BEC3, var(--c-sheath) 45%, #80868C); }
.process.is-vertical .process__fill { left: 2px; right: 2px; top: 0; bottom: auto; width: auto; height: calc(var(--p, 0) * 100%); }
.process.is-vertical .process__head { left: 50%; top: calc(var(--p, 0) * 100%); }
@media (max-width: 899px) { .process { grid-template-columns: minmax(0, 1fr); } }

/* tabs (core.js [data-tabs]) and marquee (core.js [data-marquee]): base styles only */
.tabs__list { position: relative; display: flex; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border-radius: var(--r-2); background: var(--paper-3); overflow-x: auto; scrollbar-width: none; }
.tabs__tab { position: relative; z-index: 1; flex: none; padding: 10px 16px; border: 0; border-radius: 7px; background: none; font-weight: 600; font-size: .9375rem; color: var(--text-2); transition: color var(--t-fast); }
.tabs__tab[aria-selected="true"] { color: var(--text); }
.tabs__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 7px; background: var(--card); box-shadow: 0 0 0 1px var(--rule-2), 0 4px 10px -6px rgba(17, 18, 20, .4); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.tabs__panel.is-active { animation: ss-tab-in .45s var(--ease-out); }
@keyframes ss-tab-in { from { opacity: 0; transform: translateY(8px); } }
[data-marquee] { position: relative; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 28px; padding-right: 28px; margin: 0; flex: none; list-style: none; }
.marquee__rail { display: flex; width: max-content; animation: ss-marquee var(--marquee-dur, 40s) linear infinite; }
[data-marquee]:hover .marquee__rail, [data-marquee].is-paused .marquee__rail { animation-play-state: paused; }
@keyframes ss-marquee { to { transform: translate3d(-50%, 0, 0); } }
[data-marquee].is-static .marquee__track, html:not(.js) [data-marquee] .marquee__track { flex-wrap: wrap; row-gap: 10px; }

/* ------------------------------------------------------------------ 25 utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); } .mb-7 { margin-bottom: var(--s-7); }
.maxw-60 { max-width: 60ch; }
.nowrap { white-space: nowrap; }
.red { color: var(--red); }
:is(.theme-ink, .theme-ink2) .red { color: var(--red-l); }
.swatch { display: grid; gap: 6px; font: 400 .75rem/1.3 var(--f-mono); }
.swatch i { display: block; height: 64px; border-radius: var(--r-1); box-shadow: inset 0 0 0 1px rgba(17, 18, 20, .12); }

/* ------------------------------------------------------------------ 26 motion states */
html.js [data-reveal]:not(.is-done) { transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 26px, 0); }
html.js [data-reveal="fade"]:not(.is-in) { transform: none; }
html.js [data-reveal="scale"]:not(.is-in) { transform: scale(.97); }
html.js [data-stagger]:not(.is-done) > * { transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-stagger]:not(.is-in) > * { opacity: 0; transform: translate3d(0, 22px, 0); }
html.js [data-split]:not(.is-split):not(.is-in) { opacity: 0; transform: translate3d(0, 22px, 0); }
html.js [data-split]:not(.is-split) { transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.ss-line { padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .ss-word { white-space: nowrap; }
html.js [data-draw]:not(.ss-draw-ready) { visibility: hidden; }
html.ss-failsafe:not(.ss-ready) :is([data-reveal], [data-split], [data-stagger] > *) { opacity: 1 !important; transform: none !important; }
html.ss-failsafe:not(.ss-ready) [data-draw] { visibility: visible !important; }
html.ss-failsafe:not(.ss-ready) .dgm[data-draw] * { opacity: 1 !important; }
html.ss-failsafe:not(.ss-ready) .cable .cable__sheath { transform: none !important; }
html.ss-failsafe:not(.ss-ready) .cable .cable__end { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js :is([data-reveal], [data-stagger] > *, [data-split]) { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js [data-draw] { visibility: visible !important; }
  .cable__sheath::after { display: none; }
  .marquee__rail { animation: none !important; transform: none !important; }
}
@media print {
  .hdr, .menu, .skip, .cta, .ftr__cable, .dd__panel { display: none !important; }
  .theme-ink, .theme-ink2, .ftr { background: #fff !important; color: #000 !important; }
  .phero { margin-top: 0; padding-top: 24px; }
  html.js :is([data-reveal], [data-stagger] > *, [data-split]) { opacity: 1 !important; transform: none !important; }
}
