/* ═══════════════════════════════════════════════════════════════
   landman.directory — Redwood / Strata Design System
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Brand palette */
  --navy: #2D2D28;
  --navy-light: #3D3D35;
  --copper: #B85C3C;
  --copper-light: #CD8B6C;
  --copper-glow: rgba(184, 92, 60, 0.15);
  --cream: #FAF5EF;
  --sand: #EDE4D8;
  --sand-dark: #D4C8B8;

  /* Neutrals */
  --text: #1E293B;
  --text-light: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --white: #FFFFFF;

  /* Accents */
  --green: #059669;
  --green-bg: #ECFDF5;
  --blue: #2563EB;
  --blue-bg: #EFF6FF;
  --amber: #D97706;
  --amber-bg: #FFFBEB;
  --red: #DC2626;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  /* Radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  position: relative;
}
/* ─── Body Background Texture ───
   Swap the url() below between these monocolor options:
     1. texture_redwood.png  — warm wood grain, paper-like
     2. texture_topo.png     — faint dashed topographic contour lines
     3. texture_strata.png   — faint dashed horizontal strata/sediment lines
*/
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/texture_redwood.png') repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--copper); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; letter-spacing: -0.75px; }
h2 { font-size: 1.75rem; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.text-copper { color: var(--copper); }
.text-muted { color: var(--text-light); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(45, 45, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--copper-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper-light);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--cream);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--copper);
}

/* .nav-cta removed — Claim Profile is now a regular nav link */

/* ─── Lucide Icon Sizing & Monotone Tint ─── */
.lucide { width: 16px; height: 16px; stroke-width: 2; vertical-align: -2px; color: var(--copper); }
.lucide-sm { width: 14px; height: 14px; }
.lucide-lg { width: 20px; height: 20px; }
.stat-icon .lucide { width: 24px; height: 24px; }
.nav-icon .lucide { width: 18px; height: 18px; }
/* Inside hero/nav, icons inherit parent text color */
.hero .lucide, .state-hero .lucide, .county-hero-banner .lucide,
.profile-hero .lucide, .nav .lucide, .mobile-nav .lucide,
.btn .lucide { color: inherit; }
.activity-badge .lucide { color: inherit; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  background: var(--navy);
  padding: 80px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg, url('/images/courthouse_dusk.webp')) center/cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,45,40,0.82) 0%, rgba(45,45,40,0.65) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--cream);
  font-size: 3rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--copper-light);
}

.hero-subtitle {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ─── Search Bar ─── */
.search-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.search-bar:focus-within {
  border-color: var(--copper-light);
}

.search-bar input {
  flex: 1;
  padding: 18px 24px;
  font-size: 1.05rem;
  border: none;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar button {
  background: var(--copper);
  color: var(--cream);
  border: none;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-bar button:hover {
  background: var(--copper-light);
}

.search-hints {
  margin-top: 16px;
  color: var(--sand-dark);
  font-size: 0.85rem;
}

.search-hints a {
  color: var(--copper-light);
  font-weight: 500;
}

.search-hints a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* ─── Stats Strip ─── */
.stats-strip {
  display: none !important; /* Toggle: remove this line to show the stats/metrics bar */
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 20px 24px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--copper-light);
  letter-spacing: -0.5px;
}

.stat-item .stat-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sand-dark);
  margin-top: 2px;
}

/* ─── Section ─── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ─── Pills / Tags ─── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform var(--transition);
}

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

.pill-geo { background: var(--navy); color: var(--cream); }
.pill-svc { background: var(--copper); color: var(--cream); }
.pill-cert { background: var(--green); color: var(--white); }
.pill-energy { background: #7C3AED; color: var(--white); }
.pill-specialty { background: var(--copper); color: var(--cream); font-weight: 700; }
.pill-type { background: var(--sand); color: var(--navy); }

.pill-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-light);
}

/* ─── Cards ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
}

a.card-link .card:hover,
.card:hover {
  border-color: var(--sand-dark);
}

a.card-link .card {
  transition: border-color var(--transition);
}

.card-featured {
  border-color: var(--copper-light);
  box-shadow: 0 0 0 1px var(--copper-light), var(--shadow);
}

.card-featured::before {
  content: '⭐ FEATURED';
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--cream);
  padding: 4px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ─── Card Art (painterly artwork) ─── */
