/* FEV Electrical. One family (Archivo, width and weight axes), the logo's ground and its stripe blue. */
@font-face {
  font-family: "Archivo";
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --ink: #0A0D16;
  --ink-2: #111624;
  --ink-3: #1A2032;
  --blue: #15ABF4;
  --blue-d: #0B8FD1;
  --white: #fff;
  --paper: #F3F5F8;
  --wall: #E7EAEE;
  --text: #0A0D16;
  --muted: #4A5262;
  --muted-d: rgba(255, 255, 255, .7);
  --line: rgba(10, 13, 22, .14);
  --line-d: rgba(255, 255, 255, .16);
  --pad: clamp(16px, 4.45vw, 64px);
  --max: 1440px;
  --gut: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  --hh: 76px;
  --sl: 32px; /* the italic slant of the FEV letters: 0.424 x bar height */
  --e-io: cubic-bezier(.7, 0, .2, 1);
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(72px, 8.4vw, 128px);
}
@media (max-width: 1023px) { :root { --hh: 62px; --sl: 26px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, picture, svg { display: block; max-width: 100%; }
@media (min-width: 760px) { .d-hide { display: none !important; } }
/* a picture inside a sized frame fills it, so object-fit can crop any source ratio */
.fr > picture, .cp__ph > picture { height: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* type */
.h1, .h2, .h3, h1, h2, h3 { font-stretch: 108%; font-weight: 620; letter-spacing: -.018em; }
h1, .h1 { font-size: clamp(40px, 4.5vw, 74px); line-height: 1.02; }
h2, .h2 { font-size: clamp(32px, 3.3vw, 54px); line-height: 1.06; }
h3, .h3 { font-size: clamp(22px, 1.75vw, 28px); line-height: 1.18; letter-spacing: -.01em; font-stretch: 104%; }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; }
.small { font-size: 15px; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }

/* links and buttons. The button leans like the logo's letters. */
.btn {
  --b: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px 0 32px; border: 0; cursor: pointer;
  background: var(--b); color: var(--ink);
  font-weight: 640; font-size: 17px; font-stretch: 106%; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background-color .25s var(--e-out), color .25s;
}
.btn:hover { --b: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 44px; padding: 0 24px 0 26px; font-size: 16px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.btn--ink { --b: var(--ink); color: #fff; }
.btn--ink:hover { --b: var(--blue); color: var(--ink); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; clip-path: none; }
.btn .arr { width: 16px; height: 16px; transition: transform .3s var(--e-out); }
.btn:hover .arr { transform: translateX(3px); }

.lnk {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-stretch: 104%; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--e-out), color .2s;
}
.lnk:hover { background-size: 0% 1.5px; background-position: 100% 100%; }
.lnk .arr { width: 15px; height: 15px; transition: transform .3s var(--e-out); }
.lnk:hover .arr { transform: translateX(4px); }
.on-dark .lnk:hover, .lnk--blue { color: var(--blue); }

/* ───────────── header ───────────── */
.hdr { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--hh); transition: transform .5s var(--e-io), background-color .35s; color: #fff; }
/* one bar: transparent over the photo with a soft top gradient, solid once the page scrolls */
.hdr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 13, 22, .45) 0%, rgba(10, 13, 22, .26) 45%, rgba(10, 13, 22, 0) 100%); transition: opacity .35s; }
.hdr.is-scrolled { background: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hdr.is-scrolled::before, .menu-open .hdr::before { opacity: 0; }
.hdr:not(.is-scrolled) .nav a, .hdr:not(.is-scrolled) .hdr__tel, .hdr:not(.is-scrolled) .hdr__menu { text-shadow: 0 1px 14px rgba(10, 13, 22, .45); }
.hdr:not(.is-scrolled) .brand img { filter: drop-shadow(0 1px 10px rgba(10, 13, 22, .35)); }
.hdr.is-away { transform: translateY(-101%); }
.hdr__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); }
.hdr__l, .hdr__r { display: flex; align-items: center; }
.hdr__l { gap: clamp(32px, 3.6vw, 56px); }
.hdr__r { gap: clamp(18px, 1.8vw, 28px); }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: clamp(20px, 2.2vw, 36px); }
.nav a { position: relative; font-size: 16px; font-weight: 520; font-stretch: 104%; text-decoration: none; padding: 6px 0; color: rgba(255, 255, 255, .86); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--e-out); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr__tel { font-size: 16px; font-weight: 600; font-stretch: 104%; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr__tel:hover { color: var(--blue); }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 2px 0 6px; border: 0; background: none; cursor: pointer; color: #fff; font-weight: 600; font-size: 16px; font-stretch: 104%; }
.hdr__menu i { position: relative; display: block; width: 22px; height: 12px; }
.hdr__menu i::before, .hdr__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--e-io), top .35s var(--e-io); }
.hdr__menu i::before { top: 0; }
.hdr__menu i::after { top: 10px; }
.menu-open .hdr__menu i::before { top: 5px; transform: rotate(45deg); }
.menu-open .hdr__menu i::after { top: 5px; transform: rotate(-45deg); }
.hdr__call { display: none; }
@media (max-width: 1180px) { .hdr__tel { display: none; } }
@media (max-width: 1023px) {
  .nav, .hdr__r .btn { display: none; }
  .hdr__menu { display: inline-flex; }
  .brand img { width: 118px; }
  .hdr__call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; }
  .hdr__call svg { width: 21px; height: 21px; }
  .menu-open .hdr { background: var(--ink); transform: none; }
}

/* phone menu: a full-screen sheet on the logo's ground */
.sheet { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hh) + 28px) var(--pad) max(28px, env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transition: opacity .35s var(--e-out), visibility 0s .35s; overflow-y: auto; overscroll-behavior: contain; }
.menu-open .sheet { visibility: visible; opacity: 1; transition: opacity .35s var(--e-out); }
.sheet__nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 32px; line-height: 1.15; font-weight: 600; font-stretch: 110%; letter-spacing: -.02em; text-decoration: none; transform: translateY(14px); opacity: 0; transition: transform .5s var(--e-out), opacity .4s; }
.sheet__nav a[aria-current="page"] { color: var(--blue); }
.sheet__nav .arr { width: 22px; height: 22px; flex: none; opacity: .6; }
.menu-open .sheet__nav a { transform: none; opacity: 1; }
.menu-open .sheet__nav li:nth-child(2) a { transition-delay: .04s; }
.menu-open .sheet__nav li:nth-child(3) a { transition-delay: .08s; }
.menu-open .sheet__nav li:nth-child(4) a { transition-delay: .12s; }
.menu-open .sheet__nav li:nth-child(5) a { transition-delay: .16s; }
.sheet__foot { display: grid; gap: 12px; padding-top: 32px; }
.sheet__foot .btn { width: 100%; height: 56px; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet__row a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 1.5px solid var(--line-d); color: #fff; text-decoration: none; font-weight: 600; font-stretch: 104%; }
.sheet__row svg { width: 19px; height: 19px; }
.sheet__area { font-size: 15px; color: var(--muted-d); text-align: center; margin-top: 4px; }
@media (min-width: 1024px) { .sheet { display: none; } }

/* ───────────── loader ───────────── */
.ld { display: none; }
.js .ld { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; animation: ld-fail .01s linear 4s forwards; }
.js .ld.ld--live { animation: ld-fail .01s linear 7s forwards; }
@keyframes ld-fail { to { visibility: hidden; opacity: 0; } }
.ld__panel { position: absolute; inset: 0; background: var(--ink); pointer-events: auto; }
.ld__mark { position: absolute; left: 50%; top: 50%; width: clamp(220px, 26vw, 380px); transform: translate(-50%, -50%); transform-origin: 0 0; }
.ld__logo { position: relative; width: 100%; aspect-ratio: 892 / 330; }
.ld__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld__line { position: absolute; left: 0; right: 0; top: calc(100% + clamp(22px, 2.6vw, 36px)); height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ld__line i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--e-out); box-shadow: 0 0 10px rgba(21, 171, 244, .9); }

/* full sequence (first view of the session) */
.ld-full .ld .ld__plug { -webkit-mask: conic-gradient(from 200deg at 7.57% 81.36%, #000 var(--sweep), transparent var(--sweep)); mask: conic-gradient(from 200deg at 7.57% 81.36%, #000 var(--sweep), transparent var(--sweep)); transform-origin: 7.57% 81.36%; animation: ld-plug .7s var(--e-out) .05s both; }
@keyframes ld-plug { from { --sweep: 0deg; transform: rotate(-26deg); } to { --sweep: 360deg; transform: none; } }
.ld-full .ld .ld__fev { clip-path: polygon(-20% 0, -0.4% 0, -16% 100%, -20% 100%); animation: ld-fev .62s var(--e-io) .2s both; }
@keyframes ld-fev { to { clip-path: polygon(-20% 0, 116% 0, 100% 100%, -20% 100%); } }
.ld-full .ld .ld__stripes { animation: ld-stripes .46s var(--e-out) .86s both; }
@keyframes ld-stripes { 0% { transform: translateX(46%); filter: blur(5px); opacity: 0; } 1% { opacity: 0; } 30% { opacity: 1; } 100% { transform: none; filter: blur(0); opacity: 1; } }
.ld-full .ld .ld__ghost { opacity: 0; animation: ld-ghost .46s var(--e-out) .86s both; }
.ld-full .ld .ld__ghost--2 { animation-duration: .4s; animation-delay: .88s; }
@keyframes ld-ghost { 0% { transform: translateX(70%) scaleX(1.6); opacity: 0; filter: blur(7px); } 6% { opacity: .55; } 100% { transform: translateX(0) scaleX(1); opacity: 0; filter: blur(2px); } }
.ld-full .ld .ld__word { clip-path: inset(0 81.7% 0 0); animation: ld-word .55s var(--e-io) 1s both; }
@keyframes ld-word { from { clip-path: inset(0 81.7% 0 0); transform: translateX(-1.2%); } to { clip-path: inset(0 0 0 0); transform: none; } }
.ld__ghost { display: none; }
.ld-full .ld .ld__ghost { display: block; }
/* the stripes flash once, like a light coming on */
.ld.is-flash .ld__stripes { animation: ld-flash .42s ease-out both; }
@keyframes ld-flash { 0% { filter: brightness(1); } 35% { filter: brightness(1.9) drop-shadow(0 0 14px rgba(21, 171, 244, .95)); } 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(21, 171, 244, 0)); } }
.ld.is-flash .ld__line i { box-shadow: 0 0 22px 2px rgba(21, 171, 244, 1); }
/* lift */
.ld.is-lift .ld__panel { clip-path: inset(0 0 100% 0); transition: clip-path .82s var(--e-io); }
.ld__panel { clip-path: inset(0 0 0 0); }
.ld.is-lift .ld__line { opacity: 0; transition: opacity .25s; }
.ld.is-lift .ld__mark { transition: transform .82s var(--e-io); }
.ld.is-fade { opacity: 0; transition: opacity .3s var(--e-out); }
.ld.is-lift-short .ld__panel { clip-path: inset(0 0 100% 0); transition: clip-path .46s var(--e-io); }
.ld.is-lift-short .ld__mark { opacity: 0; transform: translate(-50%, calc(-50% - 28px)); transition: opacity .3s, transform .46s var(--e-io); }
.ld.is-lift-short .ld__line { opacity: 0; transition: opacity .2s; }
html.ld-lock, html.ld-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .ld-full .ld .ld__plug, .ld-full .ld .ld__fev, .ld-full .ld .ld__stripes, .ld-full .ld .ld__word { animation: none !important; clip-path: none !important; -webkit-mask: none !important; mask: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
  .ld-full .ld .ld__ghost { display: none; }
  .ld.is-lift .ld__panel, .ld.is-lift .ld__mark { transition: none; }
}

