/* ============================================================
   CARRYATLAS — Global Design System
   All pages reference this file via relative path.
   CA_ROOT variable must be set per-page for component paths.
   ============================================================ */

:root {
  --navy:       #0D1B2A;
  --atlas:      #1A3A5C;
  --teal:       #2A6B7C;
  --permitless: #2A7A54;
  --permit:     #2563A8;
  --restricted: #B84429;
  --parchment:  #F7F5EE;
  --cream:      #FEFCF7;
  --gridline:   #DDD8C8;
  --text:       #1A1A2E;
  --muted:      #5A637A;
  --white:      #FFFFFF;
  --green-lt:   #5BC4A0;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --shadow:    0 2px 10px rgba(13,27,42,0.10);
  --shadow-lg: 0 8px 30px rgba(13,27,42,0.18);
  --radius:    6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--parchment); color: var(--text); line-height: 1.55; }

/* ============================================================
   HEADER + NAVIGATION
   ============================================================ */
header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ca-hdr {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.25rem; height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ca-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--white); flex-shrink: 0;
}
.ca-logo-mark {
  width: 28px; height: 28px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.ca-logo-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.ca-logo-name em { font-style: normal; color: var(--green-lt); }

/* Desktop nav */
.ca-desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.ca-desktop-nav > a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; padding: 0.35rem 0.75rem;
  border-radius: 4px; transition: all 0.15s;
}
.ca-desktop-nav > a:hover, .ca-desktop-nav > a.active {
  color: var(--white); background: rgba(255,255,255,0.08);
}

/* Dropdown */
.ca-dropdown { position: relative; }
.ca-drop-btn {
  background: none; border: none; cursor: pointer; font-family: var(--font);
  color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 500;
  padding: 0.35rem 0.75rem; border-radius: 4px;
  display: flex; align-items: center; gap: 0.25rem; transition: all 0.15s;
}
.ca-drop-btn::after { content: '▾'; font-size: 0.7em; opacity: 0.7; }
.ca-drop-btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.ca-drop-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: #0A1828; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 0.5rem 0; min-width: 210px;
  z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.ca-dropdown:hover .ca-drop-menu,
.ca-dropdown:focus-within .ca-drop-menu { display: block; }
.ca-drop-label {
  display: block; padding: 0.3rem 1rem;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.25rem;
}
.ca-drop-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1rem; color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 0.82rem; transition: all 0.1s;
}
.ca-drop-menu a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.ca-soon { font-size: 0.62rem; background: rgba(255,255,255,0.12); border-radius: 20px; padding: 0.1rem 0.5rem; color: rgba(255,255,255,0.5); }

