:root {
  --red-950: #3d0710;
  --red-900: #5d0a18;
  --red-800: #7e0e21;
  --red-700: #a4132b;
  --red-600: #bd233a;
  --rose-300: #ef9ca4;
  --rose-200: #f7c8ca;
  --rose-100: #fde5e2;
  --cream: #fff8ef;
  --paper: #fffdf8;
  --ink: #29171a;
  --muted: #735e61;
  --gold: #cf9d43;
  --sage: #9eb8ad;
  --shadow: 0 24px 70px rgba(75, 9, 22, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(239, 156, 164, 0.18), transparent 22rem),
    radial-gradient(circle at 93% 38%, rgba(207, 157, 67, 0.09), transparent 25rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: color 0.4s ease, background-color 0.4s ease;
}

body.intro-locked,
body.access-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #fff;
  background: var(--red-700);
  box-shadow: 0 12px 30px rgba(164, 19, 43, 0.22);
}

.button--primary:hover {
  background: var(--red-800);
  box-shadow: 0 16px 34px rgba(164, 19, 43, 0.3);
}

.button--paper {
  border-color: rgba(93, 10, 24, 0.16);
  color: var(--red-800);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(76, 15, 25, 0.08);
}

.button--paper:hover {
  border-color: var(--rose-300);
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 32%, rgba(247, 200, 202, 0.24), transparent 20rem),
    linear-gradient(145deg, #35050d, var(--red-900) 52%, #8f1728);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.access-gate.is-unlocked {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.04);
}

.access-gate__glow {
  position: absolute;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 248, 239, 0.025),
    0 0 0 160px rgba(255, 248, 239, 0.018);
}

.access-gate__card {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(32px, 7vw, 54px);
  border: 1px solid rgba(255, 248, 239, 0.2);
  border-radius: 18px;
  text-align: center;
  background: rgba(61, 7, 16, 0.72);
  box-shadow: 0 30px 90px rgba(24, 2, 8, 0.45);
  backdrop-filter: blur(18px);
}

.access-gate .eyebrow {
  color: var(--rose-200);
}

.access-gate__heart {
  margin: 8px 0 2px;
  color: var(--rose-300);
  font-size: 2rem;
  animation: accessHeartbeat 1.7s ease-in-out infinite;
}

@keyframes accessHeartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.16);
  }
  28% {
    transform: scale(1.03);
  }
  42% {
    transform: scale(1.12);
  }
}

.access-gate h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.access-gate__card > p:not(.eyebrow, .access-gate__hint, .access-gate__message) {
  margin: 20px auto 26px;
  color: rgba(255, 248, 239, 0.78);
}

.access-gate__form {
  display: grid;
  gap: 12px;
}

.access-gate__form label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-gate__form input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(255, 248, 239, 0.25);
  border-radius: 5px;
  color: var(--paper);
  font-size: 1.35rem;
  letter-spacing: 0.6em;
  text-align: center;
  background: rgba(255, 248, 239, 0.08);
}

.access-gate__form input::placeholder {
  color: rgba(255, 248, 239, 0.38);
}

.access-gate__form .button {
  width: 100%;
}

.access-gate__hint,
.access-gate__message {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: rgba(255, 248, 239, 0.58);
  font-size: 0.78rem;
}

.access-gate__message {
  margin-top: 2px;
  color: var(--rose-200);
  font-weight: 700;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff8ef;
  background:
    radial-gradient(circle at 50% 40%, rgba(233, 99, 112, 0.35), transparent 22rem),
    linear-gradient(135deg, var(--red-950), var(--red-800) 55%, #8f1b2a);
  transition: opacity 1s ease, visibility 1s ease, transform 1s ease;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 240, 231, 0.16);
  border-radius: 50%;
}

.intro::before {
  top: -35vw;
  left: -15vw;
}

.intro::after {
  right: -25vw;
  bottom: -38vw;
}

.intro.is-open {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.06);
}

.intro__glow {
  position: absolute;
  width: min(65vw, 580px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
  animation: introPulse 5s ease-in-out infinite;
}

.intro__content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  text-align: center;
}

.intro .eyebrow {
  margin-bottom: 6px;
  color: var(--rose-200);
}

.intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 17vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.95;
  text-shadow: 0 20px 70px rgba(31, 2, 8, 0.32);
}

