/* Mills Electric Inc — site styles (v3.1 brand, Nov 2026 layout)
   All values sourced from brand_assets/tokens.css (brand book v3.1).
   No ad-hoc colors, spacing from the 4px scale only, radii <= 10px.

   Signal Red is trim, not a theme — budget is 2% of the visual field.
   It appears in exactly three places on this site:
     1. a 3px edge under the masthead            (see note at .masthead)
        — only once light content scrolls under it; hidden over the black band
     2. the 12deg sheared bottom edge of the home hero (the bolt accent)
     3. error state on the contact form          (status, via --danger)
   Never --red as type on black (4.19:1) — use --red-300.
   Never red touching gold (2.27:1) — keep black or white between them.
   The hero therefore has NO gold border: its red edge meets the white trust bar.

   Surfaces (Nov 2026, "graphite + silver"): the site has no bright-white backgrounds.
   Ordinary sections are graphite; .mist sections are silver; .dark/.band stay black,
   and the stats and process bands carry a darkened photo. Every light-surface colour
   goes through the --page/--surface/--text... tokens below, which .mist redefines, so a
   component never needs to know which surface it sits on.

   Gold is flat on screen. The brushed sheen belongs to the lockup artwork and to
   large-format print only — never to a CSS fill. Gold is used as: one primary
   button per section, icon-in-black-box, 2–4px rules, the quote glyph. Never a fill. */

:root{
  --black:#0B0B0C; --black-900:#000000; --black-700:#1A1A1D; --black-600:#2B2B30;
  --black-400:#8E8E97; --black-200:#C9C9CF; --black-50:#EFEFF1;
  --gold:#DFAD37; --gold-700:#6E5212; --gold-600:#B98A1E; --gold-300:#EAC97B;
  --gold-100:#EEDEB9; --gold-50:#F8F3E8;
  --red:#E90206; --red-800:#7E0103; --red-700:#B60205; --red-600:#C50205;
  --red-300:#FE6C6F; --red-100:#FDBABB; --red-50:#FEE9EA;
  --ink:#111113; --slate:#6B6B73; --line:#DCDCE0; --mist:#F6F6F7; --white:#fff;
  /* silver ramp (added Nov 2026 for the silver sections; mirrored in tokens.css) */
  --silver-300:#BDBDC4; --silver-200:#D4D4D9; --silver-100:#E6E6EA; --silver-700:#4A4A50;

  /* surface tokens — graphite defaults. .mist redefines them as silver. */
  --page:var(--ink);            /* section background            */
  --surface:var(--black-700);   /* cards, FAQ, snapshot          */
  --surface-head:var(--black);  /* snapshot header strip          */
  --line-c:var(--black-600);    /* hairlines and card borders     */
  --line-strong:var(--black-400);
  --text:var(--black-200);      /* body copy        12.1:1 on page */
  --text-strong:var(--white);   /* headings, labels               */
  --text-muted:var(--black-400);/* captions          5.2:1 on surface */
  --tint:var(--black-600);      /* icon boxes, chips, hovers      */
  --row:var(--ink);             /* zebra rows inside a card       */
  --eyebrow:var(--gold-300);    /* eyebrow labels + check icons   */
  --link:var(--gold-300);       /* gold link text                 */
  --icon:var(--gold);           /* icon-box glyph                 */
  --star:var(--gold);
  --field:var(--ink); --field-line:var(--slate); --field-focus:var(--black);  /* slate border 3.2:1 */
  --success:#15803D; --warning:#B54708; --danger:#B60205; --info:#0E7490;

  --shadow-sm:0 1px 2px rgba(11,11,12,.08);
  --shadow-md:0 4px 12px rgba(11,11,12,.12);
  --shadow-lg:0 12px 32px rgba(11,11,12,.16);
  /* gold-600 clears 3:1 on white; core gold is only 2.06:1 and fails as a lone
     non-text indicator. On black surfaces the ring switches to gold-300. */
  --focus:0 0 0 3px rgba(185,138,30,.65);
  --focus-dark:0 0 0 3px rgba(234,201,123,.70);
  --ease:cubic-bezier(.2,0,0,1);
  --display:'Archivo Black',Arial Black,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
/* native controls (select lists, scrollbars) follow the surface */
:root{color-scheme:dark}
body{margin:0; background:var(--page); color:var(--text);
  font-family:'Inter',-apple-system,'Segoe UI',sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased}
h1,h2,h3,h4{margin:0; text-wrap:balance; color:var(--text-strong)}
p{margin:0}
img{max-width:100%; display:block}
/* baseline icon size — class rules below (.btn svg, .stars svg, ...) override this */
svg{width:24px; height:24px; flex:none}
ul,ol{margin:0; padding:0; list-style:none}

/* headings go white on every dark surface so pages never need an inline colour */
.dark :is(h1,h2,h3,h4), .hero :is(h1,h2,h3,h4), .pagehead :is(h1,h2,h3,h4),
.band :is(h1,h2,h3,h4), .card-dark :is(h2,h3,h4){color:var(--white)}

/* ---------- type scale: 1.25 ratio, 16px base ---------- */
.t-display{font-family:var(--display); text-transform:uppercase;
  font-size:clamp(2.8rem,6.5vw,4.768rem); line-height:.98; letter-spacing:-.02em; font-weight:400}
.t-h1{font-family:var(--display); text-transform:uppercase;
  font-size:clamp(2.441rem,5vw,3.815rem); line-height:1.02; letter-spacing:-.02em; font-weight:400}
.t-h2{font-family:var(--display); text-transform:uppercase;
  font-size:clamp(2.2rem,4.2vw,3.05rem); line-height:1.06; letter-spacing:-.015em; font-weight:400}
.t-h3{font-size:1.953rem; line-height:1.2; letter-spacing:-.01em; font-weight:700}
.t-h4{font-size:1.563rem; line-height:1.3; letter-spacing:-.01em; font-weight:700}
.t-lead{font-size:1.25rem; line-height:1.55}
.t-small{font-size:.875rem; line-height:1.5}
.t-caption{font-size:.75rem; line-height:1.45; font-weight:500}
/* eyebrow: a short gold rule leads every section label */
.t-eyebrow{font-size:.75rem; line-height:1.2; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--eyebrow)}
.t-eyebrow::before{content:""; display:inline-block; width:32px; height:2px; background:var(--gold);
  vertical-align:middle; margin-right:12px; position:relative; top:-1px}
