/* ============================================================
   NASOA — Design System
   Pure CSS, no frameworks
   ============================================================ */

/* ── 1. Custom Properties ─────────────────────────────────── */
:root {
  --color-primary:    #1A2B4B;
  --color-primary-light: #253f6e;
  --color-accent:     #E8671A;
  --color-accent-dark: #c45512;
  --color-bg:         #F8F9FA;
  --color-surface:    #FFFFFF;
  --color-border:     #E2E8F0;
  --color-text:       #1C1C1C;
  --color-muted:      #6B7280;
  --color-muted-light:#9CA3AF;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 6px 20px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.07);
  --shadow-lg:  0 16px 44px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.08);
  --shadow-accent: 0 8px 24px rgba(232,103,26,.30);

  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 64px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p { max-width: 70ch; }
p + p { margin-top: 1em; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-muted);
  max-width: 65ch;
}

strong { font-weight: 600; }

/* ── 4. Layout Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.section--alt {
  background: var(--color-surface);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── 5. Components ────────────────────────────────────────── */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7em 1.5em;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c45512 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(232,103,26,.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f07830 0%, #cf5b15 100%);
  border-color: transparent;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-sm { padding: 0.5em 1.1em; font-size: 0.875rem; }

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.22s;
}
.card:hover::before { opacity: .7; }
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(26,43,75,.2);
}

.card-body { padding: 1.5rem; }
.card-body--sm { padding: 1.125rem; }

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 0.2em 0.75em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(26,43,75,.08);
  color: var(--color-primary);
}
.badge-accent {
  background: rgba(232,103,26,.12);
  color: var(--color-accent);
}

/* --- Dividers --- */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: 2rem;
}

/* ── 6. Header & Nav ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
  transition: box-shadow 0.25s;
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

/* Wordmark */
.site-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 0.4em 0.9em;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9em;
  right: 0.9em;
  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.nav-cta {
  margin-left: 1rem;
  padding: 0.5em 1.25em;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  transition: background 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #cf5b15;
  box-shadow: 0 3px 10px rgba(232,103,26,.4);
  color: #fff;
}

/* Hamburger — shown only on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

/* Full-screen mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 22, 40, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.15s;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 2rem;
}

.mobile-nav-links a {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
  width: 100%;
  max-width: 320px;
  text-align: center;
  letter-spacing: 0.02em;
}
.mobile-nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }

.mobile-nav-cta {
  margin-top: 1rem !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.65rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.mobile-nav-cta:hover { background: #cf5b15 !important; }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── 7. Footer ────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--color-primary);
  color: rgba(255,255,255,.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand .logo-text strong { font-size: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin-top: 0.75rem;
  max-width: 36ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
}

.footer-credit {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
}
.footer-credit a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-credit a:hover { color: rgba(255,255,255,.75); }
.footer-credit img {
  height: 28px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.15s;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-credit a:hover img { opacity: 0.8; }

/* ── 8. Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, #0e1c33 0%, var(--color-primary) 45%, #1e3460 100%);
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero-logo {
  display: block;
  width: min(520px, 88%);
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.35));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(232,103,26,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 2rem; max-width: 56ch; margin-inline: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── 9. Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  padding-block: 1rem;
}
.breadcrumb a { color: var(--color-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-muted-light); }

/* ── 10. Page Header Strip ────────────────────────────────── */
.page-header {
  background: var(--color-primary);
  padding-block: 2.5rem 2rem;
  color: #fff;
}
.page-header h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-header .lead { color: rgba(255,255,255,.72); }
.page-header .breadcrumb { background: none; padding-top: 0; padding-bottom: 1rem; }
.page-header .breadcrumb a { color: rgba(255,255,255,.6); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb-sep { color: rgba(255,255,255,.3); }
.page-header .breadcrumb span { color: rgba(255,255,255,.9); }

/* ── 11. State Cards (Directory Index) ────────────────────── */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 0.75rem;
}

.state-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s;
}
.state-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(26,43,75,.3);
}

.state-card-abbr {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.state-card-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}
.state-card-info span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ── 12. Operator Cards ───────────────────────────────────── */
.operator-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.15s;
}
.operator-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(26,43,75,.2);
}

.operator-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
}
.operator-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.operator-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.operator-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}
.operator-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
  opacity: .6;
}
.operator-detail a {
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  transition: color 0.15s;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.operator-detail a:hover { color: var(--color-accent); }
.operator-detail .address-text { color: var(--color-muted); font-size: 0.8375rem; }

/* ── 13. Directory Search ─────────────────────────────────── */
[hidden] { display: none !important; }

.dir-search-wrap {
  margin-bottom: 1.75rem;
}
.dir-search-field {
  position: relative;
  max-width: 460px;
}
.dir-search-field svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}
.dir-search-field input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dir-search-field input[type="search"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,103,26,.12);
}
.dir-search-field input[type="search"]::-webkit-search-cancel-button { display: none; }
.dir-search-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}
.dir-search-clear:hover { color: var(--color-text); background: var(--color-border); }

/* Global search result cards (directory/index.html) */
.dir-result-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}
.dir-result-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.dir-result-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}
.dir-result-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.dir-result-location {
  font-size: 0.8125rem;
  color: var(--color-muted-light);
}
.dir-result-link {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
}

