/* ==========================================================================
   TAP Custom Painting LLC
   Design tokens and component styles. Square design: 2px radius on buttons
   and chips, 0 on cards and images. Red is an accent only, never a band.
   ========================================================================== */

:root {
  --navy: #122A42;
  --navy-dk: #0C1E30;
  --red: #B40000;
  --red-dk: #8F0000;
  --white: #FFFFFF;
  --off-white: #F5F7F9;
  --border: #E6E9EE;
  --divider: #EDEFF3;
  --body: #4A5C6E;
  --body-muted: #5A6B7C;
  --muted: #7A8A99;
  --sep: #C3CCD5;

  /* On navy backgrounds */
  --on-navy-hero: #D6DEE7;
  --on-navy-band: #C7D2DD;
  --on-navy-footer: #B7C4D1;
  --on-navy-fine: #9FB2C4;
  --on-navy-eyebrow: #E8908F;

  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: 0 20px 44px rgba(18, 42, 66, .13);
  --shadow-soft: 0 12px 30px rgba(18, 42, 66, .09);
  --shadow-drop: 0 18px 44px rgba(18, 42, 66, .14);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dk); }

img, video { max-width: 100%; }

h1, h2, h3, h4 { text-wrap: balance; }

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

.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: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.container--about  { max-width: 920px; }
.container--mid    { max-width: 1000px; }
.container--intro  { max-width: 760px; }

.section    { padding: clamp(64px, 8vw, 110px) 24px; background: var(--white); }
.section--sm  { padding: clamp(56px, 7vw, 92px) 24px; }
.section--band { padding: clamp(64px, 8vw, 104px) 24px; }
.section--alt  { background: var(--off-white); }
.section--navy { background: var(--navy); }
.section > .container { padding-left: 0; padding-right: 0; }

.stack-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.stack-2--top { align-items: start; }
.stack-2--tight { gap: clamp(40px, 6vw, 72px); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--wide { max-width: 660px; }
.section-head--sm { max-width: 600px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

.head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.head-row .section-head { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
  display: block;
  flex: 0 0 auto;
}
.eyebrow span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
}
.eyebrow--navy span { color: var(--on-navy-eyebrow); }
.eyebrow--center { justify-content: center; }

.h1-hero {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 24px;
}
.h1-page {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.13;
  letter-spacing: -.015em;
  margin: 0 0 20px;
}
.h1-page--hero { color: #fff; line-height: 1.11; }

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(29px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0 0 18px;
}
.h2--on-navy { color: #fff; }
.h2--sm { font-size: clamp(26px, 3.1vw, 38px); }
.h2--band { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.18; }
.h2--last { margin-bottom: 0; }

.h3-card {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 9px;
}
.h3-step {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 8px;
}

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  margin: 0;
}
.lede--hero {
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--on-navy-hero);
  max-width: 600px;
  margin: 0 0 34px;
}
.lede--band { color: var(--on-navy-band); }
.lede--big { font-size: 17.5px; line-height: 1.7; }

.prose p { font-size: 17px; line-height: 1.7; color: var(--body); margin: 0 0 20px; }
.prose h2 { margin-top: 44px; }
.prose h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 10px;
}
.prose ul { padding-left: 22px; margin: 0 0 20px; }
.prose li { font-size: 17px; line-height: 1.7; color: var(--body); margin-bottom: 10px; }
.prose a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  padding: 18px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); color: #fff; }