/* Hamburger */
.ca-hamburger {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px; padding: 0.3rem 0.5rem; cursor: pointer; color: white;
  font-size: 1.1rem; line-height: 1; font-family: var(--font);
}
/* Mobile nav */
.ca-mobile-nav {
  display: none; background: #0A1520;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 1.25rem 0.75rem;
}
.ca-mobile-nav a {
  display: block; padding: 0.65rem 0;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ca-mobile-nav a:last-child { border-bottom: none; }
.ca-mobile-nav a:hover { color: var(--white); }
.ca-mobile-nav.open { display: block; }

/* ============================================================
   HOMEPAGE — HERO + MAP (from index.html)
   ============================================================ */
.ca-hero {
  background: linear-gradient(170deg, #0D1B2A 0%, #1A3A5C 100%);
  color: var(--white); padding: 2.25rem 1.25rem 0; text-align: center;
  position: relative; z-index: 10;
  display: flow-root;
  /* overflow:hidden removed (was clipping the search dropdown);
     the ::before glow is now drawn inside the box instead.
     display:flow-root keeps the old block-formatting-context behavior
     WITHOUT clipping: it contains child margins (prevents the search
     bar's bottom margin collapsing out and opening a cream gap below
     the hero) while still letting the dropdown overflow visibly. */
}
.ca-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle 250px at calc(100% - 150px) 100px, rgba(42,122,84,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.ca-hero-badge {
  display: inline-block;
  background: rgba(91,196,160,0.12); border: 1px solid rgba(91,196,160,0.3);
  border-radius: 20px; padding: 0.25rem 0.875rem;
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-lt); margin-bottom: 1rem; position: relative;
}
.ca-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em;
  max-width: 660px; margin: 0 auto 0.75rem; position: relative;
}
.ca-hero-sub {
  font-size: 0.975rem; color: rgba(255,255,255,0.6);
  max-width: 500px; margin: 0 auto 1.75rem; position: relative;
}

/* Search bar */
.ca-search-wrap {
  max-width: 400px; margin: 0 auto 2rem; position: relative;
}
.ca-search-wrap input {
  width: 100%; padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 8px; color: var(--white); font-size: 0.9rem; font-family: var(--font);
  outline: none; transition: all 0.2s;
}
.ca-search-wrap input::placeholder { color: rgba(255,255,255,0.38); }
.ca-search-wrap input:focus { background: rgba(255,255,255,0.13); border-color: var(--green-lt); }
.ca-search-icon {
  position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.9rem; pointer-events: none;
}
.ca-search-drop {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--gridline);
  border-radius: 8px; box-shadow: var(--shadow-lg);
  overflow-y: auto; max-height: min(340px, 50vh); z-index: 200; display: none;
}
.ca-sdrop-item {
  padding: 0.65rem 1rem; cursor: pointer;
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text); transition: background 0.1s;
}
.ca-sdrop-item:hover { background: var(--parchment); }
.ca-sdrop-abbr {
  font-weight: 800; font-size: 0.75rem; width: 30px; height: 22px;
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}

/* Map section */
.ca-map-section { background: var(--navy); padding: 0 1.25rem 2rem; }
.ca-map-wrap { max-width: 900px; margin: 0 auto; }
.ca-map-legend {
  display: flex; justify-content: center;
  gap: 1.25rem; margin-bottom: 0.875rem; flex-wrap: wrap;
}
.ca-leg-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
}
.ca-leg-dot { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }

/* State grid */
.ca-state-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr); gap: 3px;
  aspect-ratio: 12 / 8; width: 100%;
}
.ca-s-tile {
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-size: clamp(7px, 1.05vw, 11px); font-weight: 800;
  color: rgba(255,255,255,0.92); cursor: pointer; user-select: none;
  transition: transform 0.1s, filter 0.1s, box-shadow 0.1s;
  letter-spacing: 0.02em; position: relative; overflow: hidden;
}
.ca-s-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 55%);
  pointer-events: none;
}
.ca-s-tile:hover { transform: scale(1.14); filter: brightness(1.18); z-index: 10; box-shadow: 0 4px 14px rgba(0,0,0,0.45); }
.ca-s-tile.active { box-shadow: 0 0 0 2.5px white, 0 4px 12px rgba(0,0,0,0.4); z-index: 11; }
.ca-s-tile.unverified { opacity: 0.65; }
.s-permitless { background: var(--permitless); }
.s-permit     { background: var(--permit); }
.s-restricted { background: var(--restricted); }

