@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --paper: #f5f1e8;
  --paper-deep: #ede8dc;
  --ink: #1a1917;
  --muted: #5c5750;
  --accent: #8e4a2f;
  --rule: #d4cbb8;
  --page-bg: #c8c2b4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--page-bg);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Page canvas — the paper sheet ── */
.page {
  max-width: 980px;
  margin: 28px auto;
  padding: 0;
  background: var(--paper);
  box-shadow: 0 4px 52px rgba(26, 25, 23, 0.18);
}

/* ── Masthead ── */
.masthead {
  text-align: center;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 24px 72px 22px;
}

.strap {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

h1 {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 900;
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.edition {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 14px;
}

.pub-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Navigation ── */
.issue-nav {
  display: flex;
  gap: 24px;
  padding: 13px 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.nav-link {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Shared label/date utilities ── */
.label,
.issue-date-line,
.archive-date {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Issue header (issue pages only) ── */
.issue-header {
  padding: 20px 72px 8px;
  margin-bottom: 28px;
}

.issue-date-line {
  color: var(--muted);
  margin: 0 0 14px;
}

.issue-dek {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.48;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}

/* ── Issue body ── */
.issue-body {
  padding: 0 72px 56px;
}

.issue-body p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.issue-body h2.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  border: none;
  padding: 0;
  margin: 3.5rem 0 1.4rem;
}

.issue-body .section-heading::before,
.issue-body .section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.issue-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: normal;
  margin: 1.8rem 0 0.5rem;
  color: var(--ink);
}

.issue-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.2rem 0;
}

.source-list {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1.4rem;
}

.source-list li {
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.source-list li a {
  color: var(--accent);
}

/* ── Homepage hero ── */
.hero {
  padding: 36px 72px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.dek {
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  line-height: 1.42;
  font-style: italic;
  margin: 0 0 14px;
}

.body-copy {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--muted);
  margin: 0;
}

/* ── Latest issue block (homepage) ── */
.latest-issue {
  padding: 0 72px 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.label {
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.latest-title {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
}

.latest-title a {
  color: var(--ink);
}

.latest-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
}

.read-link,
.secondary-link {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.secondary-link {
  color: var(--muted);
}

/* ── Archive sections ── */
.archive-preview,
.archive-full {
  padding: 0 72px 40px;
  background: none;
  border: none;
  margin-bottom: 0;
}

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

.archive-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.archive-item:first-child {
  border-top: none;
  padding-top: 0;
}

.archive-date {
  color: var(--muted);
  white-space: nowrap;
}

.archive-item a {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.archive-item a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 56px 48px;
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Status / misc cards ── */
.status-card {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 22px;
  margin-bottom: 32px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .page {
    margin: 0 auto;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .masthead,
  .issue-nav,
  .issue-header,
  .issue-body,
  .hero,
  .latest-issue,
  .archive-preview,
  .archive-full,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .pub-row,
  .action-row,
  .footer {
    flex-direction: column;
    gap: 8px;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