.t-eyebrow.muted{color:var(--text-muted)}
.t-eyebrow.muted::before{background:var(--line-c)}
.snapshot-head .t-eyebrow::before{display:none}
.dark .t-eyebrow, .hero .t-eyebrow, .pagehead .t-eyebrow, .band .t-eyebrow, .crumb{color:var(--gold-300)}
.crumb{margin-bottom:16px}
.crumb a{color:inherit}
.t-data{font-family:'JetBrains Mono',ui-monospace,monospace; font-size:.875rem; line-height:1.5;
  font-variant-numeric:tabular-nums}
.prose{max-width:68ch}
.section-head{max-width:720px}

/* ---------- layout ---------- */
.wrap{max-width:1200px; margin:0 auto; padding-inline:24px}
.section{padding-block:96px}
.section-sm{padding-block:64px}
.mist{--page:var(--silver-200); --surface:var(--silver-100); --surface-head:var(--black-200);
  --line-c:var(--silver-300); --line-strong:var(--slate); --text:var(--ink); --text-strong:var(--black);
  --text-muted:var(--silver-700); --tint:var(--black-200); --row:var(--silver-200);
  --eyebrow:var(--gold-700); --link:var(--gold-700); --icon:var(--black); --star:var(--gold-600);
  --field:var(--silver-100); --field-line:var(--slate); --field-focus:var(--white);
  background:var(--page); color:var(--text); color-scheme:light}
.dark{background:var(--black); color:var(--white)}
.dark .t-lead,.dark p{color:var(--black-200)}
.dark .muted{color:var(--black-200)}
.grid{display:grid}
.auto-3{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.auto-2{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))}
.gap-6{gap:24px} .gap-8{gap:32px} .gap-12{gap:48px}
.items-start{align-items:start} .items-center{align-items:center}
@media (max-width:960px){ .section{padding-block:64px} .section-sm{padding-block:48px} }
@media (max-width:600px){ .section{padding-block:48px} .wrap{padding-inline:16px} }

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding-inline:24px; border:0; border-radius:6px; cursor:pointer;
  font-family:inherit; font-size:1rem; line-height:1; font-weight:600; letter-spacing:.02em;
  text-decoration:none; white-space:nowrap;
  transition:background var(--ease) 200ms, color var(--ease) 200ms, box-shadow var(--ease) 200ms,
    transform var(--ease) 200ms}
.btn:focus-visible{outline:0; box-shadow:var(--focus)}
.btn svg{width:18px; height:18px; flex:none}
.btn-primary{background:var(--gold); color:var(--black)}
.btn-primary:hover{background:var(--gold-600)}
.btn-ondark{background:var(--white); color:var(--black)}
.btn-ondark:focus-visible{box-shadow:var(--focus-dark)}
.btn-ondark:hover{background:var(--black-50)}
.btn-outline{background:transparent; color:var(--text-strong); box-shadow:inset 0 0 0 2px currentColor}
.btn-outline:hover{background:var(--tint)}
.btn-outline:focus-visible{box-shadow:inset 0 0 0 2px currentColor, var(--focus)}
.btn-sm{height:40px; padding-inline:16px; font-size:.875rem}
.actions{display:flex; flex-wrap:wrap; gap:16px; margin-top:32px}
.actions-center{justify-content:center}
.actions-tight{margin-top:0}

