:root {
  --paper: #f7f4ef;
  --surface: #fffdf9;
  --ink: #211f1c;
  --muted: #6d6861;
  --line: #dcd6cd;
  --red: #b62d2d;
  --red-dark: #842020;
  --soft-red: #f4d9d4;
  --green: #24714d;
  --measure: 72rem;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-color: #aaa198; text-underline-offset: .18em; }
a:hover { color: var(--red-dark); text-decoration-color: currentColor; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 2rem), var(--measure)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(247, 244, 239, .96); }
.header-row { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 760; font-size: 1.05rem; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: .8rem; height: .8rem; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--soft-red); }
.primary-nav { display: flex; align-items: center; gap: 1.4rem; font-size: .9rem; }
.primary-nav a { text-decoration: none; color: var(--muted); padding-block: 1.35rem; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.page-main { padding-block: 1.25rem 5rem; min-height: 70vh; }
.breadcrumbs { margin-block: 0 2.25rem; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #aaa39a; }
.page-intro { max-width: 53rem; padding-block: 1rem 2.1rem; }
.eyebrow { margin: 0 0 .7rem !important; color: var(--red-dark) !important; font-weight: 730; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .1em; }
.page-title-row { display: flex; align-items: flex-start; gap: 1rem; }
.page-intro h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 6vw, 4.6rem); font-weight: 500; line-height: .99; letter-spacing: -.045em; max-width: 14ch; text-wrap: balance; }
.page-intro > p { max-width: 47rem; margin: 1.25rem 0 0; color: #504c47; font-size: clamp(1.02rem, 2vw, 1.22rem); }
.region-crest { display: block; flex: 0 0 auto; object-fit: contain; transition: transform 160ms ease; }
.region-crest--title { width: 56px; height: 68px; }
.region-crest--summary { width: 25px; height: 30px; }
.region-crest--directory { width: 28px; height: 34px; }
.page-title-row.has-crest:hover .region-crest--title, .region-index a:hover .region-crest, .region-summary-link:hover .region-crest { transform: translateY(-2px); }
.freshness { border-block: 1px solid var(--line); padding-block: .72rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .79rem; }
.live-dot { display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); margin-right: .4rem; box-shadow: 0 0 0 3px #d9e9df; }
.live-dot.is-synthetic { background: #b7791f; box-shadow: 0 0 0 3px #f2e3c4; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stats div { padding: 1.25rem 1.4rem 1.35rem 0; border-right: 1px solid var(--line); }
.stats div + div { padding-left: 1.4rem; }
.stats div:last-child { border-right: 0; }
.stats dt { color: var(--muted); font-size: .78rem; }
.stats dd { margin: .2rem 0 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.1; }
.content-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(15rem, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .7rem; }
.section-heading h2, .side-summary h2, .region-index h2, .directory-section > h2, .definition h2, .news-list > h2, .prose h2 { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; }
.section-heading span { color: var(--muted); font-size: .78rem; }
.incident-list { list-style: none; padding: 0; margin: 0; }
.incident-row { display: grid; grid-template-columns: 8.3rem minmax(0, 1fr) auto; gap: 1.1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.incident-row > time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .78rem; padding-top: .15rem; white-space: nowrap; }
.incident-row h3 { font-size: 1rem; margin: 0; line-height: 1.35; }
.incident-row h3 a { text-decoration: none; }
.incident-row p { margin: .3rem 0 0; color: var(--muted); font-size: .84rem; }
.incident-row details { margin-top: .55rem; color: var(--muted); font-size: .82rem; }
.incident-row summary { cursor: pointer; width: fit-content; }
.incident-row details p { max-width: 46rem; }
.source-label { color: var(--muted); border: 1px solid var(--line); padding: .15rem .38rem; font-size: .68rem; line-height: 1.4; white-space: nowrap; }
.load-more { width: 100%; margin-top: 1.25rem; padding: .75rem 1rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-weight: 650; }
.load-more:hover { background: var(--ink); color: white; }
.load-more:disabled { cursor: wait; opacity: .55; }
.side-summary { border-top: 2px solid var(--ink); }
.side-summary section { padding-block: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); }
.side-summary h2 { font-size: 1.05rem; }
.side-summary p { color: var(--muted); font-size: .88rem; }
.side-summary ol, .side-summary ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.side-summary ol li a { display: flex; justify-content: space-between; gap: .75rem; padding: .43rem 0; text-decoration: none; font-size: .84rem; }
.side-summary ol li a.region-summary-link { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; }
.side-summary ol strong { font-variant-numeric: tabular-nums; color: var(--red-dark); }
.plain-links { columns: 2; }
.plain-links li { margin-bottom: .35rem; font-size: .84rem; }
.text-link { font-weight: 650; font-size: .88rem; text-decoration: none; }
.range-tabs { margin: 2rem 0 -1rem; display: flex; border-bottom: 1px solid var(--line); }
.range-tabs a { min-width: 5rem; text-align: center; padding: .65rem 1rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.range-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); font-weight: 700; }
.definition { margin-top: 2.5rem; max-width: 52rem; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.definition ul { columns: 2; padding-left: 1.1rem; }
.definition li { break-inside: avoid; margin: .45rem 1rem .45rem 0; color: var(--muted); }
.region-index { margin: 2.5rem 0 4rem; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.region-index ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem 1.5rem; list-style: none; padding: 0; }
.region-index a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: .65rem; min-height: 2.25rem; font-size: .9rem; }
.directory-section { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.letter-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin-block: 1.2rem 2.5rem; }
.letter-nav a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); text-decoration: none; font-size: .78rem; }
.letter-nav a:hover { border-color: var(--red); }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
.directory-grid section { scroll-margin-top: 1rem; }
.directory-grid h3 { margin: 0 0 .55rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); color: var(--red-dark); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.directory-grid ul { list-style: none; margin: 0; padding: 0; }
.directory-grid li { margin: .26rem 0; font-size: .86rem; }
.news-list, .prose, .article-index { margin-top: 3rem; max-width: 52rem; }
.news-list > ol { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 2px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-list time, .news-list span { color: var(--muted); font-size: .75rem; }
.news-list a { font-weight: 650; text-decoration: none; }
.prose { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.72; }
.prose h2 { margin-top: 2.6rem; font-size: 1.65rem; }
.prose h3 { margin-top: 2rem; font-size: 1.28rem; }
.prose p, .prose li { color: #37332f; }
.prose img { display: block; width: 100%; height: auto; margin-block: 2rem; }
.article-body > h1:first-child { display: none; }
.article-index { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.article-index article { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.article-index img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.75); }
.article-index h2 { margin: 0; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.article-index p { margin: .45rem 0 0; color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.not-found-action { margin-top: 2rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; background: #efebe4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 3rem; font-size: .82rem; color: var(--muted); }
.footer-grid strong { color: var(--ink); font-size: .95rem; }
.footer-grid p { margin: .4rem 0; }
.footer-grid nav { display: grid; align-content: start; gap: .4rem; }
@media (max-width: 800px) {
  .header-row { display: block; padding-top: 1rem; }
  .primary-nav { gap: 1rem; overflow-x: auto; }
  .primary-nav a { padding-block: .9rem; white-space: nowrap; }
  .page-main { padding-top: .8rem; }
  .breadcrumbs { margin-bottom: 1.3rem; }
  .page-intro { padding-block: .7rem 1.5rem; }
  .page-title-row { gap: .7rem; }
  .region-crest--title { width: 40px; height: 49px; }
  .page-intro h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .freshness { display: grid; }
  .stats { grid-template-columns: 1fr; }
  .stats div, .stats div + div { padding: .85rem 0; border-right: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
  .stats div:last-child { border-bottom: 0; }
  .stats dd { font-size: 1.5rem; }
  .content-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .incident-row { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  .incident-row > time { grid-column: 1 / -1; }
  .source-label { grid-column: 2; grid-row: 2; }
  .region-index ul, .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .definition ul { columns: 1; }
  .news-list li { grid-template-columns: 1fr auto; }
  .news-list time { grid-column: 1 / -1; }
  .article-index article { grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 460px) {
  .shell { width: min(calc(100% - 1.25rem), var(--measure)); }
  .primary-nav { justify-content: space-between; gap: .7rem; }
  .region-index ul, .directory-grid { grid-template-columns: 1fr 1fr; gap-inline: 1rem; }
  .incident-row { padding-block: .95rem; }
  .article-index article { grid-template-columns: 1fr; }
  .article-index img { max-height: 11rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
