:root {
  --bg: #f5f2ec;
  --paper: #fffdf8;
  --ink: #171717;
  --muted: #68645c;
  --line: #ded6c8;
  --accent: #8b2f22;
  --accent-2: #1f3a3d;
  --shadow: 0 22px 70px rgba(23, 23, 23, 0.09);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(139,47,34,0.12), transparent 30rem),
    radial-gradient(circle at 95% 12%, rgba(31,58,61,0.10), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23,23,23,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,23,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.site-header {
  width: min(1120px, calc(100% - 36px));
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(222,214,200,0.8);
  border-radius: 999px;
  background: rgba(255,253,248,0.72);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 16px;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent), #d0a071, var(--accent-2), var(--accent));
  box-shadow: inset 0 0 0 7px rgba(255,253,248,0.6);
}

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

.nav a,
.button {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover { border-color: var(--line); background: rgba(255,255,255,0.62); }
.nav a.active { background: var(--ink); color: var(--paper); }

.hero {
  width: min(1120px, calc(100% - 36px));
  margin: 56px auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.article-card,
.side-card {
  background: rgba(255,253,248,0.82);
  border: 1px solid rgba(222,214,200,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card { padding: clamp(32px, 5vw, 68px); }
.side-card { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 12ch;
}

.deck {
  margin: 26px 0 0;
  max-width: 680px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: var(--muted);
}

.meta {
  margin: 28px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255,255,255,0.42);
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.stat strong {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat span { color: var(--muted); font-weight: 650; }

.article-wrap {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto 70px;
}

.article-card { padding: clamp(28px, 5vw, 68px); }

.article-card p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.article-card p:first-of-type::first-letter {
  float: left;
  font-family: "Newsreader", Georgia, serif;
  font-size: 5.6rem;
  line-height: 0.78;
  padding: 8px 10px 0 0;
  color: var(--accent);
}

.pullquote {
  margin: 2rem 0;
  padding: 1.4rem 0 1.4rem 1.4rem;
  border-left: 5px solid var(--accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-2);
  color: white;
  border-color: var(--accent-2);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.article-title {
  margin-bottom: 26px;
}

.article-title h1 { max-width: 12ch; }
.article-title .deck { max-width: 760px; }

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; border-radius: 24px; flex-direction: column; position: static; }
  .nav { width: 100%; flex-wrap: wrap; }
  .nav a { flex: 1; text-align: center; }
  .hero { grid-template-columns: 1fr; margin-top: 28px; }
  .site-footer { flex-direction: column; }
}
