:root {
  --bg: #f5efe2;
  --bg-strong: #efe4d1;
  --surface: rgba(255, 252, 246, 0.72);
  --surface-strong: rgba(255, 252, 246, 0.95);
  --text: #1d231f;
  --muted: #566257;
  --line: rgba(29, 35, 31, 0.12);
  --accent: #0b6e4f;
  --accent-deep: #074833;
  --shadow: 0 24px 60px rgba(17, 24, 19, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 110, 79, 0.14), transparent 32%),
    linear-gradient(180deg, #f6f0e4 0%, #f2eadc 56%, #eadfcf 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.topbar,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.topbar {
  padding: 0.5rem 0 2rem;
}

.brand,
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
}

.brand {
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.eyebrow,
.section-label,
.story-meta,
.note-title,
.hero-card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 250, 242, 0.9), rgba(255, 250, 242, 0.55));
  box-shadow: var(--shadow);
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy,
.story-card p,
.article-copy p,
.article-copy li,
.footer,
.note-panel p,
.split-layout p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-card,
.story-card,
.note-panel,
.article-body,
.article-aside,
.article-header {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.hero-card,
.note-panel,
.article-header,
.article-body,
.article-aside {
  padding: 1.3rem;
}

.hero-card h2,
.section-heading h2,
.split-layout h2,
.article-title,
.story-card h3 {
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.04em;
}

.section-block {
  margin-top: 1.75rem;
}

.section-heading {
  margin-bottom: 1rem;
}

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

.featured-story {
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.1), rgba(255, 252, 246, 0.9));
}

.story-card {
  padding: 1.25rem;
}

.story-card a {
  text-decoration: none;
}

.story-card a:hover,
.brand:hover,
.article-link:hover {
  color: var(--accent);
}

.split-layout,
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.mini-list,
.article-copy ul,
.article-links {
  margin: 0;
  padding-left: 1.2rem;
}

.mini-list li,
.article-copy li {
  margin-bottom: 0.65rem;
}

.footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.article-page .site-shell {
  width: min(1040px, calc(100% - 2rem));
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0 1.5rem;
}

.article-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.article-header {
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(239, 228, 209, 0.9));
}

.article-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.98;
}

.article-dek {
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-copy h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.article-copy + .article-copy {
  margin-top: 1.5rem;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 1rem;
  background: var(--surface-strong);
}

.aside-block + .aside-block {
  margin-top: 1.5rem;
}

.article-links li + li {
  margin-top: 0.6rem;
}

.article-links a {
  color: var(--accent-deep);
}

@media (max-width: 900px) {
  .hero,
  .story-grid,
  .split-layout,
  .article-grid,
  .topbar,
  .footer,
  .article-nav {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .story-grid {
    display: grid;
  }

  .hero,
  .article-header,
  .article-body,
  .article-aside {
    padding: 1.1rem;
  }

  .article-aside {
    position: static;
  }
}