/* ───────────── hero ───────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: #fff; background: #c9ccce; isolation: isolate; }
.hero__pic { position: absolute; inset: 0; z-index: -2; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 56% 46%; }
.js .hero__pic img { transform: scale(1.06); }
.is-revealed .hero__pic img { transform: none; transition: transform 2.6s cubic-bezier(.16, 1, .3, 1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 36% 38% at 23% 72%, rgba(10, 13, 22, .55) 0%, rgba(10, 13, 22, .5) 58%, rgba(10, 13, 22, .2) 82%, rgba(10, 13, 22, 0) 100%),
    linear-gradient(0deg, rgba(10, 13, 22, .3) 0%, rgba(10, 13, 22, 0) 20%); }
.hero__in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hh) + 32px); padding-bottom: clamp(28px, 3.4vh, 44px); }
.hero__txt { max-width: 900px; }
.js .hero__txt { transform: translateY(34px); }
.is-revealed .hero__txt { transform: none; transition: transform 1.25s var(--e-out) .08s; }
.hero h1 { max-width: 11.6em; width: fit-content; font-size: clamp(40px, 3.9vw, 60px); text-wrap: balance; text-shadow: 0 2px 28px rgba(10, 13, 22, .45), 0 1px 3px rgba(10, 13, 22, .25); }
.hero__lead { margin-top: clamp(14px, 1.8vh, 22px); max-width: 25em; width: fit-content; font-size: clamp(18px, 2.4vw, 24px) !important; line-height: 1.42; text-shadow: 0 1px 16px rgba(10, 13, 22, .6), 0 1px 2px rgba(10, 13, 22, .3); color: rgba(255, 255, 255, .93); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(22px, 3.2vh, 34px); }
.hero__tel { text-shadow: 0 1px 14px rgba(10, 13, 22, .55); font-size: 19px; font-weight: 700; font-stretch: 104%; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero__tel span { color: #fff; font-weight: 700; margin-right: 6px; }
.hero__tel:hover { color: var(--blue); }
.hero__facts { width: fit-content; text-shadow: 0 1px 12px rgba(10, 13, 22, .6); display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(26px, 4.2vh, 52px); padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .26); font-size: 15px; line-height: 1.35; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero__facts li { padding-right: clamp(20px, 2.6vw, 40px); margin-right: clamp(20px, 2.6vw, 40px); border-right: 1px solid rgba(255, 255, 255, .26); }
.hero__facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts b { font-weight: 650; color: #fff; }
@media (max-height: 760px) and (min-width: 1024px) { .hero h1 { font-size: clamp(40px, 4.1vw, 62px); } .hero__facts { margin-top: 24px; } }

/* ───────────── the circuits: services as a consumer unit, the whole screen ───────────── */
.circ { position: relative; background: var(--ink); color: #fff; min-height: 100vh; min-height: 100svh; padding: clamp(28px, 3.4vw, 48px) 0 clamp(56px, 6vw, 88px); overflow: hidden; display: flex; flex-direction: column; }
.circ > .wrap { flex: 1; display: flex; flex-direction: column; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 0; padding-bottom: 18px; margin-bottom: clamp(36px, 4.4vw, 64px); border-bottom: 1px solid var(--line-d); font-size: 15px; line-height: 1.35; color: var(--muted-d); }
.facts li { padding-right: clamp(18px, 2.4vw, 36px); margin-right: clamp(18px, 2.4vw, 36px); border-right: 1px solid var(--line-d); }
.facts li:last-child { border: 0; margin: 0; padding: 0; }
.facts b { color: #fff; font-weight: 600; }
.circ__grid { --pw: min(calc(70svh * .75), 33vw, 520px); flex: 1; display: grid; grid-template-columns: auto var(--pw); grid-template-rows: auto auto 1fr; grid-template-areas: "head photo" "board photo" "text photo"; justify-content: space-between; column-gap: clamp(40px, 4vw, 72px); align-items: start; }
.circ__head { grid-area: head; max-width: 100%; margin-bottom: clamp(24px, 3vw, 40px); }
.circ__head h2 { font-size: clamp(30px, 2.9vw, 46px); max-width: 17em; }
.circ__head p { margin-top: 12px; color: var(--muted-d); }

.cu {
  grid-area: board;
  --mw: clamp(46px, 4.9vw, 76px);
  --dh: calc(var(--mw) * 2.25);
  --rg: 0px;
  --lh: 52px;
  position: relative; width: max-content; padding: 16px 22px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16px 16px, #c3c7cb 0 3px, rgba(195, 199, 203, 0) 4px),
    radial-gradient(circle at calc(100% - 16px) 16px, #c3c7cb 0 3px, rgba(195, 199, 203, 0) 4px),
    radial-gradient(circle at 16px calc(100% - 16px), #c3c7cb 0 3px, rgba(195, 199, 203, 0) 4px),
    radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), #c3c7cb 0 3px, rgba(195, 199, 203, 0) 4px),
    linear-gradient(180deg, #fbfbfa 0%, #f0f1f0 45%, #e3e5e5 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(0, 0, 0, .07), inset 1px 0 0 rgba(255, 255, 255, .7), 0 60px 110px -40px rgba(0, 0, 0, .95), 0 22px 46px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
}
.cu__top { display: flex; align-items: center; justify-content: space-between; height: 54px; margin: 0 16px 12px; }
.cu__label { width: 112px; height: auto; }
.cu__rail {
  --rowh: calc(var(--dh) + 16px + 10px + var(--lh));
  display: grid; grid-template-columns: calc(var(--mw) * 2) repeat(8, var(--mw)); row-gap: var(--rg);
  padding: 0 8px;
  background: linear-gradient(180deg,
      #0f1216 0, #22262d 12px, #262a31 calc(var(--dh) + 8px), #1d2026 calc(var(--dh) + 16px),
      transparent calc(var(--dh) + 16px), transparent calc(var(--dh) + 26px),
      #c9cdd1 calc(var(--dh) + 26px), #fdfdfb calc(var(--dh) + 27.5px), #fdfdfb calc(var(--dh) + 25px + var(--lh)), #d9dcdf calc(var(--dh) + 25px + var(--lh)), #d9dcdf calc(var(--dh) + 26px + var(--lh)),
      transparent calc(var(--dh) + 26px + var(--lh))) 0 0 / 100% calc(var(--rowh) + var(--rg)) repeat-y;
  border-radius: 4px;
}
.cb, .cu__main { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 8px 1px 0; }
.cb { border: 0; margin: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cb__dev, .cu__dev { position: relative; display: block; height: var(--dh); border-radius: 3px;
  background: linear-gradient(90deg, #c4c8cb 0%, #e9ebeb 6%, #f8f8f7 20%, #fff 50%, #f6f7f6 80%, #e4e6e6 94%, #c2c6c9 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .14), 0 1px 1px rgba(0, 0, 0, .35); }
.cb__dev::before, .cb__dev::after, .cu__dev::before, .cu__dev::after { content: ""; position: absolute; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
  background: linear-gradient(-35deg, rgba(255, 255, 255, 0) 42%, rgba(70, 75, 82, .5) 43% 57%, rgba(255, 255, 255, 0) 58%), radial-gradient(circle at 38% 32%, #fbfbfb, #cdd1d4 60%, #a3a8ae);
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25), 0 1px 0 rgba(255, 255, 255, .9); }
.cu__dev::before { left: 30%; } .cu__dev::after { left: 70%; }
.cb__dev::before, .cu__dev::before { top: 10px; }
.cb__dev::after, .cu__dev::after { bottom: 10px; }
.cb__face { position: absolute; left: 5px; right: 5px; top: 30px; bottom: 30px; border-radius: 5px; background: linear-gradient(180deg, #fff 0%, #f3f4f3 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 5px 9px -3px rgba(0, 0, 0, .24), inset 0 1px 0 #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%; }
.cb__ind { display: block; width: 46%; height: 7px; border-radius: 1px; background: #474d56; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .7); transition: background-color .18s, box-shadow .35s; }
.cb__slot { position: relative; display: block; width: 58%; height: 50%; border-radius: 6px; background: linear-gradient(180deg, #121519, #2a2f37); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 1px 0 #fff; }
.cb__lev { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 46%; border-radius: 5px 5px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0 1px, rgba(255, 255, 255, 0) 1px), repeating-linear-gradient(180deg, rgba(255, 255, 255, .07) 0 1.5px, transparent 1.5px 3.5px), linear-gradient(180deg, #59606a, #2a2e35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 5px rgba(0, 0, 0, .55);
  transition: transform .3s var(--e-io); }
.cb[aria-pressed="true"] .cb__lev { transform: translateY(calc(-117% + 1px)); }
.cb[aria-pressed="true"] .cb__ind { background: var(--blue); box-shadow: 0 0 14px 2px rgba(21, 171, 244, .85), inset 0 0 1px rgba(255, 255, 255, .7); }
.cb:not([aria-pressed="true"]):hover .cb__lev { transform: translateY(-10%); }
.cb__lbl, .cu__lbl { display: flex; align-items: center; justify-content: center; height: var(--lh); margin-top: 18px; padding: 0 3px; text-align: center; font-size: 15px; line-height: 1.08; font-weight: 600; font-stretch: 74%; letter-spacing: .005em; color: #3a414c; transition: color .2s; }
.cb[aria-pressed="true"] .cb__lbl { color: var(--ink); background: linear-gradient(var(--blue), var(--blue)) 50% calc(100% - 6px) / 52% 2px no-repeat; }
.cb:focus-visible { outline: none; }
.cb:focus-visible .cb__dev { outline: 2px solid var(--blue); outline-offset: 3px; }
.cu__main { grid-column: 1; }
.cu__main .cu__face { position: absolute; left: 7px; right: 7px; top: 30px; bottom: 30px; border-radius: 5px; background: linear-gradient(180deg, #fff, #f1f2f1); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 5px 9px -3px rgba(0, 0, 0, .24); display: flex; align-items: center; justify-content: center; }
.cu__main .cb__slot { width: 66%; height: 54%; }
.cu__main .cb__lev { height: 44%; transform: translateY(calc(-118% + 1px)); }
.cu__lbl { color: #6b717b; font-weight: 560; }

/* the selected circuit: a large photo beside the board, its name and two lines under the board */
.cp-list { grid-column: 1 / -1; display: grid; gap: 40px; }
.cp { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 3.4vw, 56px); align-items: center; }
.cp__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); }
.cp__ph img { width: 100%; height: 100%; object-fit: cover; }
.cp__txt h3 { font-size: clamp(24px, 2vw, 32px); margin-bottom: 10px; }
.cp__txt p { color: var(--muted-d); max-width: 36em; }
.cp__txt .lnk { margin-top: 18px; color: #fff; }
.cp__txt .lnk:hover { color: var(--blue); }
.js .cp-list, .js .cp { display: contents; }
.js .cp__ph { grid-area: photo; width: 100%; align-self: start; opacity: 0; visibility: hidden; transition: opacity .45s var(--e-out), visibility 0s .45s; }
.js .cp__txt { grid-area: text; padding-top: clamp(24px, 2.6vw, 36px); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--e-out), transform .3s var(--e-out), visibility 0s .3s; }
.js .cp.is-on .cp__ph, .js .cp.is-on .cp__txt { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--e-out) .05s, transform .6s var(--e-out) .05s; }
.js .cp .cp__ph img { transform: scale(1.035); transition: transform 1.1s var(--e-out); }
.js .cp.is-on .cp__ph img { transform: none; }
@media (max-width: 1180px) {
  .circ { min-height: 0; }
  .circ__grid { grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head head" "board board" "photo text"; justify-content: stretch; align-items: center; row-gap: 32px; }
  .cu { justify-self: start; --mw: clamp(46px, 6.6vw, 70px); }
  .js .cp__txt { padding-top: 0; }
}
@media (max-width: 759px) {
  .facts { display: none; }
  .circ { padding-top: 56px; }
  .circ__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "board" "photo" "text"; row-gap: 22px; }
  .circ__head { margin-bottom: 8px; }
  .cu { --mw: calc((100vw - 2 * var(--pad) - 24px - 16px) / 4); --dh: calc(var(--mw) * 1.8); --rg: 14px; --lh: 48px; justify-self: stretch; width: auto; padding: 12px 12px 16px; border-radius: 14px; }
  .cu__top { height: 40px; margin: 0 6px 10px; }
  .cu__label { width: 86px; }
  .cu__rail { grid-template-columns: repeat(4, var(--mw)); }
  .cu__main { display: none; }
  .cb__face { top: 26px; bottom: 26px; }
  .cb__dev::before { top: 8px; } .cb__dev::after { bottom: 8px; }
  .cb__lbl { font-size: 14px; font-stretch: 78%; margin-top: 18px; }
  .cp { grid-template-columns: 1fr; gap: 22px; }
  .cp__ph { aspect-ratio: 4 / 5; }
}

/* ───────────── flagship job: the kitchen rewire ───────────── */
.job { padding: var(--sec) 0 calc(var(--sec) * .85); background: #fff; overflow: hidden; }
.job__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 4.6vw, 64px); }
.job__head p { margin-top: 18px; color: var(--muted); max-width: 30em; }
.job__head .lnk { margin-top: 24px; }
.sheet-t { display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 2px solid var(--ink); }
.sheet-t dt, .sheet-t dd { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.sheet-t dt { padding-right: 36px; font-weight: 620; font-stretch: 104%; }
.sheet-t dd { color: #2a303c; }
.sheet-t dd ul { display: grid; gap: 4px; }
.sheet-t dd li { position: relative; padding-left: 18px; }
.sheet-t dd li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 2px; background: var(--blue); }

.strip { position: relative; }
.strip__track { display: flex; gap: clamp(14px, 1.4vw, 22px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.strip__i { flex: none; width: calc(var(--sh) * .75); }
.strip { --sh: min(470px, calc(100svh - 230px)); }
.strip__i .fr { height: var(--sh); overflow: hidden; background: var(--paper); }
.strip__i .fr img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out); }
.strip__i:hover .fr img { transform: scale(1.03); }
.strip__i figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.strip__i figcaption b { color: var(--ink); font-weight: 600; }
.strip:not(.is-drift) { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip:not(.is-drift)::-webkit-scrollbar { display: none; }
.strip:not(.is-drift) .strip__i { scroll-snap-align: start; scroll-margin-left: var(--pad); }
.strip.is-drift .strip__track { transform: translate3d(var(--dx, 0px), 0, 0); }
@media (min-width: 1500px) { .strip__track { padding-left: calc((100vw - var(--max)) / 2 + var(--pad)); } }
@media (max-width: 900px) { .job__head { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .strip { --sh: min(400px, 112vw); } .strip__i { width: min(78vw, calc(var(--sh) * .75)); } }

/* kitchen triptych: three whole portraits, edge to edge */
.job__tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); padding: 0 var(--pad); max-width: calc((100svh - 150px) * .75 * 3 + 32px + 2 * var(--pad)); margin: 0 auto; }
.job__tri figure { margin: 0; }
.job__tri .fr { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.job__tri img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.job__tri figure:hover img { transform: scale(1.025); }
.job__tri figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.job__tri figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 759px) {
  .job__tri { display: flex; gap: 12px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 var(--pad); scroll-padding-left: var(--pad); }
  .job__tri::-webkit-scrollbar { display: none; }
  .job__tri figure { flex: none; width: 80vw; scroll-snap-align: start; }
}
.job__bleed { margin: 0; }
.job__bleed .fr { height: min(80svh, 50vw); overflow: hidden; background: var(--paper); }
.job__bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.job__bleed figcaption, .job__pair figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.job__bleed figcaption b, .job__pair figcaption b { color: var(--ink); font-weight: 600; }
.job__pair { display: flex; justify-content: center; gap: clamp(16px, 1.6vw, 24px); margin-top: clamp(40px, 4.4vw, 72px); }
.job__pair figure { width: min(calc(50% - 12px), calc((100svh - 150px) * .75)); }
.job__pair .fr { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.job__pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.job__pair figure:hover img { transform: scale(1.025); }
@media (max-width: 759px) { .job__bleed .fr { height: 78vw; } .job__pair { flex-direction: column; gap: 28px; margin-top: 32px; } .job__pair figure { width: 100%; } }

/* ───────────── switch it on: before and after ───────────── */
.sw { background: var(--wall); padding: var(--sec) 0; overflow: hidden; }
.sw__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px clamp(40px, 5vw, 88px); align-items: center; }
.sw__copy h2 { max-width: 13em; text-wrap: balance; }
.sw__copy > p { margin-top: 18px; color: var(--muted); max-width: 26em; }
.sw__ctl { display: flex; align-items: center; gap: clamp(28px, 3vw, 48px); margin-top: clamp(32px, 4vw, 52px); }
/* the switch: a UK white rocker plate */
.plate { --s: clamp(170px, 14vw, 224px); flex: none; position: relative; width: var(--s); height: var(--s); border: 0; padding: 0; cursor: pointer; border-radius: 12px; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f5 45%, #ecedeb 100%);
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(0, 0, 0, .05) inset, 0 2px 2px rgba(20, 24, 32, .1), 0 14px 26px -10px rgba(20, 24, 32, .35), 0 34px 60px -30px rgba(20, 24, 32, .45); }
.plate::before, .plate::after { content: ""; position: absolute; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #e9eae8 60%, #d6d8d6); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .14), 0 1px 0 #fff; }
.plate::before { left: 12%; } .plate::after { right: 12%; }
.plate__rk { position: absolute; left: 50%; top: 50%; width: 31%; height: 54%; transform: translate(-50%, -50%); border-radius: 5px; overflow: hidden; background: #f3f3f1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), inset 0 0 0 1px rgba(255, 255, 255, .8), 0 2px 3px rgba(0, 0, 0, .1); }
.plate__rk i { position: absolute; left: 0; right: 0; height: 50%; transition: background .22s var(--e-io), box-shadow .22s; }
.plate__rk i:first-child { top: 0; background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .04); }
.plate__rk i:last-child { bottom: 0; background: linear-gradient(180deg, #dcdedb 0%, #eeefec 40%, #f5f5f3 100%); box-shadow: inset 0 3px 4px -2px rgba(0, 0, 0, .18); }
.plate[aria-checked="true"] .plate__rk i:first-child { background: linear-gradient(0deg, #dcdedb 0%, #eeefec 40%, #f5f5f3 100%); box-shadow: inset 0 -3px 4px -2px rgba(0, 0, 0, .18); }
.plate[aria-checked="true"] .plate__rk i:last-child { background: linear-gradient(0deg, #ffffff 0%, #fbfbfa 100%); box-shadow: none; }
.plate__led { position: absolute; left: 50%; bottom: 10%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #c9ccc9; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .25); transition: background .2s, box-shadow .3s; }
.plate[aria-checked="true"] .plate__led { background: var(--blue); box-shadow: 0 0 8px 1px rgba(21, 171, 244, .9); }
.plate:active .plate__rk { transform: translate(-50%, -50%) scale(.985); }
.sw__nav { display: grid; gap: 20px; min-width: 0; }
.sw__room b { display: block; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; font-weight: 620; font-stretch: 106%; color: var(--ink); }
.sw__room span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.4; color: var(--muted); }
.sw__pager { display: flex; align-items: center; gap: 14px; }
.sw__arr { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1.5px solid rgba(10, 13, 22, .28); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.sw__arr svg { width: 18px; height: 18px; }
.sw__arr:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sw__count { min-width: 52px; text-align: center; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw__count b { color: var(--ink); font-weight: 650; }
.sw__stage { --sh: min(480px, calc(100svh - 190px), 34vw); }
.sw__frames { display: grid; justify-items: center; }
.ba { grid-area: 1 / 1; position: relative; height: var(--sh); aspect-ratio: var(--r); overflow: hidden; background: #cfd3d8; box-shadow: 0 30px 60px -36px rgba(10, 13, 22, .55); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { opacity: 0; transition: opacity .55s var(--e-out), filter 1.1s var(--e-out); filter: brightness(1.22) saturate(1.05); }
.is-on .ba__after { opacity: 1; filter: none; }
.js .ba { opacity: 0; visibility: hidden; transition: opacity .4s var(--e-out), visibility 0s .4s; }
.js .ba.is-cur { opacity: 1; visibility: visible; transition: opacity .45s var(--e-out); }
.sw__cap { display: flex; justify-content: center; gap: 16px; margin: 14px auto 0; max-width: calc(var(--sh) * 4 / 3); font-size: 15px; line-height: 1.4; color: var(--muted); }
.sw__cap b { color: var(--ink); font-weight: 620; }
.sw__state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sw__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9bec6; transition: background .2s, box-shadow .3s; }
.sw__state.is-on::before { background: var(--blue); box-shadow: 0 0 8px rgba(21, 171, 244, .8); }
html:not(.js) .ba { height: auto; width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: none; box-shadow: none; }
html:not(.js) .ba img { position: static; opacity: 1; filter: none; aspect-ratio: var(--r); }
html:not(.js) .sw__frames { gap: 16px; }
html:not(.js) .plate, html:not(.js) .sw__nav, html:not(.js) .sw__cap { display: none; }
@media (max-width: 1080px) {
  .sw__grid { grid-template-columns: 1fr; }
  .sw__frames { justify-items: start; }
}
@media (max-width: 759px) {
  .sw__ctl { gap: 20px; align-items: center; }
  .plate { --s: 136px; }
  .sw__room span { font-size: 15px; }
  .sw__stage { --sh: auto; }
  .ba { width: 100%; height: auto; }
  .sw__cap { flex-direction: column; gap: 4px; }
}

/* ───────────── after dark ───────────── */
.dark { background: var(--ink); color: #fff; padding: var(--sec) 0; overflow: hidden; }
.dark__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.dark__head p { color: var(--muted-d); max-width: 31em; }
.dark__head .lnk { margin-top: 20px; color: #fff; }
.dark__head .lnk:hover { color: var(--blue); }
.sky { display: flex; align-items: flex-start; gap: clamp(16px, 1.6vw, 24px); }
.sky__i { flex: var(--r) 1 0; min-width: 0; }
.sky__i .fr { aspect-ratio: var(--r); overflow: hidden; background: var(--ink-3); }
.sky__i .fr img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out), filter .6s; }
.sky__i:hover .fr img { transform: scale(1.035); filter: brightness(1.08); }
.sky__i figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sky__i figcaption b { color: #fff; font-weight: 600; }
.sky__note { margin-left: auto; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; max-width: 250px; padding-bottom: 34px; font-size: 15px; color: var(--muted-d); }
@media (max-width: 1100px) {
  .dark__head { grid-template-columns: 1fr; }
  .sky { --H: 330px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .sky__i { flex: none; width: calc(var(--H) * var(--r)); }
  .sky::-webkit-scrollbar { display: none; }
  .sky__i { scroll-snap-align: start; scroll-margin-left: var(--pad); }
}
@media (max-width: 759px) { .sky { --H: 300px; } }

/* ───────────── proof ───────────── */
.proof { padding: var(--sec) 0 calc(var(--sec) * .8); background: #fff; }
.proof__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.proof__board .fr { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.proof__board img { width: 100%; height: 100%; object-fit: cover; }
.proof__board figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.proof__board figcaption b { color: var(--ink); font-weight: 600; }
.q { padding: 28px 0 0; }
.q p { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.55; font-weight: 450; }
.q footer { margin-top: 12px; font-size: 15px; color: var(--muted); }
.q footer b { color: var(--ink); font-weight: 620; }
.q--lead { padding: 0 0 32px; }
.q--lead p { font-size: clamp(26px, 2.65vw, 42px); line-height: 1.28; font-weight: 470; letter-spacing: -.016em; font-stretch: 102%; }
.q--lead footer { margin-top: 20px; font-size: 16px; }
.proof__line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 17px; color: var(--muted); }
.proof__line b { color: var(--ink); font-weight: 650; }
.proof__line .lnk { margin-left: auto; color: var(--ink); font-size: 16px; }
.q-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 3.4vw, 56px); }
.proof__main--wide { max-width: 1060px; }
@media (max-width: 900px) { .proof__grid { grid-template-columns: 1fr; } .proof__board { max-width: 360px; } }
@media (max-width: 759px) { .q-pair { grid-template-columns: 1fr; } .proof:not(.proof--ab) .q-pair { display: none; } .proof__main { order: 1; } .proof__board { order: 2; } .proof__line .lnk { margin-left: 0; } }

/* ───────────── contact band and footer ───────────── */
.cta { background: var(--ink); color: #fff; padding: var(--sec) 0 clamp(56px, 6vw, 88px); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px clamp(40px, 6vw, 104px); align-items: end; }
.cta h2 { max-width: 11em; text-wrap: balance; }
.cta__grid > div > p { margin-top: 20px; color: var(--muted-d); max-width: 28em; }
.cta__grid > div > .btn { margin-top: 32px; }
.cta__list { border-top: 1px solid var(--line-d); }
.cta__list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; transition: color .2s, padding .35s var(--e-out); }
.cta__list span { font-size: 15px; color: var(--muted-d); }
.cta__list strong { font-size: clamp(20px, 1.8vw, 28px); font-weight: 560; font-stretch: 104%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cta__list .arr { width: 20px; height: 20px; transition: transform .35s var(--e-out); }
.cta__list a:hover { color: var(--blue); }
.cta__list a:hover .arr { transform: translateX(5px); }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .cta__list a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; } .cta__list span { grid-column: 1; } .cta__list strong { grid-column: 1; grid-row: 2; } .cta__list .arr { grid-row: 1 / 3; grid-column: 2; } }

.ftr { background: var(--ink); color: #fff; padding: 0 0 max(32px, env(safe-area-inset-bottom)); }
.ftr__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; padding-top: 36px; border-top: 1px solid var(--line-d); }
.ftr__logo img { width: 132px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.ftr__links a { text-decoration: none; color: rgba(255, 255, 255, .82); }
.ftr__links a:hover { color: var(--blue); }
.ftr__meta { font-size: 15px; color: var(--muted-d); text-align: right; line-height: 1.6; }
.ftr__meta a { text-decoration: none; color: #fff; }
.ftr__meta a:hover { color: var(--blue); }
@media (max-width: 900px) { .ftr__in { grid-template-columns: 1fr; } .ftr__meta { text-align: left; } }

/* ───────────── inner pages ───────────── */
.ph { background: var(--ink); color: #fff; padding: calc(var(--hh) + clamp(56px, 7vw, 104px)) 0 clamp(48px, 5.6vw, 84px); position: relative; overflow: hidden; }
.ph__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.ph h1 { max-width: 14em; text-wrap: balance; }
.ph p { color: var(--muted-d); max-width: 32em; }
.ph .crumb { display: flex; gap: 10px; font-size: 15px; color: var(--muted-d); margin-bottom: 26px; }
.ph .crumb a { color: #fff; text-decoration: none; }
.ph .crumb a:hover { color: var(--blue); }
@media (max-width: 900px) { .ph__grid { grid-template-columns: 1fr; } }

.idx { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-d); margin-top: clamp(40px, 5vw, 64px); }
.idx a { flex: 1 1 auto; min-width: 0; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; font-size: 16px; font-weight: 560; font-stretch: 104%; color: rgba(255, 255, 255, .86); display: flex; align-items: center; gap: 10px; transition: color .2s; }
.idx a::before { content: ""; width: 7px; height: 7px; flex: none; background: rgba(255, 255, 255, .3); transform: skewX(-22deg); transition: background .2s; }
.idx a:hover { color: #fff; }
.idx a:hover::before { background: var(--blue); }
@media (max-width: 759px) { .idx a { flex: 1 1 50%; min-width: 0; } }

.svc { padding: clamp(64px, 7.4vw, 112px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.svc:nth-of-type(even) { background: var(--paper); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px clamp(48px, 6vw, 112px); align-items: center; }
.svc:nth-of-type(odd) .svc__ph { order: -1; }
.svc__copy { max-width: 36em; }
.svc__copy h2 { margin-bottom: 20px; text-wrap: balance; }
.svc__copy > p { color: #2b313d; }
.svc__copy > p + p { margin-top: 14px; }
.svc__copy .said { margin-top: 24px; padding-left: 18px; border-left: 2px solid var(--blue); color: var(--muted); font-size: 17px; }
.svc__list { margin-top: 26px; border-top: 1px solid var(--line); }
.svc__list li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 17px; line-height: 1.45; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 1.08em; width: 9px; height: 2px; background: var(--blue); }
.svc__copy .btn, .svc__copy .lnk { margin-top: 30px; }
.svc__ph { --h: min(76svh, 700px, 52vw); }
.svc__ph figure { width: calc(var(--h) * .75); }
.svc__ph .fr { height: var(--h); overflow: hidden; background: #e2e5ea; }
.svc__ph .fr img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.svc__ph figure:hover img { transform: scale(1.025); }
.svc__ph figcaption { margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.svc__ph figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .svc__grid { grid-template-columns: 1fr; } .svc:nth-of-type(odd) .svc__ph { order: 0; } .svc__ph { --h: min(560px, 70vw); } }
@media (max-width: 759px) { .svc__ph figure { width: 100%; } .svc__ph .fr { height: auto; aspect-ratio: 4 / 5; } }

/* project page */
.pj-hero { background: var(--ink); padding: 0 0 clamp(56px, 6vw, 96px); }
.pj-hero .fr { max-width: 1000px; aspect-ratio: 4 / 3; overflow: hidden; }
.pj-hero .fr img { width: 100%; height: 100%; object-fit: cover; }
.pj-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); margin-top: clamp(36px, 4vw, 56px); }
.pj-facts div { padding: 18px 24px 4px 0; }
.pj-facts dt { font-size: 15px; color: var(--muted-d); margin-bottom: 6px; }
.pj-facts dd { font-size: 18px; font-weight: 560; font-stretch: 104%; line-height: 1.4; }
@media (max-width: 759px) { .pj-facts { grid-template-columns: 1fr; } .pj-facts div { border-bottom: 1px solid var(--line-d); padding: 14px 0; } }
.pj-scope { padding: var(--sec) 0; }
.pj-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.pj-row:first-of-type { border-top: 2px solid var(--ink); }
.pj-row h3 { margin-bottom: 12px; }
.pj-row p { color: #2b313d; max-width: 30em; }
.pj-row .fr { overflow: hidden; background: var(--paper); justify-self: end; width: min(100%, 420px); aspect-ratio: 3 / 4; }
.pj-row .fr img { width: 100%; height: 100%; object-fit: cover; }
.pj-row--txt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 800px) { .pj-row { grid-template-columns: 1fr; } .pj-row .fr { justify-self: start; } }
.pj-gal { padding: 0 0 var(--sec); }
.pj-gal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.pj-gal__grid figure .fr { overflow: hidden; background: var(--paper); }
.pj-gal__grid img { width: 100%; height: 100%; object-fit: cover; }
.pj-gal__grid figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.pj-next { background: var(--paper); padding: clamp(56px, 6vw, 88px) 0; }
.pj-next__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.quote-band { padding: var(--sec) 0; background: var(--wall); }
.quote-band blockquote { max-width: 980px; }
.quote-band blockquote p { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.32; font-weight: 480; letter-spacing: -.012em; font-stretch: 102%; }
.quote-band footer { margin-top: 20px; font-size: 16px; color: var(--muted); }
.quote-band footer b { color: var(--ink); }

.pj-open { background: var(--ink); color: #fff; padding: 0 0 clamp(56px, 6vw, 96px); }
.pj-open__row { display: flex; gap: 20px; align-items: flex-start; }
.pj-open figure { flex: var(--r) 1 0; min-width: 0; }
.pj-open .fr { aspect-ratio: var(--r); overflow: hidden; background: var(--ink-3); }
.pj-open .fr img { width: 100%; height: 100%; object-fit: cover; }
.pj-open figcaption { margin-top: 12px; font-size: 15px; color: var(--muted-d); }
.pj-open figcaption b { color: #fff; font-weight: 600; }
.ph--pj { padding-bottom: clamp(40px, 4.4vw, 64px); }
.pj-scope__h { margin-bottom: clamp(28px, 3vw, 44px); }
.pj-row--txt { align-items: start; }
.pj-row--txt .lnk { margin-top: 20px; }
@media (max-width: 759px) { .pj-open__row { flex-direction: column; } .pj-open figure { width: 100%; flex: none; } }
.pj-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(16px, 1.8vw, 28px); padding-top: clamp(28px, 3vw, 40px); border-top: 2px solid var(--ink); }
.pj-trio .fr { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); margin-bottom: 22px; }
.pj-trio .fr img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out); }
.pj-trio article:hover .fr img { transform: scale(1.03); }
.pj-trio h3 { margin-bottom: 10px; }
.pj-trio p { color: #2b313d; font-size: 17px; }
.pj-trio + .pj-row { margin-top: clamp(40px, 4vw, 64px); }
@media (max-width: 900px) { .pj-trio { grid-template-columns: 1fr; } .pj-trio .fr { aspect-ratio: 4 / 4.4; } }
/* projects index */
.pr { padding: clamp(64px, 7vw, 104px) 0; border-bottom: 1px solid var(--line); }
.pr:nth-of-type(even) { background: var(--paper); }
.pr__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.pr__head p { color: #2b313d; max-width: 32em; }
.pr__head .lnk { margin-top: 16px; }
.pr__row { display: flex; gap: 20px; align-items: flex-start; max-width: calc(var(--cap) * var(--sum) + (var(--n) - 1) * 20px); }
.pr__row figure { flex: var(--r) 1 0; min-width: 0; }
.pr__row .fr { display: block; aspect-ratio: var(--r); overflow: hidden; background: #e2e5ea; }
.pr__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e-out); }
.pr__row figure:hover img { transform: scale(1.03); }
.pr__row figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr__row figcaption b { color: var(--ink); font-weight: 600; }
.pr--lead { background: var(--ink) !important; color: #fff; }
.pr--lead p, .pr--lead figcaption { color: var(--muted-d) !important; }
.pr--lead figcaption b { color: #fff !important; }
@media (max-width: 900px) { .pr__head { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .pr__row { max-width: none; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scroll-snap-type: x mandatory; } .pr__row::-webkit-scrollbar { display: none; } .pr__row figure { flex: none; width: calc(300px * var(--r)); scroll-snap-align: start; scroll-margin-left: var(--pad); } }

/* about */
.ab { padding: var(--sec) 0; }
.ab__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 104px); align-items: start; }
.ab__copy p { color: #2b313d; }
.ab__copy p + p { margin-top: 16px; }
.ab__copy h2 { margin-bottom: 24px; }
.ab__copy .lnk, .label__copy .lnk { margin-top: 26px; }
.ab__ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: end; }
.ab__ph .fr { overflow: hidden; background: var(--paper); }
.ab__ph img { width: 100%; height: 100%; object-fit: cover; }
.ab__ph figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.ab__ph figcaption b { color: var(--ink); font-weight: 600; }
.label { background: var(--ink); color: #fff; padding: var(--sec) 0; overflow: hidden; }
.label__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px clamp(40px, 6vw, 104px); align-items: center; }
.label__copy p { color: var(--muted-d); max-width: 30em; margin-top: 18px; }
.label__ph { display: flex; gap: clamp(12px, 1.4vw, 20px); align-items: flex-end; }
.label__ph .fr { overflow: hidden; background: var(--ink-3); }
.label__ph img { width: 100%; height: 100%; object-fit: cover; }
.label__ph figcaption { margin-top: 10px; font-size: 15px; color: var(--muted-d); }
.label__ph figcaption b { color: #fff; font-weight: 600; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: clamp(48px, 6vw, 88px); }
.ways > div { padding: 24px 32px 8px 0; }
.ways > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.ways h3 { margin-bottom: 10px; }
.ways p { color: #2b313d; font-size: 17px; }
@media (max-width: 900px) { .ab__grid, .label__grid { grid-template-columns: 1fr; } .ways { grid-template-columns: 1fr; } .ways > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 759px) { .label__ph { flex-direction: column; align-items: stretch; } .label__ph figure { width: 100% !important; } .label__ph .fr { height: auto !important; aspect-ratio: 3 / 4; } }

/* contact: hairline fields on the page ground, labels above, a blue focus */
.ct { padding: clamp(56px, 6vw, 96px) 0 var(--sec); background: #fff; }
.ct__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.form { background: none; padding: 0; }
.form h2 { font-size: clamp(30px, 2.6vw, 42px); margin-bottom: 8px; }
.form .form__fields > p { color: var(--muted); margin-bottom: clamp(28px, 3vw, 40px); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 2.6vw, 40px); }
.f { position: relative; display: block; margin-bottom: clamp(26px, 2.6vw, 34px); }
.f > span { display: block; font-size: 15px; font-weight: 600; font-stretch: 104%; color: var(--ink); margin-bottom: 4px; }
.f > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.f input, .f textarea { width: 100%; font: inherit; font-size: 19px; line-height: 1.4; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid rgba(10, 13, 22, .26); border-radius: 0; padding: 10px 0 12px; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.f textarea { min-height: 128px; resize: vertical; }
.f input:hover, .f textarea:hover { border-bottom-color: rgba(10, 13, 22, .5); }
.f input:focus, .f textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1.5px 0 var(--blue); }
.f input::placeholder, .f textarea::placeholder { color: #8a909c; }
.f input:user-invalid, .f textarea:user-invalid { border-bottom-color: #d4473b; box-shadow: 0 1.5px 0 #d4473b; }
.drop { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 8px; padding: 16px 0; border-top: 1.5px solid rgba(10, 13, 22, .14); border-bottom: 1.5px solid rgba(10, 13, 22, .26); cursor: pointer; transition: border-color .25s; }
.drop:hover, .drop.is-over { border-bottom-color: var(--blue); }
.drop:focus-within { border-bottom-color: var(--blue); box-shadow: 0 1.5px 0 var(--blue); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px 0 22px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; font-stretch: 104%; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background-color .2s, color .2s; }
.drop:hover .drop__btn { background: var(--blue); color: var(--ink); }
.drop__txt { font-size: 15px; color: var(--muted); line-height: 1.4; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(8px, 1vw, 16px); }
.form__foot .btn { height: 64px; padding: 0 44px 0 46px; font-size: 19px; clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.form__foot p { font-size: 15px; color: var(--muted); max-width: 22em; }
.form__ok { display: none; }
.form.is-sent .form__fields { display: none; }
.form.is-sent .form__ok { display: block; }
.form__ok h2 { margin-bottom: 14px; }
.form__ok p { color: #2b313d; margin-bottom: 24px; max-width: 30em; }
.form__ok .btn { margin-right: 18px; }
.ct__side { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ct__side > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ct__side .k { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.ct__side a { text-decoration: none; }
.ct__side .v { font-size: clamp(20px, 1.7vw, 26px); font-weight: 560; font-stretch: 104%; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ct__side a.v:hover { color: var(--blue-d); }
.ct__side p { font-size: 17px; color: #2b313d; }
@media (max-width: 960px) { .ct__grid { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .f-row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ───────────── phone edit ───────────── */
@media (max-width: 759px) {
  :root { --sec: 60px; }
  body { font-size: 17px; }
  .m-hide { display: none !important; }
  .strip__i--wide { width: 86vw; } .strip__i--wide .fr { height: calc(86vw * .75); }
  h2, .h2 { font-size: clamp(29px, 8vw, 34px); }
  .hero { min-height: 560px; }
  .hero__pic img { object-position: 50% 50%; }
  .hero::before { background:
    radial-gradient(ellipse 95% 34% at 34% 74%, rgba(10, 13, 22, .45) 0%, rgba(10, 13, 22, .32) 52%, rgba(10, 13, 22, 0) 100%),
    linear-gradient(0deg, rgba(10, 13, 22, .32) 0%, rgba(10, 13, 22, 0) 22%); }
  .hero h1 { font-size: clamp(31px, 8.7vw, 36px); line-height: 1.06; font-stretch: 100%; letter-spacing: -.022em; }
  .hero__lead { font-size: 17px; }
  .hero__acts { gap: 14px 22px; }
  .hero__acts .btn { height: 52px; }
  .hero__facts { display: none; }
  .circ__head { margin-bottom: 32px; }
  .job__head { margin-bottom: 32px; }
  .dark__head { margin-bottom: 32px; }
  .ph h1 { font-size: clamp(29px, 8.2vw, 33px); font-stretch: 100%; letter-spacing: -.02em; }
  .q { padding: 22px 0; }
  .ftr__links { gap: 6px 20px; }
}
@media (max-width: 374px) { .hero h1 { font-size: 30px; } }

/* reduced motion: everything in place, no movement */
@media (prefers-reduced-motion: reduce) {
  .js .hero__pic img, .js .hero__txt, .is-revealed .hero__pic img, .is-revealed .hero__txt { transform: none !important; transition: none !important; }
  .cb__lev, .plate__rk i, .ba__after, .js .cp, .js .ba, .js .cp .cp__ph img, .strip__i .fr img, .sky__i .fr img { transition-duration: .01s !important; transition-delay: 0s !important; }
  .sheet__nav a { transform: none; transition: none; }
}

/* ───────────── visitor-path fixes (2026-11-18) ───────────── */
/* the loader plays once per visit: later pages open straight away */
html.ld-seen .ld { display: none !important; }

/* switch: the stage keeps one width, so pressing an arrow never moves the text beside it */
.sw__frames { width: calc(var(--sh) * 4 / 3); max-width: 100%; position: relative; }
.ba { cursor: pointer; }
.sw__stage { position: relative; }

@media (max-width: 759px) {
  /* board on the phone: the photo sits right above the breakers, both on one screen */
  .circ__grid { grid-template-areas: "head" "photo" "board"; row-gap: 14px; }
  .circ__head { margin-bottom: 4px; }
  .js .cp__ph { aspect-ratio: 16 / 10; }
  .js .cp__txt { grid-area: photo; align-self: end; z-index: 2; padding: 64px 16px 14px; transform: none !important; background: linear-gradient(180deg, rgba(10, 13, 22, 0), rgba(10, 13, 22, .82)); pointer-events: none; }
  .js .cp__txt h3 { font-size: 22px; margin-bottom: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
  .js .cp__txt p { display: none; }
  .js .cp__txt .lnk { margin-top: 6px; pointer-events: auto; font-size: 15px; }
  .cu { --dh: calc(var(--mw) * 1.22); --lh: 34px; --rg: 8px; padding: 10px 12px 12px; }
  .cu__top { height: 26px; margin: 0 6px 4px; }
  .cu__label { width: 62px; }
  .cb__face { top: 18px; bottom: 18px; }
  .cb__dev::before { top: 5px; } .cb__dev::after { bottom: 5px; }
  .cb__lbl { font-size: 13px; margin-top: 8px; }
  /* switch on the phone: one fixed 4:3 frame for every room, the ceiling (where the lights are) kept in view */
  .sw__frames { width: 100%; }
  .sw__stage .ba { aspect-ratio: 4 / 3; }
  .sw__stage .ba img { object-position: 50% 22%; }
  .sw__ctl { margin-top: 24px; }
  .sw__state { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 7px 12px 7px 10px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(10, 13, 22, .2); font-size: 14px; }
  .sw__cap { margin: 0; }
}

/* form: two ways to send, both reach Karl */
.form__foot .form__mailbtn { color: var(--ink); clip-path: none; padding: 0 30px; }
.form__foot .form__mailbtn:hover { color: #fff; background: var(--ink); }
.form__ok .lnk { margin-right: 24px; }
@media (max-width: 759px) { .form__foot .btn { width: 100%; justify-content: center; } }

/* gate 2026-11-18: phone tap targets on the contact side, project photos fit a 700 px laptop with their caption */
.ct__side a.v { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (min-width: 760px) { .pj-open__row { max-width: calc((100svh - 130px) * 2.0833 + 20px + 2 * var(--pad)); margin-inline: auto; } }

/* gate 2026-11-18 (2): the closed phone menu is not hidden text without JS; the board label is a logo, not a photo; tablet breaker labels fit */
html:not(.js) .sheet { display: none; opacity: 1; }
.cu__top { overflow: hidden; }
@media (min-width: 760px) and (max-width: 1180px) { .cb__lbl { font-size: 12px; letter-spacing: -.01em; } }

/* ───────────── board result as one unit on every screen (2026-11-18) ───────────── */
/* name, text and link sit on the photo, so pressing a breaker never leaves half the answer below the fold */
.js .cp__txt { grid-area: photo; align-self: end; z-index: 2; padding: 120px clamp(18px, 1.8vw, 28px) clamp(18px, 1.8vw, 26px); transform: none !important;
  background: linear-gradient(180deg, rgba(10, 13, 22, 0) 0%, rgba(10, 13, 22, .62) 38%, rgba(10, 13, 22, .9) 100%); pointer-events: none; }
.js .cp__txt h3 { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.js .cp__txt p { color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.5; }
.js .cp__txt .lnk { pointer-events: auto; margin-top: 12px; }
/* photo and its text share the bottom edge of the photo area */
.js .cp__ph { align-self: end; }
@media (min-width: 1181px) {
  .circ__grid { grid-template-rows: auto 1fr; grid-template-areas: "head photo" "board photo"; }
  .cu { align-self: start; }
  .js .cp__ph { max-height: calc(100svh - 120px); }
}
/* tablets and small laptops: the compact board on the left, the photo beside it */
@media (min-width: 760px) and (max-width: 1180px) {
  .circ__grid { --pw2: min(calc((100svh - 190px) * .8), calc(100vw - 2 * var(--pad) - 372px - 32px), 560px);
    grid-template-columns: auto var(--pw2); grid-template-rows: auto 1fr; grid-template-areas: "head head" "board photo"; justify-content: space-between; align-items: start; column-gap: 32px; row-gap: 20px; }
  .cu { --mw: 78px; --dh: calc(var(--mw) * 1.3); --rg: 8px; --lh: 36px; justify-self: start; width: auto; padding: 10px 12px 14px; border-radius: 14px; }
  .cu__top { height: 30px; margin: 0 6px 6px; }
  .cu__label { width: 70px; }
  .cu__rail { grid-template-columns: repeat(4, var(--mw)); }
  .cu__main { display: none; }
  .cb__face { top: 18px; bottom: 18px; }
  .cb__dev::before { top: 5px; } .cb__dev::after { bottom: 5px; }
  .cb__lbl { font-size: 13px; margin-top: 8px; letter-spacing: 0; }
  .js .cp__ph { aspect-ratio: 4 / 5; }
  .js .cp__txt { padding-top: 90px; }
  .js .cp__txt p { font-size: 15px; }
}

@media (max-width: 759px) {
  .js .cp__txt { padding: 56px 16px 14px; }
  .js .cp__txt .lnk { margin-top: 6px; }
}

/* switch on small laptops and landscape tablets: the photo beside the switch, not under it */
@media (min-width: 900px) and (max-width: 1080px) {
  .sw__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .sw__stage { --sh: min(400px, calc(100svh - 220px), 40vw); }
  .sw__frames { justify-items: center; }
  .sw__copy h2 { font-size: clamp(28px, 3.2vw, 38px); }
}

/* project captions wrap rather than clip */
.pr__row figcaption { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }

/* ═════════════ client changes 2026-11-19: ten circuits, solar, areas, contact, footer ═════════════ */

/* ten circuits on the board. Laptops: one long row like a real ten-way unit; the main switch only where it fits */
.cu__rail { grid-template-columns: calc(var(--mw) * 2) repeat(10, var(--mw)); }
@media (min-width: 1181px) {
  .cu { --avail: calc(min(100vw, var(--max)) - 2 * var(--pad) - var(--pw) - clamp(40px, 4vw, 72px) - 76px); --mw: clamp(40px, calc(var(--avail) / 12), 68px); }
  .cb__lbl { font-size: 14px; }
}
@media (min-width: 1181px) and (max-width: 1399px) {
  .cu { --mw: clamp(40px, calc(var(--avail) / 10), 68px); }
  .cu__main { display: none; }
  .cu__rail { grid-template-columns: repeat(10, var(--mw)); }
}
/* tablets and phones: two rows of five */
@media (min-width: 760px) and (max-width: 1180px) {
  .cu { --mw: 70px; }
  .cu__rail { grid-template-columns: repeat(5, var(--mw)); }
  .circ__grid { --pw2: min(calc((100svh - 190px) * .8), calc(100vw - 2 * var(--pad) - 374px - 32px), 560px); }
}
@media (max-width: 759px) {
  .cu { --mw: calc((100vw - 2 * var(--pad) - 24px - 16px) / 5); }
  .cu__rail { grid-template-columns: repeat(5, var(--mw)); }
  .cb__lbl { font-size: 12.5px; padding: 0 1px; }
}

/* a drawn solar array where no real solar photo exists yet */
.cp__ph--pv, .fr--pv { background: radial-gradient(ellipse 90% 60% at 30% 0%, #1b2d4d 0%, #0d1424 60%, var(--ink) 100%); }
.pv { width: 100%; height: 100%; display: block; }
.pv__frame { fill: #aeb7c3; }
.pv__cells rect { fill: url(#pv-g); }
.pv__sheen { opacity: 0; }
.cp.is-on .pv__sheen, .svc--sol .pv__sheen { animation: pv-sheen 2.6s var(--e-io) .35s both; }
@keyframes pv-sheen { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(1250px); } }
.fr--pv { position: relative; }

/* ── solar band on the home page ── */
.sol { background: var(--wall); padding: var(--sec) 0; overflow: hidden; }
.sol__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px clamp(40px, 5vw, 88px); align-items: center; }
.sol__copy h2 { max-width: 12em; text-wrap: balance; }
.sol__copy .lead { margin-top: 20px; color: var(--ink); max-width: 28em; }
.sol__copy .lead + p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.sol__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 32px; }
@media (max-width: 1000px) { .sol__grid { grid-template-columns: 1fr; } }

/* ── the diagram: panels, inverter, battery, board, home, charger ── */
.fl { position: relative; background: var(--ink); color: #fff; padding: clamp(16px, 1.8vw, 26px); border-radius: 16px; box-shadow: 0 40px 80px -48px rgba(10, 13, 22, .7); }
.fl__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(12px, 1.4vw, 18px); }
.fl__mode { display: inline-flex; border: 1.5px solid var(--line-d); }
.fl__mode button { height: 44px; padding: 0 20px; border: 0; background: none; color: rgba(255, 255, 255, .78); font-weight: 620; font-size: 15px; font-stretch: 104%; cursor: pointer; transition: background-color .25s, color .25s; }
.fl__mode button:hover { color: #fff; }
.fl__mode button[aria-pressed="true"] { background: var(--blue); color: var(--ink); }
.fl__art svg { width: 100%; height: auto; display: block; overflow: visible; }
.fl__art .fl__svg--tall { display: none; }
.fl__svg text { fill: #fff; font-size: 17px; font-weight: 560; font-stretch: 104%; letter-spacing: -.005em; }
.fl__box { fill: var(--ink-2); stroke: rgba(255, 255, 255, .13); stroke-width: 1.5; transition: stroke .4s; }
.fl__ic * { fill: none; stroke: rgba(255, 255, 255, .86); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl__ic .fl__lvl, .fl__ic .fl__win, .fl__ic .fl__scr { fill: var(--blue); stroke: none; }
.fl__lvl { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.88); transition: transform 1.4s var(--e-io); }
.is-eve .fl__lvl { transform: scaleY(.34); }
.fl__scr { transition: opacity .4s; }
.is-eve .fl__scr { opacity: .22; }
.fl__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 3; }
.fl__w { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 12; animation: fl-run .8s linear infinite; transition: opacity .4s; filter: drop-shadow(0 0 4px rgba(21, 171, 244, .7)); }
@keyframes fl-run { to { stroke-dashoffset: -15; } }
.is-eve .fl__w--pv, .is-eve .fl__w--ev { opacity: 0; }
.is-eve .fl__w--bat { animation-direction: reverse; }
.is-day .fl__n--pv .fl__box, .is-eve .fl__n--bat .fl__box { stroke: rgba(21, 171, 244, .75); }
.fl__sky * { stroke: rgba(255, 255, 255, .9); stroke-width: 2; stroke-linecap: round; fill: none; transition: opacity .5s; }
.fl__sun circle { fill: rgba(255, 255, 255, .12); }
.fl__moon { fill: rgba(255, 255, 255, .9) !important; stroke: none !important; }
.is-day .fl__moon, .is-eve .fl__sun { opacity: 0; }
.fl__skyl { font-size: 15px !important; fill: rgba(255, 255, 255, .7) !important; }
.is-day .fl__e, .is-eve .fl__d { display: none; }
.fl__cap { margin-top: clamp(10px, 1.2vw, 16px); min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--muted-d); }
@media (max-width: 759px) {
  .fl { border-radius: 12px; padding: 14px; }
  .fl__art .fl__svg--wide { display: none; }
  .fl__art .fl__svg--tall { display: block; }
  .fl__mode { width: 100%; }
  .fl__mode button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .fl__w { animation: none; stroke-dasharray: none; } .pv__sheen { animation: none !important; } }

/* ── switch: room name and Before / After labels sit on top of the photo ── */
.sw__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; width: calc(var(--sh) * 4 / 3); max-width: 100%; margin: 0 auto 14px; }
.sw__bar .sw__room { min-width: 0; }
.sw__seg { display: inline-flex; flex: none; border: 1.5px solid rgba(10, 13, 22, .3); }
.sw__seg button { height: 42px; padding: 0 18px; border: 0; background: transparent; color: var(--muted); font-weight: 620; font-size: 15px; font-stretch: 104%; cursor: pointer; transition: background-color .25s, color .25s; }
.sw__seg .sw__b[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sw__seg .sw__a[aria-pressed="true"] { background: var(--blue); color: var(--ink); }
.sw__hint { font-size: 17px; color: var(--muted); }
@media (max-width: 1080px) { .sw__bar { margin-left: 0; } }
@media (max-width: 759px) {
  .sw__bar { width: 100%; align-items: center; }
  .sw__bar .sw__room b { font-size: 19px; }
  .sw__bar .sw__room span { font-size: 14px; margin-top: 2px; }
  .sw__seg button { height: 40px; padding: 0 12px; font-size: 14px; }
  .sw__hint { display: none; }
}

/* ── reviews ── */
.proof__h { font-size: 20px; line-height: 1.2; font-weight: 640; letter-spacing: -.005em; color: var(--muted); margin-bottom: 20px; }
.proof__line p { margin: 0; }
.proof__line .lnk { margin-left: 0; }
.proof__line .lnk:first-of-type { margin-left: auto; }
@media (max-width: 759px) { .proof__line .lnk:first-of-type { margin-left: 0; } }

/* ── where we work + contact, end of the home page ── */
.reach { background: var(--ink); color: #fff; padding: var(--sec) 0 clamp(56px, 6vw, 96px); overflow: hidden; }
.reach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 104px); align-items: center; }
.reach h2 { font-size: clamp(30px, 3vw, 48px); max-width: 13em; text-wrap: balance; }
.reach__copy > p { margin: 18px 0 30px; color: var(--muted-d); max-width: 30em; }
.reach__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 32px; }
.reach__acts .lnk { color: #fff; }
@media (max-width: 900px) { .reach__grid { grid-template-columns: 1fr; } .reach__map { order: -1; } }

/* ── the map ── */
.mp { width: 100%; height: auto; display: block; overflow: visible; }
.mp__dots circle { fill: rgba(255, 255, 255, .13); }
.mp__reach { fill: rgba(21, 171, 244, .045); stroke: rgba(21, 171, 244, .4); stroke-width: 1.3; stroke-dasharray: 2 7; stroke-linecap: round; }
.mp__road { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.mp__rl { fill: rgba(255, 255, 255, .5); font-size: 13px; font-weight: 640; letter-spacing: .02em; }
.mp__t circle { fill: #fff; }
.mp__t .mp__halo { fill: rgba(255, 255, 255, .07); }
.mp__t text { fill: #fff; font-size: 19px; font-weight: 600; font-stretch: 106%; }
.mp__t--l text { font-size: 24px; }
.mp__base circle { fill: var(--blue); }
.mp__base .mp__core { fill: var(--ink); }
.mp__pulse { fill: rgba(21, 171, 244, .35) !important; transform-box: fill-box; transform-origin: 50% 50%; animation: mp-pulse 2.6s var(--e-out) infinite; }
@keyframes mp-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
.mp__base text { fill: var(--blue); font-size: 20px; font-weight: 650; font-stretch: 106%; }
.mp .mp__sub { fill: rgba(255, 255, 255, .62); font-size: 14px; font-weight: 500; font-stretch: 100%; }
.mp__base .mp__sub { fill: rgba(255, 255, 255, .62); }
@media (max-width: 759px) {
  .mp__t text { font-size: 27px; } .mp__t--l text { font-size: 31px; }
  .mp__base text { font-size: 27px; } .mp .mp__sub { font-size: 20px; } .mp__rl { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mp__pulse { animation: none; opacity: 0; } }

/* ── footer ── */
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(32px, 4vw, 64px); padding: 52px 0 44px; border-top: 1px solid var(--line-d); }
.ftr__brand p { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--muted-d); max-width: 23em; }
.ftr__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; line-height: 1.4; }
.ftr__col a { color: rgba(255, 255, 255, .8); text-decoration: none; padding: 3px 0; transition: color .2s; overflow-wrap: anywhere; }
.ftr__col a:hover { color: var(--blue); }
.ftr__h { font-size: 15px; font-weight: 650; font-stretch: 104%; color: #fff; margin-bottom: 6px; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ftr__bot a { color: rgba(255, 255, 255, .8); text-decoration: none; padding: 4px 0; }
.ftr__bot a:hover { color: var(--blue); }
@media (max-width: 1000px) { .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 759px) {
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 40px; }
  .ftr__col { gap: 0; }
  .ftr__col a { padding: 9px 0; }
  .ftr__col:last-child { grid-column: 1 / -1; }
  .ftr__bot nav { gap: 0 20px; }
  .ftr__bot a { padding: 9px 0; }
}

/* ── phone: Call Karl / WhatsApp / Email bar ── */
.mbar { display: none; }
@media (max-width: 759px) {
  .mbar { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: rgba(10, 13, 22, .97); border-top: 1px solid rgba(255, 255, 255, .1); transform: translateY(110%); visibility: hidden; transition: transform .4s var(--e-io), visibility 0s .4s; }
  .mbar.is-on { transform: none; visibility: visible; transition: transform .4s var(--e-io); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid var(--line-d); color: #fff; text-decoration: none; font-weight: 640; font-size: 15px; font-stretch: 104%; }
  .mbar svg { width: 18px; height: 18px; flex: none; }
  .mbar .mbar__call { background: var(--blue); border-color: var(--blue); color: var(--ink); }
  .ftr { padding-bottom: calc(max(24px, env(safe-area-inset-bottom)) + 70px); }
  .menu-open .mbar { visibility: hidden; }
}

/* ── inner page headers ── */
.ph__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 28px; }
.ph .hero__tel { text-shadow: none; }
.ph .crumb span[aria-hidden] { opacity: .5; }
.ph .ph__grid > div > p { max-width: 32em; }

/* ── solar page: how it works ── */
.how { padding: var(--sec) 0; background: #fff; }
.how__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.how__head p { color: var(--muted); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; }
.how__parts { border-top: 2px solid var(--ink); }
.how__parts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.how__parts dt { font-size: 18px; font-weight: 640; font-stretch: 104%; }
.how__parts dd { margin-top: 4px; font-size: 16px; line-height: 1.5; color: #2b313d; }
@media (max-width: 1000px) { .how__grid, .how__head { grid-template-columns: 1fr; } }

.pair { padding: var(--sec) 0; background: var(--paper); }
.pair__grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px clamp(48px, 6vw, 112px); align-items: center; }
.pair__ph .fr { aspect-ratio: 1146 / 1309; overflow: hidden; background: #e2e5ea; }
.pair__ph img { width: 100%; height: 100%; object-fit: cover; }
.pair__ph figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.pair__ph figcaption b { color: var(--ink); font-weight: 600; }
.pair__copy { max-width: 36em; }
.pair__copy h2 { margin-bottom: 20px; text-wrap: balance; }
.pair__copy > p { color: #2b313d; }
.pair__copy .lnk { margin-top: 28px; }
@media (max-width: 900px) { .pair__grid { grid-template-columns: 1fr; } .pair__ph { max-width: 480px; } }

.cred { padding: var(--sec) 0; background: #fff; }
.cred--ab { background: var(--paper); }
.cred__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.cred h2 { max-width: 13em; text-wrap: balance; }
.cred__grid > div > p { margin-top: 18px; color: var(--muted); max-width: 30em; }
@media (max-width: 900px) { .cred__grid { grid-template-columns: 1fr; } }

/* ── enquiry form ── */
.ct--page { background: var(--wall); }
.f select { width: 100%; font: inherit; font-size: 19px; line-height: 1.4; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%230A0D16' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center / 16px; border: 0; border-bottom: 1.5px solid rgba(10, 13, 22, .26); border-radius: 0; padding: 10px 30px 12px 0; -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.f select:hover { border-bottom-color: rgba(10, 13, 22, .5); }
.f select:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1.5px 0 var(--blue); }
.f-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alt { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
.form__alt:hover { color: var(--blue-d); }
.form__err { display: none; }
.form.is-failed .form__fields, .form.is-sent .form__fields { display: none; }
.form.is-failed .form__err { display: block; }
.form__err h2 { margin-bottom: 14px; }
.form__err p { color: #2b313d; margin-bottom: 24px; max-width: 30em; }
.form__err .btn { margin-right: 18px; }
.form__err .lnk { margin-right: 24px; }
.form__ok:focus, .form__err:focus { outline: none; }
.btn.is-busy { opacity: .65; pointer-events: none; }
.form__foot .btn:only-of-type { min-width: 240px; }

/* ── contact page: three big ways to reach Karl ── */
.ct__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.ctb { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 22px; border: 1.5px solid var(--line-d); color: #fff; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s; }
.ctb svg { width: 26px; height: 26px; flex: none; }
.ctb span { display: grid; min-width: 0; }
.ctb b { font-size: 19px; line-height: 1.25; font-weight: 640; font-stretch: 104%; }
.ctb em { font-style: normal; font-size: 15px; color: var(--muted-d); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ctb:hover { border-color: var(--blue); color: var(--blue); }
.ctb--call { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.ctb--call em { color: rgba(10, 13, 22, .72); }
.ctb--call:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 900px) { .ct__btns { grid-template-columns: 1fr; } .ctb { min-height: 72px; } }

/* ── areas page ── */
.area { background: var(--ink); color: #fff; padding: 0 0 var(--sec); }
.area__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px clamp(40px, 5vw, 88px); align-items: start; }
.area__map { position: sticky; top: calc(var(--hh) + 32px); }
.area__list article { padding: 22px 0 24px; border-top: 1px solid var(--line-d); scroll-margin-top: calc(var(--hh) + 20px); }
.area__list article:last-child { border-bottom: 1px solid var(--line-d); }
.area__list h2 { font-size: clamp(24px, 2vw, 32px); margin-bottom: 8px; }
.area__list p { color: var(--muted-d); max-width: 34em; }
.area__list .lnk { margin-top: 14px; color: #fff; }
.area__list article:target h2 { color: var(--blue); }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } .area__map { position: static; } }

.every { padding: var(--sec) 0; background: #fff; }
.every__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.every__grid > div > p { margin-top: 18px; color: var(--muted); max-width: 28em; }
.every__list { border-top: 2px solid var(--ink); }
.every__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(18px, 1.4vw, 22px); font-weight: 560; font-stretch: 104%; transition: color .2s; }
.every__list a:hover { color: var(--blue-d); }
.every__list .arr { width: 18px; height: 18px; flex: none; transition: transform .3s var(--e-out); }
.every__list a:hover .arr { transform: translateX(4px); }
@media (max-width: 900px) { .every__grid { grid-template-columns: 1fr; } }

/* ── EV page photos ── */
.ev-open { padding-top: 0; }

/* phone menu with seven pages: smaller on short screens */
@media (max-height: 780px) { .sheet__nav a { font-size: 26px; padding: 11px 0; } .sheet__foot { padding-top: 20px; } }
.menu-open .sheet__nav li:nth-child(6) a { transition-delay: .2s; }
.menu-open .sheet__nav li:nth-child(7) a { transition-delay: .24s; }

/* services index: ten services in two even rows */
@media (min-width: 760px) { .idx--10 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 759px) { .idx--10 { display: grid; grid-template-columns: 1fr 1fr; } }
.svc__ph .fr--pv { background: radial-gradient(ellipse 90% 60% at 30% 0%, #1b2d4d 0%, #0d1424 60%, var(--ink) 100%); }

/* two-row boards (tablet, phone): label strip lines up with every row; the board label is not clipped */
@media (max-width: 1180px) {
  .cb__lbl { margin-top: 18px; }
  .cu__top { height: 36px; }
}
@media (max-width: 759px) {
  .cu { --dh: calc(var(--mw) * 1.12); }
  .cu__top { height: 32px; margin-bottom: 6px; }
}
/* solar band on small laptops: more room for the diagram */
@media (min-width: 1001px) and (max-width: 1180px) { .sol__grid { grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: 40px; } }
.nw { white-space: nowrap; }

/* ── board labels, second pass (Martis 2026-11-19 "biski lempiskai"): ten even modules, labels never touch or spill ── */
.cu__main { display: none !important; }
.cu__rail { grid-template-columns: repeat(10, var(--mw)) !important; }
.cb__lbl { font-size: 13.5px; line-height: 1.12; font-stretch: 78%; letter-spacing: 0; padding: 0 5px; text-wrap: balance; }
@media (min-width: 1400px) {
  .circ__grid { --pw: min(calc(70svh * .75), 30vw, 440px); }
  .cu { --avail: calc(min(100vw, var(--max)) - 2 * var(--pad) - var(--pw) - clamp(40px, 4vw, 72px) - 76px); --mw: clamp(70px, calc(var(--avail) / 10), 82px); }
}
/* small laptops: two rows of five, like the tablet board but larger */
@media (min-width: 1181px) and (max-width: 1399px) {
  .cu { --mw: 84px; --dh: calc(var(--mw) * 1.3); --lh: 46px; --rg: 8px; }
  .cu__rail { grid-template-columns: repeat(5, var(--mw)) !important; }
}
@media (min-width: 760px) and (max-width: 1180px) {
  .cu { --mw: 74px; }
  .cu__rail { grid-template-columns: repeat(5, var(--mw)) !important; }
  .circ__grid { --pw2: min(calc((100svh - 190px) * .8), calc(100vw - 2 * var(--pad) - 394px - 32px), 560px); }
}
@media (max-width: 759px) {
  .cu__rail { grid-template-columns: repeat(5, var(--mw)) !important; }
  .cb__lbl { font-size: 12px; padding: 0 2px; letter-spacing: -.005em; }
}
.cb[aria-pressed="true"] .cb__lbl { background: linear-gradient(var(--blue), var(--blue)) 50% calc(100% - 2px) / 40% 2px no-repeat; }
