@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,700&family=Public+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f6f1e6;
  --bg-deep: #e6dcc8;
  --surface: rgba(255, 252, 246, 0.86);
  --text: #173126;
  --muted: #53685d;
  --line: rgba(23, 49, 38, 0.14);
  --brand: #1f5b46;
  --brand-strong: #134333;
  --accent: #c8792f;
  --shadow: 0 20px 50px rgba(28, 50, 40, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 121, 47, 0.18), transparent 34%),
    radial-gradient(circle at right 10% top 15%, rgba(31, 91, 70, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f2ebdc 38%, #f6f1e6 100%);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 67, 51, 0.04) 0, rgba(19, 67, 51, 0.04) 1px, transparent 1px, transparent 96px),
    linear-gradient(rgba(19, 67, 51, 0.035) 0, rgba(19, 67, 51, 0.035) 1px, transparent 1px, transparent 96px);
  opacity: 0.18;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
}

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

.shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 230, 0.76);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.main-inner,
.footer-inner,
.hero-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(31, 91, 70, 0.96), rgba(200, 121, 47, 0.92));
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}

.brand-copy strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(23, 49, 38, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  background: rgba(31, 91, 70, 0.1);
  color: var(--brand-strong);
  transform: translateY(-1px);
}

.hero {
  padding: 4.5rem 0 2.2rem;
}

.hero-panel,
.page-panel,
.card,
.cta-band,
.support-block {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -8% 0 auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200, 121, 47, 0.14) 0%, transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 2rem;
  padding: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 1.08;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 2.6rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
}

.hero-copy p,
.page-body p,
.support-block p,
.card p {
  color: var(--muted);
}

.hero-copy p {
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.phone-note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  max-width: 58ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(31, 91, 70, 0.35);
  background: rgba(31, 91, 70, 0.08);
  transform: translateY(-1px);
}

.button-phone {
  white-space: nowrap;
}

.hero-facts {
  display: grid;
  gap: 0.9rem;
}

.fact {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 49, 38, 0.08);
}

.fact strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.main-inner {
  padding: 1rem 0 4rem;
}

.section-stack {
  display: grid;
  gap: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(20, 45, 35, 0.15);
}

.card h3,
.card h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Newsreader", Georgia, serif;
}

.card h4 {
  font-size: 1.2rem;
}

.card-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 1.6rem;
  align-items: start;
}

.page-panel {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.page-top {
  margin-bottom: 1.4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.breadcrumbs span {
  color: rgba(83, 104, 93, 0.66);
}

.page-body h1 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  max-width: 16ch;
}

.contact-callout {
  margin-bottom: 1.8rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(31, 91, 70, 0.07);
  border: 1px solid rgba(31, 91, 70, 0.12);
}

.contact-callout h2 {
  margin-top: 0.55rem;
}

.page-body p:first-of-type {
  font-size: 1.08rem;
}

.page-body ul,
.page-body ol {
  padding-left: 1.25rem;
  color: var(--muted);
}

.page-body li + li {
  margin-top: 0.4rem;
}

.page-body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(31, 91, 70, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

.page-rail {
  display: grid;
  gap: 1rem;
}

.support-block {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.support-callout {
  background: linear-gradient(180deg, rgba(31, 91, 70, 0.09), rgba(255, 255, 255, 0.72));
}

.support-block h2,
.support-block h3 {
  margin-top: 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.link-list a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(23, 49, 38, 0.08);
}

.link-list a small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.alpha-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.alpha-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 49, 38, 0.1);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  font-size: 0.9rem;
}

.county-groups {
  display: grid;
  gap: 0;
  margin-top: 0.55rem;
}

.county-group {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(23, 49, 38, 0.08);
}

.county-group:first-child {
  border-top: 0;
}

.county-group-mark {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  padding-top: 0.18rem;
}

.county-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.county-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 49, 38, 0.1);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.county-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 91, 70, 0.25);
  background: rgba(31, 91, 70, 0.08);
  box-shadow: 0 12px 24px rgba(20, 45, 35, 0.08);
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer {
  padding: 2.2rem 0 3rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-phone {
  margin-top: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-layout,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .county-group {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .county-group-mark {
    font-size: 1.35rem;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.55rem);
    display: none;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-radius: var(--radius-sm);
  }

  .hero-grid,
  .page-panel {
    padding: 1.35rem;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
