/* ==========================================================================
   Hallie Home Improvement — design system
   Warm, architectural, residential. Charcoal-green ink on warm off-white,
   with a clay accent that reads as tile and wood rather than SaaS blue.
   Zero webfonts: system stacks only, so there is no CLS and no third-party
   request on the critical path.
   ========================================================================== */

:root {
  /* ink + ground */
  --ink:        #16211f;
  --ink-soft:   #2f3d39;
  --ink-mute:   #5d6b66;
  --ink-faint:  #8a958f;
  --bg:         #faf8f4;
  --bg-warm:    #f3efe7;
  --surface:    #ffffff;
  --line:       #e3ddd2;
  --line-soft:  #eee9e0;

  /* accent */
  --clay:       #a65f38;
  --clay-dark:  #8a4d2c;
  --clay-tint:  #f6ece5;
  --brass:      #9d7b3d;

  /* type */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gap: clamp(1.25rem, 3vw, 2rem);
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(22, 33, 31, .06), 0 2px 8px rgba(22, 33, 31, .05);
  --shadow-md: 0 2px 6px rgba(22, 33, 31, .07), 0 12px 32px rgba(22, 33, 31, .08);
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); margin-top: 0; }
h3 { font-size: clamp(1.16rem, 1.9vw, 1.4rem); letter-spacing: -.006em; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--clay-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: .5rem; color: #fff; }

/* ----------------------------------------------------------------- layout */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 480px) { .wrap { width: min(100% - 1.75rem, var(--wrap)); } }

.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }
.section--warm { background: var(--bg-warm); }
.section--paper { background: var(--surface); }
.section--ink { background: var(--ink); color: #e8e5dd; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #e6c9a8; }

.lede {
  font-size: clamp(1.09rem, 1.6vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .85rem;
}
.section--ink .eyebrow { color: #d7ab7e; }

/* ----------------------------------------------------------------- header */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 60;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.brand-sub {
  font-size: .69rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: block;
  padding: .55rem .72rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .945rem;
  font-weight: 550;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-warm); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--clay); }

.header-call {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}

.header-phone { text-decoration: none; line-height: 1.15; display: block; }
.header-phone .lab {
  display: block;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 650;
}
.header-phone .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em;
}
.header-phone:hover .num { color: var(--clay-dark); }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-warm); }
.nav-toggle svg { width: 18px; height: 18px; }

/* Between here and the desktop breakpoint the row is tight, so trim it. */
@media (max-width: 1340px) {
  .nav a { padding: .55rem .5rem; font-size: .92rem; }
  .brand-name { font-size: 1.06rem; }
  .header-bar { gap: 1rem; }
}

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .header-call { border-left: 0; padding-left: 0; }
  .header-phone .lab { display: none; }
  /* The header row must be able to compress. Without this the brand and the
     phone block both refuse to shrink and the whole page scrolls sideways. */
  .header-bar { gap: .75rem; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-name { overflow-wrap: anywhere; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.25rem)) 1.1rem;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: .82rem .25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
  }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--clay-dark); }
  .nav .nav-cta {
    margin-top: .9rem;
    border: 0;
    background: var(--clay);
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 650;
  }
  .nav .nav-cta:hover { background: var(--clay-dark); color: #fff; }
}

/* Phones. The header carries three things and the phone number is the one that
   must stay a comfortable tap target, so the brand gives up space first. */
@media (max-width: 620px) {
  .header-bar { gap: .5rem; min-height: 66px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.02rem; line-height: 1.15; }
  .brand-mark { width: 32px; height: 32px; font-size: 1.05rem; }
  .nav-toggle { padding: .6rem .7rem; }
  .header-phone {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 .7rem;
    background: var(--clay-tint);
    border: 1px solid #ecdccf;
    border-radius: var(--radius);
  }
  .header-phone .num { font-size: 1.04rem; }
}

/* Narrowest phones: the menu button drops to its icon so the number never wraps,
   and the brand name settles onto two lines rather than three. */