.card-art {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.card-art-sm {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ─── Full-bleed Art Cards ─── */
.art-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.art-card:hover {
  transform: scale(1.02);
}

.art-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(15,20,30,0.92) 0%,
    rgba(15,20,30,0.75) 50%,
    rgba(15,20,30,0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 60%;
}

.art-card-overlay h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.art-card-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.art-card-btn {
  color: var(--cream) !important;
  border-color: rgba(255,255,255,0.35) !important;
  backdrop-filter: blur(4px);
  width: fit-content;
  font-size: 0.78rem !important;
}

.art-card-btn:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: var(--copper) !important;
  color: var(--copper) !important;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .art-card { min-height: 220px; }
  .art-card-compact { min-height: 180px; }
}

/* Compact art cards (for "Are You a Landman?" 4-col) */
.art-card-compact {
  min-height: 220px;
}

.art-card-compact .art-card-overlay h3 {
  font-size: 0.95rem;
}

.art-card-compact .art-card-overlay p {
  font-size: 0.78rem;
}

/* ─── Mega Footer ─── */
.mega-footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-heading {
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream);
}

@media (max-width: 768px) {
  .mega-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ─── Profile Card ─── */
.profile-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

/* ─── Clickable Card Link ─── */
a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

a.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

a.card-link:active {
  transform: translateY(0);
}

a.card-link h3,
a.card-link .profile-meta,
a.card-link .card-summary {
  color: inherit;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--sand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.profile-info h3 .cert-badge {
  color: var(--green);
  font-size: 0.9rem;
}

.profile-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* ─── Card Summary ─── */
.card-summary {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 4px 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Favorite / Star Button ─── */
.card-fav-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
}

.card-fav-btn:hover {
  color: #d4a017;
  background: rgba(212, 160, 23, 0.1);
  transform: scale(1.15);
}

.card-fav-btn.favorited {
  color: #d4a017;
}

.card-fav-btn.favorited .lucide {
  fill: #d4a017;
  color: #d4a017;
}

@keyframes star-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.card-fav-btn.favorited {
  animation: star-pop 0.3s ease;
}

/* ─── Sidebar Contact Preview ─── */
.sidebar-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-contact-row:last-child {
  border-bottom: none;
}

.sidebar-contact-icon {
  font-size: 1rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-contact-masked {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ─── State Card ─── */
.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition);
}

.state-card:hover {
  border-color: var(--copper-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.state-card .state-name {
  font-weight: 600;
  color: var(--navy);
}

.state-card .state-count {
  background: var(--sand);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--copper);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--copper-light);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--navy);
  color: var(--cream);
}

.btn-secondary:hover {
  background: var(--navy-light);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* Outline buttons inside the dark navbar need light text */
.nav .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--cream);
}

.nav .btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.8rem;
}

.btn-icon {
  padding: 8px;
  border-radius: var(--radius);
}

/* ─── Sidebar Filters ─── */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--transition);
}

.filter-option:hover { color: var(--copper); }

.filter-option input[type="checkbox"] {
  accent-color: var(--copper);
  width: 16px;
  height: 16px;
}

.filter-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ─── Profile Detail Page ─── */
.profile-hero {
  background: var(--navy);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/strata_hero_background.webp') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.profile-header {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  align-items: center;
}

.profile-header-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--copper-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--navy);
  font-weight: 700;
  border: 3px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Photo avatar — clean circle like Avvo/Martindale */
.profile-header-photo {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.25);
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.profile-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Redwood impressionistic treatment: warm, slightly muted, painterly */
  filter: sepia(12%) saturate(0.88) contrast(1.06) brightness(1.02);
}

