/* Placeholder palette and fonts until the brand is picked. Change the values here, not the names. */
:root {
  --brand: #1d3a5f;
  --brand-deep: #132a47;
  --link: #1f5fa8;
  --tint: #f5f7fa;
  --tint-deep: #e2e8f0;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --ink: #1b2430;
  --muted: #566170;
  --white: #ffffff;
  --radius: 14px;
  --radius-large: 22px;
  --shadow: 0 1px 2px rgba(16, 32, 54, 0.06), 0 10px 28px rgba(16, 32, 54, 0.08);
  --shadow-lift: 0 2px 4px rgba(16, 32, 54, 0.08), 0 20px 44px rgba(16, 32, 54, 0.16);
  --wrap: 1180px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* The shape along the bottom of the hero */
  --hero-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60L1200 8V60Z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--brand);
  /* Even out line lengths so no heading ends with one word alone */
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--link);
}

:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 2px;
}

.topbar :focus-visible,
.hero :focus-visible,
.section--brand :focus-visible,
.tile :focus-visible,
.cta :focus-visible,
.stat :focus-visible,
.contact-layout .card :focus-visible,
.footer :focus-visible,
.callbar :focus-visible {
  outline-color: var(--accent);
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--tint {
  background: var(--tint);
}

.section--brand {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
}

.section--brand h2,
.section--brand h3 {
  color: var(--white);
}

.section__intro {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--brand .section__intro {
  color: rgba(255, 255, 255, 0.88);
}

/* Header: the phone bar scrolls away and the nav stays */
#site-header {
  position: sticky;
  top: -38px;
  z-index: 30;
  min-height: 118px;
}

.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--wrap), 100% - 32px);
  min-height: 38px;
  margin-inline: auto;
}

.topbar__phones {
  display: flex;
  gap: 24px;
}

.topbar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--accent);
}

.nav {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--tint-deep), 0 8px 24px rgba(16, 32, 54, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--wrap), 100% - 32px);
  min-height: 80px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__logo {
  display: block;
  width: auto;
  height: 58px;
}