@media (max-width: 430px) {
  .nav-toggle { font-size: 0; gap: 0; padding: .62rem .68rem; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .brand-mark { width: 28px; height: 28px; font-size: .95rem; }
  .brand-name { font-size: .9rem; line-height: 1.18; }
  .header-phone .num { font-size: .98rem; }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--call { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn--call:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }

.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #0d1615; color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-faint); color: var(--ink); }

.section--ink .btn--ghost { color: #e8e5dd; border-color: rgba(255,255,255,.28); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn--sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn--wide { width: 100%; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  margin-top: 1.6rem;
}

.call-note {
  font-size: .9rem;
  color: var(--ink-mute);
  margin: .85rem 0 0;
}
.section--ink .call-note { color: #b8b3a8; }

/* ------------------------------------------------------------ breadcrumbs */

.breadcrumbs {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  font-size: .875rem;
}
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .45rem;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .45rem; color: var(--ink-mute); }
.breadcrumbs li + li::before { content: "/"; color: var(--ink-faint); }
.breadcrumbs a { color: var(--ink-mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--clay-dark); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }

/* ------------------------------------------------------------------ hero */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.4rem, 5.5vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero .lede { margin-bottom: 0; }

.hero-media { position: relative; }

.hero--plain { background: var(--bg); }
.hero--plain .hero-grid { grid-template-columns: 1fr; max-width: 800px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Text and the call button come first on a phone. Leading with the image
     pushes the headline and the CTA below the fold. */
  .hero-media { order: 2; margin-top: .5rem; }
  .hero { padding-block: clamp(1.5rem, 5vw, 2.5rem); }
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 1.6rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-mute);
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero-trust { list-style: none; padding-left: 0; }
.hero-trust svg { width: 15px; height: 15px; color: var(--clay); flex: none; }

/* ---------------------------------------------------------------- images */

.ph {
  position: relative;
  display: block;
  width: 100%;
  background:
    linear-gradient(135deg, var(--bg-warm) 0%, #ece6da 48%, var(--bg-warm) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink-mute);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,33,31,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,33,31,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}
.ph-inner {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; padding: 1.5rem; text-align: center;
}
.ph-inner svg { width: 30px; height: 30px; color: var(--ink-faint); }
.ph-label {
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 650; color: var(--ink-faint);
}
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--1x1  { aspect-ratio: 1 / 1; }

/* Project photography. The aspect-ratio box reserves space before the image
   decodes, so there is no layout shift. */
.photo {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-warm);
}
.photo picture { display: block; height: 100%; }
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--4x3  { aspect-ratio: 4 / 3; }
.photo--3x2  { aspect-ratio: 3 / 2; }
.photo--1x1  { aspect-ratio: 1 / 1; }

/* Inside a feature card the photo sits flush against the card edge. */
.card--feature > .photo {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

figure { margin: 2rem 0; }
figure img, figure .ph { border-radius: var(--radius); }
figcaption {
  margin-top: .7rem; font-size: .88rem; color: var(--ink-mute);
  border-left: 2px solid var(--clay); padding-left: .8rem;
}

/* ------------------------------------------------------------------ prose */

.prose { max-width: 72ch; }
.prose > h2 {
  margin-top: 2.6em;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h3 { margin-top: 2.1em; }
.prose > h4 { margin-top: 1.9em; margin-bottom: .5em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li::marker { color: var(--clay); }

.prose--wide { max-width: 84ch; }

.note {
  background: var(--clay-tint);
  border-left: 3px solid var(--clay);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8rem 0;
  font-size: .985rem;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--clay-dark); }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.9rem 0;
  box-shadow: var(--shadow-sm);
}
.callout h3, .callout h4 { margin-top: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ cards */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.14rem; margin-bottom: .45em; }
.card p { font-size: .965rem; color: var(--ink-soft); margin-bottom: 1.1em; }
.card > :last-child { margin-top: auto; margin-bottom: 0; }
.card a.card-link {
  font-weight: 600; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card a.card-link:hover { text-decoration: underline; }
.card a.card-link::after { content: "\2192"; transition: transform .15s ease; }
.card a.card-link:hover::after { transform: translateX(3px); }

.card--feature { padding: 0; overflow: hidden; }
.card--feature .card-body { padding: 1.4rem 1.45rem; display: flex; flex-direction: column; flex: 1; }

/* Service silo list — used on hub pages for subservice navigation. */
.silo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.silo-list li { margin: 0; }
.silo-list a {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .95rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.silo-list a:hover { border-color: var(--clay); background: var(--clay-tint); }
.silo-list .t { font-weight: 650; font-size: 1rem; flex: none; }
.silo-list .d { font-size: .92rem; color: var(--ink-mute); }
@media (max-width: 640px) {
  .silo-list a { flex-direction: column; gap: .25rem; }
}

/* ----------------------------------------------------------------- steps */

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.1rem; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3.4rem;
  margin: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: .05rem;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--clay);
  width: 2.4rem;
  padding-bottom: .15rem;
  border-bottom: 2px solid var(--line);
}
.steps h3 { font-size: 1.09rem; margin-bottom: .3em; }
.steps p { font-size: .97rem; color: var(--ink-soft); margin-bottom: 0; }

/* ------------------------------------------------------------------- FAQ */

.faq { display: grid; gap: .6rem; max-width: 78ch; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 1.25rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--clay-dark); }
.faq .faq-body { padding: 0 1.25rem 1.25rem; font-size: .99rem; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------- CTA */

.cta-band {
  background: var(--ink);
  color: #e8e5dd;
  border-radius: var(--radius);
  padding: clamp(1.7rem, 3.5vw, 2.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin: 2.6rem 0;
}
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: .35em; font-size: clamp(1.3rem, 2.4vw, 1.72rem); }
.cta-band p { color: #c3bfb5; margin-bottom: 0; font-size: 1rem; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .phone-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.015em;
}
.cta-band .phone-big:hover { color: #e6c9a8; }

@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; }
}

.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
  margin: 2.2rem 0;
}
.cta-inline p { margin: 0; flex: 1 1 260px; font-size: 1rem; color: var(--ink-soft); }
.cta-inline strong { color: var(--ink); }

/* -------------------------------------------------------------- area map */

.map-block { margin: 2.4rem 0; }
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3.4; } }

