/* ==========================================================================
   LI Taylor Construction — design system
   Order: tokens → base → layout → components → sections → utilities
   Every rule is a single class (or class + descendant) to keep specificity flat.
   ========================================================================== */

:root {
  /* Color */
  --slate: #1B2733;        /* deep navy ground */
  --ridge: #2C3A48;        /* one step up from slate: cards on navy */
  --zinc: #E9ECEE;         /* cool light band */
  --zinc-2: #D3D9DE;       /* borders on light */
  --white: #FFFFFF;
  --gold: #C9A34E;        /* brand gold from the L.I. Taylor logo: CTA fills (with slate text, 6.9:1) and the Selden marker only. Never as text on white. */
  --gold-deep: #B8923F;
  --gold-tint: #F5EEDC;    /* pale gold ground behind the service icons */
  --gold-tint-2: #EEE3C4;  /* the same, on hover */
  --ink: #1B2733;
  --ink-muted: #5B6672;    /* 5.8:1 on white */
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-muted: #B9C2CB; /* 9.5:1 on slate */
  --star: #C9A34E;        /* review stars share the brand gold */

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lead: 1.25rem;
  --text-h4: 1.25rem;
  --text-h3: 1.5rem;
  --text-h2: clamp(2rem, 1.2rem + 2.6vw, 2.875rem);
  --text-h1: clamp(2.5rem, 1.3rem + 4.8vw, 5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(64px, 5vw + 40px, 120px);
  --radius: 4px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--slate);
  outline-offset: 3px;
  border-radius: 2px;
}
.band--slate :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Honeypot field on the estimate form: off-screen for people, tempting for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--white { background: var(--white); }
.band--zinc { background: var(--zinc); }
.band--slate { background: var(--slate); color: var(--ink-on-dark); }

.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h2);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.section-lead {
  margin: 16px 0 0;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 58ch;
}
.band--slate .section-lead { color: var(--ink-on-dark-muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), color .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--gold); border-color: var(--gold); color: var(--slate); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.85); color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--outline-dark { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn--outline-dark:hover { background: var(--slate); color: var(--white); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--zinc-2);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.1;
  font-variation-settings: "wdth" 108;
  letter-spacing: .005em;
  white-space: nowrap;
  min-height: 44px;
}
/* The L.I. Taylor lockup (vector recreation of the client logo): gold rooflines, serif wordmark */
.logo { display: block; height: auto; }
.logo-roof { fill: var(--gold); }
.logo-rake { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: square; }
.logo-serif { font-family: "EB Garamond", Georgia, "Times New Roman", serif; font-weight: 500; fill: currentColor; }
.logo-sans { font-family: var(--font-display); font-weight: 500; font-variation-settings: "wdth" 100; fill: currentColor; }
.brand .logo { height: 58px; width: auto; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: .75rem;
  color: var(--ink-muted);
  font-variation-settings: "wdth" 100;
  letter-spacing: .01em;
}

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  transition: background-color .15s var(--ease);
}
.nav a:hover { background: var(--zinc); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }
.header-phone:hover { background: var(--zinc); }

