/* ==========================================================================
   Site stylesheet · main.css
   Order: fonts > tokens > base > layout > components > pages > utilities.
   Every color comes from a token, so the dark theme only redefines tokens.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Love Ya Like A Sister";
  src: url("/assets/fonts/love-ya-like-a-sister-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Utility class requested for the display face. */
.love-ya-like-a-sister-regular {
  font-family: "Love Ya Like A Sister", cursive;
  font-weight: 400;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  --gold: #F2B01E;
  --gold-deep: #C98A00;
  --ink: #25262B;
  --on-gold: #25262B;

  --bg: #FBFBF9;
  --surface: #FFFFFF;
  --surface-2: #EFEEEA;
  --text: #25262B;
  --muted: #4A4C53;
  --line: #D9D7D0;
  --error: #A6192E;
  --link: #25262B;
  --link-underline: #C98A00;
  --focus: #25262B;

  --font-display: "Love Ya Like A Sister", "Comic Sans MS", "Chalkboard SE", cursive;
  --font-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  --step-2: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.7rem + 2.2vw, 3.625rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: clamp(3rem, 2rem + 4vw, 5.5rem);

  --radius: 6px;
  --wrap: 72rem;
  --measure: 66ch;
  --header-h: 4.25rem;
  --shadow: 0 1px 2px rgb(37 38 43 / 0.06), 0 8px 24px -12px rgb(37 38 43 / 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181B;
    --surface: #212226;
    --surface-2: #1C1D20;
    --text: #EDECE8;
    --muted: #B4B3AE;
    --line: #34353A;
    --error: #FF8A99;
    --link: #EDECE8;
    --link-underline: #F2B01E;
    --focus: #F2B01E;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -12px rgb(0 0 0 / 0.6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.005em; }
p, ul, ol, dl, figure { margin: 0; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--link); text-decoration-color: var(--link-underline); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--gold); color: var(--on-gold); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xl { width: 3.5rem; height: 3.5rem; color: var(--gold-deep); margin-bottom: var(--space-4); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 1.75rem + 2.5vw, 4rem); }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  letter-spacing: 0.005em;
  margin-bottom: var(--space-5);
}
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 44ch; margin-top: var(--space-4); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.narrow-page { max-width: 44rem; }

/* ---------- Skip link / visually hidden ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 2.875rem; padding: 0.625rem 1.25rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 var(--step-0)/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.1s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.125em; height: 1.125em; }
.btn--primary { background: var(--gold); color: var(--on-gold); }
.btn--primary:hover { background: #E0A00F; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--ink { background: var(--ink); color: #FBFBF9; }
.btn--ink:hover { background: #000; }
.btn--ghost-ink { border-color: rgb(37 38 43 / 0.45); color: var(--ink); }
.btn--ghost-ink:hover { border-color: var(--ink); }
.btn--sm { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: var(--step--1); }
.btn--lg { min-height: 3.25rem; padding-inline: 1.75rem; }
.btn--block { width: 100%; }

.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text); text-decoration: none; }
.brand__mark {
  width: 2.25rem; height: 2.25rem; flex: none; border-radius: var(--radius);
  background: var(--gold);
  box-shadow: inset 0 -0.45rem 0 rgb(37 38 43 / 0.14);
}
.brand__name { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.08; }
.brand__line { display: block; white-space: nowrap; }
@media (max-width: 22rem) { .brand__name { font-size: 0.95rem; } }

.nav-toggle {
  display: none; margin-left: auto;
  width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.site-nav__list { display: flex; gap: var(--space-1); list-style: none; padding: 0; }
.site-nav__list a {
  display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius);
  color: var(--text); font-weight: 550; text-decoration: none; white-space: nowrap;
}
.site-nav__list a:hover { background: var(--surface-2); }
.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.site-nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.site-nav__phone {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.site-nav__phone:hover { text-decoration: underline; }

@media (max-width: 66rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--space-4);
    padding: var(--space-4) 1.25rem var(--space-5);
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: 0.75rem 0.5rem; font-size: var(--step-1); }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 0.875rem; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__actions .btn { min-height: 3rem; font-size: var(--step-0); }
  .site-nav__phone { justify-content: center; min-height: 3rem; border: 1px solid var(--line); border-radius: var(--radius); }
  /* Without JS the nav simply wraps below the brand. */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: var(--space-3); }
  html:not(.js) .site-nav { flex-wrap: wrap; margin-left: 0; }
  html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: var(--space-5); font-size: var(--step--1); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: var(--space-2); color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Figures (placeholder-safe) ---------- */
