:root {
  color-scheme: light;
  --ink: #171411;
  --muted: #6f655d;
  --paper: #f6f0e6;
  --paper-deep: #ede1d1;
  --panel: #fffaf2;
  --accent: #ce3b24;
  --accent-dark: #8f2114;
  --rule: #d8c8b6;
  --shadow: 0 24px 80px rgba(58, 41, 22, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(206, 59, 36, 0.12), transparent 30rem),
    linear-gradient(135deg, #fff8ed 0%, var(--paper) 52%, #eadac7 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.masthead {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 22px;
  text-align: center;
  border-bottom: 4px double var(--ink);
}

.masthead.compact {
  padding-bottom: 16px;
}

.kicker,
.label,
.edition,
.section-list span {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

.dateline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.issue-shell {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.issue-meta {
  position: sticky;
  top: 20px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: var(--shadow);
}

.issue-meta time {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.section-list {
  margin-top: 26px;
}

.section-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.section-list li {
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.front-page,
.empty-state {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--rule);
  border-radius: 30px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: var(--shadow);
}

h1 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.dek {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.briefing-card {
  margin: 34px 0;
  padding: 24px;
  border-left: 7px solid var(--accent);
  border-radius: 18px;
  background: var(--paper-deep);
}

.briefing-card h2 {
  margin-top: 0;
}

.briefing-card li + li {
  margin-top: 10px;
}

.prose {
  column-gap: 34px;
  margin-top: 28px;
}

.prose h2 {
  margin: 42px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.18rem;
}

.prose p,
.prose li {
  color: #312a24;
  font-size: 1.04rem;
  line-height: 1.72;
}

.prose a,
.back-link {
  color: var(--accent-dark);
  font-weight: 750;
}

.archive-strip {
  margin-top: 34px;
}

.archive-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.archive-card {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.76);
  color: inherit;
  text-decoration: none;
}

.archive-card time,
.archive-card span {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}

@media (min-width: 980px) {
  .prose {
    columns: 2;
  }

  .prose h2,
  .prose h3,
  .prose .no-break {
    break-after: avoid;
  }
}

@media (max-width: 780px) {
  .issue-shell {
    grid-template-columns: 1fr;
  }

  .issue-meta {
    position: static;
  }

  .brand {
    font-size: clamp(3rem, 18vw, 5.5rem);
  }
}
