/* Voltpro Electrical, hand built. Palette from the logo: ink, volt yellow, red, steel grey. */
:root {
  --ink: #0d0d0d;
  --panel: #161616;
  --panel-2: #1f1f1f;
  --cream: #f5f0e6;
  --cream-2: #ebe4d6;
  --volt: #ffd400;
  --red: #e3141b;
  --red-deep: #b3121a;
  --steel: #8e8e8e;
  --on-dark: #ede8de;
  --on-dark-muted: #bdb7ac;
  --on-cream-muted: #47443d;
  --line-dark: rgba(237, 232, 222, .16);
  --line-cream: rgba(13, 13, 13, .16);
  --display: "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
.about :focus-visible, .why :focus-visible, .contact :focus-visible, .trust :focus-visible { outline-color: var(--ink); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--volt); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
.volt { color: var(--volt); }
.red { color: var(--red-deep); }
.muted { color: var(--on-dark-muted); }

/* Labels: METRIC's mono second voice */
.label {
  font: 500 .8125rem/1.4 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-cream-muted);
  display: flex; align-items: center; gap: .75em; flex-wrap: wrap;
}
.label--light { color: #cfc9be; }
.label--num span:first-child { color: var(--red-deep); }
.label--light span:first-child { color: var(--volt); }
.led { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 3px rgba(255, 212, 0, .18), 0 0 14px var(--volt); flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 14px 24px;
  font: 600 .95rem/1.1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(13, 13, 13, .94); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(8px); }
.header__row { display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 36px; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-current::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }
.header__call { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.header__call .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.burger { display: none; }

/* HERO */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero__pin { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  filter: grayscale(1) brightness(.3) contrast(1.1);
  transform: scale(1.06);
  transition: filter 1.2s var(--ease), transform 2.4s var(--ease);
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 13, 13, .94) 0%, rgba(13, 13, 13, .78) 42%, rgba(13, 13, 13, .3) 75%, rgba(13, 13, 13, .2) 100%), linear-gradient(0deg, rgba(13, 13, 13, .85) 0%, rgba(13, 13, 13, 0) 45%); }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 9vh, 96px); }
.hero__label { color: #e2dccf; margin-bottom: clamp(20px, 3vh, 32px); }
.hero__label .sep { color: var(--volt); }
.hero__title {
  font: italic 900 clamp(3rem, 7.4vw, 7.5rem)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.01em;
  max-width: 11.5em;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .08em .04em 0; }
.hero__title .line > span { display: inline-block; }
.charge {
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .78);
  transition: color .2s linear, text-shadow .6s var(--ease);
}
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-top: clamp(24px, 4vh, 44px); flex-wrap: wrap; max-width: 980px; }
.hero__lede { max-width: 34em; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--on-dark); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.mainswitch-wrap { position: absolute; z-index: 3; right: calc(var(--gutter) + max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2)); top: 50%; transform: translateY(-40%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mainswitch { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 18px; }
.mainswitch__body {
  position: relative; display: block; width: 112px; height: 196px; border-radius: 18px;
  background: linear-gradient(180deg, #2a2a2a, #121212); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .6);
}
.mainswitch__body::before { content: ""; position: absolute; left: 22px; right: 22px; top: 40px; bottom: 40px; border-radius: 10px; background: #050505; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .9); }
.mainswitch__lever {
  position: absolute; left: 26px; right: 26px; height: 56px; bottom: 44px; border-radius: 8px;
  background: linear-gradient(180deg, #f4f4f4, #bdbdbd); box-shadow: 0 6px 14px rgba(0, 0, 0, .6);
  transition: bottom .35s cubic-bezier(.5, -0.4, .3, 1.4), background .3s;
}
.mainswitch__on, .mainswitch__off { position: absolute; left: 0; right: 0; text-align: center; font: 500 .75rem/1 var(--mono); letter-spacing: .2em; color: #a9a39a; }
.mainswitch__on { top: 14px; }
.mainswitch__off { bottom: 14px; }
.mainswitch__cap { color: #e2dccf; font-size: .72rem; }
.mainswitch__cap .is-on-txt { display: none; color: var(--volt); }

.hero__wire { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255, 255, 255, .08); }
.hero__wire span { display: block; height: 100%; background: var(--volt); box-shadow: 0 0 18px var(--volt); transform: scaleX(0); transform-origin: right; transition: transform 1.1s var(--ease); }

/* power on state */
.hero.is-on .hero__media img { filter: grayscale(0) brightness(.72) contrast(1.05) saturate(1.05); transform: scale(1); }
.hero.is-on .charge { color: var(--volt); -webkit-text-stroke: 0 transparent; text-shadow: 0 0 34px rgba(255, 212, 0, .45); animation: flicker .9s steps(1) 1; }
.hero.is-on .mainswitch__lever { bottom: 96px; background: linear-gradient(180deg, #fff, #d9d9d9); }
.hero.is-on .mainswitch__on { color: var(--volt); text-shadow: 0 0 10px var(--volt); }
.hero.is-on .mainswitch__body { box-shadow: inset 0 0 0 1px rgba(255, 212, 0, .5), 0 0 0 6px rgba(255, 212, 0, .08), 0 24px 60px rgba(0, 0, 0, .6); }
.hero.is-on .mainswitch__cap .is-on-txt { display: inline; }
.hero.is-on .mainswitch__cap .is-off-txt { display: none; }
.hero.is-on .hero__wire span { transform: scaleX(1); }
.hero.is-on .hero__label .led { animation: flicker .9s steps(1) 1; }
@keyframes flicker { 0% { opacity: .2 } 12% { opacity: 1 } 20% { opacity: .3 } 34% { opacity: 1 } 42% { opacity: .5 } 56% { opacity: 1 } }

.hero__label .led { background: #555; box-shadow: none; transition: background .3s, box-shadow .3s; }
.hero.is-on .hero__label .led { background: var(--volt); box-shadow: 0 0 0 3px rgba(255, 212, 0, .18), 0 0 14px var(--volt); }

/* Intro rise */
.js .hero__title .line > span, .js .hero__label, .js .hero__foot { transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease), opacity .8s var(--ease); }
.js .hero__label, .js .hero__foot { transform: translateY(24px); }
.js.is-loaded .hero__title .line > span, .js.is-loaded .hero__label, .js.is-loaded .hero__foot { transform: none; opacity: 1; }
.js.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js.is-loaded .hero__foot { transition-delay: .3s; }

/* Desktop pin, METRIC's 150vh hero with a 100vh sticky inner */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero.can-pin { height: 165vh; }
  .hero.can-pin .hero__pin { position: sticky; top: 0; height: 100vh; min-height: 640px; }
}

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ABOUT */
.about { position: relative; z-index: 2; padding: clamp(88px, 12vw, 176px) 0 clamp(72px, 9vw, 128px); background: var(--cream); }
.about__statement { margin-top: 28px; font: italic 800 clamp(2rem, 4.1vw, 4rem)/1.04 var(--display); text-transform: uppercase; letter-spacing: -.005em; max-width: 19em; }
.about__statement em { font-style: italic; color: var(--red-deep); }
.about__grid { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: clamp(24px, 3vw, 40px); align-items: start; }
.about__photo { overflow: hidden; border-radius: 6px; background: var(--cream-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__photo:hover img { transform: scale(1.03); }
.about__photo--wide { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.about__photo--tall { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 5; max-height: 560px; width: 78%; justify-self: end; }
.about__text { grid-column: 2; grid-row: 1; display: grid; gap: 18px; color: var(--on-cream-muted); max-width: 30em; }
.about__text p:first-child { color: var(--ink); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.langs li { font: 500 .8125rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-cream); border-radius: 100px; padding: 10px 14px; color: var(--ink); }

/* TRUST */
.trust { background: var(--cream); padding-bottom: clamp(72px, 9vw, 128px); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-cream); border-bottom: 1px solid var(--line-cream); }
.trust__list li { padding: 28px 24px 28px 0; display: grid; gap: 6px; }
.trust__list li + li { padding-left: 24px; border-left: 1px solid var(--line-cream); }
.trust__k { font: italic 800 1.75rem/1 var(--display); text-transform: uppercase; }
.trust__v { font: 500 .78rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-cream-muted); }

/* BOARD, the signature */
.board { position: relative; background: var(--ink); color: var(--on-dark); }
.board__pin { padding: clamp(88px, 10vw, 140px) 0; }
.board__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "head head" "panel readout"; gap: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px); align-items: center; }
.board__head { grid-area: head; display: grid; gap: 20px; }
.board__title { font: italic 900 clamp(2.4rem, 5vw, 4.75rem)/.95 var(--display); text-transform: uppercase; color: #fff; }

.panel { grid-area: panel; position: relative; background: linear-gradient(180deg, #1b1b1b, #121212); border-radius: 14px; padding: 28px 24px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .5); }
.panel::before, .panel::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #2b2b2b; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8); top: 12px; }
.panel::before { left: 12px; } .panel::after { right: 12px; }
.panel__rail { position: absolute; left: 24px; right: 24px; top: 50%; height: 20px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #2c2c2c 0 6px, #232323 6px 12px); border-radius: 2px; opacity: .7; }
.panel__list { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.breaker__btn {
  appearance: none; width: 100%; border: 0; cursor: pointer; text-align: center; color: var(--on-dark);
  background: linear-gradient(180deg, #ececec, #cfcfcf); border-radius: 6px; padding: 12px 8px 14px;
  display: grid; justify-items: center; gap: 12px; font: inherit;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.breaker__btn:hover { transform: translateY(-3px); }
.breaker__num { font: 500 .8rem/1 var(--mono); letter-spacing: .14em; color: #2a2a2a; }
.breaker__toggle { position: relative; width: 34px; height: 72px; border-radius: 6px; background: #1a1a1a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9); }
.breaker__toggle span { position: absolute; left: 4px; right: 4px; height: 30px; bottom: 4px; border-radius: 4px; background: linear-gradient(180deg, #3a3a3a, #262626); transition: bottom .3s cubic-bezier(.5, -0.5, .3, 1.5), background .3s; }
.breaker__toggle::after { content: ""; position: absolute; left: 50%; top: -14px; width: 18px; height: 5px; margin-left: -9px; border-radius: 3px; background: #9a9a9a; transition: background .3s, box-shadow .3s; }
.breaker__short { font: italic 800 clamp(.76rem, .9vw, 1.05rem)/1.05 var(--display); text-transform: uppercase; color: #1a1a1a; min-height: 2.1em; display: flex; align-items: flex-start; justify-content: center; }
.breaker__name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.breaker.is-on .breaker__toggle span { bottom: 38px; background: linear-gradient(180deg, var(--red), #a20f14); }
.breaker.is-on .breaker__toggle::after { background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.breaker.is-active .breaker__btn { box-shadow: 0 0 0 3px var(--volt), 0 0 40px rgba(255, 212, 0, .25); }
.breaker__detail { display: none; }

.readout { grid-area: readout; display: grid; gap: 18px; align-content: start; justify-items: start; min-height: 320px; }
.readout__name { font: italic 800 clamp(1.8rem, 2.8vw, 2.6rem)/1 var(--display); text-transform: uppercase; color: #fff; }
.readout__text { color: var(--on-dark); max-width: 28em; }
.readout.swap .readout__name, .readout.swap .readout__text { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .board.can-pin { height: 300vh; scroll-margin-top: calc(-1 * (var(--header-h) + 8px)); }
  .board.can-pin .board__pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 24px) 0 40px; }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .board__title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
  .board__inner { row-gap: 28px; }
  .breaker__toggle { height: 60px; }
  .breaker.is-on .breaker__toggle span { bottom: 26px; }
}

/* WHY */
.why { background: var(--cream); padding: clamp(88px, 11vw, 160px) 0; }
.why__title { margin-top: 28px; font: italic 900 clamp(2.8rem, 7vw, 6.5rem)/.92 var(--display); text-transform: uppercase; display: grid; gap: .12em; }
.why__rule { display: block; height: 2px; background: var(--ink); width: 100%; transform-origin: left; }
.why__grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.why__photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-cream); }
.why__list li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line-cream); font: 600 1.25rem/1.25 var(--body); display: grid; gap: 10px; }
.why__list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-cream); }
.why__list .n { font: 500 .8rem/1 var(--mono); letter-spacing: .14em; color: var(--red-deep); }

/* AWARD */
.award { background: var(--panel); color: var(--on-dark); padding: clamp(88px, 11vw, 160px) 0; }
.award__inner { display: grid; gap: 32px; }
.award__quote blockquote p { font: italic 900 clamp(2.6rem, 6.6vw, 6rem)/.95 var(--display); text-transform: uppercase; color: var(--volt); max-width: 13em; }
.award__quote figcaption { margin-top: 32px; display: grid; gap: 10px; max-width: 40em; }
.award__en { font-size: 1.25rem; color: #fff; }
.award__src { color: var(--on-dark-muted); }
.award__src a { color: var(--volt); text-underline-offset: 4px; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: 80vh; display: flex; align-items: center; padding: 120px 0; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: brightness(.5); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, .55), rgba(13, 13, 13, .35) 50%, rgba(13, 13, 13, .7)); }
.cta__inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 28px; }
.cta__title { font: italic 900 clamp(2.6rem, 6.4vw, 6rem)/.95 var(--display); text-transform: uppercase; max-width: 12em; text-wrap: balance; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* CONTACT */
.contact { background: var(--cream); padding: clamp(88px, 11vw, 160px) 0 clamp(72px, 8vw, 112px); }
.contact__title { margin-top: 28px; font: italic 900 clamp(2.6rem, 6vw, 5.5rem)/.95 var(--display); text-transform: uppercase; }
.contact__grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.facts { display: grid; border-top: 1px solid var(--line-cream); }
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-cream); }
.facts dt { font: 500 .78rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-cream-muted); padding-top: 3px; }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }
.facts dd a { text-decoration-color: rgba(13, 13, 13, .35); text-underline-offset: 4px; }
.facts dd a:hover { text-decoration-color: var(--red); }
.facts .muted { color: var(--on-cream-muted); font-weight: 400; }

.quote { background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.quote__intro { grid-column: 1 / -1; color: var(--on-dark); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #cfc9be; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: #fff; background: #1b1b1b; border: 1px solid #3a3a3a; border-radius: 6px; padding: 13px 14px; min-height: 50px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--volt) 50%), linear-gradient(135deg, var(--volt) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--volt); outline-offset: 1px; border-color: var(--volt); }
.quote .btn { grid-column: 1 / -1; justify-self: start; }
.quote :focus-visible { outline-color: var(--volt); }
.quote__error { grid-column: 1 / -1; color: #ffb3b5; min-height: 0; }
.quote__error:empty { display: none; }

.map { position: relative; margin-top: clamp(48px, 6vw, 80px); border-radius: 10px; overflow: hidden; background: var(--cream-2); height: clamp(320px, 42vw, 520px); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__btn { position: absolute; left: 20px; bottom: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* FOOTER */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 32px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: min(420px, 80vw); height: auto; }
.footer__tag { font: italic 800 clamp(1.4rem, 2.4vw, 2.2rem)/1.05 var(--display); text-transform: uppercase; max-width: 14em; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0; }
.footer__cols ul { margin-top: 20px; display: grid; gap: 12px; }
.footer__cols a { text-decoration: none; display: inline-block; transition: transform .3s var(--ease), color .3s; }
.footer__cols a:hover { color: var(--volt); transform: translateX(.4em); }
.footer__cols .plain, .footer__cols li.plain { color: var(--on-dark-muted); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .95rem; color: var(--on-dark-muted); }
.footer__base a { color: var(--on-dark); text-underline-offset: 4px; }

.quickbar { display: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; margin-left: auto; padding: 0 12px; background: none; border: 0; cursor: pointer; border-radius: 6px; }
  .burger span { display: block; height: 2px; background: #fff; transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .header__call { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--ink); margin: 0; padding: 32px var(--gutter);
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line-dark); }
  .nav ul a { display: block; padding: 18px 0; font: italic 800 2rem/1 var(--display); }
  .nav ul a::after { display: none; }
  .nav__mobile-extra { display: grid; gap: 12px; }
  .site-header.menu-open { background: var(--ink); }

  .mainswitch-wrap { top: calc(var(--header-h) + 24px); transform: none; right: var(--gutter); gap: 8px; }
  .mainswitch__body { width: 64px; height: 112px; border-radius: 12px; }
  .mainswitch__body::before { left: 13px; right: 13px; top: 24px; bottom: 24px; }
  .mainswitch__lever { left: 15px; right: 15px; height: 30px; bottom: 26px; }
  .hero.is-on .mainswitch__lever { bottom: 56px; }
  .mainswitch__on { top: 8px; font-size: .6rem; } .mainswitch__off { bottom: 8px; font-size: .6rem; }
  .mainswitch__cap { font-size: .62rem; letter-spacing: .14em; }
  .hero__inner { padding-top: calc(var(--header-h) + 180px); }

  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__photo--wide { grid-column: 1 / -1; grid-row: auto; }
  .about__text { grid-column: 1; grid-row: auto; }
  .about__photo--tall { grid-column: 2; grid-row: auto; width: 100%; }

  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line-cream); }

  .board__inner { grid-template-columns: 1fr; grid-template-areas: "head" "panel"; }
  .readout { display: none; }
  .panel { padding: 16px; }
  .panel__rail { display: none; }
  .panel__list { grid-template-columns: 1fr; gap: 10px; }
  .breaker__btn { grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 16px; padding: 14px 16px; }
  .breaker__toggle { width: 30px; height: 56px; }
  .breaker__toggle span { height: 22px; }
  .breaker.is-on .breaker__toggle span { bottom: 30px; }
  .breaker__toggle::after { top: auto; bottom: -10px; width: 14px; margin-left: -7px; height: 4px; }
  .breaker__short { display: none; }
  .breaker__name { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font: 600 .95rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .03em; color: #1a1a1a; }
  .breaker__detail { display: block; overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
  .breaker__detail p { padding: 14px 4px 6px; color: var(--on-dark); }
  .breaker.is-on .breaker__detail { max-height: 12em; }

  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .hero__title { font-size: clamp(2.2rem, 9.6vw, 3.6rem); }
  .hero__label .sep { display: none; }
  .hero__label { row-gap: .3em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__text, .about__photo--tall { grid-column: 1; }
  .about__photo--tall { width: 100%; aspect-ratio: 4 / 4.4; }
  .trust__k { font-size: 1.35rem; }
  .trust__list li, .trust__list li + li { padding: 20px 12px 20px 0; }
  .trust__list li:nth-child(even) { padding-left: 14px; }
  .why__list { grid-template-columns: 1fr; }
  .why__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .quote { grid-template-columns: 1fr; }
  .quote .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .cta { min-height: 72vh; }
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    transform: translateY(100%); transition: transform .4s var(--ease);
  }
  .quickbar.is-shown { transform: none; }
  .quickbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font: 600 1rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
  .quickbar__call { background: var(--volt); color: var(--ink); }
  .quickbar__wa { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
  .footer { padding-bottom: 88px; }
}

/* Reduced motion: everything on, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .line > span, .js .hero__label, .js .hero__foot { opacity: 1 !important; transform: none !important; }
}

/* Menu links land with the section label just under the header */
.about { scroll-margin-top: calc(32px - clamp(88px, 12vw, 176px)); }
.why, .contact { scroll-margin-top: calc(32px - clamp(88px, 11vw, 160px)); }
h1, h2 { text-wrap: balance; }
.about__statement { text-wrap: pretty; }