.header-call { display: none; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--slate);
  color: var(--white);
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid rgba(255,255,255,.12); }
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  font-variation-settings: "wdth" 108;
}
.mobile-menu-foot { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu-foot p { margin: 0; color: var(--ink-on-dark-muted); }
.mobile-menu-foot .btn { justify-self: start; }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .brand .logo { height: 46px; }
  .nav, .header-phone { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn--estimate { display: none; }
  .header-call { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 599px) {
  .site-header .container { gap: 12px; }
  .brand { font-size: .9375rem; gap: 10px; }
  .brand svg { width: 28px; height: 23px; }
  .brand small { display: none; }
}
@media (max-width: 479px) {
  /* Icon-only call button on small phones; the label stays for screen readers */
  .header-call { position: relative; width: 48px; min-height: 48px; padding: 0; }
  .header-call .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: calc(100svh - var(--header-h));
  max-height: 940px;
  background: var(--slate);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(27,39,51,.92) 0%, rgba(27,39,51,.62) 42%, rgba(27,39,51,.18) 100%),
    linear-gradient(to top, rgba(27,39,51,.92) 0%, rgba(27,39,51,0) 58%);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-block: clamp(44px, 6vw, 72px) clamp(44px, 6vw, 72px);
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h1);
  line-height: 1;
  letter-spacing: -0.022em;
  font-variation-settings: "wdth" 115;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-sub {
  margin: 22px 0 0;
  font-size: var(--text-lead);
  line-height: 1.5;
  max-width: 50ch;
  color: rgba(255,255,255,.9);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500; font-size: .9375rem; color: rgba(255,255,255,.85); max-width: 44ch; }

.gaf-card {
.gaf-badge-img { width: 72px; height: 72px; flex: none; object-fit: contain; }
.gaf-card a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.footer-trust a { color: inherit; }
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 360px;
  padding: 18px 20px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}
.hero-cards { display: grid; gap: 12px; }
a.bbb-card { text-decoration: none; }
a.bbb-card:hover strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.gaf-card .bbb-logo { width: 72px; height: 72px; object-fit: contain; }
.gaf-card p { margin: 0; }
.gaf-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.gaf-card span { display: block; font-size: var(--text-sm); color: var(--ink-muted); margin-top: 4px; line-height: 1.4; }

/* Placeholder slot for the official GAF Master Elite® badge asset */
.gaf-badge {
  flex: none;
  width: 72px;
  height: 72px;
  display: grid;
  place-content: center;
  border: 2px solid var(--slate);
  border-radius: 6px;
  font-family: var(--font-display);
  text-align: center;
  line-height: 1;
}
.gaf-badge b { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; font-variation-settings: "wdth" 110; }
.gaf-badge i { font-style: normal; font-size: .5625rem; font-weight: 600; margin-top: 5px; display: block; }

/* One orchestrated entrance on load */
.hero-enter > * { animation: hero-rise .7s var(--ease) both; }
.hero-enter > :nth-child(2) { animation-delay: .08s; }
.hero-enter > :nth-child(3) { animation-delay: .16s; }
.hero .gaf-card { animation: hero-rise .7s var(--ease) .28s both; }
@keyframes hero-rise {
  /* Slide only. The text is painted at full opacity from the first frame so it counts as the largest paint immediately. */
  from { transform: translateY(16px); }
  to   { transform: none; }
}

@media (max-width: 899px) {
  .hero .container { grid-template-columns: 1fr; gap: 28px; }
  .hero { max-height: none; }
}
@media (max-width: 599px) {
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14); /* the 1px gap becomes the hairline */
}
.why-item { background: var(--slate); padding: 8px 32px 8px 0; }
.why-item + .why-item { padding-left: 32px; }
.why-item svg { width: 36px; height: 36px; stroke: var(--white); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h4);
  line-height: 1.25;
}
.why-item p { margin: 0; color: var(--ink-on-dark-muted); line-height: 1.55; }

@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { padding: 24px 28px 24px 0; }
  .why-item + .why-item { padding-left: 0; }
  .why-item:nth-child(even) { padding-left: 28px; padding-right: 0; }
}
@media (max-width: 599px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(even) { padding: 24px 0; }
  .why-item:first-child { padding-top: 0; }
  .why-item:last-child { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 22px;
  background: var(--white);
  border: 1px solid var(--zinc-2);
  border-bottom: 3px solid var(--slate); /* the drip edge */
  border-radius: var(--radius);
  transition: transform .18s var(--ease), border-bottom-color .18s var(--ease);
}
.service-card:hover,
.service-card:focus-within { transform: translateY(-3px); border-bottom-color: var(--gold); }
.service-card svg {
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 12px;
  background: var(--gold-tint);
  stroke: var(--slate);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background-color .15s var(--ease);
}
.service-card svg .ac { fill: var(--gold); fill-opacity: .38; }
.service-card:hover svg, .service-card:focus-within svg { background: var(--gold-tint-2); }
.service-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
}
.service-card p { margin: 0; flex: 1; color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.5; }
.service-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding-block: 11px;      /* 45px tap target without changing the visual rhythm */
  margin: -7px 0 -11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.service-card a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.service-card:hover a { text-decoration-color: var(--gold); text-decoration-thickness: 3px; }

