/* ==========================================================================
   FONTS — self-hosted, and the same two faces as coldstreamexteriors.com, from
   the same files: Montserrat (700–900, variable) for every heading, button and
   label, and Inter (400–700, variable) for body copy. Headings are SENTENCE
   CASE, as on Exteriors. Both families are OFL 1.1; see assets/fonts/OFL.txt.
   Bebas Neue and Hanken Grotesk were retired 2026-09-28.
   ========================================================================== */
@font-face{
  font-family:'Montserrat';
  src:url('/assets/fonts/montserrat-var-latin-ext.woff2') format('woff2');
  font-weight:700 900; font-style:normal; font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,
    U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Montserrat';
  src:url('/assets/fonts/montserrat-var-latin.woff2') format('woff2');
  font-weight:700 900; font-style:normal; font-display:swap;
  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:'Inter';
  src:url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  font-weight:400 700; font-style:normal; font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,
    U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  src:url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  font-weight:400 700; font-style:normal; font-display:swap;
  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;
}

/* ==========================================================================
   COLDSTREAM POWER — site.css
   Design direction: an electrician's drawing, not a solar brochure.
   Thin rules, precise alignment, one live-wire accent. Restraint is the brand.
   ========================================================================== */

:root{
  /* Brand — Coldstream Power design system, 2026-08-05.
     Layout is unchanged from the original build; only colour and type moved. */
  --navy:        #0D2136;   /* dark sections, footers, scrims */
  --navy-deep:   #081826;   /* darker step for hero depth */
  --blue:        #4189C8;   /* Coldstream Blue — links, active states */
  --blue-dark:   #2E6494;   /* body links */
  --gold:        #F2A81C;   /* Signal Gold — the live wire. Use sparingly.
                               Ink on gold is 9.4:1. Never white on gold. */
  --gold-bright: #FBC00C;   /* hover step only — never beside --gold */
  --gold-text:   #B8790B;   /* amber as TEXT on a light surface only.
                              #F2A81C is 2.02:1 on white and fails even the
                              large-text threshold; this is 3.63:1. Never use
                              it as a fill — the brand accent stays #F2A81C. */

  /* Neutrals — warm paper, ink structure */
  /* Neutral-cool ramp. The previous surfaces were warm (44% saturation at 96%
     lightness on --surface), which read as cream. These are desaturated toward
     the navy so the light sections tie to the brand instead of fighting it.
     Still not pure white — a white page makes the amber go acidic. */
  --surface:     #F7F8FA;   /* page background */
  --ink:         #111111;
  --slate:       #55606E;   /* secondary text — 6.02:1 on surface */
  --steel:       #6B7583;   /* placeholder labels — 4.39:1 on surface */
  --line:        #DCE1E8;
  --line-soft:   #EBEEF2;
  --paper:       #FFFFFF;
  --mist:        #ECEFF3;   /* alternating band / raised panel */
  --tint:        #E8EFF7;   /* cool tinted panel */

  --focus:       #F2A81C;
  --scrim:       rgba(13,33,54,.74);

  /* Type */
  --display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Scale — 12 / 17 / 19 / 25 / 36 / 52 */
  --step--1: 0.6875rem;                              /* eyebrow / label   */
  --step-0:  1rem;                                   /* body              */
  --step-1:  1.0625rem;                              /* lede              */
  --step-2:  clamp(1.12rem, 1.8vw, 1.28rem);         /* h3   -> 1.28rem   */
  --step-3:  clamp(1.7rem,  3vw,   2.4rem);          /* h2   -> 2.4rem    */
  --step-4:  clamp(2.05rem, 4vw,   3.4rem);          /* h1   -> 3.4rem    */
  --step-stat: clamp(1.6rem, 3vw, 2.1rem);           /* stat figures      */

  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --measure: 620px;
  --shell: 76rem;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
body{
  margin:0; background:var(--surface); color:var(--ink);
  font-family:var(--body); font-size:var(--step-0); line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--blue-dark); text-underline-offset:.15em; }
a:hover{ color:var(--navy); }
:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }

/* Headline face, as on Exteriors: Montserrat, bold, sentence case, 1.08 leading. */
h1,h2,h3{
  font-family:var(--display); font-weight:700; text-transform:none; margin:0;
  line-height:1.08; letter-spacing:-.01em;
}
h1{ font-size:var(--step-4); font-weight:900; }
h2{ font-size:var(--step-3); font-weight:800; }
h3{ font-size:var(--step-2); }
/* h4 is the footer column head. */
h4{
  font-family:var(--body); font-weight:700; font-size:1.0625rem; line-height:1.25;
  margin:0; text-transform:none; letter-spacing:0;
}
p{ margin:0; }

.shell{ max-width:var(--shell); margin-inline:auto; padding-inline:var(--gutter); }
.stack > * + *{ margin-top:1rem; }
.measure{ max-width:var(--measure); }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;
}
.skip{
  position:absolute; left:-999px; top:0; background:var(--gold); color:var(--navy);
  padding:.6rem 1rem; font-weight:700; z-index:100;
}
.skip:focus{ left:0; }

/* --- SIGNATURE: the live line -------------------------------------------
   A hairline in Signal Gold with a single node, borrowed from single-line
   electrical diagrams. It marks every section start. Nothing else is gold. */
