/* CV Electric — one-page site.
   Palette comes from the breaker panel and the logo wires:
   panel black, galvanized steel, breaker yellow, copper tips, white wire. */
:root{
  --ink:#141414;
  --ink-2:#1d1e1f;
  --line-dark:#2e3032;
  --field:#111212;
  --field-line:#3a3d40;
  --galv:#e7eae9;
  --card-line:#cdd2d1;
  --yellow:#f5d90a;
  --copper:#e2782f;
  --wire:#f2f1ec;
  --warn:#d9442b;
  --error:#ff9a85;
  --muted-dark:#a9a69e;
  --muted-light:#4c5155;
  --wrap:1200px;
  --gutter:clamp(16px,4vw,40px);
  --radius:8px;
  --ff-display:"Archivo",system-ui,sans-serif;
  --ff-mono:"IBM Plex Mono",ui-monospace,monospace;
  --ff-logo:"Teko",sans-serif;
  --tick:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4.5 9.5 l3 3 6-7' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{background:var(--ink);color:var(--wire);font:400 18px/1.55 var(--ff-display);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* the page may run under a notch (viewport-fit=cover, needed so the call bar can clear the iPhone home bar): keep content beside it in landscape */
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
ul{list-style:none}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.sec--galv :focus-visible{outline-color:var(--ink)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--yellow);color:var(--ink);padding:10px 14px;font-weight:700}
.skip:focus{left:8px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- type ---------- */
.eyebrow{font:600 13px/1.35 var(--ff-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--yellow)}
.eyebrow--dark{color:var(--muted-light)}
.h2{margin-top:16px;font-family:var(--ff-display);font-weight:800;font-stretch:88%;font-size:clamp(36px,4.6vw,64px);line-height:1;letter-spacing:-.01em;text-wrap:balance}
.sec__head{max-width:760px}
.sec__lead{margin-top:16px;font-size:19px;color:var(--muted-light);max-width:560px}

/* a yellow check box in front of each line of a list */
.ticks{display:grid;gap:10px;margin:22px 0 30px}
.ticks li{position:relative;padding-left:30px}
.ticks li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:4px;background:var(--yellow) var(--tick) center/100% no-repeat}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;font:700 18px/1.15 var(--ff-display);font-stretch:92%;text-decoration:none;padding:16px 24px;border-radius:var(--radius);border:2px solid transparent;cursor:pointer;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn--sm{font-size:16px;padding:11px 16px}
.btn--yellow{background:var(--yellow);color:var(--ink)}
.btn--ghost{background:none;border-color:rgba(242,241,236,.35);color:var(--wire)}
.btn--ghost:hover{border-color:var(--wire)}
/* the quietest of the three: a text link underlined in yellow */
.btn--link{padding-left:6px;padding-right:6px;color:var(--wire);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:6px}
.btn[disabled]{opacity:.6;cursor:progress;transform:none}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:50;background:rgba(20,20,20,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line-dark)}
.top__in{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:44px;height:auto}
.brand span{font:700 30px/1 var(--ff-logo);letter-spacing:.01em;padding-top:5px;white-space:nowrap}
.nav{display:flex;gap:28px}
.nav a{padding:6px 0;font:600 13px/1 var(--ff-mono);letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:#d7d5cf}
.nav a:hover{color:var(--yellow)}
.top__actions{display:flex;align-items:center;gap:12px}
.lang{display:flex;border:1.5px solid var(--line-dark);border-radius:var(--radius);overflow:hidden}
.lang button{font:600 13px/1 var(--ff-mono);letter-spacing:.08em;background:none;border:0;color:#d7d5cf;padding:10px 11px;cursor:pointer}
.lang button[aria-pressed="true"]{background:var(--yellow);color:var(--ink)}

/* ---------- hero: the real hex LED ceiling behind the headline ---------- */
.hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:min(calc(100svh - 72px),880px);padding:clamp(96px,14vh,160px) 0 34px;background:var(--ink);overflow:hidden;isolation:isolate}
.hero__bg{position:absolute;inset:0;z-index:-1;background:var(--ink)}
.hero__bg picture,.hero__bg img{display:block;width:100%;height:100%}
.hero__bg img{object-fit:cover;object-position:62% 24%}
/* bloom: a blurred, brightened copy screened on top makes the LED lines glow */
.hero__bg::before{content:"";position:absolute;inset:0;background:url(../img/hero-hex-wide.jpg) 62% 24%/cover no-repeat;filter:blur(12px) brightness(1.5) contrast(1.8) saturate(0);mix-blend-mode:screen;opacity:.6}
/* a deep shade under the copy, so the lines of text never sit on a bright tube */
.hero__bg::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(20,20,20,.94) 0%,rgba(20,20,20,.86) 34%,rgba(20,20,20,.32) 62%,rgba(20,20,20,0) 100%),
  linear-gradient(0deg,#141414 0%,rgba(20,20,20,0) 30%)}
/* tablets and phones held sideways: the copy covers most of the width, so the shade reaches further under it */
@media (min-width:761px) and (max-width:1180px){
  .hero__bg::after{background:
    linear-gradient(90deg,rgba(20,20,20,.94) 0%,rgba(20,20,20,.86) 50%,rgba(20,20,20,.5) 78%,rgba(20,20,20,.2) 100%),
    linear-gradient(0deg,#141414 0%,rgba(20,20,20,0) 30%)}
}
.hero__in{width:100%;padding-bottom:clamp(40px,5vw,64px)}
.hero__copy{max-width:720px}
/* the owner's slogan big, the valley line under it in a lighter, smaller cut of the same face */
.hero__title{margin-top:22px}
.hero__slogan{display:block;font-weight:720;font-stretch:90%;font-size:clamp(52px,7.2vw,104px);line-height:.95;letter-spacing:0;text-wrap:balance}
.hero__sub{display:block;margin-top:clamp(14px,1.5vw,20px);max-width:560px;font-weight:560;font-stretch:96%;font-size:clamp(21px,2.1vw,30px);line-height:1.2;color:#e4e1d9;text-wrap:balance}
/* the supporting line in the same mono as the labels around it: smaller and lighter, so the slogan carries the hero */
.hero__lead{margin-top:22px;max-width:540px;font:400 15px/1.7 var(--ff-mono);letter-spacing:.01em;color:#bfbcb4;text-wrap:pretty}
.hero__ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px}
.facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:30px;font:500 14px/1.4 var(--ff-mono);letter-spacing:.04em;color:var(--muted-dark)}
.facts li{display:flex;align-items:center;gap:8px}
.facts li::before{content:"";width:8px;height:8px;background:var(--yellow);border-radius:2px}
.hero__credit{width:100%;margin-bottom:22px;text-align:right;font:500 12px/1.45 var(--ff-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted-dark)}
@media (max-width:760px){
  .hero{min-height:0;padding-top:min(70vw,300px)}
  .hero__bg{bottom:auto;height:min(100vw,420px)}
  .hero__bg img{object-position:50% 50%}
  .hero__bg::before{background-image:url(../img/hero-hex-mobile.jpg);background-position:50% 50%}
  .hero__bg::after{background:linear-gradient(0deg,#141414 0%,rgba(20,20,20,.7) 28%,rgba(20,20,20,0) 62%)}
  .hero__credit{text-align:left}
}

/* the logo's three wires, meeting at the bolt: a thin fixed line under the hero and over the footer */
.wires{position:relative;display:grid;gap:4px;padding:0}
.wires i{display:block;height:4px}
.wires i:nth-child(1){--c:#8e9196}
.wires i:nth-child(2){--c:var(--yellow)}
.wires i:nth-child(3){--c:var(--wire)}
.wires i{background:linear-gradient(90deg,var(--c) 0,var(--c) calc(50% - 60px),var(--copper) calc(50% - 60px),var(--copper) calc(50% - 42px),transparent calc(50% - 42px),transparent calc(50% + 42px),var(--copper) calc(50% + 42px),var(--copper) calc(50% + 60px),var(--c) calc(50% + 60px),var(--c) 100%)}
.wires::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:37px;transform:translate(-50%,-50%);background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 44'><polygon fill='%23EE7615' points='9,0 22,0 15,17 25,17 8,44 12,24 1,24'/></svg>") center/contain no-repeat}

/* ---------- sections ---------- */
.sec{padding:clamp(72px,9vw,128px) 0}
.sec--galv{background:var(--galv);color:var(--ink)}
.sec--ink{background:var(--ink);color:var(--wire)}
.sec--ink .sec__lead{color:var(--muted-dark)}

/* ---------- homes and businesses: two equal halves, each a real photo coming out of the dark ---------- */
.paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;background:var(--ink)}
.path{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(620px,88vh,800px);overflow:hidden;color:var(--wire)}
.path__ph{position:absolute;inset:0;z-index:-1;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 8%,#000 20%);mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 8%,#000 20%)}
.path__ph img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%)}
.path__ph::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,20,20,.96) 0%,rgba(20,20,20,.88) 40%,rgba(20,20,20,.35) 68%,rgba(20,20,20,0) 92%)}
.path__body{width:100%;max-width:640px;padding:48px clamp(24px,5vw,80px) clamp(48px,6vw,80px)}
.path__title{margin-top:12px;font-weight:800;font-stretch:88%;font-size:clamp(40px,4.4vw,60px);line-height:1;letter-spacing:-.01em}
.path__lead{margin-top:14px;font-size:clamp(18px,1.4vw,20px);color:#dcd9d1;max-width:480px}
@media (max-width:760px){
  .paths{grid-template-columns:minmax(0,1fr);gap:0}
  .path{min-height:0}
  /* phones: the photo sits on top and melts into the dark, the copy follows under it */
  .path__ph{position:relative;inset:auto;height:min(78vw,380px);
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 62%,transparent 100%)}
  .path__ph::after{content:none}
  .path__body{margin-top:-64px;padding:0 var(--gutter) 64px}
}

/* ---------- services: three cards and a wide TV card, all visible ---------- */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,24px);margin-top:clamp(36px,4vw,56px)}
.card{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--card-line);border-radius:var(--radius);padding:clamp(24px,2.6vw,36px);box-shadow:0 1px 2px rgba(20,20,20,.06)}
.card__ico{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius);background:var(--yellow)}
.card__ico svg{width:38px;height:38px;fill:none;stroke:var(--ink);stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.card h3{margin-top:22px;font-weight:800;font-stretch:88%;font-size:clamp(26px,2.4vw,32px);line-height:1.05;letter-spacing:-.01em}
.card > p{margin-top:12px;color:var(--muted-light)}
.card .ticks{margin:20px 0 28px;font-size:17px}
.card__link{margin-top:auto;display:inline-flex;align-items:center;gap:8px;padding:10px 0;font-weight:700;color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:7px}
.card__link span[aria-hidden]{transition:transform .15s ease}
.card__link:hover span[aria-hidden]{transform:translateX(3px)}
/* TV installation: a full-width card; the job photo fills the right side and melts into the white from the left, no frame */
.card--wide{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch;padding:0;overflow:hidden;min-height:clamp(340px,34vw,460px)}
.card__body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,3.4vw,48px)}
.card__body > p{margin-top:12px;color:var(--muted-light);max-width:400px}
.card--wide .card__link{margin-top:24px}
.card__ph{position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.45) 9%,#000 22%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.45) 9%,#000 22%)}
.card__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
@media (max-width:860px){
  .card--wide{grid-template-columns:minmax(0,1fr);min-height:0}
  /* phones and tablets: the photo sits on top, edge to edge, and melts into the white under it */
  .card__ph{order:-1;height:min(64vw,400px);
    -webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,#000 62%,transparent 100%)}
  .card__body{margin-top:-32px;position:relative;padding:0 clamp(24px,2.6vw,36px) clamp(24px,2.6vw,36px)}
}

/* ---------- signs ---------- */
.signs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,3vw,36px);margin-top:48px}
.sign{border-top:2px solid var(--line-dark);padding-top:26px}
.sign svg{width:52px;height:52px;fill:none;stroke:var(--yellow);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sign svg .hot{stroke:var(--copper)}
.sign h3{margin-top:20px;font-weight:800;font-stretch:90%;font-size:24px;line-height:1.1;letter-spacing:-.01em}
.sign p{margin-top:10px;color:var(--muted-dark);font-size:17px}
.sign--warn{border-top-color:var(--warn)}
.sign--warn svg .hot{stroke:var(--warn)}
.signs__cta{margin-top:48px;font-size:20px;color:#cfccc4}
.signs__cta a{padding:3px 0;white-space:nowrap;color:var(--yellow);font-weight:700;text-decoration-thickness:2px;text-underline-offset:4px}

/* ---------- our work: before and after side by side like an open magazine,
   marked up in marker like a job photo on a phone ---------- */
/* desktop: the title on top, then the two photos edge to edge, each half the screen, coming out of the dark at the top and bottom */
.wall{position:relative;display:grid;align-items:start;
  grid-template-columns:[full-start] minmax(0,1fr) [wrap-start] minmax(0,calc(var(--wrap) / 2)) [mid] minmax(0,calc(var(--wrap) / 2)) [wrap-end] minmax(0,1fr) [full-end];
  --sp-h:clamp(600px,90vh,960px);
  padding:clamp(96px,8vw,128px) 0 clamp(24px,3vw,48px)}
.wall__copy{grid-column:wrap-start / mid;grid-row:1;align-self:end;padding:0 var(--gutter)}
.wall__lead.sec__lead{grid-column:mid / wrap-end;grid-row:1;align-self:end;margin:0;max-width:none;padding:0 var(--gutter) 6px clamp(24px,3vw,48px)}
.wall__ph{position:relative;grid-row:2;height:var(--sp-h);margin:clamp(8px,2vh,24px) 0 0;overflow:hidden;
  --fade-y:linear-gradient(180deg,transparent 0,rgba(0,0,0,.08) 4%,rgba(0,0,0,.4) 9%,#000 16%,#000 84%,rgba(0,0,0,.4) 92%,transparent 100%);
  -webkit-mask-image:var(--fade-y);mask-image:var(--fade-y)}
.wall__ph--before{grid-column:full-start / mid;margin-right:3px}
.wall__ph--after{grid-column:mid / full-end;margin-left:3px}
/* the photo runs 28px past its frame at the top and bottom: the marker marks are drawn for this crop */
.wall__ph img{position:absolute;left:0;top:-28px;width:100%;height:calc(100% + 56px);object-fit:cover}
.wall__ph--before img{object-position:50% 46%}
.wall__ph--after img{object-position:50% 40%}
/* clean labels on the photos: before on dark, after in breaker yellow */
.wall__tag{position:absolute;z-index:1;bottom:19%;padding:10px 14px 9px;border-radius:4px;font:600 14px/1 var(--ff-mono);letter-spacing:.16em;text-transform:uppercase;background:rgba(20,20,20,.8);color:var(--wire)}
.wall__ph--before .wall__tag{left:calc(max(0px,(100vw - var(--wrap)) / 2) + var(--gutter))}
.wall__ph--after .wall__tag{right:calc(max(0px,(100vw - var(--wrap)) / 2) + var(--gutter));background:var(--yellow);color:var(--ink)}
/* the marker marks lie over both photos: a loop on the tangle, an arrow over the seam to the panels, a check on each panel.
   The box is 1000 x 500 stretched over the pair, the before photo is 0-500 and the after photo 500-1000 */
.wall__marks{grid-column:full-start / full-end;grid-row:2;position:relative;z-index:2;width:100%;height:var(--sp-h);margin-top:clamp(8px,2vh,24px);
  pointer-events:none;overflow:visible}
.wall__marks path{fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
.wall__marks .w{stroke:var(--wire);stroke-width:4px}
.wall__marks .y{stroke:var(--yellow);stroke-width:4.6px}
.wall__marks .c{stroke:var(--yellow);stroke-width:4.2px}
/* tablets and phones: one column, the title, the before photo nearly a full screen tall, the line of copy, then the after photo; no marks */
@media (max-width:860px){
  .wall{display:flex;flex-direction:column;align-items:stretch;padding:clamp(64px,9vw,96px) 0 0}
  .wall__copy{align-self:stretch}
  .wall__marks{display:none}
  .wall__ph{height:min(150vw,86vh);height:min(150vw,86svh);margin-top:4px;--fade-y:linear-gradient(180deg,transparent 0,rgba(0,0,0,.06) 4%,rgba(0,0,0,.3) 8%,rgba(0,0,0,.72) 12%,#000 16%,#000 82%,rgba(0,0,0,.72) 88%,rgba(0,0,0,.3) 94%,transparent 100%)}
  .wall__ph--before,.wall__ph--after{margin-left:0;margin-right:0}
  .wall__ph--before img{object-position:50% 40%}
  .wall__ph--after img{object-position:50% 36%}
  .wall__ph--after{margin-top:0}
  .wall__lead.sec__lead{align-self:stretch;max-width:none;margin:-8px 0 -4px;padding:0 var(--gutter);position:relative;z-index:3}
  .wall__tag{bottom:22%}
  .wall__ph--before .wall__tag{left:var(--gutter)}
  .wall__ph--after .wall__tag{right:var(--gutter)}
}

/* ---------- lighting: a plain grid, each photo named underneath ---------- */
/* desktop: a wide photo and two tall ones share the first row (the tall ones take the wide one's height), then three across */
.gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(28px,3vw,40px) clamp(12px,1.6vw,20px);margin-top:clamp(36px,4vw,56px)}
.shot{grid-column:span 4}
.shot--wide{grid-column:span 6}
.shot--tall{grid-column:span 3}
.shot figure{display:flex;flex-direction:column;height:100%;margin:0}
.shot__ph{position:relative;overflow:hidden;aspect-ratio:4/3;border-radius:4px;background:var(--ink-2)}
.shot--tall .shot__ph{flex:1;aspect-ratio:auto;min-height:0}
.shot__ph img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%)}
.shot--tall .shot__ph img{position:absolute;inset:0}
.shot figcaption{margin-top:12px;font:600 13px/1.4 var(--ff-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted-dark)}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .shot__ph img{transition:transform .2s ease}
  .shot:hover .shot__ph img{transform:scale(1.02)}
}
@media (max-width:860px){
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shot,.shot--tall{grid-column:span 1}
  .shot--wide,.shot--row{grid-column:span 2}
  .shot--tall .shot__ph{flex:none;aspect-ratio:3/4}
  .shot--tall .shot__ph img{position:static}
}

/* ---------- about: the photo melts into the section instead of sitting in a frame ---------- */
/* the section starts --reach lower and the photo fills that room with more of its own sky, which fades in slowly (--fade, eased):
   no straight line where it starts. The fade stays above his head, which sits about 31% of the photo width down */
#about{position:relative;overflow:hidden;--reach:calc(min(60vw,920px) * .12);--fade:calc(min(60vw,920px) * .24);padding-top:calc(clamp(72px,9vw,128px) + var(--reach))}
.about__copy{position:relative;z-index:1;max-width:min(580px,50%)}
.about__photo{position:absolute;top:0;bottom:0;right:0;width:min(60vw,920px);margin:0;filter:brightness(.9) saturate(.9) contrast(1.04);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 40%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.06) calc(var(--fade) * .25),rgba(0,0,0,.3) calc(var(--fade) * .5),rgba(0,0,0,.72) calc(var(--fade) * .75),#000 var(--fade),#000 84%,transparent 100%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 40%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.06) calc(var(--fade) * .25),rgba(0,0,0,.3) calc(var(--fade) * .5),rgba(0,0,0,.72) calc(var(--fade) * .75),#000 var(--fade),#000 84%,transparent 100%);mask-composite:intersect}
.about__photo img{width:100%;height:100%;object-fit:cover;object-position:62% 0}
.about__lead{margin-top:24px;font-size:clamp(19px,1.7vw,22px);color:#cfccc4;max-width:600px}
.checks{margin-top:30px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;max-width:620px}
.checks li{position:relative;padding-left:30px;font-weight:600}
.checks li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:4px;background:var(--yellow) var(--tick) center/100% no-repeat}
@media (max-width:860px){
  #about{--reach:clamp(80px,12vw,110px);--fade:clamp(100px,20vw,170px)}
  .about__photo{position:relative;width:auto;height:calc(min(108vw,460px) + var(--reach));margin:calc(-1 * (clamp(72px,9vw,128px) + var(--reach))) calc(-1 * var(--gutter)) 0;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.06) calc(var(--fade) * .25),rgba(0,0,0,.3) calc(var(--fade) * .5),rgba(0,0,0,.72) calc(var(--fade) * .75),#000 var(--fade),#000 calc(100% - min(108vw,460px) * .45),transparent 100%);
    mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.06) calc(var(--fade) * .25),rgba(0,0,0,.3) calc(var(--fade) * .5),rgba(0,0,0,.72) calc(var(--fade) * .75),#000 var(--fade),#000 calc(100% - min(108vw,460px) * .45),transparent 100%)}
  .about__photo img{object-position:58% 12%}
  .about__copy{max-width:none;margin-top:-56px}
}

/* ---------- area ---------- */
.area{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,52px)}
.area__copy{max-width:640px}