/* Copper-tinted overlay for brand cohesion */
.profile-header-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,115,51,0.08), rgba(184,115,51,0.15));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Bio paragraph in profile header */
.profile-header-bio {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 6px 0 10px;
  max-width: 480px;
}

/* Photo avatar in search result cards */
.profile-card .profile-avatar-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sand);
  position: relative;
}

.profile-card .profile-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(12%) saturate(0.88) contrast(1.06) brightness(1.02);
}

.profile-card .profile-avatar-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,115,51,0.08), rgba(184,115,51,0.15));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.profile-header-info h1 {
  color: var(--cream);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.profile-header-info .cert-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 150, 105, 0.2);
  color: #6EE7B7;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
}

.profile-header-sub {
  color: var(--sand-dark);
  font-size: 1rem;
  margin-bottom: 16px;
}

.profile-header-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

/* ─── Claim Banner ─── */
.claim-banner {
  background: linear-gradient(135deg, var(--amber-bg), #FEF3C7);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}

.claim-banner-text {
  font-size: 0.95rem;
  color: var(--text);
}

.claim-banner-text strong {
  color: var(--amber);
}

/* ─── Info Sections ─── */
.info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.info-section {
  margin-bottom: 28px;
}

.info-section h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Review Stars ─── */
.stars { color: #FBBF24; letter-spacing: 2px; }
.stars-muted { color: var(--border); letter-spacing: 2px; }

/* ─── Contact Form Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal h2 { font-size: 1.3rem; margin-bottom: 4px; }
.modal-sub { color: var(--text-light); margin-bottom: 24px; font-size: 0.9rem; }

/* Large edit profile modal */
.modal.modal-lg {
  max-width: 640px;
  padding: 0;
  max-height: 85vh;
}

.modal-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header-bar h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.modal-close-btn:hover { background: var(--bg); color: var(--text); }

.edit-section {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}
.edit-section:last-of-type { border-bottom: none; }

.edit-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  gap: 16px;
}
.form-row .form-group { flex: 1; }

/* Photo upload in edit modal */
.edit-photo-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.edit-photo-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 0.75rem;
}

.edit-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toggleable tag grid for services/certs */
.edit-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edit-tag-grid label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.edit-tag-grid label:has(input:checked) {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.edit-tag-grid input[type="checkbox"] {
  display: none;
}

/* County tag list (removable chips) */
.edit-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edit-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
}

.edit-tag-chip .remove-tag {
  cursor: pointer;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1;
  margin-left: 2px;
  transition: color var(--transition);
}
.edit-tag-chip .remove-tag:hover { color: var(--burgundy); }

/* Sticky save/cancel bar */
.edit-actions {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ─── Honor Wall / Memorial Cards ─── */
.honor-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d1810 100%);
}

.memorial-card {
  border-left: 4px solid var(--copper);
  padding: 28px !important;
}

.memorial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.memorial-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.memorial-name {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}

.memorial-dates {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 2px;
  font-style: italic;
}

.memorial-bio {
  color: var(--text);
  line-height: 1.65;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--copper);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  color: var(--sand-dark);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: var(--sand-dark);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--copper-light); }

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-brand span { color: var(--copper-light); }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--sand-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* County Landing hero styles consolidated below (line ~1754) */


.county-facts {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.county-facts h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--copper);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fact-item {
  text-align: center;
}

.fact-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.fact-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Basin Chips ─── */
.basin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.basin-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  color: var(--navy);
}

.basin-chip:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.basin-chip .basin-icon {
  font-size: 1.2rem;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/strata_hero_background.webp') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--cream);
  font-size: 1.8rem;
  margin-bottom: 8px;
  position: relative;
}