/* ---------- header ---------- */
.masthead{background:transparent; border-bottom:3px solid transparent;
  position:fixed; top:0; left:0; right:0; z-index:40;
  transition:background var(--ease) 200ms, border-bottom-color var(--ease) 200ms, transform var(--ease) 280ms}
/* The header floats over the hero/pagehead photo at the top of the page and turns
   solid black as soon as the page scrolls (.is-solid, toggled in assets/site.js).
   The hero and pagehead pad their copy by --mast-h (measured by site.js) so nothing
   sits under it. */
.masthead.is-solid{background:var(--black)}
body:not(:has(.hero, .pagehead)){padding-top:var(--mast-h,147px)}
/* Hides on scroll down, returns on any scroll up. Toggled by .mast-hidden in
   assets/site.js; never applied while focus is inside the header. */
.masthead.mast-hidden{transform:translateY(-100%)}
/* The red trim only earns its edge against light content. While the black hero or
   pagehead is still behind the header the border stays transparent — red on black is
   4.19:1 and reads as decoration rather than an edge. Width never changes, so nothing
   shifts when it appears. Toggled by .past-dark in assets/site.js.

   3px, not the book's 2px hairline: this is a full-width architectural edge, not a
   rule under a heading. It stays under the 4px of the gold pagehead/footer rules on
   purpose — red must never carry the same weight as the gold accent. */
.masthead.past-dark{border-bottom-color:var(--red)}
.masthead-in{display:flex; align-items:center; gap:32px; padding-block:24px}
/* Masthead logo: the gold ME mark (me-mark-gold.png, the same mark as the footer lockup
   and the favicons) with the name as live text beside it */
.logo-link{display:block; border-radius:4px}
.brand{display:flex; align-items:center; gap:14px; text-decoration:none; flex-shrink:0}
.brand img{width:96px; height:auto}  /* keep in step with the img width/height (96x39) */
.brand-txt{display:flex; flex-direction:column; gap:6px; padding-left:14px;
  border-left:1px solid rgba(255,255,255,.22); text-shadow:0 1px 8px rgba(0,0,0,.55)}
.brand-name{font-family:var(--display); font-size:1.5rem; line-height:1; text-transform:uppercase;
  letter-spacing:.01em; color:var(--white); white-space:nowrap}
.brand-sub{font-size:.6875rem; font-weight:700; line-height:1; letter-spacing:.3em;
  text-transform:uppercase; color:var(--gold); white-space:nowrap}
/* 1061-1180px: logo, nav and phone button still share one row, so everything tightens a step */
@media (min-width:1061px) and (max-width:1180px){
  .masthead-in{gap:20px}
  .brand{gap:10px}
  .brand img{width:80px}
  .brand-txt{padding-left:10px}
  .brand-name{font-size:1.25rem}
  .brand-sub{letter-spacing:.22em}
  .navlink{padding-inline:11px}
  .nav .btn{padding-inline:18px}
}
@media (max-width:600px){
  .brand{gap:10px}
  .brand img{width:72px}
  .brand-txt{padding-left:10px; gap:5px}
  .brand-name{font-size:1.25rem}
  .brand-sub{font-size:.625rem; letter-spacing:.24em}
}
.logo-link:focus-visible{outline:0; box-shadow:var(--focus-dark)}
.nav{display:flex; align-items:center; gap:16px; margin-left:auto}
/* the five links sit in one see-through glass bar so they read over any photo */
.navgroup{display:flex; gap:4px; padding:6px; border-radius:10px; background:rgba(11,11,12,.28);
  border:1px solid rgba(255,255,255,.20); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px)}
.navlink{color:var(--white); text-decoration:none; font-size:.9375rem; font-weight:600;
  padding:10px 16px; border-radius:6px; position:relative; text-shadow:0 1px 8px rgba(0,0,0,.55);
  transition:color var(--ease) 200ms, background var(--ease) 200ms}
.navlink::after{content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform var(--ease) 200ms}
.navlink:hover{background:rgba(255,255,255,.10)}
.navlink:hover::after, .navlink[aria-current="page"]::after{transform:scaleX(1)}
.navlink[aria-current="page"]{background:rgba(255,255,255,.14)}
.navlink:focus-visible{outline:0; box-shadow:var(--focus-dark); border-radius:2px}
.nav .btn{margin-left:8px; height:52px; padding-inline:24px; font-size:1rem; font-weight:700;
  box-shadow:0 8px 22px rgba(0,0,0,.45)}
/* the nav drops to its own row below the logo once logo + nav + phone no longer fit */
@media (max-width:1060px){
  .masthead-in{flex-wrap:wrap; gap:16px; padding-block:16px}
  .nav{width:100%; margin-left:0; flex-wrap:wrap; order:3; gap:16px}
  .nav .btn{margin-left:auto}
}
@media (max-width:600px){
  .navgroup{width:100%; justify-content:space-between; gap:0; padding:4px}
  .navlink{font-size:.8125rem; padding:8px 8px}
  .navlink::after{left:8px; right:8px; bottom:4px}
}
/* the sticky call bar carries the gold Call on phones, so the masthead one goes */
@media (max-width:600px){ .nav .btn{display:none} }