.intro__arabic {
  margin: 20px 0 34px;
  color: #ffdad6;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}

.intro__hint {
  margin: 24px 0 0;
  color: rgba(255, 248, 239, 0.58);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-style: italic;
}

.gift-button {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.gift-button__box {
  position: relative;
  display: block;
  width: 78px;
  height: 62px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 0 40%, #e8bd65 40% 58%, transparent 58%),
    #fff1e5;
  box-shadow: 0 15px 36px rgba(28, 2, 7, 0.28);
  transition: transform 0.25s ease;
}

.gift-button__lid {
  position: absolute;
  z-index: 2;
  top: -7px;
  left: -6px;
  width: 90px;
  height: 18px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 41%, #d3a54c 41% 58%, transparent 58%),
    #fff8ef;
  transition: transform 0.25s ease;
}

.gift-button__bow::before,
.gift-button__bow::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -27px;
  width: 30px;
  height: 20px;
  border: 6px solid #e5b95d;
}

.gift-button__bow::before {
  left: 14px;
  border-radius: 60% 40% 20% 60%;
  transform: rotate(16deg);
}

.gift-button__bow::after {
  right: 14px;
  border-radius: 40% 60% 60% 20%;
  transform: rotate(-16deg);
}

.gift-button:hover .gift-button__box {
  transform: translateY(-5px) rotate(-2deg);
}

.gift-button:hover .gift-button__lid {
  transform: translateY(-6px) rotate(3deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(93, 10, 24, 0.08);
  background: rgba(255, 248, 239, 0.86);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(81, 9, 22, 0.08);
}

.wordmark {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  width: fit-content;
  color: var(--red-800);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.wordmark__heart {
  color: var(--red-600);
  font-size: 0.7rem;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  color: #52363b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(93, 10, 24, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
  border-color: var(--rose-300);
  transform: rotate(8deg);
}

.sound-off,
.theme-moon,
body.sound-enabled .sound-on,
body.moonlight .theme-sun {
  display: none;
}

body.sound-enabled .sound-off,
body.moonlight .theme-moon {
  display: inline;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(35px, 7vw, 90px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-block: 70px 95px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h2 {
  max-width: 670px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero h2 em,
.finale h2 em {
  position: relative;
  color: var(--red-700);
  font-weight: 400;
}

.hero h2 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8c49-8 97 4 147-2 34-4 59-4 89 0' fill='none' stroke='%23cf9d43' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__lead {
  max-width: 580px;
  margin: 28px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.anniversary-stamp {
  display: grid;
  width: 125px;
  aspect-ratio: 1;
  place-content: center;
  margin: 42px 0 0 auto;
  border: 1px solid rgba(164, 19, 43, 0.25);
  border-radius: 50%;
  color: var(--red-800);
  text-align: center;
  transform: rotate(-7deg);
}

.anniversary-stamp::before {
  content: "♥";
  position: absolute;
  align-self: start;
  justify-self: center;
  margin-top: -10px;
  padding: 0 6px;
  color: var(--red-600);
  background: var(--cream);
}

.anniversary-stamp span,
.anniversary-stamp small {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anniversary-stamp strong {
  display: block;
  margin: 2px 0;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.hero__art {
  position: relative;
  width: min(100%, 620px);
  justify-self: end;
}

.manatee-scene {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(82, 8, 22, 0.2));
}

.art-note {
  position: absolute;
  z-index: 2;
  padding: 8px 15px;
  color: var(--red-800);
  background: #fff8e9;
  box-shadow: 0 8px 24px rgba(64, 7, 17, 0.14);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.art-note--one {
  top: 14%;
  left: -4%;
  transform: rotate(-9deg);
}

.art-note--two {
  right: -3%;
  bottom: 19%;
  transform: rotate(8deg);
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
  color: #fff7ef;
  background: var(--red-800);
  transform: rotate(-1.2deg);
}

.ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(0.9rem, 1.7vw, 1.15rem);
  font-style: italic;
  letter-spacing: 0.08em;
  white-space: nowrap;
  animation: tickerMove 30s linear infinite;
}

.ticker__track i {
  color: var(--rose-300);
  font-style: normal;
}

.photo-story {
  padding-block: 155px 135px;
}

.photo-intro {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: -15px 0 32px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(93, 10, 24, 0.1);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-intro span {
  color: var(--red-800);
}

.photo-intro strong {
  margin-right: 4px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.photo-intro p {
  margin: 0 0 0 auto;
}

.photo-intro i {
  color: var(--red-700);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: normal;
}

.photo-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 72px;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.photo-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 6;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 12px 15px;
  border: 0;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 17px 50px rgba(76, 9, 20, 0.12);
  text-align: left;
  cursor: zoom-in;
  transform: rotate(var(--photo-rotation, 0deg));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-card:nth-child(3n + 1) { --photo-rotation: -0.7deg; }
.photo-card:nth-child(3n + 2) { --photo-rotation: 0.8deg; }

.photo-card--wide {
  grid-column: span 6;
  grid-row: span 5;
}

.photo-card--panorama {
  grid-column: span 8;
  grid-row: span 6;
}

.photo-card--tall {
  grid-column: span 4;
  grid-row: span 7;
}

.photo-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -10px;
  left: 50%;
  width: 78px;
  height: 23px;
  background: rgba(235, 208, 156, 0.68);
  transform: translateX(-50%) rotate(-2deg);
}

.photo-card:nth-child(even)::before {
  transform: translateX(-50%) rotate(3deg);
}

.photo-card:hover {
  z-index: 3;
  box-shadow: 0 28px 65px rgba(76, 9, 20, 0.2);
  transform: translateY(-10px) rotate(0deg);
}

.photo-card__image {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: var(--rose-100);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.photo-card:hover img {
  transform: scale(1.035);
}

.photo-card__caption {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 13px 5px 0;
}

.photo-card__caption span {
  max-width: 85%;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.2;
}

.photo-card__caption small {
  color: var(--red-700);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.scattered-photo {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 9px 9px 34px;
  border: 0;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(67, 7, 18, 0.2);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.scattered-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -9px;
  left: 50%;
  width: 62px;
  height: 20px;
  background: rgba(235, 208, 156, 0.72);
  transform: translateX(-50%) rotate(-2deg);
}

.scattered-photo:hover {
  z-index: 8;
  box-shadow: 0 28px 65px rgba(67, 7, 18, 0.28);
  transform: translateY(-7px) rotate(0deg) !important;
}

.scattered-photo__image {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: var(--rose-100);
}

.scattered-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scattered-photo:hover img {
  transform: scale(1.035);
}

.scattered-photo__caption {
  position: absolute;
  right: 7px;
  bottom: 8px;
  left: 7px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-photo-stack {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-photo-stack .scattered-photo {
  position: absolute;
  width: 150px;
  height: 190px;
  pointer-events: auto;
}

.hero-photo-stack .scattered-photo--1 {
  bottom: 28%;
  left: 0;
  transform: rotate(-8deg);
}

.hero-photo-stack .scattered-photo--2 {
  top: 4%;
  right: 0;
  width: 132px;
  height: 174px;
  transform: rotate(8deg);
}

.story-photo-trail {
  position: relative;
  height: 410px;
  margin: -8px 0 55px;
}

.story-photo-trail::before {
  content: "London  ↔  Saudi Arabia";
  position: absolute;
  top: 24px;
  right: 23%;
  z-index: 4;
  padding: 8px 14px;
  color: var(--red-800);
  background: #fff3d9;
  box-shadow: 0 8px 22px rgba(68, 8, 18, 0.12);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  transform: rotate(3deg);
}

.story-photo-trail .scattered-photo {
  position: absolute;
}

.story-photo-trail .scattered-photo--1 {
  top: 0;
  left: 2%;
  width: 72%;
  height: 355px;
  transform: rotate(-1.5deg);
}

.story-photo-trail .scattered-photo--2 {
  right: 2%;
  bottom: 0;
  width: 26%;
  height: 315px;
  transform: rotate(5deg);
}

.anniversary-photo-stack {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2 + 28px));
  bottom: 16px;
  z-index: 3;
  width: 168px;
  height: 132px;
}

.anniversary-photo-stack .scattered-photo {
  transform: rotate(5deg);
}

.anniversary-photo-stack .scattered-photo__caption {
  color: var(--red-900);
}

.anniversary-card__scribble {
  right: 220px;
}

.reason-photo-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.reason-photo-scatter .scattered-photo {
  position: absolute;
  width: 145px;
  height: 190px;
  pointer-events: auto;
}

.reason-photo-scatter .scattered-photo--1 {
  top: 43%;
  left: max(18px, calc((100vw - 1430px) / 2));
  transform: rotate(-8deg);
}

.reason-photo-scatter .scattered-photo--2 {
  top: 55%;
  right: max(18px, calc((100vw - 1430px) / 2));
  transform: rotate(7deg);
}

.reasons .section-heading,
.reason-machine {
  position: relative;
  z-index: 2;
}

.letters {
  position: relative;
  padding-bottom: 380px;
}

.letter-photo-scatter {
  position: absolute;
  right: 5%;
  bottom: 28px;
  z-index: 3;
  width: 155px;
  height: 205px;
}

.letter-photo-scatter .scattered-photo {
  transform: rotate(7deg);
}

.finale-photo-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.finale-photo-scatter .scattered-photo {
  position: absolute;
  width: 155px;
  height: 205px;
  pointer-events: auto;
}

.finale-photo-scatter .scattered-photo--1 {
  bottom: -25px;
  left: 0;
  transform: rotate(-9deg);
}

.finale-photo-scatter .scattered-photo--2 {
  top: auto;
  right: 0;
  bottom: -25px;
  transform: rotate(8deg);
}

.finale > :not(.finale-photo-scatter) {
  position: relative;
  z-index: 2;
}

.memory-card__photo-peek {
  position: absolute;
  right: 17px;
  bottom: 59px;
  z-index: 1;
  width: 100px;
  height: 75px;
  padding: 5px;
  background: #fffdf8;
  box-shadow: 0 9px 22px rgba(64, 6, 16, 0.25);
  transform: rotate(5deg);
  transition: transform 0.35s ease;
}

.memory-card:nth-child(even) .memory-card__photo-peek {
  transform: rotate(-5deg);
}

.memory-card__photo-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memory-card--has-photo .memory-card__bottom {
  padding-right: 112px;
}

.memory-card:hover .memory-card__photo-peek {
  transform: rotate(1deg) translateY(-4px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.9fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  align-self: start;
  padding-top: 15px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.story {
  padding-block: 150px 120px;
}

.progress-card {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 34px;
  padding: 17px 20px;
  border: 1px solid rgba(93, 10, 24, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.48);
}

.progress-card > div:first-child {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.progress-card__label,
.progress-card__message {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.progress-card strong {
  color: var(--red-700);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--rose-100);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-700), var(--rose-300));
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.memory-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(93, 10, 24, 0.08);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 45px rgba(76, 9, 20, 0.07);
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.memory-card:nth-child(2),
.memory-card:nth-child(5) {
  transform: translateY(24px) rotate(1deg);
}

.memory-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-8px) rotate(-1deg);
}

.memory-card:nth-child(2):hover,
.memory-card:nth-child(5):hover {
  transform: translateY(12px) rotate(0deg);
}

.memory-card--red {
  color: #fff8ef;
  background: var(--red-800);
}

.memory-card--pink {
  background: var(--rose-100);
}

.memory-card--dark {
  color: #fff8ef;
  background: var(--red-950);
}

.memory-card--sage {
  background: #dce8e1;
}

.memory-card--gold {
  background: #f5e2b8;
}

.memory-card__top,
.memory-card__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.memory-card__number {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

.memory-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  opacity: 0.75;
}

.memory-card__middle h3 {
  max-width: 300px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.memory-card__middle p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.65;
  text-transform: uppercase;
}

.memory-card__bottom {
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.68;
  text-transform: uppercase;
}

.memory-card__bottom i {
  font-size: 1.2rem;
  font-style: normal;
  transition: transform 0.2s ease;
}

.memory-card:hover .memory-card__bottom i {
  transform: translateX(4px);
}

.memory-card.is-discovered::after {
  content: "seen ♥";
  position: absolute;
  top: 68px;
  right: -12px;
  padding: 5px 18px;
  color: var(--red-800);
  background: #fff8e9;
  box-shadow: 0 4px 12px rgba(67, 7, 19, 0.1);
  font-family: var(--serif);
  font-size: 0.7rem;
  font-style: italic;
  transform: rotate(9deg);
}

.anniversary-section {
  position: relative;
  padding: 40px 0 130px;
}

.anniversary-card {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px);
  color: #fff7ef;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12), transparent 17rem),
    var(--red-800);
  box-shadow: var(--shadow);
}

.anniversary-card::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255, 255, 255, 0.025), 0 0 0 150px rgba(255, 255, 255, 0.018);
}

.anniversary-card__date {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  text-align: center;
}

.anniversary-card__date span {
  margin-bottom: -15px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.35em;
}

.anniversary-card__date strong {
  font-family: var(--serif);
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 1;
}

.anniversary-card__copy {
  position: relative;
  z-index: 1;
}

.anniversary-card .eyebrow {
  color: var(--rose-200);
}

.anniversary-card h2 {
  max-width: 750px;
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.countdown {
  display: flex;
  gap: clamp(20px, 5vw, 54px);
}

.countdown > div {
  display: flex;
  flex-direction: column;
}

.countdown strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  margin-top: 7px;
  color: var(--rose-200);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.anniversary-card__scribble {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(255, 244, 235, 0.68);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  transform: rotate(-5deg);
}

.reasons {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 120px max(24px, calc((100vw - 1180px) / 2)) 135px;
  color: #fff8ef;
  background:
    radial-gradient(circle at 15% 20%, rgba(207, 157, 67, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 70%, rgba(239, 156, 164, 0.12), transparent 30rem),
    var(--red-950);
}

.section-heading--light .eyebrow {
  color: var(--rose-300);
}

.section-heading--light > p:last-child {
  color: rgba(255, 248, 239, 0.6);
}

.reason-machine {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  padding: 60px 20px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  text-align: center;
}

.reason-machine::before,
.reason-machine::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 350px 60px 0 -4px var(--rose-300), -320px 90px 0 -5px #fff, 270px -100px 0 -6px #fff;
}

.reason-machine__number {
  position: absolute;
  top: 46px;
  color: var(--rose-300);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

.reason-machine blockquote {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 30px auto 20px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reason-machine blockquote.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.reason-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red-600);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.05), 0 20px 36px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.reason-button:hover {
  background: #d73950;
  transform: scale(1.08);
}

.reason-button:active {
  transform: scale(0.95);
}

.reason-button span {
  font-size: 1.7rem;
}

.reason-machine > p {
  margin: -8px 0 0;
  color: rgba(255, 248, 239, 0.52);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
}

.reason-machine__orbit {
  position: absolute;
  width: 82%;
  height: 52%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.letters {
  padding-block: 145px 125px;
}

.letter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.letter-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 30px 28px;
  border: 0;
  color: var(--red-900);
  background: #f2cfca;
  box-shadow: 0 18px 40px rgba(79, 10, 21, 0.1);
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.letter-card:nth-child(2) {
  background: #f5dfbc;
  transform: rotate(1.5deg);
}

.letter-card:nth-child(3) {
  background: #d8e4de;
  transform: rotate(-1deg);
}

.letter-card:nth-child(4) {
  color: #fff8ef;
  background: var(--red-800);
  transform: rotate(1deg);
}

.letter-card::before,
.letter-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -70%;
  left: -20%;
  height: 145%;
  border: 1px solid currentColor;
  opacity: 0.16;
  transform: rotate(45deg);
}

.letter-card::after {
  top: -104%;
  bottom: auto;
}

.letter-card:hover {
  z-index: 2;
  box-shadow: 0 26px 60px rgba(79, 10, 21, 0.18);
  transform: translateY(-10px) rotate(-1deg);
}

.letter-card__seal {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 24px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #fff7ef;
  background: var(--red-700);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.15), 0 7px 16px rgba(72, 7, 18, 0.2);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.letter-card h3 {
  position: relative;
  z-index: 1;
  max-width: 200px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.08;
}

.letter-card small {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.65;
  text-transform: uppercase;
}

.dream-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding-bottom: 145px;
}

.doctor-note {
  position: relative;
  padding: clamp(35px, 6vw, 70px);
  border: 1px solid rgba(93, 10, 24, 0.08);
  background:
    repeating-linear-gradient(transparent 0 31px, rgba(88, 122, 150, 0.08) 31px 32px),
    var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.doctor-note__tape {
  position: absolute;
  top: -17px;
  left: 42%;
  width: 110px;
  height: 34px;
  background: rgba(231, 201, 143, 0.6);
  transform: rotate(3deg);
}

.doctor-note__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--red-700);
  border-radius: 50%;
  color: var(--red-700);
  font-size: 1.4rem;
}

.doctor-note h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.doctor-note > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--muted);
}

.heartbeat-card {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(35px, 5vw, 58px);
  color: #e9f2ee;
  background:
    linear-gradient(rgba(19, 59, 52, 0.93), rgba(12, 46, 40, 0.97)),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(255,255,255,.04) 20px 21px),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255,255,255,.04) 20px 21px);
  box-shadow: var(--shadow);
}

.heartbeat-card > p {
  margin: 0;
  color: #91bcae;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.heartbeat-card > strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
}

.heartbeat-line {
  margin: 50px -20px;
  overflow: hidden;
}

.heartbeat-line svg {
  width: 100%;
  height: 115px;
  overflow: visible;
}

.heartbeat-line path {
  fill: none;
  stroke: #f0606e;
  stroke-dasharray: 950;
  stroke-dashoffset: 950;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 7px rgba(240, 96, 110, 0.75));
  animation: heartbeatDraw 3.2s linear infinite;
}

