:root {
  --bg: #f7f1e7;
  --bg-alt: #efe3d2;
  --ink: #2b2420;
  --ink-soft: #8d8079;
  --terracotta: #c1542c;
  --gold: #d99a3f;
  --sage: #5f7a64;
  --card: #fffdf8;
  --line: rgba(43, 36, 32, 0.12);
  --shadow: rgba(43, 36, 32, 0.18);
  --accent: var(--terracotta);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 500;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  z-index: 150;
  transition: width 0.1s linear;
}

/* ---------- Side rail ---------- */
.rail {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  z-index: 60;
}

.rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink-soft);
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.rail-dot i {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.rail-dot.active {
  background: var(--accent-rail, var(--terracotta));
  border-color: var(--accent-rail, var(--terracotta));
  transform: translateY(-50%) scale(1.3);
}

.rail-dot.active i {
  opacity: 1;
  color: var(--accent-rail, var(--terracotta));
}

@media (max-width: 900px) {
  .rail { display: none; }
}

/* ---------- Lock overlay ---------- */
.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(160deg, var(--terracotta) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  padding: 1.5rem;
}

.lock-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-content {
  background: var(--card);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.lock-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.lock-content h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.lock-content p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.preview-btn {
  background: none;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.preview-btn:hover {
  background: var(--terracotta);
  color: white;
}

/* ---------- Password gate ---------- */
.password-form {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.password-input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  text-align: center;
  min-width: 0;
  flex: 1 1 160px;
}

.password-input:focus {
  outline: none;
  border-color: var(--terracotta);
}

.password-error {
  color: var(--terracotta);
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.password-hint {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Claim view ---------- */
.gift-emoji {
  font-size: 6rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.joggle {
  animation: joggle 4.5s ease-in-out infinite;
}

@keyframes joggle {
  0%, 33%, 100% { transform: rotate(0deg); }
  3.33% { transform: rotate(-10deg); }
  6.67% { transform: rotate(12deg); }
  10% { transform: rotate(-10deg); }
  13.33% { transform: rotate(9deg); }
  16.67% { transform: rotate(0deg); }
}

.gift-emoji--claimed {
  animation: none;
  transition: transform 500ms ease;
  transform: scale(1.5) rotate(12deg);
}

.gift-emoji--gone {
  display: none;
}

.claim-btn {
  background: var(--terracotta);
  border: none;
  color: white;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}

.claim-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.claim-message {
  margin-top: 2rem;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  color: var(--terracotta);
  transition: opacity 500ms ease, transform 500ms ease;
}

.claim-message--hidden {
  opacity: 0;
  transform: scale(0.95);
}

/* ---------- Gift download button ---------- */
.gift-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  padding: 0.9rem 2rem 0.9rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--terracotta) 0%, var(--gold) 100%);
  color: #fff;
  text-decoration: none;
  font-family: 'Heebo', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: 0 10px 24px -10px rgba(193, 84, 44, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gift-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(193, 84, 44, 0.7);
}

.gift-btn-heart {
  font-size: 1.4rem;
  line-height: 1;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Suez One', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  margin-left: -0.2em;
}

.hero h1 span {
  display: block;
  font-size: 0.55em;
  font-family: 'Frank Ruhl Libre', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  max-width: 420px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.scroll-hint {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.scroll-hint .line {
  width: 60px;
  height: 1px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}

.scroll-hint .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  animation: lineSlide 2.5s ease-in-out infinite;
}

@keyframes lineSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero-media {
  position: relative;
}

.hero-media .photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow);
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  margin-inline-start: auto;
  transform: rotate(2deg);
}

/* ---------- Photo base ---------- */
.photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
}

.photo figcaption {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-soft);
  padding: 0.6rem 0.2rem 0;
  text-align: center;
}

/* ---------- Chapters ---------- */
.chapter {
  position: relative;
  padding: 7rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.chapter-num {
  position: absolute;
  top: -1rem;
  right: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.chapter--reverse .chapter-num {
  right: auto;
  left: 1rem;
}

.chapter-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.chapter-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.chapter-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.chapter-text p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.chapter-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Chapter 01: duo photos ---------- */
.chapter-media--duo {
  position: relative;
  padding-bottom: 2rem;
}

.chapter-media--duo .photo--lg {
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 50px var(--shadow);
}

.chapter-media--duo .photo--sm {
  position: absolute;
  bottom: 0;
  right: -8%;
  width: 50%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 40px var(--shadow);
  border: 6px solid var(--card);
  transform: rotate(4deg);
}

.chapter--01 .chapter-media--duo .photo--sm figcaption,
.chapter-media--duo .photo--lg figcaption {
  position: absolute;
  bottom: -1.8rem;
  right: 0;
  left: 0;
}

.chapter-media--duo .photo--sm figcaption {
  bottom: -1.6rem;
}

/* ---------- Chapter 02: photo cluster ---------- */
.chapter-media--cluster {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  height: 520px;
}

.chapter-media--cluster .photo--a {
  grid-row: span 2;
  box-shadow: 0 24px 50px var(--shadow);
}

.chapter-media--cluster .photo--b {
  box-shadow: 0 14px 30px var(--shadow);
}

.chapter-media--cluster .photo--b img {
  object-position: 75% center;
}

.chapter-media--cluster .photo--d {
  box-shadow: 0 14px 30px var(--shadow);
}

/* ---------- Letter ---------- */
.letter {
  position: relative;
  padding: 7rem 1.5rem;
  background: var(--bg-alt);
  text-align: center;
  overflow: hidden;
}

.chapter-num--center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  font-size: clamp(8rem, 30vw, 22rem);
  color: var(--terracotta);
  opacity: 0.06;
}

.letter-card {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 4px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 16px 50px var(--shadow);
  text-align: right;
}

.letter .chapter-label {
  text-align: center;
}

.letter-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.letter-body p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1.3rem;
  color: var(--ink-soft);
}

.letter-body .drop-cap {
  float: right;
  font-family: 'Suez One', serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--terracotta);
  margin: 0.1rem 0 0 0.4rem;
}

