:root {
  --paper: #ece7dc;
  --paper-warm: #e3dccf;
  --paper-light: #f5f1e8;
  --ink: #24211c;
  --ink-soft: #5d584e;
  --rule: #8f877a;
  --rule-soft: rgba(72, 66, 57, 0.24);
  --rust: #873f28;
  --rust-dark: #63301f;
  --olive: #696b5b;
  --blue-gray: #65717a;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  background: #d8d1c4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 50%, transparent 50%) 0 0 / 100% 4px,
    var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.42;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: #caa18c;
  color: var(--ink);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  text-wrap: balance;
}

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

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

.proof-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #111;
  background: #181714;
  color: #e8e1d5;
  font: 700 10px/1.3 var(--sans);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.newspaper-header,
.front-page,
.edition-section,
.history-desk,
.desk-note {
  width: var(--page);
  margin-inline: auto;
}

.newspaper-header {
  padding-top: 18px;
}

.edition-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font: 650 10px/1.35 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.edition-line span:nth-child(2) {
  text-align: center;
}

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

.masthead-logo {
  display: block;
  width: clamp(290px, 44vw, 560px);
  margin: 22px auto 8px;
}

.masthead-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding: 12px 0 16px;
  border-bottom: 4px double var(--ink);
}

.masthead-title h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.masthead-title p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font: 650 9px/1.4 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.masthead-title p:last-child {
  text-align: right;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 13px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--rule);
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex: none;
  color: var(--ink-soft);
  font: 750 10px/1.2 var(--sans);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-nav a:hover {
  color: var(--rust);
}

.front-page,
.edition-section,
.history-desk {
  padding: 34px 0 48px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 2fr 0.9fr;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0 14px;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--rule);
}

.section-heading-tight {
  padding-top: 10px;
  border-top: 0;
}

.section-heading p,
.section-heading span {
  margin: 0;
  color: var(--ink-soft);
  font: 700 10px/1.35 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading span {
  text-align: right;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  font-weight: 500;
  text-align: center;
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(220px, 3fr) minmax(210px, 2.4fr);
  gap: 24px;
  padding-top: 24px;
}

.front-grid > * + * {
  padding-left: 24px;
  border-left: 1px solid var(--rule-soft);
}

.story-image {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(41, 37, 32, 0.36);
  background: #c5bdaf;
}

.story-image img,
.history-grid img,
.memorial-card > img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.72) sepia(0.22) contrast(0.9) brightness(0.93);
  transition: filter 260ms ease, transform 350ms ease;
}

.story-image:hover img,
.history-grid article:hover img,
.memorial-card:hover > img {
  filter: grayscale(0.3) sepia(0.12) contrast(0.98);
  transform: scale(1.018);
}

.story-image-lead img {
  aspect-ratio: 5 / 3;
  object-position: 36% 56%;
}

.story-image-city img {
  object-position: center 35%;
}

.column-story-feature .story-image img,
.history-brief:last-child img {
  object-position: center 55%;
}

.story-copy {
  padding-top: 16px;
}