/* ---------- photo surfaces (home hero + inner pageheads) ----------
   Photography per the brand book: black-to-transparent gradient from the left and
   a black overlay so type stays legible. The photo is a slot — swap src when job-site
   shots arrive. */
.hero,.pagehead{position:relative; isolation:isolate; overflow:hidden;
  background:var(--black); color:var(--white)}
.hero-bg,.pagehead-bg{position:absolute; inset:0; z-index:-1}
.hero-bg img,.pagehead-bg img{width:100%; height:100%; object-fit:cover}
.hero-bg img{object-position:80% 25%}
.pagehead-bg img{object-position:70% 40%}
.hero-bg::after,.pagehead-bg::after{content:""; position:absolute; inset:0}
.hero-bg::after{background:
  linear-gradient(180deg, rgba(11,11,12,.55) 0, rgba(11,11,12,.20) 140px, rgba(11,11,12,0) 240px),
  linear-gradient(90deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.80) 38%, rgba(11,11,12,.28) 68%, rgba(11,11,12,0) 100%)}
.pagehead-bg::after{background:
  linear-gradient(180deg, rgba(11,11,12,.45) 0, rgba(11,11,12,0) 200px),
  linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.78) 60%, rgba(11,11,12,.70) 100%)}
.hero p,.pagehead p{color:var(--black-200)}

/* ---------- home hero ----------
   The bolt accent: the bottom-right corner is cut at exactly 12deg (rise 128 / run 602 =
   tan 12deg) and a 4px Signal Red line runs along the cut. One diagonal per page. */
.hero{min-height:calc(620px + var(--mast-h,147px)); display:flex; align-items:center;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 128px), calc(100% - 602px) 100%, 0 100%)}
.hero::after{content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:var(--red);
  clip-path:polygon(calc(100% - 621px) 100%, calc(100% - 602px) 100%,
                    100% calc(100% - 128px), 100% calc(100% - 132px))}
.hero .wrap{width:100%}
.hero-copy{max-width:640px; padding-block:calc(96px + var(--mast-h,147px)) 128px}
.hero-copy .t-lead{max-width:52ch}
@keyframes rise{from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:none}}
.hero-copy > *{animation:rise 480ms var(--ease) both}
.hero-copy > :nth-child(2){animation-delay:60ms}
.hero-copy > :nth-child(3){animation-delay:120ms}
.hero-copy > :nth-child(4){animation-delay:180ms}
@media (max-width:960px){
  .hero{min-height:calc(560px + var(--mast-h,147px));
    clip-path:polygon(0 0, 100% 0, 100% calc(100% - 96px), calc(100% - 452px) 100%, 0 100%)}
  .hero::after{clip-path:polygon(calc(100% - 471px) 100%, calc(100% - 452px) 100%,
                                 100% calc(100% - 96px), 100% calc(100% - 100px))}
  .hero-copy{padding-block:calc(64px + var(--mast-h,147px)) 128px}
}
@media (max-width:600px){
  /* full-width cut: 21.26vw = width x tan 12deg */
  .hero{min-height:calc(520px + var(--mast-h,147px)); align-items:flex-end;
    clip-path:polygon(0 0, 100% 0, 100% calc(100% - 21.26vw), 0 100%)}
  .hero::after{clip-path:polygon(0 100%, 100% calc(100% - 21.26vw),
                                 100% calc(100% - 21.26vw - 4px), 0 calc(100% - 4px))}
  .hero-bg img{object-position:72% 45%}
  /* the copy stacks over the van on phones: shade the whole photo so the van's own
     lettering never fights the headline, lightest just under the header */
  .hero-bg::after{background:linear-gradient(180deg, rgba(11,11,12,.55) 0, rgba(11,11,12,.82) 30%,
    rgba(11,11,12,.88) 100%)}
  .hero-copy{padding-block:calc(48px + var(--mast-h,147px)) calc(21.26vw + 40px)}
}

/* ---------- trust bar (under the hero) ---------- */
.trust{background:var(--black); border-bottom:1px solid var(--line-c)}
.trust-in{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding-block:24px}
.trust-item{display:flex; align-items:center; gap:12px; font-size:.875rem; font-weight:600;
  color:var(--white); min-width:0}
.trust-icon{width:40px; height:40px; border-radius:6px; background:var(--black-700); color:var(--gold);
  box-shadow:inset 0 0 0 1px var(--black-600);
  display:grid; place-items:center; flex:none}
