@font-face {
  font-family: Anton;
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-light: #fffdf6;
  --paper-print: #fffef9;
  --ink: #201c1a;
  --red: #d71e18;
  --red-dark: #a91713;
  --paper-ink: #51211d;
  --margin: clamp(1rem, 3vw, 2.75rem);
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --header-height: 3.25rem;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-width: 320px;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper-light); }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
button, a, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--red-dark);
  outline-offset: 4px;
}

section[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--paper-light);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: var(--header-height);
  padding-inline: var(--margin);
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ink);
  color: var(--paper-light);
}

.site-header__brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header__brand span { color: #ff8c83; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.site-nav a {
  padding-block: 0.55rem;
  color: var(--paper-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover, .site-nav a:focus-visible { color: #ff8c83; }

.hero {
  min-height: calc(100svh - var(--header-height));
  padding: 1.5rem var(--margin) 1.25rem;
  display: grid;
  align-items: stretch;
}

.hero__layout {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.94fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 0.88fr) minmax(0, 1fr);
  grid-template-areas: "hello portrait copy" "age portrait name";
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
  position: relative;
}

.hero__hello,
.hero__age,
.hero__name,
.gallery__heading,
.reasons__age,
.letter-section__intro h2,
.footer__name {
  margin: 0;
  color: var(--red);
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.005em;
}

.hero__hello {
  grid-area: hello;
  align-self: end;
  font-size: clamp(5rem, 10.8vw, 10rem);
  white-space: nowrap;
}

.photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--paper-light);
  color: var(--paper-ink);
  text-align: center;
  overflow: hidden;
}