@media (max-width: 1099px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 599px) {
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    padding: 18px 16px 16px;
  }
  .service-card svg { width: 48px; height: 48px; padding: 11px; border-radius: 10px; grid-row: 1 / span 3; }
  .service-card h3 { margin: 0; }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-copy p { margin: 0; line-height: 1.6; max-width: 60ch; }
.about-copy p + p { margin-top: 16px; }
.about-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 60ch; }
.about-list li { position: relative; padding-left: 30px; line-height: 1.5; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231B2733' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8.5 3 3 7-7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.about-sign {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; /* 4:3 tiles to match the photos: singles 268x200, features 552x416 */
  gap: 16px;
}
.project {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--zinc);
}
.project--feature { grid-column: span 2; grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover img { transform: scale(1.03); }
.project figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 16px 14px;
  background: linear-gradient(to top, rgba(27,39,51,.88), rgba(27,39,51,0));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
}
.project figcaption small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-on-dark-muted); font-size: .875rem; margin-top: 2px; }

/* Before/after comparison: a native range input drives --pos; keyboard and touch work for free */
.project--compare figcaption { pointer-events: none; z-index: 2; }
.project--compare:hover img { transform: none; }
.compare { position: absolute; inset: 0; --pos: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2733' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") no-repeat center / 22px;
  transform: translate(-50%, -50%);
}
.compare-range:focus-visible ~ .compare-handle::after { outline: 3px solid var(--gold); outline-offset: 3px; }
.compare-label {
  position: absolute;
  top: 10px;
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(27,39,51,.85);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  pointer-events: none;
  z-index: 1;
}
.compare-label--before { left: 10px; }
.compare-label--after { right: 10px; }
.project--feature .compare-handle::after { width: 48px; height: 48px; background-size: 26px; }

/* --------------------------------------------------------------------------
   Service pages (site/<slug>/index.html, generated by build-pages.ps1)
   -------------------------------------------------------------------------- */
.page-hero .section-title { max-width: 18ch; }
.page-hero .section-lead { color: var(--ink-on-dark-muted); max-width: 64ch; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero .hero-cards { margin-top: 28px; }
@media (min-width: 900px) {
  .page-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .page-hero .hero-cards { margin-top: 0; width: 360px; }
}
.crumbs ol {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink-on-dark-muted);
}
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.35); }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-title--sm { font-size: var(--text-h3); }
.service-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.service-copy .about-list { margin-top: 20px; }
.service-copy p { margin: 24px 0 0; max-width: 60ch; line-height: 1.6; }
.service-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.project--page { aspect-ratio: 16 / 9; max-width: 960px; }

@media (max-width: 899px) {
  .service-grid { grid-template-columns: 1fr; }
  .project--page { aspect-ratio: 4 / 3; }
  .town-groups { grid-template-columns: 1fr; }
  .li-map .town--minor text { display: none; } /* dots stay; only core labels at tablet size */
}

@media (max-width: 899px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 12px; }
  .project { aspect-ratio: 4 / 3; }
  .project--feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 599px) {
  .projects-grid { gap: 10px; }
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--ridge);
  border-radius: var(--radius);
}
.stars { display: flex; gap: 3px; color: var(--star); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; flex: 1; line-height: 1.55; }
.review footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
}
.review .source { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-on-dark-muted); }
.review .source svg { width: 16px; height: 16px; }

.reviews--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; } /* town pages */