/* Stats bar */
.ca-stats-bar { background: var(--atlas); }
.ca-stats-inner {
  max-width: 900px; margin: 0 auto; padding: 0.875rem 1.25rem;
  display: flex; justify-content: center; gap: 2.25rem; flex-wrap: wrap;
}
.ca-stat-item { text-align: center; }
.ca-stat-n { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ca-stat-l { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.55); margin-top: 0.1rem; }
.c-permitless { color: #5BC4A0; }
.c-permit     { color: #82B4E8; }
.c-restricted { color: #F09570; }
.c-white      { color: rgba(255,255,255,0.85); }

/* Homepage cards */
.ca-main { max-width: 900px; margin: 0 auto; padding: 2rem 1.25rem; }
.ca-sec-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.875rem; letter-spacing: -0.01em; }
.ca-pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.65rem; margin-bottom: 2.25rem; }
.ca-pop-card {
  background: var(--cream); border: 1px solid var(--gridline);
  border-radius: 8px; padding: 0.875rem; cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text);
}
.ca-pop-card:hover { border-color: var(--atlas); box-shadow: var(--shadow); transform: translateY(-1px); }
.ca-pop-abbr { width: 34px; height: 34px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: white; flex-shrink: 0; }
.ca-pop-info h3 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.1rem; }
.ca-pop-info p  { font-size: 0.72rem; color: var(--muted); }
.ca-soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; }
.ca-soon-card { background: var(--cream); border: 1.5px dashed var(--gridline); border-radius: 10px; padding: 1.25rem 1.25rem 1rem; }
.ca-soon-badge { display: inline-block; background: var(--parchment); border: 1px solid var(--gridline); border-radius: 20px; padding: 0.15rem 0.65rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.6rem; }
.ca-soon-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; }
.ca-soon-card p  { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.ca-info-callout { background: rgba(37,99,168,0.06); border: 1px solid rgba(37,99,168,0.2); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.82rem; color: var(--atlas); line-height: 1.6; }

/* Info Panel (homepage) */
.ca-overlay { display: none; position: fixed; inset: 0; background: rgba(13,27,42,0.55); z-index: 300; cursor: pointer; }
.ca-overlay.on { display: block; animation: ca-fadein 0.2s ease; }
@keyframes ca-fadein { from{opacity:0} to{opacity:1} }
.ca-panel {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(430px, 100vw);
  background: var(--cream); z-index: 301;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 30px rgba(13,27,42,0.22);
  animation: ca-slideright 0.26s ease; overflow: hidden;
}
@keyframes ca-slideright { from{transform:translateX(100%)} to{transform:translateX(0)} }
.ca-panel-hdr { background: var(--navy); color: white; padding: 1.25rem 1.25rem 1rem; flex-shrink: 0; position: relative; }
.ca-panel-close { position: absolute; top: 0.875rem; right: 0.875rem; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; width: 30px; height: 30px; color: white; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; font-family: var(--font); }
.ca-panel-close:hover { background: rgba(255,255,255,0.2); }
.ca-panel-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; padding-right: 2.5rem; }
.ca-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.7rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.badge-permitless { background: var(--permitless); color: white; }
.badge-permit     { background: var(--permit); color: white; }
.badge-restricted { background: var(--restricted); color: white; }
.ca-panel-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.25rem; }
.ca-verify-note { background: #FFFBE6; border: 1px solid #E8C840; border-radius: 6px; padding: 0.65rem 0.875rem; font-size: 0.77rem; color: #7A5800; margin-bottom: 0.875rem; line-height: 1.5; }
.ca-qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1rem; }
.ca-qf-card { background: var(--parchment); border: 1px solid var(--gridline); border-radius: 6px; padding: 0.65rem 0.875rem; }
.ca-qf-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 0.15rem; }
.ca-qf-val { font-size: 0.9rem; font-weight: 700; }
.val-yes { color: var(--permitless); }
.val-no  { color: var(--restricted); }
.ca-p-section { margin-bottom: 1rem; }
.ca-p-section-title { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-bottom: 0.4rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--gridline); }
.ca-p-section p { font-size: 0.845rem; color: var(--text); line-height: 1.55; margin-bottom: 0.35rem; }
.ca-p-hl { font-size: 0.82rem; color: var(--text); padding: 0.2rem 0 0.2rem 0.9rem; line-height: 1.5; position: relative; }
.ca-p-hl::before { content: '›'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.ca-src-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--permit); text-decoration: none; margin-top: 0.2rem; transition: opacity 0.15s; }
.ca-src-link:hover { opacity: 0.75; text-decoration: underline; }
.ca-panel-footer { border-top: 1px solid var(--gridline); padding: 1rem 1.25rem; flex-shrink: 0; }
.ca-btn-guide { display: block; width: 100%; background: var(--navy); color: white; border: none; border-radius: 6px; padding: 0.8rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; text-align: center; transition: background 0.15s; font-family: var(--font); margin-bottom: 0.5rem; }
.ca-btn-guide:hover { background: var(--atlas); }
.ca-panel-disc { font-size: 0.67rem; color: var(--muted); text-align: center; line-height: 1.45; }

/* ============================================================
   INNER PAGES — Shared layout
   ============================================================ */