.brand small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--brand);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--brand);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__toggle span {
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 6px 18px rgba(255, 190, 11, 0.42);
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--line {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--line:hover {
  background: var(--brand);
  color: var(--white);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero: a full-width photo under a scrim, finished with a sloped edge */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(480px, 66vh, 660px);
  padding: 88px 0 124px;
  background: var(--brand-deep);
  color: var(--white);
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: var(--hero-zoom, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, 50%) var(--hero-y, 50%);
}

/*
  Per-page focus, set inline on the hero image:
  --hero-y    vertical focus. Wide screens crop the top and bottom of the photo, and the quote card covers the lower part of the hero.
  --hero-zoom wider than 100% shifts a centered subject right, clear of the headline and the dark left side.
  --hero-mx   horizontal focus on phones and tablets, where the sides of the photo are cropped instead.
*/
@media (max-width: 900px) {
  .hero__img {
    width: 100%;
    object-position: var(--hero-mx, 50%) var(--hero-y, 50%);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 32, 54, 0.88) 0%, rgba(16, 32, 54, 0.74) 42%, rgba(16, 32, 54, 0.38) 62%, rgba(16, 32, 54, 0) 80%),
    linear-gradient(0deg, rgba(16, 32, 54, 0.18), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 56px;
  background: var(--after-hero, var(--white));
  -webkit-mask: var(--hero-edge) center / 100% 100% no-repeat;
  mask: var(--hero-edge) center / 100% 100% no-repeat;
}

.hero:has(+ .offer) {
  --after-hero: var(--accent);
}

.hero:has(+ .section--tint) {
  --after-hero: var(--tint);
}

.hero--home {
  min-height: clamp(560px, 84vh, 800px);
}

.hero--compact {
  min-height: 340px;
  padding: 64px 0 104px;
}

.hero--plain {
  min-height: 0;
  padding: 72px 0 104px;
  background:
    repeating-radial-gradient(circle at 88% 120%, transparent 0 46px, rgba(255, 255, 255, 0.05) 46px 48px),
    linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, #2a4d7a);
}

.hero--plain::before {
  content: none;
}

.hero h1 {
  max-width: 800px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero__lede {
  max-width: 620px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lede a,
.hero__phones a {
  color: var(--white);
}

.hero__eyebrow {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__phones {
  margin: 22px 0 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__phones a {
  font-weight: 600;
  white-space: nowrap;
}

.hero__phones + .btn-row {
  margin-top: 24px;
}

.banner {
  background: var(--accent);
  color: var(--brand-deep);
  font-weight: 600;
  text-align: center;
}

.banner p {
  margin: 0;
  padding: 10px 0;
}

.banner a {
  color: inherit;
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Home services: cards pulled up over the bottom of the hero photo */
.grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.hero:has(+ .services) {
  padding-bottom: 280px;
}

.services {
  padding-top: 0;
}

.services .grid--services {
  position: relative;
  z-index: 1;
  margin-top: -190px;
}

.grid--services .card {
  border-color: #dfe6e2;
  box-shadow: 0 2px 4px rgba(16, 32, 54, 0.05), 0 18px 40px rgba(16, 32, 54, 0.12);
}

.grid--services .card__body {
  padding: 26px 28px 28px;
}

.grid--services h3 {
  margin-bottom: 10px;
}

/* A short gold accent line above each title */
.grid--services h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid .card h2 {
  font-size: 1.3rem;
}

.card p {
  color: var(--muted);
}

.card__link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

/* The non-breaking space keeps the arrow on the same line as the last word */
.card__link::after {
  content: "\00a0\2192";
}

.card--photo {
  overflow: hidden;
  padding: 0;
}

.card--photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* Makes the whole card clickable */
.card--photo .card__link::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--photo:hover .card__img {
  transform: scale(1.04);
}

.card__body {
  position: relative;
  z-index: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
  background: var(--white);
}

/* Area tiles */
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 460px;
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(16, 32, 54, 0.96) 20%, rgba(16, 32, 54, 0.74) 55%, rgba(16, 32, 54, 0.04) 85%);
}

.tile__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tile:hover .tile__img {
  transform: scale(1.03);
}

.tile h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.tile p {
  color: rgba(255, 255, 255, 0.9);
}

.tile__phone a {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

/* Text beside a photo */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.split--flip .split__media {
  order: -1;
}

.split__media {
  margin: 0;
}

.split__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: 14px 14px 0 var(--tint-deep);
}

.section--tint .split__media img {
  box-shadow: 14px 14px 0 var(--white);
}

.section--brand .split__media img {
  box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.12);
}

.split .prose {
  max-width: none;
}

/* Wide photo between sections */
.band {
  margin: 0;
}

.band img {
  display: block;
  width: 100%;
  height: clamp(240px, 40vw, 440px);
  object-fit: cover;
}

/* For photos too small to stretch edge to edge */
.band--contained {
  width: min(var(--wrap), 100% - 32px);
  margin: 0 auto 88px;
}

.band--contained img {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.reasons {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.reasons svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  background: var(--accent);
  border-radius: 50%;
  fill: none;
  stroke: var(--brand-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.reasons h3 {
  margin-bottom: 2px;
}

.reasons p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 2px 0 26px 58px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--tint-deep);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks--2col {
  columns: 2;
  column-gap: 24px;
  margin: 20px 0 8px;
}

.checks--2col li {
  break-inside: avoid;
}

@media (max-width: 480px) {
  .checks--2col {
    columns: 1;
  }
}

.checks li {
  position: relative;
  padding: 0 0 12px 34px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background: rgba(12, 128, 84, 0.14);
  border-radius: 50%;
}

.checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 6px;
  height: 11px;
  border: solid var(--link);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cities li {
  padding: 7px 18px;
  background: var(--tint);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 500;
}

/* FAQ: heading on the left, answers on the right */
.faq.prose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 48px;
  align-items: start;
  max-width: none;
}

.faq h2 {
  grid-row: 1 / span 12;
  position: sticky;
  top: 100px;
}

.faq details {
  grid-column: 2;
  margin-bottom: 12px;
  background: var(--tint);
  border-radius: var(--radius);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  color: var(--brand);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--link);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* Closing call to action: concentric rings for a sprinkler's arc */
.cta {
  background:
    repeating-radial-gradient(circle at 50% 150%, transparent 0 58px, rgba(255, 255, 255, 0.045) 58px 60px),
    linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, #2a4d7a);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
}

.cta .btn-row {
  justify-content: center;
}

.stat {
  padding: 28px;
  background:
    repeating-radial-gradient(circle at 100% 100%, transparent 0 30px, rgba(255, 255, 255, 0.05) 30px 32px),
    var(--brand);
  border-radius: var(--radius);
  color: var(--white);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--accent);
}

.stat a {
  color: inherit;
}

.source {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}

.section__note {
  margin: 28px 0 0;
  color: var(--muted);
}

/* $50 offer: reads like a coupon */
.offer {
  padding: 36px 0;
  background: var(--accent);
  color: var(--brand-deep);
}

.offer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 26px 32px;
  border: 2px dashed rgba(16, 32, 54, 0.45);
  border-radius: var(--radius);
}

.offer h2 {
  margin-bottom: 6px;
  color: var(--brand-deep);
}

.offer p {
  margin: 0;
}

.offer .offer__terms {
  margin-top: 8px;
  font-size: 0.85rem;
}

.offer .btn {
  flex: none;
  background: var(--brand-deep);
  color: var(--white);
}

.offer .btn:hover {
  background: var(--brand);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-layout aside {
  position: sticky;
  top: 100px;
}

.contact-layout .card {
  background: var(--brand-deep);
  border: 0;
  color: var(--white);
}

.contact-layout .card h2,
.contact-layout .card h3 {
  color: var(--white);
}

.contact-layout .card h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.contact-layout .card a {
  color: var(--accent);
  font-weight: 600;
}

.contact-layout .card p {
  color: rgba(255, 255, 255, 0.82);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.form__full {
  grid-column: 1 / -1;
}

.form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #b9b3a3;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}

.form__status {
  margin: 0;
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status--error {
  color: #a3271c;
}

.form__status--ok {
  color: var(--link);
}

/* Calendly */
.book {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tint-deep);
}

.book > p {
  max-width: 680px;
  color: var(--muted);
}

.book .btn[aria-pressed="true"] {
  background: var(--brand);
  color: var(--white);
}

.book__frame {
  position: relative;
  height: 720px;
  margin-top: 20px;
}

.book__frame[hidden] {
  display: none;
}

.book__widget,
.book__widget iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.book__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--tint);
  border-radius: var(--radius);
  text-align: center;
}

.book__loading p {
  max-width: 420px;
  margin: 0;
  color: var(--brand);
  font-weight: 600;
}

.book__bar {
  overflow: hidden;
  width: 220px;
  max-width: 80%;
  height: 6px;
  background: var(--tint-deep);
  border-radius: 999px;
}

.book__bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  animation: book-bar 1.3s ease-in-out infinite;
}

@keyframes book-bar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .book__bar span {
    width: 100%;
    animation: none;
  }

  .btn,
  .card,
  .card__img,
  .tile__img {
    transition: none;
  }

  .btn:hover,
  .card--photo:hover,
  .card--photo:hover .card__img,
  .tile:hover .tile__img {
    transform: none;
  }
}

.prose {
  max-width: 760px;
}

/* Guides */
.article {
  margin-inline: auto;
}

.article h2 {
  margin-top: 1.6em;
}

.article h2:first-child {
  margin-top: 0;
}

.article .stat,
.article .table-wrap {
  margin: 24px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article th,
.article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--tint-deep);
  text-align: left;
  vertical-align: top;
}

