:root {
  --ink: #16171a;
  --paper: #fcfcfa;
  --muted: #787b80;
  --rule: #e2e2dd;
  --accent: #1f5f8b;
  --serif: "Source Serif 4", "Charter", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 20;
}

.skip:focus { left: 12px; top: 12px; }

.column {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.head { padding-top: 22px; }

.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.mark {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.mark a { color: inherit; text-decoration: none; }

.nav { flex: 1 1 auto; min-width: 0; }

.tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-end;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs button {
  flex: 0 0 auto;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.tabs button:hover { color: var(--ink); }

.tabs button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }

.head-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

.stamp { color: var(--muted); font-variant-numeric: tabular-nums; }

main { padding-top: 30px; padding-bottom: 64px; }

.lead-in {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}

.hero { padding-bottom: 30px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }

.hero .story-media { aspect-ratio: 16 / 7; overflow: hidden; background: #efefea; margin-bottom: 20px; }

.hero .story-media img { width: 100%; height: 100%; object-fit: cover; }

.hero .story-cat { margin-bottom: 8px; }

.hero .story-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 14px;
  max-width: 24ch;
}

.hero .story-desc {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: #3c4046;
  max-width: 62ch;
}

.story { margin: 0 0 22px; }

.story-cat {
  margin: 0 0 5px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-title {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.012em;
}

.story-title a { text-decoration: none; }

.story-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.story-desc { margin: 0 0 6px; font-size: 15px; color: #4c5057; max-width: 60ch; }

.story-meta {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feed .story {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}

.feed .story-media {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efefea;
  order: 2;
}

.feed .story-media img { width: 100%; height: 100%; object-fit: cover; }

.feed .story-body { grid-column: 1; grid-row: 1; }

.feed .story-desc { font-size: 14.5px; }

.sponsored {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0 2px;
  margin: 0 0 26px;
}

.sponsored-title {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.sponsored-list { display: grid; grid-template-columns: 1fr; gap: 18px 30px; }

.sponsored .story {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 0 0 16px;
  margin: 0;
  border: 0;
}

.sponsored .story-media {
  grid-column: 1;
  grid-row: 1;
  width: 96px;
  height: 96px;
  aspect-ratio: auto;
  overflow: hidden;
}

.sponsored .story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sponsored .story-body { grid-column: 2; grid-row: 1; }

.sponsored .story-title { font-size: 16px; }

.sponsored .story-desc { display: none; }

.sponsored .story-cat { color: var(--muted); }

.feed-note { font-size: 14px; color: var(--muted); padding: 28px 0; }

.foot { border-top: 1px solid var(--rule); padding: 30px 0 40px; }

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.foot-mark { margin: 0 0 4px; font-family: var(--serif); font-size: 19px; font-weight: 600; }

.foot-note { margin: 0; font-size: 13px; color: var(--muted); }

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; }

.foot-links a { color: var(--muted); text-decoration: none; }

.foot-links a:hover { color: var(--ink); }

.copyright {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 14px 24px 0;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .head-row { align-items: center; }
  .nav { flex-basis: 100%; order: 3; }
  .tabs { justify-content: flex-start; }
  .feed .story { grid-template-columns: 1fr 96px; gap: 16px; }
  .hero .story-media { aspect-ratio: 16 / 10; }
  .sponsored-list { grid-template-columns: 1fr; }
}

/* document pages */
.page-doc { background: var(--paper); }

.doc-head { border-bottom: 1px solid var(--rule); }

.doc-head-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 12.5px;
}

.doc-brand { font-family: var(--serif); font-size: 19px; font-weight: 600; text-decoration: none; }

.doc-back { color: var(--muted); text-decoration: none; }

.doc-back:hover { color: var(--ink); }

.doc-main { max-width: 760px; margin: 0 auto; padding: 46px 24px 62px; }

.doc-kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.doc-title {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 600;
}

.doc-body { font-family: var(--serif); font-size: 17px; line-height: 1.72; color: #2f3338; }

.doc-body h2 { font-family: var(--sans); font-size: 16px; letter-spacing: .01em; margin: 32px 0 10px; }

.doc-body p { margin: 0 0 15px; }

.doc-body ul { margin: 0 0 16px; padding-left: 20px; }

.doc-body li { margin-bottom: 7px; }

.doc-body a { color: var(--accent); }

.doc-foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 48px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  color: var(--muted);
}

.doc-foot a { color: var(--muted); }

.doc-foot p { margin: 0 0 8px; }

@media (max-width: 640px) {
  .tabs { flex-wrap: wrap; overflow: visible; row-gap: 4px; }
}

.feed-more {
  margin: 30px 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feed-more[hidden] { display: none; }

.feed-more button {
  appearance: none;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, .28);
  padding: 11px 26px;
  font: inherit;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s ease, opacity .15s ease;
}

.feed-more button:hover { border-color: currentColor; }
.feed-more button[hidden] { display: none; }

.feed-more p {
  margin: 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .5);
}

.feed-sentinel { height: 1px; width: 100%; }

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.hero .story-desc { -webkit-line-clamp: 4; }

.sponsored .story-desc { -webkit-line-clamp: 2; }