.btn--navy { background: var(--navy); color: #fff; padding: 17px 30px; font-size: 15.5px; }
.btn--navy:hover { background: var(--navy-dk); color: #fff; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  padding: 18px 30px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--sm { padding: 15px 26px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}
.link-arrow--rule {
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}
.link-arrow--sm { font-size: 14px; gap: 7px; }

.fineprint-link {
  color: var(--on-navy-fine);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fineprint-link:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */

.utility-bar {
  background: var(--navy-dk);
  color: #C9D3DE;
  font-size: 13px;
  font-weight: 500;
}
.utility-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-bar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utility-bar a { display: flex; align-items: center; gap: 7px; color: #C9D3DE; }
.utility-bar a:hover { color: #fff; }
.utility-bar__phone { color: #fff; }
.utility-bar__hours { letter-spacing: .06em; }
.utility-bar svg { flex: 0 0 auto; }

@media (max-width: 700px) {
  /* .utility-bar a sets display:flex at (0,1,1); these must outrank it. */
  .utility-bar a.utility-bar__email,
  .utility-bar .utility-bar__hours { display: none; }
  .utility-bar__inner { justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(18, 42, 66, .10);
  border-bottom-color: #DCE1E8;
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__logo img { height: 52px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.nav > a, .nav__trigger {
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.nav > a:hover, .nav__trigger:hover, .nav__item:hover .nav__trigger { color: var(--red); }

.nav__item { position: relative; }
.nav__trigger svg { transition: transform .2s ease; }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: 100%;
  left: -16px;
  padding-top: 14px;
  width: 268px;
  display: none;
}
.nav__panel--wide { width: 420px; }
.nav__item.is-open .nav__panel { display: block; }

.nav__panel-inner {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-drop);
  border-radius: 3px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  animation: tapFadeIn .16s ease;
}
.nav__panel-inner a {
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 2px;
  font-weight: 600;
}
.nav__panel-inner a:hover { background: var(--off-white); color: var(--red); }

.nav__panel--wide .nav__panel-inner { padding: 10px; display: block; }
.nav__panel-all {
  display: block;
  color: var(--red);
  padding: 8px 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 6px;
}
.nav__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 8px;
}
.nav__panel-grid a { padding: 7px 12px; font-size: 14px; }

.header-cta {
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .02em;
  border-radius: 2px;
  transition: background .2s ease;
}
.header-cta:hover { background: var(--red-dk); color: #fff; }

.header-mobile { display: none; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.icon-btn--outline { border: 1.5px solid var(--navy); color: var(--navy); background: none; }
.icon-btn--solid { background: var(--navy); border: none; color: #fff; }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 24px 20px;
  max-height: 75vh;
  overflow-y: auto;
  animation: tapFadeIn .18s ease;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a[data-menu-link],
.mobile-menu__more-btn {
  display: block;
  width: 100%;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--divider);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  font-family: var(--sans);
  cursor: pointer;
}
.mobile-menu__more-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__more-btn svg { transition: transform .2s ease; }
.mobile-menu__more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__more {
  display: none;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  margin: 6px 0 4px;
}
.mobile-menu__more.is-open { display: block; }
.mobile-menu__more a {
  display: block;
  color: var(--navy);
  font-weight: 600;
  padding: 11px 0;
}
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.mobile-menu__actions .btn { padding: 16px; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .header-mobile { display: flex; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  min-height: min(84vh, 760px);
  min-height: min(84svh, 760px);
}
.hero--compact { min-height: min(62vh, 560px); min-height: min(62svh, 560px); }

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(12, 30, 48, .93) 0%,
    rgba(12, 30, 48, .86) 42%,
    rgba(12, 30, 48, .42) 78%,
    rgba(12, 30, 48, .3) 100%);
}
.hero--compact .hero__overlay {
  background: linear-gradient(100deg,
    rgba(12, 30, 48, .94) 0%,
    rgba(12, 30, 48, .88) 45%,
    rgba(12, 30, 48, .45) 100%);
}
.hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  width: 100%;
}
.hero--compact .hero__inner { padding: clamp(56px, 7vw, 88px) 24px; }
.hero__content { max-width: 720px; }
.hero__content--service { max-width: 680px; }

.hero__eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-navy-fine);
  margin-bottom: 18px;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 2px;
  margin-bottom: 26px;
  transition: background .2s ease;
}
.offer-chip:hover { background: var(--red-dk); color: #fff; }
.offer-chip span { opacity: .8; font-size: 15px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #E4EAF0;
  font-size: 14px;
  font-weight: 600;
}
.hero__trust svg { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.trust-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.trust-strip__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 24px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 26px 24px;
}
.trust-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}
.trust-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}
.check-list--tight { gap: 18px; }
.check-list__item { display: flex; gap: 14px; }
.check-list__item svg { flex: 0 0 auto; margin-top: 3px; }
.check-list__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.check-list__item strong { color: var(--navy); font-weight: 800; }

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.collage img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.collage img:nth-child(2), .collage img:nth-child(4) { margin-top: 26px; }
.collage a:hover img, .collage img:hover { transform: scale(1.03); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 24px;
}
.card-grid--sm { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  display: block;
  overflow: hidden;
  color: var(--navy);
  transition: box-shadow .3s ease, transform .3s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  color: var(--navy);
}
.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.service-card__body { padding: 24px; }
.service-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.mini-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  color: var(--navy);
  display: block;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.mini-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
}
.mini-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}
.mini-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body-muted);
}

