:root {
  --ink: #151515;
  --muted: #66615d;
  --paper: #fffefa;
  --line: #d8dbd8;
  --soft: #f1f6f0;
  --coral: #bb3f32;
  --coral-dark: #8f2d24;
  --sage: #74836b;
  --gold: #b48a4a;
  --rail: #edf4f6;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
}

.utility-bar,
.masthead,
.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}

.edition {
  color: var(--coral-dark);
  font-weight: 800;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 6vw, 66px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: clamp(42px, 7vw, 68px);
  height: clamp(42px, 7vw, 68px);
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(16px, 2.3vw, 24px);
  letter-spacing: 0;
}

.subscribe,
.rail-ad button,
.copy-link {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 0 12px;
  color: #2b2926;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  scrollbar-width: none;
}

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

.top-ad {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 16px auto 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(187, 63, 50, 0.1), rgba(116, 131, 107, 0.16)),
    var(--soft);
}

.top-ad span,
.rail-ad span,
.mobile-ad span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.top-ad strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.top-ad em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  text-align: right;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 56px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.article {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.dek {
  margin-bottom: 26px;
  color: #403c38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.25;
}

.byline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.author p,
.story-meta span,
.story-meta time {
  margin: 0;
  font-size: 13px;
}

.author p:last-child,
.story-meta {
  color: var(--muted);
}

.story-meta {
  display: grid;
  gap: 3px;
  text-align: right;
}

figure {
  margin: 0;
}

.hero {
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.hero img,
.inline-figure img {
  border-radius: 4px;
  background: var(--soft);
}

figcaption {
  padding: 10px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

figcaption span {
  display: block;
  margin-top: 4px;
  color: #89837d;
}

.article > p {
  max-width: 690px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.62;
}

.article > .lead {
  font-size: 22px;
}

.article h2 {
  max-width: 690px;
  margin: 40px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.pullquote {
  max-width: 660px;
  margin: 34px 0;
  padding: 26px 0 28px 28px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-left: 6px solid var(--coral);
}

.pullquote p {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4.5vw, 38px);
  line-height: 1.08;
}

.pullquote span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.inline-figure {
  max-width: 710px;
  margin: 38px 0;
}

.profile-inset {
  float: right;
  width: min(250px, 42%);
  margin: 4px 0 22px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.profile-inset img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-inset figcaption {
  padding: 12px;
}

.mobile-ad {
  display: none;
}

.data-card {
  max-width: 690px;
  margin: 36px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.data-card h3 {
  margin-bottom: 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.data-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.data-card div {
  min-width: 0;
}

.data-card dt {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.data-card dd {
  margin: 8px 0 0;
  color: #403c38;
  font-size: 13px;
  line-height: 1.35;
}

.timeline {
  max-width: 710px;
  margin: 48px 0 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf7;
}

.timeline h2 {
  margin-top: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.timeline-item span {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.source-gallery {
  max-width: 710px;
  margin: 48px 0 20px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}

.source-gallery h2 {
  margin-top: 0;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
}

.source-grid figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.source-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.source-grid figcaption {
  padding: 12px;
}

.rail {
  position: sticky;
  top: 16px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.rail-card,
.rail-ad {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.rail-card {
  padding: 20px;
}

.rail-card h3,
.rail-card strong,
.rail-ad strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.15;
}

.rail-card p,
.rail-ad p {
  margin: 0;
  color: #403c38;
  font-size: 14px;
  line-height: 1.5;
}

.rail-card.live {
  background: var(--ink);
  color: var(--paper);
}

.rail-card.live span {
  display: block;
  margin-bottom: 10px;
  color: #e4d7c8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rail-card.live p {
  color: #efe8df;
}

meter {
  width: 100%;
  height: 12px;
  margin-bottom: 12px;
}

.rail-ad {
  padding: 18px;
  background:
    radial-gradient(circle at 20% 0, rgba(187, 63, 50, 0.16), transparent 34%),
    var(--rail);
}

.rail-ad button {
  width: 100%;
  margin-top: 16px;
}

.rail-ad.soft {
  background: #f4f7fb;
}

.quotes p + span {
  display: block;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quotes p:not(:first-of-type) {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related {
  width: min(var(--max), calc(100% - 32px));
  margin: 60px auto 0;
  padding: 34px 0 52px;
  border-top: 2px solid var(--ink);
}

.related h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-grid a {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.15;
}

.related-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--coral-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: #f3ede5;
  background: #171514;
}

.site-footer p {
  max-width: 680px;
  margin: 6px 0 0;
  color: #cfc7bd;
  font-size: 12px;
}

.copy-link {
  border-color: #f3ede5;
  color: var(--ink);
  background: #f3ede5;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .rail-card.live {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .utility-bar,
  .masthead,
  .nav,
  .top-ad,
  .article-shell,
  .related {
    width: min(100% - 24px, var(--max));
  }

  .hide-mobile,
  .subscribe {
    display: none;
  }

  .utility-bar {
    font-size: 10px;
  }

  .masthead {
    padding: 14px 0 12px;
  }

  .nav {
    gap: 18px;
    padding-top: 8px;
    font-size: 11px;
  }

  .top-ad {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: auto;
    margin-bottom: 22px;
  }

  .top-ad em {
    text-align: left;
  }

  .byline-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-meta {
    text-align: left;
  }

  .hero {
    margin-left: -12px;
    margin-right: -12px;
  }

  .hero img {
    border-radius: 0;
  }

  .hero figcaption {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mobile-ad {
    display: grid;
    gap: 5px;
    margin: 0 0 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
  }

  .mobile-ad strong {
    font-size: 16px;
  }

  .mobile-ad em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
  }

  .article > p {
    font-size: 18px;
    line-height: 1.58;
  }

  .article > .lead {
    font-size: 20px;
  }

  .pullquote {
    padding-left: 18px;
  }

  .data-card dl,
  .related-grid,
  .rail,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .profile-inset {
    float: none;
    width: 100%;
    margin: 30px 0;
  }

  .timeline {
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-link {
    width: 100%;
  }
}
