:root {
  --paper: #fbfaf7;
  --ink: #23201c;
  --muted: #706a61;
  --line: #ded8cc;
  --accent: #8d3d2f;
  --accent-soft: #f1dfd7;
  --sage: #607466;
}

* {
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(241, 223, 215, 0.55), rgba(251, 250, 247, 0) 22rem),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.home-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--bs-font-sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.94;
}

.lead {
  color: var(--muted);
  font-family: var(--bs-font-sans-serif);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.story-card {
  grid-column: span 6;
  min-height: 20rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.story-card:hover {
  border-color: rgba(141, 61, 47, 0.45);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

.story-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: inherit;
  text-decoration: none;
}

.story-number,
.story-meta {
  color: var(--muted);
  font-family: var(--bs-font-sans-serif);
  font-size: 0.86rem;
}

.story-card h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.story-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.story-meta {
  margin-top: auto;
  padding-top: 2rem;
}

.story-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 12rem minmax(0, 760px);
  gap: clamp(2rem, 7vw, 6rem);
  justify-content: center;
}

.story-aside {
  position: sticky;
  top: 2rem;
  display: flex;
  height: max-content;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
  font-family: var(--bs-font-sans-serif);
  font-size: 0.88rem;
}

.story-aside a,
.story-nav a {
  color: var(--accent);
  text-decoration: none;
}

.story-aside a:hover,
.story-nav a:hover {
  text-decoration: underline;
}

.story-content h1 {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.98;
}

.reader {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.86;
}

.reader p {
  margin-bottom: 1.45rem;
}

.reader h2,
.reader h3 {
  margin: 2.4rem 0 1rem;
}

.reader p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--accent);
  font-size: 4.5em;
  line-height: 0.78;
}

.story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--bs-font-sans-serif);
}

.story-nav a:last-child {
  text-align: right;
}

@media (max-width: 991.98px) {
  .story-card {
    grid-column: span 12;
    min-height: 17rem;
  }

  .story-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .story-aside {
    position: static;
    flex-flow: row wrap;
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .home-hero {
    padding-top: 3rem;
  }

  .story-card-link {
    padding: 1.2rem;
  }

  .story-nav {
    grid-template-columns: 1fr;
  }

  .story-nav a:last-child {
    text-align: left;
  }
}
