:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66625d;
  --paper: #fffdf9;
  --soft: #f3f0ea;
  --rule: #c9c4bb;
  --strong-rule: #232323;
  --accent: #8d241f;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { left: 0; }

.site-header,
.site-main,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.utility-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  min-height: 104px;
  border-bottom: 3px double var(--strong-rule);
}

.masthead h1 {
  margin: 0 0 .65rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
}

.masthead-note {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .78rem;
}
.masthead-note:last-child { text-align: right; }

.category-nav {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: .65rem 0;
  border-bottom: 1px solid var(--strong-rule);
  white-space: nowrap;
  font-weight: 700;
  font-size: .86rem;
}
.category-nav a { text-decoration: none; }

.section-kicker,
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.filter-bar {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: .75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.filter-label { font-weight: 700; }
.filter-control { display: grid; gap: .25rem; }
.filter-control span { color: var(--muted); font-size: .7rem; }
.filter-control select,
.filter-reset {
  min-height: 36px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
}
.filter-control select { width: 100%; padding: .25rem 1.8rem .25rem .5rem; }
.filter-reset { padding: .25rem .7rem; cursor: pointer; }
.filter-count { margin: .45rem 0 0; color: var(--muted); font-size: .75rem; }

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, .8fr);
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.front-main { min-width: 0; }
.lead-story {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--strong-rule);
}
.lead-story h2,
.article-header h1 {
  margin: .35rem 0 .65rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.35;
}
.lead-story h2 { font-size: clamp(1.65rem, 3.3vw, 2.7rem); }
.article-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

.standfirst {
  margin: 0 0 .8rem;
  color: #373432;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
}

.story-meta,
.article-facts {
  color: var(--muted);
  font-size: .76rem;
}
.story-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; }

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--strong-rule);
}
.brief-story {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.brief-story:nth-child(even) {
  padding-right: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}
.brief-story h3 {
  margin: .3rem 0 .5rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  line-height: 1.45;
}
.brief-story p { margin: 0; }

.timeline {
  padding-left: 1.25rem;
  border-left: 1px solid var(--strong-rule);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--strong-rule);
}
.timeline-header h2 { margin: 0; font-size: 1.05rem; }
.timeline-list { list-style: none; margin: 0; padding: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: .65rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.timeline-item time { color: var(--accent); font-size: .72rem; font-weight: 700; }
.timeline-item h3 { margin: 0; font-size: .91rem; line-height: 1.5; }
.timeline-item p { margin: .2rem 0 0; color: var(--muted); font-size: .72rem; }

.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.tag { padding: .05rem .4rem; border: 1px solid var(--rule); color: var(--muted); font-size: .68rem; }

.empty-state {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--rule);
}

.article-page { max-width: 980px; }
.breadcrumb { padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: .78rem; }
.article-header { padding: 2rem 0 1.4rem; border-bottom: 2px solid var(--strong-rule); }
.original-title { margin: .5rem 0 0; color: var(--muted); font-size: .86rem; }
.article-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 2rem;
  border-bottom: 1px solid var(--strong-rule);
}
.article-facts div { padding: .75rem .75rem .75rem 0; border-right: 1px solid var(--rule); }
.article-facts div:nth-child(3n) { padding-left: .75rem; border-right: 0; }
.article-facts dt { margin-bottom: .15rem; color: var(--muted); font-size: .67rem; }
.article-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.article-body {
  max-width: 720px;
  margin-inline: auto;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.05rem;
  line-height: 2;
}
.article-body p { margin: 0 0 1.4em; white-space: pre-wrap; }
.source-cta {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1rem 0;
  border-block: 1px solid var(--strong-rule);
  font-weight: 700;
}
.source-cta small { display: block; color: var(--muted); font-weight: 400; }

.source-detail-section {
  max-width: 820px;
  margin: 2.25rem auto 0;
  border-top: 2px solid var(--strong-rule);
}
.source-detail-section h2 {
  margin: 0;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
}
.claim-list,
.plain-record-list { margin: 0; padding: 0; list-style: none; }
.claim-row,
.plain-record-list li { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.claim-heading { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; }
.claim-id { font-weight: 700; letter-spacing: .03em; }
.claim-status { color: var(--muted); text-align: right; }
.claim-text { margin: .35rem 0 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.claim-locator { margin: .35rem 0 0; color: var(--muted); font-size: .72rem; }
.claim-locator dt, .claim-locator dd { display: inline; margin: 0; }
.claim-locator dt:not(:first-child)::before { content: " / "; }
.plain-record-list li { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1rem 0 2rem;
  border-top: 3px double var(--strong-rule);
  color: var(--muted);
  font-size: .72rem;
}

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .masthead { grid-template-columns: 1fr; min-height: auto; padding-top: 1rem; }
  .masthead-note { display: none; }
  .masthead h1 { margin: .5rem 0 1rem; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-label, .filter-reset { grid-column: span 2; }
  .front-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; border-left: 0; }
  .article-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-facts div:nth-child(3n) { padding-left: 0; border-right: 1px solid var(--rule); }
  .article-facts div:nth-child(even) { padding-left: .75rem; border-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .site-header, .site-main, .site-footer { width: min(calc(100% - 22px), var(--max)); }
  .utility-line { font-size: .65rem; }
  .category-nav { gap: 1rem; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-label, .filter-reset { grid-column: auto; }
  .secondary-grid { grid-template-columns: 1fr; }
  .brief-story, .brief-story:nth-child(even) { padding: .9rem 0; border-left: 0; }
  .timeline-item { grid-template-columns: 4.1rem 1fr; }
  .article-facts { grid-template-columns: 1fr; }
  .article-facts div,
  .article-facts div:nth-child(3n),
  .article-facts div:nth-child(even) { padding: .65rem 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .article-body { font-size: 1rem; }
  .claim-heading { display: block; }
  .claim-status { text-align: left; }
  .site-footer { display: block; }
}

@media print {
  .filter-bar, .filter-count, .category-nav, .skip-link, script { display: none !important; }
  body { background: white; }
  a { text-decoration: none; }
}
