:root {
  color-scheme: light;
  --ink: #17352c;
  --muted: #5f6f69;
  --paper: #fffaf4;
  --surface: #ffffff;
  --rose: #c94d6b;
  --gold: #e5a83a;
  --line: rgba(23, 53, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  align-items: end;
  padding: 32px;
  isolation: isolate;
}

.heroImage {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroOverlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 30, 25, 0.76), rgba(8, 30, 25, 0.18)),
    linear-gradient(0deg, rgba(8, 30, 25, 0.44), rgba(8, 30, 25, 0.04));
}

.heroContent {
  max-width: 760px;
  padding: 72px 0 48px;
  color: #fffdf9;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.65;
}

.datePill {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  color: #fffdf9;
  background: rgba(23, 53, 44, 0.52);
  border: 1px solid rgba(255, 253, 249, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 700;
}

.datePill span + span {
  color: #ffd98a;
}

.nextChapter {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px 72px;
}

.sectionIntro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.sectionIntro .eyebrow {
  color: var(--rose);
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.memoryItem {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(47, 96, 77, 0.1);
}

.memoryItem:nth-child(2) {
  border-top-color: rgba(201, 77, 107, 0.5);
}

.memoryItem:nth-child(3) {
  border-top-color: rgba(73, 101, 165, 0.5);
}

h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.memoryItem p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .hero {
    min-height: 72vh;
    padding: 22px;
  }

  .heroContent {
    padding: 56px 0 86px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .datePill {
    right: 22px;
    bottom: 22px;
    left: 22px;
    justify-content: center;
  }

  .sectionIntro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  h2 {
    font-size: 2rem;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 2.8rem;
  }

  .datePill {
    flex-wrap: wrap;
  }
}
