/* Independent Mold Inspectors — premium directory redesign */

:root {
  --bg: #f2eee6;
  --bg-tint: #e6f1ed;
  --surface: #fffcf8;
  --surface-soft: #f6f1e8;
  --ink: #152521;
  --muted: #5a6964;
  --accent: #0e6a5b;
  --accent-hover: #0a5347;
  --accent-soft: #d5ebe4;
  --copper: #c45c26;
  --copper-hover: #a34a1c;
  --copper-soft: #f6e4d8;
  --header: #072822;
  --header-mid: #0d3d34;
  --banner-ink: #6b4a12;
  --banner-bg: #f8efd6;
  --banner-border: #e4d2a0;
  --border: #d9d0bf;
  --border-soft: #e7dfd1;
  --shadow: 0 1px 2px rgba(7, 40, 34, 0.05), 0 12px 32px rgba(7, 40, 34, 0.08);
  --shadow-md: 0 4px 8px rgba(7, 40, 34, 0.06), 0 18px 40px rgba(7, 40, 34, 0.1);
  --shadow-sm: 0 1px 2px rgba(7, 40, 34, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 960px;
  --max-wide: 1120px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-offset: 0px;
  --city-tint: rgba(14, 106, 91, 0.08);
  --city-accent: var(--accent);
}

/* Soft city-tint accents */
body.city-houston { --city-tint: rgba(180, 90, 40, 0.1); --city-accent: #b85a28; }
body.city-dallas { --city-tint: rgba(30, 70, 140, 0.1); --city-accent: #1e468c; }
body.city-austin { --city-tint: rgba(90, 50, 140, 0.1); --city-accent: #6b3fa0; }
body.city-miami { --city-tint: rgba(0, 140, 160, 0.12); --city-accent: #008ca0; }
body.city-orlando { --city-tint: rgba(200, 120, 30, 0.1); --city-accent: #c8781e; }
body.city-tampa { --city-tint: rgba(20, 110, 150, 0.1); --city-accent: #147096; }

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -10%, var(--city-tint), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(196, 92, 38, 0.07), transparent 50%),
    linear-gradient(180deg, #efe9df 0%, var(--bg) 28%, #f5f1ea 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.is-home .wrap {
  max-width: var(--max-wide);
}

/* Draft banner — inert leftover (unused in live HTML) */
.draft-banner {
  display: none;
}

.draft-banner-dot {
  display: none;
}

/* ---- Sticky header / nav polish ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(165deg, var(--header) 0%, var(--header-mid) 55%, #11493e 100%);
  color: #e7f2ee;
  padding: 0.95rem 0 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 10px 32px rgba(4, 22, 18, 0.35);
  backdrop-filter: saturate(1.15);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--copper), var(--city-accent, var(--accent)));
  opacity: 0.95;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.4vw, 1.62rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  line-height: 1.2;
}

.brand:hover {
  color: #c9ebe2;
}

.tagline {
  margin: 0;
  color: #9fc4b9;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-nav .nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.2rem;
}

.site-nav .nav-primary a {
  color: #d5ebe4;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-nav .nav-primary a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-nav .nav-primary a.active {
  color: #fff;
  background: rgba(14, 106, 91, 0.65);
  border-color: rgba(200, 235, 226, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb3a8;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe6df !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.city-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.city-pill.active {
  background: var(--copper);
  border-color: #d97842;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(196, 92, 38, 0.35);
}

/* ---- Content card ---- */
.content.content-card,
.content-card {
  background: var(--surface);
  margin: 1.65rem auto 2.75rem;
  padding: 2.15rem 1.9rem 2.55rem;
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
  position: relative;
}

.content.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--city-accent, var(--copper)));
  opacity: 0.85;
}

.content h1,
.content h2,
.content h3 {
  font-family: var(--font-display);
  color: var(--header);
  letter-spacing: -0.018em;
  line-height: 1.22;
}

.content h1 {
  margin-top: 0;
  font-size: clamp(1.72rem, 3.4vw, 2.2rem);
  font-weight: 650;
}

.content h2 {
  margin-top: 2.35rem;
  font-size: 1.4rem;
  font-weight: 650;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
}

.content h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--copper));
}

.content h3 {
  margin-top: 1.65rem;
  font-size: 1.14rem;
  font-weight: 600;
  color: #243d37;
}

.content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2.1rem 0;
}

.content p {
  margin: 0.9rem 0;
}

.content ul,
.content ol {
  padding-left: 1.35rem;
}

.content li {
  margin: 0.42rem 0;
}