.eyebrow{
  display:flex; align-items:center; gap:.75rem;
  font-family:var(--display); font-size:.75rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--slate);
  margin-bottom:.85rem;
}
.eyebrow::before{
  content:""; flex:0 0 2.75rem; height:1px; background:var(--gold); position:relative;
}
.eyebrow::after{
  content:""; width:5px; height:5px; border-radius:50%;
  background:var(--gold); margin-left:-.6rem; flex:0 0 auto;
}
.eyebrow.on-dark{ color:#CFD8E2; }

/* --- header -------------------------------------------------------------- */
.masthead{
  background:var(--navy); color:#fff; position:sticky; top:0; z-index:50;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.masthead .bar{
  display:flex; align-items:center; gap:1.5rem; min-height:4.25rem;
}
.brand{
  font-family:var(--display); font-weight:800; font-size:1.4rem;
  text-transform:uppercase; color:#fff; text-decoration:none;
  letter-spacing:.01em; line-height:1; display:flex; align-items:baseline; gap:.4rem;
}
.brand span{ color:var(--gold); }
.nav{ margin-left:auto; display:flex; align-items:center; gap:1.35rem; }
.nav a{
  color:#E6EAEF; text-decoration:none; font-size:.9063rem; font-weight:600;
  padding:.35rem 0; border-bottom:2px solid transparent; white-space:nowrap;
}
.nav a:hover, .nav a[aria-current="page"]{ color:#fff; border-bottom-color:var(--gold); }
.nav .btn{ border-bottom:none; }
@media (max-width:60rem){
  .nav{ display:none; }
  .nav.is-open{
    display:flex; position:absolute; inset:4.25rem 0 auto; background:var(--navy);
    flex-direction:column; align-items:flex-start; gap:0; padding:1rem var(--gutter) 1.5rem;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .nav.is-open a{ padding:.7rem 0; width:100%; }
  .nav-toggle{ display:block; margin-left:auto; }
}
/* Base styling only — the display toggle lives in the media queries below.
   Setting display:none here overrode the media query that turns it on, which
   left mobile with no navigation at all. */
.nav-toggle{
  background:none; border:1px solid rgba(255,255,255,.25);
  color:#fff; font-family:var(--body); font-size:.8125rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  padding:.55rem .9rem; border-radius:3px; cursor:pointer; min-height:44px;
}
@media (min-width:60.0625rem){ .nav-toggle{ display:none; } }

/* --- buttons ------------------------------------------------------------- */
.btn{
  display:inline-block; font-family:var(--display); font-weight:800;
  text-transform:none; letter-spacing:0; font-size:1rem;
  padding:.85rem 1.6rem; border-radius:8px; text-decoration:none; white-space:nowrap;
  border:2px solid transparent; cursor:pointer; line-height:1.15;
}
.btn-gold{ background:var(--gold); color:var(--ink); }
.btn-gold:hover{ filter:brightness(1.06); color:var(--ink); }
.btn-gold:active{ filter:brightness(.94); }
.btn-ghost{ border-color:rgba(255,255,255,.4); color:#fff; }
.btn-ghost:hover{ border-color:var(--gold); color:#fff; }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-deep); color:#fff; }

/* --- hero ---------------------------------------------------------------- */
.hero{
  position:relative; background:var(--navy-deep); color:#fff; overflow:hidden;
  min-height:min(78vh, 40rem); display:flex; align-items:center;
}
.hero__media{ position:absolute; inset:0; }
.hero__media video, .hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(13,33,54,.93) 0%, rgba(13,33,54,.80) 46%, rgba(13,33,54,.42) 100%);
}
.hero__inner{ position:relative; z-index:2; padding-block:clamp(3.5rem,8vw,6rem); width:100%; }
.hero h1{ max-width:23ch; }
.hero h1 em{ font-style:normal; color:var(--gold); }
.hero__lede{ max-width:46ch; color:#E6EAEF; font-size:var(--step-1); margin-top:1.1rem; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.75rem; }

/* trust strip pinned under the hero */
.trust{ background:var(--navy); color:#CFD8E2; border-top:1px solid rgba(255,255,255,.1); }
.trust ul{
  list-style:none; margin:0; padding:.9rem 0; display:flex; flex-wrap:wrap;
  gap:.6rem 2.25rem; font-size:.9375rem; font-weight:600;
}
.trust li{ display:flex; align-items:center; gap:.55rem; }
.trust li::before{
  content:""; width:6px; height:6px; background:var(--gold); border-radius:50%; flex:0 0 auto;
}

/* --- generic section ----------------------------------------------------- */
.section{ padding-block:clamp(3rem, 6vw, 5rem); }
/* Two sections on the same ground read as one band, so the second does not add its own top
   padding to the first's bottom padding: that doubled gap is a hole, not a break. */
.section:not(.section--mist):not(.section--navy) + .section:not(.section--mist):not(.section--navy),
.section--mist + .section--mist,
.section--navy + .section--navy{ padding-top:0; }
.section--mist{ background:var(--mist); }
.section--navy{ background:var(--navy); color:#fff; }
.section--navy h2{ color:#fff; }
.section--navy p{ color:#CFD8E2; }
.section__head{ margin-bottom:2rem; }
.section__head p{ color:var(--slate); max-width:var(--measure); margin-top:.7rem; }
.section--navy .section__head p{ color:#CFD8E2; }

/* --- service grid: spec-sheet cards -------------------------------------- */
.services{
  display:grid; gap:1px; background:var(--line);
  border:1px solid var(--line); grid-template-columns:repeat(auto-fit,minmax(19rem,1fr));
}
.svc{
  background:var(--paper); padding:1.6rem 1.5rem 1.5rem;
  display:flex; flex-direction:column; gap:.6rem;
}
/* Trade icons sit directly on the card — no containing box. Colour comes from
   `color` so currentColor follows the surface; never hardcode a hex inside the
   SVG or they break when a card sits on navy. stroke-width is set here and in
   the markup, and the two agree at 1.85.
   NOTE: the icon spec named a --blue-deep token, which this sheet does not
   have; --blue-dark (#2E6494) is the equivalent role. */
.ico{
  width:3.6rem; height:3.6rem; color:var(--blue-dark); stroke-width:1.85;
  flex:0 0 auto;
}
.section--navy .ico{ color:#fff; }
.svc h3{ font-size:1.3125rem; color:var(--navy); }
.svc p{ color:var(--slate); font-size:.9688rem; }
.svc a{
  margin-top:auto; padding-top:.6rem; font-family:var(--body); font-weight:700;
  text-transform:uppercase; font-size:.8125rem; letter-spacing:.14em;
  color:var(--blue-dark); text-decoration:none;
}
.svc a::after{ content:" →"; }
.svc a:hover{ color:var(--navy); }

/* --- process: a real sequence, so numbering earns its place -------------- */
.process{ counter-reset:step; display:grid; gap:1px; background:var(--line);
  grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); border:1px solid var(--line); }
.process li{ background:var(--paper); padding:1.25rem 1.2rem 1.35rem; list-style:none; }
.process li::before{
  counter-increment:step; content:counter(step,decimal-leading-zero);
  font-family:var(--body); font-weight:800; font-size:.6875rem;
  color:var(--gold); display:block; margin-bottom:.5rem; letter-spacing:.2em;
}
.process h3{ font-size:1.0625rem; color:var(--navy); }
.process p{ color:var(--slate); font-size:.9063rem; margin-top:.3rem; }

/* --- projects ------------------------------------------------------------ */
.projects{ display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(17rem,1fr)); }
.project{ border:1px solid var(--line); background:var(--paper); }
.project__img{
  aspect-ratio:4/3; background:var(--line-soft); display:grid; place-items:center;
  color:var(--steel); font-size:.8125rem; text-align:center; padding:1rem;
}
.project__body{ padding:1rem 1.1rem 1.2rem; }
.project__meta{
  font-size:var(--step--1); font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--blue-dark);
}
.project h3{ font-size:1.1875rem; color:var(--navy); margin-top:.3rem; }
.project p{ color:var(--slate); font-size:.9375rem; margin-top:.4rem; }

/* --- reviews ------------------------------------------------------------- */
.reviews{ display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(18rem,1fr)); }
.review{ border-left:2px solid var(--gold); padding-left:1.15rem; }
.review blockquote{ margin:0; font-size:1.0625rem; color:var(--ink); }
.section--navy .review blockquote{ color:#E6EAEF; }
.review cite{
  display:block; margin-top:.7rem; font-style:normal; font-weight:700;
  font-size:.9375rem; color:var(--slate);
}
.section--navy .review cite{ color:#CFD8E2; }

/* --- brands -------------------------------------------------------------- */
.brands{
  display:flex; flex-wrap:wrap; gap:.6rem 2.5rem; align-items:center;
  font-family:var(--display); font-weight:800; text-transform:uppercase;
  font-size:1.25rem; color:var(--steel); letter-spacing:.02em;
}

/* --- areas --------------------------------------------------------------- */
.areas{ display:grid; gap:1.75rem; grid-template-columns:1.1fr 1fr; align-items:start; }
@media (max-width:52rem){ .areas{ grid-template-columns:1fr; } }
.map-frame{ border:1px solid var(--line); background:var(--line-soft); aspect-ratio:4/3;
  display:grid; place-items:center; color:var(--steel); text-align:center; padding:1.5rem; }
.area-list{ list-style:none; margin:0; padding:0; columns:2; column-gap:1.5rem; }
.area-list li{ break-inside:avoid; border-bottom:1px solid var(--line-soft); }
.area-list a{
  display:block; padding:.5rem 0; text-decoration:none; color:var(--ink);
  font-weight:600; font-size:.9688rem;
}
.area-list a:hover{ color:var(--blue-dark); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band{ background:var(--gold); color:var(--navy); }
.cta-band .inner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1.25rem; padding-block:clamp(1.75rem,3vw,2.5rem);
}
.cta-band h2{ font-size:var(--step-2); max-width:24ch; }
.cta-band p{ margin-top:.35rem; font-weight:600; }

/* --- footer -------------------------------------------------------------- */
.foot{ background:var(--navy); color:#B9C2CD; padding-block:2.75rem 2rem; font-size:.9375rem; }
.foot a{ color:#E6EAEF; text-decoration:none; }
.foot a:hover{ color:#fff; }
.foot__grid{ display:grid; gap:2rem; grid-template-columns:1.4fr repeat(3,1fr); }
@media (max-width:56rem){ .foot__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:34rem){ .foot__grid{ grid-template-columns:1fr; } }
.foot h4{ color:#fff; font-size:1.0625rem; margin-bottom:.7rem; }
.foot ul{ list-style:none; margin:0; padding:0; }
.foot li{ padding:.22rem 0; }
.foot__legal{
  margin-top:2rem; padding-top:1.25rem; border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content:space-between;
  font-size:.8438rem; color:#8E99A6;
}
.contact{ font-style:normal; display:grid; gap:.7rem; }
.contact__tel{
  font-family:var(--body); font-weight:700; font-size:1.1875rem; letter-spacing:.01em;
  color:#fff !important;
}
.contact span{ display:block; line-height:1.5; }

/* --- municipality pages -------------------------------------------------- */
/* Two-column body: prose left, at-a-glance panel right. */
.split{ display:grid; gap:2.5rem; grid-template-columns:1.35fr 1fr; align-items:start; }
@media (max-width:52rem){ .split{ grid-template-columns:1fr; gap:1.75rem; } }
.factbox{ border:1px solid var(--line); padding:1.4rem 1.5rem; background:var(--mist); }
.factbox ul{ list-style:none; margin:0; padding:0; }
.factbox li{
  padding:.55rem 0; border-bottom:1px solid var(--line-soft);
  color:var(--slate); font-size:.9375rem;
}
.factbox li:last-child{ border-bottom:none; }

/* Per-municipality photo set. One <figure> per install; swap the placeholder
   <div class="shot__pending"> for an <img> when the export arrives. */
/* One photo alone filled the whole row — cap the track in that case. */
.gallery:has(> .shot:only-child){ grid-template-columns:minmax(0,28rem); }
.gallery{ display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(16rem,1fr)); }
.shot{ margin:0; border:1px solid var(--line); background:var(--paper); }
.shot img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.shot__pending{
  aspect-ratio:4/3; display:grid; place-items:center; text-align:center;
  background:var(--line-soft); color:var(--steel); padding:1.25rem;
  font-size:.875rem; line-height:1.45;
}
.shot figcaption{ padding:.9rem 1.1rem 1.1rem; }
.shot figcaption strong{ display:block; font-family:var(--body); font-weight:700;
                         color:var(--navy); font-size:1.0625rem; }
.shot figcaption span{ display:block; color:var(--slate); font-size:.9375rem; margin-top:.3rem; }

/* Adjacent-municipality links. Internal linking, not decoration — see brief §7. */
.nearby{ display:flex; flex-wrap:wrap; gap:.6rem; list-style:none; margin:1.25rem 0 0; padding:0; }
.nearby a{
  display:block; padding:.5rem .95rem; border:1px solid var(--line);
  text-decoration:none; color:var(--ink); font-weight:600; font-size:.9375rem;
}
.nearby a:hover{ border-color:var(--blue); color:var(--blue-dark); }
.prose ul.nearby{ padding-left:0; }
.prose ul.nearby li{ margin:0; }

/* Town directory — the service-areas index and the East / West area pages. */
.town-group + .town-group{ margin-top:3rem; }
.town-group h2 a{ color:inherit; text-decoration:none; }
.town-group h2 a:hover{ color:var(--blue-dark); }
.town-group > p{ color:var(--slate); max-width:var(--measure); margin:.6rem 0 1.25rem; }
.town-grid{
  list-style:none; margin:0; padding:0; display:grid; gap:0;
  grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));
  /* Hairlines drawn per cell, so a short last row leaves blank space, not a grey block. */
  border-top:1px solid var(--line); border-left:1px solid var(--line);
}
.town-grid li{ min-width:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.town-grid a{
  display:block; height:100%; padding:1rem 1.1rem; background:var(--paper);
  text-decoration:none;
}
.town-grid a:hover{ background:var(--mist); }
.town-grid strong{ display:block; color:var(--navy); font-size:1.0625rem; }
.town-grid span{ display:block; color:var(--slate); font-size:.875rem; margin-top:.2rem; }
.town-note{ margin-top:2rem; color:var(--slate); }

/* --- inner page hero ----------------------------------------------------- */
.page-hero{ background:var(--navy); color:#fff; padding-block:clamp(2.5rem,5vw,4rem); }
.page-hero h1{ font-size:var(--step-3); max-width:20ch; }
.page-hero p{ color:#CFD8E2; max-width:var(--measure); margin-top:.9rem; font-size:var(--step-1); }
.crumbs{ font-size:.8438rem; color:#8E99A6; margin-bottom:.9rem; }
.crumbs a{ color:#CFD8E2; text-decoration:none; }
.crumbs a:hover{ color:#fff; }

/* --- prose --------------------------------------------------------------- */
.prose{ max-width:var(--measure); }
/* class="shell prose" put two max-widths on one element: .prose's 620px won and
   .shell's margin-inline:auto centred it. Keep the shell full width and cap the
   children instead, so the column stays left-aligned like every other section. */
.shell.prose{ max-width:var(--shell); }
.shell.prose > *{ max-width:var(--measure); }
.prose h2{ font-size:var(--step-2); color:var(--navy); margin-top:2.25rem; }
.prose h3{ font-size:1.25rem; color:var(--navy); margin-top:1.5rem; }
.prose p{ margin-top:.9rem; color:var(--slate); }
.prose ul{ margin-top:.9rem; padding-left:1.15rem; color:var(--slate); }
.prose li{ margin-top:.4rem; }

/* --- editorial note (build-time only; strip before launch) --------------- */
.todo{
  border:1px dashed #C08A2B; background:#FFF8EC; color:#6B4A0F;
  padding:.85rem 1rem; font-size:.875rem; border-radius:3px;
}
.todo strong{ color:#5A3D08; }
/* Hidden for handoff (2026-11-20): these are notes to the team, not copy, and a visitor
   must never see them. They stay in the HTML so nothing is lost; every one is listed in
   HANDOFF.md. Delete this rule locally to see them in place while working. */
.todo{ display:none !important; }

/* --- quote modal --------------------------------------------------------- */
/* Native <dialog>: focus trapping, Esc-to-close and inertness come for free.
   The form is real HTML on every page so Netlify can detect it at deploy time,
   and so it still works with JavaScript off — the buttons fall back to /contact/. */
.modal{
  border:none; padding:0; width:min(38rem, calc(100vw - 2rem));
  background:var(--paper); color:var(--ink); box-shadow:0 24px 60px rgba(13,33,54,.35);
}
.modal::backdrop{ background:rgba(13,33,54,.62); }
.modal__head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:1rem;
  background:var(--navy); color:#fff; padding:1.25rem var(--gutter);
}
.modal__head h2{ font-size:var(--step-2); color:#fff; }
.modal__head p{ color:#CFD8E2; font-size:.9375rem; margin-top:.35rem; }
.modal__close{
  background:none; border:1px solid rgba(255,255,255,.3); color:#fff;
  font:inherit; font-size:1.25rem; line-height:1; cursor:pointer;
  padding:.3rem .6rem; border-radius:3px; flex:0 0 auto;
}
.modal__close:hover{ border-color:var(--gold); }
.quote-form{ padding:1.5rem var(--gutter) 1.75rem; }

.field{ display:block; margin-bottom:1rem; }
.field > span{
  display:block; font-size:.875rem; font-weight:700; color:var(--navy);
  margin-bottom:.3rem;
}
.field > span em{ font-style:normal; color:var(--slate); font-weight:400; }
.field input, .field select{
  width:100%; font:inherit; font-size:1rem; color:var(--ink);
  padding:.6rem .75rem; border:1px solid var(--line); border-radius:2px;
  background:var(--paper);
}
.field input:focus-visible, .field select:focus-visible{ border-color:var(--blue); }
.field-row{ display:grid; gap:1rem; grid-template-columns:1fr 1fr; }
@media (max-width:34rem){ .field-row{ grid-template-columns:1fr; gap:0; } }

.consent{
  display:grid; grid-template-columns:auto 1fr; gap:.7rem;
  border:1px solid var(--line); background:var(--mist);
  padding:1rem 1.1rem; margin:1.25rem 0 1.4rem;
}
.consent input{ margin-top:.25rem; width:1.05rem; height:1.05rem; }
.consent p{ font-size:.8125rem; line-height:1.5; color:var(--slate); }
.consent a{ color:var(--blue-dark); }
.cta-band__tel{ font-weight:600; font-size:.9375rem; }
.cta-band__tel a{ color:var(--navy); }

/* --- ratings band -------------------------------------------------------- */
.creds{ display:flex; flex-wrap:wrap; gap:1rem 2.5rem; list-style:none; margin:0; padding:0; }
.creds li{ display:flex; align-items:baseline; gap:.5rem; color:#CFD8E2; font-size:.9375rem; }
.foot__legal-links a{ color:#B9C2CD; }
.foot__legal-links a:hover{ color:#fff; }

/* Staff entrance to the Content Studio. It sits in the legal row on every page
   because that is where it was asked for, but it is dimmed and marked nofollow
   so it reads as plumbing rather than as something a customer should click.
   The page itself is noindex and behind a sign-in — see admin/README.md. */
.foot__legal-links .foot__studio{ color:#7A8797; }
.foot__legal-links .foot__studio::before{
  content:""; display:inline-block; width:.6rem; height:.5rem; margin-right:.3rem;
  border:1px solid currentColor; border-radius:1px 1px 0 0;
  border-bottom-width:3px; vertical-align:-.02em;
}
.foot__legal-links .foot__studio:hover{ color:var(--gold); }


/* ==========================================================================
   COLOUR + TYPE PASS — Coldstream Power design system.
   Nothing below changes layout. Type roles, label treatment for machine-readable
   values, and the two rules that replaced inline styles in the markup.
   ========================================================================== */


/* The logo lockup replaced the text wordmark. At 3.67:1 a 36px lockup is 132px
   wide and the package sets a 120px minimum — do not scale it down. */
.brand{ align-items:center; gap:0; }
.brand img{ height:2.25rem; width:auto; display:block; }
/* Stacked lockup, white artwork — the footer is navy and the full-colour
   version's POWER wordmark is black. 68px tall is 95px wide, clear of the
   90px minimum the package sets for stacked. */
.foot .brand img{ height:4.25rem; }

/* Was an inline style on the home page's dark "why us" block. */
.section--navy .services{ background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.18); }
.section--navy .svc{ background:var(--navy); color:#fff; }
.section--navy .svc h3{ color:#fff; }
.section--navy .svc p{ color:#CFD8E2; }
.note{ color:var(--slate); font-size:.9375rem; }

/* Mono: eyebrows, labels, captions and every machine-readable value. */
.eyebrow{ font-family:var(--body); font-weight:500; }
.crumbs{ font-family:var(--body); text-transform:uppercase; letter-spacing:.12em; }
.project__meta{ font-family:var(--body); font-weight:500; letter-spacing:.12em; }
.contact__tel{ font-family:var(--body); font-weight:500; letter-spacing:.04em; }
.cta-band__tel{ font-family:var(--body); letter-spacing:.06em; }
.creds strong{ font-family:var(--display); font-weight:700; font-size:var(--step-stat);
               line-height:.90; letter-spacing:.01em; }
.creds span{ font-family:var(--body); letter-spacing:.14em; text-transform:uppercase; }
.shot figcaption span{ font-family:var(--body); letter-spacing:.05em; line-height:1.6; }
.review cite{ font-family:var(--body); letter-spacing:.12em; text-transform:uppercase; }
.field > span{ font-family:var(--body); font-weight:500; letter-spacing:.1em;
               text-transform:uppercase; font-size:var(--step--1); }
.foot__legal{ font-family:var(--body); letter-spacing:.05em; }
.brands{ font-family:var(--body); font-weight:500; font-size:1rem; letter-spacing:.1em; }
.map-frame, .project__img, .shot__pending{ font-family:var(--body); letter-spacing:.08em; }

/* Cool tint for the empty-state panels rather than flat grey. */
.project__img, .shot__pending, .map-frame{ background:var(--tint); }

/* Photography treatment — real install photos only, never the video plate. */
.shot img, .project img{ filter:contrast(1.18) saturate(1.12) brightness(1.05); }


/* --- nav lockup ---------------------------------------------------------- */
/* The stacked lockup in the masthead. At 300:215 a 68px-tall lockup is 95px
   wide, which clears the 90px minimum the logo package sets for stacked. The
   bar grows to 5.5rem to keep a cap-height of clear space above and below.
   White artwork: the masthead is dark, and the full-colour lockup's POWER
   wordmark is black and would disappear on it. */
.masthead .bar{ min-height:5.5rem; }
.masthead .brand img{ height:4.25rem; }
@media (max-width:60rem){
  .nav.is-open{ inset:5.5rem 0 auto; }
}

/* --- masthead goes light ------------------------------------------------- */
/* The stacked lockup is the full-colour artwork and its POWER wordmark is
   #111111. It cannot sit on a dark bar, so the bar carries the warm surface
   instead. Ink on --surface is 17.7:1. */
.masthead{
  background:var(--surface); color:var(--ink);
  border-bottom:1px solid var(--line);
}
.masthead .bar{ min-height:5.5rem; }
.nav a{ color:var(--ink); }
.nav a:hover, .nav a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--gold); }
.nav-toggle{ border-color:var(--line); color:var(--ink); }
.nav-toggle:hover{ border-color:var(--gold); }
@media (max-width:60rem){
  .nav.is-open{
    inset:5.5rem 0 auto; background:var(--surface);
    border-bottom:1px solid var(--line);
  }
}

/* --- recognition: ratings panel + featured testimonials + video slot ------ */
/* The supplied platform logos are opaque JPEGs on pure white. Rather than mask
   them, the grid sits on a white panel inset in the navy section — the logo
   backgrounds vanish into it and each brand's own colours do the work. The
   panel is deliberately the brightest thing on the page. */
.ratings{
  background:var(--paper);
  padding:clamp(1rem,1.6vw,1.5rem);
  margin-bottom:2.75rem;
}
.ratings__grid{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(6,1fr);
  gap:1px; background:var(--line);
}
@media (max-width:64rem){ .ratings__grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:36rem){ .ratings__grid{ grid-template-columns:repeat(2,1fr); } }
.rating{
  background:var(--paper); padding:1.5rem .875rem;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1rem; text-align:center; min-height:9rem;
  /* Grid items default to min-width:auto, which is the image's intrinsic width.
     Without this the widest logo forces the track open and the whole page
     overflows horizontally at the 3- and 2-column breakpoints. */
  min-width:0;
}
.rating__value{
  font-family:var(--display); font-weight:700; font-size:var(--step-stat);
  line-height:.90; letter-spacing:.01em; color:var(--gold-text);
}
.rating__logo{ display:flex; align-items:center; justify-content:center;
               min-height:2.5rem; width:100%; min-width:0; }
/* Sized by cap height, not by a common width. Each max-height is derived from
   the mark's measured ink bounding box and its cap-height band — aspect ratios
   run from 1.65:1 (Angi) to 6.42:1 (GuildQuality), so a shared width would make
   BBB enormous and GuildQuality a sliver. The files are trimmed to their ink
   bounds so these heights are the artwork, not canvas padding. */
.rating__img{ width:auto; height:auto; max-width:100%; }
.rating__img--bbb{ max-height:38px; }
.rating__img--facebook{ max-height:28px; }
.rating__img--google{ max-height:32px; }
.rating__img--guild-quality{ max-height:22px; }
.rating__img--houzz{ max-height:29px; }
.rating__img--angi{ max-height:37px; }

.proof{ display:grid; gap:2.5rem; grid-template-columns:1.15fr 1fr; align-items:start; }
@media (max-width:56rem){ .proof{ grid-template-columns:1fr; gap:2rem; } }
.proof__quotes{ display:grid; gap:2rem; }
.quote{ margin:0; border-left:2px solid var(--gold); padding-left:1.35rem; }
/* Optional project photo. Empty by default; :empty ignores the comment inside,
   so dropping an <img> in is all it takes. */
.quote__photo:empty{ display:none; }
.quote__photo{ margin-bottom:1rem; }
.quote__photo img{
  width:100%; height:auto; aspect-ratio:16/10; object-fit:cover;
  filter:contrast(1.18) saturate(1.12) brightness(1.05);
}
.stars{ display:flex; gap:.2rem; margin-bottom:.75rem; }
.stars svg{ width:1.0625rem; height:1.0625rem; fill:var(--gold); display:block; }
.quote blockquote{ margin:0; color:#fff; font-size:1.0625rem; }
.quote figcaption{
  margin-top:.8rem; font-family:var(--body); font-size:var(--step--1);
  letter-spacing:.12em; text-transform:uppercase; color:#CFD8E2;
}
.videoslot{ margin:0; }
.videoslot__frame{
  aspect-ratio:16/10; display:grid; place-items:center; text-align:center; padding:1.25rem;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18);
  color:#8E99A6; font-family:var(--body); font-size:var(--step--1);
  letter-spacing:.08em; line-height:1.8;
}
.videoslot figcaption{
  margin-top:.8rem; font-family:var(--body); font-size:var(--step--1);
  letter-spacing:.06em; color:#8E99A6;
}

/* --- real project photography -------------------------------------------- */
/* .project__img and .shot__pending keep their aspect box; an <img> fills it. */
.project__img{ padding:0; }
.project__img img{ width:100%; height:100%; object-fit:cover; display:block; }


/* --- manufacturer lineup -------------------------------------------------- */
/* The four supplied logo files split on polarity: SolarEdge and IronRidge are
   dark artwork needing a light surface; Enphase is white artwork and REC ships
   on an opaque black canvas, both needing a dark one. No single background
   works for all four, so each cell carries the surface its own artwork needs.
   Heights are set per logo from measured ink bounds, then adjusted by eye:
   REC and IronRidge both lead with a graphic mark, so their measured cap band
   overstates their text size and they need more height than the maths gives.
   Aspect ratios run 1.43:1 (IronRidge) to 5.71:1 (Enphase). */
.brands__grid{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--ink); border:1px solid var(--ink);
}
@media (max-width:52rem){ .brands__grid{ grid-template-columns:repeat(2,1fr); } }
.brand-cell{
  display:flex; align-items:center; justify-content:center;
  min-height:7.5rem; padding:1.5rem 1.25rem; min-width:0;
}
.brand-cell--light{ background:var(--paper); }
.brand-cell--dark{ background:#000; }
.brand-logo{ width:auto; height:auto; max-width:100%; }
.brand-logo--solaredge{ max-height:45px; }
.brand-logo--enphase{  max-height:40px; }
.brand-logo--rec{      max-height:56px; }
.brand-logo--ironridge{ max-height:58px; }

/* Generac sits apart: a different certification, not a fifth solar line. */
.brands__also{
  margin-top:1.75rem; padding-top:1.5rem; border-top:1px solid var(--line);
  max-width:var(--measure);
}
.brands__also p{ color:var(--slate); font-size:var(--step-0); }
.brands__also-name{
  font-family:var(--display); font-weight:800; text-transform:uppercase;
  font-size:1.25rem; color:var(--ink); letter-spacing:.01em;
}


/* two quotes, no video slot */
.quotes-2{ display:grid; gap:2.5rem; grid-template-columns:1fr 1fr; }
@media (max-width:52rem){ .quotes-2{ grid-template-columns:1fr; gap:2rem; } }


/* --- navy spec panel ----------------------------------------------------- */
/* Inverts against the white section. The bloom is a soft radial in the corner —
   decorative, no image, no extra request.
   NOTE: the spec named --navy-ink and a 'Bebas' family; this sheet has --navy
   and --display ('Bebas Neue'). Mapped to those. */
.spec{
  background:var(--navy); color:#fff;
  padding:1.6rem 1.7rem 1.5rem; position:relative; overflow:hidden;
}
.spec::before{
  content:""; position:absolute; right:-4rem; top:-4rem; width:14rem; height:14rem;
  border-radius:50%;
  background:radial-gradient(circle, rgba(242,168,28,.14), transparent 66%);
}
.spec > *{ position:relative; }
.spec h4{
  font-family:var(--display); font-weight:700; font-size:1.15rem; color:#fff;
  margin-bottom:.9rem; text-transform:none; letter-spacing:0;
}
.spec ul{ list-style:none; margin:0; padding:0; }
.spec li{
  display:grid; grid-template-columns:1.6rem 1fr; gap:.55rem; padding:.8rem 0;
  border-bottom:1px solid rgba(255,255,255,.12); color:#C3D5E2; font-size:.9688rem;
}
.spec li:last-child{ border-bottom:0; padding-bottom:0; }
.spec li svg{ width:1.15rem; height:1.15rem; color:var(--gold); margin-top:.15rem; }

/* --- expanding photo row ------------------------------------------------- */
/* Hover or keyboard-focus a panel and it takes 2.6x the width. No paging, no
   auto-advance. :focus-within needs something focusable inside or it never
   fires, so each panel carries tabindex="0". */
.gal{ display:flex; gap:.75rem; height:26rem; }
.exp{
  position:relative; flex:1; overflow:hidden; min-width:0; margin:0;
  transition:flex .6s cubic-bezier(.16,.84,.44,1);
}
.exp:hover, .exp:focus-within{ flex:2.6; }
.exp:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.exp .im{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.16,.84,.44,1);
}
.exp:hover .im{ transform:scale(1.05); }
.exp .scrim{
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(19,35,48,.94) 0%, rgba(19,35,48,.45) 38%, transparent 72%);
}
.exp .cap{ position:absolute; left:0; right:0; bottom:0; padding:1.2rem 1.3rem; color:#fff; z-index:2; }
.exp .cap .loc{
  font-size:.625rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold); margin-bottom:.25rem; white-space:nowrap;
}
.exp .cap h3{
  font-family:var(--display); font-weight:700; font-size:1.1rem; color:#fff;
  white-space:nowrap; text-transform:none;
}
.exp .cap p:not(.loc){
  font-size:.9063rem; color:#C0D2DF; max-height:0; opacity:0; overflow:hidden; margin-top:.2rem;
  transition:max-height .5s cubic-bezier(.16,.84,.44,1),
             opacity .4s cubic-bezier(.16,.84,.44,1) .1s;
}
.exp:hover .cap p:not(.loc), .exp:focus-within .cap p:not(.loc){ max-height:5rem; opacity:1; }
.badge{
  position:absolute; top:.75rem; left:.75rem; z-index:3;
  font-size:.5938rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  padding:.3rem .55rem; background:var(--gold); color:var(--navy);
}
.badge.mfr{ background:rgba(255,255,255,.16); color:#DCE7EF; backdrop-filter:blur(6px); }

/* Touch has no hover, so the row stacks and every caption stays open. */
@media (max-width:54rem){
  .gal{ flex-direction:column; height:auto; }
  .exp{ height:14rem; }
  .exp:hover{ flex:1; }
  .exp .cap p:not(.loc){ max-height:5rem; opacity:1; }
  .exp .cap h3{ white-space:normal; }
}

@media (prefers-reduced-motion: reduce){
  .exp, .exp .im, .exp .cap p:not(.loc){ transition:none; }
  .exp:hover, .exp:focus-within{ flex:1; }
  .exp:hover .im{ transform:none; }
  .exp .cap p:not(.loc){ max-height:5rem; opacity:1; }
}

/* ==========================================================================
   HOME PAGE INTERACTION
   Scoped to [data-home] so nothing leaks onto the service or municipality
   pages. The system is deliberately narrow: amber marks a state change,
   motion is short and mechanical, nothing lifts, nothing glows, no shadows.
   Every rule here is inert under prefers-reduced-motion — see the block at
   the end, and the pre-paint guard in the page head.
   ========================================================================== */

/* --- reveal on scroll ---------------------------------------------------- */
/* Default is visible. The .js-reveal class is only added when JavaScript runs
   AND the visitor has not asked for reduced motion, so content is never
   hidden behind a script that might not execute. */
.js-reveal [data-home] .section__head,
.js-reveal [data-home] .svc,
.js-reveal [data-home] .project,
.js-reveal [data-home] .process li,
.js-reveal [data-home] .rating,
.js-reveal [data-home] .quote,
.js-reveal [data-home] .brand-cell,
.js-reveal [data-home] .videoslot,
.js-reveal [data-home] .trust li,
.js-reveal [data-home] .area-list li,
.js-reveal [data-home] .review{
  opacity:0; transform:translateY(12px);
}
.js-reveal [data-home] .is-in.is-in{        /* doubled: the hide rules above end in an
                                       element selector (li), which would otherwise
                                       out-specify this and leave them invisible */
  opacity:1; transform:none;
  transition:opacity .5s cubic-bezier(.16,.84,.44,1),
             transform .5s cubic-bezier(.16,.84,.44,1);
}

/* --- hero: the accent word underlines itself once, on load --------------- */
[data-home] .hero h1 em{ position:relative; }
[data-home] .hero h1 em::after{
  content:""; position:absolute; left:0; right:0; bottom:.06em; height:3px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  animation:ul-draw .7s cubic-bezier(.16,.84,.44,1) .45s forwards;
}
@keyframes ul-draw{ to{ transform:scaleX(1); } }

/* --- nav: the underline draws rather than appearing ---------------------- */
/* Child combinator, not descendant: the dropdown rows inside .nav__group mark
   themselves down the left instead, and must not pick this underline up too. */
[data-home] .nav > a, [data-home] .nav__parent{ position:relative; border-bottom-color:transparent; }
[data-home] .nav > a:not(.btn)::after,
[data-home] .nav__parent::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .28s cubic-bezier(.16,.84,.44,1);
}
[data-home] .nav > a:not(.btn):hover::after,
[data-home] .nav > a:not(.btn):focus-visible::after,
[data-home] .nav__group:hover .nav__parent::after,
[data-home] .nav__group:focus-within .nav__parent::after{ transform:scaleX(1); }

/* --- service cards: a gold rule runs across the top ---------------------- */
[data-home] .svc{ position:relative; transition:background .25s ease; }
[data-home] .svc::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .35s cubic-bezier(.16,.84,.44,1);
}
[data-home] .svc:hover::before, [data-home] .svc:focus-within::before{ transform:scaleX(1); }
[data-home] .svc .ico{ transition:color .25s ease, transform .35s cubic-bezier(.16,.84,.44,1); }
[data-home] .svc:hover .ico, [data-home] .svc:focus-within .ico{
  color:var(--gold); transform:translateY(-2px);
}
[data-home] .svc a{ position:relative; }
/* The arrow itself comes from the base .svc a::after rule — this only moves it. */
[data-home] .svc a::after{
  display:inline-block;
  transition:transform .28s cubic-bezier(.16,.84,.44,1);
}
[data-home] .svc:hover a::after, [data-home] .svc a:focus-visible::after{ transform:translateX(4px); }

/* --- project cards: the photo moves inside a fixed frame ----------------- */
[data-home] .project__img{ overflow:hidden; }
[data-home] .project__img img{ transition:transform .7s cubic-bezier(.16,.84,.44,1); }
[data-home] .project:hover .project__img img{ transform:scale(1.06); }
[data-home] .project__meta{ transition:color .25s ease; }
[data-home] .project:hover .project__meta{ color:var(--gold-text); }

/* --- process: each step's rule grows as it arrives ----------------------- */
[data-home] .process li{ position:relative; }
[data-home] .process li::after{
  content:""; position:absolute; left:0; top:0; height:3px; width:100%;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .5s cubic-bezier(.16,.84,.44,1) .15s;
}
.js-reveal [data-home] .process li.is-in::after{ transform:scaleX(1); }
html:not(.js-reveal) [data-home] .process li::after{ transform:scaleX(1); }

/* --- ratings + brand cells ----------------------------------------------- */
[data-home] .rating{ transition:background .25s ease; }
[data-home] .rating:hover{ background:var(--mist); }
[data-home] .rating__value{ transition:transform .3s cubic-bezier(.16,.84,.44,1); }
[data-home] .rating:hover .rating__value{ transform:translateY(-3px); }
[data-home] .brand-logo{ transition:transform .35s cubic-bezier(.16,.84,.44,1); }
[data-home] .brand-cell:hover .brand-logo{ transform:scale(1.06); }

/* --- quotes: the gold rule draws down ------------------------------------ */
[data-home] .quote{ border-left-color:transparent; }
[data-home] .quote::before{
  content:""; position:absolute; left:-2px; top:0; width:2px; height:100%;
  background:var(--gold); transform:scaleY(0); transform-origin:top;
  transition:transform .55s cubic-bezier(.16,.84,.44,1) .2s;
}
[data-home] .quote{ position:relative; }
.js-reveal [data-home] .quote.is-in::before{ transform:scaleY(1); }
/* No JS (or reduced motion): the rule is simply there, undrawn. */
html:not(.js-reveal) [data-home] .quote::before{ transform:scaleY(1); }

/* --- area list: rows mark themselves ------------------------------------- */
[data-home] .area-list a{ transition:padding-left .25s ease, color .2s ease; }
[data-home] .area-list a:hover{ padding-left:.5rem; }
[data-home] .area-list li{ position:relative; }
[data-home] .area-list li::before{
  content:""; position:absolute; left:0; top:50%; width:3px; height:0;
  background:var(--gold); transform:translateY(-50%);
  transition:height .25s cubic-bezier(.16,.84,.44,1);
}
[data-home] .area-list li:hover::before{ height:60%; }

/* --- everything above is off when reduced motion is requested ------------ */
@media (prefers-reduced-motion: reduce){
  [data-home] .hero h1 em::after{ animation:none; transform:scaleX(1); }
  [data-home] .nav > a:not(.btn)::after,
  [data-home] .nav__parent::after,
  [data-home] .svc::before,
  [data-home] .process li::after,
  [data-home] .quote::before{ transition:none; transform:none; }
  [data-home] .svc .ico,
  [data-home] .svc a::after,
  [data-home] .project__img img,
  [data-home] .rating__value,
  [data-home] .brand-logo,
  [data-home] .area-list a{ transition:none; }
  [data-home] .project:hover .project__img img,
  [data-home] .brand-cell:hover .brand-logo,
  [data-home] .rating:hover .rating__value,
  [data-home] .svc:hover .ico{ transform:none; }
  [data-home] .quote{ border-left-color:var(--gold); }
  [data-home] .quote::before{ display:none; }
}

/* ==========================================================================
   SERVICE PAGES
   Scoped to [data-svc], which the built-out service pages carry and the home
   page does not.
   The handful of rules below that repeat the home-page block (nav underline,
   quote rule, rating cell) are deliberately duplicated rather than folded into
   the [data-home] selectors above: widening those selectors would put this
   page's behaviour one typo away from every other page, and the home block was
   written narrow on purpose.

   Same discipline as the rest of the sheet: amber marks a state change, motion
   is short and mechanical, nothing lifts, nothing glows, no shadows. Every rule
   here has a prefers-reduced-motion counterpart at the end of the block.
   ========================================================================== */

/* --- reveal on scroll ---------------------------------------------------- */
/* Default is visible; .js-reveal is only added pre-paint when JS runs AND
   reduced motion is not requested. Same three guards as the home page. */
.js-reveal [data-svc] .section__head,
.js-reveal [data-svc] .why li,
.js-reveal [data-svc] .dir > li,
.js-reveal [data-svc] .ats__stage,
.js-reveal [data-svc] .seq-step,
.js-reveal [data-svc] .rating,
.js-reveal [data-svc] .quote,
.js-reveal [data-svc] .spec,
.js-reveal [data-svc] .trust li{
  opacity:0; transform:translateY(12px);
}
.js-reveal [data-svc] .is-in.is-in{        /* doubled: the hide rules above end in an
                                       element selector (li), which would otherwise
                                       out-specify this and leave them invisible */
  opacity:1; transform:none;
  transition:opacity .5s cubic-bezier(.16,.84,.44,1),
             transform .5s cubic-bezier(.16,.84,.44,1);
}

/* --- nav underline draws from the left ----------------------------------- */
[data-svc] .nav > a, [data-svc] .nav__parent{ position:relative; border-bottom-color:transparent; }
[data-svc] .nav > a:not(.btn)::after,
[data-svc] .nav__parent::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .28s cubic-bezier(.16,.84,.44,1);
}
[data-svc] .nav > a:not(.btn):hover::after,
[data-svc] .nav > a:not(.btn):focus-visible::after,
[data-svc] .nav > a[aria-current="page"]::after,
[data-svc] .nav__group:hover .nav__parent::after,
[data-svc] .nav__group:focus-within .nav__parent::after,
[data-svc] .nav__parent[aria-current="page"]::after{ transform:scaleX(1); }

/* --- hero ---------------------------------------------------------------- */
/* The photograph is Generac's, not ours, so it is credited in the corner
   rather than left to imply a Coldstream install. */
.hero--page h1{ font-size:var(--step-3); max-width:24ch; }
.hero--page h1 em{ white-space:nowrap; }
.hero--page .hero__lede{ max-width:44ch; }
.hero--page .crumbs{ margin-bottom:1.1rem; }
[data-svc] .hero h1 em{ position:relative; font-style:normal; color:var(--gold); }
[data-svc] .hero h1 em::after{
  content:""; position:absolute; left:0; right:0; bottom:.06em; height:3px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  animation:ul-draw .7s cubic-bezier(.16,.84,.44,1) .45s forwards;
}
.hero__cred{
  position:absolute; right:0; bottom:0; z-index:3;
  padding:.45rem .7rem; background:rgba(8,24,38,.72);
  font-size:.625rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:#9FB0BF;
}

/* --- transfer schematic -------------------------------------------------- */
/* A one-line drawing of the feed: utility through the meter to the transfer
   switch, generator branching in from below, switch out to the panel and the
   house. The <ol> beside it is the accessible content; the SVG is aria-hidden,
   because a wiring diagram read aloud node by node is noise. */
.ats{ display:grid; gap:2.5rem; grid-template-columns:1.45fr 1fr; align-items:stretch; }
@media (max-width:62rem){ .ats{ grid-template-columns:1fr; gap:2rem; } }

.ats__stage{
  display:flex; align-items:center;
  border:1px solid rgba(255,255,255,.16); padding:clamp(.9rem,2vw,1.4rem);
  background-color:rgba(255,255,255,.028);
  background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:30px 30px; background-position:center;
}
.ats__svg{ width:100%; height:auto; display:block; overflow:visible; }

.ats .wire{ fill:none; stroke:#2E4E67; stroke-width:3; transition:stroke .4s ease; }
.ats .leg.is-live .wire{ stroke:var(--gold); }
.ats .spark{
  fill:none; stroke:#FFE7B2; stroke-width:3; stroke-linecap:round;
  stroke-dasharray:11 89; stroke-dashoffset:100; opacity:0;
}
.ats .leg.is-live .spark{ opacity:.85; animation:ats-flow 1.5s linear infinite; }
@keyframes ats-flow{ from{ stroke-dashoffset:100; } to{ stroke-dashoffset:0; } }

.ats .node rect{
  fill:#0A1B2B; stroke:#2E4E67; stroke-width:2;
  transition:stroke .4s ease, fill .4s ease;
}
.ats .node text{
  fill:#8093A5; font-family:var(--body); font-size:12px; font-weight:800;
  letter-spacing:.13em; text-transform:uppercase; transition:fill .4s ease;
}
.ats .node .sub{ font-size:10px; font-weight:600; letter-spacing:.1em; fill:#5F7488; }
.ats .node.is-live rect{ stroke:var(--gold); fill:#12293D; }
.ats .node.is-live text{ fill:#fff; }
.ats .node.is-live .sub{ fill:var(--gold); }
.ats .node.is-dead rect{ stroke:#41505E; stroke-dasharray:6 5; }
.ats .node.is-dead text{ fill:#5C6976; }
.ats .node.is-dead .sub{ fill:#5C6976; }
.ats .node.is-sensing rect{ stroke:var(--gold); animation:ats-sense 1s steps(2,end) infinite; }
@keyframes ats-sense{ 50%{ stroke:#2E4E67; } }

/* The house lights: six cells that go out with the utility and come back on
   the generator. Amber marks the state change, as everywhere else. These have
   to out-specify .ats .node rect above, which is why they are written long. */
.ats .node rect.lamp{ fill:#2E4E67; stroke:none; transition:fill .4s ease; }
.ats .node.is-dead rect.lamp{ fill:#233D51; }
.ats .node.is-live rect.lamp{ fill:var(--gold); }

.ats__steps{ list-style:none; margin:0; padding:0; }
.seq-step + .seq-step{ margin-top:.15rem; }
.seq-step__btn{
  display:grid; grid-template-columns:1.75rem 1fr; gap:.85rem; width:100%;
  text-align:left; font:inherit; cursor:pointer; color:#CFD8E2;
  background:none; border:0; border-left:2px solid rgba(255,255,255,.14);
  padding:.7rem 0 .75rem 1rem;
  transition:border-color .3s ease, background .25s ease, padding-left .25s ease;
}
.seq-step__btn:hover{ background:rgba(255,255,255,.04); padding-left:1.3rem; }
.seq-step .n{
  font-family:var(--display); font-weight:700; font-size:1.3rem; line-height:1; color:#6E8296;
  transition:color .3s ease;
}
.seq-step .t{ display:block; font-weight:700; color:#E6EAEF; }
.seq-step .d{ display:block; font-size:.9063rem; color:#9FB0BF; margin-top:.15rem; }
.seq-step.is-on .seq-step__btn{ border-left-color:var(--gold); background:rgba(255,255,255,.045); }
.seq-step.is-on .n{ color:var(--gold); }
.seq-step.is-done .n{ color:#B08A3E; }

.ats__controls{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin-top:1.35rem; }
.ats__hint{ font-size:.8125rem; letter-spacing:.06em; color:#8FA1B1; }
/* No JS: the diagram sits in its normal state and the buttons are pointless. */
html:not(.js-ats) .ats__controls{ display:none; }
html:not(.js-ats) .seq-step__btn{ cursor:default; }

button.btn-ghost{ background:none; }

/* --- type selector ------------------------------------------------------- */
.tabs{ display:flex; flex-wrap:wrap; gap:0; border-bottom:1px solid var(--line); }
.tab{
  appearance:none; background:none; border:0; border-bottom:2px solid transparent;
  margin-bottom:-1px; padding:.85rem 1.15rem; font:inherit; font-weight:700;
  color:var(--slate); cursor:pointer;
  transition:color .2s ease, border-color .3s cubic-bezier(.16,.84,.44,1);
}
.tab:hover{ color:var(--navy); }
.tab[aria-selected="true"]{ color:var(--navy); border-bottom-color:var(--gold); }
.panel[hidden]{ display:none; }
.panel{ padding-top:2.25rem; }
.panel:not([hidden]){ animation:panel-in .4s cubic-bezier(.16,.84,.44,1); }
@keyframes panel-in{ from{ opacity:0; transform:translateY(10px); } }
.panel__grid{ display:grid; gap:2.5rem; grid-template-columns:1fr 1fr; align-items:start; }
@media (max-width:56rem){ .panel__grid{ grid-template-columns:1fr; gap:1.75rem; } }
.panel h3{ font-size:var(--step-2); color:var(--navy); }
.panel p{ color:var(--slate); margin-top:.9rem; max-width:46ch; }
.panel__cap{
  margin-top:1.25rem; font-size:.6875rem; font-weight:800; letter-spacing:.14em;
  text-transform:uppercase; color:var(--steel);
}

/* The circuit rack — the difference between whole-home and partial-home is the
   count of energised rows, so the graphic is the same object twice. */
.rack{ list-style:none; margin:.85rem 0 0; padding:0; display:grid; gap:.4rem;
       grid-template-columns:1fr 1fr; }
@media (max-width:26rem){ .rack{ grid-template-columns:1fr; } }
.rack li{
  display:flex; align-items:center; gap:.65rem; padding:.6rem .8rem;
  border:1px solid var(--line); background:var(--paper);
  font-size:.875rem; color:var(--steel);
}
.rack li::before{ content:""; width:.55rem; height:.55rem; background:var(--line); flex:0 0 auto; }
.rack li.on{ color:var(--ink); border-color:#E8CE93; }
.rack li.on::before{ background:var(--gold); }
.panel:not([hidden]) .rack li.on::before{
  animation:rack-dot .5s cubic-bezier(.16,.84,.44,1) backwards;
  animation-delay:calc(var(--i,0) * 55ms);
}
@keyframes rack-dot{ from{ background:var(--line); transform:scale(.5); } }

.feed{ list-style:none; margin:.85rem 0 0; padding:0; display:grid; gap:.4rem; }
.feed li{
  display:grid; grid-template-columns:auto 1fr; gap:.9rem; align-items:baseline;
  border:1px solid var(--line); background:var(--paper); padding:.9rem 1rem;
}
.feed strong{
  font-family:var(--display); font-weight:700; font-size:1.05rem; color:var(--navy);
  text-transform:none; letter-spacing:0;
}
.feed span{ font-size:.9063rem; color:var(--slate); }

/* --- reasons ------------------------------------------------------------- */
/* Five reasons is an awkward count for a grid: any column count but five or one
   leaves a hole, and the hole is visible because the hairlines are the container
   background showing through the 1px gaps. So the counts are explicit and one
   item widens at each step to close the row. */
.why{
  list-style:none; margin:0; padding:0; display:grid; gap:1px;
  grid-template-columns:repeat(5,1fr);
  background:var(--line); border:1px solid var(--line);
}
@media (max-width:72rem){
  .why{ grid-template-columns:repeat(3,1fr); }
  .why li:nth-child(4){ grid-column:span 2; }
}
@media (max-width:48rem){
  .why{ grid-template-columns:repeat(2,1fr); }
  .why li:nth-child(4){ grid-column:auto; }
  .why li:nth-child(5){ grid-column:span 2; }
}
@media (max-width:32rem){
  .why{ grid-template-columns:1fr; }
  .why li:nth-child(5){ grid-column:auto; }
}

/* Four-item variant. Declared after the five-item rules above so it wins the
   tie on equal specificity, and it cancels their row-closing spans. */
.why--4{ grid-template-columns:repeat(4,1fr); }
.why--4 li:nth-child(4), .why--4 li:nth-child(5){ grid-column:auto; }
@media (max-width:76rem){ .why--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:40rem){ .why--4{ grid-template-columns:1fr; } }
/* Three-item variant — the "what we check first" row on town pages. Town pages have no
   reveal script, so the gold rule is simply drawn. */
.why--3{ grid-template-columns:repeat(3,1fr); }
.why--3 li:nth-child(4), .why--3 li:nth-child(5){ grid-column:auto; }
@media (max-width:60rem){ .why--3{ grid-template-columns:1fr; } }
.why--3 li::before{ transform:scaleX(1); }
.why li{ position:relative; background:var(--paper); padding:1.5rem 1.2rem 1.6rem; }
.why li::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .45s cubic-bezier(.16,.84,.44,1) .1s;
}
.js-reveal [data-svc] .why li.is-in::before{ transform:scaleX(1); }
html:not(.js-reveal) [data-svc] .why li::before{ transform:scaleX(1); }
.why .n{
  display:block; font-family:var(--display); font-weight:700; font-size:1.35rem;
  line-height:1; color:var(--steel); letter-spacing:.06em;
  transition:color .25s ease, transform .35s cubic-bezier(.16,.84,.44,1);
}
.why h3{ font-size:1.1875rem; color:var(--navy); margin-top:.75rem; }
.why p{ color:var(--slate); font-size:.9375rem; margin-top:.5rem; }
.why li:hover .n{ color:var(--gold-text); transform:translateY(-2px); }

/* --- ratings + quotes, borrowed from the home page ----------------------- */
[data-svc] .rating{ transition:background .25s ease; }
[data-svc] .rating:hover{ background:rgba(255,255,255,.06); }
[data-svc] .rating__value{ transition:transform .3s cubic-bezier(.16,.84,.44,1); }
[data-svc] .rating:hover .rating__value{ transform:translateY(-3px); }
[data-svc] .quote{ position:relative; border-left-color:transparent; }
[data-svc] .quote::before{
  content:""; position:absolute; left:-2px; top:0; width:2px; height:100%;
  background:var(--gold); transform:scaleY(0); transform-origin:top;
  transition:transform .55s cubic-bezier(.16,.84,.44,1) .2s;
}
.js-reveal [data-svc] .quote.is-in::before{ transform:scaleY(1); }
html:not(.js-reveal) [data-svc] .quote::before{ transform:scaleY(1); }

/* --- everything above is off when reduced motion is requested ------------ */
@media (prefers-reduced-motion: reduce){
  [data-svc] .hero h1 em::after{ animation:none; transform:scaleX(1); }
  [data-svc] .nav > a:not(.btn)::after,
  [data-svc] .nav__parent::after,
  [data-svc] .why li::before,
  [data-svc] .quote::before{ transition:none; transform:none; }
  [data-svc] .why li::before{ transform:scaleX(1); }
  [data-svc] .quote{ border-left-color:var(--gold); }
  [data-svc] .quote::before{ display:none; }
  [data-svc] .rating__value,
  [data-svc] .why .n,
  .seq-step__btn,
  .ats .wire, .ats .node rect, .ats .node text{ transition:none; }
  [data-svc] .rating:hover .rating__value,
  [data-svc] .why li:hover .n{ transform:none; }
  .seq-step__btn:hover{ padding-left:1rem; }
  .ats .leg.is-live .spark{ animation:none; opacity:0; }
  .ats .node.is-sensing rect{ animation:none; }
  .panel:not([hidden]){ animation:none; }
  .panel:not([hidden]) .rack li.on::before{ animation:none; }
}

/* ==========================================================================
   NAV DROPDOWN — Electrical Services
   Hover on a pointer, :focus-within on a keyboard, and on the mobile panel it
   simply unfolds inline, because a hover-only menu is unreachable on touch.
   The parent stays a real link to the hub page, so the menu is a shortcut and
   never the only way in.
   ========================================================================== */
.nav__group{ position:relative; display:flex; align-items:center; }
.nav__parent{ display:inline-flex; align-items:center; gap:.35rem; }
.nav__parent .caret{
  width:.65rem; height:.65rem; flex:0 0 auto; stroke:currentColor; fill:none;
  stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;
  transition:transform .25s cubic-bezier(.16,.84,.44,1);
}
.nav__group:hover .caret, .nav__group:focus-within .caret{ transform:rotate(180deg); }

.subnav{
  position:absolute; top:100%; left:-1.1rem; z-index:60; min-width:16.5rem;
  list-style:none; margin:0; padding:.35rem 0;
  background:var(--paper); border:1px solid var(--line);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .18s ease,
             transform .24s cubic-bezier(.16,.84,.44,1),
             visibility 0s linear .18s;
}
/* A transparent bridge over the gap between the link and the menu — without it
   the menu closes as the pointer crosses the dead space. */
.subnav::before{ content:""; position:absolute; left:0; right:0; top:-1.3rem; height:1.3rem; }
.nav__group:hover .subnav,
.nav__group:focus-within .subnav{
  opacity:1; visibility:visible; transform:none; transition-delay:0s;
}
/* .nav a:hover sets a gold bottom border; these rows mark themselves down the
   left instead, so the border is cancelled at equal specificity or better. */
.nav .subnav a, .nav .subnav a:hover{
  display:block; width:100%; padding:.6rem 1.1rem;
  border-bottom:0; border-left:2px solid transparent;
  font-size:.875rem; font-weight:600; color:var(--slate); white-space:nowrap;
  transition:color .2s ease, background .2s ease, border-color .2s ease;
}
.nav .subnav a:hover, .nav .subnav a:focus-visible{
  color:var(--navy); background:var(--mist); border-left-color:var(--gold);
}
.nav .subnav a[aria-current="page"]{ color:var(--navy); border-left-color:var(--gold); }
.subnav__all{ border-top:1px solid var(--line-soft); margin-top:.35rem; padding-top:.35rem; }

@media (max-width:60rem){
  .nav.is-open .nav__group{ display:block; width:100%; }
  .nav.is-open .subnav{
    position:static; opacity:1; visibility:visible; transform:none;
    min-width:0; background:none; border:0; border-left:2px solid var(--line);
    margin:0 0 .6rem .15rem; padding:0;
  }
  .nav.is-open .subnav::before{ display:none; }
  .nav.is-open .caret{ display:none; }
  .nav.is-open .subnav a, .nav.is-open .subnav a:hover{ padding:.55rem 0 .55rem 1rem; }
  /* .nav.is-open a{width:100%} was flattening the quote button too, which left its
     label hard against the left edge of a full-bleed gold bar. */
  .nav.is-open .btn{ width:auto; padding:.7rem 1.4rem; margin-top:.6rem; }
}
@media (prefers-reduced-motion: reduce){
  .subnav{ transition:none; }
  .nav__parent .caret{ transition:none; }
  .nav__group:hover .caret, .nav__group:focus-within .caret{ transform:none; }
}

/* ==========================================================================
   SERVICE DIRECTORY
   The eight things we actually do, each with the specific jobs under it. Four
   across, then two, then one — eight divides cleanly by all three, so no cell
   is ever left empty and showing the container hairline through the gap.
   ========================================================================== */
.dir{
  list-style:none; margin:0; padding:0; display:grid; gap:1px;
  grid-template-columns:repeat(4,1fr);
  background:var(--line); border:1px solid var(--line);
}
@media (max-width:76rem){ .dir{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:40rem){ .dir{ grid-template-columns:1fr; } }

.dir > li{
  position:relative; background:var(--paper); padding:1.6rem 1.4rem 1.7rem;
  scroll-margin-top:7.5rem;   /* the masthead is sticky; anchors must clear it */
}
.dir > li::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .45s cubic-bezier(.16,.84,.44,1) .1s;
}
.js-reveal .dir > li.is-in::before{ transform:scaleX(1); }
html:not(.js-reveal) .dir > li::before{ transform:scaleX(1); }
/* Arriving from the dropdown: the card you asked for stays marked. */
.dir > li:target::before{ transform:scaleX(1); }
.dir > li:target{ background:var(--mist); }

.dir .ico{ width:1.85rem; height:1.85rem; color:var(--navy); stroke-width:1.5; }
.dir h3{ font-size:1.1875rem; color:var(--navy); margin-top:.8rem; }
.dir > li > p{ color:var(--slate); font-size:.9375rem; margin-top:.55rem; }
.dir ul{ list-style:none; margin:1.1rem 0 0; padding:0; }
.dir ul li{
  display:flex; gap:.6rem; font-size:.8438rem; color:var(--steel);
  padding:.42rem 0; border-top:1px solid var(--line-soft);
}
.dir ul li::before{
  content:""; width:5px; height:5px; background:var(--gold);
  margin-top:.5rem; flex:0 0 auto;
}
.dir > li:hover .ico{ color:var(--gold-text); }
.dir .ico{ transition:color .25s ease; }

/* The one row that needs a link out — panels have their own page. */
.dir__more{
  display:inline-block; margin-top:1rem; font-size:.8438rem; font-weight:700;
  color:var(--blue-dark); text-decoration:none; letter-spacing:.02em;
}
.dir__more::after{ content:" →"; display:inline-block; transition:transform .28s cubic-bezier(.16,.84,.44,1); }
.dir__more:hover{ color:var(--navy); }
.dir > li:hover .dir__more::after{ transform:translateX(4px); }

@media (prefers-reduced-motion: reduce){
  .dir > li::before{ transition:none; transform:scaleX(1); }
  .dir .ico, .dir__more::after{ transition:none; }
  .dir > li:hover .dir__more::after{ transform:none; }
}

/* ==========================================================================
   SERVICE AREAS INDEX — /service-areas/
   Ported from coldstreamexteriors.com/service-areas/ (src/pages/service-areas.astro
   and its components) so the two sites' "where we work" pages are the same page.
   Same structure, spacing, radii and type; Power's palette in place of Exteriors':
   orange accent -> --gold (ink on gold, never white), blue -> --blue,
   deep-dark -> --navy. Everything is prefixed sa- so nothing leaks.
   ========================================================================== */
.sa-wrap{ max-width:1180px; margin:0 auto; padding:0 22px; }
.sa-eyebrow{
  display:inline-block; font-family:var(--display); font-weight:700; font-size:.82rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--gold-text);
}
.sa-section{ padding:62px 0; }
.sa-section--mist{ background:var(--mist); }
.sa-shead{ text-align:center; max-width:660px; margin:0 auto 38px; }
.sa-shead h2{ font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800; margin:8px 0 10px; }

.sa-crumbs{ font-size:.84rem; color:var(--slate); padding:14px 0 0; }
.sa-crumbs a{ color:var(--blue-dark); }

.sa-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--display); font-weight:800; font-size:1rem; line-height:1.2;
  background:var(--gold); color:var(--ink); border:none; border-radius:8px;
  padding:14px 26px; cursor:pointer; text-decoration:none;
  box-shadow:0 6px 16px rgba(242,168,28,.30);
  transition:transform .12s, box-shadow .12s, background .12s;
}
.sa-btn:hover{ background:var(--gold-bright); color:var(--ink); transform:translateY(-1px);
               box-shadow:0 9px 22px rgba(242,168,28,.38); }

/* Head */
.sa-head{ padding:52px 0 34px; }
.sa-head .sa-wrap{ max-width:820px; text-align:center; }
.sa-head h1{ margin:9px 0 14px; font-size:clamp(2rem,3.6vw,2.9rem); color:var(--ink); }
.sa-head .sa-lede{ color:var(--slate); font-size:1.08rem; margin:0 auto 26px; max-width:62ch; }
.sa-jump{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:0; padding:0; }
.sa-jump a{
  display:flex; flex-direction:column; gap:2px; background:var(--paper); border:1px solid var(--line);
  border-radius:11px; padding:11px 20px; text-decoration:none; font-family:var(--display);
  font-weight:700; color:var(--ink); transition:border-color .18s ease-out, transform .18s ease-out;
}
.sa-jump a span{ font-family:var(--body); font-weight:400; font-size:.82rem; color:var(--slate); }
.sa-jump a:hover{ border-color:var(--blue); transform:translateY(-2px); }

/* Ratings row — Exteriors' badge row, carrying Power's six rating logos. */
.sa-logos{ background:var(--paper); border-bottom:1px solid var(--line); }
.sa-logos .sa-wrap{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
                    gap:26px 40px; padding:34px 22px; }
.sa-badge{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:70px; }
.sa-badge img{ width:auto; }
.sa-badge b{ font-family:var(--display); font-weight:800; font-size:1.25rem; color:var(--gold-text); }
@media (max-width:720px){ .sa-logos .sa-wrap{ gap:20px 30px; } .sa-badge{ min-height:48px; } }

/* Tabs */
.sa-tabs-wrap{ position:sticky; top:0; z-index:20; background:var(--paper); border-bottom:1px solid var(--line); }
.sa-tabs{ display:flex; gap:6px; flex-wrap:wrap; padding:11px 0; }
.sa-tab{
  font-family:var(--display); font-weight:700; font-size:.94rem; background:none;
  border:1px solid var(--line); border-radius:999px; padding:8px 18px; cursor:pointer;
  color:var(--slate); transition:background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}
.sa-tab:hover{ border-color:var(--blue); color:var(--blue-dark); }
.sa-tab[aria-selected="true"]{ background:var(--navy); color:var(--paper); border-color:var(--navy); }

/* Market panel */
.sa-market{ padding:52px 0; background:var(--mist); }
.sa-grid{ display:grid; grid-template-columns:.92fr 1.08fr; gap:40px; align-items:center; }
@media (max-width:900px){ .sa-grid{ grid-template-columns:1fr; gap:26px; } }
.sa-copy h2{ margin:8px 0 10px; font-size:clamp(1.7rem,3vw,2.2rem); color:var(--ink); }
.sa-copy p{ color:var(--slate); margin:0 0 8px; }
.sa-tel a{ font-family:var(--display); font-weight:800; font-size:1.5rem; color:var(--blue-dark); text-decoration:none; }
.sa-tel a:hover{ color:var(--gold-text); }
.sa-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin:16px 0 18px; }
.sa-link{ font-family:var(--display); font-weight:700; color:var(--blue); text-decoration:none; }
.sa-link:hover{ color:var(--gold-text); }
.sa-svcs{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; }
.sa-svcs a{
  display:block; background:var(--paper); border:1px solid var(--line); border-radius:999px;
  padding:6px 14px; font-size:.88rem; font-weight:600; color:var(--blue-dark); text-decoration:none;
}
.sa-svcs a:hover{ border-color:var(--blue); color:var(--blue); }

.sa-map{ margin:0; border:1px solid var(--line); border-radius:13px; overflow:hidden; background:var(--mist); }
.sa-map iframe{ display:block; width:100%; border:0; filter:saturate(.92); }
.sa-map figcaption{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding:13px 17px; background:var(--paper); border-top:1px solid var(--line); font-size:.92rem; color:var(--slate);
}
.sa-map figcaption b{ display:block; font-family:var(--display); font-weight:700; color:var(--ink); font-size:.98rem; }
.sa-map figcaption a{ font-family:var(--display); font-weight:700; color:var(--blue); text-decoration:none; white-space:nowrap; }
.sa-map figcaption a:hover{ color:var(--gold-text); }

.sa-townhead{ margin:34px 0 14px; font-size:1.06rem; color:var(--ink); }
.sa-towns{ list-style:none; margin:0; padding:0; display:grid;
           grid-template-columns:repeat(auto-fill,minmax(184px,1fr)); gap:8px 18px; }
.sa-towns li{ position:relative; padding-left:16px; font-size:.95rem; color:var(--ink); }
.sa-towns li::before{ content:""; position:absolute; left:0; top:.62em; width:6px; height:6px;
                      border-radius:50%; background:var(--gold); }
.sa-towns a{ color:var(--ink); }
.sa-towns a:hover{ color:var(--blue-dark); }

/* How it works — navy, four numbered steps on a rail. */
.sa-how{ background:var(--navy); color:var(--paper); }
.sa-how .sa-wrap{ padding:60px 22px 64px; }
.sa-how h2{ color:var(--paper); }
.sa-how .sa-eyebrow{ color:var(--gold); }
.sa-steps{ list-style:none; margin:0; padding:0; position:relative;
           display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.sa-steps::before{ content:""; position:absolute; top:19px; left:12.5%; right:12.5%; height:2px;
                   background:rgba(255,255,255,.22); }
.sa-steps li{ position:relative; display:flex; flex-direction:column; gap:11px; align-items:flex-start; }
.sa-dot{ position:relative; z-index:1; width:40px; height:40px; border-radius:50%; background:var(--gold);
         color:var(--ink); display:grid; place-items:center; font-family:var(--display); font-weight:700;
         font-size:1.06rem; box-shadow:0 0 0 6px var(--navy); }
.sa-steps h3{ color:var(--paper); font-size:1.1rem; margin:0; }
.sa-steps p{ margin:0; font-size:.94rem; line-height:1.6; color:rgba(255,255,255,.74); max-width:30ch; }
@media (max-width:860px){ .sa-steps{ grid-template-columns:1fr 1fr; gap:30px 22px; } .sa-steps::before{ display:none; } }
@media (max-width:520px){ .sa-steps{ grid-template-columns:1fr; } }

/* FAQ — accordion */
.sa-faq{ max-width:840px; margin:0 auto; }
.sa-q{ border:1px solid var(--line); border-radius:11px; margin-bottom:12px; overflow:hidden; background:var(--paper);
       transition:border-color .18s ease-out; }
.sa-q > summary{
  list-style:none; padding:18px 20px; font-family:var(--display); font-weight:700; font-size:1.04rem;
  color:var(--ink); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:14px;
  transition:background-color .18s ease-out, color .18s ease-out;
}
.sa-q > summary::-webkit-details-marker{ display:none; }
.sa-q > summary:hover, .sa-q[open] > summary{ background:var(--mist); color:var(--blue-dark); }
.sa-q .sa-a p{ padding:0 20px 18px; margin:0; color:var(--slate); font-size:.96rem; }
.sa-q[open] .sa-a p{ padding-top:14px; }
.sa-pm{ color:var(--gold-text); font-size:1.3rem; font-weight:800; transition:transform .2s; flex:none; }
.sa-q[open] .sa-pm{ transform:rotate(45deg); }

/* Closing band */
.sa-cta{ background:var(--mist); text-align:center; }
.sa-cta .sa-wrap{ max-width:660px; }
.sa-cta h2{ font-size:clamp(1.7rem,3vw,2.3rem); font-weight:800; }
.sa-cta p{ color:var(--slate); font-size:1.06rem; margin:12px 0 24px; }
.sa-cta .sa-btn{ font-size:1.12rem; padding:16px 32px; }
.sa-cta .sa-call{ margin-top:14px; }
.sa-cta .sa-call a{ font-family:var(--display); font-weight:800; color:var(--ink); text-decoration:none; }
.sa-tabs[hidden], .sa-market[hidden]{ display:none; }

/* --------------------------------------------------------------------------
   AREA + TOWN PAGES — /service-areas/{east,west,town}
   Exteriors' location template (src/pages/[market]/locations/[area].astro):
   dark hero with the form beside it, ratings row, town copy, watch list,
   services grid, chips + map, reviews, questions, closing band.
   -------------------------------------------------------------------------- */
.sa-crumbs--bar{ padding-bottom:14px; }
.sa-shead p{ color:var(--slate); font-size:1.05rem; margin:0; }
.sa-shead p a{ color:var(--blue-dark); }
.sa-shead--wide{ max-width:820px; }
.sa-narrow{ max-width:780px; }

/* Hero */
.sa-hero{ background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #16395C 100%); color:var(--paper); }
.sa-hero > .sa-wrap{ display:grid; grid-template-columns:1.08fr .92fr; gap:46px; align-items:center; padding:52px 22px 58px; }
@media (max-width:900px){ .sa-hero > .sa-wrap{ grid-template-columns:1fr; gap:32px; padding:40px 22px 44px; } }
.sa-hero .sa-eyebrow{ color:var(--gold); }
.sa-hero h1{ color:var(--paper); font-size:clamp(2.05rem,4vw,3.2rem); line-height:1.08; margin:9px 0 15px; }
.sa-hero h1 em{ font-style:normal; color:var(--gold); }
.sa-hero-sub{ font-size:1.16rem; line-height:1.6; color:#CFD8E2; max-width:46ch; margin:0 0 20px; }
.sa-checks{ list-style:none; margin:0 0 24px; padding:0; display:grid; gap:9px; }
.sa-checks li{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--paper); }
.sa-checks li::before{
  content:""; flex:none; width:20px; height:20px; border-radius:50%; background:var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.sa-hero-cta{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.sa-hero-tel{ font-family:var(--display); font-weight:800; color:var(--paper); text-decoration:none; }
.sa-hero-tel:hover{ color:var(--gold); }
.sa-hero-form{ background:var(--paper); color:var(--ink); border-radius:14px; padding:24px 24px 22px;
               box-shadow:0 24px 60px rgba(0,0,0,.35); scroll-margin-top:90px; }
.sa-hero-form h2{ font-size:1.3rem; margin:0 0 4px; color:var(--ink); }
.sa-hero-form > p{ font-size:.9rem; color:var(--slate); margin:0 0 16px; }
.sa-hero-form .quote-form{ padding:0; }
.sa-hero-form .field{ margin-bottom:.75rem; }
.sa-hero-form .consent{ margin:.5rem 0 1rem; padding:.75rem .85rem; }
.sa-hero-form .consent p{ font-size:.72rem; }
.sa-hero-form .sa-btn{ width:100%; }

/* Town copy */
.sa-p{ color:var(--slate); font-size:1.04rem; line-height:1.7; margin:0 0 1em; }
.sa-p a, .sa-facts a{ color:var(--blue-dark); }
.sa-factbox{ margin-top:28px; background:var(--mist); border-left:3px solid var(--gold);
             border-radius:0 11px 11px 0; padding:18px 22px; }
.sa-facts{ margin:10px 0 0; padding-left:1.1em; display:grid; gap:6px; font-size:.96rem; color:var(--ink); }
.sa-section--mist .sa-factbox{ background:var(--paper); }

/* Watch list */
.sa-watch{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.sa-watch article{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:24px 22px; }
.sa-watch h3{ font-size:1.1rem; margin:0 0 8px; color:var(--ink); }
.sa-watch p{ margin:0; color:var(--slate); font-size:.95rem; line-height:1.6; }
@media (max-width:860px){ .sa-watch{ grid-template-columns:1fr; } }

/* Services grid */
.sa-svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:900px){ .sa-svc-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .sa-svc-grid{ grid-template-columns:1fr; } }
.sa-svc{ display:flex; flex-direction:column; background:var(--paper); border:1px solid var(--line);
         border-radius:12px; padding:24px 20px; transition:transform .12s, box-shadow .12s, border-color .12s; }
.sa-svc:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(17,17,17,.10); border-color:var(--blue); }
.sa-ic{ width:46px; height:46px; border-radius:10px; background:var(--navy); color:var(--paper);
        display:grid; place-items:center; margin-bottom:14px; }
.sa-ic svg{ width:30px; height:30px; }
.sa-svc h3{ font-size:1.15rem; margin:0 0 7px; color:var(--ink); }
.sa-svc p{ flex:1; font-size:.94rem; color:var(--slate); margin:0 0 12px; }
.sa-svc a{ font-family:var(--display); font-weight:700; font-size:.94rem; color:var(--blue-dark); text-decoration:none; }
.sa-svc a span{ display:inline-block; transition:transform .18s ease-out; }
.sa-svc a:hover{ color:var(--gold-text); }
.sa-svc a:hover span{ transform:translateX(5px); }

/* Town chips */
.sa-chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:9px; max-width:840px; margin:0 auto; }
.sa-chips a{ background:var(--paper); border:1px solid var(--line); border-radius:999px; padding:7px 15px;
             font-size:.9rem; font-weight:600; color:var(--blue-dark); text-decoration:none;
             transition:border-color .18s ease-out, transform .18s ease-out; }
.sa-chips a:hover{ border-color:var(--blue); transform:translateY(-1px); }
.sa-chips a.sa-chip-all{ background:var(--navy); border-color:var(--navy); color:var(--paper); }
#nearby .sa-map{ margin-top:28px; }

/* Reviews */
.sa-reviews{ background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #16395C 100%);
             color:var(--paper); padding:62px 0; }
.sa-reviews h2{ color:var(--paper); }
.sa-reviews .sa-eyebrow{ color:var(--gold); }
.sa-reviews .sa-shead p{ color:#CFD8E2; }
.sa-reviews .sa-shead .sa-rating{ margin-top:10px; color:#CFD8E2; }
.sa-stars{ color:var(--gold); letter-spacing:2px; }
.sa-rating b{ font-family:var(--display); color:var(--paper); }
.sa-rev-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
@media (max-width:900px){ .sa-rev-grid{ grid-template-columns:1fr; } }
.sa-rev{ margin:0; background:var(--paper); color:var(--ink); border-radius:12px; border-top:3px solid var(--gold); padding:22px; }
.sa-rev blockquote{ margin:0 0 14px; font-size:.96rem; line-height:1.6; }
.sa-rev figcaption{ font-family:var(--display); font-weight:700; font-size:.94rem; }

/* ==========================================================================
   NAV, 2026-09-29 — the masthead gets some life
   A live-wire rule across the top (blue into gold), frosted glass so the page
   shows through as it scrolls under, the links sitting in one soft capsule with
   pill hovers, and a quote button that carries an arrow. On browsers with
   scroll-driven animation the bar tightens and lifts once the page moves.
   CSS only: the header markup is identical on all 51 pages and is not touched.
   Placed last so it wins over the [data-home] / [data-svc] underline rules.
   ========================================================================== */
.masthead{
  background:rgba(247,248,250,.86);
  -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px);
  border-bottom:1px solid rgba(13,33,54,.08);
}
.masthead::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:linear-gradient(90deg, var(--navy) 0%, var(--blue) 45%, var(--gold) 100%);
}

/* Links: the drawn underline is retired in favour of a pill. */
.masthead .nav > a:not(.btn)::after,
.masthead .nav__parent::after{ content:none; }
.masthead .nav > a:not(.btn), .masthead .nav__parent{
  font-family:var(--display); font-weight:700; font-size:.875rem; letter-spacing:.005em;
  color:#2A3441; border-bottom:0; border-radius:999px; padding:.55rem .85rem;
  transition:color .2s ease, background-color .2s ease;
}
.masthead .nav > a:not(.btn):hover,
.masthead .nav > a:not(.btn):focus-visible,
.masthead .nav__group:hover .nav__parent,
.masthead .nav__group:focus-within .nav__parent{ color:var(--navy); background:rgba(65,137,200,.12); }
.masthead .nav > a[aria-current="page"],
.masthead .nav__parent[aria-current="page"]{ color:#fff; background:var(--navy); }
.masthead .nav__parent[aria-current="page"] .caret{ stroke:var(--gold); }

/* Quote button: a gold pill with an arrow that leans in on hover. */
.masthead .nav .btn{
  display:inline-flex; align-items:center; gap:.5rem; border-radius:999px;
  padding:.7rem 1.15rem .7rem 1.3rem; font-size:.9375rem;
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 6px 16px -6px rgba(242,168,28,.75);
  transition:transform .2s cubic-bezier(.16,.84,.44,1), box-shadow .2s ease, filter .2s ease;
}
.masthead .nav .btn::after{
  content:"→"; font-weight:800; transition:transform .2s cubic-bezier(.16,.84,.44,1);
}
.masthead .nav .btn:hover{
  transform:translateY(-1px);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 10px 22px -8px rgba(242,168,28,.9);
}
.masthead .nav .btn:hover::after{ transform:translateX(3px); }

/* Dropdown: rounded card with a lift, rows marked with a gold dot. */
.masthead .subnav{
  border-radius:14px; border-color:rgba(13,33,54,.08); padding:.45rem;
  box-shadow:0 18px 40px -18px rgba(13,33,54,.35), 0 2px 6px rgba(13,33,54,.06);
}
.masthead .nav .subnav a, .masthead .nav .subnav a:hover{
  border-left:0; border-radius:8px; padding:.55rem .8rem;
  display:flex; align-items:center; gap:.6rem;
}
.masthead .nav .subnav a::before{
  content:""; width:6px; height:6px; border-radius:50%; flex:0 0 auto;
  background:var(--line); transition:background-color .2s ease, transform .2s ease;
}
.masthead .nav .subnav a:hover, .masthead .nav .subnav a:focus-visible{ background:var(--tint); color:var(--navy); }
.masthead .nav .subnav a:hover::before,
.masthead .nav .subnav a:focus-visible::before,
.masthead .nav .subnav a[aria-current="page"]::before{ background:var(--gold); transform:scale(1.3); }
.masthead .subnav__all{ margin-top:.3rem; padding-top:.3rem; }
.masthead .nav .subnav__all a{ color:var(--blue-dark); }

/* Desktop: the links sit in one white capsule, the quote button tucked into
   its right end. The dropdown drops clear of the capsule's edge; the existing
   hover bridge (.subnav::before, 1.3rem) still spans the gap. */
@media (min-width:60.0625rem){
  .masthead .nav{
    gap:.1rem; padding:.3rem .3rem .3rem .45rem; border-radius:999px;
    background:#fff; border:1px solid rgba(13,33,54,.08);
    box-shadow:0 1px 2px rgba(13,33,54,.05), 0 10px 26px -18px rgba(13,33,54,.35);
  }
  .masthead .nav .btn{ margin-left:.45rem; }
  .masthead .subnav{ top:calc(100% + .6rem); left:-.45rem; }
}

/* Mobile panel: the same pills, full width, and the menu button matches. */
.masthead .nav-toggle{
  border-radius:999px; font-family:var(--display); letter-spacing:.08em; padding:.55rem 1.1rem;
  background:#fff;
}
@media (max-width:60rem){
  .masthead .nav.is-open{
    background:var(--surface); padding-top:.75rem;
    box-shadow:0 24px 40px -24px rgba(13,33,54,.45);
  }
  .masthead .nav.is-open .subnav{
    border-radius:0; box-shadow:none; background:none; border:0;
    border-left:2px solid var(--line); padding:0; margin:0 0 .6rem 1.05rem;
  }
  .masthead .nav.is-open > a:not(.btn), .masthead .nav.is-open .nav__parent{ padding:.75rem .9rem; }
  .masthead .nav.is-open .btn{ margin-left:.9rem; }
}

/* Scroll: the bar tightens and lifts once the page starts moving. Desktop
   only — the mobile panel is positioned against the full 5.5rem bar. */
@supports (animation-timeline: scroll()){
  @media (min-width:60.0625rem) and (prefers-reduced-motion: no-preference){
    @keyframes mast-lift{ to{ box-shadow:0 10px 30px -18px rgba(13,33,54,.45); } }
    @keyframes mast-bar{ to{ min-height:4.4rem; } }
    @keyframes mast-logo{ to{ height:3.25rem; } }
    .masthead{ animation:mast-lift linear both; animation-timeline:scroll(root); animation-range:0 140px; }
    .masthead .bar{ animation:mast-bar linear both; animation-timeline:scroll(root); animation-range:0 140px; }
    .masthead .brand img{ animation:mast-logo linear both; animation-timeline:scroll(root); animation-range:0 140px; }
  }
}
@media (prefers-reduced-motion: reduce){
  .masthead .nav .btn, .masthead .nav .btn::after, .masthead .nav .subnav a::before{ transition:none; }
  .masthead .nav .btn:hover{ transform:none; }
  .masthead .nav .btn:hover::after{ transform:none; }
}

/* Laptop widths: the capsule and its pills tighten so the logo, six links and
   the button still fit in one row down to the 961px breakpoint. */
@media (min-width:60.0625rem) and (max-width:75rem){
  .masthead .bar{ gap:1rem; }
  .masthead .nav{ gap:0; padding:.25rem .25rem .25rem .3rem; }
  .masthead .nav > a:not(.btn), .masthead .nav__parent{ font-size:.8125rem; padding:.5rem .55rem; }
  .masthead .nav .btn{ font-size:.875rem; padding:.6rem 1rem; margin-left:.25rem; }
  .masthead .nav .btn::after{ content:none; }
}
.masthead .brand{ flex:none; }
@media (min-width:60.0625rem) and (max-width:66rem){
  .masthead .bar{ gap:.75rem; }
  .masthead .nav > a:not(.btn), .masthead .nav__parent{ font-size:.78rem; padding:.5rem .42rem; }
  .masthead .nav .btn{ padding:.6rem .85rem; }
}

/* ==========================================================================
   2026-10-27 SITE REVIEW — video, the solar hub, the process timeline,
   the FAQ accordion, the about page
   ========================================================================== */
.videoslot__frame--video{ padding:0; aspect-ratio:16/9; background:#000; }
.videoslot__frame--video video{ width:100%; height:100%; display:block; object-fit:cover; }

/* A full-width photo with a caption bar: the Willis aerial on the solar page. */
.feature-shot{ margin:0; position:relative; overflow:hidden; border-radius:12px; background:var(--tint); }
.feature-shot img{ width:100%; aspect-ratio:16/8; object-fit:cover; display:block; }
.feature-shot figcaption{ position:absolute; left:0; right:0; bottom:0; padding:2.5rem 1.4rem 1.1rem;
  background:linear-gradient(to top, rgba(13,33,54,.85), rgba(13,33,54,0)); color:#fff; font-size:.95rem; }
.feature-shot figcaption strong{ display:block; font-family:var(--display); font-size:1.1rem; }
@media (max-width:40rem){ .feature-shot img{ aspect-ratio:4/3; } }

/* Story: video beside its words. */
.story{ display:grid; grid-template-columns:1.35fr 1fr; gap:2.5rem; align-items:center; }
@media (max-width:52rem){ .story{ grid-template-columns:1fr; gap:1.5rem; } }
.story__video{ border-radius:12px; overflow:hidden; background:#000; aspect-ratio:16/9; }
.story__video video{ width:100%; height:100%; display:block; object-fit:cover; }
.story h2{ margin-bottom:.8rem; }
.story p{ color:var(--slate); }
.section--navy .story p{ color:#CFD8E2; }

/* The solar hub: one card per child page instead of a row of pills. */
.hub{ display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(13.5rem,1fr)); list-style:none; margin:0; padding:0; }
.hub a{ display:flex; flex-direction:column; height:100%; padding:1.3rem 1.25rem 1.2rem; background:var(--paper);
  border:1px solid var(--line); border-radius:12px; text-decoration:none; color:var(--ink);
  transition:transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out; }
.hub a:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(17,17,17,.10); border-color:var(--blue); }
.hub strong{ font-family:var(--display); font-size:1.08rem; color:var(--navy); }
.hub span{ color:var(--slate); font-size:.93rem; margin-top:.35rem; flex:1; }
.hub em{ font-style:normal; font-family:var(--display); font-weight:700; font-size:.85rem; color:var(--blue-dark); margin-top:.9rem; }
.hub a:hover em{ color:var(--gold-text); }

/* Process: a vertical timeline with who does each step. */
.timeline{ list-style:none; margin:0 auto; padding:0; max-width:52rem; counter-reset:tl; position:relative; }
.timeline::before{ content:""; position:absolute; left:1.4rem; top:.6rem; bottom:.6rem; width:2px;
  background:linear-gradient(var(--gold), var(--blue)); }
.timeline li{ counter-increment:tl; position:relative; padding:0 0 2rem 4.25rem; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{ content:counter(tl, decimal-leading-zero); position:absolute; left:0; top:0;
  width:2.8rem; height:2.8rem; border-radius:50%; display:grid; place-items:center;
  background:var(--navy); color:var(--gold); font-family:var(--display); font-weight:800; font-size:.9rem;
  box-shadow:0 0 0 5px var(--paper); }
.timeline__card{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:1.2rem 1.35rem 1.25rem; }
.timeline h3{ color:var(--navy); font-size:1.15rem; }
.timeline p{ color:var(--slate); margin-top:.4rem; }
.timeline__who{ display:inline-block; margin-top:.75rem; padding:.25rem .65rem; border-radius:999px;
  background:var(--mist); color:var(--navy); font-family:var(--display); font-weight:700; font-size:.78rem; }
.section--mist .timeline li::before{ box-shadow:0 0 0 5px var(--mist); }

/* FAQ: native details/summary, so it works with no script at all. */
.faq{ max-width:52rem; margin:0 auto; display:grid; gap:.75rem; }
.faq__group{ font-family:var(--display); font-size:var(--step-2); color:var(--navy); margin:1.75rem 0 .25rem; }
.faq__group:first-child{ margin-top:0; }
.faq details{ background:var(--paper); border:1px solid var(--line); border-radius:12px; transition:border-color .15s ease-out; }
.faq details[open]{ border-color:var(--blue); box-shadow:0 10px 24px rgba(17,17,17,.06); }
.faq summary{ cursor:pointer; list-style:none; padding:1.05rem 3.2rem 1.05rem 1.3rem; position:relative;
  font-family:var(--display); font-weight:700; font-size:1.05rem; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; position:absolute; right:1.2rem; top:50%; transform:translateY(-50%);
  width:1.6rem; height:1.6rem; border-radius:50%; display:grid; place-items:center;
  background:var(--mist); color:var(--navy); font-size:1.1rem; transition:transform .2s ease-out, background .2s; }
.faq details[open] summary::after{ content:"\2212"; background:var(--gold); }
.faq details > div{ padding:0 1.3rem 1.2rem; color:var(--slate); }
.faq details > div p + p{ margin-top:.6rem; }
.faq details a{ color:var(--blue-dark); }

/* Products: the text list of panel lines without logos yet. */
.lines{ display:flex; flex-wrap:wrap; gap:.6rem; list-style:none; margin:1rem 0 0; padding:0; }
.lines li{ padding:.45rem .95rem; border:1px solid var(--line); border-radius:999px; background:var(--paper);
  font-family:var(--display); font-weight:700; font-size:.92rem; color:var(--navy); }

/* About: the team photo. */
.team-shot{ margin:0; }
.team-shot img{ width:100%; height:auto; display:block; border-radius:12px; }
.team-shot figcaption{ margin-top:.6rem; color:var(--slate); font-size:.9rem; }
.shot img{ height:auto; }
@media (min-width:64rem){ .hub{ grid-template-columns:repeat(5,1fr); } }


/* ==========================================================================
   MOBILE PASS — 2026-12-02
   From an audit of 18 pages at 390px and 320px. Nothing here changes the
   desktop layout. What it fixes: two pages that scrolled sideways, links and
   controls too small to tap, labels and captions too small to read.
   ========================================================================== */

/* a long link or word may break rather than push the page wider than the screen
   (the policy pages scrolled sideways by 127px at 390 wide) */
.prose, .prose a, .foot a{ overflow-wrap:anywhere; }
/* the card grid asked for 19rem per column even on a 320px screen */
.services{ grid-template-columns:repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }

@media (max-width:48rem){
  /* tap targets: 44px is the comfortable minimum; these were 14 to 29px tall */
  .foot__legal-links a{ display:inline-block; padding:.85rem .15rem; }
  .foot__legal-links{ line-height:1.2; }
  .contact__tel, .sa-tel a, .sa-hero-tel, .sa-call a, .cta-band__tel a{ display:inline-block; padding-block:.55rem; }
  .crumbs a, .sa-wrap > a{ display:inline-block; padding-block:.8rem; }
  .crumbs{ margin-bottom:.1rem; }
  .sa-link, .dir__more, .sa-svc > a, .area-list a, .project__meta a{ display:inline-block; padding-block:.7rem; }
  .consent a{ display:inline-block; padding:.55rem .1rem; }
  .consent input{ width:1.5rem; height:1.5rem; margin-top:.1rem; flex:0 0 auto; }

  /* readable at arm's length: nothing a visitor has to read is under 12px */
  .field > span{ font-size:.8125rem; }
  .consent label, .consent p{ font-size:.8125rem; line-height:1.5; }
  .quote figcaption, .videoslot figcaption, .panel__cap{ font-size:.8125rem; }
  .hero__cred, .cap .loc, .badge{ font-size:.75rem; }

  /* 16px in a field stops iPhones zooming the page when it is tapped */
  .field input, .field select, .field textarea{ font-size:1rem; min-height:3rem; }
}