.article tr:last-child td {
  border-bottom: 0;
}

.article th {
  background: var(--tint);
  color: var(--brand);
}

.article__sources {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--tint-deep);
  color: var(--muted);
  font-size: 0.92rem;
}

.article__sources h2 {
  margin-top: 0.8em;
  font-size: 1.25rem;
}

.article__sources ul {
  padding-left: 20px;
}

/* Photo credits */
.credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.credits li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  font-size: 0.92rem;
}

.credits img {
  display: block;
  width: 112px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.credits strong {
  display: block;
  overflow-wrap: anywhere;
}

/* Footer */
.footer {
  position: relative;
  padding: 72px 0 28px;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.footer__logo {
  display: block;
  width: auto;
  height: 56px;
  margin-bottom: 14px;
}

.footer__crew + .footer__crew {
  margin-top: 20px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer a {
  display: block;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  width: min(var(--wrap), 100% - 32px);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}

.footer__legal a {
  display: inline;
  padding: 0;
}

/* Tap-to-call bar. Lives in each page's HTML so it never depends on includes.js */
.callbar {
  display: none;
}

@media (max-width: 1180px) {
  #site-header {
    top: 0;
    min-height: 72px;
  }

  .topbar {
    display: none;
  }

  .nav__inner {
    gap: 12px;
    min-height: 72px;
  }

  .nav__cta {
    margin-left: auto;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--white);
    box-shadow: 0 16px 28px rgba(16, 32, 54, 0.16);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--tint-deep);
    font-size: 1.02rem;
  }

  .nav__links a::after {
    content: none;
  }
}

