:root {
  color-scheme: light;
  --ink: #171914;
  --muted: #5f6258;
  --paper: #f6f3eb;
  --panel: #fffdf7;
  --line: #d9d3c4;
  --accent: #9c6a28;
  --gold: #d5aa69;
  --forest: #24362b;
  --forest-deep: #111712;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  min-height: 84px;
  padding: 0.75rem clamp(1rem, 5vw, 5rem);
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  background: var(--forest-deep);
  color: #fff;
  border-bottom: 1px solid #354238;
}

.site-brand {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: 84px;
  height: 56px;
  padding: 0.25rem;
  border-radius: 3px;
  background: var(--panel);
  object-fit: contain;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.15em;
  font-size: 1.15rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark span {
  color: var(--gold);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  color: #f5f1e7;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgba(213, 170, 105, 0.12);
  color: var(--gold);
}

.hero {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 10vw, 10rem);
  background: linear-gradient(135deg, #17251d, #314536);
  color: #fff;
}

.hero.compact {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1,
.article-header h1 {
  max-width: 16ch;
  margin: 0.2em 0;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.hero p {
  max-width: 700px;
  font-size: 1.15rem;
}

.eyebrow {
  color: #a87430;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.article-cta .eyebrow {
  color: #e0bb7c;
}

.content-shell,
.article-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-heading h2,
.article-card h2,
.author-card h2,
.article-cta h2 {
  font-family: Georgia, serif;
}

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

.article-card,
.empty-state,
.author-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.article-card h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.article-card h2 a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.article-header {
  padding: clamp(2rem, 6vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.dek {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.trust-note {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: #eee7d9;
}

.trust-note p {
  margin: 0.3rem 0 0;
}

.article-body {
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.article-body h2,
.article-body h3,
.citations h2,
.prose h2 {
  margin-top: 2.2rem;
  font-family: Georgia, serif;
  line-height: 1.2;
}

.article-body a,
.citations a,
.content-shell a {
  color: #68430f;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.citations,
.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.citations {
  font-size: 0.92rem;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
}

.article-cta {
  margin: 3rem 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--forest);
  color: #fff;
}

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.78rem 1.05rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.author-card {
  margin-top: 2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: var(--forest-deep);
  color: #fff;
}

footer a {
  color: #e0bb7c;
}

.prose {
  max-width: 820px;
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 720px) {
  .site-brand {
    gap: 0.65rem;
  }

  .site-logo {
    width: 70px;
    height: 46px;
  }

  .wordmark {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav a {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.86rem;
  }

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

  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