.cta-banner p {
  color: var(--sand-dark);
  margin-bottom: 24px;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ─── No Results ─── */
.no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ─── Filter Drawer (mobile only) ─── */
.filter-drawer {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2rem; }
  
  .nav-links { display: none; }
  .nav-burger { display: block; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .stats-inner {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .stat-item {
    min-width: 30%;
  }

  .search-bar { flex-direction: column; border-radius: var(--radius); }
  .search-bar input { padding: 14px 16px; }
  .search-bar button { padding: 14px; border-radius: 0; justify-content: center; }
  
  .sidebar { display: none; }
  
  .filter-drawer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 200;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
  }
  
  .filter-drawer.active {
    transform: translateY(0);
  }
  
  .profile-header { flex-direction: column; align-items: center; text-align: center; }
  .profile-header-actions { justify-content: center; flex-wrap: wrap; }
  
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  
  .claim-banner { flex-direction: column; gap: 12px; text-align: center; }
  
  /* Mobile bottom nav */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 100;
    padding: 8px 0;
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }
  
  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
  }
  
  .mobile-nav a.active { color: var(--copper); }
  .mobile-nav a .nav-icon { font-size: 1.3rem; }
  
  body { padding-bottom: 70px; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none; }
  .mobile-only { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .basin-grid { gap: 8px; }
  .basin-chip { padding: 10px 14px; font-size: 0.85rem; }
}

/* ─── Breadcrumbs ─── */
.breadcrumb-bar {
  background: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.breadcrumb-bar a {
  color: var(--copper-light);
  text-decoration: none;
}
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: var(--cream); }

/* ─── State Hero ─── */
.state-hero {
  position: relative;
  background-color: var(--navy);
  padding: 56px 0 48px;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}
.state-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg, url('/images/courthouse_dusk.webp')) center/cover no-repeat;
  z-index: 0;
}
.state-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,45,40,0.82) 0%, rgba(45,45,40,0.6) 100%);
  z-index: 0;
}
.state-hero > .container { position: relative; z-index: 1; }
.state-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.state-hero .hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ─── County Hero Banner (full-width image or gradient) ─── */
.county-hero-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--hero-bg, linear-gradient(135deg, var(--navy) 0%, #1a2744 50%, #2d1f3d 100%));
  background-size: cover;
  background-position: center 30%;
  color: var(--cream);
  overflow: hidden;
}
.county-hero-banner.has-image {
  min-height: 400px;
}
.county-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10, 18, 36, 0.92) 0%,
    rgba(10, 18, 36, 0.55) 40%,
    rgba(10, 18, 36, 0.2) 100%
  );
  z-index: 1;
}
.county-hero-banner:not(.has-image) .county-hero-overlay {
  background: none;
}
.county-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 36px;
}
.county-hero-banner h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}
.county-hero-banner .county-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ─── County Narrative (image + story, editorial flow) ─── */
.county-narrative {
  padding: 40px 0;
  background: var(--cream);
}
.county-narrative-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}
.county-narrative-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  border: 4px solid var(--white);
  transition: transform 0.3s ease;
}
.county-narrative-img:hover {
  transform: scale(1.02);
}
.county-narrative-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.county-narrative-body {
  padding-top: 8px;
}
.county-narrative-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.county-narrative-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--terracotta);
}
.county-narrative-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.county-narrative-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.county-narrative-chip .label { color: var(--text-muted); font-weight: 400; }
@media (max-width: 900px) {
  .county-narrative-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .county-narrative-img {
    max-width: 380px;
  }
}
@media (max-width: 768px) {
  .county-hero-banner { min-height: 260px; }
  .county-hero-banner.has-image { min-height: 300px; }
  .county-hero-banner h1 { font-size: 1.8rem; }
  .county-hero-content { padding: 32px 0 24px; }
  .county-narrative-img { max-width: 100%; }
}
.county-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.county-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--cream);
}