.photo-slot__prompt {
  max-width: 13ch;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.photo-slot__image {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  object-fit: cover;
}

.photo-slot__prompt { position: relative; z-index: 1; }

.hero__portrait {
  grid-area: portrait;
  width: min(100%, 24rem);
  max-height: min(67svh, 43rem);
  aspect-ratio: 0.78;
  justify-self: center;
  align-self: center;
  position: relative;
  margin: 0;
}

.hero__portrait.photo-slot {
  background: #e9e2d2;
  border: 5px solid var(--paper-light);
  outline: 3px solid var(--red);
  outline-offset: -1px;
}

.hero__portrait .photo-slot__image { object-position: center 35%; }

.hero__copy {
  grid-area: copy;
  align-self: end;
  justify-self: start;
  max-width: 25ch;
  padding: 0 0 0.8rem clamp(0rem, 1.4vw, 1.25rem);
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.hero__copy p { margin: 0; }

.hero__action {
  min-height: 3.25rem;
  margin-top: 1.4rem;
  padding: 0.85rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--red);
  color: var(--paper-light);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.hero__action:hover { background: var(--red-dark); }

.hero__action svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__age {
  grid-area: age;
  align-self: end;
  font-size: clamp(8rem, 17.5vw, 16rem);
  letter-spacing: -0.035em;
}

.hero__name {
  grid-area: name;
  justify-self: end;
  align-self: end;
  font-size: clamp(7rem, 14.5vw, 13.5rem);
}

.heart-mark {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.heart-mark--hero {
  width: clamp(3.5rem, 7vw, 6rem);
  height: auto;
  position: absolute;
  top: 17%;
  left: 59%;
  transform: rotate(10deg);
}

.gallery {
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 4rem) var(--margin) 2rem;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background: var(--red);
  color: var(--paper-light);
}

.gallery__heading {
  width: 100%;
  margin-top: clamp(2rem, 5vh, 3.25rem);
  position: relative;
  z-index: 1;
  align-self: start;
  display: grid;
  color: var(--paper-light);
  font-size: clamp(7.5rem, 14.2vw, 13rem);
  letter-spacing: -0.015em;
  line-height: 0.94;
}

.gallery__heading span:last-child { justify-self: end; }

.gallery__note {
  max-width: 28ch;
  margin: 0;
  position: absolute;
  z-index: 4;
  bottom: 2rem;
  left: var(--margin);
  font-size: 0.875rem;
  font-weight: 600;
}

.gallery__prints {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.gallery__print-wrap {
  width: clamp(9.5rem, 18vw, 18rem);
  aspect-ratio: 0.75;
  position: absolute;
  pointer-events: auto;
}

.gallery__print-wrap--one { left: 34%; top: 49%; transform: rotate(-7deg); }
.gallery__print-wrap--two { left: 49%; top: 51%; transform: rotate(6deg); }
.gallery__print-wrap--three {
  right: 5%;
  bottom: 5%;
  width: clamp(7rem, 15vw, 14rem);
  transform: rotate(3deg);
}

.gallery__print-summary,
.photo-story__summary {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.5rem;
  background: var(--paper-print);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.gallery__print-summary::-webkit-details-marker,
.photo-story__summary::-webkit-details-marker,
.letter__summary::-webkit-details-marker,
.finale__button::-webkit-details-marker { display: none; }

.gallery__print-summary::marker,
.photo-story__summary::marker,
.letter__summary::marker,
.finale__button::marker { content: ""; }

.gallery__print {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  margin: 0;
}

.gallery__print-wrap:hover .gallery__print,
.gallery__print-wrap:focus-within .gallery__print { transform: scale(1.02); }

.photo-reveal__caption {
  margin: 0;
  color: var(--paper-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.gallery__print-wrap > .photo-reveal__caption {
  position: absolute;
  right: 0.5rem;
  bottom: 2rem;
  left: 0.5rem;
  display: none;
  padding: 0.65rem 0.7rem;
  background: var(--paper-light);
  color: var(--ink);
  text-align: center;
}

.gallery__print-wrap[open] > .photo-reveal__caption { display: block; }

.heart-mark--gallery-one,
.heart-mark--gallery-two {
  width: clamp(2.5rem, 5vw, 4.5rem);
  height: auto;
  position: absolute;
  z-index: 3;
  stroke: var(--paper-light);
}

.heart-mark--gallery-one { top: 55%; left: 25%; transform: rotate(-12deg); }
.heart-mark--gallery-two { top: 26%; right: 26%; transform: rotate(11deg); }

.gallery__next {
  z-index: 4;
  position: absolute;
  right: var(--margin);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.photo-story {
  min-height: 100svh;
  padding: clamp(3rem, 7vw, 6rem) var(--margin);
  background: var(--paper);
}

.photo-story__intro {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.photo-story__intro h2,
.reasons__content h2,
.heart-play h2,
.letter-section__intro h2,
.finale__reveal h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.75rem, 8.5vw, 7.5rem);
  font-weight: 400;
  line-height: 0.94;
  text-wrap: balance;
  text-transform: uppercase;
}

.photo-story__intro h2 { max-width: 9ch; color: var(--red); }
.photo-story__intro p { margin: 1rem 0 0; font-size: 1.1rem; font-weight: 600; }

.photo-story__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2rem clamp(1rem, 4vw, 4rem);
}

.photo-story__item { min-width: 0; }
.photo-story__item:nth-child(1) { transform: rotate(-2deg); }
.photo-story__item:nth-child(2) { margin-top: 3.5rem; transform: rotate(1.5deg); }
.photo-story__item:nth-child(3) { margin-top: 1.25rem; transform: rotate(-1deg); }

.photo-story__summary { padding: 0.55rem; }

.photo-story__photo {
  width: 100%;
  aspect-ratio: 0.78;
  margin: 0;
}

.photo-story__item[open] .photo-reveal__caption { padding: 0.75rem 0.45rem; text-align: center; }

.reasons {
  min-height: 100svh;
  padding: clamp(3rem, 7vw, 6rem) var(--margin);
  padding-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  background: var(--paper-light);
}

.reasons__age {
  color: var(--red);
  font-size: clamp(18rem, 42vw, 38rem);
  letter-spacing: -0.07em;
}

.reasons__content { max-width: 44rem; }
.reasons__content h2 { color: var(--red); }
.reasons__intro { margin: 1rem 0 2.5rem; font-size: 1.1rem; }

.reasons__list {
  min-height: clamp(5rem, 12vw, 9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reasons__list li {
  max-width: 19ch;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.reasons__list.is-enhanced li { display: none; }
.reasons__list.is-enhanced li.is-current { display: block; }

.reasons__controls {
  min-height: 3.5rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reasons__count { font-variant-numeric: tabular-nums; font-weight: 600; }

.text-button,
.heart-play__button {
  min-height: 3.25rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--paper-light);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.text-button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.text-button:disabled { cursor: wait; }

.reasons__progress {
  height: 0.4rem;
  margin-top: 1.25rem;
  display: none;
  overflow: hidden;
  background: #e2d4d0;
}

.reasons--enhanced .reasons__progress { display: block; }

.reasons__progress span {
  width: 5.263%;
  height: 100%;
  display: block;
  background: var(--red);
}

.heart-play {
  min-height: min(92svh, 64rem);
  padding: 5rem 3vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--red);
  color: var(--paper-light);
  text-align: center;
}

.heart-play__content {
  width: min(100%, 55rem);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heart-play h2,
.heart-play__button { position: relative; z-index: 1; }
.heart-play h2 { display: grid; max-width: 13ch; }
.heart-play h2 span { display: block; }
.heart-play__content > p { max-width: 42ch; margin: 2rem 0 2.25rem; font-size: 1.05rem; }

.heart-play__field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: crosshair;
}

.heart-play__button {
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--red-dark);
  cursor: pointer;
}

.heart-play__button:hover { background: #f7dfd9; }

.heart-play__placed {
  width: clamp(2rem, 5vw, 3.5rem);
  height: auto;
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: var(--paper-light);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform-origin: center;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.letter-section {
  min-height: 100svh;
  padding: clamp(3rem, 7vw, 6rem) var(--margin);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
}

.letter-section__intro h2 { max-width: 10ch; color: var(--red); }
.letter-section__intro p { margin: 0.75rem 0 0; font-size: 1.1rem; font-weight: 600; }

.letter {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.letter__summary { grid-column: 1 / -1; }
.letter[open] .letter__summary { grid-column: 1; }
.letter[open] .letter__paper { grid-column: 2; }

.letter__summary {
  min-height: min(54svh, 34rem);
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.letter__envelope {
  width: min(100%, 34rem);
  aspect-ratio: 1.42;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--red);
  background: var(--paper-light);
}

.letter__envelope::before,
.letter__envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.letter__envelope::before {
  z-index: 1;
  background: #f5e3d9;
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}

.letter__envelope::after {
  z-index: 3;
  background: var(--red);
  clip-path: polygon(0 0, 50% 60%, 100% 0);
}

.letter__flap {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: var(--red-dark);
  clip-path: polygon(0 0, 100% 0, 50% 60%);
  transform-origin: top center;
  backface-visibility: hidden;
}

.letter__envelope-heart {
  width: clamp(2.5rem, 7vw, 5rem);
  height: auto;
  position: relative;
  z-index: 5;
  margin-top: 0.5rem;
  fill: none;
  stroke: var(--paper-light);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.letter__instruction {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  width: fit-content;
  min-height: 3rem;
  margin-inline: auto;
  padding: 0.7rem 1rem;
  background: var(--paper-light);
  color: var(--red-dark);
  font-size: 1rem;
  font-weight: 700;
}

.letter__paper {
  min-height: 50svh;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper-light);
  color: var(--ink);
}

.letter__paper h3 {
  max-width: 9ch;
  margin: 0 0 1.25rem;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  text-wrap: balance;
}

.letter__paper p {
  max-width: 45ch;
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.letter__paper .letter__signoff { margin-top: 1.2rem; font-weight: 600; }

.letter__heart {
  width: clamp(2.5rem, 6vw, 4.75rem);
  height: auto;
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finale {
  min-height: 100svh;
  padding: 1.5rem var(--margin);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--red);
  color: var(--paper-light);
  text-align: center;
}

.finale__reveal {
  width: min(100%, 40rem);
  position: relative;
  z-index: 1;
}

.finale__reveal h2 {
  color: var(--paper-light);
  font-family: var(--body);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.finale__details { margin-top: 1rem; }

.finale__button {
  width: min(100%, 18rem);
  min-height: 3.75rem;
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper-light);
  color: var(--paper-light);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.finale__button:hover,
.finale__details[open] .finale__button {
  background: var(--paper-light);
  color: var(--red-dark);
}

.finale__message {
  margin: 1.25rem 0 0;
  color: var(--paper-light);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  text-wrap: balance;
}

.finale__heart {
  width: 3.5rem;
  height: auto;
  margin-top: 0.75rem;
  fill: none;
  stroke: var(--paper-light);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer { padding: 1.25rem var(--margin) 2rem; background: var(--paper); }
.footer p:first-child { margin: 0 0 1rem; font-size: 1rem; font-weight: 600; }
.footer__name { font-size: clamp(3.25rem, 8vw, 8rem); letter-spacing: 0.005em; }

@media (max-width: 760px) {
  :root { --header-height: 3rem; --margin: 1rem; }

  .site-header { gap: 0.6rem; }
  .site-header__brand { font-size: 1.15rem; }
  .site-nav { gap: clamp(0.5rem, 2vw, 0.85rem); }
  .site-nav a { padding-block: 0.5rem; font-size: 0.8125rem; }

  .hero { min-height: calc(100svh - var(--header-height)); padding: 1rem var(--margin) 1.25rem; }
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(16rem, 39svh) auto auto;
    grid-template-areas: "hello hello" "portrait portrait" "age name" "copy copy";
    gap: 0.45rem 0.9rem;
  }
  .hero__hello { justify-self: center; align-self: center; font-size: clamp(4.5rem, 20vw, 7rem); line-height: 0.8; }
  .hero__portrait { width: min(59vw, 19rem); height: 100%; max-height: 39svh; aspect-ratio: auto; border-width: 4px; }
  .hero__copy {
    max-width: none;
    padding: 0.4rem 0 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
  }
  .hero__action { width: max-content; max-width: 100%; min-height: 3rem; margin-top: 0.8rem; padding: 0.75rem 0.9rem; grid-column: 1 / -1; font-size: 0.9375rem; }
  .hero__age { justify-self: start; font-size: clamp(5.5rem, 29vw, 9rem); }
  .hero__name { font-size: clamp(4.8rem, 25vw, 8rem); }
  .heart-mark--hero { width: 3.25rem; top: 30%; left: 72%; }

  .gallery { min-height: 82svh; padding: 2rem var(--margin) 1.5rem; }
  .gallery__heading { margin-top: 5svh; font-size: clamp(5.5rem, 25vw, 9rem); line-height: 0.94; }
  .gallery__heading span:last-child { justify-self: start; }
  .gallery__print-wrap { width: 42vw; }
  .gallery__print-wrap--one { top: 44%; left: 6%; transform: none; }
  .gallery__print-wrap--two { top: 50%; right: 6%; left: auto; transform: none; }
  .gallery__print-wrap--three { top: 54%; right: auto; bottom: auto; left: 29%; width: 42vw; transform: none; }
  .gallery__print-summary, .photo-story__summary { padding: 0.35rem; }
  .gallery__print-wrap > .photo-reveal__caption { right: 0.35rem; bottom: 1.8rem; left: 0.35rem; font-size: 0.8125rem; }
  .gallery__note { max-width: 16ch; bottom: 1.5rem; font-size: 0.8125rem; }
  .heart-mark--gallery-one { top: 63%; left: 4%; }
  .heart-mark--gallery-two { top: 35%; right: 8%; }
  .gallery__next { right: var(--margin); bottom: 1.5rem; font-size: 0.8125rem; }

  .photo-story { padding-block: 3.5rem; }
  .photo-story__intro { margin-bottom: 2.25rem; }
  .photo-story__intro h2, .reasons__content h2, .heart-play h2, .letter-section__intro h2 { font-size: clamp(3.5rem, 15vw, 5.75rem); }
  .photo-story__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1rem; }
  .photo-story__item:nth-child(n) { grid-area: auto; margin-top: 0; transform: none; }
  .photo-story__item:nth-child(2n) { margin-top: 2rem; }
  .photo-story__item:nth-child(3) { grid-column: 1 / -1; width: min(72%, 20rem); justify-self: center; }
  .photo-story__item[open] .photo-reveal__caption { padding: 0.55rem 0.25rem; font-size: 0.85rem; }

  .reasons { min-height: auto; padding-block: 4rem; grid-template-columns: 1fr; gap: 0; }
  .reasons__age { margin: 0 0 1rem; font-size: clamp(8rem, 40vw, 13rem); line-height: 0.86; }
  .reasons__intro { margin: 0.75rem 0 1.75rem; }
  .reasons__list { min-height: 8rem; }
  .reasons__list li { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .reasons__controls { margin-top: 0.75rem; }

  .heart-play { min-height: 82svh; padding: 4rem 1rem; }
  .heart-play__content > p { max-width: 32ch; margin-block: 1.5rem 1.75rem; font-size: 1rem; }

  .letter-section { min-height: auto; padding-block: 4rem; gap: 2rem; }
  .letter { grid-template-columns: 1fr; gap: 1.5rem; }
  .letter[open] .letter__summary, .letter[open] .letter__paper { grid-column: 1; }
  .letter__summary { min-height: 62vw; }
  .letter__envelope { width: min(100%, 28rem); }
  .letter__paper { min-height: 55svh; padding: 2rem 1.25rem 5.5rem; }
  .letter__paper h3 { margin-bottom: 1rem; font-size: clamp(3.25rem, 14vw, 5.25rem); }
  .letter__paper p { font-size: 1.0625rem; }
  .letter__heart { right: 1.25rem; bottom: 1rem; width: 3.5rem; }

  .finale { min-height: 84svh; padding-block: 1.25rem; }
  .finale__reveal h2 { font-size: 1.5rem; }
  .finale__message { font-size: 1.2rem; }
  .footer { padding-bottom: 1.5rem; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 0.75rem; }
  .site-nav { gap: 0.45rem; }
  .site-nav a { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
