/* fonts: self-hosted from Google Fonts (variable, latin subset), SIL OFL 1.1 — licenses in site/fonts/ */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* WestaPro site — base styles from v11 "sketch & wire", then site components below. */
:root {
  --bg: #f7f7f7; --ink: #111; --g4: #444; --g6: #666; --g9: #9a9a9a; --rule: #dedede;
  --red: #d32f2f;
  --p: 18px; --sw: 3px; --dw: 1.5px;
  --pad: 56px; --max: 1328px;
  --ease: cubic-bezier(.6, 0, .2, 1);
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

.m { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* logo */
.logo { height: 15px; width: auto; overflow: visible; display: block; }
.logo__west { stroke: var(--ink); }
.logo__a { stroke: var(--red); }
.logo__pro { stroke: var(--g6); }
.logo__fill { fill: var(--g6); }

/* nav */
.nav { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--pad); background: rgba(247, 247, 247, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-100%); }
.nav__logo { transition: opacity .5s, transform .5s var(--ease); }
body.top .nav__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav__links { display: flex; gap: 36px; font-size: 14.5px; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call { background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 999px; white-space: nowrap; transition: background .3s; }
.nav__call:hover { background: var(--red); }
.nav__call b { display: none; font-weight: 600; }

/* the line */
main { position: relative; }
.wire { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; overflow: visible; }
.wire path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wire__ghost { stroke: #d9d9d9; stroke-width: 1; stroke-dasharray: 2 7; }
.run--wire { stroke: var(--red); stroke-width: var(--sw); }
.run--draft { stroke: var(--red); stroke-width: var(--dw); }
.wire__marks path { stroke: var(--red); stroke-width: 1.5; opacity: 0; transition: opacity .4s; }
.wire__marks text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--red); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; opacity: 0; transition: opacity .5s; }
.wire__marks .on { opacity: 1; }
.wire__pulses circle { fill: #fff; stroke: var(--red); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(211, 47, 47, .9)); }
.wire__pulses .burst { fill: var(--red); stroke: #fff; }
.wire__head circle { fill: var(--red); }
.wire__head .ring { fill: none; stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 1.6s ease-out infinite; }
.wire__head { filter: drop-shadow(0 0 8px rgba(211, 47, 47, .8)); transition: opacity .3s; }
.wire__head.draft { filter: none; }
.wire__head.draft .ring { display: none; }
.wire__head.draft circle { r: 3px; }
@keyframes ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* sections */
.sec { position: relative; padding: 150px 0; }
.grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 120px; align-items: stretch; }
.grid--rev { grid-template-columns: .9fr 1.1fr; }
.txt { align-self: center; position: relative; z-index: 4; }
.g, .h2 span { color: var(--g9); }

.h1 { font-weight: 700; font-size: clamp(44px, 5.6vw, 84px); line-height: .95; letter-spacing: -.05em; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) 1.6s; }
.h1 .ln:nth-child(2) > span { transition-delay: 1.72s; }
body.ready .h1 .ln > span { transform: none; }

.h2 { font-weight: 700; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.045em; margin-bottom: 26px; }
.h2--c { text-align: center; }
.lead { font-size: 18px; line-height: 1.6; color: var(--g4); max-width: 440px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 28px; border-radius: 999px; font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(211, 47, 47, .7); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(211, 47, 47, .8); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--big { font-size: 18px; padding: 22px 34px; }
.btn--end { position: relative; }
.btn--end.on { animation: live 2.2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 8px rgba(211, 47, 47, .14), 0 0 46px 6px rgba(211, 47, 47, .45); } }

.list { margin-top: 36px; max-width: 460px; font-weight: 500; }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--rule); }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.list span { color: var(--g6); font-weight: 400; text-align: right; }

/* hero: the logo is sketched, then built */
.hero { min-height: 100svh; padding-top: 170px; padding-bottom: 90px; display: flex; flex-direction: column; justify-content: center; }
.hero .wrap { width: 100%; }
.biglogo { display: block; width: 100%; height: auto; overflow: visible; }
.biglogo .logo__west path, .biglogo .logo__pro path, .biglogo ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease); } /* whole word in 1 s, in step with the line (owner, 2026-11-30) */
.biglogo .logo__a { opacity: 0; transition: opacity .4s ease .1s; }
.biglogo .logo__fill { opacity: 0; transition: opacity .4s ease .6s; }
.biglogo.on .logo__west path, .biglogo.on .logo__pro path, .biglogo.on ellipse { stroke-dashoffset: 0; }
.biglogo.on .logo__a, .biglogo.on .logo__fill { opacity: 1; }
.biglogo .logo__west path:nth-child(2) { transition-delay: .06s; } .biglogo .logo__west path:nth-child(3) { transition-delay: .12s; } .biglogo .logo__west path:nth-child(4) { transition-delay: .18s; }
.biglogo .logo__pro path:nth-child(1) { transition-delay: .21s; } .biglogo .logo__pro path:nth-child(2) { transition-delay: .27s; } .biglogo .logo__pro ellipse { transition-delay: .3s; }
.guides path { stroke: var(--red); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 1s var(--ease), opacity 1s ease; }
.guides path + path { transition-delay: .25s, 0s; }
body.ready .guides path { stroke-dashoffset: 0; }
.biglogo--top.on .guides path { opacity: .16; transition-delay: 0s, 1s; }
.hero__row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-top: 90px; }
.hero__side .lead { font-size: 17px; }
.hero__meta { color: var(--g6); margin-top: 60px; }

/* photos framed by the line */
.ph { position: relative; }
.ph__in { position: relative; overflow: hidden; height: 100%; background: #e9e9e9; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transform: scale(1.06); transition: filter 1.4s ease .5s, transform 1.6s var(--ease); }
.ph:hover img { transform: scale(1.1); }
.on .ph img, .ph.on img { filter: none; transform: scale(1); }
.ph figcaption { position: absolute; left: 0; top: calc(100% + var(--p) + 12px); color: var(--g6); transition: color .6s; }
.on figcaption, .on.ph figcaption { color: var(--red); }
.ph--tall .ph__in { min-height: 600px; }

/* the side of a frame the line does not trace draws itself */
[data-tap="frame"]::after { content: ''; position: absolute; top: calc(-1 * var(--p)); bottom: calc(-1 * var(--p)); width: var(--sw); background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease) .25s; z-index: 2; }
[data-mode="draft"][data-tap="frame"]::after { width: var(--dw); }
[data-tap="frame"]:not([data-inner])::after { display: none; } /* the line draws every side itself */
[data-inner="left"]::after { left: calc(-1 * var(--p) - var(--sw) / 2); }
[data-inner="right"]::after { right: calc(-1 * var(--p) - var(--sw) / 2); }
[data-tap].on::after { transform: scaleY(1); }

/* plan → finished room */
.plan .ph__in { min-height: 620px; background: #fbfbfb; }
.plan img { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); filter: none; transition: clip-path 1.4s var(--ease) 1.5s, transform 1.6s var(--ease); }
.plan.on img { clip-path: inset(0); }
.bp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.bp * { fill: none; stroke: var(--red); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .3s, opacity .8s ease 2.8s; }
.bp > :nth-child(2) { transition-delay: .45s, 2.8s; } .bp > :nth-child(3) { transition-delay: .6s, 2.8s; } .bp > :nth-child(4) { transition-delay: .75s, 2.8s; }
.plan.on .bp * { stroke-dashoffset: 0; opacity: 0; }
.bp__t { position: absolute; z-index: 2; color: var(--red); background: rgba(251, 251, 251, .92); padding: 4px 7px; opacity: 0; transform: translateY(6px); transition: opacity .6s ease .9s, transform .6s var(--ease) .9s; }
.plan.on .bp__t { opacity: 1; transform: none; }