/* ─── County Cards ─── */
.county-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.2s ease;
  position: relative;
}
.county-card:hover {
  border-color: var(--copper);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.county-card-dim {
  opacity: 0.5;
  background: var(--cream);
}
.county-card-dim:hover { opacity: 0.8; }
.county-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.county-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}
.county-seat {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.county-card-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.county-card-basins {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* ─── Activity Badges ─── */
.activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-high {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
.badge-active {
  background: rgba(234, 179, 8, 0.12);
  color: #b45309;
}
.badge-moderate {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

/* ─── Basin Pills ─── */
.pill-basin {
  background: rgba(var(--copper-rgb, 184, 115, 51), 0.1);
  color: var(--copper);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 500;
}

/* ─── County Filter Buttons ─── */
.county-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.filter-btn.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* ─── City Chips ─── */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.88rem;
  transition: all 0.2s;
}
.city-chip:hover {
  border-color: var(--copper);
  background: var(--cream);
}
.city-name { font-weight: 500; }
.city-count {
  background: var(--cream);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─── Drilling Activity Panel ─── */
.activity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.activity-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.activity-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 8px;
  color: var(--copper);
}
.activity-icon .lucide { width: 20px; height: 20px; }
.activity-card-body { flex: 1; }
.activity-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.activity-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── County Info Grid (compact 2-col layout) ─── */
.county-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}
.county-info-grid .section { padding: 24px 0; margin: 0; }
.county-info-grid .section-header { margin-bottom: 12px; }
.county-info-grid .section-header h2 { font-size: 1.2rem; }
.county-info-grid .section-header p { font-size: 0.85rem; }
@media (max-width: 768px) {
  .county-info-grid { grid-template-columns: 1fr; }
}

/* ─── Empty State ─── */
.empty-state {
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}
.empty-state a { color: var(--copper); }

/* ─── Text Center Utility ─── */
.text-center { text-align: center; margin-top: 24px; }

/* ─── State/County Page Responsive ─── */
@media (max-width: 768px) {
  .state-hero h1 { font-size: 1.8rem; }

  .county-meta { gap: 8px; }
  .activity-cards { grid-template-columns: 1fr; }
  .county-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }
}

/* ═══════════════════════════════════════════════
   Data Center Landing Page
   ═══════════════════════════════════════════════ */

/* Stats row */
.dc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.dc-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

.dc-stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--copper);
  line-height: 1.1;
  margin-bottom: 8px;
}

.dc-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Services grid */
.dc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dc-service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.dc-service-card:hover {
  border-color: rgba(201,163,95,0.3);
  transform: translateY(-2px);
}

.dc-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,163,95,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dc-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--cream);
}

.dc-service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Comparison table */
.dc-comparison-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.dc-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dc-comparison-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--copper);
  border-bottom: 2px solid rgba(201,163,95,0.3);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dc-comparison-table thead th:first-child {
  color: var(--text-light);
}

.dc-comparison-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-light);
  line-height: 1.5;
}

.dc-comparison-table tbody td:last-child {
  color: var(--cream);
  font-weight: 500;
}

.dc-comparison-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

/* Market cards */
.dc-markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dc-market-card {
  display: block;
  padding: 24px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.dc-market-card:hover {
  border-color: rgba(201,163,95,0.3);
  transform: translateY(-2px);
}

.dc-market-rank {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--copper);
  background: rgba(201,163,95,0.12);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.dc-market-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.dc-market-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0 0 14px;
}

.dc-market-link {
  font-size: 0.82rem;
  color: var(--copper);
  font-weight: 600;
}

/* ─── Data Center Page Responsive ─── */
@media (max-width: 768px) {
  .dc-stats-row { grid-template-columns: 1fr; gap: 12px; }
  .dc-services-grid { grid-template-columns: 1fr; }
  .dc-markets-grid { grid-template-columns: 1fr; }
  .dc-comparison-table { font-size: 0.82rem; }
  .dc-comparison-table thead th,
  .dc-comparison-table tbody td { padding: 10px 12px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .dc-services-grid { grid-template-columns: repeat(2, 1fr); }
}

