:root {
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #e2e2e2;
  --paper: #ffffff;
  --soft: #f6f4ef;
  --live: #c40000;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --display: "Fraunces", "Times New Roman", Times, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
}

img { max-width: 100%; display: block; background: #ece7df; }

a { color: inherit; }

button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 5;
}

.skip:focus { top: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header { margin-bottom: 1.4rem; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.9rem;
}

.edition { justify-self: center; letter-spacing: 0.08em; text-transform: uppercase; }

.wordmark {
  display: block;
  margin: 0;
  text-align: center;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: 0.86;
  padding: 0.15rem 0 0.15rem;
}

h1.wordmark a { color: inherit; text-decoration: none; }

.established {
  margin: 0.35rem 0 0.7rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-wrap {
  border-top: 1px solid var(--ink);
  border-bottom: 4px double var(--ink);
}

.sections {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0.55rem 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
}

.sections a { text-decoration: none; }

.sections a:hover,
.sections a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28rem; }

.menu-btn { display: none; }

.text-btn, .subscribe, .menu-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
}

.text-btn {
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.subscribe {
  background: var(--ink);
  color: #fff;
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subscribe:hover { background: #2b2b2b; }

.ticker {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  margin: 0.85rem 0 0;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.ticker a { text-decoration: none; }
.ticker a:hover { text-decoration: underline; }

.live {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--live);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.front {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.85fr);
  gap: 0 2rem;
  align-items: start;
}

.lead { padding-right: 2rem; border-right: 1px solid var(--line); }

.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead h2 a, .story h3 a, .latest a, .result a { text-decoration: none; }

.lead h2 a:hover, .story h3 a:hover, .latest a:hover, .result a:hover { text-decoration: underline; text-underline-offset: 0.12em; }

.deck {
  margin: 0.75rem 0 0;
  font-size: 1.22rem;
  line-height: 1.35;
  color: #333;
}

.byline, .meta {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}

.lead figure { margin: 1rem 0 0; }

figcaption {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.related {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.related li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }

.related a {
  font-family: var(--serif);
  font-weight: 600;
  text-decoration: none;
}

.related a:hover { text-decoration: underline; }

.rail { padding-top: 0.15rem; }

.rail-title, .block-title, .latest h2, .section-kicker {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.35rem;
}

.opinion + .opinion { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.opinion h3,
h3.opinion-title {
  margin: 0.2rem 0 0;
  font-size: 1.38rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.6rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.col + .col { border-left: 1px solid var(--line); padding-left: 1.6rem; }

.story + .story { margin-top: 1.05rem; padding-top: 1.05rem; border-top: 1px solid var(--line); }

.story h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.38rem;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.story .dek {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: #333;
}

.story img { margin-top: 0.7rem; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.latest { margin-top: 2.2rem; }

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

.latest li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.35rem 0.8rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.latest li::before {
  content: counter(item);
  counter-increment: item;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.latest ol { counter-reset: item; }

.latest a { font-size: 1.2rem; font-weight: 600; }

.latest .meta { margin: 0.15rem 0 0; }

.section-page h1 {
  margin: 0.2rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.section-list { margin-top: 1.5rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(220px, 280px);
  gap: 2.5rem;
  justify-content: center;
  align-items: start;
}

.article-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-kicker a { text-decoration: none; }
.article-kicker a:hover { text-decoration: underline; }

.article-layout h1 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.article-layout .deck { font-size: 1.28rem; }

.article-figure { margin: 1.1rem 0 0; }

.article-body { margin-top: 1.3rem; font-size: 1.16rem; line-height: 1.55; }

.article-body p { margin: 0 0 1rem; }

.article-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.4rem;
  line-height: 0.75;
  padding: 0.12rem 0.45rem 0 0;
  font-weight: 700;
}

.pull {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.3;
}

.side-story + .side-story { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }

.side-story h3 { margin: 0.25rem 0 0; font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.side-story a { text-decoration: none; }
.side-story a:hover { text-decoration: underline; }

.empty { font-family: var(--sans); }

.site-footer {
  margin-top: 3rem;
  background: #161616;
  color: #f4f1ea;
  font-family: var(--sans);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0 1.4rem;
}

.site-footer h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.7rem;
}

.site-footer p, .site-footer li { color: #d9d4cb; font-size: 0.92rem; line-height: 1.45; }

.site-footer ul { margin: 0; padding: 0; list-style: none; }

.site-footer li + li { margin-top: 0.35rem; }

.site-footer a { color: #fff; }

.legal {
  border-top: 1px solid #333;
  padding: 0.8rem 0 1.1rem;
  color: #bdb7ad;
  font-size: 0.8rem;
}

dialog {
  border: 1px solid var(--ink);
  padding: 0;
  width: min(34rem, calc(100% - 2rem));
}

dialog::backdrop { background: rgba(17, 17, 17, 0.48); }

.dialog-card { padding: 1.2rem 1.3rem 1.4rem; }

.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.dialog-card h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: 2rem;
}

.dialog-copy { margin: 0.7rem 0 0; color: #333; }

.dialog-card label {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-card input[type="email"],
.dialog-card input[type="search"] {
  width: 100%;
  margin: 0.45rem 0 1rem;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
}

.result { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.result a { display: block; font-weight: 600; }
.result span { display: block; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.form-note { margin: 0.8rem 0 0; font-family: var(--sans); font-size: 0.92rem; }

@media (max-width: 900px) {
  .front, .cols, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .lead { padding-right: 0; border-right: 0; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
  .rail { padding-top: 1.2rem; }
  .col + .col { border-left: 0; padding-left: 0; margin-top: 1.4rem; padding-top: 0.2rem; }
  .topbar { grid-template-columns: 1fr auto; }
  .edition { display: none; }
}

@media (max-width: 720px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
  }

  .topbar > div:first-child { display: contents; }

  .topbar time {
    flex: 1 0 100%;
    order: 3;
  }

  .topbar-actions { margin-left: auto; }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .sections { display: none; flex-direction: column; align-items: flex-start; padding: 0.4rem 0 0.7rem; }
  .sections.open { display: flex; }
  .wordmark { font-size: 3.1rem; }
  .article-body p:first-of-type::first-letter { font-size: 3.4rem; }
}

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