.map-pending {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 1.5rem; text-align: center;
  color: var(--ink-mute); font-size: .92rem;
}
.map-pending svg { width: 26px; height: 26px; color: var(--ink-faint); }
.map-pending code {
  font-size: .82rem; background: var(--surface); padding: .15rem .4rem;
  border: 1px solid var(--line); border-radius: 2px;
}
.map-caption { margin-top: .7rem; font-size: .875rem; color: var(--ink-mute); }

/* --------------------------------------------------------------- reviews */

.review-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}
.review-grid li { margin: 0; }

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .55rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.review-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.review-more {
  margin-top: 2rem;
  font-size: .97rem;
}

/* -------------------------------------------------------------- location */

.areas-group { margin-bottom: 2.6rem; }
.areas-group h3 {
  font-size: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}
.areas-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .55rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
}
.areas-list li { margin: 0; }
.area-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
}
.area-card:hover { border-color: var(--clay); background: var(--clay-tint); color: var(--ink); }
.area-card .n { display: block; font-weight: 650; font-size: 1.02rem; }
.area-card .l { display: block; font-size: .855rem; color: var(--ink-mute); margin-top: .15rem; }

.nearby {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  margin-top: 2.8rem;
}
.nearby h2 { font-size: 1.2rem; margin-bottom: .55em; }
.nearby p { font-size: .97rem; color: var(--ink-soft); }
.nearby ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
}
.nearby li { margin: 0; }
.nearby a {
  display: inline-block;
  font-size: .93rem;
  padding: .4rem .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  text-decoration: none;
  color: var(--ink-soft);
}
.nearby a:hover { border-color: var(--clay); color: var(--clay-dark); background: var(--clay-tint); }

/* Full service-area list at the foot of a subservice page. */
.town-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem 2.5rem;
  margin: 1.6rem 0 1.2rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.town-links-group h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 .8rem;
}
.town-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .5rem;
}
.town-links li { margin: 0; }
.town-links a {
  display: inline-block;
  font-size: .93rem;
  padding: .34rem .72rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  text-decoration: none;
  color: var(--ink-soft);
}
.town-links a:hover {
  border-color: var(--clay);
  color: var(--clay-dark);
  background: var(--clay-tint);
}
.town-links-note { font-size: .93rem; color: var(--ink-mute); }