.content li::marker {
  color: var(--city-accent, var(--accent));
}

.content blockquote {
  margin: 1.25rem 0;
  padding: 0.95rem 1.2rem;
  border-left: 4px solid var(--city-accent, var(--accent));
  background: linear-gradient(90deg, var(--bg-tint), transparent);
  color: var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content code {
  font-size: 0.88em;
  background: var(--surface-soft);
  padding: 0.12em 0.4em;
  border-radius: 5px;
  border: 1px solid var(--border-soft);
}

/* Section divider feel between major blocks */
.content > h2 {
  scroll-margin-top: 5.5rem;
}

/* Homepage hero H1 */
.is-home .hero-title {
  margin: -0.35rem -0.35rem 1.35rem;
  padding: 1.45rem 1.45rem 1.35rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14, 106, 91, 0.12) 0%, rgba(196, 92, 38, 0.09) 55%, rgba(243, 238, 228, 0.45) 100%),
    var(--surface-soft);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.is-home .hero-title::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--copper));
}

/* ---- Listing / table cards (elevated hierarchy) ---- */
.table-card {
  margin: 1.35rem 0 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.table-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--city-accent, var(--accent)), var(--copper));
  opacity: 0.85;
}

.content .table-card table,
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content thead {
  background: linear-gradient(180deg, #e8f3ef 0%, #dcece7 100%);
}

.content th,
.content td {
  border: none;
  border-bottom: 1px solid var(--border-soft);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.content tr:last-child td {
  border-bottom: none;
}

.content th {
  font-weight: 700;
  color: var(--header);
  font-size: 0.8rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.content tbody tr:nth-child(even) td {
  background: rgba(247, 242, 232, 0.55);
}

.content tbody tr:hover td {
  background: rgba(216, 235, 229, 0.55);
}

.content tbody td:first-child {
  font-weight: 650;
  color: var(--header);
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 0.14em 0.6em;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.badge-placeholder {
  background: var(--copper-soft);
  color: #8a3d14;
  border: 1px solid #e8c4a8;
}

.badge-draft {
  background: var(--accent-soft);
  color: #0a5347;
  border: 1px solid #b7d9cf;
}

.badge-coming {
  background: #eceff1;
  color: #455a64;
  border: 1px solid #cfd8dc;
}

.badge-live {
  background: linear-gradient(135deg, #d8f3e8 0%, #c5ebd9 100%);
  color: #0a5c45;
  border: 1px solid #8fd4b5;
  box-shadow: 0 0 0 3px rgba(14, 106, 91, 0.08);
}

.badge-live::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: #12a06a;
  box-shadow: 0 0 0 2px rgba(18, 160, 106, 0.25);
}

/* CTA buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #0d7a68 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(14, 106, 91, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14, 106, 91, 0.38);
}

.btn-cta:focus-visible {
  outline-color: var(--copper);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #122823 0%, #071714 100%);
  color: #a8bdb6;
  padding: 2.2rem 0 2.5rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer a {
  color: #9fd4c6;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
}

.disclaimer {
  margin: 0;
  max-width: 68ch;
  line-height: 1.65;
}

.footer-meta {
  margin: 0;
  color: #7a948c;
  font-size: 0.84rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Site photos ---- */
.hero-photo,
.figure-row,
.page-banner,
.split-media {
  margin: 0 0 1.45rem;
}

.hero-photo {
  position: relative;
  margin: -0.15rem -0.15rem 1.45rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  background: #0a322c;
}

.hero-photo picture,
.hero-photo .hero-photo-img,
.page-banner picture,
.page-banner-img,
.figure-row picture,
.media-img,
.split-media-img picture,
.split-media-img .media-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero-photo-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.2rem 1.25rem 1.05rem;
  color: #f3faf7;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 28, 24, 0.72) 40%, rgba(6, 28, 24, 0.94) 100%);
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.15rem 1.45rem;
  align-items: center;
  padding: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(135deg, var(--surface-soft), var(--surface));
  box-shadow: var(--shadow-sm);
}

.split-media-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-media-img .media-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.split-media-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split-media-copy strong {
  color: var(--ink);
}

.figure-row.mid-photo,
.figure-row.guide-strip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.figure-row.mid-photo .media-img,
.figure-row.guide-strip .media-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-row figcaption {
  margin: 0;
  padding: 0.8rem 1.05rem 0.95rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Full-bleed / taller city banners + chip ---- */
.page-banner,
.page-banner.city-banner {
  position: relative;
  margin: 0 0 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  max-height: none;
  min-height: 220px;
  background: #0a322c;
}

.page-banner-media {
  display: block;
  width: 100%;
}

.page-banner-img {
  width: 100%;
  height: 260px;
  max-height: none;
  object-fit: cover;
  object-position: center 40%;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(7, 40, 34, 0.55) 0%, rgba(7, 40, 34, 0.15) 45%, rgba(7, 40, 34, 0.35) 100%),
    linear-gradient(180deg, transparent 35%, rgba(7, 40, 34, 0.55) 100%);
}

.page-banner-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.9rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(4, 22, 18, 0.28);
  backdrop-filter: blur(8px);
}

.chip-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.chip-city {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--header);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

body.city-houston .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(120, 50, 20, 0.45) 0%, rgba(7, 40, 34, 0.2) 50%, rgba(7, 40, 34, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.55) 100%);
}
body.city-dallas .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(20, 45, 100, 0.5) 0%, rgba(7, 40, 34, 0.15) 50%, rgba(7, 40, 34, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.55) 100%);
}
body.city-austin .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(70, 35, 110, 0.45) 0%, rgba(7, 40, 34, 0.15) 50%, rgba(7, 40, 34, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.55) 100%);
}
body.city-miami .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(0, 100, 120, 0.45) 0%, rgba(7, 40, 34, 0.12) 50%, rgba(7, 40, 34, 0.4) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.5) 100%);
}
body.city-orlando .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(160, 90, 20, 0.4) 0%, rgba(7, 40, 34, 0.15) 50%, rgba(7, 40, 34, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.55) 100%);
}
body.city-tampa .page-banner-overlay {
  background:
    linear-gradient(120deg, rgba(15, 90, 130, 0.45) 0%, rgba(7, 40, 34, 0.15) 50%, rgba(7, 40, 34, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 40, 34, 0.55) 100%);
}