.heartbeat-card__status {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.heartbeat-card__status span {
  color: #91bcae;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heartbeat-card__status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #63d7a4;
  box-shadow: 0 0 10px #63d7a4;
}

.heartbeat-card__status strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.play {
  padding-block: 130px;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.play-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid rgba(93, 10, 24, 0.08);
  background: var(--paper);
  box-shadow: 0 14px 45px rgba(70, 8, 19, 0.06);
}

.play-card__index {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(93, 10, 24, 0.2);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
}

.play-card h3 {
  max-width: 450px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.play-card > p:not(.eyebrow, .wheel-result, .secret-status) {
  margin: 0 0 28px;
  color: var(--muted);
}

.play-card .button {
  margin-top: auto;
}

.play-card--quiz {
  color: #fff7ef;
  background:
    radial-gradient(circle at 90% 90%, rgba(255,255,255,.1), transparent 20rem),
    var(--red-800);
}

.play-card--quiz .eyebrow,
.play-card--quiz > p:not(.eyebrow) {
  color: var(--rose-200);
}

.play-card--quiz .play-card__index {
  color: rgba(255, 255, 255, 0.18);
}

.play-card--quiz .button--primary {
  color: var(--red-800);
  background: var(--paper);
}

.play-card--wheel {
  background: #f3debd;
}

.mini-wheel {
  position: absolute;
  right: -50px;
  bottom: -70px;
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  border: 22px solid #fff8ec;
  border-radius: 50%;
  background: conic-gradient(var(--red-700) 0 45deg, #ef9ca4 45deg 90deg, var(--red-900) 90deg 135deg, #dfba6a 135deg 180deg, var(--red-700) 180deg 225deg, #ef9ca4 225deg 270deg, var(--red-900) 270deg 315deg, #dfba6a 315deg);
  box-shadow: 0 18px 45px rgba(78, 9, 21, 0.15);
  transition: transform 2.2s cubic-bezier(0.12, 0.68, 0.16, 1);
}

.mini-wheel::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  border: 8px solid #fff8ec;
  border-radius: 50%;
  background: var(--red-700);
}

.mini-wheel span {
  position: relative;
  z-index: 1;
  color: #fff;
}

.wheel-result {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 4px 0 20px;
  color: var(--red-800);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.play-card--compliment {
  background: #dce8e1;
}

.compliment-ticket {
  position: relative;
  width: min(100%, 430px);
  margin: 10px 0 24px;
  padding: 24px 28px;
  border: 1px dashed var(--red-700);
  color: var(--red-800);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.compliment-ticket::before,
.compliment-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dce8e1;
  transform: translateY(-50%);
}

.compliment-ticket::before { left: -10px; }
.compliment-ticket::after { right: -10px; }

.play-card--secret {
  color: #fff7ef;
  background:
    radial-gradient(circle at 18% 90%, rgba(207, 157, 67, 0.12), transparent 18rem),
    var(--red-950);
}

.play-card--secret .eyebrow,
.play-card--secret > p:not(.eyebrow) {
  color: var(--rose-200);
}

.play-card--secret .play-card__index {
  color: rgba(255, 255, 255, 0.15);
}

.secret-form {
  display: flex;
  width: min(100%, 360px);
  margin-top: auto;
}

.secret-form input {
  min-width: 0;
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  color: #fff;
  outline: 0;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
}

.secret-form input:focus {
  border-color: var(--rose-300);
}

.secret-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.secret-form button {
  padding: 12px 20px;
  border: 0;
  border-radius: 0 3px 3px 0;
  color: var(--red-900);
  background: var(--rose-200);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.secret-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--rose-200);
  font-size: 0.75rem;
}

.coupons {
  padding-block: 30px 150px;
}

.coupon-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scrollbar-color: var(--rose-300) transparent;
}

.coupon {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border: 1px dashed var(--red-700);
  color: var(--red-900);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(74, 8, 19, 0.07);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.coupon:nth-child(even) {
  background: var(--rose-100);
  transform: rotate(1deg);
}

.coupon::before,
.coupon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 1px dashed var(--red-700);
  border-radius: 50%;
  background: var(--cream);
  transform: translateY(-50%);
}

.coupon::before { left: -14px; }
.coupon::after { right: -14px; }

.coupon__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(93, 10, 24, 0.18);
  border-radius: 50%;
  font-size: 1.25rem;
}

