:root {
  --bg: #f6efe4;
  --card: rgba(255, 251, 244, 0.88);
  --card-soft: rgba(250, 241, 229, 0.88);
  --ink: #161411;
  --muted: #655d56;
  --line: rgba(22, 20, 17, 0.1);
  --accent: #c65b2f;
  --accent-soft: rgba(198, 91, 47, 0.12);
  --shadow: 0 30px 90px rgba(72, 45, 28, 0.09);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 10%, rgba(198, 91, 47, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f2e8 0%, #efe4d7 100%);
}
a { color: inherit; text-decoration: none; }
.mag-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 46px;
}
.masthead,
.cover-story,
.cover-side,
.cover-quote,
.column-card,
.feature-panel,
.mini-card,
.notes-rail,
.weekend-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px;
  margin-bottom: 24px;
}
.back-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
}
.eyebrow,
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 12px; color: var(--accent); }
.kicker { color: var(--accent); }
.masthead h1,
.cover-story h2,
.feature-panel h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -0.03em;
}
.masthead h1 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.98; }
.mast-copy,
.cover-story p,
.cover-side p,
.cover-quote p,
.column-card p,
.feature-panel p,
.notes-rail li,
.weekend-card p {
  color: var(--muted);
  line-height: 1.75;
}
.mast-copy { max-width: 42rem; margin: 18px 0 0; font-size: 1.03rem; }
.mag-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-weight: 500;
}
.cover-grid,
.editorial-grid,
.split-layout,
.mini-grid,
.weekend-grid {
  display: grid;
  gap: 20px;
}
.cover-grid {
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-areas:
    "story side"
    "story quote";
}
.cover-story { grid-area: story; padding: 34px; min-height: 430px; background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,248,239,0.82)); }
.cover-side { grid-area: side; padding: 24px; background: var(--card-soft); }
.cover-quote { grid-area: quote; padding: 24px; }
.cover-story h2 { margin-top: 12px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.06; }
.cover-link {
  display: inline-flex; margin-top: 22px; padding: 14px 18px; border-radius: 999px; background: var(--ink); color: #fffaf4; font-weight: 700;
}
.editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; }
.column-card,
.feature-panel,
.mini-card,
.notes-rail,
.weekend-card { padding: 24px; }
.column-card h3,
.mini-card h3,
.weekend-card h3 {
  margin: 14px 0 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.5rem;
  line-height: 1.3;
}
.split-layout { grid-template-columns: 1.2fr 0.8fr; margin-bottom: 24px; }
.feature-stack { display: grid; gap: 20px; }
.feature-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; }
.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-card { background: var(--card-soft); }
.notes-rail ul { margin: 18px 0 0; padding-left: 20px; }
.notes-rail li + li { margin-top: 14px; }
.weekend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 620ms ease, transform 620ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .masthead,
  .cover-grid,
  .editorial-grid,
  .split-layout,
  .mini-grid,
  .weekend-grid {
    grid-template-columns: 1fr;
  }
  .cover-grid {
    grid-template-areas:
      "story"
      "side"
      "quote";
  }
  .mag-nav { align-items: flex-start; }
}
@media (max-width: 760px) {
  .mag-shell { width: min(100% - 20px, 100%); padding: 18px 0 30px; }
  .masthead,
  .cover-story,
  .cover-side,
  .cover-quote,
  .column-card,
  .feature-panel,
  .mini-card,
  .notes-rail,
  .weekend-card { border-radius: 22px; }
  .masthead, .cover-story { padding: 24px; }
  .masthead h1 { font-size: clamp(2.3rem, 10vw, 3.8rem); }
  .cover-story h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