/* Split band (residential vs commercial) */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
}
.split-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.split-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.split-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.split-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.split-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  margin: 0 0 14px;
  color: var(--navy);
}
.split-card p {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  flex: 1;
}
.split-card .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Work grid, media, figures
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
}
.work-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--off-white);
}
.work-grid figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.work-grid figure img:hover { transform: scale(1.03); }
.work-grid .span-2 { grid-column: span 2; }
.work-grid .ratio-16-10 img { aspect-ratio: 16 / 10; }
.work-grid .ratio-4-5 img  { aspect-ratio: 4 / 5; }
.work-grid .ratio-1-1 img  { aspect-ratio: 1 / 1; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.photo-strip figure {
  margin: 0;
  overflow: hidden;
  background: var(--off-white);
}
.photo-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.photo-strip img:hover { transform: scale(1.03); }

.quote-figure { position: relative; }
.quote-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.quote-figure__quote {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  max-width: 300px;
}
.quote-figure__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  font-style: italic;
}

.media-figure { margin: 0; width: 100%; max-width: 360px; }
.media-figure__frame {
  position: relative;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, .16);
}
.media-figure__frame img,
.media-figure__frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: var(--navy-dk);
}
.media-figure figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--on-navy-footer);
}
.media-placeholder {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(12, 30, 48, .88);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 12px;
  line-height: 1.3;
  border-left: 3px solid var(--red);
}

/* Process steps */
.steps { display: flex; flex-direction: column; gap: 30px; }
.step { display: flex; gap: 22px; }
.step__num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex: 0 0 auto;
  width: 44px;
}
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 26px 24px;
}
.step-card__num {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.step-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }

/* About */
.about-logo { height: 76px; width: auto; display: block; margin: 0 auto 18px; }
.about-name { font-weight: 800; font-size: 16px; color: var(--navy); }
.about-title {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   Service areas
   -------------------------------------------------------------------------- */

.town-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(272px, 100%), 1fr));
  gap: 16px;
}
.town-card {
  border: 1px solid var(--border);
  padding: 22px 22px 20px;
  color: var(--navy);
  display: block;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.town-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
}
.town-card__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 3px;
}
.town-card__county {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 11px;
}
.town-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--body-muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip-list--left { justify-content: flex-start; }
.chip {
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--on-navy-hero);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--red); background: var(--red); color: #fff; }
.chip--light {
  border-color: var(--border);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 18px;
}
.chip--light:hover { border-color: var(--red); background: var(--red); color: #fff; }

/* Towns we serve that do not have their own page yet: labels, not links. */
.chip--static {
  cursor: default;
  color: var(--on-navy-fine);
  border-color: rgba(255, 255, 255, .14);
}
.chip--static:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, .14);
  color: var(--on-navy-fine);
}
.chip--light.chip--static {
  color: var(--muted);
  border-color: var(--border);
  font-weight: 600;
}
.chip--light.chip--static:hover {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

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

.faq { background: #fff; border: 1px solid var(--border); }
.faq__row { border-bottom: 1px solid var(--divider); }
.faq__row:last-child { border-bottom: none; }
.faq__btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--sans);
}
.faq__btn > span:first-child {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
}
.faq__icon { flex: 0 0 auto; color: var(--red); margin-top: 2px; display: flex; }
.faq__icon svg { transition: transform .25s ease; }
.faq__btn[aria-expanded="true"] .faq__icon svg { transform: rotate(180deg); }
.faq__panel { display: none; padding: 0 26px 26px; }
.faq__panel.is-open { display: block; }
.faq__panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 660px;
}