.coupon h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.08;
}

.coupon p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.coupon button {
  position: absolute;
  right: 28px;
  bottom: 23px;
  left: 28px;
  padding: 8px;
  border: 0;
  color: var(--red-700);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.coupon.is-redeemed {
  opacity: 0.55;
  transform: rotate(-2deg) scale(0.98);
}

.coupon.is-redeemed::after {
  content: "REDEEMED";
  right: 20px;
  bottom: 65px;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  padding: 8px 14px;
  border: 3px solid var(--red-700);
  border-radius: 3px;
  color: var(--red-700);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-9deg);
}

.finale {
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
  padding: clamp(70px, 10vw, 130px) clamp(25px, 10vw, 130px);
  color: #fff8ef;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 20rem),
    radial-gradient(circle at 85% 80%, rgba(207,157,67,.16), transparent 25rem),
    var(--red-800);
  text-align: center;
  box-shadow: var(--shadow);
}

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

.finale h2 {
  margin: 0 auto 26px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.finale h2 em {
  color: #ffd8d4;
}

.finale > p:not(.eyebrow, .signature) {
  max-width: 700px;
  margin: 0 auto 36px;
  color: rgba(255, 248, 239, 0.7);
}

.finale-button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  color: var(--red-900);
  background: var(--paper);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.finale-button:hover {
  box-shadow: 0 15px 35px rgba(43, 3, 10, 0.3);
  transform: translateY(-4px);
}

.finale-button i {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red-700);
  font-style: normal;
}

