:root {
  --bg: #efe6d7;
  --surface: rgba(255, 248, 240, 0.84);
  --text: #1f1b18;
  --muted: #5b544e;
  --line: rgba(71, 52, 36, 0.12);
  --accent: #b4552d;
  --accent-dark: #7a3517;
  --forest: #2d5043;
  --river: #3b6470;
  --shadow: 0 20px 50px rgba(53, 36, 20, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 85, 45, 0.22), transparent 30%),
    radial-gradient(circle at right 20%, rgba(59, 100, 112, 0.2), transparent 28%),
    linear-gradient(180deg, #f4ebdf 0%, #efe5d6 48%, #ece4d8 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p,
li,
dd {
  color: var(--muted);
  margin: 0 0 1rem;
}

.shell {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(239, 230, 215, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand:hover {
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--text);
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #d18a52 50%, var(--forest) 100%);
  color: white;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.nav-link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
}

.nav-link.is-active,
.nav-link:hover {
  text-decoration: none;
  background: rgba(180, 85, 45, 0.09);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: white;
  font: inherit;
  font-weight: 700;
}

.hero {
  padding: 5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
}

.hero-copy,
.section-copy {
  font-size: 1.1rem;
  max-width: 65ch;
}

.hero-panel,
.card,
.region-panel,
.quick-facts > div,
.faq-item,
.county-letter-group,
.accent-section .two-column,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.card,
.region-panel,
.quick-facts > div,
.faq-item,
.county-letter-group {
  background: var(--surface);
  border-radius: var(--radius);
}

.hero-panel,
.card,
.region-panel,
.faq-item {
  padding: 1.35rem;
}

.hero-actions,
.county-pills,
.letter-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.button:hover {
  text-decoration: none;
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(45, 80, 67, 0.11);
  color: var(--forest);
}

.button-secondary:hover {
  background: rgba(45, 80, 67, 0.18);
}

.eyebrow {
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--river);
}

.content-section {
  padding: 1.5rem 0 2rem;
}

.accent-section .two-column {
  background: linear-gradient(135deg, rgba(255, 249, 241, 0.92), rgba(244, 233, 219, 0.88));
  border-radius: var(--radius);
  padding: 1.75rem;
}

.two-column,
.card-grid,
.region-panel-grid,
.faq-list,
.footer-grid,
.quick-facts {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.bullet-list {
  padding-left: 1.1rem;
  margin: 0;
}

.quick-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.quick-facts > div {
  padding: 1rem 1.15rem;
}

.quick-facts dt {
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--river);
  font-weight: 800;
}

.quick-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.county-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-weight: 700;
}

.county-pill span {
  color: var(--muted);
  font-size: 0.85rem;
}

.county-pill-live {
  background: rgba(180, 85, 45, 0.11);
}

.county-pill-region {
  background: rgba(59, 100, 112, 0.08);
}

.county-pill-muted {
  background: rgba(31, 27, 24, 0.05);
}

.letter-jump {
  margin-bottom: 1rem;
}

.letter-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(45, 80, 67, 0.09);
  font-weight: 800;
}

.county-letter-group {
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.site-footer {
  margin-top: 2rem;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, rgba(35, 31, 28, 0.96), rgba(24, 22, 20, 1));
  color: rgba(255, 247, 236, 0.92);
  padding: 2rem 0 1.5rem;
}

.site-footer h2,
.site-footer p,
.site-footer a {
  color: rgba(255, 247, 236, 0.92);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 1fr;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.65rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 247, 236, 0.15);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .region-panel-grid,
  .faq-list,
  .footer-grid,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    padding: 0.75rem;
    background: rgba(255, 249, 241, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

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

  .footer-meta {
    flex-direction: column;
  }
}