/* --------------------------------------------------------------------------
   Offer band, quote form, embeds
   -------------------------------------------------------------------------- */

.offer-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-dk);
}
.offer-band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(12, 30, 48, .95) 0%,
    rgba(12, 30, 48, .88) 50%,
    rgba(12, 30, 48, .55) 100%);
}
.offer-band__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 24px;
}
.offer-band__content { max-width: 640px; }

.embed-box {
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 8px;
  min-height: 900px;
}
.embed-box iframe {
  width: 100%;
  border: none;
  border-radius: 4px;
  display: block;
}
/* The quote form is sized by form_embed.js, which writes an inline style and
   so beats this rule. The fixed height here only holds the space until it
   loads, and the floor keeps the box from collapsing if it never does. */
.embed-box:not(.embed-box--reviews) iframe {
  height: 881px;
  min-height: 881px;
}
.embed-box--reviews {
  background: #fff;
  padding: 16px;
  min-height: 420px;
}
/* No CSS height here on purpose. review-widget.js reports the widget's real
   height by setting the iframe's HTML height ATTRIBUTE, and a presentational
   attribute loses to any author CSS height, so a fixed height silently
   overrode the widget and clipped the review cards. min-height is safe: it
   is the floor CLAUDE.md asks for and cannot stop the iframe growing. */
.embed-box--reviews iframe {
  min-width: 100%;
  width: 100%;
  min-height: 400px;
  border-radius: 0;
}
.form-fallback {
  text-align: center;
  margin: 22px 0 0;
  font-size: 15.5px;
  color: var(--body);
}
.form-fallback a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { color: var(--sep); }
.breadcrumb__current { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------------
   Gallery masonry
   -------------------------------------------------------------------------- */

.masonry { columns: 288px 3; column-gap: 18px; }
.masonry figure {
  break-inside: avoid;
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.masonry figure > div { overflow: hidden; }
.masonry img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s var(--ease);
}
.masonry img:hover { transform: scale(1.04); }
.masonry figcaption { padding: 15px 18px; }
.masonry figcaption span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--navy);
  transition: box-shadow .3s ease, transform .3s var(--ease);
}
.post-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  color: var(--navy);
}
.post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.post-card__noimg {
  aspect-ratio: 16 / 10;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__noimg span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}
.post-card h2 { margin-bottom: 10px; }
.post-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  flex: 1;
}

.post-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  min-height: min(46vh, 420px);
  min-height: min(46svh, 420px);
}
.post-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 30, 48, .72) 0%, rgba(12, 30, 48, .92) 100%);
}
.post-hero__blank { position: absolute; inset: 0; background: var(--navy-dk); }
.post-hero__placeholder { top: 16px; left: 16px; bottom: auto; }
.post-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 24px;
  width: 100%;
}
.post-hero__meta {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-navy-fine);
}

.post-cta {
  margin-top: 44px;
  padding: 30px 32px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
}
.post-cta__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 10px;
}
.post-cta p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; }