.ca-inner { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }
.ca-page-main { max-width: 900px; margin: 0 auto; padding: 2rem 1.25rem; }

/* Breadcrumb */
.ca-breadcrumb {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.ca-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.ca-breadcrumb a:hover { color: white; }
.ca-breadcrumb span { opacity: 0.4; }

/* Inner page hero (non-homepage) */
.ca-page-hero {
  background: linear-gradient(170deg, #0D1B2A 0%, #1A3A5C 100%);
  color: white; padding: 2rem 1.25rem;
}
.ca-page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.ca-page-hero p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 560px; }

/* State-specific hero */
.ca-state-hero { background: linear-gradient(170deg, #0D1B2A 0%, #1A3A5C 100%); color: white; padding: 1.75rem 1.25rem 1.5rem; }
.ca-state-hero h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.ca-state-updated { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 0.5rem; }
.ca-state-updated a { color: rgba(255,255,255,0.45); }

/* State stats strip */
.ca-state-stats { background: var(--atlas); padding: 0.75rem 1.25rem; }
.ca-state-stats-row {
  max-width: 900px; margin: 0 auto;
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.ca-ss-item { display: flex; flex-direction: column; }
.ca-ss-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }
.ca-ss-val { font-size: 0.9rem; font-weight: 700; color: white; }
.ca-ss-yes { color: #5BC4A0; }
.ca-ss-no  { color: #F09570; }

/* Content blocks on state/inner pages */
.ca-content-block {
  padding: 1.5rem 0; border-bottom: 1px solid var(--gridline);
}
.ca-content-block:last-child { border-bottom: none; }
.ca-content-block h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em; margin-bottom: 0.875rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.ca-content-block h2 .ca-icon { font-size: 1rem; }
.ca-content-block p { font-size: 0.875rem; color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.ca-content-block p:last-child { margin-bottom: 0; }
.ca-content-block a { color: var(--permit); }
.ca-content-block strong { font-weight: 600; }

/* Quick facts table (state page) */
.ca-facts-table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1rem; font-size: 0.875rem; }
.ca-facts-table tr { border-bottom: 1px solid var(--gridline); }
.ca-facts-table tr:last-child { border-bottom: none; }
.ca-facts-table td { padding: 0.6rem 0.875rem; vertical-align: top; }
.ca-facts-table td:first-child { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; width: 38%; font-weight: 500; }
.ca-facts-table td.yes { color: var(--permitless); font-weight: 600; }
.ca-facts-table td.no  { color: var(--restricted); font-weight: 600; }
.ca-facts-table .note  { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 0.15rem; font-weight: 400; font-style: normal; }

/* Prohibited locations list */
.ca-loc-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem 1rem; margin-top: 0.75rem;
}
.ca-loc-list li {
  list-style: none; font-size: 0.83rem; color: var(--text);
  padding-left: 1rem; position: relative;
}
.ca-loc-list li::before { content: '⬦'; position: absolute; left: 0; color: var(--restricted); font-size: 0.6rem; top: 0.25rem; }

/* FAQ using details/summary */
.ca-faq { margin-top: 0.5rem; }
.ca-faq details { border-bottom: 1px solid var(--gridline); }
.ca-faq details:last-child { border-bottom: none; }
.ca-faq summary {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  padding: 1rem 1.75rem 1rem 0; cursor: pointer;
  list-style: none; position: relative; line-height: 1.45;
}
.ca-faq summary::-webkit-details-marker { display: none; }
.ca-faq summary::after { content: '+'; position: absolute; right: 0; top: 0.9rem; font-size: 1.2rem; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.ca-faq details[open] summary::after { transform: rotate(45deg); }
.ca-faq details p { font-size: 0.875rem; color: var(--text); line-height: 1.65; padding-bottom: 1rem; }

/* Official sources block */
.ca-source-box {
  background: var(--parchment); border: 1px solid var(--gridline);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 0.75rem;
}
.ca-source-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.ca-source-row:last-child { margin-bottom: 0; }
.ca-source-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.ca-source-info { flex: 1; }
.ca-source-info strong { font-size: 0.82rem; font-weight: 600; color: var(--text); display: block; }
.ca-source-info a { font-size: 0.78rem; color: var(--permit); text-decoration: none; }
.ca-source-info a:hover { text-decoration: underline; }
.ca-source-info span { font-size: 0.75rem; color: var(--muted); }
.ca-verify-flag { background: #FFFBE6; border: 1px solid #E8C840; border-radius: 4px; padding: 0.5rem 0.75rem; font-size: 0.78rem; color: #7A5800; margin-top: 0.75rem; }

/* Related states */
.ca-related-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.ca-rel-chip {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--cream); border: 1px solid var(--gridline);
  border-radius: 20px; padding: 0.3rem 0.875rem;
  text-decoration: none; color: var(--text); font-size: 0.8rem;
  transition: all 0.15s;
}
.ca-rel-chip:hover { border-color: var(--atlas); box-shadow: var(--shadow); }
.ca-rel-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Ad zone placeholder */
.ca-ad-zone {
  background: var(--cream); border: 1px dashed var(--gridline);
  border-radius: var(--radius); padding: 1rem;
  text-align: center; margin: 1.5rem 0;
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--muted);
}
.ca-ad-zone.active { background: transparent; border: none; min-height: auto; padding: 0; }

/* About/methodology page */
.ca-doc-section { margin-bottom: 2.25rem; }
.ca-doc-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.875rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--gridline); }
.ca-doc-section h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 1rem 0 0.5rem; }
.ca-doc-section p  { font-size: 0.875rem; color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.ca-doc-section ul { font-size: 0.875rem; color: var(--text); margin: 0.5rem 0 0.75rem 1.25rem; line-height: 1.7; }
.ca-doc-section li { margin-bottom: 0.3rem; }
.ca-doc-section a  { color: var(--permit); }
.ca-updated-note { background: var(--cream); border: 1px solid var(--gridline); border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }

/* ============================================================
   FOOTER — Multi-column
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.45); padding: 2rem 1.25rem; margin-top: 2rem; }
.ca-ftr { max-width: 900px; margin: 0 auto; }
.ca-ftr-disc { font-size: 0.73rem; line-height: 1.65; max-width: 680px; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 1rem; background: rgba(255,255,255,0.03); }
.ca-ftr-disc strong { color: rgba(255,255,255,0.7); }
.ca-ftr-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.25rem; }
.ca-ftr-col-head { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.38); margin-bottom: 0.5rem; font-weight: 600; }
.ca-ftr-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; line-height: 1.9; transition: color 0.15s; }
.ca-ftr-col a:hover { color: rgba(255,255,255,0.85); }
.ca-ftr-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; opacity: 0.7; }
.ca-ftr-brand-icon { width: 20px; height: 20px; object-fit: contain; }
.ca-ftr-tagline { font-size: 0.75rem; font-style: italic; color: rgba(255,255,255,0.45); letter-spacing: 0.01em; }
.ca-ftr-copy { font-size: 0.68rem; color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .ca-hdr { padding: 0 1rem; }
  .ca-desktop-nav { display: none; }
  .ca-hamburger { display: flex; align-items: center; }
  .ca-hero, .ca-page-hero, .ca-state-hero { padding-left: 1rem; padding-right: 1rem; }
  .ca-map-section { padding: 0 0.75rem 1.75rem; }
  .ca-main, .ca-page-main { padding: 1.5rem 1rem; }
  .ca-inner { padding: 0 1rem; }
  .ca-panel { width: 100vw; top: auto; height: 88vh; border-radius: 14px 14px 0 0; animation: ca-slideup 0.28s ease; }
  @keyframes ca-slideup { from{transform:translateY(100%)} to{transform:translateY(0)} }
  .ca-stats-inner { gap: 1.25rem; }
  .ca-soon-grid { grid-template-columns: 1fr; }
  .ca-ftr-nav { grid-template-columns: 1fr 1fr; }
  .ca-state-stats-row { gap: 1rem; }
  .ca-loc-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ca-qf-grid { grid-template-columns: 1fr; }
  .ca-ftr-nav { grid-template-columns: 1fr; }
}