.letter-body .signature {
  font-family: 'Frank Ruhl Libre', serif;
  font-style: italic;
  font-size: 1.2rem;
  text-align: left;
  margin-top: 2rem;
  color: var(--ink);
}

/* ---------- Chapter 03: video ---------- */
.video-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 50px var(--shadow);
}

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

/* ---------- Chapter 04: finale mosaic ---------- */
.chapter--04 {
  padding-bottom: 2rem;
}

.finale-intro {
  max-width: 640px;
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.finale-intro .chapter-label,
.finale-intro p:not(.chapter-label) {
  text-align: center;
}

.finale-intro p:not(.chapter-label) {
  max-width: 520px;
  margin: 0 auto;
}

.mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mosaic .photo {
  box-shadow: 0 14px 30px var(--shadow);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.mosaic .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mosaic .photo.m1 img { object-position: center; }
.mosaic .photo.m2 img { object-position: center 90%; }
.mosaic .photo.m3 img { object-position: center 65%; }
.mosaic .photo.m4 img { object-position: center 75%; }
.mosaic .photo.m5 img { object-position: center 85%; }
.mosaic .photo.m6 img { object-position: center 90%; }

.mosaic .photo:hover img {
  transform: scale(1.05);
}

/* Swipe hint — only meaningful on the mobile carousel, shown via JS */
.swipe-hint {
  display: none;
}

/* ---------- Footer ---------- */
footer {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  color: var(--ink-soft);
}

.footer-line {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.footer-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
}

footer .date {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-download-wrap {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-download {
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-download:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-download-hint {
  font-family: 'Heebo', sans-serif;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 7rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.chapter-media .reveal,
.chapter-media.reveal {
  transform: translateY(50px) scale(0.97);
}

.chapter-media.reveal.visible {
  transform: translateY(0) scale(1);
}

/* ---------- Responsive: one section per phone screen ---------- */
@media (max-width: 900px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
  }

  /* Full-screen section shells */
  .hero,
  .chapter,
  .letter,
  footer {
    height: 100dvh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 1.25rem 1.25rem;
  }

  .hero h1 {
    margin-left: 0;
  }

  .hero-grid,
  .chapter-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chapter--reverse .chapter-grid {
    flex-direction: column-reverse;
  }

  /* Text blocks: natural size, centered with the media; scroll internally if too long */
  .chapter-text,
  .finale-intro,
  .letter-body {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .finale-intro {
    max-width: none;
    margin: 0;
  }

  /* Hero text keeps its natural size; photo fills the rest */
  .hero-text {
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  /* Media blocks: fixed share of the screen */
  .hero-media,
  .hero-media .photo {
    flex: 1 1 0%;
    min-height: 0;
  }

  .hero-media .photo {
    height: 100%;
    max-height: none;
    transform: none;
  }

  .chapter-media--duo {
    flex: 0 0 38vh;
    height: 38vh;
    padding-bottom: 0;
  }

  .chapter-media--duo .photo--lg {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
  }

  .chapter-media--duo .photo--sm {
    width: 42%;
    right: -2%;
    bottom: 0;
    transform: rotate(3deg);
  }

  .chapter-media--cluster {
    flex: 0 0 38vh;
    height: 38vh;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
  }

  .chapter-media {
    flex-shrink: 0;
  }

  /* Chapter 03: vertical video, sized to the screen like a reel */
  .chapter-media:not(.chapter-media--duo):not(.chapter-media--cluster) {
    flex: 0 0 52vh;
    height: 52vh;
    width: calc(52vh * 9 / 16);
    max-width: 100%;
    margin: 0 auto;
    display: flex;
  }

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

  .video-frame video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  /* Mosaic becomes a horizontal swipe carousel */
  .mosaic {
    flex: 0 0 38vh;
    height: 38vh;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
  }

  .mosaic .photo {
    flex: 0 0 75%;
    height: 100%;
    aspect-ratio: auto;
    scroll-snap-align: center;
  }

  /* Swipe hint overlay for the carousel */
  .chapter--04 {
    position: relative;
  }

  .swipe-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    left: 50%;
    bottom: 17vh;
    transform: translate(-50%, 8px);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(33, 28, 24, 0.72);
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .swipe-hint.show {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .swipe-hint.hide {
    opacity: 0;
    transform: translate(-50%, 8px);
  }

  .swipe-hand {
    display: inline-block;
    animation: swipe-slide 1.5s ease-in-out infinite;
  }

  .swipe-chevron {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
  }

  @keyframes swipe-slide {
    0%, 100% { transform: translateX(6px); }
    50% { transform: translateX(-6px); }
  }

  @media (prefers-reduced-motion: reduce) {
    .swipe-hand { animation: none; }
  }

  /* Letter card: heading fixed, body scrolls */
  .letter-card {
    max-height: 100%;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.4rem 1.5rem;
  }

  .letter-card h2 {
    flex-shrink: 0;
    margin-bottom: 1rem;
  }

  .letter .chapter-label {
    flex-shrink: 0;
  }

  /* Closing screen, centered */
  footer {
    align-items: center;
    justify-content: center;
  }

  /* Captions add height pressure - drop on phone, photos remain in lightbox */
  .photo figcaption {
    display: none;
  }

  .chapter-num {
    font-size: 4rem;
  }
}

/* ---------- Phone tuning (iPhone-width screens) ---------- */
@media (max-width: 480px) {
  .lock-overlay {
    padding: 1rem;
  }

  .lock-content {
    padding: 2.2rem 1.4rem;
    border-radius: 18px;
  }

  .lock-content h1 {
    font-size: 1.4rem;
  }

  .lock-content p {
    font-size: 0.9rem;
  }

  .gift-emoji {
    font-size: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-sub {
    max-width: none;
    line-height: 1.8;
  }

  .chapter-num {
    font-size: 3rem;
    top: -0.5rem;
  }

  .chapter-text h2 {
    font-size: 1.6rem;
  }

  .letter-card {
    padding: 2rem 1.25rem;
  }

  .letter-body .drop-cap {
    font-size: 2.6rem;
  }
}