.trust-icon svg{width:20px; height:20px}
.trust-item .stars{margin-left:4px}
@media (max-width:960px){ .trust-in{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .trust-in{grid-template-columns:1fr; gap:12px; padding-block:16px} }

/* ---------- inner-page hero ---------- */
.pagehead{min-height:calc(360px + var(--mast-h,147px)); display:flex; align-items:center;
  padding-block:calc(80px + var(--mast-h,147px)) 80px;
  border-bottom:4px solid var(--gold)}
.pagehead .wrap{width:100%}
.pagehead-copy{max-width:720px}
@media (max-width:600px){ .pagehead{min-height:0; padding-block:calc(48px + var(--mast-h,147px)) 48px} }

/* ---------- cards ---------- */
.card{background:var(--surface); border:1px solid var(--line-c); border-radius:10px; padding:32px;
  box-shadow:var(--shadow-sm); position:relative; overflow:hidden;
  transition:box-shadow var(--ease) 200ms, border-color var(--ease) 200ms, transform var(--ease) 200ms}
.card-hover::before{content:""; position:absolute; inset:0 0 auto 0; height:4px; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform var(--ease) 200ms}
.card-hover:hover{box-shadow:var(--shadow-lg); border-color:var(--line-strong); transform:translateY(-4px)}
.card-hover:hover::before{transform:scaleX(1)}
.card-link{text-decoration:none; display:block; color:inherit}
.card-link:focus-visible{outline:0; box-shadow:var(--focus)}
.card-dark{background:var(--black); border-color:var(--black-600); color:var(--black-200)}
.card-dark p{color:var(--black-200)}
.card-dark .icon-box{background:var(--black-700); color:var(--gold)}
.card-dark .btn-outline{color:var(--white)}
.card-dark .btn-outline:hover{background:var(--black-700)}
.card-dark .btn-outline:focus-visible{box-shadow:inset 0 0 0 2px currentColor, var(--focus-dark)}
.card-dark:hover{border-color:var(--black-400)}
.icon-box{width:56px; height:56px; border-radius:6px; background:var(--tint); color:var(--icon);
  display:flex; align-items:center; justify-content:center; margin-bottom:24px}
.icon-box svg{width:24px; height:24px}
.card-flat{padding:0}

/* services grid: two featured (dark, gold icon), four standard (black icons) */
.svc-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px}
.svc-grid .card-featured{grid-column:span 2; padding:48px}
.svc-grid .card-featured .t-h4{font-size:1.953rem; line-height:1.2}
@media (max-width:960px){ .svc-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .svc-grid{grid-template-columns:1fr} .svc-grid .card-featured{grid-column:auto; padding:32px} }

/* services.html detail cards */
.svc-detail{padding:48px}
.svc-detail .t-h3{font-family:var(--display); text-transform:uppercase; font-weight:400;
  font-size:1.953rem; letter-spacing:-.015em}
@media (max-width:600px){ .svc-detail{padding:24px} }

/* lists inside cards */
.check-list li{display:grid; grid-template-columns:auto 1fr; gap:12px; padding-block:12px;
  border-top:1px solid var(--line-c); align-items:start}
.check-list svg{width:20px; height:20px; color:var(--eyebrow); margin-top:2px}
.check-list-lg li{padding-block:16px}
.rule-list li{padding-block:8px; border-top:1px solid var(--line-c)}
.link-ink{color:var(--text-strong); font-weight:600; text-decoration:none}
.link-ink:hover{text-decoration:underline}
.link-gold{color:var(--link); font-weight:600}

/* ---------- google rating snapshot ---------- */
.snapshot{background:var(--surface); border:1px solid var(--line-c); border-radius:10px;
  box-shadow:var(--shadow-md); overflow:hidden}
.snapshot-head{display:flex; align-items:center; gap:12px; padding:16px 32px;
  border-bottom:1px solid var(--line-c); background:var(--surface-head)}
.snapshot-head .t-eyebrow{color:var(--text-muted)}
.snapshot-head svg{width:20px; height:20px; color:var(--link)}
.snapshot-body{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; padding:32px}
.snap-cell{text-align:center}
.snap-n{font-family:var(--display); font-size:2.441rem; line-height:1.12;
  letter-spacing:-.015em; color:var(--text-strong)}
.snap-l{font-size:.875rem; color:var(--text-muted); margin-top:8px}
.snapshot-foot{padding:24px 32px; border-top:1px solid var(--line-c); display:flex;
  flex-wrap:wrap; gap:16px; align-items:center}
/* stacked variant beside the quote */
.snapshot-stack .snapshot-body{grid-template-columns:1fr; gap:0; padding-block:8px}
.snapshot-stack .snap-cell{display:flex; align-items:baseline; gap:16px; text-align:left;
  padding-block:16px; border-top:1px solid var(--line-c)}
.snapshot-stack .snap-cell:first-child{border-top:0}
.snapshot-stack .snap-l{margin:0}
.snapshot-stack .stars{align-self:center}
@media (max-width:600px){
  .snapshot-body{grid-template-columns:1fr; gap:24px}
  .snapshot-head,.snapshot-body,.snapshot-foot{padding-inline:24px}
}

