/* ============================================================
   Raven Data Insights — Design System
   Fonts: Playfair Display (headings) + Inter (UI/body)
   Accent: #4E8B64 (monument green) | Background: near-black
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #0a0a08;
  --bg-surface:   #111110;
  --bg-card:      #181814;
  --bg-elevated:  #222220;
  --text:         #e8dcc8;
  --text-muted:   #8a7f70;
  --text-dim:     #4a4535;
  --accent:       #4E8B64;
  --accent-hover: #3D7252;
  --accent-glow:  rgba(78, 139, 100, 0.12);
  --success:      #52b788;
  --failed:       #e07070;
  --pending:      #f4a942;
  --border:       #252520;
  --border-light: #2e2e28;
  --nav-h:        68px;
  --radius:       10px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.8; }
strong { color: var(--text); font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary  { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover  { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--bg-card); color: var(--text); border-color: var(--border-light); }
.btn-secondary:hover { background: var(--bg-elevated); }
.btn-outline  { background: transparent; color: var(--text-muted); border-color: var(--border-light); }
.btn-outline:hover  { background: var(--bg-card); color: var(--text); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(10, 10, 8, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(78, 139, 100,0.25);
}
.nav-title { display: flex; flex-direction: column; line-height: 1.2; }
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.015em;
}
.nav-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--bg-card); }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(78, 139, 100,0.3);
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--accent-glow) !important; }

/* ── Hamburger menu (mobile only) ───────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.nav-hamburger:hover { background: var(--bg-card); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HOME PAGE — HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 5rem) 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(78, 139, 100,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(78, 139, 100,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 2px solid rgba(78, 139, 100,0.35);
  box-shadow: 0 0 50px rgba(78, 139, 100,0.18), 0 0 100px rgba(78, 139, 100,0.06);
}
.hero-title { color: var(--text); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.hero-subtitle {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  max-width: 360px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.5s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ================================================================
   HOME PAGE — ABOUT
   ================================================================ */
