@font-face { font-family: "Asap"; src: url("fonts/asap.woff2") format("woff2"); font-weight: 100 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("fonts/asap-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 75% 125%; font-style: italic; font-display: swap; }

:root {
    --steel: #dfe2df;
    --steel-dark: #c9cdca;
    --paper: #f7f6f1;
    --ink: #1f2326;
    --ink-soft: #4b5256;
    --breaker: #26292b;
    --plywood: #c49a5e;
    --live: #d9441c;
    --live-dark: #b5340f;
    --rule: #b9beba;
    --directory-line: #cfd8e2;
    --max-width: 1200px;
    --r-sm: 4px;
    --r-md: 8px;
    --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--steel); color: var(--ink); font-family: "Asap", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-stretch: 75%; font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm); font-family: inherit; font-size: 1.02rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-call { background: var(--live); color: #fff; }
.btn-call:hover { background: var(--live-dark); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }

.topbar { background: var(--steel-dark); font-size: 0.9rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a { font-weight: 700; text-decoration: none; }
.topbar-licence { color: var(--ink-soft); }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--steel); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-name { font-style: italic; font-weight: 900; font-stretch: 90%; font-size: 1.75rem; color: var(--live); letter-spacing: -0.01em; }
.brand-sub { font-style: italic; font-weight: 700; font-stretch: 80%; font-size: 0.86rem; color: var(--ink); margin-top: 2px; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 600; padding: 6px 0; }
.site-nav a:hover { text-decoration: underline; }
.header-call { min-height: 42px; padding: 8px 16px; }
.nav-toggle { display: none; font-family: inherit; font-size: 1rem; font-weight: 700; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 10px 14px; min-height: 44px; cursor: pointer; }

.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin-bottom: 26px; max-width: 17ch; }
.lede { font-size: 1.2rem; max-width: 36em; }
.lede-2 { font-weight: 700; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.hero-photo figcaption, .directory figcaption { font-size: 0.86rem; color: var(--ink-soft); margin-top: 8px; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 36px; }
.section-head p { margin: 0; max-width: 34em; color: var(--ink-soft); }
/* the panel */
.panel-section { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.panel-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.backboard {
    padding: clamp(16px, 3vw, 34px);
    border-radius: var(--r-sm);
    background-color: var(--plywood);
    background-image:
        repeating-linear-gradient(88deg, rgba(120, 78, 30, 0.10) 0 2px, transparent 2px 19px),
        repeating-linear-gradient(92deg, rgba(255, 236, 200, 0.12) 0 1px, transparent 1px 31px),
        radial-gradient(ellipse 40% 12% at 30% 40%, rgba(110, 70, 25, 0.18), transparent 70%),
        radial-gradient(ellipse 30% 10% at 75% 78%, rgba(110, 70, 25, 0.16), transparent 70%);
}
.enclosure { background: radial-gradient(circle at 12px 12px, #8d9391 0 3px, transparent 4px), radial-gradient(circle at calc(100% - 12px) 12px, #8d9391 0 3px, transparent 4px), radial-gradient(circle at 12px calc(100% - 12px), #8d9391 0 3px, transparent 4px), radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #8d9391 0 3px, transparent 4px), #cfd3d1; border: 1px solid #9ca2a0; border-radius: 6px; padding: 26px 22px 30px; box-shadow: inset 0 0 0 6px #dadedc, 0 2px 0 rgba(0, 0, 0, 0.18); }
.main-breaker { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 18px; }
.mb-body { position: relative; width: 120px; height: 46px; background: var(--breaker); border-radius: 4px; display: block; }
.mb-handle { position: absolute; top: 9px; left: 10px; width: 46px; height: 28px; background: #4a4f53; border-radius: 3px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3); transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.enclosure.is-live .mb-handle { transform: translateX(54px); background: #f1f1ee; }
.mb-label { font-size: 0.78rem; font-weight: 700; font-stretch: 80%; color: var(--ink-soft); }

.breakers { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; row-gap: 10px; position: relative; }
.breakers::before { content: ""; position: absolute; top: -4px; bottom: -4px; left: calc(50% - 5px); width: 10px; background: #a9aeac; border-radius: 3px; }
.breaker {
    position: relative; display: grid; align-items: center; gap: 10px; min-height: 52px; padding: 4px 6px;
    font-family: inherit; color: var(--ink); background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer; text-align: left;
}
.breaker:nth-child(odd) { grid-template-columns: minmax(0, 1fr) 2.2ch 64px; grid-template-areas: "label num sw"; text-align: right; padding-right: 10px; }
.breaker:nth-child(even) { grid-template-columns: 64px 2.2ch minmax(0, 1fr); grid-template-areas: "sw num label"; padding-left: 10px; }
.b-label { grid-area: label; font-size: 1.02rem; font-weight: 500; line-height: 1.2; font-stretch: 88%; }
.b-num { grid-area: num; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); text-align: center; }
.b-switch { grid-area: sw; position: relative; width: 64px; height: 34px; background: var(--breaker); border-radius: 3px; display: block; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
.b-handle { position: absolute; top: 7px; left: 6px; width: 24px; height: 20px; background: #50565a; border-radius: 2px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); transition: transform 0.22s cubic-bezier(0.3, 1.3, 0.5, 1); }
.breaker:nth-child(even) .b-handle { left: auto; right: 6px; }
.breaker:nth-child(odd)[aria-checked="true"] .b-handle { transform: translateX(28px); }
.breaker:nth-child(even)[aria-checked="true"] .b-handle { transform: translateX(-28px); }
.breaker[aria-checked="true"] .b-handle { background: #f1f1ee; }
.breaker[aria-checked="true"] .b-label { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.breaker:hover .b-label { text-decoration: underline; text-underline-offset: 4px; }
.breaker:focus-visible { outline-offset: 1px; }

.directory {
    position: sticky; top: 96px;
    background-color: var(--paper);
    border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 22px 24px 24px;
}
.circuit + .circuit { margin-top: 36px; }
.js .circuit { display: none; }
.js .circuit.is-on { display: block; }
.js .circuit + .circuit { margin-top: 0; }
.c-num { font-weight: 700; font-stretch: 80%; color: var(--ink-soft); margin: -22px -24px 18px; padding: 12px 24px 10px; border-bottom: 3px double var(--directory-line); background: #eef1f4; }
.circuit h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.circuit p { max-width: 34em; }
.circuit figure { margin: 18px 0 0; }
.to-panel { display: none; }
.circuit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }

/* joe */
.joe { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.joe-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); }
.joe h2 { margin-bottom: 26px; }
.joe blockquote { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; border-left: 4px solid var(--ink); padding-left: 22px; }
.joe-source { margin-top: 14px; padding-left: 26px; font-weight: 700; }
.joe-terms h3 { margin-bottom: 18px; padding-top: 12px; font-size: 1.7rem; }
.terms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.terms li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.terms strong { display: block; font-stretch: 80%; font-weight: 800; font-size: 1.3rem; margin-bottom: 2px; }
.terms li { color: var(--ink-soft); }
.terms strong { color: var(--ink); }
/* work */
.work { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 10px; }
.job { padding: 0; border: 0; background: var(--steel-dark); border-radius: 3px; overflow: hidden; cursor: zoom-in; font-family: inherit; }
.job img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.job:hover img { transform: scale(1.03); }
.job-tall { grid-row: span 2; }
.job:nth-child(4) { grid-row: span 2; }
.jobs { grid-auto-rows: 250px; }

/* reviews */
.reviews { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; }
.quote { margin: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.22rem; line-height: 1.5; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-weight: 700; }

/* faq */
.faq { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 700; font-size: 1.12rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform 0.3s; }
.faq-item.is-open summary::after { transform: rotate(45deg); }
.faq-answer { overflow: hidden; margin: 0; padding: 0 0 24px; max-width: 40em; color: var(--ink-soft); }

/* contact */
.contact { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-mail { font-weight: 700; }
.truck { margin: 26px 0 0; max-width: 360px; }
.truck img { border-radius: 3px; aspect-ratio: 1; object-fit: cover; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: clamp(18px, 3vw, 30px); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #9ca2a0; border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 0; }
.field .is-invalid { border-color: var(--live-dark); box-shadow: 0 0 0 1px var(--live-dark); }
.quote-form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; min-height: 1.6em; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* footer */
.site-footer { background: var(--breaker); color: #e7e9e6; padding: 56px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.6fr 1.3fr; gap: 32px; }
.footer-name { font-weight: 800; font-stretch: 80%; font-size: 1.15rem; margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #4a4f53; font-size: 0.9rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 22, 24, 0.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-height: calc(100vh - 160px); width: auto; border-radius: 3px; }
.lb-cap { color: #e7e9e6; margin-top: 12px; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #e7e9e6; color: var(--ink); cursor: pointer; display: grid; place-items: center; font-family: inherit; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }

/* draft bar */
.draft-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 24px rgba(30, 30, 30, 0.2); font-size: 0.9rem; white-space: nowrap; }
.draft-bar p { margin: 0; }
.draft-btn { background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: var(--r-sm); }
.draft-btn:hover { background: #000; color: #fff; }
@media (max-width: 960px) {
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
    .nav-toggle { display: inline-flex; align-items: center; }
    .header-row { gap: 12px; position: relative; }
    .hero-grid, .panel-layout, .joe-grid, .faq-grid, .contact-grid, .section-head { grid-template-columns: 1fr; }
    .section-head { gap: 14px; }
    .hero-photo { max-width: 520px; }
    .directory { position: static; }
    .to-panel { display: inline-block; margin-top: 16px; font-weight: 700; padding: 8px 0; }
    .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .quotes { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .topbar-row > p:first-child { display: none; }
    .topbar-row { justify-content: flex-end; }
    .header-call { display: none; }
    .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
    .hero-photo img { aspect-ratio: 4 / 3; }
    .backboard { padding: 12px; }
    .enclosure { padding: 14px 6px 16px; }
    .breaker { gap: 6px; padding: 4px 2px; min-height: 52px; }
    .breaker:nth-child(odd) { grid-template-columns: minmax(0, 1fr) 2ch 44px; padding-right: 8px; }
    .breaker:nth-child(even) { grid-template-columns: 44px 2ch minmax(0, 1fr); padding-left: 8px; }
    .b-switch { width: 44px; height: 26px; }
    .b-handle { width: 18px; height: 14px; }
    .breaker:nth-child(odd)[aria-checked="true"] .b-handle { transform: translateX(14px); }
    .breaker:nth-child(even)[aria-checked="true"] .b-handle { transform: translateX(-14px); }
    .b-label { font-size: 0.84rem; }
    .directory { padding: 18px 16px 20px; }
    .c-num { margin: -18px -16px 16px; padding: 10px 16px 8px; }
    .lede { font-size: 1.08rem; }
    .quote-form { grid-template-columns: 1fr; }
    .draft-bar { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; font-size: 0.8rem; white-space: normal; }
    .draft-btn { padding: 7px 10px; white-space: nowrap; }
    .lightbox { padding: 60px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}