/* quote-led review block (home) */
.quote-grid{display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:48px; align-items:center}
.quote{position:relative; padding-top:56px}
.quote-mark{position:absolute; top:-16px; left:-4px; font-family:var(--display); font-size:7.5rem;
  line-height:1; color:var(--gold); pointer-events:none; user-select:none}
.quote-text{margin:0; font-size:1.563rem; line-height:1.4; font-weight:500; color:var(--text-strong);
  text-wrap:pretty}
.quote-by{margin-top:24px; display:flex; align-items:center; gap:12px; flex-wrap:wrap}
@media (max-width:960px){ .quote-grid{grid-template-columns:1fr} }
@media (max-width:600px){ .quote-text{font-size:1.25rem} .quote-mark{font-size:5rem; top:-8px} }

/* stars — filled for ratings (a data display, not an interface icon) */
.stars{display:inline-flex; gap:4px; align-items:center}
.stars svg{width:16px; height:16px; fill:var(--star); stroke:none}
.stars.on-dark svg{fill:var(--gold-300)}
.stars-lg svg{width:20px; height:20px}

/* ---------- reviews ---------- */
.review{background:var(--surface); border:1px solid var(--line-c); border-radius:10px; padding:24px;
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:12px}
.review-top{display:flex; align-items:center; gap:12px}
.avatar{width:40px; height:40px; border-radius:9999px; background:var(--black); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.875rem; flex:none}
.review-name{font-weight:600; font-size:.875rem; color:var(--text-strong)}
.review-date{font-size:.75rem; color:var(--text-muted)}
.review-body{color:var(--text); font-size:.875rem; line-height:1.6}

/* placeholder notice */
.notice{background:var(--gold-50); border:1px solid var(--gold-100);
  border-left:4px solid var(--warning); border-radius:0 6px 6px 0; padding:16px 24px;
  display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start}
.notice svg{width:20px; height:20px; color:var(--warning); flex:none; margin-top:4px}
.notice p{font-size:.875rem; color:var(--ink)}
.notice b{color:var(--warning)}

/* ---------- process timeline (a real sequence) ---------- */
.timeline{display:grid; grid-template-columns:repeat(4,1fr); gap:32px; position:relative; margin-top:48px}
.timeline::before{content:""; position:absolute; left:20px; right:20px; top:20px; height:2px; background:var(--gold)}
.step{position:relative}
.step-n{width:40px; height:40px; border-radius:9999px; background:var(--black); border:2px solid var(--gold);
  color:var(--gold-300); display:grid; place-items:center; position:relative; z-index:1; margin-bottom:24px;
  font-family:'JetBrains Mono',ui-monospace,monospace; font-size:.875rem; font-weight:700;
  font-variant-numeric:tabular-nums}
.step .t-h4{font-size:1.25rem}
@media (max-width:960px){
  .timeline{grid-template-columns:1fr; gap:32px; padding-left:64px}
  .timeline::before{left:19px; top:20px; bottom:20px; right:auto; width:2px; height:auto}
  .step-n{position:absolute; left:-64px; top:0; margin:0}
}

/* ---------- stats ---------- */
.stat-n{font-family:var(--display); font-size:clamp(3.05rem,6vw,4.768rem); line-height:1;
  letter-spacing:-.02em; color:var(--text-strong)}
.dark .stat-n{color:var(--white)}
/* a word rather than a figure — steps down so it fits the same column the
   numbers sit in, and stays under them in weight so the row still reads as data.
   line-height is pinned to .stat-n's box so the caption under a word lines up
   with the caption under a figure across the grid row. */
.stat-word{font-size:clamp(1.953rem,3.6vw,3.05rem); letter-spacing:-.01em;
  line-height:clamp(3.05rem,6vw,4.768rem); white-space:nowrap}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:32px}
.stat{border-top:4px solid var(--gold); padding-top:16px; min-width:0}
.stat p{color:var(--black-200)}
@media (max-width:960px){ .stats-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .stats-grid{gap:24px} }

/* ---------- tables ---------- */
.tbl{width:100%; border-collapse:collapse}
.tbl th{text-align:left; font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--text-muted); padding:0 16px 12px; border-bottom:1px solid var(--line-c)}
.tbl td{padding:12px 16px; border-bottom:1px solid var(--line-c); font-size:.875rem}
.tbl tr:last-child td{border-bottom:0}
.tbl tbody tr:nth-child(odd){background:var(--row)}
.tbl-wrap{padding:24px 8px; overflow-x:auto}

/* service area: table + map */
.area-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:start}
.map-card{padding:0; overflow:hidden}
.map-card img{width:100%; height:100%; object-fit:cover; aspect-ratio:3/2}
.map-card figcaption{padding:16px 24px; border-top:1px solid var(--line-c); font-size:.875rem; color:var(--text-muted)}
@media (max-width:960px){ .area-grid{grid-template-columns:1fr} }