.figure { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { padding: var(--space-2) var(--space-3); font-size: var(--step--1); color: var(--muted); }

/* ---------- Home hero ---------- */
.home-hero { padding-block: var(--space-7) var(--space-8); }
.home-hero__grid { display: grid; gap: var(--space-7); align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.home-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--step-4); line-height: 1.22; letter-spacing: 0.005em;
}
.home-hero__figure { aspect-ratio: 4 / 5; max-height: 38rem; }

/* Hero art: brush-stroke mask sweeps across the line drawing to paint it in. */
.paint-art { background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgb(37 38 43 / 0.35); }
.paint-art svg { display: block; width: 100%; height: 100%; }
.paint-art__sweep { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: paint-sweep 3.6s cubic-bezier(.45,.05,.4,1) 0.5s forwards; }
@keyframes paint-sweep { to { stroke-dashoffset: 0; } }

/* Signature: a gold roller stroke painted behind the h1. It wraps with the
   text (box-decoration-break) and animates once on load. */
.roller {
  color: var(--on-gold);
  padding: 0.02em 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath fill='%23F2B01E' d='M3 9 L40 5 L90 8 L140 3 L200 7 L255 2 L310 6 L360 3 L397 8 L399 30 L396 55 L399 78 L396 95 L350 98 L300 94 L240 99 L180 95 L120 98 L60 94 L4 97 L1 70 L4 45 L1 22 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
  animation: roll 0.9s var(--ease) 0.15s both;
}
@keyframes roll {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

/* ---------- Page hero (service) ---------- */
.page-hero {
  display: grid; gap: var(--space-6); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-block: var(--space-6) var(--space-7);
}
.page-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--step-4); line-height: 1.15; letter-spacing: 0.005em;
}
.page-hero__figure { aspect-ratio: 4 / 3; }
.hub-hero { padding-block: var(--space-6) var(--space-6); }
.hub-hero .lede { max-width: 56ch; }
.hub-intro { padding-bottom: var(--space-7); }

/* ---------- Prose ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose--wide { max-width: 72ch; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 72ch; }
.prose a { font-weight: 550; }
.hub-hero .prose { margin-top: var(--space-5); }

/* ---------- Assurances strip ---------- */
.assurances { border-block: 1px solid var(--line); background: var(--surface-2); }
.assurances__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.assurances { padding-block: var(--space-6); }
.assurance { display: flex; gap: var(--space-3); align-items: flex-start; }
.assurance__icon { width: 1.75rem; height: 1.75rem; color: var(--gold-deep); margin-top: 0.1rem; }
.assurance__title { font-size: var(--step-0); font-weight: 650; margin-bottom: var(--space-1); text-wrap: pretty; }
.assurance p { font-size: var(--step--1); color: var(--muted); }
@media (prefers-color-scheme: dark) { .assurance__icon, .icon--xl { color: var(--gold); } }

/* ---------- Split service lists ---------- */
.split-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); margin-top: var(--space-5); }
.split-lists__title { font-size: var(--step-2); margin-bottom: var(--space-2); }
.split-lists__title a { text-decoration: none; }
.split-lists__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.split-lists .muted { margin-bottom: var(--space-4); }

