:root {
  --bg: #f7f1e8;
  --paper: #fffaf3;
  --paper-strong: #fffdf8;
  --ink: #17212b;
  --muted: #5f6770;
  --line: rgba(23, 33, 43, 0.12);
  --accent: #ff6b3d;
  --accent-soft: #ffd9ca;
  --green: #2f7a59;
  --gold: #d9a441;
  --shadow: 0 18px 40px rgba(62, 42, 18, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Newsreader", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 61, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf6ef 0%, #f7f1e8 100%);
}

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

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

.page-frame {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  font-family: "Archivo Expanded", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: lowercase;
}

.logo-copy {
  display: flex;
  flex-direction: column;
}

.logo-copy strong,
.site-nav a,
.button,
.kicker,
.notes-grid span,
.curiosity-list span {
  font-family: "Archivo Expanded", sans-serif;
}

.logo-copy strong {
  font-size: 0.98rem;
  text-transform: lowercase;
}

.logo-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav a {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--muted);
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
}

.hero-grid,
.editorial-strip,
.split-story,
.page-hero,
.story-feature,
.spotlight-layout {
  margin-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.text-card,
.split-story,
.page-hero,
.large-story,
.compact-story,
.analysis-card,
.spotlight-main,
.fact-card,
.curiosity-list article,
.notes-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  border-radius: var(--radius-xl);
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 18px;
  font-family: "Archivo Expanded", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead,
.media-card-copy p,
.large-story-copy p,
.compact-story p,
.analysis-card p,
.fact-card p,
.curiosity-list p,
.text-card p,
.split-copy p,
.notes-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.76rem;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff8a55);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-board article {
  padding: 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.mini-board strong,
.section-head h2,
.text-card h2,
.split-copy h2,
.large-story-copy h2,
.compact-story h2,
.spotlight-main-copy h2 {
  font-family: "Archivo Expanded", sans-serif;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-media img,
.split-media img,
.large-story img,
.compact-story img,
.spotlight-main img,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  min-height: 520px;
}

.score-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(23, 33, 43, 0.08);
}

.score-tag span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-family: "Archivo Expanded", sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.editorial-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.text-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.text-card.warm {
  background:
    linear-gradient(145deg, rgba(255, 217, 202, 0.65), rgba(255, 250, 243, 0.95));
}

.text-card h2,
.section-head h2,
.split-copy h2,
.large-story-copy h2,
.compact-story h2,
.spotlight-main-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

.feature-layout {
  margin-bottom: 28px;
}

.section-head {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-card img {
  height: 230px;
}

.media-card-copy {
  padding: 20px;
}

.media-card-copy h3,
.analysis-card h3,
.fact-card h3,
.notes-grid h3,
.curiosity-list h3 {
  margin: 0 0 10px;
  font-family: "Archivo Expanded", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.split-story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.split-copy {
  padding: 34px;
}

.split-media img {
  min-height: 420px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.notes-grid article,
.analysis-card,
.fact-card,
.curiosity-list article {
  padding: 22px;
  border-radius: 24px;
}

.notes-grid span,
.curiosity-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--green), #4aa278);
}

.page-hero {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.page-hero-soft {
  background:
    linear-gradient(135deg, rgba(255, 217, 202, 0.55), rgba(255, 250, 243, 1));
}

.story-feature {
  display: grid;
  gap: 20px;
}

.large-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.large-story img {
  min-height: 360px;
}

.large-story-copy {
  padding: 28px;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compact-story {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.compact-story img {
  min-height: 100%;
}

.compact-story div {
  padding: 22px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.spotlight-main {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.spotlight-main img {
  height: 360px;
}

.spotlight-main-copy {
  padding: 26px;
}

.spotlight-side {
  display: grid;
  gap: 18px;
}

.curiosity-list {
  display: grid;
  gap: 16px;
}

.curiosity-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 4px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .hero-grid,
  .editorial-strip,
  .feature-grid,
  .split-story,
  .notes-grid,
  .large-story,
  .story-columns,
  .analysis-grid,
  .spotlight-layout {
    grid-template-columns: 1fr;
  }

  .compact-story {
    grid-template-columns: 1fr;
  }

  .compact-story img,
  .spotlight-main img,
  .hero-media img,
  .large-story img,
  .split-media img {
    min-height: 300px;
  }

  .compact-story img {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .page-frame {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 14px;
  }

  .site-header {
    top: 10px;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero-copy,
  .page-hero,
  .split-copy,
  .large-story-copy,
  .text-card {
    padding: 24px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.3rem);
  }

  .mini-board {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