@media (max-width: 560px) {
  .post-cta { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: var(--on-navy-footer);
  padding: clamp(56px, 7vw, 80px) 24px 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 44px 32px;
  padding-bottom: 52px;
}
.site-footer__brand { min-width: 240px; }
.site-footer__brand img { height: 64px; width: auto; display: block; margin-bottom: 20px; }
.site-footer__brand p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 300px;
}
.site-footer h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}
.site-footer__links a, .site-footer__links span { color: var(--on-navy-footer); }
.site-footer__links a:hover { color: #fff; }
.site-footer__links a.is-strong { color: #fff; font-weight: 700; }
.site-footer__phone { color: #fff; font-weight: 700; font-size: 16px; }
.site-footer__email { word-break: break-all; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  border-radius: 2px;
  transition: background .2s ease;
}
.social-btn:hover { background: var(--red); color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 24px 0 calc(30px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__legal a { color: var(--on-navy-footer); }
.site-footer__legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Sticky mobile CTA bar
   -------------------------------------------------------------------------- */

.sticky-spacer {
  display: none;
  height: calc(72px + env(safe-area-inset-bottom));
  background: var(--navy);
}
.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(18, 42, 66, .12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sticky-bar a {
  text-align: center;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 2px;
  display: block;
}
.sticky-bar__quote { background: var(--red); color: #fff; }
.sticky-bar__quote:hover { background: var(--red-dk); color: #fff; }
.sticky-bar__call { border: 1.5px solid var(--navy); color: var(--navy); }

@media (max-width: 980px) {
  body:not(.no-sticky-bar) .sticky-spacer { display: block; }
  body:not(.no-sticky-bar) .sticky-bar { display: grid; }
  body.menu-open .sticky-bar { display: none; }
}

/* --------------------------------------------------------------------------
   Offer popup
   -------------------------------------------------------------------------- */

.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 30, 48, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: tapFadeIn .2s ease;
}
.offer-popup.is-open { display: flex; }
.offer-popup__card {
  background: #fff;
  max-width: 440px;
  width: 100%;
  border-top: 4px solid var(--red);
  box-shadow: 0 30px 70px rgba(12, 30, 48, .4);
  padding: 36px 34px 32px;
  position: relative;
  animation: tapPopIn .32s var(--ease);
}
.offer-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-popup__close:hover { color: var(--navy); }
.offer-popup__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.offer-popup h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 14px;
}
.offer-popup p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
}
.offer-popup p strong { color: var(--navy); letter-spacing: .06em; }
.offer-popup__rule {
  height: 1px;
  background: var(--navy);
  opacity: .15;
  margin: 0 0 20px;
}
.offer-popup__cta {
  display: block;
  text-align: center;
  background: var(--red);
  color: #fff;
  padding: 16px;
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 2px;
  margin-bottom: 14px;
  transition: background .2s ease;
}
.offer-popup__cta:hover { background: var(--red-dk); color: #fff; }
.offer-popup__terms { text-align: center; }
.offer-popup__terms a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes tapPopIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes tapFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal state is applied by JS so content is visible without JS. */
.is-revealing {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.is-revealed { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Touch targets. Anything tappable clears 44px on a phone.
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .utility-bar__inner { padding: 0 20px; }
  .utility-bar a {
    min-height: 44px;
    align-items: center;
    padding-right: 4px;
  }
  /* Icon-only links need width as well as height to be thumb-sized. */
  .utility-bar__group:last-child { gap: 8px; }
  .utility-bar__group:last-child a {
    min-width: 44px;
    justify-content: center;
    padding-right: 0;
  }

  /* The town list is real information, not a decorative label. */
  .hero__eyebrow { font-size: 13px; letter-spacing: .18em; }

  .site-footer__links { gap: 0; }
  .site-footer__links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer__links span { padding: 11px 0; }
  .site-footer__legal { gap: 0 22px; }
  .site-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer__bottom { padding-top: 14px; }

  .link-arrow, .fineprint-link {
    min-height: 44px;
    align-items: center;
  }
  .link-arrow--rule { padding-bottom: 0; }

  .breadcrumb { padding: 10px 24px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }

  .chip { min-height: 44px; display: inline-flex; align-items: center; }

  .masonry figcaption { padding: 16px 18px; }
}

@media (max-width: 720px) {
  .work-grid { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
  .quote-figure__quote { position: static; max-width: none; }
  .split-card__body { padding: 26px 24px; }
  .offer-popup__card { padding: 32px 24px 26px; }
  .hero__inner { padding: 72px 24px; }
  .masonry { columns: 1; }
}

@media (max-width: 420px) {
  .btn { padding: 16px 22px; font-size: 15px; }
  .work-grid .span-2 { grid-column: span 2; }
}