.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0.7rem 0; color: var(--text); font-weight: 550; text-decoration: none;
}
.link-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.link-list__swatch {
  width: 0.875rem; height: 1.125rem; flex: none; border-radius: 2px;
  background: var(--swatch, var(--gold)); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

/* ---------- Insight bento (asymmetric: one tall, two stacked) ---------- */
.home-insight { background: var(--surface-2); }
.home-insight__lead { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-6); align-items: start; margin-bottom: var(--space-6); }
.home-insight__lead .section-title { margin-bottom: 0; }
.bento { display: grid; gap: var(--space-4); grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; }
.bento__cell {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.bento__cell--1 { grid-row: span 2; background: var(--gold); color: var(--on-gold); border-color: transparent; justify-content: flex-end; min-height: 20rem; }
.bento__cell--1 h3 { font-size: var(--step-2); }
.bento__cell--1 a { color: var(--on-gold); text-decoration-color: var(--on-gold); }
.bento__cell p { color: inherit; opacity: 0.9; }
.bento__cell .text-link { margin-top: auto; }
.bento__cell--1 .text-link { margin-top: 0; }
.bento__icon { width: 2rem; height: 2rem; }
.bento__cell--1 .bento__icon { width: 2.75rem; height: 2.75rem; margin-bottom: auto; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-4); }
.steps__item { counter-increment: step; position: relative; padding-left: 3rem; }
.steps__item::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--gold); color: var(--on-gold);
  font-family: var(--font-display); font-size: 1.15rem;
}
.steps__title { font-size: var(--step-0); font-weight: 650; margin-bottom: var(--space-1); }
.steps__item p { color: var(--muted); }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-5); }
.steps--row .steps__item { padding: 3rem 0 0; border-top: 2px solid var(--line); }
.steps--row .steps__item::before { top: 0.75rem; }

/* ---------- Area chips (paint-chip cards) ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.area-chip a {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.area-chip a:hover { border-color: var(--text); transform: translateY(-2px); }
.area-chip__swatch { height: 3.5rem; background: var(--swatch); }
.area-chip__name { padding: var(--space-3) var(--space-4) 0; font-weight: 650; }
.area-chip__cities { padding: var(--space-1) var(--space-4) var(--space-4); font-size: var(--step--1); color: var(--muted); }

/* ---------- Service chips (related + hub lists) ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--space-4); }
.chip__link {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.chip__link:hover { border-color: var(--text); transform: translateY(-2px); }
.chip__swatch { background: var(--swatch); box-shadow: inset -1px 0 0 rgb(0 0 0 / 0.1); }
.chip__body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); }
.chip__title { font-size: var(--step-0); font-weight: 650; }
.chip__text { font-size: var(--step--1); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--space-6); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: var(--step-0); font-weight: 600; line-height: 1.4; }
.faq__icon { transition: transform 0.2s var(--ease); color: var(--muted); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding-bottom: var(--space-5); color: var(--muted); max-width: var(--measure); }
.faq__a > * + * { margin-top: 0.75em; }

/* ---------- Service article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--space-7); align-items: start; padding-bottom: var(--space-8); }
.article > .prose { font-size: var(--step-1); line-height: 1.65; }
.block { margin-top: var(--space-7); }
.block-title { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--space-5); }
.scope-list { display: grid; gap: var(--space-4); }
.scope-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.scope-list__icon { color: var(--gold-deep); margin-top: 0.2rem; }
.scope-list h3 { font-size: var(--step-0); font-weight: 650; }
.scope-list p { color: var(--muted); }
@media (prefers-color-scheme: dark) { .scope-list__icon { color: var(--gold); } }

.insight-panel {
  padding: var(--space-6); border-radius: var(--radius);
  background: var(--surface-2); border-left: 6px solid var(--gold);
}
.insight + .insight { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.insight { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-3); }
.insight__icon { width: 1.75rem; height: 1.75rem; }
.insight__title { font-size: var(--step-1); margin-bottom: var(--space-2); }
.insight p + p { margin-top: 0.75em; }

.aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
.estimate-card {
  display: grid; gap: var(--space-3);
  padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.estimate-card .estimate-card__title { color: var(--text); font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; }
.estimate-card p { color: var(--muted); font-size: var(--step--1); }
.estimate-card__hours { display: flex; gap: var(--space-2); align-items: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--on-gold); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-7); }
.cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); margin-bottom: var(--space-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-band :focus-visible { outline-color: var(--ink); }

/* ---------- Hubs ---------- */
.eras__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-5); }
.era { padding-top: var(--space-4); border-top: 3px solid var(--gold); display: grid; gap: var(--space-2); align-content: start; }
.era__title { font-size: var(--step-1); }
.era__where { display: flex; gap: var(--space-2); align-items: center; font-size: var(--step--1); color: var(--muted); font-weight: 550; }
.era__links { font-size: var(--step--1); }

