/* ============================================================
   Kansas Restoration Pros — "Prairie Ledger" UI (2026)
   Palette: ink navy #10202F / teal #0E5F5C / copper #C05621
   Editorial serif headings, warm bone surfaces, photographic
   service and blog cards. Mobile-first. System fonts only.
   ============================================================ */

:root {
  --ink: #10202F;
  --ink-soft: #1C3143;
  --ink-mute: #415465;
  --teal: #0E5F5C;
  --teal-deep: #0A4745;
  --teal-wash: #E6F0EC;
  --copper: #B24E1C;
  --copper-deep: #8F3D12;
  --copper-wash: #FBEDE3;
  --amber: #F2B24A;
  --bone: #FBF8F2;
  --bone-deep: #F2ECE0;
  --white: #FFFFFF;
  --muted: #5C6B78;
  --line: #E2DACB;
  --line-dark: #22384C;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16, 32, 47, 0.06), 0 6px 18px rgba(16, 32, 47, 0.06);
  --shadow-md: 0 18px 45px rgba(16, 32, 47, 0.12);
  --shadow-lg: 0 30px 70px rgba(16, 32, 47, 0.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-7: 3.25rem;
  --space-8: 4.75rem;
  --space-9: 6.5rem;

  --container: 76rem;
  --header-h: 4.5rem;
  --callbar-h: 4.25rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  overflow-wrap: break-word;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.005em; }
h4 { font-size: 1.08rem; letter-spacing: 0; }

p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.3rem; }
li { margin-bottom: var(--space-2); }

strong { color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  z-index: 300;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: var(--space-8); }
.section--alt { background: var(--bone); }
.section--bone { background: var(--bone); }
.section--tight { padding-block: var(--space-7); }
.section--navy { background: var(--ink); color: #D7E1E8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 44rem; margin-bottom: var(--space-6); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head--split {
  max-width: none;
  display: grid;
  gap: var(--space-4);
  align-items: end;
}
.section-head--split > p { max-width: 30rem; }

@media (min-width: 56em) {
  .section-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .section-head--split > p { justify-self: end; text-align: right; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--cta {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(192, 86, 33, 0.28);
}
.btn--cta:hover { background: var(--copper-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(192, 86, 33, 0.34); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: #BFB5A4;
}
.btn--outline:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }

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

.btn--lg { font-size: 1.08rem; padding: 1.1rem 1.9rem; }

.text-link {
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.text-link:hover { color: var(--copper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 248, 242, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.utility-bar {
  background: var(--ink);
  color: #C4D2DC;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 2.1rem;
}
.utility-inner p { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; }
.utility-inner .utility-meta { color: #8DA2B3; }
.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
  flex: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 2rem; height: 2rem; flex: none; color: var(--teal); }
.brand span { max-width: none; line-height: 1.05; white-space: nowrap; }

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}
.site-nav a:hover { color: var(--copper); background: rgba(192, 86, 33, 0.07); }
.site-nav a[aria-current="page"] { color: var(--copper); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--copper);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--copper);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.62rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(192, 86, 33, 0.22);
  flex: none;
}
.header-call:hover { background: var(--copper-deep); color: var(--white); }
.header-call svg { width: 1rem; height: 1rem; }
.header-call span { display: flex; flex-direction: column; line-height: 1.1; }
.header-call small { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #FFFFFF; }
.header-call strong { font-size: 0.95rem; color: var(--white); }

.nav-toggle { display: block; margin-left: 0; }
.nav-toggle > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.8rem;
  background: var(--white);
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -5px; }
.nav-toggle-icon::after { top: 5px; }

.nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) clamp(1rem, 4vw, 2rem) var(--space-5);
}
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.nav-drawer a::after { content: "→"; color: var(--copper); }
.nav-drawer .nav-drawer-call {
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
  background: var(--copper);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-weight: 800;
  text-decoration: none;
}
.nav-drawer .nav-drawer-call::after { content: none; }
.nav-drawer .nav-drawer-call:hover { color: var(--white); background: var(--copper-deep); }

@media (min-width: 62em) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 92% 4%, #E4F0EA 0%, rgba(228, 240, 234, 0) 62%),
    radial-gradient(700px 420px at 0% 100%, #F7E8D8 0%, rgba(247, 232, 216, 0) 60%),
    var(--bone);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(16, 32, 47, 0.09) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.55), transparent 62%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.55), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 58em) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
}

