:root {
  --ink: #082f2a;
  --pine: #114b3f;
  --leaf: #087f5b;
  --river: #0ea5b7;
  --gold: #f4b942;
  --rose: #ef5d5d;
  --paper: #fffaf0;
  --mist: #edf7f2;
  --line: #d8e5dd;
  --text: #1f2933;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
}
a { color: inherit; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #b8f7d4;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: #24443d;
}
.nav-links a:hover { color: var(--leaf); }
.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(8,47,42,0.96), rgba(17,75,63,0.86)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 88px);
  padding: 82px 22px 92px;
}
.hero-inner,
.wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff2bd;
  color: #6f4300;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: #071b18;
  letter-spacing: 0;
}
.hero h1 {
  color: white;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .94;
  margin: 22px 0 18px;
  max-width: 900px;
}
.hero p {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.45;
  color: #dffbf1;
  font-weight: 650;
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.button.primary { background: var(--leaf); color: white; }
.button.dark { background: var(--ink); color: white; }
.button.light { background: white; color: var(--ink); border-color: var(--line); }
.button.gold { background: #fff5c7; color: #7a4c00; border-color: #f5cf61; }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.32); color: white; }
.section {
  padding: 62px 22px;
}
.section.alt { background: #eef5f2; }
.section-head {
  max-width: 1180px;
  margin: 0 auto 26px;
}
.kicker {
  color: var(--leaf);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 900;
}
.section h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 8px 0 10px;
}
.section-head p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.5;
}
.state-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .85fr);
  gap: 24px;
  align-items: stretch;
}
.map-card,
.panel,
.card,
.score-card,
.table-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(8,47,42,.08);
}
.map-card {
  padding: 22px;
  min-height: 460px;
}
.map-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  margin: 0 0 10px;
}
#us-map {
  width: 100%;
  min-height: 385px;
}
.state {
  fill: #d7d5d0;
  stroke: white;
  stroke-width: 1;
  cursor: pointer;
  transition: fill .18s ease, transform .18s ease;
}
.state:hover,
.state:focus {
  fill: var(--river);
  outline: none;
}
.state.active { fill: var(--leaf); }
.panel {
  padding: 26px;
  background: #f0fff8;
  border-color: #93e7bd;
}
.panel h3 {
  font-size: 34px;
  margin: 8px 0 12px;
}
.notice {
  margin-top: 20px;
  border: 1px solid #f4cb54;
  background: #fff9db;
  border-radius: 14px;
  padding: 15px;
  color: #573b00;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  padding: 24px;
}
.card h3 {
  font-size: 27px;
  margin: 12px 0 8px;
}
.card p {
  line-height: 1.48;
}
.icon {
  color: var(--leaf);
  font-size: 28px;
}
.icon.gold { color: #b86a00; }
.icon.rose { color: var(--rose); }
.score-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.score-card {
  padding: 22px;
}
.metric {
  font-family: "Fraunces", Georgia, serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.person {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(8,47,42,.08);
}
.person-art {
  min-height: 130px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dff4ef, #eaf1f8);
}
.avatar {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 5px solid white;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 34px;
}
.person-body { padding: 18px; }
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 900;
  font-size: 12px;
  background: #e6fbef;
  color: #046c45;
}
.grade {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gold);
  color: #3b2500;
  font-weight: 900;
  font-size: 24px;
}
.grade.bad { background: #fde2e2; color: #b91c1c; }
.profile-hero {
  background:
    linear-gradient(90deg, rgba(8,47,42,.98), rgba(8,47,42,.88)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 96px);
  padding: 52px 22px;
}
.profile-card {
  max-width: 1180px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 26px;
}
.profile-top {
  display: flex;
  gap: 20px;
  align-items: center;
}
.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e8f2ef;
  border: 4px solid var(--ink);
  font-size: 54px;
  color: var(--ink);
}
.profile-card h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 0;
}
.grade-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.grade-box {
  width: 86px;
  min-height: 86px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eaf7f2;
  color: var(--ink);
  font-weight: 900;
}
.grade-box strong {
  display: block;
  font-size: 34px;
}
.table-card {
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  background: var(--ink);
  color: white;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
th, td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.footer {
  background: #171412;
  color: #d8d0c7;
  text-align: center;
  padding: 34px 22px;
  font-size: 14px;
}
.empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fbfff9;
  padding: 26px;
}
@media (max-width: 880px) {
  .nav-inner { align-items: flex-start; }
  .nav-links { justify-content: flex-start; }
  .state-grid,
  .profile-card {
    grid-template-columns: 1fr;
  }
  .cards,
  .people-grid,
  .score-strip {
    grid-template-columns: 1fr;
  }
  .grade-row { justify-content: flex-start; }
  .hero { padding-top: 58px; }
}