.how { background: var(--surface-2); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-6) var(--space-5); }
.feature-grid li { display: grid; gap: var(--space-2); align-content: start; }
.feature-grid__icon { width: 2rem; height: 2rem; color: var(--gold-deep); }
.feature-grid p { color: var(--muted); }
@media (prefers-color-scheme: dark) { .feature-grid__icon { color: var(--gold); } }

/* ---------- Service areas ---------- */
.areas { display: grid; gap: var(--space-5); padding-bottom: var(--space-8); }
.area {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.area__chip { background: var(--swatch); }
.area__body { padding: var(--space-5) var(--space-6); display: grid; gap: var(--space-3); }
.area__title { font-size: var(--step-2); }
.area__cities { font-weight: 600; color: var(--muted); font-size: var(--step--1); }
.area__notes { display: grid; gap: var(--space-2); }
.area__notes li { display: flex; gap: var(--space-2); align-items: flex-start; }
.area__notes .icon { color: var(--gold-deep); margin-top: 0.2rem; }
.area__links span { color: var(--muted); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; padding-bottom: var(--space-8); }
.estimate-form {
  display: grid; gap: var(--space-5);
  padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.form-note, .form-privacy { font-size: var(--step--1); color: var(--muted); }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field label, .field legend { font-weight: 600; }
.field__req { color: var(--error); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__help { font-size: var(--step--1); color: var(--muted); }
.field__help:empty { display: none; }
.field__error { font-size: var(--step--1); color: var(--error); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 3rem; padding: 0.625rem 0.75rem;
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid #8C8A83; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-offset: 1px; border-color: var(--text); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field--choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.field--choices legend { width: 100%; margin-bottom: var(--space-2); padding: 0; }
.field--choices .field__error { width: 100%; }
.choice { display: inline-flex; gap: var(--space-2); align-items: center; font-weight: 500; cursor: pointer; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--gold-deep); }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.contact-aside { display: grid; gap: var(--space-6); }
.contact-aside .block-title { margin-bottom: 0; }
.contact-phone { font-size: var(--step-2); font-weight: 700; color: var(--text); }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.contact-list li { display: flex; align-items: center; gap: var(--space-2); }
.contact-list .icon { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #1C1D21; color: #D6D5D0; padding-top: var(--space-8); }
.site-footer a { color: #EDECE8; text-decoration-color: rgb(242 176 30 / 0.6); }
.site-footer :focus-visible { outline-color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.site-footer__brand .brand { color: #EDECE8; }
.site-footer__brand > p { color: #B4B3AE; font-size: var(--step--1); max-width: 30ch; }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); font-size: var(--step--1); }
.site-footer__col ul a { text-decoration: none; color: #D6D5D0; }
.site-footer__col ul a:hover { text-decoration: underline; color: #fff; }
.site-footer__heading { font-size: var(--step-0); font-weight: 650; margin-bottom: var(--space-3); }
.site-footer__heading a { text-decoration: none; }
.site-footer__heading--spaced { margin-top: var(--space-5); }
.site-footer__creds { font-size: var(--step--1); color: #B4B3AE; }
.site-footer .contact-list { font-size: var(--step--1); }
.site-footer .contact-list .icon { color: var(--gold); }
.site-footer__base { border-top: 1px solid #34353A; padding-block: var(--space-5); font-size: var(--step--1); color: #B4B3AE; }

/* ---------- Diagrams (inline SVG, see src/templates/diagrams.mjs) ---------- */
.diagram {
  margin: var(--space-6) 0 0; padding: var(--space-5);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  max-width: 52rem;
}
.diagram__caption { display: grid; gap: var(--space-1); margin-bottom: var(--space-5); }
.diagram__title { font-weight: 650; font-size: var(--step-1); line-height: 1.3; }
.diagram__note { color: var(--muted); font-size: var(--step--1); max-width: var(--measure); }
.diagram__svg { display: block; width: 100%; height: auto; overflow: visible; }
.diagram__svg--narrow { display: none; max-width: 28rem; }
.diagram svg text { font-family: var(--font-body); }
.home-insight .diagram, .eras .diagram { margin-top: var(--space-6); }
.eras .diagram { margin: 0 0 var(--space-6); }
@media (max-width: 40rem) {
  .diagram { padding: var(--space-4); }
  .diagram__svg--wide { display: none; }
  .diagram__svg--narrow { display: block; }
}
/* Token-driven SVG paint, so diagrams follow light and dark mode. */
.dg-text { fill: var(--text); }
.dg-muted { fill: var(--muted); }
.dg-on-gold { fill: var(--on-gold); }
.dg-fill-ink { fill: var(--on-gold); }
.dg-fill-muted { fill: var(--muted); }
.dg-gold { fill: var(--gold); }
.dg-gold-soft { fill: color-mix(in srgb, var(--gold) 26%, transparent); }
.dg-soft { fill: var(--surface-2); }
.dg-band-a { fill: transparent; }
.dg-band-b { fill: var(--surface-2); }
.dg-box { fill: var(--surface); stroke: var(--line); }
.dg-box-soft { fill: var(--surface-2); stroke: var(--line); }
.dg-box-stop { fill: var(--surface); stroke: var(--error); }
.dg-dot { fill: var(--text); stroke: var(--surface); stroke-width: 2; }
.dg-stroke-text { stroke: var(--text); }
.dg-stroke-muted { stroke: var(--muted); }
.dg-stroke-line { stroke: var(--line); }
.dg-stroke-gold { stroke: var(--gold-deep); }
.dg-stroke-error { stroke: var(--error); }
@media (prefers-color-scheme: dark) {
  .dg-stroke-gold { stroke: var(--gold); }
  .dg-fill-ink { fill: var(--on-gold); }
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurances__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .home-hero { padding-top: var(--space-5); }
  .home-hero__grid, .page-hero, .split-lists, .home-insight__lead, .faq-layout, .contact-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .home-hero__grid { gap: var(--space-6); }
  .home-hero__figure { aspect-ratio: 4 / 3; max-height: none; }
  .page-hero__figure { order: -1; }
  .split-lists { gap: var(--space-6); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__cell--1 { grid-row: auto; min-height: 0; }
  .bento__cell--1 .bento__icon { margin-bottom: 0; }
  .area { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1rem auto; }
  .area__body { padding: var(--space-5); }
  .estimate-form, .insight-panel { padding: var(--space-5); }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}
@media (max-width: 36rem) {
  .assurances__list, .site-footer__grid, .link-list { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .roller { background-size: 100% 100%; }
  .paint-art__sweep { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .aside, .skip-link, .breadcrumbs { display: none; }
  body { background: #fff; color: #000; }
  .roller { background: none; padding: 0; }
  .paint-art__sweep { stroke-dashoffset: 0; }
  .diagram { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
