/* ═══════════════════════════════════════════════════════════════
   MERIDIAN REVIEW — Editorial Magazine Layout
   Palette: Noir Editorial  |  Fonts: Playfair Display + Source Serif 4
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --ink:          #0F0F0F;
  --ink-mid:      #2A2A2A;
  --ink-soft:     #4A4A4A;
  --ink-muted:    #7A7A7A;
  --paper:        #F4F0EA;
  --paper-warm:   #EDE8DF;
  --paper-mid:    #E0D9CE;
  --accent:       #C8B8A0;
  --accent-dark:  #9A8870;
  --rule:         #D4CEC5;
  --white:        #FAFAF8;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'Barlow', system-ui, sans-serif;

  /* Grid */
  --cols:         12;
  --col-gap:      clamp(16px, 2vw, 28px);
  --page-pad:     clamp(20px, 5vw, 80px);
  --max-width:    1380px;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════════════════════════════ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink);
  border-bottom: 1px solid rgba(200, 184, 160, 0.2);
  transition: box-shadow 0.3s var(--ease-out);
}

.masthead.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.masthead__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-5);
}

/* Nav */
.masthead__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 234, 0.55);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

/* Logo */
.masthead__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
  text-decoration: none;
}

.logo-word {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.logo-word--light {
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}

.logo-rule {
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(200, 184, 160, 0.4);
}

/* Actions */
.masthead__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  justify-content: flex-end;
}

.issue-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 234, 0.4);
  white-space: nowrap;
}

.btn-subscribe {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 7px 18px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — full-width with overlay title
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(520px, 85vh, 900px);
  overflow: hidden;
  display: grid;
}

.hero__figure {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease-out) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.hero__overlay {
  grid-area: 1 / 1;
  background: linear-gradient(
    to top,
    rgba(10, 8, 6, 0.92) 0%,
    rgba(10, 8, 6, 0.55) 45%,
    rgba(10, 8, 6, 0.15) 75%,
    transparent 100%
  );
  z-index: 1;
}

.hero__content {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-9) var(--page-pad) var(--sp-8);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  animation: heroFadeUp 1s 0.3s var(--ease-out) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.category-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 1px;
}

.hero__read-time {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(244, 240, 234, 0.55);
  letter-spacing: 0.05em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--sp-5);
  max-width: 14ch;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__deck {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: rgba(244, 240, 234, 0.75);
  max-width: 55ch;
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.hero__byline {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200, 184, 160, 0.5);
}

.hero__author-name {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.03em;
}

.hero__date {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(244, 240, 234, 0.45);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE LAYOUT — 12-column CSS Grid
   ═══════════════════════════════════════════════════════════════ */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-8) var(--page-pad);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 var(--col-gap);
  align-items: start;
}

/* Article body: cols 1–8 */
.article-body {
  grid-column: 1 / 9;
  min-width: 0;
}

/* Sidebar: cols 9–12 */
.sidebar {
  grid-column: 9 / 13;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.article-section {
  position: relative;
  margin-bottom: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
}

.article-section:first-child {
  border-top: none;
  padding-top: 0;
}

.section-number {
  position: absolute;
  top: var(--sp-5);
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  text-stroke: 1px var(--rule);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.article-section:first-child .section-number {
  top: -10px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--sp-5);
  max-width: 28ch;
}

/* ── Body Text ── */
.article-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
  font-weight: 300;
  color: var(--ink-mid);
  margin-bottom: var(--sp-5);
  /* Two-column text layout */
  columns: 2;
  column-gap: clamp(24px, 3vw, 48px);
  column-rule: 1px solid var(--rule);
}

.article-text em {
  font-style: italic;
  color: var(--ink);
}

/* Drop Cap on first paragraph */
.article-text--dropcap::first-letter {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.82;
  float: left;
  margin-right: 0.08em;
  margin-top: 0.06em;
  color: var(--ink);
  /* Decorative underline on drop cap */
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   PULL QUOTE — spans both text columns
   ═══════════════════════════════════════════════════════════════ */
.pull-quote {
  position: relative;
  margin: var(--sp-8) 0;
  padding: var(--sp-7) var(--sp-7);
  background: var(--ink);
  border-left: none;
  overflow: hidden;
}

/* Decorative ink-bleed corner marks */
.pull-quote::before,
.pull-quote::after {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.6;
}

.pull-quote::before {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}

.pull-quote::after {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

/* Large decorative quotation mark */
.pull-quote__text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--paper);
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: var(--sp-5);
}