/* ---------- town chips ---------- */
.chips{display:flex; flex-wrap:wrap; gap:8px; align-content:start}
.chip{font-size:.875rem; font-weight:500; color:var(--text-strong); background:var(--tint);
  border:1px solid var(--line-c); border-radius:4px; padding:8px 12px}
.chips-dark .chip{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.15); color:var(--black-200)}

/* ---------- FAQ ---------- */
.faq{border:1px solid var(--line-c); border-radius:10px; overflow:hidden; background:var(--surface)}
.faq details{border-top:1px solid var(--line-c)}
.faq details:first-child{border-top:0}
.faq summary{cursor:pointer; padding:24px; font-weight:600; font-size:1rem; color:var(--text-strong);
  display:flex; align-items:center; gap:12px; list-style:none;
  transition:background var(--ease) 200ms}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{background:var(--tint)}
.faq summary:focus-visible{outline:0; box-shadow:var(--focus)}
.faq summary::after{content:""; margin-left:auto; width:10px; height:10px; flex:none;
  border-right:2px solid var(--text-muted); border-bottom:2px solid var(--text-muted);
  transform:rotate(45deg); transition:transform var(--ease) 200ms}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq .faq-body{padding:0 24px 24px; color:var(--text); font-size:.875rem; line-height:1.6}

/* ---------- contact layout ---------- */
.contact-grid{display:grid; gap:48px; grid-template-columns:1fr; align-items:start}
@media (min-width:900px){ .contact-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)} }

/* long unbroken strings (emails, urls) must not force the page wide */
.breakable{overflow-wrap:anywhere}

/* ---------- forms ---------- */
.field{display:block; margin-bottom:24px}
.label{display:block; font-size:.875rem; font-weight:600; color:var(--text-strong); margin-bottom:8px}
.input,.textarea,.select{width:100%; font-family:inherit; font-size:1rem; color:var(--text-strong);
  background:var(--field); border:2px solid var(--field-line); border-radius:4px; padding:14px 16px;
  transition:border-color var(--ease) 200ms, box-shadow var(--ease) 200ms, background var(--ease) 200ms}
.input:hover,.textarea:hover,.select:hover{border-color:var(--line-strong)}
.input:focus-visible,.textarea:focus-visible,.select:focus-visible{
  outline:0; background:var(--field-focus); border-color:var(--text-strong); box-shadow:var(--focus)}
.textarea{min-height:128px; resize:vertical; line-height:1.6}
.hint{font-size:.75rem; color:var(--text-muted); margin-top:8px}

/* honeypot — off-screen for bots, invisible and unreachable for people */
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

.form-status{margin-top:16px; padding:12px 16px; border-radius:4px; font-size:.875rem;
  border-left:4px solid var(--slate); background:var(--tint); color:var(--text-strong)}
.form-status.is-ok{border-left-color:var(--success)}
.form-status.is-err{border-left-color:var(--danger); background:var(--red-50); color:var(--ink)}
.form-status.is-pending{border-left-color:var(--info)}

/* ---------- CTA band ---------- */
.band{background:var(--black); color:var(--white)}
.band p{color:var(--black-200)}
.band-tel{display:inline-block; font-family:var(--display); font-size:clamp(2.441rem,4.4vw,4rem);
  line-height:1; letter-spacing:-.02em; color:var(--white); text-decoration:none;
  font-variant-numeric:tabular-nums; white-space:nowrap; transition:color var(--ease) 200ms}
.band-tel:hover{color:var(--gold-300)}
.band-tel:focus-visible{outline:0; box-shadow:var(--focus-dark); border-radius:4px}
.band-cta{display:flex; flex-direction:column; align-items:flex-start; gap:24px}
@media (max-width:600px){ .band-tel{font-size:clamp(1.953rem,9vw,2.441rem)} }

/* ---------- footer ----------
   A photo surface (.foot-bg, assets/footer-jobsite.jpg — a slot, like the pagehead photo)
   with the content on a panel of dark smoked glass: blurred, tinted and mottled so the
   type stays legible over any photo. The photo shows clear above the panel. */
.foot{position:relative; isolation:isolate; overflow:hidden; background:var(--black-900);
  color:var(--black-400); border-top:4px solid var(--gold); padding-block:200px 48px}
.foot-bg{position:absolute; inset:0; z-index:-2; width:100%; height:100%;
  object-fit:cover; object-position:50% 45%}
/* darken toward the bottom so the glass sits on deeper ground */
.foot::before{content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.70) 100%)}
.foot-in{position:relative; isolation:isolate; width:min(1200px, calc(100% - 32px));
  padding:56px 48px 32px; border-radius:16px; background:rgba(11,11,12,.72);
  -webkit-backdrop-filter:blur(18px) saturate(1.1); backdrop-filter:blur(18px) saturate(1.1);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08)}