.signature {
  margin: 40px 0 0;
  color: var(--rose-200);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.finale__stars {
  margin-bottom: 25px;
  color: #eecb80;
}

.finale__manatee {
  position: absolute;
  right: 3%;
  bottom: 2%;
  width: 160px;
  opacity: 0.65;
  transform: rotate(-5deg);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  font-size: 0.72rem;
}

footer button {
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--red-700);
  background: transparent;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

.modal {
  width: min(620px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(42, 3, 10, 0.4);
}

.modal::backdrop {
  background: rgba(43, 4, 12, 0.72);
  backdrop-filter: blur(8px);
}

.modal[open] {
  animation: modalIn 0.35s ease both;
}

.modal__close {
  position: sticky;
  z-index: 4;
  top: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  float: right;
  margin: 16px 16px -56px 0;
  border: 1px solid rgba(93, 10, 24, 0.12);
  border-radius: 50%;
  color: var(--red-800);
  background: rgba(255, 253, 248, 0.92);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal__hero {
  min-height: 220px;
  padding: 58px 55px 35px;
  color: #fff8ef;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.14), transparent 12rem),
    var(--red-800);
}

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

.modal__hero h2 {
  max-width: 480px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.modal__body {
  padding: 40px 55px 52px;
}

.modal__body p {
  margin: 0;
  color: #523b3f;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.85;
}

.modal__note {
  display: block;
  margin-top: 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: #fff6e7;
  font-size: 0.76rem;
}

.modal__memory-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0 0;
}

.modal__memory-photo {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--rose-100);
  cursor: zoom-in;
}

.modal__memory-photo:first-child:last-child {
  grid-column: 1 / -1;
  min-height: 280px;
}

.modal__memory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modal__memory-photo:hover img {
  transform: scale(1.04);
}

.modal__memory-photo span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 9px;
  color: var(--red-900);
  background: rgba(255, 253, 248, 0.9);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal.modal--photo {
  width: min(1080px, calc(100% - 28px));
  overflow: hidden;
  color: #fff8ef;
  background: var(--red-950);
}

.modal--photo .modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  margin: 0;
  color: var(--red-900);
}

.modal__photo-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  min-height: min(760px, calc(100vh - 40px));
}