@media (max-width: 1023px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 699px) {
  /* Native carousel: scroll-snap, no JS */
  .reviews {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .review { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   Service areas — the map
   -------------------------------------------------------------------------- */
.li-map { width: 100%; }
.li-map svg { width: 100%; height: auto; }
.li-map .land { fill: var(--slate); stroke: var(--slate); stroke-width: 8; stroke-linejoin: round; }
.li-map .barrier { fill: var(--slate); stroke: var(--slate); stroke-width: 4; stroke-linejoin: round; opacity: .5; }
.li-map .water-label { font-family: var(--font-body); font-size: 15px; font-style: italic; fill: var(--ink-muted); letter-spacing: .04em; }
.li-map .town circle { fill: var(--white); stroke: var(--slate); stroke-width: 2.5; transition: fill .15s var(--ease); }
.li-map .town text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  fill: var(--white);
  paint-order: stroke fill;
  stroke: var(--slate);
  stroke-width: 5px;
  stroke-linejoin: round;
  letter-spacing: .01em;
}
.li-map .town.is-hot circle { fill: var(--gold); }
.li-map .town--home circle { fill: var(--gold); stroke: var(--white); }
.li-map .town--home .ring { fill: none; stroke: var(--gold); stroke-width: 2; opacity: .7; }
.li-map .town--home text { font-weight: 800; font-size: 17px; }

/* Surrounding towns: smaller dot and label than the core service towns */
.li-map .town--minor circle { stroke-width: 2; }
.li-map .town--minor text { font-size: 13px; font-weight: 500; stroke-width: 4px; }

.town-groups {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 24px clamp(24px, 4vw, 56px);
  margin-top: clamp(20px, 3vw, 32px);
}
.town-group h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.town-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background-color .15s var(--ease);
}
.town-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--slate); }
.town-list li:hover { background: var(--white); }
.town-list a { color: inherit; text-decoration: none; }
.town-list li:hover a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.town-list li[data-home] { font-weight: 700; }
.town-list li[data-home]::before { background: var(--gold); }
.town-list li[data-home] small { font-family: var(--font-body); font-weight: 400; color: var(--ink-muted); }

@media (max-width: 899px) {
  .li-map .town text { font-size: 21px; stroke-width: 6px; }
  .li-map .town--home text { font-size: 24px; }
  .li-map .water-label { font-size: 20px; }
}
@media (max-width: 599px) {
  .li-map .town text, .li-map .water-label { display: none; }
  .li-map .town--home text { display: block; font-size: 30px; }
  /* minmax(0, ...) lets the two columns shrink to the screen: with plain 1fr a long town name set the column width and the whole page scrolled sideways */
  .town-groups { grid-template-columns: minmax(0, 1fr); }
  .town-group { min-width: 0; }
  .town-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .town-list li { min-width: 0; flex-wrap: wrap; gap: 2px 10px; padding-right: 8px; }
  .town-list li small { flex-basis: 100%; padding-left: 19px; margin-top: -4px; }
}

/* --------------------------------------------------------------------------
   Estimate form
   -------------------------------------------------------------------------- */
.estimate-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.estimate-intro p { margin: 0; max-width: 46ch; line-height: 1.6; }
.estimate-intro .phone-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.estimate-intro .phone-big svg { width: 26px; height: 26px; }
.estimate-intro .phone-big:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.estimate-intro .hours { margin-top: 8px; color: var(--ink-muted); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--zinc-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); outline: 3px solid var(--slate); outline-offset: 0; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231B2733' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions p { margin: 0; font-size: var(--text-sm); color: var(--ink-muted); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--zinc); font-weight: 600; }
.form-status[hidden] { display: none; }

@media (max-width: 899px) {
  .estimate-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--slate); color: var(--white); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr .9fr; gap: 32px; }
/* every town, on every page */
.footer-towns { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-towns .footer-h { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.footer-towns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-towns a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-on-dark-muted); text-decoration: none; font-size: var(--text-sm); }
.footer-towns a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-mark { display: inline-block; color: var(--white); text-decoration: none; }
.footer-mark .logo { width: 250px; }
.footer-trust { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); color: var(--ink-on-dark-muted); font-size: var(--text-sm); max-width: 34ch; line-height: 1.5; }
.footer-brand p { margin: 18px 0 0; max-width: 34ch; color: var(--ink-on-dark-muted); line-height: 1.55; }
.footer-col .footer-h { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--white);
  text-decoration: none;
}
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col address { font-style: normal; line-height: 1.6; color: var(--ink-on-dark-muted); }
.footer-col address a { display: inline; min-height: 0; color: var(--white); }
.footer-col address p { margin: 0 0 10px; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: var(--ink-on-dark-muted);
  font-size: var(--text-sm);
}
.footer-bottom p { margin: 0; }

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Scroll reveal (brief-requested; subtle, one per section, JS-gated)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-enter > *, .hero .gaf-card { animation: none; }
  .project img, .service-card, .btn { transition: none; }
}


