:root {
  --bg: #f7f4ee;
  --ink: #1c1917;
  --muted: #57534e;
  --soft: #6b645b;
  --line: #ded8ca;
  --panel: #faf8f4;
  --accent: #991b1b;
  --accent-soft: #7f1d1d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  antialiased: true;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--accent);
  color: #faf8f4 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.cta:hover {
  background: var(--accent-soft);
}

.cta-dark {
  background: var(--ink);
}

.cta-dark:hover {
  background: #292524;
}

.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78716c;
}

h1 {
  margin: 0.75rem 0 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #44403c;
  max-width: 62ch;
}

.actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.content {
  padding: 2.5rem 0 4rem;
}

h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

p,
li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #44403c;
}

ul {
  padding-left: 1.15rem;
}

.panel {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.25rem 1.35rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

.term {
  border-top: 1px solid #e6e0d3;
  padding-top: 1rem;
  margin-top: 1rem;
}

.term dt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.term dd {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #57534e;
}

.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(239, 236, 228, 0.7);
  padding: 2rem 0;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.75rem;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

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

  .site-footer .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
