:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6568;
  --border: #ded9dc;
  --accent: #58093E;
  --accent-soft: #f5eef3;
  --max-width: 1180px;
  --reading-width: 760px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(88, 9, 62, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

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

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: rotate(45deg);
}

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

.nav-links a {
  color: #262326;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 8px 11px;
  cursor: pointer;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 88px 0 74px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
}

.hero-copy {
  max-width: 820px;
  margin: 28px 0 0;
  color: #343034;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button:hover {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-heading p {
  max-width: 660px;
  margin: 5px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 6;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.card.featured {
  grid-column: span 12;
  min-height: 360px;
  background: #faf8f9;
}

.card:hover {
  color: inherit;
  border-color: rgba(88, 9, 62, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(42, 24, 35, 0.07);
}

.card-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.card p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: #514b4f;
  font-size: 0.86rem;
}

.meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: #aaa2a7;
}

.page-hero {
  padding: 100px 0 58px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  max-width: 960px;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
}

.page-intro {
  max-width: 800px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.index-item:first-child {
  border-top: 1px solid var(--border);
}

.index-type,
.index-date {
  color: var(--muted);
  font-size: 0.88rem;
}

.index-item h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.index-item a {
  text-decoration: none;
}

.article {
  width: min(calc(100% - 40px), var(--reading-width));
  margin: 0 auto;
  padding: 80px 0 104px;
}

.article-header {
  margin-bottom: 50px;
}

.article-header h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.article-deck {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.2rem;
}

.article h2 {
  margin: 54px 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.article p,
.article li {
  color: #292629;
  font-size: 1.02rem;
}

.callout {
  margin: 40px 0;
  padding: 26px 28px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.figure {
  margin: 42px 0;
  padding: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

.figure-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--accent);
  text-align: center;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(88,9,62,0.07), rgba(88,9,62,0.015)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(17,17,17,0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(17,17,17,0.05) 40px);
}

.figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.tag {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 4px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer {
  padding: 38px 0 52px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

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

@media (max-width: 800px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  }

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

  .hero {
    min-height: auto;
    padding: 74px 0 60px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .card,
  .card.featured {
    grid-column: span 12;
    min-height: 280px;
  }

  .index-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .index-date {
    order: 3;
  }

  .article {
    width: min(calc(100% - 28px), var(--reading-width));
  }
}
