:root {
  color-scheme: light;
  --paper: #f3ede4;
  --paper-deep: #e7dbc6;
  --ink: #1e1a17;
  --ink-soft: #5d534a;
  --line: #d4c6b3;
  --accent: #cd7345;
  --accent-soft: #e1b58d;
  --sage: #789867;
  --gold: #d5ad61;
  --charcoal: #171411;
  --max: 1160px;
  --shadow: 0 18px 40px rgba(31, 24, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 237, 228, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(112, 96, 81, 0.14);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 0 0 42px;
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero-band {
  background:
    linear-gradient(180deg, rgba(243, 237, 228, 0.12), rgba(243, 237, 228, 0)),
    radial-gradient(circle at top left, rgba(205, 115, 69, 0.16), transparent 44%);
  border-bottom: 1px solid rgba(112, 96, 81, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: end;
  padding: 56px 0 44px;
}

.eyebrow,
.meta-row,
.section-note,
.footer-note {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.hero-title {
  margin: 10px 0 14px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 48rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-points {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-points span,
.meta-pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(112, 96, 81, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-art {
  min-height: 100%;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 52px 0;
}

.section-alt {
  background: rgba(231, 219, 198, 0.42);
  border-top: 1px solid rgba(112, 96, 81, 0.12);
  border-bottom: 1px solid rgba(112, 96, 81, 0.12);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(112, 96, 81, 0.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(31, 24, 17, 0.11);
}

.story-card.is-hidden {
  display: none;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-body {
  padding: 18px 18px 20px;
}

.story-body h3 {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.story-body p {
  margin: 0;
  color: var(--ink-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.filter-chip {
  background: transparent;
  cursor: pointer;
}

.filter-chip.is-active {
  color: var(--ink);
  background: rgba(205, 115, 69, 0.12);
  border-color: rgba(205, 115, 69, 0.35);
}

.feature-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.feature-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.06;
}

.feature-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
}

.article-shell {
  padding: 32px 0 66px;
}

.article-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.article-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.article-cover {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-body {
  width: min(100%, 760px);
  font-size: 1.06rem;
}

.article-body p + p {
  margin-top: 18px;
}

.article-body strong {
  color: var(--charcoal);
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-item {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(112, 96, 81, 0.12);
}

.archive-item:last-child {
  border-bottom: 0;
}

.archive-item h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.about-band {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(112, 96, 81, 0.14);
}

.footer {
  border-top: 1px solid rgba(112, 96, 81, 0.12);
  padding: 24px 0 42px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .feature-shell,
  .article-head,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .story-grid,
  .archive-item {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-title {
    line-height: 1.04;
  }
}
