:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --text: #1d1b20;
  --muted: #5e576d;
  --line: #ded8d2;
  --accent: #e8b84f;
  --accent-deep: #c8911a;
  --ink: #1a1b21;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -20%, #f4e4b0 0%, rgba(244, 228, 176, 0) 28%), var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.brand span {
  color: var(--accent-deep);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
}

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

.nav-links a.active {
  color: var(--ink);
  font-weight: 700;
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--ink) !important;
}

.hero {
  padding: 72px 0 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent-deep);
}

h1, h2, h3 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5.5vw, 4rem);
  max-width: 14ch;
}

.hero p {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  padding: 20px 0 64px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.meta-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.07em;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(22, 20, 28, 0.08);
}

.card-media {
  height: 170px;
  background: linear-gradient(130deg, #171821, #2d2a34 72%, #514a64);
  color: #f5e6bf;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.card-media--image {
  background-size: cover;
  background-position: center;
  color: #fff2cc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.card-body {
  padding: 18px;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}

.card h3 {
  font-size: 1.34rem;
  margin-top: 8px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-foot {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.article-wrap {
  padding: 52px 0 72px;
}

.article {
  width: min(860px, 100%);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 18px 40px rgba(21, 19, 26, 0.06);
}

.article .meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article .lede {
  font-size: 1.16rem;
  color: #2f2b36;
  margin-top: 22px;
}

.article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 34px;
  margin-bottom: 10px;
}

.article p {
  margin: 12px 0;
}

.article-hero {
  margin: 18px 0 22px;
}

.article-hero img {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-height: 440px;
  object-fit: cover;
}

.article-hero figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.article ul {
  margin: 12px 0;
  padding-left: 22px;
}

.article li {
  margin: 8px 0;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 12px;
  font-size: 0.95rem;
}

.article th,
.article td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.article th {
  background: #f4efe5;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.note {
  background: #f9f4e8;
  border-left: 3px solid var(--accent-deep);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #352f3d;
}

.sources {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sources h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.sources ul {
  margin: 0;
}

.sources a {
  color: #4c3f74;
  text-decoration: underline;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    min-height: 68px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 8px 12px;
  }

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

  .hero {
    padding-top: 44px;
  }

  .article {
    border-radius: 14px;
  }
}

.stories-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 10px;
  scrollbar-width: thin;
}

.stories-track {
  display: flex;
  gap: 20px;
  min-width: max-content;
}

.stories-track .card {
  width: min(345px, calc(100vw - 56px));
  flex: 0 0 auto;
}