.kicker {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font: 750 9px/1.45 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker span {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 7px;
  background: var(--rust);
  color: #f6f0e7;
}

.lead-story h3 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.lead-story h3 a,
.support-story h3 a,
.column-story h3 a {
  text-decoration: none;
}

.lead-story h3 a:hover,
.support-story h3 a:hover,
.column-story h3 a:hover {
  color: var(--rust-dark);
}

.story-deck {
  max-width: 62ch;
  margin-bottom: 13px;
  color: #464139;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.source-note {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font: italic 0.79rem/1.4 var(--serif);
}

.story-figure figcaption,
.photo-credit {
  margin: 7px 0 12px;
  color: var(--ink-soft);
  font: 650 0.66rem/1.42 var(--sans);
  letter-spacing: 0.035em;
}

.story-figure figcaption {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}

.photo-credit a {
  color: var(--rust-dark);
  font-weight: 800;
}

.photo-credit-dark {
  margin-top: 16px !important;
  color: #9f9b93 !important;
}

.photo-credit-dark a {
  color: #d3a47d;
}

.read-link {
  color: var(--rust-dark);
  font: 800 10px/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.supporting-stories {
  display: grid;
  align-content: start;
  gap: 24px;
}

.support-story + .support-story {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.support-story .story-image {
  margin-bottom: 13px;
}

.support-story h3,
.column-story h3,
.history-grid h3,
.memorial-card h3 {
  margin-bottom: 9px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.support-story > p:last-child,
.column-story > p:last-child {
  margin-bottom: 0;
  color: #504a41;
  font-size: 0.94rem;
}

.bulletin-rail {
  align-self: start;
  padding: 16px 16px 18px !important;
  border: 1px solid var(--ink) !important;
  background: rgba(247, 242, 232, 0.48);
}

.rail-title {
  padding-bottom: 12px;
  border-bottom: 3px double var(--ink);
  text-align: center;
}

.rail-title p {
  margin-bottom: 4px;
  color: var(--rust);
  font: 800 9px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-title h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
}

.bulletin-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bulletin-rail li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.bulletin-rail time {
  display: block;
  margin-bottom: 4px;
  color: var(--rust);
  font: 800 8px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bulletin-rail li a {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
}

.rail-button {
  display: block;
  margin-top: 16px;
  padding: 11px 12px;
  background: var(--ink);
  color: var(--paper-light);
  font: 800 9px/1.25 var(--sans);
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.department-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-warm);
}

.department-strip p,
.department-strip ul {
  margin: 0;
}

.department-strip p {
  font-size: 0.95rem;
}

.department-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  color: var(--ink-soft);
  font: 750 9px/1.3 var(--sans);
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--olive);
}

.dot.developing {
  background: #a7762f;
}

.dot.research {
  background: var(--blue-gray);
}

.dot.commentary {
  border: 1px solid var(--ink-soft);
  background: transparent;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 24px;
}

.column-story {
  padding: 0 24px;
}

.column-story:first-child {
  padding-left: 0;
}

.column-story:last-child {
  padding-right: 0;
}

.column-story + .column-story {
  border-left: 1px solid var(--rule-soft);
}

.column-story .story-image {
  margin-bottom: 15px;
}

.class-record {
  display: flex;
  flex-direction: column;
}

.class-mark {
  display: grid;
  place-items: center;
  min-height: 218px;
  margin-bottom: 15px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at center, rgba(135, 63, 40, 0.12), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(70, 64, 55, 0.07) 47px 48px),
    var(--paper-warm);
  color: var(--rust-dark);
  font: 500 clamp(2.2rem, 4vw, 4rem)/0.8 var(--serif);
  text-align: center;
}

.class-mark b {
  font-size: 1.2rem;
}

.archive-edition {
  padding: 48px max(24px, calc((100vw - 1180px) / 2));
  background: #1f211e;
  color: #e9e3d8;
}

.archive-edition .section-heading,
.archive-grid {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.section-heading.inverted {
  border-color: #ded6c8;
}

.section-heading.inverted p,
.section-heading.inverted span {
  color: #aaa69d;
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 44px;
  padding-top: 28px;
}

.memorial-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
}

.memorial-card > img {
  aspect-ratio: 4 / 5;
  border: 1px solid #665f55;
  object-position: center top;
}

.memorial-card h3 {
  font-size: clamp(2rem, 3.7vw, 4.2rem);
}

.memorial-card p:not(.kicker) {
  color: #bfb9af;
}

.read-link.light {
  color: #d3a47d;
}

.record-index {
  border-top: 1px solid #777166;
}

.index-title {
  margin: 0;
  padding: 13px 0;
  color: #aaa69d;
  font: 800 9px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.record-index a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 12px;
  padding: 15px 0;
  border-top: 1px solid #4d4d47;
  text-decoration: none;
}

.record-index span {
  grid-row: 1 / 3;
  color: #b7714f;
  font: 600 1.15rem/1 var(--serif);
}

.record-index strong {
  font-size: 1.08rem;
}

.record-index small {
  color: #98958e;
  font: 600 8px/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.history-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 24px;
  padding-top: 24px;
}

.history-grid article + article {
  padding-left: 24px;
  border-left: 1px solid var(--rule-soft);
}

.history-lead {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(220px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.history-lead img,
.history-brief img {
  margin-bottom: 14px;
  border: 1px solid rgba(41, 37, 32, 0.36);
}

.history-lead p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.desk-note {
  margin-bottom: 54px;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid var(--ink);
  background: var(--paper-light);
  text-align: center;
}

.desk-note h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.3vw, 4.6rem);
  font-weight: 500;
}

.desk-note > p:not(.kicker) {
  max-width: 70ch;
  margin: 0 auto 20px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.desk-note > a {
  color: var(--rust-dark);
  font: 800 10px/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.newspaper-footer {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  align-items: center;
  gap: 28px;
  padding: 40px max(24px, calc((100vw - 1180px) / 2));
  background: #171815;
  color: #dbd5c9;
}

.newspaper-footer img {
  max-width: 260px;
}

.newspaper-footer strong {
  font-size: 1.2rem;
}

.newspaper-footer p {
  margin: 4px 0 0;
  color: #96938c;
  font: 600 9px/1.5 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.newspaper-footer > p {
  text-align: right;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 36px, 900px);
  }

  .masthead-title {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }

  .masthead-title p,
  .masthead-title p:last-child {
    margin: 0;
    text-align: center;
  }

  .masthead-title h1 {
    grid-row: 1;
  }

  .front-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.9fr);
  }

  .lead-story {
    grid-column: 1;
  }

  .supporting-stories {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 24px;
    padding-left: 0 !important;
    border-top: 1px solid var(--rule);
    border-left: 0 !important;
  }

  .support-story + .support-story {
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid var(--rule-soft);
  }

  .bulletin-rail {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }

  .section-heading span {
    text-align: center;
  }

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

  .record-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-title {
    grid-column: 1 / -1;
  }

  .history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-lead {
    grid-column: 1 / -1;
  }

  .history-grid .history-brief:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .newspaper-footer {
    grid-template-columns: 220px 1fr;
  }

  .newspaper-footer > p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100% - 28px);
  }

  .proof-strip {
    padding-inline: 14px;
    font-size: 8px;
  }

  .proof-strip span:last-child {
    text-align: right;
  }

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

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

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

  .masthead-logo {
    width: min(88vw, 420px);
    margin-top: 18px;
  }

  .masthead-title h1 {
    white-space: normal;
  }

  .category-nav {
    width: 100vw;
    justify-content: flex-start;
    margin-inline: calc((100vw - var(--page)) / -2);
    padding-inline: 14px;
  }

  .front-page,
  .edition-section,
  .history-desk {
    padding-block: 25px 36px;
  }

  .front-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .front-grid > * + * {
    padding-left: 0;
    border-left: 0;
  }

  .lead-story,
  .supporting-stories,
  .bulletin-rail {
    grid-column: 1;
    grid-row: auto;
  }

  .lead-story h3 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
  }

  .bulletin-rail {
    order: 2;
  }

  .supporting-stories {
    grid-template-columns: 1fr;
    order: 3;
    border-top: 3px double var(--ink);
  }

  .support-story + .support-story {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .department-strip {
    display: block;
  }

  .department-strip p {
    margin-bottom: 12px;
  }

  .department-strip ul {
    gap: 10px 18px;
  }

  .three-column,
  .archive-grid,
  .memorial-card,
  .history-grid,
  .history-lead,
  .record-index {
    grid-template-columns: 1fr;
  }

  .column-story {
    padding: 0;
  }

  .column-story + .column-story {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .archive-edition {
    padding: 38px 14px;
  }

  .memorial-card {
    gap: 20px;
  }

  .memorial-card > img {
    max-height: 560px;
  }

  .record-index a {
    padding-block: 17px;
  }

  .history-lead {
    display: grid;
  }

  .history-grid article + article {
    margin-top: 22px;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--rule-soft);
    border-left: 0;
  }

  .desk-note {
    width: calc(100% - 28px);
    margin-bottom: 30px;
  }

  .newspaper-footer {
    grid-template-columns: 1fr;
    padding-inline: 24px;
  }

  .newspaper-footer > p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