/* the stain: drifting smoke and a fine grain, under the content */
.foot-in::before{content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(55% 75% at 12% 18%, rgba(0,0,0,.38), transparent 70%),
    radial-gradient(45% 65% at 88% 85%, rgba(0,0,0,.32), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.55'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")}
/* no blur support: fall back to near-solid smoke so the type never sits on a sharp photo */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .foot-in{background:rgba(11,11,12,.92)}
}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:32px}
.foot-logo{margin-bottom:24px}
.foot-blurb{color:var(--black-400); max-width:32ch}
.foot a{color:var(--black-200); text-decoration:none; font-size:.875rem; display:block; padding-block:8px;
  transition:color var(--ease) 200ms}
.foot a:hover{color:var(--white)}
.foot a:focus-visible{outline:0; box-shadow:var(--focus-dark); border-radius:2px}
.foot h4{font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--white); margin-bottom:12px}
.foot h4 + h4, .foot .foot-meta + h4{margin-top:24px}
.foot-tel{font-weight:600; color:var(--white)!important; font-size:1rem!important}
.foot-meta{color:var(--black-400); margin-top:12px; line-height:1.5}
.foot-meta small{font-size:.85em}
.foot-bottom{margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.10);
  display:flex; flex-wrap:wrap; gap:16px; align-items:center; color:var(--black-400)}
.foot-bottom .right{margin-left:auto}
@media (max-width:960px){ .foot-grid{grid-template-columns:1fr 1fr} }
@media (max-width:600px){
  .foot{padding-block:140px 16px}
  .foot-grid{grid-template-columns:1fr}
  .foot-in{padding:40px 24px 24px}
}

/* ---------- sticky call bar (phones only, CSS only) ---------- */
.callbar{display:none}
@media (max-width:600px){
  .callbar{display:grid; grid-template-columns:1fr 1fr; gap:8px; position:fixed; left:0; right:0; bottom:0;
    z-index:45; padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));
    background:var(--black); border-top:1px solid rgba(255,255,255,.10)}
  .callbar .btn{height:44px; padding-inline:12px; font-size:.875rem}
  body{padding-bottom:72px}
}

/* ---------- utility ---------- */
.skip{position:absolute; left:-9999px}
.skip:focus{left:24px; top:24px; z-index:50; background:var(--gold); color:var(--black);
  padding:12px 24px; border-radius:6px; font-weight:600}
.mt-3{margin-top:12px} .mt-4{margin-top:16px} .mt-6{margin-top:24px}
.mt-8{margin-top:32px} .mt-12{margin-top:48px}
.muted{color:var(--text-muted)}
.on-dark-muted{color:var(--black-200)}

/* ---------- service-area links (v3.1, added with the town pages) ----------
   Town names in index.html's service-area table and about.html's chip row link
   through to the per-town pages. Without these the town pages are orphans
   reachable only from sitemap.xml, which is not a crawl path worth relying on.
   Core gold is 2.06:1 on white and must never be link text, so the light
   surface uses gold-700 (7.30:1) and the dark chips use gold-300 (12.31:1). */
.tbl a{color:var(--link); text-decoration:none; font-weight:600}
.tbl a:hover{text-decoration:underline}
.tbl a:focus-visible{outline:0; box-shadow:var(--focus); border-radius:2px}
.chip-link{color:var(--link); text-decoration:none; transition:border-color var(--ease) 200ms}
.chips-dark .chip-link{color:var(--gold-300)}
.chip-link:hover{text-decoration:underline; border-color:var(--gold-600)}
.chip-link:focus-visible{outline:0; box-shadow:var(--focus); border-radius:4px}
.chips-dark .chip-link:focus-visible{box-shadow:var(--focus-dark)}

@media (prefers-reduced-motion:reduce){ *{transition:none!important; animation:none!important} }
.two-up{grid-template-columns:repeat(2,1fr)}

/* dark detail cards on services.html */
.card-dark .t-eyebrow{color:var(--gold-300)}
.card-dark .rule-list li{border-color:var(--black-600)}
.card-dark .muted{color:var(--black-200)}
figure{margin:0}

/* ---------- photo bands (Nov 2026) ----------
   The stats band and the process band carry a darkened photo instead of flat black:
   the van behind the stats, the panel shot behind the process steps. 93-82% black
   keeps white type well above AA. Photo slots — swap when job-site shots arrive. */
.stats-band{background:linear-gradient(90deg, rgba(11,11,12,.93), rgba(11,11,12,.82)),
  url(mills-van.jpg) center 60%/cover var(--black)}
.process-band{background:linear-gradient(90deg, rgba(11,11,12,.93), rgba(11,11,12,.84)),
  url(crew-panel.jpg) center/cover var(--black)}
/* black bands sit on graphite, so they need their own edge */
.band{border-top:1px solid var(--black-600)}