.pull-quote__text::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 100px);
  font-style: normal;
  font-weight: 900;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: var(--sp-3);
}

.pull-quote__attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.pull-quote__attribution cite {
  font-family: var(--font-ui);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pull-quote__attribution span {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(244, 240, 234, 0.4);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE GALLERY — CSS Grid auto-placement, 3 aspect ratios
   ═══════════════════════════════════════════════════════════════ */
.gallery-section {
  margin: var(--sp-8) 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--rule);
}

.gallery-heading {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.gallery-heading__label {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--ink);
}

.gallery-heading__sub {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* Gallery grid — auto-placement with named areas */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: var(--sp-3);
}

/* Landscape: 4 cols × 2 rows → 16:9 feel */
.gallery-item--landscape {
  grid-column: span 4;
  grid-row: span 2;
}

/* Portrait: 2 cols × 3 rows → tall portrait */
.gallery-item--portrait {
  grid-column: span 2;
  grid-row: span 3;
}

/* Square: 2 cols × 2 rows → 1:1 */
.gallery-item--square {
  grid-column: span 2;
  grid-row: span 2;
}

/* Wide: 4 cols × 2 rows → cinematic */
.gallery-item--wide {
  grid-column: span 4;
  grid-row: span 2;
}

/* Portrait tall: 2 cols × 2 rows */
.gallery-item--portrait-tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--paper-mid);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--paper);
  line-height: 1.3;
}

.gallery-caption__meta {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 234, 0.55);
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE FOOTER
   ═══════════════════════════════════════════════════════════════ */
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  margin-top: var(--sp-7);
  border-top: 2px solid var(--ink);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  padding: 4px 12px;
  border-radius: 1px;
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover {
  border-color: var(--accent-dark);
  color: var(--ink);
}

.article-share {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.share-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-warm);
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR — sticky on scroll
   ═══════════════════════════════════════════════════════════════ */
.sidebar__inner {
  position: sticky;
  top: 80px; /* below masthead */
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: var(--sp-6);
}

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

/* ── Sidebar Cards ── */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}

.sidebar-card__label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--rule);
}

/* Author Card */
.author-card__profile {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.author-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--rule);
}

.author-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.author-card__title {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.author-card__bio {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: var(--sp-4);
}

.author-card__bio em {
  font-style: italic;
}

.author-card__link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.author-card__link:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Related Articles */
.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related-item {
  border-bottom: 1px solid var(--rule);
}

.related-item:last-child {
  border-bottom: none;
}

.related-item__link {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  transition: opacity 0.2s;
}

.related-item__link:hover {
  opacity: 0.7;
}

.related-item__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--rule);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.2s;
}

.related-item__link:hover .related-item__num {
  color: var(--accent);
}

.related-item__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.related-item__category {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.related-item__title {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-mid);
  font-style: italic;
}

/* Ad / Newsletter Card */
.ad-card {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.ad-card .sidebar-card__label {
  color: rgba(244, 240, 234, 0.4);
  border-bottom-color: rgba(200, 184, 160, 0.2);
}

.ad-card__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.ad-card__headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.ad-card__body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 240, 234, 0.65);
  margin-bottom: var(--sp-5);
}

.ad-card__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.ad-card__input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(244, 240, 234, 0.08);
  border: 1px solid rgba(200, 184, 160, 0.25);
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s;
}

.ad-card__input::placeholder {
  color: rgba(244, 240, 234, 0.3);
}

.ad-card__input:focus {
  border-color: var(--accent);
}

.ad-card__btn {
  width: 100%;
  padding: 11px 14px;
  background: var(--accent);
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.2s, transform 0.15s;
}

.ad-card__btn:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

.ad-card__disclaimer {
  font-family: var(--font-ui);
  font-size: 10px;
  color: rgba(244, 240, 234, 0.3);
  letter-spacing: 0.04em;
}