/* junction box */
.jsec { padding: 40px 0; text-align: center; }
.jbox { position: relative; z-index: 5; width: 46px; height: 46px; margin: 0 auto; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 8px var(--bg); transition: box-shadow .5s; }
.jbox i { position: absolute; inset: 13px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); transition: background .4s, box-shadow .4s; }
.jbox.on { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 8px var(--bg); }
.jbox.on i { background: var(--red); box-shadow: 0 0 14px 2px rgba(211, 47, 47, .6); }
.jbox__lbl { color: var(--g6); margin-top: 22px; }

/* outlet */
.band { text-align: center; padding-top: 120px; }
.outlet { position: relative; z-index: 5; width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 10px var(--bg); }
.outlet::before, .outlet::after { content: ''; position: absolute; top: 26px; width: 7px; height: 26px; border-radius: 3px; background: #3a2323; transition: background .4s, box-shadow .4s; }
.outlet::before { left: 30px; }
.outlet::after { right: 30px; }
.outlet b { position: absolute; left: 50%; bottom: 18px; width: 12px; height: 9px; margin-left: -6px; border-radius: 6px 6px 2px 2px; background: #3a2323; transition: background .4s; }
.outlet.on::before, .outlet.on::after { background: #ff5a5a; box-shadow: 0 0 12px 2px rgba(255, 70, 70, .9); }
.outlet.on b { background: #ff5a5a; }
.outlet__halo { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(211, 47, 47, .32), transparent 62%); opacity: 0; transition: opacity .6s; z-index: -1; }
.outlet.on .outlet__halo { opacity: 1; animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.18); opacity: .55; } }
.outlet__lbl { color: var(--red); margin: 26px 0 56px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--rule); text-align: left; }
.facts div { padding: 26px 24px 0 0; }
.facts b { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.facts span { color: var(--g6); font-size: 15px; }

/* projects: remodeling drawn, electrical wired */
.grp { color: var(--g6); margin: 70px 0 40px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 34px; }
.strip--2 { grid-template-columns: 1.25fr 1fr; }
.strip .ph__in { aspect-ratio: 3 / 4; height: auto; }
.strip--2 .ph__in { aspect-ratio: auto; height: clamp(260px, 30vw, 440px); }
.strip .ph figcaption { top: calc(100% + 10px); }
.strip .ph:nth-child(2) img { transition-delay: .7s; }
.strip .ph:nth-child(3) img { transition-delay: .9s; }

/* contact: the wire draws the A and lights the call button */
.contact { padding-bottom: 50px; }
.contact .biglogo { max-width: 1100px; margin: 0 auto 110px; } /* centred between the line's sides */
.contact__row { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.contact__act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; } /* buttons to the right edge: the line ends there */
.contact__act p { color: var(--g6); margin-top: 8px; }
.contact__btns { display: grid; gap: 12px; } /* both buttons as wide as the wider one, same left edge */
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 120px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--g6); font-size: 14px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a.on { color: var(--red); }

/* cursor tool */
.tool, .tool__read, .tool-ov { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 60; }
.tool, .tool__read { display: none; }
body.has-tool, body.has-tool a, body.has-tool button { cursor: none; }
body.has-tool .tool, body.has-tool .tool__read { display: block; }
.tool { width: 0; height: 0; will-change: transform; }
.tool::before, .tool::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--red); transition: opacity .2s; }
.tool::before { width: 26px; height: 1.5px; margin: -.75px 0 0 -13px; }
.tool::after { width: 1.5px; height: 26px; margin: -13px 0 0 -.75px; }
.tool i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--red); opacity: 0; transition: opacity .2s; }
.tool i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.tool i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.tool i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.tool i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.tool.snap::before, .tool.snap::after { opacity: 0; }
.tool.snap i { opacity: 1; }
.tool.test::after { height: 10px; margin-top: -5px; }
.tool.test::before { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.5px var(--red); }
.tool__read { color: var(--red); font-size: 10.5px; white-space: nowrap; transition: opacity .2s; }
.tool-ov { width: 100vw; height: 100vh; overflow: visible; }
.tool-ov line, .tool-ov path { stroke: var(--red); stroke-width: 1; fill: none; }
.tool-ov .dash { stroke-dasharray: 3 4; }
.tool-ov circle { fill: var(--red); }
.tool-ov text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; fill: var(--red); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; }
.tool-ov .spark { stroke-width: 1.5; }

/* reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.hero .rv { transition-delay: 1.8s; }

/* phone */
@media (max-width: 860px) {
  :root { --pad: 22px; --p: 10px; --sw: 2.5px; --dw: 1.25px; }
  .nav { padding: 14px var(--pad); }
  .nav__links { display: none; }
  .nav__call { padding: 10px 18px; }
  .nav__call span { display: none; }
  .nav__call b { display: inline; }
  .wrap { padding-right: 34px; }
  .sec { padding: 96px 0; }
  .grid, .grid--rev { grid-template-columns: 1fr; gap: 64px; }
  .grid--rev .ph { order: 2; }
  .hero { min-height: 0; padding-top: 130px; padding-bottom: 60px; }
  .hero__row { grid-template-columns: 1fr; gap: 26px; margin-top: 64px; }
  .h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero__meta { margin-top: 40px; }
  .ph--tall .ph__in { min-height: 0; aspect-ratio: 4 / 4.6; }
  .plan .ph__in { min-height: 0; aspect-ratio: 4 / 4.8; }
  .lead { font-size: 17px; }
  .row .btn { flex: 1 1 auto; }
  .jsec { padding: 30px 0; }
  .band { padding-top: 70px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .facts div { padding: 22px 12px 18px 0; }
  .grp { margin: 50px 0 30px; }
  .strip, .strip--2 { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 30px; }
  .strip .ph { margin-bottom: 26px; }
  .strip .ph:nth-child(3):last-child { grid-column: 1 / -1; }
  .strip .ph:nth-child(3):last-child .ph__in { aspect-ratio: 16 / 9; }
  .contact .biglogo { margin-bottom: 80px; }
  .contact__row { grid-template-columns: 1fr; gap: 30px; }
  .contact__act, .contact__btns, .contact__act .btn { width: 100%; }
  .btn--big { font-size: 17px; padding: 20px 24px; }
  .foot { margin-top: 70px; }
}

.snap *, .snap *::before, .snap *::after { transition: none !important; }
.snap .hero { min-height: 900px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ======================================================================
   Site components (multi-page). Everything below overrides the v11 base.
   ====================================================================== */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* nav: logo always visible on inner pages; only the home page hides it at the top */
body:not(.home).top .nav__logo { opacity: 1; transform: none; pointer-events: auto; }
.nav__links { align-items: center; gap: 30px; }
.nav__links > a, .dd > a { position: relative; padding: 6px 0; }
.dd { position: relative; }
.dd > a { margin-right: 14px; }
.dd > a::before { content: ''; position: absolute; right: -14px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .55; }
.dd__panel { position: absolute; left: -22px; top: 100%; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.dd__panel div { background: #fff; box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--rule); padding: 10px; min-width: 230px; display: grid; }
.dd__panel a { padding: 10px 12px; font-weight: 500; white-space: nowrap; border-radius: 2px; }
.dd__panel a:hover { background: var(--bg); color: var(--red); }
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__links > a::after, .dd > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links > a:hover::after, .dd:hover > a::after,
[data-section="remodeling"] [data-nav="remodeling"]::after, [data-section="electrical"] [data-nav="electrical"]::after,
[data-section="projects"] [data-nav="projects"]::after, [data-section="reviews"] [data-nav="reviews"]::after,
[data-section="about"] [data-nav="about"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__est { font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); white-space: nowrap; transition: background .3s, color .3s; }
.nav__est:hover { background: var(--ink); color: #fff; }
.nav__menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.5px var(--ink); cursor: pointer; position: relative; color: var(--ink); }
.nav__menu i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__menu i:first-child { top: 17px; }
.nav__menu i:last-child { top: 23px; }
.menu-open .nav__menu i:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .nav__menu i:last-child { top: 20px; transform: rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 19; background: var(--bg); padding: 90px var(--pad) 40px; overflow-y: auto; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu__grp { border-top: 1px solid var(--rule); padding: 16px 0 14px; }
.menu__grp > a { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.menu__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: var(--g4); font-size: 16px; }
.menu__act { display: grid; gap: 10px; margin-top: 22px; }
.menu__act .btn { width: 100%; }
.menu > .m { color: var(--g6); margin-top: 22px; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: var(--bg); transform: none; }

/* page hero (inner pages) */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--g6); margin-bottom: 58px; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs i { font-style: normal; color: var(--g9); }
.phero { padding: 150px 0 140px; }
.phero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 110px; align-items: stretch; }
.phero__start { position: absolute; left: 0; top: calc(-1 * var(--p)); width: 1px; height: 0; }
.phero .txt { align-self: center; padding: 30px 0; }
.phero .h1 { font-size: clamp(44px, 5.4vw, 80px); margin-bottom: 30px; }
.phero .h1 .ln > span { transition-delay: .25s; }
.phero .h1 .ln:nth-child(2) > span { transition-delay: .37s; }
.phero .rv { transition-delay: .55s; }
.phero .lead { max-width: 470px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; color: var(--g6); }
.phero .ph__in { min-height: 640px; }

.sec__head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 110px; align-items: end; margin-bottom: 90px; }
.sec__head .lead { margin-bottom: 26px; }

/* services as breakers on a live bus */
.brks { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 36px; }
.brk { position: relative; display: flex; flex-direction: column; padding: 46px 28px 8px; border-left: 1px solid var(--rule); min-height: 330px; transition: background .4s; }
.brk:last-child { border-right: 1px solid var(--rule); }
.brk:hover { background: #fff; }
.brk__pin { position: absolute; z-index: 5; left: 26px; top: -23px; width: 26px; height: 46px; border-radius: 4px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px var(--bg); transition: box-shadow .4s; }
.brk__pin i { position: absolute; left: 7px; right: 7px; top: 22px; height: 16px; border-radius: 2px; background: var(--ink); transition: top .45s var(--ease), background .3s, box-shadow .3s; }
.brk__pin.on { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 6px var(--bg); }
.brk__pin.on i { top: 8px; background: var(--red); box-shadow: 0 0 10px 1px rgba(211, 47, 47, .6); }
.brk__amp { color: var(--g9); transition: color .4s; }
.brk:has(.on) .brk__amp { color: var(--red); }
.brk h3 { font-size: 26px; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 18px 0 12px; }
.brk p { color: var(--g4); font-size: 15.5px; line-height: 1.55; }
.brk__go { margin-top: auto; padding-top: 26px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.brk__go b { font-weight: 400; transition: transform .3s var(--ease); }
.brk:hover .brk__go { color: var(--red); }
.brk:hover .brk__go b { transform: translateX(6px); }

/* steps: the wire runs down through each dot */
.steps-sec .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.steps-sec .sticky { position: sticky; top: 120px; align-self: start; }
.steps li { position: relative; padding: 0 0 46px 70px; }
.steps li:last-child { padding-bottom: 0; }
.steps__dot { position: absolute; z-index: 5; left: 12px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px var(--bg); transition: background .4s, box-shadow .4s; }
.steps__dot.on { background: var(--red); box-shadow: inset 0 0 0 2px var(--red), 0 0 0 6px var(--bg), 0 0 16px 4px rgba(211, 47, 47, .45); }
.steps .m { color: var(--g6); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 24px; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px; }
.steps p { color: var(--g4); max-width: 480px; }

.stars { --fill: 100%; position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; color: #d6d6d6; line-height: 1; }
.stars::before { content: '\2605\2605\2605\2605\2605'; }
.stars::after { content: '\2605\2605\2605\2605\2605'; position: absolute; left: 0; top: 0; width: var(--fill); overflow: hidden; color: var(--red); white-space: nowrap; }

/* FAQ */
.faq-sec .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 26px; line-height: .8; color: var(--red); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--g4); max-width: 640px; padding: 0 0 26px; }

/* "see all" link under a strip */
.more { display: flex; justify-content: flex-end; margin-top: 30px; }
.more a { font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.more a:hover { color: var(--red); border-color: var(--red); }

/* end block */
.fine { color: var(--g6); font-size: 13.5px; line-height: 1.55; max-width: 360px; }

/* site footer */
.site-foot { padding: 0 0 40px; color: var(--g4); font-size: 15px; }
.site-foot__cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-top: 50px; border-top: 1px solid var(--rule); }
.site-foot h4 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--g6); margin-bottom: 16px; }
.site-foot li { margin-bottom: 9px; }
.site-foot a:hover { color: var(--red); }
.site-foot .logo { height: 17px; margin-bottom: 20px; }
.site-foot__lic { color: var(--ink); font-weight: 600; }
.site-foot__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--g6); font-size: 13.5px; }
.site-foot__bot nav { display: flex; gap: 20px; }

