@import url("/shared/brand.css?v=20260807a");

:root {
  --ink: #181716;
  --ink-raised: #211f1d;
  --ink-soft: #2c2926;
  --paper: #ece6db;
  --paper-soft: #b6aea1;
  --muted: #7c756c;
  --line: rgba(236, 230, 219, 0.14);
  --line-strong: rgba(236, 230, 219, 0.38);
  --accent: #96705f;
  --accent-soft: rgba(150, 112, 95, 0.12);
  --shadow: 0 11px 0 rgba(0, 0, 0, 0.23);
}

html[data-theme="light"] {
  --ink: #eee9df;
  --ink-raised: #f6f1e8;
  --ink-soft: #e2dbcf;
  --paper: #262321;
  --paper-soft: #514a44;
  --muted: #777069;
  --line: rgba(38, 35, 33, 0.14);
  --line-strong: rgba(38, 35, 33, 0.38);
  --accent: #785343;
  --accent-soft: rgba(120, 83, 67, 0.09);
  --shadow: 0 11px 0 rgba(68, 52, 43, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 28px, color-mix(in srgb, var(--line) 28%, transparent) 29px),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
}

/* site chrome: shared/brand.css */

.front-page {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.masthead {
  padding: 18px 0 30px;
  border-top: 5px double var(--line-strong);
  border-bottom: 5px double var(--line-strong);
  text-align: center;
}

.issue-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.issue-line span:first-child {
  text-align: left;
}

.issue-line span:last-child {
  text-align: right;
}

.masthead h1 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 11vw, 8.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.masthead > p {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.section-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--line);
}

.section-filter button {
  padding: 7px 10px;
  background: transparent;
  border: 0;
  color: var(--paper-soft);
  font-size: 11px;
  cursor: pointer;
}

.section-filter button[aria-pressed="true"],
.section-filter button:hover,
.section-filter button:focus-visible {
  color: var(--accent);
}

.article-count {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 11px;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 6vw, 70px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-kicker,
.article-section,
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lead-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.lead-copy .story-deck {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.85;
  word-break: keep-all;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
}

.story-link::after {
  content: "→";
}

.lead-ledger {
  align-self: stretch;
  padding: 26px;
  background: var(--ink-raised);
  border-left: 3px solid var(--accent);
}

.lead-ledger > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.lead-ledger dl {
  display: grid;
  gap: 22px;
  margin: 0;
}

.lead-ledger dt {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
}

.lead-ledger dd {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line-strong);
}

.story-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: clamp(26px, 4vw, 42px);
  background: color-mix(in srgb, var(--ink-raised) 42%, transparent);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}

.story-card:hover,
.story-card:focus-visible {
  background: var(--ink-raised);
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.story-card h2 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}

.story-card .story-deck {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.8;
}

.story-meta {
  display: flex;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 10.5px;
}

.empty-state {
  padding: 70px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.editorial-standard {
  display: grid;
  grid-template-columns: 150px minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: start;
  margin-top: 68px;
  padding: 36px 0;
  border-top: 5px double var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.editorial-standard h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.4;
}

.editorial-standard > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.editorial-standard div p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.75;
}

.editorial-standard strong {
  display: block;
  margin-bottom: 6px;
  color: var(--paper);
}

.publication-note {
  max-width: 720px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.article-view {
  display: grid;
  width: min(1200px, calc(100% - 44px));
  grid-template-columns: 190px minmax(0, 820px);
  gap: clamp(48px, 8vw, 110px);
  justify-content: center;
  margin: 0 auto;
  padding: 72px 0 120px;
}

.article-rail {
  position: sticky;
  top: 100px;
  align-self: start;
}

.back-link {
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
}

.back-link::before {
  content: "←  ";
}

.issue-index {
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.issue-index > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.issue-index ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-index a {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.issue-index a:hover,
.issue-index a:focus-visible,
.issue-index a[aria-current="page"] {
  color: var(--accent);
}

.article-header {
  padding: 26px 0 54px;
  border-top: 5px double var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.article-deck {
  max-width: 730px;
  margin: 28px 0 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
  word-break: keep-all;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
}

.article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.article-actions button {
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper-soft);
  font-size: 11px;
  cursor: pointer;
}

.article-actions button:hover,
.article-actions button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.article-actions span {
  color: var(--muted);
  font-size: 10.5px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 570px) 190px;
  gap: clamp(36px, 7vw, 66px);
  padding: 58px 0 74px;
}

.article-body {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 2.05;
}

.article-body p {
  margin: 0;
  text-align: justify;
  text-justify: inter-character;
  word-break: normal;
  overflow-wrap: break-word;
}

.article-body p + p {
  margin-top: 1.55em;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--accent);
  font-size: 3.8em;
  font-weight: 600;
  line-height: 0.8;
}

.article-factbox {
  align-self: start;
  padding: 22px 0;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line-strong);
}

.article-factbox h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.article-factbox ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-factbox li {
  color: var(--paper-soft);
  font-size: 11px;
  line-height: 1.65;
}

.reporting-ledger {
  padding: 48px 0 58px;
  border-top: 5px double var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.reporting-ledger h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.ledger-column {
  padding: 24px;
  background: var(--ink-raised);
}

.ledger-column h3 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ledger-column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 16px;
}

.ledger-column li {
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.7;
}

.article-next {
  padding-top: 50px;
}

.article-next a {
  display: block;
  text-decoration: none;
}

.article-next span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.article-next strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

.article-next a:hover strong,
.article-next a:focus-visible strong {
  color: var(--accent);
}

@media (max-width: 900px) {
  .lead-story,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .lead-ledger {
    max-width: 520px;
  }

  .article-view {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-rail {
    position: static;
  }

  .issue-index {
    display: none;
  }

  .article-factbox {
    max-width: 570px;
  }
}

@media (max-width: 680px) {
  .front-page,
  .article-view {
    width: min(100% - 30px, 820px);
  }

  .front-page {
    padding-top: 30px;
  }

  .issue-line {
    grid-template-columns: 1fr 1fr;
  }

  .issue-line span:nth-child(2) {
    text-align: right;
  }

  .issue-line span:last-child {
    display: none;
  }

  .masthead h1 {
    font-size: clamp(3.5rem, 22vw, 6rem);
  }

  .masthead > p {
    font-size: 0.78rem;
  }

  .story-grid,
  .editorial-standard,
  .editorial-standard > div,
  .ledger-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 0;
  }

  .editorial-standard {
    gap: 18px;
  }

  .editorial-standard > div {
    gap: 14px;
  }

  .article-view {
    padding-top: 34px;
  }

  .article-body p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* 2026 editorial reframe */
.masthead h1,
.lead-story h2,
.story-card h2,
.reporting-ledger h2,
.related-content h2,
.related-card strong {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.masthead h1 {
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.95;
}

.article-header h1 {
  font-family: var(--serif);
  font-weight: 600;
}