.modal__photo-frame {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 65%),
    #190509;
}

.modal__photo-frame img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.35));
}

.modal__photo-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 70px 30px 32px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.08), transparent 12rem),
    var(--red-800);
}

.modal__photo-details .eyebrow {
  color: var(--rose-200);
}

.modal__photo-details h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.modal__photo-count {
  margin: 18px 0 0;
  color: rgba(255, 248, 239, 0.58);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
}

.modal__photo-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.modal__photo-controls button {
  padding: 11px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: #fff8ef;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal__photo-controls button:hover {
  color: var(--red-900);
  background: var(--paper);
}

.modal__letter {
  padding: 70px clamp(28px, 8vw, 70px);
  background:
    repeating-linear-gradient(transparent 0 31px, rgba(88, 122, 150, 0.08) 31px 32px),
    var(--paper);
}

.modal__letter .eyebrow {
  color: var(--red-700);
}

.modal__letter h2 {
  margin: 0 0 28px;
  color: var(--red-900);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.modal__letter p {
  margin: 0;
  color: #513a3e;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.9;
}

.modal__letter .letter-signoff {
  margin-top: 30px;
  color: var(--red-700);
  font-style: italic;
}

.quiz {
  min-height: 520px;
  padding: 58px clamp(24px, 7vw, 60px) 50px;
}

.quiz__progress {
  margin-bottom: 36px;
}

.quiz__progress div {
  height: 5px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--rose-100);
}

.quiz__progress div span {
  display: block;
  height: 100%;
  background: var(--red-700);
  transition: width 0.4s ease;
}

.quiz__progress p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.quiz__options {
  display: grid;
  gap: 10px;
}

.quiz__option {
  padding: 15px 18px;
  border: 1px solid rgba(93, 10, 24, 0.13);
  border-radius: 3px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quiz__option:hover:not(:disabled) {
  border-color: var(--rose-300);
  background: var(--rose-100);
  transform: translateX(4px);
}

.quiz__option.is-correct {
  border-color: #659a7b;
  color: #255f41;
  background: #e1f1e7;
}

.quiz__option.is-wrong {
  border-color: #cc6571;
  color: var(--red-800);
  background: var(--rose-100);
}

.quiz__response {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--red-700);
  font-family: var(--serif);
  font-style: italic;
}