/* placeholder marker: content we still need from the owner */
.tbd { position: relative; outline: 1px dashed rgba(211, 47, 47, .55); outline-offset: 4px; }
.tbd::after { content: 'TBD'; position: absolute; right: -8px; top: -12px; z-index: 6; font: 500 9px/1 var(--mono); letter-spacing: .08em; color: #fff; background: var(--red); padding: 3px 4px 2px; border-radius: 2px; }

@media (max-width: 1100px) {
  .brks { grid-template-columns: 1fr 1fr; row-gap: 70px; }
  .brk:nth-child(2) { border-right: 1px solid var(--rule); }
  .site-foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav__links { gap: 22px; }
  .nav__est { display: none; }
}
@media (max-width: 860px) {
  .nav__menu { display: block; }
  .nav__right { gap: 8px; }
  .phero { padding: 108px 0 90px; }
  .crumbs { margin-bottom: 34px; }
  .phero__grid, .sec__head, .steps-sec .wrap, .faq-sec .wrap { grid-template-columns: 1fr; gap: 50px; }
  .phero .txt { padding: 0; }
  .phero .h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .phero .ph__in { min-height: 0; aspect-ratio: 4 / 4.4; }
  .sec__head { margin-bottom: 64px; gap: 0; }
  .brks { padding-top: 30px; row-gap: 64px; }
  .brk { padding: 38px 12px 4px 14px; min-height: 0; }
  .brk__pin { left: 12px; }
  .brk h3 { font-size: 21px; margin-top: 12px; }
  .brk p { font-size: 14.5px; }
  .brk__go { padding-top: 18px; }
  .steps-sec .sticky { position: static; }
  .steps li { padding-left: 58px; padding-bottom: 38px; }
  .steps__dot { left: 8px; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .site-foot__cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .site-foot__brand { grid-column: 1 / -1; }
}

/* inner-page rhythm */
.steps { list-style: none; }
.phero { padding-bottom: 80px; }
main > .sec:not(.phero):not(.contact):not(.band) { padding: 120px 0; }
@media (max-width: 860px) { .phero { padding-bottom: 50px; } main > .sec:not(.phero):not(.contact):not(.band) { padding: 80px 0; } }
#work .h2 { margin-bottom: 64px; }
@media (max-width: 860px) { #work .h2 { margin-bottom: 44px; } }

/* larger header, breadcrumbs and kicker (owner feedback 2026-11-20) */
.nav .logo { height: 22px; }
.nav__links { font-size: 16px; }
.nav__est, .nav__call { font-size: 15px; }
.crumbs { font-size: 13.5px; }
.k { font-size: 14px; }
@media (max-width: 1100px) { .nav__links { font-size: 15px; } }
@media (max-width: 860px) { .crumbs { font-size: 12.5px; } .k { font-size: 12.5px; } }
.dd > a, .nav__links > a { white-space: nowrap; }
@media (max-width: 1240px) { .nav__links { gap: 22px; font-size: 15px; } .nav .logo { height: 19px; } }

/* ---- owner feedback 2026-11-21: labels and captions readable ---- */
.k { font-size: 16px; font-weight: 500; letter-spacing: .07em; }
.ph figcaption { font-size: 14px; color: var(--g4); }
.brk__amp { font-size: 13px; color: var(--g6); }
@media (max-width: 860px) { .k { font-size: 14px; } .ph figcaption { font-size: 13px; } .brk__amp { font-size: 12.5px; } }
a.ul { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* service cards: starting price */
.brk__from { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.brk__from .m { color: var(--g6); font-size: 12px; }
.brk__from b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.brk__from b.brk__q { font-size: 17px; letter-spacing: -.01em; }
.brk__from + .brk__go { margin-top: 0; padding-top: 14px; }

/* price schedule: drawn like a panel directory */
.sched { background: #fff; }
.sched__head, .sched__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: baseline; padding: 0 28px; }
.sched__head { padding-top: 22px; padding-bottom: 14px; color: var(--g6); font-size: 12px; border-bottom: 1.5px solid var(--ink); }
.sched__head span:last-child { text-align: right; }
.sched__row { padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); transition: background .3s; }
.sched__row:hover { background: #fafafa; }
.sched__no { color: var(--red); font-size: 13px; }
.sched__job b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.sched__job small { display: block; margin-top: 4px; color: var(--g6); font-size: 14.5px; line-height: 1.45; }
.sched__pr { text-align: right; white-space: nowrap; }
.sched__pr b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.sched__pr b.sched__q { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--g4); }
.sched__foot { padding: 18px 28px 22px; color: var(--g4); font-size: 12.5px; line-height: 1.6; }

/* EV panel load check */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
.calc__in { padding: 34px 40px 10px; border-right: 1px solid var(--rule); }
.calc fieldset { border: 0; padding: 0 0 30px; margin: 0 0 26px; border-bottom: 1px dashed var(--rule); }
.calc fieldset:last-child { border-bottom: 0; margin-bottom: 0; }
.calc legend { color: var(--red); font-size: 13px; margin-bottom: 16px; padding: 0; }
.calc__hint { margin-top: 10px; color: var(--g6); font-size: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 999px; padding: 4px; gap: 4px; }
.seg input, .tgl input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 20px; border-radius: 999px; font-family: var(--mono); font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.seg label:hover span { background: #f0f0f0; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span, .tgl input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 3px; }
.calc__range { display: flex; align-items: center; gap: 20px; }
.calc__range input { flex: 1; accent-color: var(--red); height: 28px; cursor: pointer; }
.calc__range output { font-family: var(--mono); font-size: 15px; min-width: 120px; text-align: right; }
.tgls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.tgl { position: relative; display: flex; align-items: center; gap: 14px; font-size: 16px; cursor: pointer; }
/* a small breaker toggle, like the service cards */
.tgl i { position: relative; flex: none; width: 20px; height: 34px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--ink); transition: box-shadow .3s; }
.tgl i::after { content: ''; position: absolute; left: 5px; right: 5px; top: 17px; height: 12px; border-radius: 2px; background: var(--ink); transition: top .35s var(--ease), background .25s; }
.tgl input:checked + i { box-shadow: inset 0 0 0 2px var(--red); }
.tgl input:checked + i::after { top: 5px; background: var(--red); }
.calc__out { padding: 34px 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.gauge { width: 100%; max-width: 340px; align-self: center; overflow: visible; }
.gauge__track, .gauge__val { fill: none; stroke-width: 10; }
.gauge__track { stroke: #ececec; }
.gauge__val { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease), stroke .4s; }
.gauge__ticks line { stroke: var(--g9); stroke-width: 1.5; }
.gauge__ticks line.hot { stroke: var(--red); stroke-width: 2; }
.gauge__ticks text { font-family: var(--mono); font-size: 10px; fill: var(--g6); text-anchor: middle; }
.gauge__needle { stroke: var(--red); stroke-width: 3; stroke-linecap: round; transform-origin: 130px 130px; transform: rotate(-90deg); transition: transform .6s var(--ease); }
.gauge__hub { fill: var(--red); }
.calc[data-state="tight"] .gauge__val, .calc[data-state="over"] .gauge__val { stroke: var(--red); }
.calc__pct { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.calc__pct b { font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.calc__pct .m { color: var(--g6); font-size: 12.5px; }
.calc__amps { color: var(--g4); font-size: 13px; margin-top: 8px; }
.calc__verdict { margin-top: 26px; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.calc[data-state="tight"] .calc__verdict, .calc[data-state="over"] .calc__verdict { color: var(--red); }
.calc__note { margin: 10px 0 26px; color: var(--g4); font-size: 16px; line-height: 1.55; }
.calc__fine { margin-top: 22px; color: var(--g6); font-size: 13px; line-height: 1.55; }

@media (max-width: 1040px) {
  .calc { grid-template-columns: 1fr; }
  .calc__in { border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 860px) {
  .brk__from b { font-size: 21px; }
  .sched__head, .sched__row { grid-template-columns: 34px 1fr; gap: 6px 14px; padding-left: 16px; padding-right: 16px; }
  .sched__head span:last-child { display: none; }
  .sched__pr { grid-column: 2; text-align: left; }
  .sched__pr b { font-size: 22px; }
  .sched__job b { font-size: 17px; }
  .sched__job small { font-size: 13.5px; }
  .sched__foot { padding: 16px; }
  .calc__in, .calc__out { padding: 26px 18px; }
  .tgls { grid-template-columns: 1fr; gap: 14px; }
  .seg span { padding: 9px 15px; font-size: 13.5px; }
  .calc__range output { min-width: 96px; font-size: 14px; }
  .calc__pct b { font-size: 46px; }
  .calc__verdict { font-size: 24px; }
}

/* remodeling: junction box band with text */
.jsec .h2 { margin-top: 56px; }
.lead--c { margin: 0 auto; text-align: center; max-width: 640px; }
.jsec:has(.h2) { padding: 90px 0 110px; }
@media (max-width: 860px) { .jsec .h2 { margin-top: 40px; } .jsec:has(.h2) { padding: 60px 0 70px; } }

/* contact page: details list + estimate form */
.cform-grid { align-items: start; }
.clist { margin-top: 40px; max-width: 460px; }
.clist li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--rule); font-weight: 500; }
.clist li:last-child { border-bottom: 1px solid var(--rule); }
.clist .m { color: var(--g6); font-size: 12.5px; font-weight: 400; }
.clist a:hover { color: var(--red); }
.cform { position: relative; background: #fff; padding: 34px 36px 30px; }
.cform fieldset { border: 0; padding: 0 0 26px; margin: 0 0 24px; border-bottom: 1px dashed var(--rule); }
.cform legend { color: var(--red); font-size: 13px; margin-bottom: 16px; padding: 0; }
.seg--wrap { border-radius: 26px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--g4); }
.fld input, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 11px 12px; outline: none; transition: border-color .25s, background .25s; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld textarea:focus { border-color: var(--red); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.fld.bad input { border-color: var(--red); background: #fdf3f3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* SMS consent checkbox (TCPA): optional, unchecked by default; contact form and assistant */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 20px; font-size: 13px; line-height: 1.5; color: var(--g6); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #D32F2F; cursor: pointer; }
.consent a { color: inherit; text-decoration: underline; }
/* Site-visit picker after a sent request (js/book.js) */
.book-box { min-width: 0; }
.book { min-width: 0; margin-top: 24px; padding: 22px; border: 1.5px solid #111; border-radius: 14px; background: #fff; }
.book__h { font-weight: 700; font-size: 18px; color: #111; }
.book__sub { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--g6); }
.book__days { display: flex; gap: 8px; overflow-x: auto; margin: 16px -4px 0; padding: 4px; scrollbar-width: thin; }
.book__day, .book__time { flex: none; border: 1.5px solid #ccc; border-radius: 10px; background: #fff; color: #111; font: inherit; font-size: 14px; line-height: 1.3; cursor: pointer; }
.book__day { min-width: 74px; padding: 8px 10px; }
.book__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.book__time { padding: 10px 6px; }
.book__day:hover, .book__time:hover { border-color: #111; }
.book__day[aria-pressed="true"], .book__time[aria-pressed="true"] { border-color: #D32F2F; background: #D32F2F; color: #fff; }
.book__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 6px; }
.book__msg { font-size: 14px; color: #111; }
.book__done { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.book__done i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #D32F2F; color: #fff; font-style: normal; }
.cform__send { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cform__msg { font-size: 15px; color: var(--ink); }
.cform__msg.bad { color: var(--red); }
.cform.sent .cform__msg { font-weight: 600; }
.cform .btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 860px) {
  .cform { padding: 24px 18px; }
  .cform__grid { grid-template-columns: 1fr; }
  .cform__send .btn { width: 100%; }
}
@media (max-width: 860px) { .seg--wrap { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .seg--wrap span { text-align: center; } }

/* estimate form: optional attachments */
.att { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.att__btn { position: relative; display: inline-flex; cursor: pointer; }
.att__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.att__btn span { padding: 11px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 14.5px; font-weight: 600; transition: background .25s, color .25s; }
.att__btn:hover span { background: var(--ink); color: #fff; }
.att__btn input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.att__note { color: var(--g6); font-size: 13.5px; }
.att__list { flex-basis: 100%; list-style: none; }
.att__list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: 14.5px; }
.att__list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att__list small { color: var(--g6); font-family: var(--mono); font-size: 12px; }
.att__list button { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--red); cursor: pointer; padding: 0 4px; }

/* home page */
.list--go li { padding: 0; }
.list--go a { display: flex; justify-content: space-between; width: 100%; padding: 15px 0; transition: color .3s; }
.list--go a:hover { color: var(--red); }
.list--go a span { color: var(--red); transition: transform .3s var(--ease); }
.list--go a:hover span { transform: translateX(6px); }
.list span b { color: var(--ink); font-weight: 700; }
.txt .fine { margin-top: 16px; }
.more--l { justify-content: flex-start; }
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rcards__empty { grid-column: 1 / -1; color: var(--g6); font-size: 15px; padding: 28px; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
.rcard { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.rcard blockquote { font-size: 16.5px; line-height: 1.6; color: var(--g4); }
.rcard figcaption { color: var(--g6); font-size: 12px; margin-top: auto; }
@media (max-width: 860px) {
  .rcards { grid-template-columns: 1fr; }
}
/* screenshot stills (?snap): the viewport is the whole page, so the full-screen hero must not stretch */
body.snap .hero { min-height: 0; }

/* ===== Home (2026-11-21 structure) ===== */
.hero__row--one { grid-template-columns: 1fr auto; align-items: end; }
.h1--one { font-size: clamp(40px, 4.6vw, 72px); }
.k--c { text-align: center; }

/* reviews strip: honest headline + one badge per platform (home hero and footer) */
.rstrip { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--rule); }
.rstrip__head { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.rstrip__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.rbadge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); border-radius: 999px; font-size: 14.5px; transition: box-shadow .3s; }
a.rbadge:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rbadge img { height: 22px; width: auto; display: block; }
.rbadge__name { font-weight: 700; }
.rbadge__r { font-weight: 600; }
.rbadge__r i { font-style: normal; color: var(--red); }
.rbadge__n { color: var(--g6); font-size: 11.5px; }
.rbadge__n:empty { display: none; }
.rstrip--compact { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.rstrip--compact .rstrip__head { font-size: 14px; color: var(--g4); }
.rstrip--compact .rstrip__row { margin-top: 0; gap: 8px; }
.rstrip--compact .rbadge { padding: 6px 12px; font-size: 13px; }
.rstrip--compact .rbadge__n { display: none; }

/* the fork: one line splits into two doors */
.fork { position: relative; padding-top: 0; }
.fork .wrap { position: relative; }
.fork__node { position: relative; z-index: 5; width: 22px; height: 22px; margin: 70px auto 0; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 8px var(--bg); }
.fork__node i { position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); transition: background .4s; }
.fork__node.on i { background: var(--red); }
.fork__branch { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.fork__branch path { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.fork.on .fork__branch path { stroke-dashoffset: 0; }
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 110px; }
.door { display: flex; flex-direction: column; align-items: flex-start; }
.door__ph { position: relative; width: 100%; margin-bottom: 30px; }
.door__ph .ph__in { aspect-ratio: 4 / 3; height: auto; }
.door__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover .door__ph img { transform: scale(1.03); }
.door__k { color: var(--g6); font-size: 12.5px; }
.door--wire .door__k { color: var(--red); }
.door__t { font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 12px 0 16px; }
.door p { color: var(--g4); font-size: 17px; line-height: 1.6; max-width: 480px; margin-bottom: 26px; }
.door--draft:hover .btn--line { background: var(--ink); color: #fff; }

/* describe your project */
.ask__form { padding: 36px 40px 30px; }
.ask__box { position: relative; margin-bottom: 22px; }
.ask__box textarea { min-height: 150px; font-size: 19px; line-height: 1.5; padding: 18px 18px 64px; }
.ask__tools { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ask__tools .att { margin-top: 0; display: flex; align-items: center; gap: 12px; }
.ask__tools .att__list { position: absolute; top: 100%; left: 0; right: 0; margin-top: 18px; }
.ask__mic { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ask__mic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ask__mic.rec { background: var(--red); animation: mic 1.2s ease-in-out infinite; }
@keyframes mic { 50% { box-shadow: 0 0 0 8px rgba(211, 47, 47, .18); } }
.ask__box:has(.att__list li) { margin-bottom: 70px; }
.cform__grid--4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }

/* just finished */
.latest .ph--tall .ph__in { min-height: 520px; }

/* service area map */
.map { position: relative; }
.map__svg { width: 100%; height: auto; display: block; overflow: visible; }
.map__outline { fill: #fff; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.map.on .map__outline { stroke-dashoffset: 0; }
.map__pts circle { fill: var(--g9); transition: fill .4s; }
.map__pts text { font-family: var(--mono); font-size: 12px; fill: var(--g4); opacity: 0; transition: opacity .5s; }
.map__pts .home circle { fill: var(--red); }
.map__pts .home text { fill: var(--ink); font-weight: 700; font-size: 13px; }
.map.on .map__pts circle { fill: var(--red); }
.map.on .map__pts text { opacity: 1; }
.map__pts g:nth-child(2) * { transition-delay: .9s; } .map__pts g:nth-child(3) * { transition-delay: 1s; } .map__pts g:nth-child(4) * { transition-delay: .7s; }
.map__pts g:nth-child(5) * { transition-delay: 1.1s; } .map__pts g:nth-child(6) * { transition-delay: 1.2s; } .map__pts g:nth-child(7) * { transition-delay: 1.3s; }
.map__pts g:nth-child(8) * { transition-delay: 1.4s; } .map__pts g:nth-child(9) * { transition-delay: 1.5s; } .map__pts g:nth-child(10) * { transition-delay: 1.6s; }
.map__pts g:nth-child(11) * { transition-delay: 1.7s; } .map__pts g:nth-child(12) * { transition-delay: 1.8s; }
.map figcaption { position: static; margin-top: 10px; color: var(--g6); }
.cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; max-width: 480px; }
.cities li { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; font-size: 14.5px; }

@media (max-width: 1040px) { .cform__grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .hero__row--one { grid-template-columns: 1fr; }
  .rstrip { margin-top: 36px; }
  .rbadge { padding: 8px 12px; font-size: 13.5px; }
  .doors { grid-template-columns: 1fr; gap: 70px; margin-top: 110px; }
  .door__ph { margin-bottom: 22px; }
  .ask__form { padding: 22px 16px; }
  .ask__box textarea { font-size: 17px; min-height: 190px; }
  .ask__tools .att__note { display: none; }
  .ask__mic, .ask__tools .att__btn { padding: 9px 14px; font-size: 14px; }
  .cform__grid--4 { grid-template-columns: 1fr; }
  .latest .ph--tall .ph__in { min-height: 0; aspect-ratio: 4 / 3; }
  .map__pts text { font-size: 15px; }
}
@media (max-width: 860px) { .latest .txt { margin-top: 28px; } }

/* owner fixes 2026-11-21: door buttons on one line, "★ 4.9 · 130+ reviews" headline, brand icons, real map */
.door p { flex: 1; }
.rs__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.rs__star { color: var(--red); font-size: 30px; line-height: 1; }
.rs__head b { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rs__n { font-size: 20px; font-weight: 600; }
.rs__on { color: var(--g6); font-size: 15px; }
.rbadge__ic { width: 20px; height: 20px; flex: none; background: var(--c); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.rstrip--compact .rs__head b { font-size: 22px; }
.rstrip--compact .rs__star { font-size: 18px; }
.rstrip--compact .rs__n { font-size: 15px; }
.rstrip--compact .rs__on { display: none; }
.map--real .map__real { display: block; width: 100%; height: auto; aspect-ratio: 10 / 11; background: #e9e9e9; }
@media (max-width: 860px) {
  .rs__head b { font-size: 32px; }
  .rs__on { flex-basis: 100%; }
  .door p { flex: none; }
}

/* owner fixes 2 (2026-11-21): official logos, less empty space, soft map zone, "and more" */
.rbadge img.rbadge__logo { height: 20px; width: auto; display: block; }
.rbadge img.rbadge__logo--word { height: 14px; }
.home main > .sec.hero:not(.phero):not(.contact):not(.band) { min-height: 0; padding-bottom: 40px; }
.home main > .sec.fork:not(.phero):not(.contact):not(.band) { padding-top: 30px; padding-bottom: 70px; }
.home main > .sec.ask:not(.phero):not(.contact):not(.band) { padding-top: 70px; }
.cities__more { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 860px) {
  .home main > .sec.hero:not(.phero):not(.contact):not(.band) { padding-bottom: 24px; }
  .home main > .sec.fork:not(.phero):not(.contact):not(.band) { padding-top: 20px; padding-bottom: 48px; }
  .home main > .sec.ask:not(.phero):not(.contact):not(.band) { padding-top: 48px; }
  .cities__more { font-size: 22px; }
}

/* cursor glow (all pages except Remodeling and Electrical): brand red #D32F2F, kept soft */
.cglow, .cdot { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.cglow.on, .cdot.on { opacity: 1; }
.cglow { display: none; } /* the big trailing spot was rejected by the owner; the dot carries its own small halo */
.cdot::before { content: ''; position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px 3px rgba(211, 47, 47, .45), 0 0 16px 8px rgba(211, 47, 47, .18); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, box-shadow .3s; }
.cdot.big::before { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(211, 47, 47, .08); box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 1.5px #fff, 0 0 12px 3px rgba(211, 47, 47, .25); } /* white outer edge keeps the ring visible on red buttons */
body.has-glow, body.has-glow a, body.has-glow button, body.has-glow label { cursor: none; }
body.has-glow input, body.has-glow textarea { cursor: text; }
@media (hover: none), (pointer: coarse) { .cglow, .cdot { display: none; } }
/* a frame that goes on to wrap its card: its near side grows in step with the line (--k from line.js),
   starting at the top corner with it and meeting it at the bottom corner (owner, 2026-11-21) */
[data-tap="frame"][data-exit="wrap"]::after, [data-tap].on[data-exit="wrap"]::after { transform: scaleY(var(--k, 0)); transition: none; }

/* ===== About ===== */
.about__text { margin-top: 34px; max-width: 520px; }
.about__text p { font-size: 18px; line-height: 1.65; color: var(--g4); margin-bottom: 16px; }
.about__text b { color: var(--ink); }
.about__owner { position: relative; align-self: start; }
.about__ph { aspect-ratio: 4 / 5; background: #ececec; display: flex; align-items: flex-end; padding: 18px; }
.about__ph .m { color: var(--g6); }
.about__owner figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.about__owner figcaption b { font-size: 20px; }
.about__owner figcaption .m { color: var(--g6); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.facts li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 30px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.facts li > i { position: absolute; top: -1px; left: 0; width: 1px; height: 1px; }
.facts li + li > i { left: 28px; }
.facts .m { color: var(--g6); }
.facts b { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.facts span:not(.m) { color: var(--g4); font-size: 15.5px; }
.facts a { font-size: 15.5px; align-self: flex-start; }
@media (max-width: 860px) {
  .about__owner { max-width: 420px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(3) > i { left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
main > .sec.about-facts:not(.phero):not(.contact):not(.band) { padding-top: 40px; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding-left: 0; border-left: 0; }
  .facts li > i, .facts li + li > i { left: 0; }
  .facts li + li { border-top: 1px solid var(--rule); }
}

/* speed: first-screen text fades in by CSS from the first paint instead of waiting for the reveal script
   (it was the page's largest paint, so LCP waited for the deferred JS) */
@keyframes rv-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.phero .rv, .hero .rv { animation: rv-in .9s var(--ease) .15s both; }
body.snap .phero .rv, body.snap .hero .rv { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .phero .rv, .hero .rv { animation: none; opacity: 1; transform: none; } }
/* review platforms strip on inner pages (the same strip as the top of Home) */
.phero .rstrip { margin-top: 34px; padding-top: 18px; }
.phero .rs__head b { font-size: 30px; }
.phero .rs__star { font-size: 24px; }
.phero .rs__n { font-size: 17px; }
.phero .rs__on { flex-basis: 100%; font-size: 14px; }
.rstrip--sec { margin: 0 0 34px; }
.phero .rstrip__row { gap: 6px; }
.phero .rbadge { padding: 7px 11px; gap: 6px; font-size: 13.5px; white-space: nowrap; }
.phero .rbadge img.rbadge__logo { height: 17px; }
.phero .rbadge img.rbadge__logo--word { height: 12px; }
.phero .rbadge__ic { width: 17px; height: 17px; }
.rstrip--grid .rstrip__row { display: grid; grid-template-columns: repeat(2, max-content); }
/* About: experience line under the headline */
.about__since { margin-top: 22px; color: var(--g6); font-size: 13px; letter-spacing: .06em; }
/* privacy policy page */
.legal__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px 80px; align-items: start; }
.legal__head { position: sticky; top: 110px; }
.legal__date { margin-top: 22px; color: var(--g6); font-size: 12.5px; }
.legal__body { max-width: 680px; }
.legal__body h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.legal__body p, .legal__body li { font-size: 16.5px; line-height: 1.7; color: var(--g4); }
.legal__body p { margin-bottom: 12px; }
.legal__body b { color: var(--ink); }
.legal__body ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.legal__body li { margin-bottom: 4px; }
.legal__lead { font-size: 18px !important; color: var(--ink) !important; }
@media (max-width: 860px) { .legal__grid { grid-template-columns: 1fr; } .legal__head { position: static; } }
.about__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.about__ph { position: relative; overflow: hidden; }
/* Home reviews: the line drops down the right-hand margin here instead of crossing the reviews text */
#reviews .wrap { position: relative; }
/* on the same vertical as the line's exit to the Call button: content edge + the frame gap (owner, 2026-11-30) */
.rev__node { position: absolute; top: 0; right: calc(var(--pad) - var(--p, 18px) - .5px); width: 1px; height: 1px; }
@media (max-width: 860px) { .rev__node { right: calc(34px - var(--p, 10px) - .5px); } } /* phone .wrap has 34px on the right */
/* Electrical: tighter rhythm between sections (owner: too much empty space; Remodeling is the reference) */
body[data-section="electrical"] main > .sec:not(.phero):not(.contact):not(.band) { padding: 80px 0; }
body[data-section="electrical"] .phero { padding-bottom: 40px; }
body[data-section="electrical"] main > .sec.steps-sec:not(.phero):not(.contact):not(.band) { padding-bottom: 30px; }
body[data-section="electrical"] .band { padding-top: 60px; }
@media (max-width: 860px) {
  body[data-section="electrical"] main > .sec:not(.phero):not(.contact):not(.band) { padding: 56px 0; }
  body[data-section="electrical"] main > .sec.steps-sec:not(.phero):not(.contact):not(.band) { padding-bottom: 24px; }
  body[data-section="electrical"] .band { padding-top: 44px; }
}
/* license number -> CSLB license check; email -> mail app. Same hover everywhere. */
a.lic, a[href^="mailto:"] { transition: color .2s; }
a.lic:hover, a[href^="mailto:"]:hover { color: var(--red); }
/* 404 page: links to the main sections */
.legal__body .nf__list { list-style: none; padding-left: 0; margin-top: 28px; max-width: none; }
.legal__body .nf__list li { margin: 0; font-size: 17px; color: var(--ink); }
.nf__list a { font-weight: 700; transition: color .2s; }
.nf__list a:hover { color: var(--red); }
.nf__list a { white-space: nowrap; }
@media (max-width: 560px) { .nf__list li { flex-direction: column; gap: 2px; } .nf__list li span { text-align: left; font-size: 15px; } }

/* projects gallery and project page (tools/build_projects.py) */
.mock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--red); color: #fff; text-align: center; padding: 7px 12px; font-size: 11px; }
.pjs__head { margin-bottom: 50px; }
.pjs .h1 { margin-bottom: 0; }
.pjf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 44px; }
.chip { font: inherit; font-weight: 600; font-size: 15px; padding: 11px 18px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); cursor: pointer; transition: box-shadow .25s, background .25s, color .25s; }
.chip i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--g9); margin-left: 4px; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] i { color: #bbb; }
.pjf__city { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--g6); }
.pjf__city select { font: inherit; font-size: 15px; padding: 10px 34px 10px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center no-repeat; appearance: none; color: var(--ink); cursor: pointer; }
.pjg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 32px; }
.pj[hidden] { display: none; }
.pj a { display: flex; flex-direction: column; gap: 8px; }
.pj__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; margin-bottom: 10px; }
.pj__ph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .35s var(--ease); }
.pj__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .6s ease, transform 1s var(--ease); }
.pj a:hover .pj__ph img, .pj a:focus-visible .pj__ph img { filter: none; transform: scale(1.04); }
.pj a:hover .pj__ph::after { box-shadow: inset 0 0 0 var(--sw) var(--red); }
@media (hover: none) { .pj__ph img { filter: none; } }
.pj__tag { position: absolute; left: 10px; top: 10px; background: rgba(251, 251, 251, .92); color: var(--red); padding: 4px 7px; }
.pj__k { color: var(--red); }
.pj__t { font-size: 22px; line-height: 1.15; letter-spacing: -.03em; transition: color .2s; }
.pj a:hover .pj__t { color: var(--red); }
.pj__c { color: var(--g6); }
.pjg__none { color: var(--g6); padding: 30px 0; }
.pj1__h { font-size: clamp(40px, 4.6vw, 68px) !important; }
.pj1__h .ln > span { display: inline; }
.pj1 .list { margin-top: 30px; }
.ba { position: relative; align-self: center; }
.ba__in { --x: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; touch-action: pan-y; }
.ba__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__in > img { filter: grayscale(1); }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.ba__h { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--sw); margin-left: calc(var(--sw) / -2); background: var(--red); pointer-events: none; }
.ba__h::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 20px -6px rgba(211, 47, 47, .8); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__l, .ba__r { position: absolute; top: 12px; background: rgba(251, 251, 251, .92); padding: 4px 7px; pointer-events: none; }
.ba__l { left: 12px; } .ba__r { right: 12px; color: var(--red); }
.ba figcaption, .pj__hero figcaption { margin-top: 14px; color: var(--g6); position: static; }
.pj__hero { align-self: center; justify-self: start; }
.pj__hero .ph__in { min-height: 0 !important; }
.pj__hero img { filter: none; transform: none; }
.pj1__scope { margin-top: 30px; max-width: 520px; counter-reset: s; }
.pj1__scope li { counter-increment: s; display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid var(--rule); font-weight: 500; font-size: 17px; }
.pj1__scope li:last-child { border-bottom: 1px solid var(--rule); }
.pj1__scope li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--red); padding-top: 4px; }
.pj1__cta { position: relative; align-self: start; padding: 44px; } /* the red line draws its frame */
.pj2grid { grid-template-columns: 1.05fr .95fr; gap: 110px; } /* same columns as the top, so the line runs straight down */
.pjx__box > .k { margin-bottom: 22px; }
.pj1__cta .h3 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 14px; }
.pjps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pjp { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e9e9e9; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.pjp img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pjp:hover img { transform: scale(1.05); }
.pjp span { position: absolute; left: 8px; top: 8px; background: rgba(251, 251, 251, .92); padding: 3px 6px; color: var(--red); }
.pjmore__h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pjmore__h a { color: var(--ink); } .pjmore__h a:hover { color: var(--red); }
.lb { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; background: transparent; width: fit-content; height: fit-content; max-width: 94vw; max-height: 92vh; overflow: visible; }
/* the site's drawing-tool cursor is hidden here: a normal pointer over the photo viewer */
body .lb, body .lb img { cursor: zoom-out; }
body .lb .lb__x { cursor: pointer; }
.lb::backdrop { background: rgba(17, 17, 17, .88); cursor: zoom-out; }
.lb img { display: block; max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lb__x { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.lb { overflow: visible; }
.lb::backdrop { cursor: default; }
body .lb, body .lb img { cursor: default; }
.lb__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 30px; line-height: 1; padding-bottom: 4px; cursor: pointer; transition: background .2s, color .2s; }
body .lb .lb__nav { cursor: pointer; }
.lb__nav:hover, .lb__x:hover { background: var(--red); color: #fff; }
.lb__prev { left: 18px; } .lb__next { right: 18px; }
.lb__n { position: fixed; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; }
.lb--one .lb__nav, .lb--one .lb__n { display: none; }
@media (max-width: 560px) { .lb__nav { width: 44px; height: 44px; font-size: 26px; background: rgba(255, 255, 255, .85); } .lb__prev { left: 8px; } .lb__next { right: 8px; } }
@media (max-width: 1040px) { .pjg { grid-template-columns: repeat(2, 1fr); } .pjps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .pjs__head { margin-bottom: 34px; gap: 20px; }
  .pjf__city { margin-left: 0; width: 100%; }
  .pjf__city select { flex: 1; }
  .pj1__cta { padding: 28px 22px; }
  .pj1 .phero__grid { gap: 40px; }
}
@media (max-width: 560px) {
  .pjg { grid-template-columns: 1fr; gap: 40px; }
  .pjps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .chip { padding: 10px 14px; font-size: 14px; }
  .pj1__cta .row .btn { width: 100%; }
}

/* tighter vertical spacing on every page (owner, 2026-11-29: "много свободного места — исключить везде") */
body[data-section] main > .sec:not(.phero):not(.contact):not(.band) { padding: 60px 0; }
body[data-section] .phero { padding-bottom: 40px; }
body[data-section] main > .sec.contact { padding-top: 70px; }
body[data-section] .contact .biglogo { margin-bottom: 70px; }
body[data-section="projects"] main > .sec.contact { padding-top: 14px; } /* the photo frame's bottom line is the logo's top: same gap above and below */
body[data-section="projects"] .contact .biglogo { margin-bottom: 96px; }
body[data-section] .sec__head { margin-bottom: 56px; }
body[data-section] main > .sec.about-facts:not(.phero):not(.contact):not(.band) { padding-top: 30px; }
body[data-section="home"] main > .sec.hero:not(.phero):not(.contact):not(.band) { padding-top: 120px; } /* the big logo clears the fixed header */
@media (max-width: 860px) {
  body[data-section="home"] main > .sec.hero:not(.phero):not(.contact):not(.band) { padding-top: 90px; }
  body[data-section] main > .sec:not(.phero):not(.contact):not(.band) { padding: 44px 0; }
  body[data-section] .phero { padding-bottom: 30px; }
  body[data-section] main > .sec.contact { padding-top: 50px; }
  body[data-section] .contact .biglogo { margin-bottom: 50px; }
  body[data-section="projects"] main > .sec.contact { padding-top: 50px; }
  body[data-section="projects"] .contact .biglogo { margin-bottom: 50px; }
  body[data-section] .sec__head { margin-bottom: 40px; }
}

/* projects: three directions, then the projects of one */
.pjds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pjds--2 { grid-template-columns: repeat(2, 1fr); gap: 48px; }
.pjds--2 .pjd__ph { aspect-ratio: 4 / 3; }
.pjds--1 { grid-template-columns: 1fr; max-width: 720px; }
.pjd a { display: flex; flex-direction: column; gap: 10px; }
.pjd__ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e9e9; margin-bottom: 8px; }
.pjd__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pjd a:hover .pjd__ph img { transform: scale(1.04); }
.pjd__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pjd__t b { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1; transition: color .2s; }
.pjd__t i { font-style: normal; color: var(--g6); }
.pjd__d { color: var(--g4); font-size: 16px; line-height: 1.5; }
.pjd__go { color: var(--red); }
.pjd a:hover .pjd__t b { color: var(--red); }
.pjo { margin-top: 44px; color: var(--g6); }
.pjo a { color: var(--ink); } .pjo a:hover { color: var(--red); }
@media (max-width: 860px) {
  .pjds, .pjds--2 { grid-template-columns: 1fr; gap: 40px; }
  .pjd__ph { aspect-ratio: 4 / 3; }
  .pj2grid { grid-template-columns: 1fr; gap: 44px; }
  .pj__hero { justify-self: stretch; width: 100% !important; }
}

/* Electrical / Other project: one screen — the text on the left, up to 4 photos on the right, then the logo */
.pjc .phero__grid { align-items: start; }
.pjc .pj1__scope { margin-top: 10px; }
.pjc__k { margin-top: 40px; }
.pjc__back { margin-top: 34px; }
.pjq { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: start; }
.pjq--1 { display: flex; justify-content: center; }
.pjq__one { max-width: 100%; }
.pjp--whole { aspect-ratio: auto; width: 100%; height: 100%; }
.pjq--2 .pjp { aspect-ratio: 3 / 4; }
.pjq--3 .pjp:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.pjp[hidden] { display: none; }
.pjq__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 17, 17, .5); color: #fff; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.pjq .pjp img { filter: none; }
@media (max-width: 860px) {
  .pjq { gap: 10px; }
  .pjc__k { margin-top: 30px; }
  .pjc__back { width: 100%; }
}

/* Remodeling project: the photos as tiles under the call-to-action, beside the scope list */
.pj2side { display: grid; gap: 60px; align-self: start; }
.pj2grid:has(.pj2side) { align-items: start; }
.pjq--grid .pjp { aspect-ratio: 1; }
@media (max-width: 860px) { .pj2side { gap: 44px; } }
