/* ===================================================
   The Correspondent — Longform Journal
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0f0f0f;
  --bg-mid: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-light: #252525;
  --text: #e8e4dc;
  --text-mid: #b0a898;
  --text-soft: #7a7268;
  --accent: #d4a843;
  --accent-light: #e8c068;
  --rule: #2e2e2e;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Arial', 'Helvetica Neue', sans-serif;
  --max-w: 1080px;
  --read-w: 700px;
}

body { background: var(--bg-dark); color: var(--text); font-family: var(--font-serif); font-size: 18px; line-height: 1.75; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

/* HEADER */
.site-header { background: var(--bg-mid); border-bottom: 1px solid var(--rule); }
.header-top {
  max-width: var(--max-w); margin: 0 auto;
  padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans); font-size: 11px; color: var(--text-soft);
  border-bottom: 1px solid var(--rule);
}
.header-top a { color: var(--text-soft); margin-left: 14px; }
.header-top a:hover { color: var(--text); }
.header-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 22px 24px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-block { display: flex; align-items: center; gap: 14px; }
.brand-block img { max-height: 48px; width: auto; display: block; }
.pub-title { font-family: var(--font-serif); font-size: 1.8rem; color: var(--text); font-weight: 700; letter-spacing: -0.5px; }
.pub-subtitle { font-family: var(--font-sans); font-size: 11px; color: var(--text-soft); margin-top: 3px; text-transform: uppercase; letter-spacing: 1.5px; }
.header-nav { display: flex; gap: 2px; }
.header-nav a { color: var(--text-mid); font-family: var(--font-sans); font-size: 13px; padding: 7px 14px; border-radius: 3px; }
.header-nav a:hover, .header-nav a.active { background: var(--bg-light); color: var(--accent); }

/* HERO SECTION - FIXED */
.hero-section { position: relative; width: 100%; height: 550px; background: #000; overflow: hidden; margin-bottom: 40px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; display: block; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; top: 0; display: flex; align-items: flex-end; padding: 60px 24px; background: linear-gradient(to top, rgba(15,15,15,1) 0%, rgba(15,15,15,0.4) 50%, transparent 100%); color: #fff; }
.hero-content { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.hero-category { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 18px; display: block; }
.hero-title { font-size: 3.2rem; line-height: 1.1; margin-bottom: 18px; font-weight: 700; }
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--accent); text-decoration: none; }
.hero-deck { font-size: 1.2rem; max-width: 800px; color: var(--text-mid); line-height: 1.7; font-style: italic; }

/* CAMPAIGN */
.campaign-block { background: var(--bg-mid); border-bottom: 1px solid var(--rule); display: none; margin-bottom: 40px; }
.campaign-inner { max-width: var(--max-w); margin: 0 auto; padding: 28px 24px; }
.camp-creative-wrap { margin-bottom: 18px; }
.camp-creative-img { width: 100%; max-height: 440px; object-fit: cover; display: block; border-radius: 4px; }
.camp-info { display: flex; gap: 18px; align-items: flex-start; }
.camp-logo-img { max-height: 48px; max-width: 140px; width: auto; object-fit: contain; flex-shrink: 0; }
.camp-text { flex: 1; }
.camp-headline { font-family: var(--font-serif); font-size: 1.35rem; color: var(--text); margin-bottom: 8px; }
.camp-desc { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 14px; }
.camp-cta { display: inline-block; background: var(--accent); color: var(--bg-dark); padding: 10px 24px; font-family: var(--font-sans); font-size: 13px; font-weight: 700; border-radius: 3px; }

/* MAIN */
.site-main { max-width: var(--max-w); margin: 0 auto 40px; padding: 0 24px; }

/* NARRATIVE HOMEPAGE */
.issue-label { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent); margin-bottom: 32px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.feature-story { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.feature-story .category { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 12px; }
.feature-story h2 { font-size: 2.2rem; line-height: 1.15; color: var(--text); margin-bottom: 14px; font-weight: 700; }
.feature-story h2 a { color: var(--text); }
.feature-story h2 a:hover { color: var(--accent); }
.feature-story .deck { font-size: 1.05rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; max-width: 680px; }
.feature-story .byline { font-family: var(--font-sans); font-size: 13px; color: var(--text-soft); }
.feature-story .byline strong { color: var(--text-mid); }
.feature-story .read-time { color: var(--accent); margin-left: 8px; }

.secondary-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.sec-story .category { font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px; }
.sec-story h3 { font-size: 1.1rem; line-height: 1.3; color: var(--text); margin-bottom: 8px; }
.sec-story h3 a { color: var(--text); }
.sec-story h3 a:hover { color: var(--accent); }
.sec-story .meta { font-family: var(--font-sans); font-size: 12px; color: var(--text-soft); }

.archive-row { margin-bottom: 40px; }
.archive-row h4 { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-soft); border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 18px; }
.archive-list { list-style: none; }
.archive-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.archive-list li:last-child { border-bottom: none; }
.archive-list li a { color: var(--text); font-size: 1rem; flex: 1; }
.archive-list li a:hover { color: var(--accent); }
.archive-list li .arc-meta { font-family: var(--font-sans); font-size: 11px; color: var(--text-soft); white-space: nowrap; }

/* FOOTER */
.site-footer { background: var(--bg-mid); border-top: 1px solid var(--rule); margin-top: 48px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-brand img { max-height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.6; }
.footer-col h5 { font-family: var(--font-sans); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-soft); font-size: 0.87rem; }
.footer-col ul li a:hover { color: var(--text); }
.footer-base { border-top: 1px solid var(--rule); text-align: center; padding: 14px 24px; font-family: var(--font-sans); font-size: 11px; color: var(--text-soft); }

@media (max-width: 900px) {
  .hero-section { height: 450px; }
  .hero-title { font-size: 2.4rem; }
  .secondary-stories { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-section { height: 350px; }
  .hero-overlay { padding: 30px 24px; }
  .hero-title { font-size: 1.8rem; }
  .secondary-stories { grid-template-columns: 1fr; }
  .header-main { flex-direction: column; gap: 14px; }
  .header-nav { flex-wrap: wrap; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .feature-story h2 { font-size: 1.6rem; }
}
