:root {
  --forest: #2D4628;
  --slate: #4A5568;
  --sand: #F7F3E9;
  --terracotta: #A0522D;
  --sky: #E6F3F7;
  --paper: #FFFFFF;
  --pico-font-family: "Montserrat", Arial, sans-serif;
  --pico-primary: #2D4628;
  --pico-primary-hover: #A0522D;
}

body {
  background: var(--sand);
  color: var(--slate);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.brand,
.eyebrow,
.footer-brand,
.footer-heading {
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 233, .95);
  border-bottom: 1px solid rgba(45, 70, 40, .14);
  backdrop-filter: blur(12px);
}

.site-header nav {
  align-items: center;
  padding: .8rem 0;
}

.brand {
  color: var(--forest);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
}

.site-header a {
  color: var(--forest);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header a:hover,
.site-prose a:hover,
.footer-cta:hover {
  color: var(--terracotta);
}

.hero-section {
  color: #fff;
  background: linear-gradient(rgba(45, 70, 40, .58), rgba(45, 70, 40, .66)), url("/assets/images/img_19f1028b0e46.png") center / cover;
  padding: clamp(5rem, 12vw, 8rem) 0;
}

.hero-section h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: .95;
}

.hero-lead,
.hero-section p {
  color: rgba(255, 255, 255, .9);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
}

.eyebrow {
  color: var(--terracotta);
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-band,
.article-shell,
.listing-shell {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.site-article,
.site-sidebar,
.post-card,
.minimal-card,
.toc-box {
  background: var(--paper);
  border: 1px solid rgba(45, 70, 40, .12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(45, 70, 40, .08);
}

.site-article {
  padding: clamp(1rem, 3vw, 2rem);
}

.site-block {
  margin-bottom: 1.2rem;
}

.site-figure {
  margin: 1.5rem 0;
}

.site-figure img,
.gallery-grid img,
.post-card img,
.site-prose img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.site-figure figcaption,
.gallery-grid figcaption {
  color: var(--slate);
  font-size: .88rem;
  margin-top: .5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.site-sidebar,
.toc-box {
  padding: 1.25rem;
}

.site-sidebar h2,
.toc-box h2 {
  font-size: 1.15rem;
}

.post-card,
.minimal-card {
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover,
.minimal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(45, 70, 40, .14);
}

.minimal-card {
  border-left: 5px solid var(--terracotta);
}

.article-summary {
  border-left: 4px solid var(--terracotta);
  padding-left: 1rem;
}

.article-main-image {
  max-width: 33%;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
}

.source-link-matrix {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 70, 40, .14);
}

.source-link-matrix ul {
  columns: 2;
  list-style: none;
  padding: 0;
}

.site-footer {
  background: var(--forest);
  color: #fff;
  padding: 3rem 0;
}

.footer-brand,
.footer-heading {
  color: #fff;
}

.footer-copy,
.footer-links a,
.footer-cta {
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 767px) {
  .site-header nav,
  .site-header ul {
    display: block;
  }

  .article-main-image {
    float: none !important;
    max-width: 100%;
    margin: 0 0 1rem;
  }

  .source-link-matrix ul {
    columns: 1;
  }
}