@media (max-width: 1000px) {
  .grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .offer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid--2,
  .contact-layout,
  .split,
  .credits {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    gap: 36px;
  }

  .split__media,
  .split--flip .split__media {
    order: -1;
  }

  .faq.prose {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq h2 {
    grid-row: auto;
    position: static;
  }

  .faq details {
    grid-column: 1;
  }

  .contact-layout aside {
    position: static;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(16, 32, 54, 0.82), rgba(16, 32, 54, 0.5));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .band--contained {
    margin-bottom: 56px;
  }

  .hero {
    min-height: 0;
    padding: 56px 0 88px;
  }

  .hero--home {
    min-height: 0;
    padding: 72px 0 96px;
  }

  .hero__lede {
    font-size: 1.08rem;
  }

  .hero::after {
    height: 32px;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    margin-left: auto;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand__logo {
    height: 46px;
  }

  .grid--3,
  .grid--services {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero:has(+ .services) {
    padding-bottom: 176px;
  }

  .services {
    padding-top: 0;
  }

  .services .grid--services {
    margin-top: -96px;
  }

  .tile {
    min-height: 400px;
    padding: 24px;
  }

  .split__media img {
    box-shadow: 8px 8px 0 var(--tint-deep);
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .book__frame {
    height: 860px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .callbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 20;
    display: flex;
    background: var(--brand-deep);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  }

  .callbar a {
    flex: 1;
    padding: 15px 6px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .callbar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .callbar a.callbar__primary {
    background: var(--accent);
    color: var(--brand-deep);
  }
}

/* Holds a card's photo slot until its photo is chosen */
.card__img--empty {
  background: linear-gradient(135deg, var(--tint), var(--tint-deep));
}

/* ---------- Quote form, action strip, Call Us menu and service tiles ---------- */

/* Header: phone button beside Get a Quote */
.nav__call {
  white-space: nowrap;
}

.strip__call span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Shorter hero that the quote card overlaps */
.hero--quote {
  min-height: clamp(400px, 56vh, 540px);
  padding: 72px 0 180px;
}

/* Quote card */
.quote {
  position: relative;
  z-index: 2;
  margin-top: -136px;
}

.quote + .section {
  padding-top: 72px;
}

.quote__card {
  padding: 28px 32px 26px;
  background: var(--white);
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-lift);
}

.quote__head {
  margin-bottom: 18px;
}

.quote__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.quote__head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.quote__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

.quote__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote__wide {
  grid-column: 1 / -1;
}

/* Handyman pages: name and phone across. Remodel pages: name, phone, budget and timeline */
.quote__fields--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote__fields--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote__fields label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.quote__fields input,
.quote__fields select,
.quote__fields textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #b9b3a3;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.quote__fields input:focus,
.quote__fields select:focus,
.quote__fields textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}

#quote-status {
  margin-top: 12px;
}

/* Action strip: replaces How It Works and the closing call to action */
.strip {
  padding: 52px 0;
  background: var(--tint);
}

.strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.strip h2 {
  margin: 0 0 18px;
}

.strip__call {
  display: inline-grid;
  padding-block: 7px;
  line-height: 1.25;
  text-align: left;
}

.strip__call span {
  opacity: 0.75;
}

.strip__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.strip__steps li {
  counter-increment: step;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.strip__steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
}

.strip__steps strong {
  display: block;
  color: var(--ink);
}

@media (max-width: 1180px) {
  .nav__call {
    margin-left: auto;
  }

  .nav__call + .nav__cta {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .strip__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .quote__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav__call {
    display: none;
  }

  .hero--quote {
    padding: 48px 0 124px;
  }

  .quote {
    margin-top: -92px;
  }

  .quote__card {
    padding: 22px 18px;
  }

  .quote__fields,
  .strip__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote__foot .btn {
    width: 100%;
  }
}

/* Service tiles: compact photo links on the home and area pages */
.service-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-tile {
  position: relative;
  isolation: isolate;
  display: block;
  flex: 0 0 calc((100% - 60px) / 4);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand-deep);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-tile--empty {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.service-tile__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(16, 32, 54, 0.88) 0%, rgba(16, 32, 54, 0.4) 42%, rgba(16, 32, 54, 0) 70%);
}

.service-tile__name {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.service-tile__name::after {
  content: "\00a0\2192";
  font-family: var(--body);
}

.service-tile:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.service-tile:hover .service-tile__img {
  transform: scale(1.05);
}

.service-tile:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .service-tile {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 640px) {
  .service-tiles {
    gap: 12px;
  }

  .service-tile {
    flex-basis: calc((100% - 12px) / 2);
  }

  .service-tile__name {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: 1rem;
  }
}

/* Home page: the service tiles sit over the bottom of the hero (the hero leaves room via .hero:has(+ .services)) */
.services .service-tiles {
  position: relative;
  z-index: 1;
  margin-top: -190px;
}

@media (max-width: 640px) {
  .services .service-tiles {
    margin-top: -96px;
  }
}

/* Home hero is a little shorter so the first row of tiles shows on a laptop screen */
.hero--home:has(+ .services) {
  min-height: 0;
  padding-top: 64px;
  padding-bottom: 250px;
}

@media (max-width: 640px) {
  .hero--home:has(+ .services) {
    padding-bottom: 150px;
  }
}

/* ---------- Remodeling: nav menus, photo placeholders, paths, process, projects ---------- */

/* Header dropdowns (desktop). On phones and tablets only the top links show; they lead to the hub pages. */
.nav__group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__group > a {
  padding-right: 16px;
}

/* Small caret after the group link */
.nav__group > a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(-20%);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 40;
  display: grid;
  width: max-content;
  min-width: 250px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* Bridges the gap so the menu stays open while the pointer moves down to it */
.nav__menu::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}

.nav__menu--2col {
  grid-template-columns: repeat(2, max-content);
  column-gap: 6px;
}

.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__links .nav__menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
}

.nav__links .nav__menu a::after {
  content: none;
}

.nav__links .nav__menu a:hover,
.nav__links .nav__menu a.active {
  background: var(--tint);
}

.nav__links .nav__menu .nav__menu-all {
  grid-column: 1 / -1;
  margin-top: 4px;
  border-top: 1px solid var(--tint-deep);
  border-radius: 0 0 8px 8px;
  color: var(--link);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .nav__group {
    display: block;
  }

  .nav__group > a {
    display: block;
  }

  .nav__group > a::before,
  .nav__menu {
    display: none;
  }
}

/*
  Photo placeholders. Each one marks where a photo goes and says what it should show.
  To swap one in, replace the placeholder element with an <img> that keeps the same
  first class (for example service-tile__img or card__img) and drop "ph" and data-ph.
*/
.ph {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(29, 58, 95, 0.05) 18px 19px),
    linear-gradient(135deg, var(--tint), var(--tint-deep));
  color: var(--muted);
}