.about {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { margin-bottom: 1.1rem; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: rgba(78, 139, 100,0.3); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================================================
   HOME PAGE — SERVICES
   ================================================================ */
.services {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.services h2 { margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: rgba(78, 139, 100,0.35);
  transform: translateY(-3px);
}
.service-icon { font-size: 1.6rem; margin-bottom: 1.1rem; }
.service-card h3 { color: var(--text); margin-bottom: 0.75rem; }

/* ================================================================
   HOME PAGE — CTA BAND
   ================================================================ */
.cta-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(to bottom, var(--bg), var(--bg-surface) 50%, var(--bg));
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   HOME PAGE — CONTACT CTA BAND
   ================================================================ */
.contact-cta-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 3rem;
}
.contact-cta-text { flex: 1; }
.contact-cta-text h2 { margin-bottom: 0.75rem; }
.contact-cta-text p  { color: var(--text-muted); max-width: 440px; line-height: 1.7; }
.contact-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}
.contact-cta-email {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.contact-cta-email a {
  color: var(--accent);
  text-decoration: none;
}
.contact-cta-email a:hover { text-decoration: underline; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-page {
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { }
.contact-info h1 { margin-bottom: 0.6rem; }
.contact-info .page-subtitle { margin-bottom: 2rem; }
.contact-info-block {
  margin-bottom: 2rem;
}
.contact-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-info-value a {
  color: var(--accent);
  text-decoration: none;
}
.contact-info-value a:hover { text-decoration: underline; }
.contact-email-placeholder {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.85rem;
}
.contact-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.contact-form-wrap .form-intro {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-actions { margin-top: 1.75rem; }
/* Honeypot — visually hidden from real users */
.form-honeypot { display: none !important; }

/* Form success / error states */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }
.form-error-msg {
  background: rgba(224,112,112,0.1);
  border: 1px solid rgba(224,112,112,0.25);
  border-radius: 6px;
  color: var(--failed);
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  margin-top: 1rem;
  display: none;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); }
.footer-brand em { color: var(--text-dim); font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* ================================================================
   MAP PAGE
   ================================================================ */
.map-page body, body.map-page { overflow: hidden; }

.map-bar {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 500;
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: rgba(10,10,8,0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  gap: 1rem;
}
.map-bar-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.map-bar-count {
  font-size: 0.75rem;
  color: var(--text-dim);
}

#map {
  position: fixed;
  top: calc(var(--nav-h) + 46px);
  left: 0; right: 0; bottom: 0;
  z-index: 1;
}

/* Year selector panel */
.year-panel {
  position: fixed;
  top: calc(var(--nav-h) + 46px + 1.25rem);
  right: 1.25rem;
  z-index: 500;
  background: rgba(13,13,10,0.94);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  min-width: 84px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.year-panel-title {
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
}
.year-btn {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: color 0.12s, background 0.12s;
}
.year-btn:hover { color: var(--text); background: var(--bg-elevated); }
.year-btn.active { color: var(--accent); font-weight: 700; }

/* Map Legend */
.map-legend {
  position: fixed;
  bottom: 1.5rem;
  left: 1.25rem;
  z-index: 500;
  background: rgba(13,13,10,0.94);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.legend-title {
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.legend-item:last-child { margin-bottom: 0; }
.legend-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.legend-dot.success { background: var(--success); box-shadow: 0 0 6px rgba(82,183,136,0.5); }
.legend-dot.failed  { background: var(--failed);  box-shadow: 0 0 6px rgba(224,112,112,0.5); }
.legend-dot.pending { background: var(--pending); box-shadow: 0 0 6px rgba(244,169,66,0.5); }
.legend-dot.passive { background: #555; }

.popup-inner {
  font-family: 'Inter', sans-serif;
  min-width: 260px;
  max-width: 320px;
  padding: 1.25rem;
}
.popup-year {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #e8dcc8;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.popup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}
.popup-status.success { background: rgba(82,183,136,0.14); color: var(--success); }
.popup-status.failed  { background: rgba(224,112,112,0.14); color: var(--failed); }
.popup-status.pending { background: rgba(244,169,66,0.14); color: var(--pending); }
.popup-desc {
  font-size: 0.82rem;
  color: #7a7060;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  border-top: 1px solid #252520;
  padding-top: 0.85rem;
}
.popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup-link {
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
}
.popup-link:hover { text-decoration: underline; }
.popup-weight-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ================================================================
   CALLS PAGE
   ================================================================ */
.calls-page { padding: calc(var(--nav-h) + 3.5rem) 0 5rem; }
.page-header { margin-bottom: 3rem; }
.page-header h1 { margin-bottom: 0.5rem; }
.page-subtitle {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
}

/* Score summary row */
.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.score-card:hover { border-color: rgba(78, 139, 100,0.25); }
.score-card-year {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.score-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.score-card-label { font-size: 0.78rem; color: var(--text-muted); }
.score-bar {
  margin-top: 0.8rem;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent), #6AAF84);
  border-radius: 2px;
  width: 0;
  transition: width 1s ease 0.3s;
}

/* Year filter tabs */
.year-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.year-tab {
  padding: 0.6rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.year-tab:hover { color: var(--text); }
.year-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Calls list */
.calls-list { display: flex; flex-direction: column; gap: 0.75rem; }

.call-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: border-color 0.18s;
}
.call-card:hover { border-color: var(--border-light); }
.call-card.success-card { border-left: 3px solid rgba(82,183,136,0.4); }
.call-card.failed-card  { border-left: 3px solid rgba(224,112,112,0.4); }
.call-card.pending-card { border-left: 3px solid rgba(244,169,66,0.4); }
.call-card.placeholder  { opacity: 0.35; border-style: dashed; }

.call-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.call-date {
  font-size: 0.73rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.call-region {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-elevated);
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}
.call-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.call-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.call-link {
  font-size: 0.78rem;
  color: var(--accent);
}
.call-link:hover { text-decoration: underline; }

.call-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  min-width: 120px;
}
.outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 5px;
  white-space: nowrap;
}
.outcome-badge.success { background: rgba(82,183,136,0.12); color: var(--success); }
.outcome-badge.failed  { background: rgba(224,112,112,0.12); color: var(--failed); }
.outcome-badge.pending { background: rgba(244,169,66,0.12); color: var(--pending); }

.weight-badge {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.weight-stars { color: var(--accent); }
.weight-label { color: var(--text-muted); }

/* Scoring explainer */
.scoring-note {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.scoring-note strong { color: var(--text); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-cta-action { align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Hamburger / mobile nav (≤ 680px) ───────────────────── */
@media (max-width: 680px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 8, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 0.6rem 0.75rem 1rem;
    gap: 0.15rem;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
  }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 600px) {
  .nav-sub { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .call-card { grid-template-columns: 1fr; }
  .call-right { flex-direction: row; align-items: center; flex-wrap: wrap; min-width: unset; }
  .hero-logo { width: 90px; height: 90px; }
  .container { padding: 0 1.25rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Map bar — truncate long title gracefully */
  .map-bar { overflow: hidden; }
  .map-bar-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }
  .map-bar-count { flex-shrink: 0; white-space: nowrap; }

  /* Larger touch targets on map controls */
  .year-btn { min-height: 44px; font-size: 0.9rem; padding: 0.6rem 0.75rem; }
  .globe-zoom-btn { width: 44px; height: 44px; font-size: 1.3rem; }
}