/* Issue Card */
.issue-card__cover {
  margin: 0 0 var(--sp-4);
  overflow: hidden;
  height: 140px;
}

.issue-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.issue-card:hover .issue-card__cover img {
  transform: scale(1.04);
}

.issue-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.issue-card__title em {
  font-style: italic;
  font-weight: 400;
}

.issue-card__desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--sp-4);
}

.issue-card__link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.issue-card__link:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  margin-top: var(--sp-9);
  padding: var(--sp-8) var(--page-pad);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--paper);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: rgba(244, 240, 234, 0.4);
  margin-top: var(--sp-1);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-5);
}

.site-footer__nav a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 234, 0.45);
  transition: color 0.2s;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__copy {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(244, 240, 234, 0.25);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Article body: 7 cols, sidebar: 5 cols */
  .article-body {
    grid-column: 1 / 8;
  }

  .sidebar {
    grid-column: 8 / 13;
  }

  /* Reduce two-column text to single column */
  .article-text {
    columns: 1;
    column-rule: none;
  }

  .section-number {
    font-size: clamp(48px, 6vw, 80px);
  }

  /* Gallery: 4 columns */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-item--landscape { grid-column: span 3; grid-row: span 2; }
  .gallery-item--portrait  { grid-column: span 1; grid-row: span 3; }
  .gallery-item--square    { grid-column: span 2; grid-row: span 2; }
  .gallery-item--wide      { grid-column: span 4; grid-row: span 2; }
  .gallery-item--portrait-tall { grid-column: span 2; grid-row: span 2; }

  /* Masthead: hide issue label */
  .issue-label { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Single column layout */
  .article-layout {
    display: flex;
    flex-direction: column;
    padding: var(--sp-6) var(--page-pad);
    gap: var(--sp-7);
  }

  .article-body,
  .sidebar {
    grid-column: unset;
    width: 100%;
  }

  /* Sidebar: no longer sticky */
  .sidebar__inner {
    position: static;
    max-height: none;
    overflow: visible;
  }

  /* Hero adjustments */
  .hero {
    height: clamp(420px, 75vh, 640px);
  }

  .hero__content {
    padding: var(--sp-7) var(--page-pad) var(--sp-6);
  }

  .hero__title {
    font-size: clamp(36px, 9vw, 56px);
  }

  /* Text: single column */
  .article-text {
    columns: 1;
    column-rule: none;
  }

  /* Drop cap: smaller on mobile */
  .article-text--dropcap::first-letter {
    font-size: clamp(52px, 12vw, 72px);
  }

  /* Pull quote */
  .pull-quote {
    padding: var(--sp-6) var(--sp-5);
    margin: var(--sp-6) 0;
  }

  .pull-quote__text {
    font-size: clamp(18px, 4.5vw, 26px);
  }

  /* Gallery: 2 columns on mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-item--landscape    { grid-column: span 2; grid-row: span 2; }
  .gallery-item--portrait     { grid-column: span 1; grid-row: span 2; }
  .gallery-item--square       { grid-column: span 1; grid-row: span 1; }
  .gallery-item--wide         { grid-column: span 2; grid-row: span 2; }
  .gallery-item--portrait-tall{ grid-column: span 1; grid-row: span 2; }

  /* Masthead: compact */
  .masthead__inner {
    grid-template-columns: 1fr auto;
    height: 56px;
  }

  .masthead__nav { display: none; }
  .masthead__actions { gap: var(--sp-3); }

  /* Section numbers: decorative only */
  .section-number {
    font-size: 56px;
    opacity: 0.5;
  }

  /* Article footer: stack */
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --page-pad: 16px;
  }

  .hero__deck { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item--landscape,
  .gallery-item--portrait,
  .gallery-item--square,
  .gallery-item--wide,
  .gallery-item--portrait-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-caption {
    transform: translateY(0);
  }

  .masthead__actions .btn-subscribe {
    padding: 6px 12px;
    font-size: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOCUS STYLES (accessibility)
   ═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .masthead,
  .sidebar,
  .article-footer,
  .site-footer { display: none; }

  .article-layout {
    display: block;
    padding: 0;
  }

  .article-body {
    width: 100%;
  }

  .article-text {
    columns: 2;
  }
}