.hero .eyebrow { color: var(--copper); }
.hero h1 { color: var(--ink); max-width: 15ch; margin-bottom: var(--space-4); }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink-mute);
  max-width: 52ch;
  margin-bottom: var(--space-5);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-5); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--teal); }

.hero-media { position: relative; margin: 0; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1rem -1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--copper);
  opacity: 0.16;
}
.hero-media picture { position: relative; display: block; }
.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-md);
  max-width: 17rem;
}
.hero-badge svg { width: 1.6rem; height: 1.6rem; color: var(--teal); flex: none; }
.hero-badge strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.hero-badge span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-6);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.hero-stats div { background: rgba(255, 255, 255, 0.62); padding: 0.85rem 1rem; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.hero-stats span { display: block; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.03em; }

@media (max-width: 40em) {
  .hero-badge { position: relative; z-index: 2; margin-top: 1rem; max-width: none; }
  .hero-media::before { display: none; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  padding-block: var(--space-5);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-3);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.trust-item svg { width: 1.4rem; height: 1.4rem; color: var(--amber); flex: none; margin-top: 0.15rem; }
.trust-item strong { display: block; color: var(--white); font-size: 0.95rem; line-height: 1.3; }
.trust-item span { color: #A9BAC8; font-size: 0.84rem; line-height: 1.45; }

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-5);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #CDBFAA; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }
.card .text-link { margin-top: auto; align-self: flex-start; }

.card--icon .card-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 10px;
  background: var(--teal-wash);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.card--icon .card-icon svg { width: 1.55rem; height: 1.55rem; }

/* ---------- Service tiles ---------- */
.service-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 44em) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.service-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9BBA6; color: var(--ink); }
.service-tile-media { position: relative; overflow: hidden; }
.service-tile-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 500ms ease; }
.service-tile:hover .service-tile-media img { transform: scale(1.035); }
.service-tile-num {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(16, 32, 47, 0.86);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.service-tile-body { padding: var(--space-5); display: flex; flex-direction: column; flex-grow: 1; }
.service-tile-body h3 { margin-bottom: var(--space-2); }
.service-tile-body p { color: var(--muted); font-size: 0.96rem; margin-bottom: var(--space-4); }
.service-tile-link { margin-top: auto; font-weight: 800; color: var(--copper); font-size: 0.94rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.service-tile:hover .service-tile-link { color: var(--copper-deep); }

.service-index {
  margin-top: var(--space-6);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.service-index h3 { margin: 0 0 var(--space-4); font-size: 1.1rem; }
.service-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem 1.5rem;
}
@media (min-width: 40em) { .service-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-index li { margin: 0; }
.service-index a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.94rem;
}
.service-index a::after { content: "→"; color: var(--copper); }
.service-index a:hover { color: var(--copper); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 12px;
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.steps h3 { margin-top: 0; font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Split feature ---------- */
.split-feature {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 54em) { .split-feature { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.split-feature--reverse .split-media { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split-media figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.split-copy h2 { margin-top: 0; }
.split-copy p { color: var(--ink-mute); }
.split-copy .benefits-list { margin-top: var(--space-5); }

.benefits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.benefits-list li { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; }
.benefits-list svg { width: 1.3rem; height: 1.3rem; color: var(--teal); flex: none; margin-top: 0.2rem; }
.benefits-list strong { color: var(--ink); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.stat-row strong { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--teal); }
.stat-row span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

/* ---------- City panel ---------- */
.city-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.city-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 2rem;
}
@media (min-width: 38em) { .city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city-links li { margin: 0; }
.city-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.96rem;
}
.city-links a::after { content: "→"; color: var(--copper); flex: none; }
.city-links a span { color: var(--muted); font-weight: 400; font-size: 0.82rem; margin-left: auto; margin-right: 0.75rem; }
.city-links a:hover { color: var(--copper); }
.city-panel-foot { margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.city-panel-foot p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* City index page */
.city-groups { display: grid; gap: var(--space-6); }
.city-group h2 { margin-bottom: var(--space-3); font-size: 1.35rem; display: flex; align-items: baseline; gap: var(--space-3); }
.city-group h2 .count { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: var(--space-2);
}
.city-list a {
  display: block;
  padding: 0.6rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.city-list a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-wash); }

.nearby-list { list-style: none; padding: 0; margin: var(--space-3) 0 var(--space-4); display: grid; gap: 0.55rem; }
.nearby-list li { margin: 0; }
.nearby-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
}
.nearby-list a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 88% 12%, rgba(192, 86, 33, 0.35), transparent 65%),
    linear-gradient(135deg, var(--ink) 0%, var(--teal-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: #CFE0DB; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: var(--space-2); }

.cta-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.cta-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 25, 38, 0.9) 0%, rgba(10, 71, 69, 0.82) 100%);
  z-index: -1;
}
.cta-hero h2 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 22ch; margin-inline: auto; }
.cta-hero p { color: #D5E3DE; max-width: 56ch; margin-inline: auto; font-size: 1.05rem; }
.cta-hero .hero-ctas { justify-content: center; margin-top: var(--space-5); margin-bottom: 0; }
.cta-hero .cta-note { font-size: 0.85rem; color: #A9C0B9; margin-top: var(--space-4); margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 56em) { .faq-layout { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); } }

.faq { display: grid; gap: var(--space-2); }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--copper);
  flex: none;
  transition: transform 160ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: #CBBBA3; box-shadow: var(--shadow-sm); }
.faq .faq-a { padding: 0 var(--space-5) var(--space-4); color: var(--muted); }
.faq .faq-a p { margin: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: var(--space-4); }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: #93A5B4; }
.breadcrumbs a { color: #C4D2DC; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 400px at 88% -20%, rgba(20, 120, 114, 0.5), transparent 62%),
    linear-gradient(150deg, #0B1926 0%, #10202F 58%, #123B3A 100%);
  padding-block: var(--space-4) var(--space-7);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 24ch; margin-bottom: var(--space-3); }
.page-hero p.lead { color: #C9D7E2; max-width: 62ch; margin: 0 0 var(--space-4); font-size: 1.08rem; }
.page-hero .breadcrumbs { padding-top: 0; }
.page-hero .hero-ctas { margin-bottom: var(--space-4); }
.page-hero .hero-meta { color: #A9BAC8; }
.page-hero .hero-meta svg { color: var(--amber); }
.page-hero .eyebrow { color: var(--amber); }

.page-hero-grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 56em) { .page-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
.page-hero-media { margin: 0; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Article / prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose ul li, .prose ol li { color: var(--ink-soft); }
.prose a { font-weight: 600; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink-soft); }

.takeaways {
  background: var(--teal-wash);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
}
.takeaways h2 { margin-top: 0; font-size: 1.15rem; }
.takeaways ul { margin-bottom: 0; }
.takeaways li { color: var(--ink); }

.callout-box {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
}
.callout-box--alert {
  background: var(--copper-wash);
  border-color: #EFD2BA;
  border-left: 4px solid var(--copper);
}
.callout-box h3 { margin-top: 0; }
.callout-box p:last-child, .takeaways p:last-child { margin-bottom: 0; }

.article-figure { margin: 0 0 var(--space-6); }
.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.article-figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.55rem; }

/* ---------- Two-col layout (sidebar CTA on desktop) ---------- */
.with-aside { display: grid; gap: var(--space-6); align-items: start; }
.aside-cta {
  background: var(--bone);
  border: 1px solid var(--line);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.aside-cta h2 { margin-top: 0; font-size: 1.2rem; }
.aside-cta .phone-big { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--copper); text-decoration: none; margin-bottom: var(--space-2); line-height: 1.2; }
.aside-cta .phone-big:hover { color: var(--teal); }
.aside-cta p { font-size: 0.94rem; color: var(--muted); }
.aside-cta .btn { width: 100%; margin-top: var(--space-2); }
.aside-cta .post-note { font-size: 0.78rem; color: var(--muted); margin: var(--space-3) 0 0; }

/* ---------- Data table (ZIPs / facts) ---------- */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fact-table th, .fact-table td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table tr:last-child td { border-bottom: 0; }
.fact-table th { background: var(--bone); color: var(--ink); width: 42%; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.02em; }
.fact-table td { color: var(--ink-mute); }

.zip-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.zip-chip {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.84rem;
  color: var(--ink-mute);
}

/* ---------- Blog ---------- */
.post-list { display: grid; gap: var(--space-4); }
.post-card { display: flex; flex-direction: column; gap: var(--space-2); }
.post-meta { font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); letter-spacing: 0.02em; }
.post-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

.blog-grid { display: grid; gap: var(--space-5); }
@media (min-width: 44em) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 58em) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.blog-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-card-body { padding: var(--space-5); display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.blog-card-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: var(--space-3); }
.blog-card-body .text-link { margin-top: auto; font-size: 0.9rem; }

.featured-post {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-post img { width: 100%; height: 100%; min-height: 16rem; object-fit: cover; }
.featured-post-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.featured-post-body h2 { margin-bottom: var(--space-3); }
.featured-post-body h2 a { color: var(--ink); text-decoration: none; }
.featured-post-body h2 a:hover { color: var(--copper); }
.featured-post-body p { color: var(--muted); }
@media (min-width: 52em) { .featured-post { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.post-row {
  display: grid;
  gap: 0.4rem 1.5rem;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 48em) {
  .post-row { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .post-row .post-meta { grid-row: 1 / span 2; flex-direction: column; gap: 0.25rem; }
  .post-row h2, .post-row p { grid-column: 2; }
}
.post-row:first-child { border-top: 1px solid var(--line); }
.post-row h2 { font-size: 1.12rem; margin: 0; }
.post-row h2 a { text-decoration: none; color: var(--ink); }
.post-row h2 a:hover { color: var(--copper); }
.post-row .post-meta { font-size: 0.78rem; }
.post-row p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1926;
  color: #9AAEBE;
  padding-block: var(--space-7) calc(var(--space-6) + var(--callbar-h));
  font-size: 0.93rem;
  margin-top: var(--space-8);
  border-top: 4px solid var(--copper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid #1D3448;
}
.footer-brand { display: flex; align-items: center; gap: 0.65rem; color: var(--white); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-3); }
.footer-brand svg { width: 1.9rem; height: 1.9rem; color: var(--amber); }
.site-footer h2 { color: var(--white); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: var(--space-5); }
.footer-nav li { margin-bottom: 0.55rem; break-inside: avoid; }
.footer-nav a { color: #B7C7D4; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--amber); text-decoration: underline; }
.footer-phone { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--white); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; text-decoration: none; margin-bottom: var(--space-2); }
.footer-phone svg { width: 1.2rem; height: 1.2rem; flex: none; }
.footer-phone:hover { color: var(--amber); }
.footer-contact p { font-size: 0.88rem; color: #8FA4B5; }
.footer-hours { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: #8FA4B5; }
.footer-hours .live-dot { background: #4ADE80; }
.footer-disclaimers { padding-top: var(--space-5); display: grid; gap: var(--space-3); }
.footer-disclaimers p { margin: 0; font-size: 0.78rem; line-height: 1.6; color: #93A8B9; }
.footer-disclaimers a { color: #B7D3CE; }
.footer-bottom { padding-top: var(--space-4); font-size: 0.78rem; color: #93A8B9; }
.footer-bottom a { color: #9AAEBE; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  display: none;
  background: #0B1926;
  border-top: 1px solid #22384C;
  padding: 0.55rem var(--space-4);
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
}
.mobile-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  background: var(--copper);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  box-shadow: 0 6px 18px rgba(192, 86, 33, 0.4);
}
.mobile-callbar a:hover { color: var(--white); background: var(--copper-deep); }
.mobile-callbar svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Misc ---------- */
.lede-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--copper);
  padding-left: var(--space-4);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legacy inline-style rescue on older pages */
div[style*="max-width:1100px"] { max-width: var(--container) !important; margin-inline: auto !important; }
.w3 { max-width: 46rem; margin-inline: auto; }

[id] { scroll-margin-top: 7.5rem; }

/* ---------- Responsive ---------- */
@media (min-width: 48em) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 19rem; }
  .aside-cta { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-nav ul { columns: 1; }
}

@media (max-width: 61.99em) {
  .header-inner { gap: 0.6rem; }
  .header-call small { display: none; }
  .header-call strong { font-size: 0.9rem; }
}

@media (max-width: 47.99em) {
  .mobile-callbar { display: block; }
  body { padding-bottom: var(--callbar-h); }
  .site-footer { padding-bottom: calc(var(--space-6) + var(--callbar-h) + 1rem); }
  .hero { padding-block: var(--space-6) var(--space-7); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .section { padding-block: var(--space-7); }
  .utility-inner .utility-meta { display: none; }
  .brand span { font-size: 0.98rem; max-width: 8.5ch; white-space: normal; }
  .header-call span { flex-direction: row; }
  .header-call strong { font-size: 0.82rem; }
  .header-call { padding: 0.55rem 0.7rem; }
  .nav-toggle > summary { padding: 0.55rem 0.65rem; font-size: 0; gap: 0; }
  .nav-toggle > summary .nav-toggle-icon { margin: 0; }
  .hero-stats strong { font-size: 1.15rem; }
  .stat-row strong { font-size: 1.3rem; }
}

@media (max-width: 24em) {
  .header-call strong { font-size: 0.76rem; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