/* Fact strip — verified Census/municipal data on location pages. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}
.facts div { background: var(--surface); padding: 1.05rem 1.15rem; }
.facts dt { font-size: .74rem; letter-spacing: .085em; text-transform: uppercase; color: var(--ink-mute); font-weight: 650; }
.facts dd {
  margin: .3rem 0 0;
  font-family: var(--font-display);
  font-size: 1.42rem; font-weight: 650; color: var(--ink);
  letter-spacing: -.015em;
}
.facts .sub { display: block; font-family: var(--font-body); font-size: .81rem; font-weight: 400; color: var(--ink-mute); letter-spacing: 0; margin-top: .15rem; }
.facts-source { font-size: .8rem; color: var(--ink-faint); margin-top: -1.2rem; margin-bottom: 2rem; }

/* ---------------------------------------------------------------- tables */

.table-scroll { overflow-x: auto; margin: 1.8rem 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; min-width: 480px; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--bg-warm);
  font-family: var(--font-body); font-weight: 650; font-size: .84rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft);
}
tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: #b8b3a8;
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.5rem;
  font-size: .945rem;
  margin-bottom: 62px; /* clears the sticky mobile call bar */
}
@media (min-width: 721px) { .site-footer { margin-bottom: 0; } }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8e887c; font-weight: 700; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #d6d2c9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-brand .brand-name { color: #fff; font-size: 1.3rem; display: block; margin-bottom: .5rem; }
.footer-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: #fff !important;
  text-decoration: none !important; letter-spacing: -.015em;
  margin: .3rem 0 .5rem;
}
.footer-phone:hover { color: #e6c9a8 !important; }

.footer-nap { font-style: normal; line-height: 1.7; color: #b8b3a8; }
.footer-nap a { color: #b8b3a8; }

.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; font-size: .89rem; }
.footer-hours dt { color: #8e887c; }
.footer-hours dd { margin: 0; color: #d6d2c9; }

.footer-legal {
  margin-top: 2.75rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .855rem; color: #8e887c;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.footer-legal li { margin: 0; }
.license-line {
  font-size: .855rem; color: #b8b3a8;
  margin-top: 1rem; padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.11);
}

/* ------------------------------------------------------ sticky call bars */

.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  background: var(--clay);
  box-shadow: 0 -2px 14px rgba(22,33,31,.22);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.call-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .72rem .75rem;
  color: #fff; text-decoration: none;
  font-weight: 650;
  letter-spacing: .005em;
}

/* Two lines so the full business name fits beside the number on a phone. */
.call-bar-text { display: flex; flex-direction: column; line-height: 1.2; }
.call-bar-name {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.call-bar-num { font-size: 1.06rem; font-weight: 700; }

@media (max-width: 360px) {
  .call-bar-name { font-size: .67rem; letter-spacing: .04em; }
  .call-bar-num { font-size: 1rem; }
}
.call-bar a:active { background: var(--clay-dark); }
.call-bar a + a { border-left: 1px solid rgba(255,255,255,.25); flex: 0 0 44%; }
.call-bar svg { width: 18px; height: 18px; flex: none; }

@media (min-width: 721px) { .call-bar { display: none; } }

/* Desktop floating call button — appears only after the hero scrolls past. */
.call-float {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  z-index: 90;
  display: none;
  align-items: center; gap: .6rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: .85rem 1.3rem;
  border-radius: 100px;
  font-weight: 650; font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: opacity .2s ease, transform .2s ease;
  opacity: 0; transform: translateY(8px); pointer-events: none;
}
.call-float svg { width: 17px; height: 17px; }
.call-float:hover { background: var(--clay-dark); color: #fff; }
@media (min-width: 721px) {
  .call-float { display: inline-flex; }
  .call-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}

/* ------------------------------------------------------------------- 404 */

.error-page { text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 6rem);
  color: var(--line);
  line-height: 1; margin-bottom: .4rem;
}
.error-page .grid { margin-top: 2.5rem; text-align: left; }

/* ------------------------------------------------------------------ misc */

@media print {
  .site-header, .call-bar, .call-float, .breadcrumbs, .cta-band, .cta-inline { display: none !important; }
  body { background: #fff; }
}
