:root {
  --ink: #22201d;
  --muted: #6c6258;
  --paper: #fbf8f1;
  --panel: #ffffff;
  --line: #ded5c9;
  --gold: #c6922e;
  --red: #9f342b;
  --teal: #2f6f6b;
  --plum: #5b4a62;
  --shadow: 0 18px 44px rgba(45, 35, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 14rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}


.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.35rem;
}

.top-nav a {
  padding: 0.45rem 0.62rem;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus {
  color: var(--ink);
  background: #efe7db;
}

.hero {
  display: grid;
  min-height: 72vh;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: #efe5d6;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.15rem;
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

h3 {
  font-size: 1.04rem;
}

.lede {
  max-width: 46rem;
  margin: 0;
  color: #4f4941;
  font-size: 1.08rem;
}

.hero-media {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(239, 229, 214, 0.35), rgba(28, 22, 18, 0.1));
}

.actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.chip {
  color: var(--muted);
  background: transparent;
}

.chip.is-active,
.chip:hover,
.chip:focus {
  color: var(--ink);
  border-color: var(--gold);
  background: #fff8e8;
}

.section {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 1.25rem;
}

.section-header p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  gap: 1rem;
}

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

.grid.posts {
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}

.card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(35, 28, 22, 0.04);
}

.card a {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9dfd1;
}

.card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.5rem;
  color: var(--teal);
  background: #e6f0ee;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 850;
}

.search-panel {
  max-width: 72rem;
  margin: 0 auto 1rem;
}

.search-panel input {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.page-shell,
.post-shell {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem);
}

.page-title,
.post-title {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-hero {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-body {
  padding: clamp(1.2rem, 4vw, 2.5rem);
}

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

.article-gallery img {
  width: 100%;
  height: 100%;
  max-height: 34rem;
  object-fit: contain;
  background: #f1ece4;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.article-gallery-inline {
  display: block;
  margin: 0;
}

.article-gallery-inline img {
  float: right;
  clear: right;
  width: min(20rem, 48%);
  height: auto;
  margin: 0 0 1rem 1rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body .article-section-title {
  margin-bottom: 0.35rem;
}

.article-body .works-cited-heading {
  margin: 1.5rem 0 0.35rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}

.article-body .speaker-quote {
  margin-bottom: 2.35rem;
}

.article-inline-photo {
  margin: 0 0 1rem;
}

.article-inline-photo p {
  margin: 0;
}

.article-inline-photo img {
  float: right;
  width: min(9.5rem, 40%);
  margin: 0 0 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f1ece4;
}

.article-inline-caption {
  float: right;
  clear: right;
  width: min(9.5rem, 40%);
  margin: -0.45rem 0 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
}

.article-inline-photo.is-large img {
  width: min(24rem, 56%);
}

.article-inline-photo.is-wide img {
  width: min(28rem, 60%);
}

.article-inline-photo.is-wide .article-inline-caption {
  width: min(28rem, 60%);
}

.article-inline-photo.is-tall img {
  width: min(20rem, 46%);
}

.article-body h2,
.article-body h3 {
  margin: 1.5rem 0 0.7rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.8rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #e9dfd1;
}

.source-gallery-section {
  padding-top: 0;
}

.source-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 72rem;
  margin: 0 auto;
  gap: 1rem;
}

.source-photo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(35, 28, 22, 0.04);
}

.source-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9dfd1;
}

.source-photo-body {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1rem;
}

.source-photo-body h3 {
  line-height: 1.2;
}

.source-photo-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-photo-body a {
  align-self: end;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 72rem;
  margin: -2rem auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.site-footer {
  display: grid;
  gap: 0.65rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: #efe9de;
  background: #2a2622;
}

.site-footer p {
  max-width: 72rem;
  margin: 0 auto;
}

.empty {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legacy-page {
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.legacy-intro {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.legacy-intro h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 7vw, 4.2rem);
}

.legacy-copy {
  max-width: 46rem;
  color: #4f4941;
}

.legacy-copy p {
  margin: 0 0 0.85rem;
}

.feature-post {
  margin: 1.5rem 0 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-post a {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1fr);
  color: inherit;
  text-decoration: none;
}

.feature-post img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.feature-post div {
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.legacy-section-title {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.story-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.story-row {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.story-row:last-child {
  border-bottom: 0;
}

.story-thumb {
  display: block;
  overflow: hidden;
  background: #e9dfd1;
  border-radius: 6px;
}

.story-thumb img {
  width: 100%;
  height: 100%;
  min-height: 8.2rem;
  object-fit: cover;
}

.story-copy {
  align-self: center;
}

.story-copy a {
  color: inherit;
  text-decoration: none;
}

.story-copy a:hover,
.story-copy a:focus {
  text-decoration: underline;
}

.story-copy p {
  margin: 0.45rem 0;
  color: var(--muted);
}

.legacy-more {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

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

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

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

  .hero-copy {
    padding-top: 3rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.05rem;
  }

  .grid.cards,
  .stats,
  .source-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .top-nav a {
    padding-inline: 0.48rem;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .grid.cards,
  .stats,
  .source-gallery {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .feature-post a,
  .story-row {
    grid-template-columns: 1fr;
  }

  .article-inline-photo img {
    float: none;
    width: 100%;
    max-width: 11rem;
    margin: 0 0 0.75rem;
  }

  .article-inline-photo.is-large img {
    width: 100%;
    max-width: 22rem;
  }

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

  .story-thumb img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
