@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2-variations"), url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2-variations"), url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #141414;
  --text: #2a2a2a;
  --muted: #5f5f5f;
  --rule: #d8d8d8;
  --pink: #ff2e89;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

/* The Take tag: the brand's pink highlight box */
.tag {
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.72rem;
  line-height: 1;
  padding: 5px 7px 4px;
  letter-spacing: 0.01em;
}
.kicker {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.8rem;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

/* Masthead */
.masthead {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
}
.mast-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
}
.dateline, .mast-links {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}
.mast-links { text-align: right; }
.mast-links a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.mast-links a:hover { border-color: var(--ink); }
.wordmark {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-align: center;
}
.wordmark a { text-decoration: none; }
.motto {
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin: 12px 0 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 3px 0 -1px var(--paper), 0 4px 0 -1px var(--ink);
}
.since { white-space: nowrap; }

/* Front page */
.front { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; }
.lead { padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.lead-link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.lead-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.lead-link:hover .lead-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lead-dek { font-size: 1.25rem; line-height: 1.45; margin: 0 0 18px; max-width: 34ch; color: var(--text); }
.lead-meta { margin: 0; display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.lead-img { width: 100%; max-height: 640px; object-fit: contain; object-position: right center; }

.rule-head {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1rem;
  color: var(--ink);
  margin: 28px 0 20px;
  padding-top: 10px;
  border-top: 3px solid var(--ink);
  display: inline-block;
}
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 40px;
}
.card a { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.card img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 12px; }
.card-title {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
  text-wrap: balance;
}
.card a:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.card-dek { font-size: 0.98rem; line-height: 1.45; color: var(--muted); margin-bottom: 10px; }
.card time, .more time { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-top: auto; }

/* Article */
.article { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 40px; }
.article article { max-width: 680px; margin: 0 auto; }
.article-head { margin-bottom: 28px; }
.headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.dek { font-size: 1.35rem; line-height: 1.4; color: var(--muted); margin: 0 0 22px; }
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
}
.byline time { color: var(--muted); }
.hero { margin: 0 auto 32px; max-width: 520px; }
.hero figcaption { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.body p { font-size: 1.22rem; line-height: 1.65; margin: 0 0 1.1em; color: var(--text); }
.body strong { color: var(--ink); }
.record {
  margin: 1.6em 0;
  padding: 18px 20px 6px;
  border: 2px solid var(--ink);
}
.record p { font-size: 1.15rem; line-height: 1.55; }
.record .record-label { display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 0.82rem; margin-bottom: 10px; color: var(--muted); }

.background, .carousel { margin-top: 40px; padding-top: 12px; border-top: 3px solid var(--ink); }
.background h2, .carousel h2, .more h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 16px;
}
.background p { font-size: 1.12rem; line-height: 1.65; margin: 0 0 1em; }
.background h3 { font-family: var(--sans); font-size: 0.85rem; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.sources { margin: 0; padding-left: 1.1em; font-size: 0.95rem; line-height: 1.5; }
.sources li { margin-bottom: 6px; }
.sources .pub { color: var(--muted); font-family: var(--sans); font-size: 0.78rem; margin-left: 4px; }

.carousel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.carousel-head p { margin: 0; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.slides {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 280px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.slides li { scroll-snap-align: start; }
.slides img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.disclosure { margin-top: 32px; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }

.more { max-width: 680px; margin: 48px auto 0; padding-top: 12px; border-top: 3px solid var(--ink); }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.more a { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.more img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 10px; }
.more-title { font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.more a:hover .more-title { text-decoration: underline; }

.notfound { max-width: 680px; margin: 0 auto; padding: 64px var(--gutter); }
.notfound h2 { font-size: 2.2rem; color: var(--ink); margin: 0 0 12px; }

/* Footer */
.site-footer {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 24px auto 0;
  padding: 20px 0 40px;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}
.site-footer .wordmark.small { font-size: 1.6rem; text-align: left; margin-bottom: 8px; }
.site-footer p { margin: 0 0 6px; }
.fine { font-size: 0.75rem; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mast-row { grid-template-columns: 1fr; gap: 0; }
  .dateline { order: 2; text-align: center; margin: 10px 0 0; }
  .mast-links { display: none; }
  .wordmark { order: 1; }
  .lead-link { grid-template-columns: 1fr; }
  .lead-img { order: -1; max-height: none; object-position: center; }
  .grid { grid-template-columns: 1fr; row-gap: 0; }
  .card { border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .card:first-child { padding-top: 0; }
  .card a { display: grid; grid-template-columns: 1fr 104px; grid-template-rows: auto auto auto 1fr; column-gap: 16px; }
  .card img { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .card .kicker, .card-title, .card-dek, .card time { grid-column: 1; }
  .card-dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .more ul { grid-template-columns: 1fr 1fr; }
  .more li:nth-child(3) { display: none; }
  .body p { font-size: 1.15rem; }
}