/* the valley as a one-line diagram: CV Electric feeds a main line, every city is a tap */
.area__map{margin:0}
.vmap{display:block;width:100%;height:auto;overflow:visible}
.vmap--tall{display:none}
.vmap__casing{fill:none;stroke:var(--ink);stroke-width:9;stroke-linecap:round}
.vmap__core,.vmap__live{fill:none;stroke-width:3.5}
.vmap__core{stroke:#aab0ae;stroke-linecap:round}
.vmap__live{stroke:var(--yellow);stroke-dasharray:1 1;stroke-dashoffset:0}
.vmap__halo{fill:var(--yellow);opacity:.4}
.vmap__dot{fill:var(--yellow);stroke:var(--ink);stroke-width:3}
.vmap__stops text{font:600 17px var(--ff-display);fill:var(--ink)}
.vmap__src polygon{fill:var(--ink)}
.vmap__src path{fill:var(--copper)}
.vmap__compass circle{fill:none;stroke:var(--ink);stroke-width:1.5}
.vmap__needle{fill:var(--ink);stroke:var(--ink);stroke-width:1.2;stroke-linejoin:round}
.vmap__needle--open{fill:var(--galv)}
.vmap__compass text{font:600 12px var(--ff-mono);fill:var(--ink);text-anchor:middle}
.area__nts{margin-top:14px;font:500 12px/1 var(--ff-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted-light)}
@media (max-width:860px){
  .vmap--wide{display:none}
  .vmap--tall{display:block;max-width:420px}
  .vmap--tall .vmap__stops text{font-size:15px}
}

/* ---------- free quote: call or text on the left, the form on the right ---------- */
.quote{background:var(--ink);color:var(--wire);padding:clamp(80px,10vw,128px) 0}
.quote__in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,6vw,96px);align-items:start}
.quote__title{margin-top:16px;font-weight:800;font-stretch:88%;font-size:clamp(40px,5vw,68px);line-height:1;letter-spacing:-.01em}
.quote__lead{margin-top:20px;font-size:19px;color:#cfccc4;max-width:480px}
.quote__phone{display:inline-block;margin-top:28px;font-weight:800;font-stretch:80%;font-size:clamp(44px,5.4vw,76px);line-height:1;letter-spacing:-.01em;white-space:nowrap;text-decoration:none;color:var(--wire)}
.quote__phone:hover{color:var(--yellow)}
.quote__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.quote__note{margin-top:24px;font:600 13px/1.5 var(--ff-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted-dark)}

.qform{position:relative;background:var(--ink-2);border:1px solid var(--line-dark);border-radius:var(--radius);padding:clamp(24px,3vw,40px)}
.qform__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
.qform.is-sent .qform__fields{display:none}
.qform__req{grid-column:1/-1;font:500 13px/1 var(--ff-mono);letter-spacing:.06em;color:var(--muted-dark)}
.field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;border:0}
fieldset.field{display:block}
.field--full{grid-column:1/-1}
.field label,.field legend{font-size:16px;font-weight:600;color:var(--wire)}
.field legend{margin-bottom:8px;padding:0}
.field :is(input,select,textarea){width:100%;min-height:52px;padding:12px 14px;font:400 17px/1.4 var(--ff-display);color:var(--wire);background:var(--field);border:1.5px solid var(--field-line);border-radius:6px}
.field select{appearance:none;padding-right:40px;cursor:pointer;
  background:var(--field) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1.5l6 6 6-6' fill='none' stroke='%23f2f1ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") right 16px center/14px 9px no-repeat}
.field select option{background:var(--ink-2);color:var(--wire)}
.field textarea{min-height:120px;resize:vertical}
.field :is(input,select,textarea):focus-visible{outline:none;border-color:var(--yellow);box-shadow:0 0 0 3px rgba(245,217,10,.28)}
.field [aria-invalid="true"]{border-color:var(--error)}
.field__err{font-size:15px;color:var(--error)}
.field__err:empty{display:none}
/* Residential / Commercial as two big buttons */
.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.seg label{position:relative;display:flex}
.seg input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.seg span{flex:1;display:flex;align-items:center;justify-content:center;min-height:52px;padding:8px 12px;border:1.5px solid var(--field-line);border-radius:6px;background:var(--field);font-weight:600;text-align:center}
.seg input:checked + span{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.seg input:focus-visible + span{outline:3px solid var(--yellow);outline-offset:3px}
/* the honeypot: people never see it, form bots fill it in and FormSubmit drops those */
.qform__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.qform__send{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px}
.qform__send .btn{min-width:200px}
.qform__privacy{flex:1 1 220px;font-size:15px;color:var(--muted-dark)}
.qform__fail{grid-column:1/-1;padding:16px 18px;border:1.5px solid var(--error);border-radius:6px;background:rgba(255,154,133,.07)}
.qform__fail[hidden],.qform__done[hidden]{display:none}
.qform__fail p{font-size:16px;color:#e9e6de}
.qform__fail .btn{margin-top:12px}
.qform__done{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:8px 0}
.qform__done:focus{outline:none}
.qform__done-title{font-weight:800;font-stretch:88%;font-size:clamp(28px,3vw,40px);line-height:1}
.qform__done p:not(.qform__done-title){color:#cfccc4}
.qform__done .btn{margin-top:8px}

/* ---------- footer ---------- */
.foot{background:var(--ink);color:var(--wire);padding:0 0 32px}
.wires--top{transform:translateY(-10px)}
.foot__in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center;padding-top:56px;padding-bottom:40px}
.foot__brand{display:flex;flex-direction:column;align-items:center}
.foot__brand img{width:64px}
.foot__word{margin-top:4px;font:700 27px/.8 var(--ff-logo)}
.foot__lic{margin-top:6px;font:600 10px/1 var(--ff-display);letter-spacing:.14em}
.foot__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.foot__cols p{display:flex;flex-direction:column;gap:8px;font-size:17px}
.foot__k{font:600 12px/1 var(--ff-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted-dark)}
.foot__cols a{display:inline-block;padding:2px 0;font-weight:700;color:var(--yellow);text-decoration:none;font-size:22px}
.foot__bar{display:flex;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid var(--line-dark);font:500 13px/1 var(--ff-mono);letter-spacing:.06em;color:var(--muted-dark)}

/* ---------- mobile call bar ---------- */
.callbar{display:none}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .nav{display:none}
  .signs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .cards,.about,.area,.quote__in{grid-template-columns:minmax(0,1fr)}
  .foot__in{grid-template-columns:minmax(0,1fr);justify-items:start}
  .foot__brand{align-items:flex-start}
  .foot__cols{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .hide-sm{display:none}
  .brand span{font-size:24px}
  .brand img{width:34px}
  .top__actions .btn{display:none}
  .lang button{padding:9px 10px}
  .top__in{height:64px}
  .hero__ctas .btn--yellow,.hero__ctas .btn--ghost{flex:1 1 100%}
  .signs{grid-template-columns:minmax(0,1fr)}
  .checks{grid-template-columns:minmax(0,1fr)}
  .qform__fields{grid-template-columns:minmax(0,1fr)}
  .qform__send .btn{flex:1 1 100%}
  .foot__bar{flex-direction:column}
  .callbar{display:grid;grid-template-columns:2fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:60;box-shadow:0 -6px 20px rgba(0,0,0,.3)}
  .callbar a{display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:60px;padding-bottom:env(safe-area-inset-bottom,0px);font:800 19px/1 var(--ff-display);font-stretch:90%;text-decoration:none}
  .callbar__call{background:var(--yellow);color:var(--ink)}
  .callbar__text{background:var(--ink);color:var(--wire);border-top:1px solid var(--line-dark)}
}

/* ---------- motion: each block slides up 12px once as it comes into view (site.js adds .motion and .is-in) ---------- */
html.motion [data-reveal]{opacity:0;transform:translateY(12px);transition:opacity .3s ease-out,transform .3s ease-out}
html.motion [data-reveal].is-in{opacity:1;transform:none}
/* the before/after marks are drawn one after another the first time they are seen */
html.motion .wall__marks path{stroke-dasharray:1;stroke-dashoffset:1}
html.motion .wall__marks.is-in path{animation:wall-draw var(--d,.6s) cubic-bezier(.6,.1,.4,1) var(--t,0s) forwards}
@keyframes wall-draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
