/* Shawkes Electric design system, pass 3 (2026-11-02). One family (Archivo variable), pine, paper and night.
   Spec: _build/upgrade-2026-11-02/DESIGN-SPEC.md. Fluid values run from 390px to 1440px.
   Bans: box-shadow, dashed or dotted borders, pills, chips, icon circles, uppercase letterspaced labels,
   gradients (one exception: the diagonal pine on .closer). Amber is for buttons and the preview-only .confirm mark.
   Hairlines are 1px dividers inside lists and tables, never card boxes. */

/* ============================================================ tokens */
:root {
  --pine: #123B2F;
  --pine-deep: #0E2F26;
  --amber: #E3A11C;
  --amber-deep: #C98B12;
  --paper: #F4F1EA;
  --paper-light: #FBF9F4;
  --paper-deep: #ECE8DE;
  --sand: #E6DFD1;
  --ink: #14201B;
  --muted: #5A665F;
  --hair: #D9D4C8;
  --night: #0B1411;
  --night-hair: #233530;
  --error: #B3261E;
  --paper-78: rgba(244, 241, 234, 0.78);
  --paper-hair: rgba(244, 241, 234, 0.16);

  /* type */
  --fs-display: clamp(36px, 25.6px + 2.667vw, 64px);
  --fs-h1: clamp(38px, 29.83px + 2.095vw, 60px);
  --fs-h2: clamp(32px, 23.09px + 2.286vw, 56px);
  --fs-h3: clamp(22px, 19.77px + 0.571vw, 28px);
  --fs-h4: clamp(20px, 19.26px + 0.19vw, 22px);
  --fs-body: clamp(17px, 16.26px + 0.19vw, 19px);
  --fs-lede: clamp(19px, 17.89px + 0.286vw, 22px);
  --fs-statement: clamp(22px, 19.03px + 0.762vw, 30px);
  --fs-fact: clamp(36px, 31.54px + 1.143vw, 48px);
  --fs-small: 15px;
  --lh-body: 1.6;

  /* space */
  --section: clamp(64px, 46.17px + 4.571vw, 112px);
  --section-tight: clamp(48px, 39.09px + 2.286vw, 72px);
  --head-gap: clamp(32px, 26.06px + 1.524vw, 48px);
  --gap: 16px;
  --gutter: clamp(20px, 0.69px + 4.952vw, 72px);
  --container: 1296px;
  --container-narrow: 760px;
  --container-wide: 1296px;

  /* shape */
  --radius: 10px;
  --radius-card: 12px;
  --radius-lg: 16px;
  --header-h: 64px;
  --bar-h: 60px;
  --wide: 112.5%;
  --focus: var(--pine);
}
@media (min-width: 768px) { :root { --gap: 24px; } }
@media (min-width: 1024px) { :root { --gap: 32px; --header-h: 80px; } }

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.surface-night { background: var(--night); color: var(--paper); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p, ul, ol, dl, dd, figure, blockquote, h1, h2, h3, h4, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }

/* ============================================================ type */
h1, h2, h3, h4 { font-stretch: 100%; font-variation-settings: "wdth" 100; text-wrap: balance; }
.wordmark, .fact-n, .tl-n, .price-anchor-n, .svc-fig-n { font-stretch: var(--wide); font-variation-settings: "wdth" 112.5; }
h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.03em; font-weight: 700; max-width: 22ch; }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; font-weight: 650; }
h4 { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -0.01em; font-weight: 650; }
.display { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.03em; }
.lede { font-size: var(--fs-lede); line-height: 1.45; }
.small, .fact-l, .footer-base, .crumbs, .gallery-caption, figcaption, .err, .form-note, .footer-extra, .mosaic-cap { font-size: var(--fs-small); font-weight: 500; line-height: 1.45; }
.eyebrow { font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--pine); margin-bottom: 16px; }
.muted { color: var(--muted); }
.text-link { font-weight: 600; color: var(--pine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose p + p, .prose ul + p, .prose p + ul, .prose ol + p, .prose p + ol { margin-top: 1em; }
.prose ul:not([class]) { list-style: disc; padding-left: 1.2em; }
.prose ol:not([class]) { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.35em; }
.prose h2 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: clamp(26px, 22.29px + 0.952vw, 36px); }
.prose h3 { margin-top: 1.2em; margin-bottom: 0.4em; font-size: var(--fs-h4); }
.prose > :first-child { margin-top: 0; }
.confirm { text-decoration: none; }
html.show-confirm .confirm { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ============================================================ layout primitives */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.container.footer-top, .container.footer-base { width: calc(100% - 2 * var(--gutter)); max-width: var(--container); padding-inline: 0; }
.container-wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
section { padding: var(--section) 0; }
.section-head { max-width: var(--container-narrow); margin-bottom: var(--head-gap); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: var(--fs-lede); line-height: 1.45; }
.section-head p.eyebrow { margin-top: 0; color: var(--pine); font-size: 15px; line-height: 1.3; }
.split { display: grid; gap: clamp(40px, 28.11px + 3.048vw, 72px); }
@media (min-width: 1024px) {
  .split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split-6-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.center { align-items: center; }
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* grounds alternate down every page; if two sections ever share one, they share one gap */
.surface-paper + .surface-paper, .surface-paper-light + .surface-paper-light, .surface-paper-deep + .surface-paper-deep,
.surface-pine + .surface-pine, .surface-pine-deep + .surface-pine-deep, .surface-night + .surface-night { padding-top: 0; }

/* ============================================================ surfaces */
.surface-paper { background: var(--paper); color: var(--ink); }
.surface-paper-light { background: var(--paper-light); color: var(--ink); }
.surface-paper-deep { background: var(--paper-deep); color: var(--ink); }
.surface-sand { background: var(--sand); color: var(--ink); }
.surface-pine { background: var(--pine); color: var(--paper); }
.surface-pine-deep { background: var(--pine-deep); color: var(--paper); }
.surface-night { background: var(--night); color: var(--paper); }
.surface-pine, .surface-pine-deep, .surface-night, .closer { --focus: var(--paper); }
.closer-form, .contact-form, .h-proof, .surface-paper, .surface-paper-light, .surface-paper-deep, .surface-sand { --focus: var(--pine); }
:is(.surface-pine, .surface-pine-deep, .surface-night) :is(.muted, .section-head p, .lede) { color: var(--paper-78); }
:is(.surface-pine, .surface-pine-deep, .surface-night) :is(.eyebrow, .section-head p.eyebrow) { color: var(--paper-78); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .text-link { color: var(--paper); }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: var(--radius);
  font-weight: 650; font-size: 17px; line-height: 1; text-decoration: none;
  border: 1.5px solid transparent; transition: background-color 150ms, border-color 150ms, color 150ms;
  white-space: nowrap;
}
@media (max-width: 767px) { .btn { min-height: 52px; padding: 0 24px; } }
.btn-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--paper); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .btn-outline { color: var(--paper); border-color: var(--paper); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .btn-outline:hover { background: var(--paper); color: var(--pine); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn[disabled] { opacity: 0.7; cursor: default; }

/* ============================================================ header */
/* utility bar: desktop only, scrolls away; the main bar below it is sticky */
.utility-bar { display: none; }
@media (min-width: 1024px) {
  .utility-bar { display: block; background: var(--paper-deep); color: var(--muted); border-bottom: 1px solid var(--hair); font-size: 14px; font-weight: 500; line-height: 1.3; }
  .utility-row { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .utility-creds { display: flex; gap: 28px; }
  .utility-bar a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .utility-bar a:hover { color: var(--ink); }
  .surface-night .utility-bar { background: var(--night); color: var(--paper-78); border-bottom-color: var(--night-hair); }
  .surface-night .utility-bar a:hover { color: var(--paper); }
}
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 150ms; }
.site-header.is-scrolled { border-bottom-color: var(--hair); }
.surface-night .site-header { background: var(--night); --focus: var(--paper); }
.surface-night .site-header.is-scrolled { border-bottom-color: var(--night-hair); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { flex: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.wordmark span { font-weight: 400; font-stretch: 100%; font-variation-settings: "wdth" 100; }
/* Nate 2026-11-06 "put this logo in": the text wordmark became the horizontal lockup. assets/img/logo-horizontal-navy.png sits on the paper header, logo-horizontal-white.png on the night header (permanent lighting) and the footer; both are 720x152 alpha-box crops of the Logos folder files. Heights follow the bar: 34px in the 64px phone bar, 40px in the 80px desktop bar, 44px in the footer. */
.wordmark img { display: block; width: auto; height: 34px; }
@media (min-width: 1024px) { .header-row .wordmark img { height: 40px; } }
@media (min-width: 768px) and (max-width: 1023px) { .header-row .wordmark img { height: 30px; } }
.footer-brand .wordmark img { height: 44px; }
.primary-nav > ul { display: flex; gap: 32px; }
.primary-nav > ul > li { display: flex; align-items: center; }
.primary-nav > ul > li > a { text-decoration: none; font-weight: 500; font-size: 17px; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color 150ms; white-space: nowrap; }
.primary-nav > ul > li > a:hover, .primary-nav > ul > li > a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-foot { display: none; }
.header-actions { flex: none; display: flex; align-items: center; gap: 24px; }
.phone-link { font-weight: 600; text-decoration: none; font-size: 17px; white-space: nowrap; }
.phone-link:hover { text-decoration: underline; }
.header-cta { min-height: 48px; padding: 0 22px; }
.phone-glyph { display: none; }
.phone-glyph svg { width: 22px; height: 22px; flex: none; }
.menu-toggle { display: none; background: none; color: var(--pine); border: 1.5px solid var(--pine); border-radius: var(--radius); min-height: 44px; padding: 0 16px; font-weight: 600; font-size: 16px; }
.surface-night .menu-toggle { color: var(--paper); border-color: var(--paper); }
@media (min-width: 768px) { .primary-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; } }
@media (min-width: 1024px) { .header-row .wordmark { font-size: 26px; } }
@media (max-width: 1279px) { .header-actions .phone-link { display: none; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .primary-nav > ul { gap: 24px; }
  .header-row .wordmark { font-size: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .primary-nav > ul { gap: 18px; }
  .primary-nav > ul > li > a { font-size: 15px; }
  .header-row { gap: 16px; }
  .header-row .wordmark { font-size: 19px; }
  .header-cta { padding: 0 16px; font-size: 15px; }
}

/* services dropdown */
.has-menu { position: relative; }
.menu-caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 2px; padding: 0; background: none; border: 0; border-radius: var(--radius); color: inherit; }
.caret-glyph { transition: transform 150ms; }
.has-menu.open .caret-glyph { transform: rotate(180deg); }
.nav-menu { display: none; }
.nav-menu-list a, .nav-menu-all { text-decoration: none; }
@media (min-width: 768px) {
  .primary-nav > ul > li { height: var(--header-h); }
  .nav-menu { position: absolute; top: 100%; left: -28px; width: 560px; padding: 20px 28px 24px; background: var(--paper-light); color: var(--ink); border: 1px solid var(--hair); border-radius: 0 0 var(--radius-card) var(--radius-card); --focus: var(--pine); }
  .has-menu.open > .nav-menu, :root:not(.js) .has-menu:is(:hover, :focus-within) > .nav-menu { display: block; }
  .nav-menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .nav-menu-list li { border-bottom: 1px solid var(--hair); }
  .nav-menu-list a { display: block; padding: 12px 0; font-weight: 500; font-size: 16px; transition: color 150ms; }
  .nav-menu-list a:hover { color: var(--pine); text-decoration: underline; }
  .nav-menu-all { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--pine); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .surface-night .nav-menu { background: var(--night); color: var(--paper); border-color: var(--night-hair); --focus: var(--paper); }
  .surface-night .nav-menu-list li { border-color: var(--night-hair); }
  .surface-night .nav-menu-list a:hover, .surface-night .nav-menu-all { color: var(--paper); }
}
@media (max-width: 767px) {
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 32px; display: none; overflow: auto; z-index: 49; --focus: var(--pine); }
  .surface-night .primary-nav { background: var(--night); color: var(--paper); --focus: var(--paper); }
  .primary-nav.open { display: block; }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li { display: block; border-bottom: 1px solid var(--hair); }
  .surface-night .primary-nav > ul > li { border-color: var(--night-hair); }
  .primary-nav > ul > li > a { display: block; padding: 16px 0; font-size: 22px; font-weight: 600; border-bottom: 0; }
  .primary-nav > ul > li > a[aria-current="page"] { color: var(--pine); }
  .surface-night .primary-nav > ul > li > a[aria-current="page"] { color: var(--paper); text-decoration: underline; }
  .has-menu { display: grid !important; grid-template-columns: minmax(0, 1fr) 56px; align-items: center; }
  .menu-caret { width: 56px; height: 56px; margin: 0; justify-self: end; }
  .menu-caret .caret-glyph { width: 16px; height: 16px; }
  .nav-menu { grid-column: 1 / -1; padding: 0 0 14px 16px; }
  .has-menu.open > .nav-menu { display: block; }
  .nav-menu-list a, .nav-menu-all { display: block; padding: 11px 0; font-size: 18px; font-weight: 500; }
  .nav-menu-all { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
  .nav-foot { display: grid; gap: 12px; margin-top: 24px; }
  .nav-foot .phone-link { display: inline; font-size: 20px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  body.nav-open { overflow: clip; }
}

/* ============================================================ phone bar (phones only) */
.phone-bar { display: none; }
@media (max-width: 767px) {
  .phone-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: grid; grid-template-columns: 1fr 1fr; height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .phone-bar a { display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px; text-decoration: none; }
  .phone-bar-call { background: var(--pine); color: var(--paper); --focus: var(--paper); }
  .phone-bar-est { background: var(--amber); color: var(--ink); --focus: var(--ink); }
  body.form-focus .phone-bar { display: none; }
  body:has(.phone-bar) .site-footer { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  body.form-focus .site-footer { padding-bottom: 0; }
}

/* ============================================================ breadcrumbs */
.crumbs { padding-top: 24px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--hair); }
.crumbs a { display: inline-block; padding: 4px 0; color: inherit; }
:is(.surface-pine, .surface-night) .crumbs { color: var(--paper-78); }
:is(.surface-pine, .surface-night) .crumbs li + li::before { color: var(--paper-hair); }

/* ============================================================ inner page hero */
.page-hero { padding: 0 0 clamp(48px, 42.06px + 1.524vw, 64px); }
.page-hero-grid { display: grid; gap: 40px; margin-top: clamp(32px, 26.06px + 1.524vw, 48px); }
@media (min-width: 1024px) { .page-hero-grid.has-side { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; } }
.page-hero h1 { max-width: 20ch; }
.page-hero .container > h1 { margin-top: clamp(32px, 26.06px + 1.524vw, 48px); }
.page-hero .lede { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.page-hero .btn-row { margin-top: 32px; }
.hero-call { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-side { display: grid; gap: 16px; align-content: start; justify-items: start; }
@media (min-width: 1024px) { .page-hero .hero-side { justify-items: end; } }
.hero-side .photo-frame, .hero-thumb { max-width: 300px; width: 100%; }
.hero-thumb img { width: 100%; height: auto; }
.hero-facts-list { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.hero-facts-list div { display: grid; gap: 2px; }
.hero-facts-list dt { color: var(--muted); font-weight: 500; font-size: 15px; }
.hero-facts-list dd { font-weight: 600; font-size: 17px; }
:is(.page-hero.surface-pine, .page-hero.surface-night) .lede,
:is(.page-hero.surface-pine, .page-hero.surface-night) .hero-facts-list dt { color: var(--paper-78); }

/* ============================================================ service cards */
/* photo cards sit on the section ground with no box; text cards are paper-light panels.
   Photo columns stop at 345px so no 300px source is shown past 1.15x. */
.cards { display: grid; gap: 40px var(--gap); grid-template-columns: minmax(0, 1fr); }
.cards:has(> .card:not(.text)) { grid-template-columns: minmax(0, 345px); }
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards:has(> .card:not(.text)) { grid-template-columns: repeat(2, minmax(0, 345px)); }
}
@media (min-width: 1024px) {
  .cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.cols-4:has(> .card:not(.text)) { grid-template-columns: repeat(4, minmax(0, 345px)); }
  .cards.cols-3:has(> .card:not(.text)) { grid-template-columns: repeat(3, minmax(0, 345px)); }
  .cards.cols-2:has(> .card:not(.text)) { grid-template-columns: repeat(2, minmax(0, 345px)); }
}
.cards:has(> .card.text) { gap: var(--gap); }
@media (max-width: 767px) { .cards:has(> .card.text) { gap: 12px; } }
.cards + .cards { margin-top: 40px; }
.card { display: flex; min-width: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; width: 100%; }
.card-media { aspect-ratio: 16 / 10; overflow: clip; border-radius: var(--radius-card); background: var(--paper-deep); }
.surface-paper-deep .card-media { background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-type { font-size: 15px; font-weight: 600; color: var(--pine); line-height: 1.3; }
.card-body h3 { font-size: var(--fs-h4); line-height: 1.2; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card-link:hover h3 { text-decoration: underline; }
.card-body p { color: var(--muted); font-size: 17px; line-height: 1.5; }
.card-body .card-line, .card-body > p:not([class]) { flex: 1; }
.card-body .card-price { color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; }
.card-body .text-link { font-size: 17px; margin-top: 4px; align-self: flex-start; }
.card.text { background: var(--paper-light); border-radius: var(--radius-card); }
.card.text .card-body { padding: 24px; }
.card.text h3 { font-size: 20px; }
.surface-paper-light .card.text { background: var(--paper); }
:is(.surface-pine, .surface-pine-deep) .card { background: var(--paper-light); color: var(--ink); border-radius: var(--radius-card); }
:is(.surface-pine, .surface-pine-deep) .card .card-body { padding: 24px; }
:is(.surface-pine, .surface-pine-deep) .card .text-link { color: var(--pine); }

/* ============================================================ lighting lines (home block and lighting page) */
.lighting-lines { margin-top: 28px; border-top: 1px solid var(--hair); }
.lighting-lines li { padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: var(--fs-h4); font-weight: 500; line-height: 1.35; }
.lighting-price { margin-top: 24px; font-weight: 600; font-size: var(--fs-h4); }
.surface-night .lighting-lines, .surface-night .lighting-lines li { border-color: var(--night-hair); }

/* ============================================================ steps + timeline */
.steps-close { margin-top: 48px; font-size: var(--fs-statement); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
.plain-steps { display: grid; gap: 10px; counter-reset: ps; margin-top: 12px; }
.plain-steps li { counter-increment: ps; display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.plain-steps li::before { content: counter(ps) "."; font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline { display: grid; }
.tl-step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 16px; padding: 28px 0; align-content: start; }
.tl-step:first-child { padding-top: 0; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step + .tl-step { border-top: 1px solid var(--hair); }
.tl-n { font-size: 48px; line-height: 1; font-weight: 700; color: var(--pine); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tl-body h3 { font-size: var(--fs-h4); line-height: 1.2; }
.tl-body p { margin-top: 8px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.tl-body .tl-get { color: var(--ink); }
.tl-get strong { font-weight: 700; }
.tl-when { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--pine); }
@media (min-width: 1024px) {
  .timeline.horizontal { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .timeline.horizontal .tl-step { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 24px 0 0; }
  .timeline.horizontal .tl-step + .tl-step { border-top: 0; border-left: 1px solid var(--hair); padding-left: 24px; }
  .timeline.horizontal .tl-step:last-child { padding-right: 0; }
}
:is(.surface-pine, .surface-pine-deep, .surface-night) :is(.tl-n, .tl-when, .tl-body .tl-get) { color: var(--paper); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .tl-body p:not(.tl-get) { color: var(--paper-78); }
:is(.surface-pine, .surface-pine-deep) .tl-step + .tl-step { border-color: var(--paper-hair); }
.surface-night .tl-step + .tl-step { border-color: var(--night-hair); }

/* ============================================================ reviews */
.stars { display: block; color: var(--pine); font-size: 18px; letter-spacing: 2px; line-height: 1; margin-bottom: 16px; }
:is(.surface-pine, .surface-pine-deep, .surface-night) .stars { color: var(--paper); }
.review blockquote p::before, .review-featured blockquote p::before { content: "\201C"; }
.review blockquote p::after, .review-featured blockquote p::after { content: "\201D"; }
.review-featured { max-width: 920px; }
.review-featured blockquote p { font-size: var(--fs-statement); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.review-featured figcaption { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; }
.review-name { font-weight: 600; }
.review-platform { color: var(--muted); font-weight: 500; }
:is(.surface-pine, .surface-pine-deep, .surface-night) .review-platform { color: var(--paper-78); }
.review-grid { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review-featured + .review-grid { margin-top: var(--head-gap); }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--paper-light); border-radius: var(--radius-card); }
.review .stars { margin-bottom: 0; }
.review blockquote p { font-size: var(--fs-body); line-height: 1.5; }
.review-by { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.surface-paper-light .review { background: var(--paper); }
:is(.surface-pine, .surface-pine-deep) .review { background: var(--paper-light); color: var(--ink); }
:is(.surface-pine, .surface-pine-deep) .review :is(.stars) { color: var(--pine); }
:is(.surface-pine, .surface-pine-deep) .review .review-platform { color: var(--muted); }
.surface-night .review { background: var(--pine-deep); }

/* ============================================================ gallery, mosaic, lightbox */
/* flex rows with fixed column widths: a short last row centers, and no photo is ever stretched past its column (the sources are 300 to 533 px wide) */
.gallery { --cols: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.gallery > li { display: flex; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; max-width: 345px; }
.gallery > li > .gallery-item { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
@media (min-width: 768px) { .gallery { --cols: 3; } }
@media (min-width: 1024px) { .gallery.cols-4 { --cols: 4; } .gallery.cols-3 { justify-content: flex-start; } .gallery.cols-3 > li { max-width: 320px; } .gallery.cols-3 .gallery-item img { aspect-ratio: 4 / 5; } }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-card); background: transparent; overflow: clip; text-align: left; color: inherit; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-card); transition: opacity 150ms; }
.gallery-item:hover img { opacity: 0.9; }
/* a gallery with no photos never renders, and neither does its section */
.gallery:empty, .work:has(.gallery:empty) { display: none; }
.gallery-caption { display: block; padding: 10px 0 0; color: var(--muted); }
.surface-night .gallery-caption { color: var(--paper-78); }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
@media (min-width: 768px) { .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; } }
@media (min-width: 1024px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; } }
.mosaic li.tall { grid-row: span 2; }
.mosaic-tile { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius-card); background: var(--paper-deep); overflow: clip; text-align: left; color: inherit; }
.surface-paper-deep .mosaic-tile { background: var(--paper); }
.mosaic-tile img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; transition: opacity 150ms; }
.mosaic-tile:hover img { opacity: 0.9; }
.mosaic-cap { flex: 0 0 auto; display: block; padding: 10px 14px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.surface-night .mosaic-tile { background: var(--pine-deep); }
.surface-night .mosaic-cap { color: var(--paper-78); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 96vh; }
.lightbox::backdrop { background: rgba(11, 20, 17, 0.92); }
.lightbox figure { display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 96vw; max-height: min(82vh, 460px); width: auto; height: auto; border-radius: var(--radius-card); }
.lightbox figcaption { color: var(--paper); font-weight: 500; }
.lightbox-close { position: fixed; top: 16px; right: 16px; background: var(--paper); color: var(--ink); border: 0; border-radius: var(--radius); min-height: 44px; padding: 0 16px; font-weight: 600; --focus: var(--paper); }
.photo-frame { border-radius: var(--radius-card); overflow: clip; background: var(--paper-deep); }
.photo-frame img { width: 100%; height: auto; }
figure.photo figcaption { margin-top: 10px; color: var(--muted); }
:is(.surface-pine, .surface-pine-deep, .surface-night) figure.photo figcaption { color: var(--paper-78); }

/* ============================================================ figures (inline SVG diagrams) */
/* a figure sits in a 12px panel; when the panel is under 560px wide its labels would render below 13px, so they drop out */
.figure { display: grid; gap: 12px; }
.figure svg, .fig { width: 100%; height: auto; display: block; color: var(--ink); }
:is(.surface-night, .surface-pine, .surface-pine-deep) .figure svg,
:is(.surface-night, .surface-pine, .surface-pine-deep) .fig { color: var(--paper); }
.figure .module, .fig .module { fill: none; }
.figure .lit, .fig .lit { fill: none; }
:is(.surface-night, .surface-pine-deep) .figure .lit, :is(.surface-night, .surface-pine-deep) .fig .lit { fill: var(--amber); }
.figure.day .run { visibility: hidden; }
.figure.day .lit { fill: none; }
.figure.night .run { visibility: visible; }
.figure figcaption { color: var(--muted); }
:is(.surface-night, .surface-pine, .surface-pine-deep) .figure figcaption { color: var(--paper-78); }
.fig-labels { fill: currentColor; stroke: none; }
.fig-line { fill: none; stroke: currentColor; }
.fig-wash { fill: currentColor; fill-opacity: 0.06; stroke: none; }
.fig-label { fill: currentColor; stroke: none; }
.fig-roofline-section, .fig-system, .fig-house-front, .fig-daytime-detail { max-width: 100%; }
.figure-art { container-type: inline-size; max-width: 100%; background: var(--paper-light); border-radius: var(--radius-card); padding: 20px; }
@media (min-width: 768px) { .figure-art { padding: 32px; } }
.surface-paper-light .figure-art { background: var(--paper); }
:is(.surface-night, .surface-pine) .figure-art { background: var(--pine-deep); }
.surface-pine-deep .figure-art { background: var(--night); }
@container (max-width: 559px) { .figure-art svg:not(.area-map) text { display: none; } }

/* ============================================================ areas + map */
.map-frame { border-radius: var(--radius-card); overflow: clip; background: var(--paper-light); padding: 16px; }
.surface-paper-light .map-frame { background: var(--paper); }
.figure-art .map-frame { padding: 0; background: transparent; border-radius: 0; }
.map-frame svg { width: 100%; height: auto; }
.area-map { color: var(--pine); font-stretch: var(--wide); font-variation-settings: "wdth" 112.5; }
.areas-extra { margin-top: 16px; color: var(--muted); }
/* map labels: phones get larger type and drop the road names so the center stays legible */
@media (max-width: 767px) {
  .map-frame, .figure-art:has(.map-frame) { margin-inline: calc(-1 * var(--gutter)); max-width: none; padding: 0; border-radius: 0; }
  .figure-art .map-frame { margin-inline: 0; }
  .area-map .map-road { display: none; }
  .area-map .map-city { font-size: 22px; }
  .area-map .map-town { font-size: 21px; }
  .area-map .map-key { font-size: 21px; }
  .area-map .map-note { font-size: 22px; font-stretch: 100%; font-variation-settings: "wdth" 100; }
}

/* ============================================================ about strip */
.about-copy > h2 { margin-bottom: 24px; }
.about-copy p + p { margin-top: 1em; }
.about-copy .text-link { display: inline-block; margin-top: 24px; }

/* ============================================================ faq */
.faq-item { border-top: 1px solid var(--hair); }
.faq-item:last-of-type { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 600; font-size: 20px; line-height: 1.35; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--pine); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.faq-a p + p { margin-top: 0.8em; }
.faq h2 { margin-bottom: 32px; }
.surface-night .faq-item, .surface-night .faq-item:last-of-type { border-color: var(--night-hair); }
.surface-night .faq-item summary::after { color: var(--paper); }
.surface-night .faq-a { color: var(--paper-78); }

/* ============================================================ closer + forms */
.closer { background: linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%); color: var(--paper); }
.closer-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .closer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: start; } }
.closer-copy .lede { margin-top: 20px; color: var(--paper-78); max-width: 46ch; }
.closer-copy h3 { margin-top: 40px; font-size: var(--fs-h4); color: var(--paper); }
.closer-copy .plain-steps { margin-top: 16px; }
.closer-copy .plain-steps li::before { color: var(--paper-78); }
.closer-phone { margin-top: 32px; }
.closer-phone a { font-weight: 600; }
.closer-form { background: var(--paper-light); color: var(--ink); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .closer-form { padding: 40px; } }
.lead-form { display: grid; gap: 20px; }
.form-title { margin-bottom: 4px; font-size: var(--fs-h4); font-weight: 650; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--muted); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-size: 17px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--pine); outline-offset: 0; border-color: var(--pine); }
.field.has-err input { border-color: var(--error); }
.err { color: var(--error); min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: clip; }
.consent { color: var(--muted); line-height: 1.45; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 14px; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; flex: 0 0 20px; margin: 1px 0 0; accent-color: var(--pine); }
.consent-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.form-note:empty { display: none; }
.form-note { color: var(--error); }
.choices { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 12px; border: 1px solid var(--muted); border-radius: var(--radius); background: #fff; font-weight: 600; text-align: center; cursor: pointer; transition: border-color 150ms, background-color 150ms; }
.choices label:hover { border-color: var(--pine); }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices input:checked + span, .choices label:has(input:checked) { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.choices label:has(input:focus-visible) { outline: 3px solid var(--pine); outline-offset: 2px; }
.ms-step { display: grid; gap: 16px; }
.ms-step[hidden] { display: none; }
.ms-progress { color: var(--muted); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.ms-nav { display: flex; gap: 12px; justify-content: space-between; }
.ms-nav .btn-outline { color: var(--pine); border-color: var(--pine); }
.ms-nav .btn-outline:hover { background: var(--pine); color: var(--paper); }
.lead-form .btn { min-height: 56px; }

/* ============================================================ cta band */
.cta-band { padding: clamp(56px, 40.76px + 3.81vw, 96px) 0; }
.cta-band-row { display: grid; gap: 32px; }
@media (min-width: 1024px) { .cta-band-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 72px; } .cta-band-actions { justify-content: flex-end; } }
.cta-band h2 { max-width: 18ch; }
.cta-band-line { margin-top: 16px; max-width: 54ch; color: var(--muted); font-size: var(--fs-body); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .cta-band-line { color: var(--paper-78); }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-band-phone { font-weight: 600; font-size: 17px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ============================================================ content components */
.facts-panel h3 { font-size: var(--fs-h4); margin-bottom: 16px; }
.facts-panel dl { display: grid; border-top: 1px solid var(--hair); }
@media (min-width: 768px) { .facts-panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.facts-panel dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hair); align-content: start; }
.facts-panel dt { color: var(--muted); font-weight: 500; font-size: 15px; }
.facts-panel dd { font-weight: 650; font-size: var(--fs-h4); line-height: 1.3; font-variant-numeric: tabular-nums; }
:is(.surface-pine, .surface-pine-deep, .surface-night) .facts-panel :is(dl, dl > div) { border-color: var(--paper-hair); }
.surface-night .facts-panel :is(dl, dl > div) { border-color: var(--night-hair); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .facts-panel dt { color: var(--paper-78); }

.price-anchor { border-top: 1px solid var(--hair); padding-top: 24px; }
.price-anchor-label { color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.price-anchor-n { font-size: var(--fs-fact); line-height: 1.05; font-weight: 700; color: var(--pine); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-anchor-note { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 52ch; }
:is(.surface-pine, .surface-pine-deep, .surface-night) .price-anchor { border-color: var(--paper-hair); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .price-anchor-n { color: var(--paper); }
:is(.surface-pine, .surface-pine-deep, .surface-night) :is(.price-anchor-label, .price-anchor-note) { color: var(--paper-78); }

.inc-exc { display: grid; gap: 40px; }
@media (min-width: 768px) { .inc-exc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.inc-exc h3 { font-size: var(--fs-h4); margin-bottom: 16px; }
.inc-list, .exc-list { border-top: 1px solid var(--hair); }
.inc-list li, .exc-list li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.inc-list li { font-weight: 600; }
.exc-list li, .exc h3 { color: var(--muted); }

.compare-wrap h3 { font-size: var(--fs-h4); margin-bottom: 16px; }
.compare { font-size: 17px; text-align: left; }
.compare th, .compare td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.compare thead th { font-size: 15px; font-weight: 600; color: var(--muted); border-bottom-color: var(--ink); }
.compare tbody th { font-weight: 650; }
.compare td { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-top: 1px solid var(--ink); padding: 8px 0 12px; }
  .compare tbody th { border: 0; padding: 8px 0; }
  .compare td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 10px 0; }
  .compare td::before { content: attr(data-col); color: var(--muted); font-weight: 500; font-size: 15px; }
}

.checklist { display: grid; margin-top: 24px; border-top: 1px solid var(--hair); }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--hair); font-weight: 600; }
.checklist.not li { color: var(--muted); font-weight: 500; }
.checklist.numbered { counter-reset: cl; }
.checklist.numbered li { counter-increment: cl; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
.checklist.numbered li::before { content: counter(cl); color: var(--pine); font-weight: 700; font-variant-numeric: tabular-nums; }
h3 + .checklist { margin-top: 16px; }
:is(.surface-pine, .surface-pine-deep) :is(.checklist, .checklist li, .inc-list, .exc-list, .inc-list li, .exc-list li) { border-color: var(--paper-hair); }

.note { border-left: 3px solid var(--pine); padding: 4px 0 4px 20px; max-width: 64ch; }
.note-label { font-weight: 700; color: var(--pine); margin-bottom: 6px; }
.note-body p + p { margin-top: 0.6em; }
:is(.surface-pine, .surface-pine-deep, .surface-night) .note { border-color: var(--paper); }
:is(.surface-pine, .surface-pine-deep, .surface-night) .note-label { color: var(--paper); }

/* jump nav: sticky rail on desktop, plain list on phones */
.jump-nav { margin-bottom: 32px; }
.jump-title { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.jump-nav ol { border-left: 1px solid var(--hair); }
.jump-nav a { display: block; margin-left: -1px; padding: 10px 0 10px 16px; border-left: 2px solid transparent; text-decoration: none; font-weight: 500; font-size: 17px; transition: color 150ms, border-color 150ms; }
.jump-nav a:hover { color: var(--pine); }
.jump-nav a.is-active, .jump-nav a[aria-current="true"] { color: var(--pine); font-weight: 600; border-left-color: var(--pine); }
.jump-body > section { padding: 48px 0; border-top: 1px solid var(--hair); }
.jump-body > section:first-child { padding-top: 0; border-top: 0; }
.jump-body > section:last-child { padding-bottom: 0; }
.jump-body .container { max-width: none; padding-inline: 0; }
@media (min-width: 1024px) {
  .jump-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 72px; align-items: start; }
  .jump-nav { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
  .jump-body > section { padding: 64px 0; }
  .jump-body :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow { display: block; max-width: none; }
}

/* ============================================================ footer */
.site-footer { background: var(--night); color: var(--paper); padding-top: clamp(56px, 40.76px + 3.81vw, 96px); --focus: var(--paper); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-bottom: 48px; border-bottom: 1px solid var(--night-hair); }
.footer-tagline { font-size: clamp(28px, 25.03px + 0.762vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.footer-lic { margin-top: 12px; font-size: 17px; color: var(--paper-78); }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-phone { font-size: 19px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-phone:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-top: 48px; padding-bottom: 48px; font-size: 17px; line-height: 1.9; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); } .footer-brand { grid-column: auto; } }
.footer-brand .wordmark { font-size: 22px; }
.footer-brand p { margin-top: 16px; line-height: 1.6; }
.footer-brand .footer-contact a { display: inline-block; padding: 4px 0; font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-facts, .nap, .hours, .footer-profiles { color: var(--paper-78); }
.footer-profiles a { font-weight: 600; }
.nap span { font-weight: 600; color: var(--paper); }
.footer-col h2 { font-size: 15px; line-height: 1.3; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; color: var(--paper); text-wrap: initial; }
.footer-col a { display: inline-block; text-decoration: none; color: var(--paper-78); transition: color 150ms; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
@media (max-width: 767px) { .footer-col a { padding: 6px 0; } }
.footer-extra { margin-top: 12px; color: var(--paper-78); line-height: 1.5; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--night-hair); padding-top: 24px; padding-bottom: 32px; color: var(--paper-78); }
.footer-base a { color: var(--paper); font-weight: 600; }

/* ============================================================ other pages */
.contact-form { border-radius: var(--radius-lg); padding: 24px; background: var(--paper-light); }
@media (min-width: 768px) { .contact-form { padding: 40px; } }
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .lede { margin-top: 24px; max-width: 46ch; }
.thanks h1 { max-width: 16ch; }
.thanks .btn-row { margin-top: 32px; }
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .lede { margin-top: 24px; max-width: 46ch; }
.notfound .btn-row { margin-top: 32px; }
.legal-head { padding: 0 0 40px; }
.legal-head h1 { margin-top: 40px; }
.legal-head .lede { color: var(--muted); margin-top: 16px; }
.legal-body { padding: 48px 0 var(--section); background: var(--paper-light); }
.legal-body .prose { max-width: var(--container-narrow); }
.legal-body .prose h2 { font-size: 24px; }
.legal-body .prose a { font-weight: 600; }
.legal-body .legal-callout { margin: 24px 0; padding: 20px 24px; border-left: 3px solid var(--pine); background: var(--paper-deep); }
.legal-body .legal-callout p + p { margin-top: 0.6em; }

/* ============================================================ editorial rows: heading left, body right (desktop) */
@media (min-width: 1024px) {
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow { max-width: calc(var(--container) + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 96px; align-items: start; }
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > * { grid-column: 2; }
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > :is(h2, .section-head) { grid-column: 1; margin: 0; max-width: 480px; }
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > h2,
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > .section-head h2 { font-size: clamp(32px, 26.06px + 1.524vw, 48px); line-height: 1.05; }
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > :is(h2, .section-head) + * { margin-top: 0; }
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > :is(h2, .section-head) ~ :is(h2, .section-head),
  :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow > :is(h2, .section-head) ~ :is(h2, .section-head) + * { margin-top: 72px; }
  .service-detail > .container.narrow > p:first-child { grid-column: 1 / -1; max-width: 820px; font-size: var(--fs-lede); line-height: 1.5; margin-bottom: 64px; }
  .jump-body :is(.pricing, .hoa, .why, .faq, .license, .service-detail) > .container.narrow { display: block; max-width: none; }
}

/* ============================================================ print */
@media print {
  .site-header, .utility-bar, .phone-bar, .closer-form, .nav-menu, .lightbox { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* ============================================================ small structural hooks */
.figure-scroll, .footer-top-copy { min-width: 0; }
.cards-compact .card.text .card-body { padding: 20px 24px; }
.about-strip .split, .h-services .section-head, .h-how .timeline-wrap, .h-work .section-head, .h-lighting .container, .lighting-block .h-lighting-body { min-width: 0; }
/* quiz inside the paper card on a pine closer: progress and consent text stay ink-muted, never paper-78 */
.closer .closer-form :is(.muted, .ms-progress) { color: var(--muted); }

/* PHONE PASS 2026-11-06. Everything below is phone-only (under 768px), except the two summary
   rules, which keep the footer link groups looking like plain columns on wider screens. */
.footer-col summary { display: block; list-style: none; cursor: default; pointer-events: none; }
.footer-col summary::-webkit-details-marker { display: none; }

@media (max-width: 767px) {
  :root { --section: 48px; --section-tight: 36px; --head-gap: 24px; }

  /* rhythm */
  .split { gap: 28px; }
  .section-head p { margin-top: 12px; font-size: 17px; line-height: 1.5; }
  .cta-band { padding: 40px 0; }
  .cta-band-row { gap: 20px; }
  .cta-band-line { margin-top: 10px; font-size: 17px; }
  .checklist li, .inc-list li, .exc-list li { padding: 10px 0; }
  .inc-exc { gap: 28px; }

  /* interior heroes. The permanent lighting hero is left exactly as it is. */
  .page-hero:not(.lt-hero) { padding-bottom: 36px; }
  .page-hero:not(.lt-hero) .page-hero-grid { gap: 28px; margin-top: 24px; }
  .page-hero:not(.lt-hero) .lede { font-size: 17px; line-height: 1.5; }
  .page-hero:not(.lt-hero) .btn-row { margin-top: 24px; }
  .page-hero:not(.lt-hero) .btn-row .btn { flex: 1 1 100%; }
  .page-hero:not(.lt-hero) .hero-call { display: none; }
  .page-hero:not(.lt-hero) .hero-facts-list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--hair); }
  .page-hero:not(.lt-hero) .hero-facts-list div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .page-hero:not(.lt-hero) .hero-facts-list dd { font-size: 16px; }

  /* image cards: two across, name only */
  .cards:has(> .card:not(.text)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card:not(.text) .card-body { padding-top: 10px; gap: 4px; }
  .card:not(.text) .card-body h3 { font-size: 17px; line-height: 1.25; }
  .card:not(.text) .card-type { font-size: 13px; }
  .card:not(.text) .card-line { display: none; }
  .card:not(.text) .text-link { font-size: 15px; }

  /* text cards: one row each, name and link */
  .cards:has(> .card.text) { gap: 8px; }
  .card.text .card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 16px 18px; }
  .card.text .card-body h3 { font-size: 18px; }
  .card.text .card-line { display: none; }
  .card.text .text-link { font-size: 15px; }

  /* steps: number, name and what you get */
  .tl-step { grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; }
  .tl-n { font-size: 28px; }
  .tl-body p { margin-top: 6px; font-size: 16px; }
  .tl-body:has(> .tl-get) > p:not(.tl-get) { display: none; }
  .steps-close { margin-top: 24px; font-size: 19px; }

  /* reviews: one featured quote, the rest in a row you swipe */
  .review-featured blockquote p { font-size: 19px; line-height: 1.4; }
  .review-featured figcaption { margin-top: 14px; }
  .review-grid { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-grid > .review { flex: 0 0 84%; scroll-snap-align: start; padding: 20px; gap: 12px; }
  .review-grid > .review:only-child { flex-basis: 100%; }

  /* estimate block: straight to the form */
  .closer-grid { gap: 24px; }
  .closer-copy .lede { margin-top: 12px; font-size: 17px; line-height: 1.5; }
  .closer-copy h3, .closer-copy .plain-steps { display: none; }
  .closer-phone { margin-top: 12px; }

  /* facts panels */
  .facts-panel dl > div { padding: 12px 0; }
  .facts-panel dd { font-size: 17px; }

  /* comparisons. Three options stay stacked, tighter. Two options fit as a real table. */
  .compare tr { padding: 4px 0 8px; }
  .compare td { padding: 7px 0; font-size: 16px; }
  .compare:has(thead th:nth-child(3):last-child) { display: table; table-layout: fixed; width: 100%; }
  .compare:has(thead th:nth-child(3):last-child) thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip-path: none; }
  .compare:has(thead th:nth-child(3):last-child) tbody { display: table-row-group; width: auto; }
  .compare:has(thead th:nth-child(3):last-child) tr { display: table-row; width: auto; padding: 0; border-top: 0; }
  .compare:has(thead th:nth-child(3):last-child) :is(th, td) { display: table-cell; width: auto; padding: 10px 10px 10px 0; border: 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.4; vertical-align: top; text-align: left; white-space: normal; }
  .compare:has(thead th:nth-child(3):last-child) thead th { border-top: 0; padding-top: 0; font-size: 14px; }
  .compare:has(thead th:nth-child(3):last-child) :is(th, td):first-child { width: 28%; }
  .compare:has(thead th:nth-child(3):last-child) :is(th, td):last-child { padding-right: 0; }
  .compare:has(thead th:nth-child(3):last-child) td::before { content: none; }

  /* footer: the two buttons already sit in the bar at the bottom of the screen, and the link groups fold */
  .footer-top { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; padding-bottom: 8px; font-size: 16px; line-height: 1.6; }
  .footer-brand { padding-bottom: 20px; }
  .footer-brand p { margin-top: 8px; }
  details.footer-col { border-top: 1px solid var(--night-hair); }
  details.footer-col summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; pointer-events: auto; }
  details.footer-col summary h2 { margin: 0; font-size: 16px; }
  details.footer-col summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  details.footer-col[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  details.footer-col > ul { padding-bottom: 12px; }
  details.footer-col .footer-extra { margin-top: 0; padding-bottom: 14px; }
  .footer-legal { border-top: 1px solid var(--night-hair); padding-top: 14px; }
  .footer-legal h2 { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
  .footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .footer-base { gap: 6px; padding-top: 14px; padding-bottom: 20px; font-size: 15px; }
}