.quiz__next {
  margin-top: 10px;
}

.quiz__result {
  display: grid;
  min-height: 400px;
  place-content: center;
  text-align: center;
}

.quiz__result strong {
  color: var(--red-700);
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 400;
  line-height: 1;
}

.quiz__result h2 {
  margin: 10px 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  max-width: min(380px, calc(100% - 48px));
  padding: 14px 18px;
  border-left: 4px solid var(--rose-300);
  color: #fff8ef;
  background: var(--red-950);
  box-shadow: 0 16px 40px rgba(43, 3, 10, 0.28);
  font-family: var(--serif);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-hearts {
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow: hidden;
  pointer-events: none;
}

.floating-heart {
  position: absolute;
  color: var(--red-600);
  font-size: 18px;
  animation: floatHeart 1.8s ease-out forwards;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  z-index: 1300;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

body.moonlight {
  --cream: #1a1013;
  --paper: #25171b;
  --ink: #fff1e9;
  --muted: #c3aeb1;
  --rose-100: #49242c;
  background:
    radial-gradient(circle at 15% 20%, rgba(164, 19, 43, 0.21), transparent 25rem),
    #1a1013;
}

body.moonlight .site-header {
  border-color: rgba(255,255,255,.08);
  background: rgba(26, 16, 19, 0.88);
}

body.moonlight .desktop-nav,
body.moonlight .hero__lead,
body.moonlight .section-heading > p:last-child,
body.moonlight .progress-card__label,
body.moonlight .progress-card__message,
body.moonlight footer,
body.moonlight .coupon p,
body.moonlight .doctor-note > p:not(.eyebrow),
body.moonlight .play-card > p:not(.eyebrow, .wheel-result, .secret-status) {
  color: #c3aeb1;
}

body.moonlight .wordmark,
body.moonlight .eyebrow,
body.moonlight .hero h2 em,
body.moonlight footer button {
  color: #ef8c98;
}

body.moonlight .memory-card,
body.moonlight .progress-card,
body.moonlight .play-card,
body.moonlight .coupon,
body.moonlight .doctor-note {
  border-color: rgba(255,255,255,.08);
}

body.moonlight .memory-card--cream,
body.moonlight .play-card:not(.play-card--quiz, .play-card--secret),
body.moonlight .coupon,
body.moonlight .doctor-note {
  color: #29171a;
  background-color: #fff8ef;
}

body.moonlight .anniversary-stamp::before,
body.moonlight .coupon::before,
body.moonlight .coupon::after {
  background: #1a1013;
}

@keyframes introPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

@keyframes heartbeatDraw {
  0% { stroke-dashoffset: 950; opacity: 0; }
  15% { opacity: 1; }
  75%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes floatHeart {
  0% { opacity: 0; transform: translate(-50%, -20%) scale(0.6) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--drift)), -240px) scale(1.2) rotate(var(--spin)); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 25px;
  }

  .photo-grid {
    grid-auto-rows: 64px;
    gap: 14px;
  }

  .hero h2 {
    font-size: clamp(3rem, 6vw, 4.7rem);
  }

  .section-heading {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .letter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dream-section {
    grid-template-columns: 1fr;
  }

  .heartbeat-card {
    min-height: 430px;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 78px;
  }

  .section-shell {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 9px 18px;
  }

  .ticker {
    transform: none;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 65px 90px;
  }

  .hero h2 {
    font-size: clamp(3.1rem, 13vw, 5rem);
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .anniversary-stamp {
    width: 105px;
    margin-top: 30px;
  }

  .hero__art {
    width: min(100%, 500px);
    justify-self: center;
  }

  .art-note--one { left: 1%; }
  .art-note--two { right: 0; }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading .eyebrow {
    padding: 0;
  }

  .section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .story,
  .photo-story,
  .letters,
  .play {
    padding-block: 100px 90px;
  }

  .photo-intro {
    align-items: flex-start;
  }

  .photo-intro p {
    text-align: right;
  }

  .photo-card,
  .photo-card--tall {
    grid-column: span 6;
    grid-row: span 6;
  }

  .photo-card--wide,
  .photo-card--panorama {
    grid-column: span 12;
    grid-row: span 6;
  }

  .photo-card__caption span {
    font-size: 0.9rem;
  }

  .progress-card {
    grid-template-columns: 1fr auto;
  }

  .progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .progress-card__message {
    text-align: right;
  }

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

  .memory-card {
    grid-column: auto;
    min-height: 290px;
  }

  .memory-card:nth-child(2),
  .memory-card:nth-child(5) {
    transform: none;
  }

  .anniversary-section {
    padding: 20px 0 90px;
  }

  .anniversary-card {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px 26px 55px;
  }

  .anniversary-card__date {
    width: 145px;
  }

  .anniversary-card__date strong {
    font-size: 4.6rem;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .countdown strong {
    font-size: 1.8rem;
  }

  .reasons {
    padding-block: 90px 100px;
  }

  .reason-machine {
    min-height: 410px;
    border-radius: 42%;
  }

  .reason-machine blockquote {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .letter-grid,
  .play-grid {
    grid-template-columns: 1fr;
  }

  .doctor-note,
  .heartbeat-card {
    transform: none;
  }

  .dream-section {
    padding-bottom: 90px;
  }

  .play-card {
    min-height: 390px;
  }

  .coupons {
    width: 100%;
    padding-left: 14px;
  }

  .coupons .section-heading {
    padding-right: 14px;
  }

  .coupon-track {
    grid-template-columns: repeat(5, minmax(255px, 78vw));
  }

  .finale {
    width: calc(100% - 28px);
    margin-bottom: 25px;
  }

  .finale__manatee {
    width: 105px;
    opacity: 0.45;
  }

  footer {
    padding-bottom: 20px;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 300;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px max(6px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border-top: 1px solid rgba(93, 10, 24, 0.1);
    background: rgba(255, 248, 239, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-nav span {
    color: var(--red-700);
    font-family: var(--serif);
    font-size: 1.1rem;
  }

  body.moonlight .mobile-nav {
    border-color: rgba(255,255,255,.08);
    background: rgba(26, 16, 19, 0.94);
  }

  .modal__photo-view {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .modal__photo-frame {
    min-height: 55vh;
    padding: 12px;
  }

  .modal__photo-frame img {
    max-height: 62vh;
  }

  .modal__photo-details {
    min-height: 245px;
    padding: 35px 22px 24px;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 5.4rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .progress-card {
    grid-template-columns: 1fr;
  }

  .progress-track {
    grid-column: 1;
    grid-row: auto;
  }

  .progress-card__message {
    text-align: left;
  }

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

  .photo-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
  }

  .photo-intro p {
    grid-column: 1;
    margin: 0;
    text-align: left;
  }

  .photo-intro i {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .photo-grid {
    display: block;
  }

  .photo-card,
  .photo-card--wide,
  .photo-card--panorama,
  .photo-card--tall {
    width: 100%;
    height: 430px;
    margin-bottom: 22px;
  }

  .photo-card--wide,
  .photo-card--panorama {
    height: 330px;
  }

  .modal__memory-photos {
    grid-template-columns: 1fr;
  }

  .modal__memory-photo,
  .modal__memory-photo:first-child:last-child {
    grid-column: auto;
    min-height: 240px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .reason-machine {
    min-height: 390px;
    border-radius: 35%;
  }

  .mini-wheel {
    right: -110px;
    opacity: 0.75;
  }

  footer {
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .modal__hero,
  .modal__body {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 1100px) {
  .reason-photo-scatter .scattered-photo {
    width: 118px;
    height: 158px;
  }

  .letter-photo-scatter {
    right: 20px;
    width: 135px;
    height: 180px;
  }
}

@media (min-width: 781px) {
  .letters {
    padding-bottom: 380px;
  }
}

@media (max-width: 780px) {
  .hero-photo-stack .scattered-photo--1 {
    bottom: 2%;
    left: 0;
    width: 118px;
    height: 155px;
  }

  .hero-photo-stack .scattered-photo--2 {
    top: 6%;
    right: 0;
    width: 105px;
    height: 140px;
  }

  .story-photo-trail {
    height: 525px;
    margin-bottom: 45px;
  }

  .story-photo-trail::before {
    top: 290px;
    right: 5%;
  }

  .story-photo-trail .scattered-photo--1 {
    width: 96%;
    height: 320px;
  }

  .story-photo-trail .scattered-photo--2 {
    right: 5%;
    width: 46%;
    height: 245px;
  }

  .anniversary-photo-stack {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 1 / -1;
    width: 185px;
    height: 145px;
    margin: -10px 0 0 auto;
  }

  .anniversary-card__scribble {
    right: auto;
    left: 28px;
  }

  .reason-photo-scatter {
    position: relative;
    inset: auto;
    display: flex;
    height: 245px;
    justify-content: center;
    gap: 18px;
    margin: -8px 0 26px;
    pointer-events: auto;
  }

  .reason-photo-scatter .scattered-photo {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(42vw, 170px);
    height: 220px;
  }

  .reason-photo-scatter .scattered-photo--1 {
    transform: rotate(-5deg);
  }

  .reason-photo-scatter .scattered-photo--2 {
    transform: rotate(5deg);
  }

  .letter-photo-scatter {
    position: relative;
    right: auto;
    bottom: auto;
    width: 175px;
    height: 225px;
    margin: 40px 8% -18px auto;
  }

  .finale-photo-scatter {
    position: relative;
    inset: auto;
    display: flex;
    height: 225px;
    justify-content: center;
    gap: 12px;
    margin: 48px -10px -60px;
    pointer-events: auto;
  }

  .finale-photo-scatter .scattered-photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(42vw, 165px);
    height: 210px;
  }

  .memory-card__photo-peek {
    width: 86px;
    height: 66px;
  }

  .memory-card--has-photo .memory-card__bottom {
    padding-right: 94px;
  }
}

@media (max-width: 480px) {
  .hero-photo-stack .scattered-photo--1 {
    width: 100px;
    height: 132px;
  }

  .hero-photo-stack .scattered-photo--2 {
    width: 92px;
    height: 124px;
  }

  .scattered-photo {
    padding: 7px 7px 29px;
  }

  .scattered-photo__caption {
    font-size: 0.62rem;
  }

  .story-photo-trail {
    height: 455px;
  }

  .story-photo-trail .scattered-photo--1 {
    height: 270px;
  }

  .story-photo-trail .scattered-photo--2 {
    width: 50%;
    height: 215px;
  }

  .story-photo-trail::before {
    top: 247px;
  }

  .reason-photo-scatter {
    height: 210px;
    gap: 9px;
  }

  .reason-photo-scatter .scattered-photo {
    height: 190px;
  }

  .finale-photo-scatter {
    height: 200px;
  }

  .finale-photo-scatter .scattered-photo {
    height: 185px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