.ph::after {
  content: attr(data-ph);
  max-width: 80%;
  padding: 6px 12px 6px 34px;
  background: rgba(255, 255, 255, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") 10px 50% / 16px no-repeat;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.ph--dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.035) 22px 23px),
    linear-gradient(135deg, #2a4d7a, var(--brand-deep));
}

/* Tiles put the name at the bottom, so the label moves to the top */
.service-tile .ph {
  place-items: start;
  padding: 12px;
}

/* The hero's label sits on the right, clear of the headline */
.hero .ph {
  place-items: center end;
  padding: 0 6% 40px 0;
}

@media (max-width: 900px) {
  .hero .ph {
    place-items: start end;
    padding: 16px;
  }
}

/* Home: the two paths, pulled up over the bottom of the hero */
.hero:has(+ .paths) {
  padding-bottom: 240px;
}

.paths {
  padding-top: 0;
}

.paths__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: -180px;
}

.path {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.path:hover {
  transform: translateY(-4px);
}

.path__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.path__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 30px 30px;
}

.path__kicker {
  margin: 0 0 6px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.path p {
  color: var(--muted);
}

.path__link {
  margin-top: auto;
  color: var(--link);
  font-weight: 600;
}

.path__link::after {
  content: "\00a0\2192";
}

.path:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .paths__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero:has(+ .paths) {
    padding-bottom: 140px;
  }

  .paths__grid {
    margin-top: -90px;
    gap: 20px;
  }

  .path__body {
    padding: 22px;
  }
}

/* Remodel tiles: three across and a little wider than the handyman tiles */
.service-tiles--3 .service-tile {
  flex-basis: calc((100% - 40px) / 3);
  aspect-ratio: 3 / 2;
}

@media (max-width: 640px) {
  .service-tiles--3 .service-tile {
    flex-basis: calc((100% - 12px) / 2);
    aspect-ratio: 4 / 3;
  }
}

/* Section heading with a link on the right */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.section__head h2,
.section__head .section__intro {
  margin-bottom: 0;
}

.section__head .section__intro {
  margin-top: 8px;
}

.section__head > a {
  font-weight: 600;
  text-decoration: none;
}

.section__head > a::after {
  content: "\00a0\2192";
}

/* Remodel process: four numbered steps joined by a line */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  counter-increment: step;
}

