:root {
  --ink: #151815;
  --muted: #646b65;
  --line: #d9ddd8;
  --paper: #fff;
  --soft: #f3f5f1;
  --area: #7f9c4e;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
.site-header, footer {
  min-height: 3.2rem; padding: .8rem clamp(1rem, 4vw, 4rem); display: flex;
  align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700;
}
.sheet { max-width: 1240px; margin: auto; border-inline: 1px solid var(--line); }
.hero {
  min-height: 360px; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: minmax(280px, .85fr) 1.5fr; align-items: center;
  gap: 3rem; border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 1.2rem; color: var(--muted); font-size: .8125rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0; overflow-wrap: anywhere; font: clamp(3.5rem, 8vw, 7.5rem)/.88 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.area-code { margin: 1.2rem 0 0; color: var(--area); font-size: 1rem; font-weight: 900; letter-spacing: .2em; }
.area-navigation { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.area-navigation a { font-size: .9rem; font-weight: 700; }
#area-map { width: 100%; max-height: 330px; }
#area-map path { fill: var(--area); stroke: #fff; stroke-width: .35; }
.loading, .notice { margin: 0; padding: 1rem clamp(1rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); font-size: .9rem; }
.notice { color: #5c4b16; background: #fff9e8; }
[hidden] { display: none !important; }
.data-section { border-bottom: 1px solid var(--line); }
.section-heading { padding: 1.35rem clamp(1rem, 4vw, 3.5rem); display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; border-bottom: 1px solid var(--line); }
.section-heading p { margin: 0; color: var(--area); font-weight: 900; }
h2 { margin: 0; font: 2rem/1 Georgia, "Times New Roman", serif; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric { min-height: 165px; padding: 1.25rem; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-label { display: block; min-height: 2.2em; color: var(--muted); font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.metric-value { overflow-wrap: anywhere; display: block; margin-top: 1rem; font: clamp(1.6rem, 3vw, 3rem)/1 Georgia, "Times New Roman", serif; }
.metric-meta { display: block; margin-top: .7rem; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.score { margin-top: .9rem; display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .8125rem; }
.score-track { height: 4px; flex: 1; background: #e5e8e3; }
.score-fill { height: 100%; width: calc(var(--score) * 10%); display: block; background: var(--area); }
.territories { border-top: 1px solid var(--line); }
summary { padding: 1rem clamp(1rem, 4vw, 3.5rem); cursor: pointer; font-size: .9rem; font-weight: 800; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { padding: .75rem clamp(.7rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); background: var(--soft); text-transform: uppercase; font-size: .8125rem; letter-spacing: .05em; }
.caveat { margin: 0; padding: 1rem clamp(1rem, 4vw, 3.5rem); border-top: 1px solid var(--line); color: var(--muted); font: .95rem/1.6 Georgia, serif; }
.sources > #sources { padding: 1.25rem clamp(1rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.source { padding: 1rem; border: 1px solid var(--line); }
.source strong, .source span { display: block; }
.source span { margin-top: .35rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.sources details { border-top: 1px solid var(--line); }
.area-profile-content { padding: 1.25rem clamp(1rem, 4vw, 3.5rem); }
.area-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.area-profile-grid dt,
.area-profile-grid dd { margin: 0; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.area-profile-grid dt { color: var(--muted); }
.area-profile-grid dd { text-align: right; font-weight: 800; }
.area-profile-details { margin-top: 1rem; border: 1px solid var(--line); }
.area-profile-details summary { padding: .85rem 1rem; }
.area-profile-details-content { padding: 0 1rem 1rem; }
.area-profile-details-content p { margin: .55rem 0; overflow-wrap: anywhere; color: var(--muted); font-size: .875rem; }
.area-profile-details-content a { overflow-wrap: anywhere; }
.area-profile-warning { margin: .45rem 0 0; padding: .65rem .75rem; border-left: 4px solid #8a4b00; color: #713d00 !important; background: #fff8ee; font-size: .875rem; font-weight: 800; line-height: 1.4; text-align: left; }
.sources ul { margin: 0; padding: 0 clamp(2.5rem, 6vw, 6rem) 1.5rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }
footer { border-top: 0; border-bottom: 0; color: var(--muted); font-weight: 400; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
summary:focus-visible { border-radius: 2px; }

@media (max-width: 760px) {
  .site-header span { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 1.5rem; }
  .sheet { border-inline: 0; }
  h1 { overflow-wrap: anywhere; font-size: clamp(3.2rem, 18vw, 5.5rem); }
  #area-map { max-height: 220px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 140px; padding: 1.15rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .sources > #sources { grid-template-columns: 1fr; }
  .area-profile-grid { grid-template-columns: 1fr; }
  .area-profile-grid dd { text-align: left; padding-top: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