/* ---- Lead form (more inviting) ---- */
.lead-form {
  margin: 2rem 0 1.65rem;
  padding: 1.65rem 1.45rem 1.7rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(14, 106, 91, 0.12), transparent 55%),
    radial-gradient(500px 200px at 100% 100%, rgba(196, 92, 38, 0.08), transparent 50%),
    linear-gradient(165deg, #fff 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.lead-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--copper));
}

.lead-form h2,
.lead-form #lead-form-heading {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--header);
  letter-spacing: -0.01em;
}

.lead-form-intro {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.lead-form-intro strong {
  color: var(--ink);
}

.lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}

.lead-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.05rem;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.lead-field-full {
  width: 100%;
}

.lead-field span abbr {
  text-decoration: none;
  color: var(--copper);
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.88rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.lead-field textarea {
  resize: vertical;
  min-height: 6.25rem;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 106, 91, 0.18);
}

.lead-form-note {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.lead-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 0.25rem;
  padding: 0.85rem 1.45rem;
}

.lead-submit:hover {
  transform: translateY(-1px);
}

.thank-you-card h1 {
  margin-top: 0;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .site-header {
    padding: 0.85rem 0 0.8rem;
  }

  .content.content-card,
  .content-card {
    padding: 1.35rem 1.05rem 1.9rem;
    margin: 1rem auto 1.75rem;
    border-radius: var(--radius);
  }

  .is-home .hero-title {
    margin: 0 0 1.1rem;
    padding: 1.05rem 1rem;
  }

  .content h1 {
    font-size: 1.52rem;
  }

  .site-nav .nav-primary {
    gap: 0.3rem;
  }

  .site-nav .nav-primary a {
    padding: 0.32rem 0.58rem;
    font-size: 0.84rem;
  }

  .nav-cities {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-photo {
    margin: 0 0 1.1rem;
  }

  .hero-caption {
    font-size: 0.88rem;
    padding: 0.85rem 0.9rem 0.8rem;
  }

  .split-media {
    grid-template-columns: 1fr;
    padding: 0.7rem;
  }

  .page-banner,
  .page-banner.city-banner {
    min-height: 180px;
  }

  .page-banner-img {
    height: 180px;
  }

  .page-banner-chip {
    left: 0.7rem;
    bottom: 0.7rem;
    padding: 0.45rem 0.75rem 0.5rem;
  }

  .chip-city {
    font-size: 0.95rem;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 1.25rem 1rem 1.35rem;
  }
}

@media (min-width: 900px) {
  .page-banner-img {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-cta,
  .city-pill,
  .site-nav .nav-primary a {
    transition: none;
  }

  .btn-cta:hover,
  .city-pill:hover {
    transform: none;
  }
}
