/* BG Foundation Repair site styles. Homepage (photo hero) + service pages + town pages. */
/* Fonts are self-hosted (Latin set only) so pages don't wait on Google. */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("/fonts/big-shoulders-display.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500-italic.woff2") format("woff2"); }
  :root {
    --blue: #0a42ae;
    --blue-dark: #07307f;
    --sky: #3391d6;
    --charcoal: #41464d;
    --slate: #24282d;
    --ink: #141619;
    --warm: #f3f1ed;
    --warm-2: #e8e5df;
    --line: #d9d5ce;
    --text: #3b3f45;
    --muted: #6a6f76;
    --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --heading: "Barlow", "Helvetica Neue", Arial, sans-serif;
    --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
    --wrap: 1240px;
    --gutter: 32px;
  }
  @media (max-width: 600px) { :root { --gutter: 16px; } }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-weight: 500; font-size: 18px; line-height: 1.6; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  img { display: block; max-width: 100%; height: auto; }
  a { color: var(--blue); }
  h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-transform: uppercase; letter-spacing: .005em; }
  h2 { font-size: clamp(2.9rem, 5.6vw, 4.8rem); font-weight: 900; line-height: .9; }
  h3 { font-size: 1.65rem; font-weight: 800; line-height: .95; }
  p { margin: 0 0 1.1em; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

  /* Buttons: square, flat, color change only */
  .btn {
    display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1.05rem; line-height: 1;
    padding: 18px 28px; border: 2px solid var(--blue); background: var(--blue); color: #fff;
    text-decoration: none; border-radius: 0; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
  }
  .btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
  .btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
  .btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .btn-line-light { background: transparent; border-color: #fff; color: #fff; }
  .btn-line-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .btn-white { background: #fff; border-color: #fff; color: var(--blue); }
  .btn-white:hover { background: var(--warm); border-color: var(--warm); color: var(--blue-dark); }
  .link {
    font-family: var(--heading); font-weight: 600; font-size: .95rem; color: var(--ink);
    text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 3px;
  }
  .link:hover { color: var(--blue); }

  /* ---------- Header (sits over the hero) ---------- */
  .topline { height: 4px; background: var(--sky); position: relative; z-index: 30; }
  .site-header { position: absolute; top: 4px; left: 0; right: 0; z-index: 20; }
  .util { background: var(--ink); color: #c9ccd0; font-size: .95rem; }
  .util .wrap { max-width: none; padding: 9px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .util a { color: #fff; font-weight: 700; text-decoration: none; }
  .util a:hover { text-decoration: underline; }
  @media (max-width: 760px) { .util .wrap { justify-content: center; text-align: center; padding: 8px var(--gutter); } .util .lic { display: none; } }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 22px; padding-bottom: 22px; max-width: none; padding-left: 40px; padding-right: 40px; }
  .brand img { width: 74px; height: 74px; }
  .nav { display: flex; align-items: center; gap: 30px; }
  .nav > a:not(.btn), .nav .has-menu > a { font-family: var(--heading); font-weight: 500; font-size: .95rem; color: #fff; text-decoration: none; }
  .nav > a:not(.btn):hover, .nav .has-menu > a:hover { color: #cfe0f7; }
  .nav .phone { font-weight: 600 !important; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.4); }
  .nav .btn { padding: 15px 22px; }
  .has-menu { position: relative; }
  .has-menu > a::after { content: ""; display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
  .submenu { display: none; position: absolute; top: 100%; left: -20px; margin-top: 14px; min-width: 260px; background: #fff; padding: 10px 0; border-top: 3px solid var(--blue); }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 14px; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; }
  .submenu a { display: block; padding: 8px 20px; color: var(--text); text-decoration: none; font-size: .95rem; }
  .submenu a:hover { background: var(--warm); color: var(--blue); }
  .menu-toggle { display: none; font-family: var(--heading); font-weight: 600; font-size: .95rem; background: transparent; color: #fff; border: 2px solid #fff; padding: 11px 16px; cursor: pointer; }
  .mobile-nav { display: none; background: #fff; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--heading); font-weight: 500; }
  @media (max-width: 1100px) {
    .nav > a:not(.btn), .nav .has-menu { display: none; }
    .menu-toggle { display: inline-block; }
  }
  @media (max-width: 600px) {
    .site-header .wrap { padding: 14px var(--gutter); }
    .brand img { width: 58px; height: 58px; }
    .nav { gap: 10px; }
    .nav .btn { display: none; }
  }

  /* On this page the header sits over the hero on a dark tint so the menu reads over the photo. */
  .site-header { background: rgba(12, 14, 17, .55); }
  .site-header > .wrap { padding-top: 16px; padding-bottom: 16px; }
  /* Phones and tablets: the hero is stacked, so the header sits above it instead of over it
     (the license line wraps at these widths and would otherwise cover the headline). */
  @media (max-width: 900px) { .site-header { position: relative; top: 0; background: var(--ink); } }

  /* ---------- Hero: BG Blue panel + job photo, split along a crack ---------- */
  .hero { position: relative; display: grid; grid-template-columns: 56fr 44fr; min-height: max(700px, min(94vh, 920px)); background: var(--blue); color: #fff; overflow: hidden; }
  .hero-copy { position: relative; z-index: 2; align-self: center; padding: 200px 40px 96px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .hero h1 { color: #fff; font-size: clamp(4rem, 7.4vw, 7.6rem); font-weight: 900; line-height: .86; margin-bottom: 26px; }
  .hero h1.long { font-size: clamp(3.2rem, 5.6vw, 5.9rem); }
  .hero h1.xlong { font-size: clamp(2.7rem, 4.3vw, 4.6rem); line-height: .92; }
  .hero h1 .pre { display: block; font-family: var(--body); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.2; text-transform: none; margin-bottom: 10px; color: #dfe8f7; }
  .hero .sub { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; margin: 0 0 18px; color: #e3ebf8; max-width: 34ch; }
  .hero .since { font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.3; color: #fff; margin: 0 0 32px; padding-left: 16px; border-left: 4px solid var(--sky); }
  .hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .call { margin: 30px 0 0; font-weight: 600; color: #dfe8f7; }
  .hero .call a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sky); }

  /* The photo's left edge is cut like a crack in a wall. */
  .hero-photo { position: relative; margin: 0 0 0 -64px; background: var(--ink);
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 4% 100%, 7.5% 91%, 2% 82%, 6.5% 71%, 0.5% 60%, 5.5% 49%, 1.5% 39%, 8% 28%, 3% 17%, 7% 8%); }
  .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }

  /* Before/after: the after photo is the base image, the before photo is clipped on top. */
  .hero-photo .ba { position: absolute; inset: 0; z-index: 2; --pos: 55%; user-select: none; touch-action: pan-y; }
  .hero-photo .ba[hidden] { display: none; }
  .hero-photo .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); pointer-events: none; }
  .hero-photo .tag { position: absolute; bottom: 0; z-index: 2; font-weight: 700; font-size: 1rem; color: #fff; padding: 10px 20px; pointer-events: none; }
  .hero-photo .tag.b { left: 10%; background: var(--ink); }
  .hero-photo .tag.a { right: 0; background: var(--blue); }
  .hero-photo .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
  .hero-photo .grip { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; }
  .hero-photo .grip i { display: block; width: 2px; height: 16px; background: var(--ink); }
  .hero-photo .ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; background: transparent; }
  .hero-photo .ba input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 1200px; }
  .hero-photo .ba input[type=range]:focus-visible + .divider .grip { outline: 3px solid var(--sky); outline-offset: 2px; }

  /* Phones: copy first, photo underneath with a cracked top edge. */
  @media (max-width: 900px) {
    .hero { display: block; min-height: 0; }
    .hero-copy { padding: 48px var(--gutter) 64px; }
    .hero h1 { font-size: 17vw; }
    .hero h1.long { font-size: 12.5vw; }
    .hero h1.xlong { font-size: 10.5vw; }
    .hero .btn-row .btn { flex: 1 1 100%; text-align: center; }
    .hero-photo { margin: -28px 0 0; height: 360px;
      clip-path: polygon(0 5%, 5% 2.5%, 9% 6.5%, 19% 3%, 24% 8%, 31% 4.5%, 44% 6%, 50% 1.5%, 57% 7%, 68% 3.5%, 74% 8.5%, 83% 4%, 91% 5.5%, 100% 1.5%, 100% 100%, 0 100%); }
    .hero-photo img { object-position: 45% 50%; }
    .hero-photo .tag.b { left: 0; }
    .hero-photo .tag { font-size: .9rem; padding: 8px 14px; }
  }

  /* ---------- Gallery: before / after slider ---------- */
  .gallery { background: var(--warm); padding: 128px 0; }
  .gallery-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: center; }
  .gallery-intro .links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 34px; }
  .compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); --pos: 50%; user-select: none; touch-action: pan-y; }
  .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
  .compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .compare .tag { position: absolute; bottom: 0; z-index: 2; font-family: var(--heading); font-weight: 600; font-size: .95rem; color: #fff; padding: 10px 20px; pointer-events: none; }
  .compare .tag.b { left: 0; background: var(--ink); }
  .compare .tag.a { right: 0; background: var(--blue); }
  .compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
  .compare .grip { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; }
  .compare .grip i { display: block; width: 2px; height: 16px; background: var(--ink); }
  .compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; background: transparent; }
  .compare input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 900px; }
  .compare input[type=range]:focus-visible + .divider .grip { outline: 3px solid var(--sky); outline-offset: 2px; }
  @media (max-width: 900px) { .gallery { padding: 80px 0; } .gallery-grid { grid-template-columns: 1fr; gap: 36px; } }

  /* ---------- About: editorial split ---------- */
  .about { background: var(--warm); display: grid; grid-template-columns: 1fr 1fr; }
  .about-copy { padding: 128px 80px 120px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
  .about-copy h2 { margin-bottom: 34px; }
  .about-copy .lead { font-family: var(--body); font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1.2em; }
  .about-copy .serving { margin: 34px 0 38px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--heading); font-weight: 500; color: var(--ink); font-size: 1rem; }
  .about-copy .btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .about-copy .awards { display: flex; gap: 14px; margin-top: 46px; }
  .about-copy .awards img { height: 70px; width: auto; }
  .about-photo { position: relative; min-height: 760px; }
  .about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
  .about-photo figcaption { position: absolute; left: 0; bottom: 0; background: #fff; color: var(--ink); font-family: var(--heading); font-weight: 500; font-size: .92rem; padding: 14px 22px; }
  @media (max-width: 960px) {
    .about { grid-template-columns: 1fr; }
    .about-copy { padding: 72px var(--gutter) 56px; }
    .about-photo { min-height: 0; aspect-ratio: 4 / 3; }
  }

  /* ---------- Services: photo tiles ---------- */
  .services { padding: 128px 0 120px; }
  .section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
  .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
  .svc { text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
  .svc .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--warm-2); margin-bottom: 20px; }
  .svc .ph img { width: 100%; height: 100%; object-fit: cover; }
  .svc .num { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-family: var(--heading); font-weight: 500; font-size: .82rem; padding: 6px 12px; }
  .svc h3 { margin-bottom: 10px; }
  .svc p { font-size: .97rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
  .svc .more { font-family: var(--heading); font-weight: 600; font-size: .9rem; color: var(--ink); align-self: start; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
  .svc:hover h3, .svc:hover .more { color: var(--blue); }
  @media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } .services { padding: 80px 0; } }
  @media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }

  /* ---------- Why choose: dark band ---------- */
  .why { background: var(--slate); color: #c9ccd0; padding: 128px 0; }
  .why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
  .why h2 { color: #fff; }
  .why p { font-size: 1.1rem; }
  .why p:first-child { font-family: var(--body); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: #fff; letter-spacing: -0.01em; }
  .why .call { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .why .call span { font-family: var(--heading); font-weight: 500; color: #fff; }
  .why .call a.num { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 4.4vw, 3.6rem); color: #fff; text-decoration: none; }
  .why .call a.num:hover { color: #cfe0f7; }
  @media (max-width: 900px) { .why { padding: 80px 0; } .why-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* ---------- Service area ---------- */
  .area { padding: 128px 0; }
  .area-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 80px; }
  .area-intro { position: sticky; top: 32px; align-self: start; }
  .area-intro p { font-size: 1.1rem; margin: 26px 0 32px; }
  .area-intro .callnum { display: block; font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; color: var(--ink); text-decoration: none; }
  .area-intro .callnum:hover { color: var(--blue); }
  .area-intro small { display: block; font-family: var(--heading); font-weight: 500; font-size: .95rem; color: var(--muted); margin-bottom: 4px; }
  .states { border-top: 2px solid var(--ink); }
  .state { border-bottom: 2px solid var(--ink); }
  .state > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 36px 18px 0; position: relative; }
  .state > summary::-webkit-details-marker { display: none; }
  .state > summary::after { content: ""; position: absolute; right: 8px; top: 28px; border: 7px solid transparent; border-top-color: var(--blue); }
  .state[open] > summary::after { top: 20px; border-top-color: transparent; border-bottom-color: var(--blue); }
  .state-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--ink); }
  .state > summary:hover .state-name { color: var(--blue); }
  .state > summary .n { font-weight: 500; font-size: .92rem; color: var(--muted); white-space: nowrap; }
  .counties { padding: 0 0 22px; }
  .state-note { margin: 0 0 10px; font-size: .95rem; color: var(--muted); }
  .county { border-bottom: 1px solid var(--line); }
  .county:first-of-type { border-top: 1px solid var(--line); }
  .county summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 12px 34px 12px 0; position: relative; font-weight: 700; color: var(--ink); }
  .county summary::-webkit-details-marker { display: none; }
  .county summary::after { content: ""; position: absolute; right: 9px; top: 20px; border: 6px solid transparent; border-top-color: var(--blue); }
  .county[open] summary::after { top: 14px; border-top-color: transparent; border-bottom-color: var(--blue); }
  .county summary:hover { color: var(--blue); }
  .county summary .n { font-weight: 500; font-size: .9rem; color: var(--muted); }
  .towns { list-style: none; margin: 0; padding: 2px 0 18px; columns: 4; column-gap: 24px; font-size: .95rem; }
  .towns li { padding: 3px 0; break-inside: avoid; }
  .towns li.hit { color: var(--blue); font-weight: 700; }

  /* Town search */
  .town-search { margin: 0 0 32px; position: relative; }
  .town-search label { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--ink); margin-bottom: 12px; }
  .town-search input { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 14px 16px; }
  .town-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,145,214,.3); }
  .town-results { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 5; background: #fff; border: 2px solid var(--ink); border-top: 0; max-height: 300px; overflow-y: auto; }
  .town-results button { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); padding: 11px 16px; cursor: pointer; }
  .town-results button span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
  .town-results button:hover, .town-results button.active { background: var(--warm); color: var(--blue); }
  .town-results .none { padding: 11px 16px; color: var(--muted); font-size: .95rem; }
  .town-answer { margin-top: 14px; background: var(--blue); color: #fff; padding: 18px 20px; }
  .town-answer p { margin: 0 0 12px; font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
  .town-answer .row { display: flex; flex-wrap: wrap; gap: 10px; }
  .town-answer .btn { padding: 12px 16px; font-size: .95rem; }
  .town-answer .link-list { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: #dfe8f7; text-decoration: underline; cursor: pointer; margin-top: 10px; }
  @media (max-width: 960px) { .area { padding: 80px 0; } .area-grid { grid-template-columns: 1fr; gap: 44px; } .area-intro { position: static; } }
  @media (max-width: 1100px) { .towns { columns: 3; } }
  @media (max-width: 760px) { .towns { columns: 2; } .state-name { font-size: 1.6rem; } .state > summary .n { font-size: .85rem; } .town-search { margin-bottom: 28px; } }

  /* ---------- Reviews ---------- */
  .reviews { background: var(--warm); padding: 128px 0; }
  .review-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
  .quote blockquote { margin: 0 0 22px; }
  .quote .who { font-family: var(--heading); font-weight: 600; color: var(--ink); font-size: .98rem; }
  .quote .src { color: var(--muted); font-size: .92rem; }
  .quote.big blockquote { font-family: var(--body); font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
  .quote.big blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 900; font-size: 5rem; line-height: .7; color: var(--blue); margin-bottom: 14px; }
  .side-quotes .quote { border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 34px; }
  .side-quotes blockquote { font-size: 1.05rem; color: var(--text); }
  @media (max-width: 900px) { .reviews { padding: 80px 0; } .review-grid { grid-template-columns: 1fr; gap: 40px; } }

  /* ---------- FAQ ---------- */
  .faq { padding: 80px 0; border-bottom: 1px solid var(--line); }
  .faq .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .faq-intro p { margin: 14px 0 26px; font-size: 1.08rem; }
  @media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; gap: 28px; } .faq-intro p { margin-bottom: 20px; } }

  /* ---------- Contact ---------- */
  .contact { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-info { background: var(--blue); color: #dfe8f7; padding: 120px 80px 120px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .contact-info h2 { color: #fff; margin-bottom: 28px; }
  .contact-info p { font-size: 1.1rem; max-width: 30em; }
  .contact-lines { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.3); }
  .contact-lines div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.3); align-items: baseline; }
  .contact-lines span { font-family: var(--heading); font-weight: 500; color: #c3d3ee; font-size: .95rem; }
  .contact-lines a { color: #fff; font-family: var(--heading); font-weight: 600; text-decoration: none; font-size: 1.25rem; word-break: break-word; }
  .contact-lines a:hover { text-decoration: underline; }
  .contact-form { background: var(--warm); padding: 120px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 120px 80px; }
  .contact-form h3 { font-size: 2.2rem; margin-bottom: 8px; }
  .contact-form > p { color: var(--muted); margin-bottom: 30px; }
  .field { margin-bottom: 20px; }
  .field label { display: block; font-family: var(--heading); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
  .field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #c9c4bb; border-radius: 0; padding: 14px 16px; }
  .field textarea { min-height: 130px; resize: vertical; }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,145,214,.3); }
  .field input[type=file] { background: transparent; border-style: dashed; }
  .field .hint { font-family: var(--body); font-weight: 400; opacity: .75; }
  .form-note { display: block; margin-top: 6px; font-size: .85rem; }
  .form-files { list-style: none; margin: 8px 0 0; padding: 0; font-size: .9rem; }
  .form-files li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
  .form-files span { min-width: 0; overflow-wrap: anywhere; }
  .form-files button { flex: none; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
  .form-done { padding: 24px 0; }
  .form-done h3 { margin-bottom: 8px; }
  /* Netlify's "Powered by" badge: remove this rule to bring it back. */
  #nl-badge-frame { display: none !important; }
  .contact-form button[disabled], .sv-card button[disabled] { opacity: .6; cursor: progress; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .contact-form .btn { width: 100%; margin-top: 6px; }
  @media (max-width: 960px) {
    .contact { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 72px var(--gutter); }
  }
  @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--ink); color: #a7abb1; font-size: .95rem; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 80px 0 56px; }
  .footer-grid img { width: 96px; margin-bottom: 20px; }
  .footer-grid h4 { font-family: var(--body); font-weight: 700; color: #fff; font-size: .98rem; margin: 0 0 14px; }
  .footer-grid ul { list-style: none; margin: 0; padding: 0; }
  .footer-grid li { padding: 4px 0; }
  .footer-grid a { color: #d8dadd; text-decoration: none; }
  .footer-grid a:hover { color: #fff; text-decoration: underline; }
  .footer-grid p { max-width: 26em; }
  .foot-row { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .85rem; }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* =====================================================================
     SERVICE PAGE TEMPLATE
     ===================================================================== */
  /* Header sits on a solid bar on inner pages. */
  .inner .site-header { position: relative; top: 0; background: var(--ink); }
  .inner .site-header > .wrap { padding-top: 16px; padding-bottom: 16px; }

  /* Breadcrumb */
  .crumbs { background: var(--warm); border-bottom: 1px solid var(--line); font-size: .95rem; }
  .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto; padding-top: 12px; padding-bottom: 12px; }
  .crumbs li { color: var(--muted); }
  .crumbs li + li::before { content: "/"; margin-right: 6px; color: #a7a39b; }
  .crumbs a { color: var(--ink); font-weight: 600; text-decoration: none; }
  .crumbs a:hover { color: var(--blue); text-decoration: underline; }

  /* Hero: shorter than the homepage, same blue panel + cracked photo edge */
  .sv-hero { min-height: 0; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); }
  /* The photo's cracked edge overlaps the copy column by 64px, so leave room for it. */
  .sv-hero .hero-copy { padding: 72px 104px 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .sv-hero h1 { overflow-wrap: break-word; hyphens: manual; }
  .sv-hero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .9; }
  .sv-hero h1.long { font-size: clamp(2.6rem, 4.3vw, 4.6rem); }
  .sv-hero .sub { max-width: 44ch; }
  .sv-hero .fine { margin: 18px 0 0; font-size: .85rem; color: #c3d3ee; }
  .sv-hero .hero-photo { min-height: 440px; }

  /* Two-column body */
  .sv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding-top: 72px; padding-bottom: 96px; align-items: start; }
  .sv-main > section { margin-bottom: 64px; scroll-margin-top: 24px; }
  .sv-main h2 { font-size: clamp(2.3rem, 3.8vw, 3.3rem); margin-bottom: 18px; }
  .sv-main p { font-size: 1.08rem; }
  .fine { font-size: .88rem; color: var(--muted); }

  .sv-answer { background: var(--warm); border-left: 5px solid var(--blue); padding: 22px 26px; margin-bottom: 56px !important; }
  .sv-answer p { margin: 0; font-size: 1.12rem; }

  .sv-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
  .sv-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
  .sv-list li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 10px; height: 4px; background: var(--blue); }

  .sv-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .sv-steps li { counter-increment: step; border-top: 2px solid var(--ink); padding: 18px 0 26px; }
  .sv-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 10px; }
  .sv-steps h3 { margin-bottom: 8px; }
  .sv-steps p { margin: 0; font-size: 1rem; }

  .sv-pairs { display: grid; gap: 28px; margin-top: 22px; }
  .sv-pair { margin: 0; }
  .sv-pair .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--ink); }
  .sv-pair .pics > div { position: relative; }
  .sv-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .sv-pair .tag { position: absolute; left: 0; bottom: 0; color: #fff; font-weight: 700; font-size: .9rem; padding: 7px 14px; }
  .sv-pair .tag.b { background: var(--ink); }
  .sv-pair .tag.a { background: var(--blue); }
  .sv-pair figcaption { font-size: .95rem; color: var(--muted); padding-top: 10px; }
  .sv-pair figcaption strong { color: var(--ink); }
  .sv-more { margin-top: 22px; }

  .sv-fact { background: var(--slate); color: #d7dadd; padding: 30px 34px; margin: 0 0 64px; border-top: 6px solid var(--sky); }
  .sv-fact h3 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
  .sv-fact p { margin: 0; font-size: 1.08rem; }

  .sv-faq { border-top: 2px solid var(--ink); }
  .sv-faq details { border-bottom: 1px solid var(--line); }
  .sv-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.12rem; color: var(--ink); }
  .sv-faq summary::-webkit-details-marker { display: none; }
  .sv-faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; border: 6px solid transparent; border-top-color: var(--blue); }
  .sv-faq details[open] summary::after { top: 20px; border-top-color: transparent; border-bottom-color: var(--blue); }
  .sv-faq summary:hover { color: var(--blue); }
  .sv-faq details p { margin: 0 0 20px; }

  .sv-towns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: 22px; }
  .sv-towns > div { border-top: 2px solid var(--ink); padding-top: 14px; }
  .sv-towns h3 { font-size: 1.35rem; margin-bottom: 8px; }
  .sv-towns ul { list-style: none; margin: 0; padding: 0; }
  .sv-towns li { padding: 3px 0; }
  .sv-towns a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
  .sv-towns a:hover { color: var(--blue); border-bottom-color: var(--blue); }

  /* Sidebar */
  .sv-side { position: sticky; top: 24px; display: grid; gap: 24px; }
  .sv-card { background: var(--blue); color: #dfe8f7; padding: 28px; scroll-margin-top: 24px; }
  .sv-card-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; color: #fff; font-size: 2.2rem; margin: 0 0 6px; }
  .sv-card > p:not(.sv-card-title) { margin: 0 0 4px; font-weight: 600; }
  .sv-phone { display: block; font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1.1; color: #fff; text-decoration: none; margin-bottom: 18px; }
  .sv-phone:hover { color: #cfe0f7; }
  .sv-card .field { margin-bottom: 14px; }
  .sv-card .field label { color: #fff; }
  .sv-card .field input { border-color: #fff; padding: 11px 13px; }
  .sv-card .field input[type=file] { background: transparent; color: #fff; border: 1px dashed rgba(255,255,255,.7); }
  .sv-card .btn { width: 100%; background: #fff; border-color: #fff; color: var(--blue); }
  .sv-card .btn:hover { background: var(--warm); border-color: var(--warm); }
  .sv-toc { border-top: 2px solid var(--ink); padding-top: 14px; }
  .sv-toc-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; color: var(--ink); font-size: 1.5rem; margin: 0 0 8px; }
  .sv-toc ol { list-style: none; margin: 0; padding: 0; }
  .sv-toc a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
  .sv-toc a:hover { color: var(--blue); }

  /* Review + related */
  .sv-review { background: var(--warm); padding: 88px 0; }
  .sv-review .quote { max-width: 900px; margin-bottom: 26px; }
  .sv-related { padding: 96px 0; }
  .sv-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

  @media (max-width: 1000px) {
    .sv-layout { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
    .sv-side { position: static; }
    .sv-toc { display: none; }
    .sv-towns { grid-template-columns: 1fr 1fr; gap: 24px; }
    .sv-related-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 900px) {
    .sv-hero .hero-copy { padding: 44px var(--gutter) 56px; }
    .sv-hero h1 { font-size: 12.5vw; }
    .sv-hero h1.long { font-size: 10.5vw; }
    .sv-hero .hero-photo { min-height: 0; height: 300px; }
  }
  @media (max-width: 600px) {
    .sv-steps { grid-template-columns: 1fr; }
    .sv-related-grid { grid-template-columns: 1fr; }
    .sv-review, .sv-related { padding: 64px 0; }
    .sv-fact { padding: 24px 20px; }
  }
  .sv-email { font-size: .95rem; margin: -8px 0 18px; }
  .sv-email a { color: #fff; font-weight: 700; }

/* Optional announcement bar (Business info > Announcement) */
.announce { position: relative; z-index: 25; background: var(--sky); color: var(--ink); text-align: center; font-weight: 700; font-size: .98rem; padding: 10px var(--gutter); }
.announce a { color: var(--ink); }
.announce ~ .site-header { top: auto; }

  /* =====================================================================
     TOWN PAGES (all services on one page)
     ===================================================================== */
  .tp-index { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: svc; columns: 3; column-gap: 32px; border-top: 2px solid var(--ink); }
  .tp-index li { counter-increment: svc; break-inside: avoid; border-bottom: 1px solid var(--line); }
  .tp-index a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
  .tp-index a::before { content: counter(svc, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--blue); min-width: 1.6em; }
  .tp-index a:hover { color: var(--blue); }
  .tp-group > h2 { padding-bottom: 6px; }
  .tp-svc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
  .tp-group > h2 + .tp-svc { border-top: 2px solid var(--ink); }
  .tp-svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--warm-2); }
  .tp-svc h3 { font-size: 2rem; margin-bottom: 12px; }
  .tp-svc p { font-size: 1.04rem; }
  .tp-svc p:last-child { margin-bottom: 0; }
  .tp-svc strong { color: var(--ink); }
  .tp-dyk { border-left: 4px solid var(--sky); padding: 2px 0 2px 16px; color: var(--muted); font-size: .98rem !important; }
  .tp-local a { color: var(--blue); font-weight: 600; }
  .tp-places { font-size: 1rem !important; }
  .tp-data { width: 100%; max-width: 520px; border-collapse: collapse; margin: 6px 0 14px; font-size: 1.02rem; }
  .tp-data caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
  .tp-data th, .tp-data td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
  .tp-data td { text-align: right; font-family: var(--display); font-weight: 900; font-size: 1.35rem; color: var(--ink); }
  .tp-near { list-style: none; margin: 18px 0 0; padding: 0; columns: 3; column-gap: 32px; border-top: 2px solid var(--ink); }
  .tp-near li { border-bottom: 1px solid var(--line); break-inside: avoid; }
  .tp-near a, .tp-near span { display: block; padding: 10px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
  .tp-near a:hover { color: var(--blue); }
  .sv-faq ul { margin: -8px 0 20px; padding-left: 22px; }
  .tp-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .tp-reviews .quote { border-top: 2px solid var(--ink); padding-top: 22px; }
  .tp-reviews blockquote { font-size: 1.12rem; color: var(--ink); }
  @media (max-width: 1000px) { .tp-index { columns: 2; } .tp-reviews { grid-template-columns: 1fr; gap: 28px; } }
  @media (max-width: 600px) {
    .tp-index, .tp-near { columns: 1; }
    .tp-svc { grid-template-columns: 1fr; gap: 16px; }
    .tp-svc img { aspect-ratio: 16 / 9; }
  }

  /* ---------- Service area hubs + search on inner pages ---------- */
  .sv-search { margin-top: 28px; }
  .sv-main .sv-search .town-search { margin-bottom: 0; }
  .sv-main > .sv-search { margin-top: 0; margin-bottom: 48px; }
  .town-answer .link-town { display: inline-block; margin-top: 12px; color: #fff; font-weight: 700; }
  .town-answer .link-town + .link-list { display: block; }
  .state-hub { margin: 4px 0 14px; }
  .hub-states { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .hub-state { border-top: 2px solid var(--ink); padding-top: 16px; }
  .hub-state h2 { font-size: 2.3rem; margin-bottom: 4px; }
  .hub-state h2 a { color: var(--ink); text-decoration: none; }
  .hub-state h2 a:hover { color: var(--blue); }
  .hub-state ul { list-style: none; margin: 10px 0 0; padding: 0; }
  .hub-state li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; text-decoration: none; }
  .hub-state li a:hover { color: var(--blue); }
  .hub-count { color: var(--muted); font-size: .95rem; margin: 0; }
  .sv-main > .hub-county { margin-bottom: 44px; border-top: 2px solid var(--ink); padding-top: 16px; scroll-margin-top: 24px; }
  .hub-county h2 { font-size: clamp(1.9rem, 3vw, 2.5rem) !important; margin-bottom: 2px !important; }
  .hub-county .towns { columns: 3; margin-top: 12px; padding-bottom: 0; }
  .hub-county .towns a { color: var(--blue); font-weight: 700; }
  @media (max-width: 600px) { .hub-states { grid-template-columns: 1fr; } .hub-county .towns { columns: 2; } }

  /* ---------- Services hub (/services/) ---------- */
  .sh-group { padding: 88px 0 0; }
  .sh-group:last-of-type { padding-bottom: 88px; }
  .sh-group h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-bottom: 36px; border-top: 2px solid var(--ink); padding-top: 18px; }
  .sh-diagnosing { background: var(--warm); padding: 80px 0; }
  .sh-diag-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
  .sh-diag-grid h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); }
  .sh-diag-grid p { font-size: 1.08rem; }
  @media (max-width: 820px) { .sh-group { padding-top: 64px; } .sh-diag-grid { grid-template-columns: 1fr; gap: 16px; } .sh-diagnosing { padding: 64px 0; } }

  /* ---------- Gallery (/gallery/) ---------- */
  .g-filter { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
  .g-filter .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
  .g-filter a { flex: none; padding: 7px 14px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
  .g-filter a span { color: var(--muted); font-weight: 600; margin-left: 4px; }
  .g-filter a:hover { border-color: var(--blue); color: var(--blue); }
  .g-section { padding: 72px 0 0; scroll-margin-top: 64px; }
  .g-section:last-of-type { padding-bottom: 88px; }
  .g-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: 28px; }
  .g-head h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
  .g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .g-grid.collapsed .g-card:nth-child(n+9) { display: none; }
  .g-card { display: block; }
  .g-card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--warm-2); }
  .g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
  .g-card:hover img { transform: scale(1.03); }
  .g-more { margin-top: 32px; }
  .g-empty p { font-size: 1.1rem; max-width: 640px; }
  .g-empty a { color: var(--blue); font-weight: 600; }
  @media (max-width: 1100px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 820px) { .g-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .g-section { padding-top: 56px; } }

  /* Lightbox */
  .lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 13, 15, .94); color: #fff; }
  .lb::backdrop { background: rgba(12, 13, 15, .94); }
  .lb[open] { display: flex; align-items: center; justify-content: center; }
  .lb figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
  .lb-frame { position: relative; display: inline-block; }
  .lb img { display: block; max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; }
  .lb figcaption { margin-top: 12px; font-weight: 600; }
  .lb-num { color: #a9adb3; margin-left: 8px; }
  .lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 3rem; line-height: 1; padding: 12px 18px; }
  .lb button:hover { color: var(--sky); }
  .lb-close { top: 8px; right: 8px; }
  .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
  .lb.single .lb-prev, .lb.single .lb-next { display: none; }
  @media (max-width: 700px) { .lb figure { max-width: 100vw; } .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; } .lb img { max-height: calc(100vh - 150px); } }

  /* ---------- 404 page ---------- */
  .nf { padding: 88px 0; }
  .nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .nf h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 16px; }
  .nf-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
  .nf-links li { break-inside: avoid; }
  .nf-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
  .nf-links a:hover { color: var(--blue); }
  .nf .town-search { margin-bottom: 48px; }
  @media (max-width: 820px) { .nf { padding: 64px 0; } .nf-grid { grid-template-columns: 1fr; gap: 48px; } }
  @media (max-width: 480px) { .nf-links { columns: 1; } }

  /* Town page: homes by decade built. Era colours: fieldstone = rust, block = slate, poured = blue. */
  .tp-age { margin: 26px 0 22px; padding: 26px 28px 28px; background: var(--warm); }
  .tp-age h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 12px; }
  .tp-age-chart { display: block; width: 100%; max-width: 640px; height: auto; margin-bottom: 14px; }
  .tp-age-chart line { stroke: var(--ink); stroke-width: 1; }
  .tp-age-chart text { font-family: var(--body); text-anchor: middle; fill: var(--ink); }
  .tp-age-chart .v { font-size: 14px; font-weight: 700; }
  .tp-age-chart .l { font-size: 12.5px; fill: var(--muted); font-weight: 600; }
  .tp-age-chart .l-short { display: none; }
  .tp-age-chart .era-fieldstone rect { fill: #8a3b12; }
  .tp-age-chart .era-block rect { fill: #5b6068; }
  .tp-age-chart .era-poured rect { fill: var(--blue); }
  .tp-age-lead { margin-bottom: 14px; }
  .tp-eras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tp-eras li { background: #fff; border-top: 5px solid var(--blue); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; font-size: .97rem; line-height: 1.45; }
  .tp-eras li.era-fieldstone { border-top-color: #8a3b12; }
  .tp-eras li.era-block { border-top-color: #5b6068; }
  .tp-eras li.top { box-shadow: 0 0 0 2px var(--ink); }
  .tp-eras .pct { font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--ink); }
  .tp-eras .type { font-weight: 700; color: var(--ink); }
  .tp-eras .go { margin-top: auto; padding-top: 6px; font-size: .93rem; }
  @media (max-width: 760px) {
    .tp-age { padding: 20px 16px 18px; }
    .tp-eras { grid-template-columns: 1fr; }
    .tp-age-chart .v { font-size: 25px; }
    .tp-age-chart .l-long { display: none; }
    .tp-age-chart .l-short { display: inline; font-size: 24px; }
  }

  /* ---------- Privacy policy ---------- */
  .legal { padding: 64px 0 88px; }
  .legal .wrap { max-width: 760px; }
  .legal h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: .95; margin-bottom: 6px; }
  .legal h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 40px 0 10px; border-top: 2px solid var(--ink); padding-top: 14px; }
  .legal ul { padding-left: 1.2em; }
  .legal li { margin-bottom: 4px; }
  .legal a { color: var(--blue); font-weight: 600; }
  .footer-bottom a { color: inherit; }

  /* Service pages: "Our work" photo grid (cards share the gallery's .g-card styles and lightbox). */
  .sv-work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  @media (max-width: 700px) { .sv-work { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
  .sv-work.two { grid-template-columns: repeat(2, 1fr); max-width: 800px; }

  /* ---------- FAQ page ---------- */
  .faq-page { padding: 64px 0 88px; }
  .faq-page .wrap { max-width: 860px; }
  .faq-page h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: .95; margin-bottom: 14px; }
  .faq-page .lead { font-size: 1.1rem; margin-bottom: 28px; }
  .faq-page details { scroll-margin-top: 24px; }
  .faq-cta { margin-top: 28px; font-weight: 600; }
  .faq-cta a { color: var(--blue); }