/* ── 14. Leadership Cards ─────────────────────────────────── */
.leader-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.leader-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}
.leader-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.leader-phone {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-muted);
}
.leader-phone a {
  color: var(--color-primary);
  transition: color 0.15s;
}
.leader-phone a:hover { color: var(--color-accent); }

/* ── 14. Stats Bar ────────────────────────────────────────── */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.5rem;
}
.stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2.5rem;
  text-align: center;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ── 15. Feature Blocks ───────────────────────────────────── */
.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26,43,75,.12) 0%, rgba(26,43,75,.06) 100%);
  border: 1px solid rgba(26,43,75,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(26,43,75,.08);
}

/* ── 16. Contact ──────────────────────────────────────────── */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-muted);
}
.contact-item-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 0.15rem;
}
.contact-item-value a {
  color: var(--color-primary);
  transition: color 0.15s;
}
.contact-item-value a:hover { color: var(--color-accent); }

/* ── 17. Section Title ────────────────────────────────────── */
.section-heading {
  margin-bottom: 0.75rem;
}
.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.section-overline::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-intro {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
  max-width: 58ch;
}

/* ── 18. History Timeline / Prose ─────────────────────────── */
.prose p { color: var(--color-muted); font-size: 0.9375rem; }
.prose p + p { margin-top: 1rem; }

/* ── 19. Operator Count Pill ──────────────────────────────── */
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25em 0.75em;
  background: rgba(232,103,26,.1);
  color: var(--color-accent);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ── 20. Empty State ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-muted);
}
.empty-state svg {
  margin-inline: auto;
  margin-bottom: 1rem;
  opacity: .35;
}

/* ── 21. Loading Spinner ──────────────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-inline: auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-state {
  padding: 4rem 2rem;
  text-align: center;
}

/* ── 22. Tile Map ────────────────────────────────────────── */
.tile-map-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.tile-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 500;
}
.tile-legend-item::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  flex-shrink: 0;
}
.tile-legend-item--active::before {
  background: var(--color-primary);
}

.tile-map-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.tile-map {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: repeat(8, 52px);
  gap: 4px;
  min-width: 580px;
  max-width: 900px;
  margin-inline: auto;
}

.tile {
  background: var(--color-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  user-select: none;
}
.tile--active {
  background: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.tile--active:hover,
.tile--active:focus-visible {
  background: var(--color-primary-light);
  transform: scale(1.1);
  z-index: 5;
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.tile-abbr {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-muted-light);
  line-height: 1;
  pointer-events: none;
}
.tile--active .tile-abbr {
  font-size: 0.6875rem;
  color: rgba(255,255,255,.88);
}
.tile-count {
  font-size: 0.5rem;
  font-weight: 700;
  background: rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  padding: 0.1em 0.4em;
  margin-top: 0.2rem;
  line-height: 1.5;
  pointer-events: none;
}

/* ── 22. SVG Choropleth Map ───────────────────────────────── */
.map-wrap {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  background: #f0f4f8;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
#nasoa-map {
  display: block;
  width: 100%;
  height: auto;
}

.state {
  stroke: #fff;
  stroke-width: 0.8;
  transition: fill 0.15s, filter 0.15s;
}
.state--inactive {
  fill: #c8d4e0;
}
.state--active {
  fill: var(--color-primary);
}
.state--active:hover,
.state--active:focus-visible {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 6px rgba(232,103,26,.5));
  outline: none;
}

.state-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  fill: rgba(255,255,255,.9);
  pointer-events: none;
  letter-spacing: 0.03em;
}
.state-label--sm { font-size: 7px; }
.state-label--xs { font-size: 6px; }
.state-label--dim {
  fill: rgba(255,255,255,.55);
  font-weight: 600;
}

/* State borders mesh */
.state-borders {
  fill: none;
  stroke: #fff;
  stroke-width: 0.5;
  pointer-events: none;
}

.canada-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 960px;
  margin-inline: auto;
  margin-top: 1.25rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
  transition: background 0.15s;
}
.canada-banner:hover { background: #0e2040; }
.canada-banner-flag { font-size: 1.2rem; }
.canada-banner-arrow { margin-left: auto; opacity: 0.55; }

.map-tooltip {
  display: none;
  position: absolute;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35em 0.75em;
  border-radius: var(--radius-md);
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 500;
}
.map-legend-item::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #c8d4e0;
  flex-shrink: 0;
}
.map-legend-item--active::before {
  background: var(--color-primary);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Stats bar — 2×2 grid on mobile */
  .stats-list { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }

  /* Search field full width on mobile */
  .dir-search-field { max-width: 100%; }

  /* Page header */
  .page-header { padding-block: 1.75rem 1.5rem; }

  /* Section vertical padding */
  .section { padding-block: clamp(2rem, 6vw, 3.5rem); }
}

@media (max-width: 520px) {
  .state-grid { grid-template-columns: 1fr; }
  .state-card { padding: 0.875rem 1rem; }
}

@media (max-width: 480px) {
  /* Single-column operator cards on very small screens */
  .grid-3 { grid-template-columns: 1fr; }

  /* Reduce card padding */
  .operator-card { padding: 1.125rem; }
  .card-body { padding: 1.125rem; }

  /* Stats wrap to 2×2 grid on tiny screens */
  .stats-list { gap: 1rem 2rem; }

  /* Hero logo slightly smaller on tiny screens */
  .hero-logo { width: min(340px, 90%); }

  /* Footer grid already stacks at 720px; reduce padding */
  .footer-grid { padding-block: 2.5rem; }
}