/* --------------------------------------------------------------------------
   Reviews: Google rating card + two-row slider (homepage). Town pages keep the .reviews grid.
   -------------------------------------------------------------------------- */
.reviews-head { display: grid; grid-template-columns: 1fr auto; gap: 32px clamp(24px, 4vw, 56px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.reviews-head .section-head { margin-bottom: 0; }
.gscore { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 20px 22px 22px; min-width: 320px; border-bottom: 3px solid var(--gold); }
.gscore-top { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--ink-muted); }
.g-logo { width: 20px; height: 20px; flex: none; }
.gscore-num { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.gscore-num b { font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.gscore .stars { color: var(--gold); }
.gscore .stars svg { width: 22px; height: 22px; }
.gscore-count { margin: 8px 0 16px; color: var(--ink-muted); font-size: var(--text-sm); }
.gscore-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.reviews-slider { position: relative; }
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto auto; /* each row fits its own cards, so one expanded review does not stretch the other row */
  align-items: start;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
}
.reviews-track > * { scroll-snap-align: start; }
.reviews-track:focus-visible { outline: 3px solid var(--white); outline-offset: 8px; }
.reviews-track .review { min-width: 0; }
.review-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-date { color: var(--ink-on-dark-muted); font-weight: 400; font-size: .8125rem; }
.review-src { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-on-dark-muted); text-decoration: none; font-size: .8125rem; }
.review-src:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.review-src .g-logo { width: 14px; height: 14px; }

@media (max-width: 1023px) { .reviews-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 899px) { .reviews-head { grid-template-columns: 1fr; align-items: start; } .gscore { min-width: 0; } }
@media (max-width: 699px) {
  .reviews-track { grid-template-rows: 1fr; grid-auto-columns: 86%; gap: 12px; }
}

/* ---- Service page sections (added 2026-09-10): steps, options, cost, FAQ, related links ---- */
.svc-section .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 68ch; }
.steps li { position: relative; padding-left: 60px; line-height: 1.55; counter-increment: step; min-height: 40px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--slate);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center;
}
.steps h3 { margin: 6px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.steps p { margin: 0; color: var(--ink-muted); }
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 1000px) { .options-grid--three { grid-template-columns: repeat(3, 1fr); } }
.option { background: var(--white); border: 1px solid rgba(27,39,51,.14); border-radius: var(--radius); padding: 24px 26px; }
.band--zinc .option { border-color: transparent; }
.option h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.option p { margin: 0; line-height: 1.55; color: var(--ink-muted); }
.faq { display: grid; gap: 4px; max-width: 76ch; }
.faq-item { border-top: 1px solid rgba(27,39,51,.15); padding: 20px 0 22px; }
.faq-item h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.faq-item p { margin: 0; line-height: 1.6; max-width: 70ch; }
.svc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.svc-links h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.svc-links ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.svc-links a, .service-copy p a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.svc-links a:hover, .service-copy p a:hover { text-decoration-color: var(--slate); }
.service-copy .cred-line { margin-top: 28px; padding: 16px 20px; background: var(--gold-tint); border-left: 4px solid var(--gold); font-size: .95rem; line-height: 1.5; max-width: none; }
.cred-line a { color: var(--ink); }
@media (max-width: 767px) {
  .options-grid, .svc-links { grid-template-columns: 1fr; }
  .steps li { padding-left: 52px; }
  .steps li::before { width: 34px; height: 34px; font-size: .95rem; }
}

/* ---- About page (added 2026-09-18) ---- */
.about-story p { font-size: 1.0625rem; }
.about-story p:first-of-type { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.service-copy > img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 28px; }
.project--focus-bottom img { object-position: 50% 100%; }

/* ---- Long reviews in the homepage slider: show seven lines, expand on request (added 2026-09-18).
        Scoped to .js so that without JavaScript the full text is simply shown. ---- */
.js .reviews-track .review blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
  flex: none;
}
.js .reviews-track .review.is-open blockquote { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.reviews-track .review { height: 100%; }
.reviews-track .review footer { margin-top: auto; }
.review-more {
  align-self: flex-start;
  min-height: 44px;
  margin: -8px 0 -8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.review-more:hover { text-decoration-color: var(--white); }
