:root {
  --paper: #fffdf8;
  --ink: #181613;
  --muted: #5f584c;
  --olive: #2f3a1f;
  --red: #8f1006;
  --wash: #f5f2eb;
  --hair: #ddd6c8;
  --rule: #1b1b1b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #e9e6df;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.paper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 34px 56px;
  background: var(--paper);
}

a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 16, 6, 0.25);
  overflow-wrap: anywhere;
}

a:hover {
  border-bottom-color: var(--red);
}

a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

p {
  margin: 0 0 0.8em;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0 0 0.9em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.3em;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin-top: 0;
}

.masthead {
  border-bottom: 2px solid var(--rule);
  padding-bottom: 10px;
}

.mast-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.mast-meta.bottom {
  border-top: 1px solid var(--hair);
  margin-top: 8px;
  padding-top: 6px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.mast-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 0 6px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 3.25rem;
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.mast-issue {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
  text-align: right;
  white-space: nowrap;
}

.tagline {
  margin: 4px 0 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.main-col {
  min-width: 0;
}

.rail {
  background: var(--wash);
  border: 1px solid var(--hair);
  padding: 15px;
  min-width: 0;
  align-self: start;
}

.rail-card {
  border-top: 2px solid var(--rule);
  padding-top: 8px;
  margin-bottom: 18px;
}

.rail-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.rail-card h2 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.as-of {
  font-weight: 400;
  color: #6b6b6b;
  letter-spacing: 0.04em;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
}

.lead h1 {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1.01;
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
  font-weight: 700;
}

.lead .deck {
  font-size: 1.16rem;
  line-height: 1.4;
  color: #3e3a32;
  font-style: italic;
  margin-bottom: 14px;
}

.lead p {
  font-size: 1.02rem;
  line-height: 1.62;
}

.secondaries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--hair);
  margin-top: 24px;
  padding-top: 18px;
}

.secondary h2 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 4px 0 6px;
}

.secondary .deck {
  font-style: italic;
  color: #4a453c;
  font-size: 0.98rem;
  line-height: 1.4;
}

.secondary p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.stat span {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.bars {
  display: grid;
  gap: 4px;
  margin: 6px 0 2px;
}

.bar {
  display: grid;
  grid-template-columns: 82px 1fr 26px;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 0.6rem;
  line-height: 1.2;
  color: var(--muted);
}

.bar span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar i {
  display: block;
  height: 6px;
  background: var(--olive);
  min-width: 3px;
}

.bar b {
  text-align: right;
  color: var(--ink);
  font-weight: 700;
}

.line-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.months {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  margin-top: 2px;
}

.weather {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.weather td {
  padding: 4px 2px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}

.weather td:first-child {
  font-weight: 700;
}

.numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.numbers li {
  margin-bottom: 6px;
}

.numbers strong {
  font-family: var(--serif);
  font-size: 1.02rem;
}

.section {
  border-top: 1px solid var(--hair);
  margin-top: 26px;
  padding-top: 16px;
}

.section h2 {
  font-size: 1.38rem;
  line-height: 1.1;
  margin: 0 0 10px;
}

.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}

.watch-item h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 3px;
}

.watch-item p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.briefs ul,
.events ul {
  margin: 0;
  padding-left: 1.1em;
}

.briefs li,
.events li {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.table-scroll {
  overflow-x: auto;
}

.agenda table,
.pipeline {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.agenda th,
.agenda td,
.pipeline td {
  border-bottom: 1px solid var(--hair);
  padding: 7px 6px;
  text-align: left;
  vertical-align: top;
}

.agenda th {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.pipeline td:last-child {
  text-align: right;
  white-space: nowrap;
}

.history {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  align-items: start;
}

.history img {
  width: 100%;
  display: block;
  filter: saturate(0.85);
}

.history h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.history p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.fine-print {
  font-size: 0.86rem;
  line-height: 1.5;
}

.fine-print h3 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 16px 0 6px;
}

.sources {
  columns: 2;
  column-gap: 26px;
  padding-left: 1.5em;
  font-size: 0.76rem;
  line-height: 1.4;
}

.sources li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.source-num {
  font-weight: 700;
  color: var(--red);
  margin-right: 2px;
}

.tier {
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.cite a {
  font-family: var(--sans);
  font-size: 0.62em;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
  color: var(--red);
  border-bottom: 0;
}

.credit {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6b6b6b;
}

.muted {
  color: #6b6b6b;
}

.colophon {
  border-top: 1px solid var(--hair);
  margin-top: 28px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px 14px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.archive-list li {
  border-top: 1px solid var(--hair);
  padding: 16px 0;
}

.archive-date {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.archive-list h2 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 3px 0 5px;
}

.archive-list p {
  font-size: 0.9rem;
  color: #4a453c;
}

.empty {
  margin-top: 24px;
  font-style: italic;
  color: #6b6b6b;
}

.about-body {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 1rem;
  line-height: 1.65;
}

.about-body h2 {
  font-size: 1.4rem;
  margin: 24px 0 6px;
}

.about-sources {
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .paper {
    padding: 18px 16px 40px;
  }

  .mast-meta {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .mast-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .wordmark {
    font-size: 2.3rem;
  }

  .mast-issue {
    text-align: left;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rail {
    border: 0;
    border-top: 2px solid var(--rule);
    padding: 14px 0 0;
    background: transparent;
  }

  .lead h1 {
    font-size: 2.15rem;
  }

  .lead .deck {
    font-size: 1.02rem;
  }

  .lead p {
    font-size: 1rem;
  }

  .secondaries {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .watch-grid {
    grid-template-columns: 1fr;
  }

  .history {
    grid-template-columns: 1fr;
  }

  .history img {
    max-height: 280px;
    object-fit: cover;
  }

  .sources {
    columns: 1;
  }

  .bar {
    grid-template-columns: 100px 1fr 30px;
    font-size: 0.66rem;
  }

  .colophon {
    flex-direction: column;
    gap: 4px;
  }

  .archive-list h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .wordmark {
    font-size: 2rem;
  }

  .lead h1 {
    font-size: 1.85rem;
  }

  .tagline {
    font-size: 0.92rem;
  }

  .agenda table,
  .pipeline {
    font-size: 0.78rem;
  }

  .agenda th,
  .agenda td,
  .pipeline td {
    padding: 6px 4px;
  }
}

@media print {
  html,
  body {
    background: #fff;
  }

  .paper {
    max-width: none;
    padding: 0;
  }

  .rail {
    background: transparent;
  }

  a {
    color: inherit;
    border-bottom: 0;
  }

  .colophon {
    display: none;
  }

  .section,
  .secondary,
  .rail-card {
    break-inside: avoid;
  }
}

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