.process li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 60px;
  right: -16px;
  height: 2px;
  background: var(--tint-deep);
}

.section--brand .process li:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.2);
}

.process h3 {
  margin-bottom: 6px;
}

.process p {
  margin: 0;
  color: var(--muted);
}

.section--brand .process p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .process li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .process {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Projects: a before and after pair with a caption */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.project {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project[hidden] {
  display: none;
}

.project__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--white);
}

.project__shot {
  position: relative;
}

.project__shot > img,
.project__shot > .ph {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project__shot .ph::after {
  content: none;
}

.project__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(19, 42, 71, 0.85);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project__shot:last-child .project__label {
  background: var(--accent);
  color: var(--brand-deep);
}

.project figcaption {
  padding: 18px 20px 20px;
}

.project__tag {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project strong {
  display: block;
  color: var(--brand);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.project figcaption p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .projects {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Our Work filter buttons */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filters .btn {
  padding: 9px 18px;
  font-size: 0.92rem;
}

.filters .btn[aria-pressed="true"] {
  background: var(--brand);
  color: var(--white);
}

/* Remodel pages: popular options as chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--tint-deep);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Remodel-only fields on the contact form, shown when a remodel is picked */
.form [hidden] {
  display: none;
}

/* Photo above each list on a service page's What We Handle section (lighting-fans.html) */
.handle__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% var(--handle-y, 50%);
  margin-bottom: 16px;
  border-radius: var(--radius);
}

/* Catch-all bar under the service tiles for General Repairs and anything not listed */
.tiles-more {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--tint-deep);
  border-radius: var(--radius);
  background: var(--tint);
}

.tiles-more__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.tiles-more__text {
  flex: 1 1 auto;
}

.tiles-more__text h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.tiles-more__text p {
  margin: 0;
  color: var(--muted);
}

.tiles-more__links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .tiles-more {
    flex-wrap: wrap;
  }

  .tiles-more__text {
    flex-basis: calc(100% - 68px);
  }

  .tiles-more__links {
    flex-basis: 100%;
    padding-left: 68px;
  }
}

@media (max-width: 640px) {
  .tiles-more {
    margin-top: 12px;
    padding: 18px;
  }

  .tiles-more__icon {
    display: none;
  }

  .tiles-more__text {
    flex-basis: 100%;
  }

  .tiles-more__links {
    padding-left: 0;
  }
}

/* The handyman grid has 16 tiles, so it goes 4 across down to tablets, then 2 across, and every row stays full */
@media (max-width: 1000px) {
  .service-tiles--16 .service-tile {
    flex-basis: calc((100% - 60px) / 4);
  }

  .service-tiles--16 .service-tile__name {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .service-tiles--16 {
    gap: 12px;
  }

  .service-tiles--16 .service-tile {
    flex-basis: calc((100% - 12px) / 2);
  }
}
