:root {
  --charcoal: #08090b;
  --ink: #17100d;
  --midnight: #111b25;
  --coast: #50606a;
  --wine: #6a1f2f;
  --rose: #b66b62;
  --amber: #c78b47;
  --gold: #e7bc6f;
  --cream: #f7e7c2;
  --paper: #ead0a0;
  --muted: rgba(247, 231, 194, 0.72);
  --glass: rgba(247, 231, 194, 0.09);
  --border: rgba(247, 216, 166, 0.22);
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.56);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(106, 31, 47, 0.42), transparent 31rem),
    radial-gradient(circle at 78% 18%, rgba(80, 96, 106, 0.26), transparent 28rem),
    linear-gradient(135deg, #060708, #151219 43%, #21100f 72%, #080706);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.22;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(255, 233, 189, 0.13) 6.4%, transparent 6.9% 93%, rgba(255, 233, 189, 0.1) 93.4%, transparent 94%),
    repeating-linear-gradient(0deg, transparent 0 2.4rem, rgba(255, 255, 255, 0.035) 2.45rem 2.5rem);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  gap: 1.25rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(106, 31, 47, 0.18), transparent 18rem),
    #060708;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader p {
  margin: 5.5rem 0 0;
  color: rgba(255, 241, 209, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.loader__ring {
  position: absolute;
  width: 4.7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 207, 130, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}

.atmosphere,
.grain,
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.atmosphere {
  z-index: 1;
  opacity: 0.72;
}

.grain {
  z-index: 3;
  opacity: 0.24;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.28) 0 0.7px, transparent 1.1px 3.2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.065) 0 1px, transparent 1px 4px);
  animation: grain-drift 650ms steps(2) infinite;
}

.vignette {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 42%, transparent 33%, rgba(10, 13, 16, 0.24) 66%, rgba(0, 0, 0, 0.7)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 25%, rgba(16, 9, 8, 0.5));
}

.experience {
  position: relative;
  z-index: 4;
}

.scene {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1.15rem, 4vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1100ms ease, transform 1600ms ease;
}

.scene.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.scene__content {
  width: min(100%, 62rem);
}

.scene__content--center {
  justify-self: center;
  text-align: center;
}

.scene__content--wide {
  width: min(100%, 74rem);
}

.eyebrow,
.section-kicker,
.time-mark {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2.5rem, 6.7vw, 6.3rem);
}

p {
  line-height: 1.8;
}

.button,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--cream);
  background: rgba(255, 241, 209, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button {
  min-height: 3.4rem;
  margin-top: 2rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 207, 130, 0.55);
  background: rgba(255, 241, 209, 0.15);
  box-shadow: 0 16px 40px rgba(216, 154, 67, 0.16);
}

.button--primary {
  background: linear-gradient(135deg, rgba(216, 154, 67, 0.24), rgba(91, 32, 39, 0.38));
}

.button--light {
  color: #2b1710;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 241, 209, 0.74);
}

.scene--opening {
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.82), rgba(15, 12, 15, 0.48) 46%, rgba(6, 7, 8, 0.72)),
    url("assets/memory-house-film.png");
  background-position: center;
  background-size: cover;
}

.scene--opening::before {
  background:
    radial-gradient(circle at 56% 45%, rgba(231, 188, 111, 0.18), transparent 18rem),
    radial-gradient(circle at 22% 78%, rgba(106, 31, 47, 0.34), transparent 19rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.74));
}

.scene--memories::before {
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.92), rgba(16, 18, 22, 0.7) 42%, rgba(40, 16, 19, 0.78)),
    radial-gradient(circle at 72% 22%, rgba(231, 188, 111, 0.16), transparent 20rem),
    url("assets/memory-house-film.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
}

.clock-face {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 207, 130, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.34;
}

.clock-face::before,
.clock-face::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 241, 209, 0.06);
  border-radius: inherit;
}

.clock-face span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 30%;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: hand 8s linear infinite;
}

.clock-face span + span {
  height: 22%;
  animation-duration: 28s;
}

.reveal-line {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1000ms ease, transform 1000ms ease;
}

.reveal-line.is-visible,
.scene.is-active .pause-lines p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.opening-question {
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.timeline-shell {
  width: min(100%, 82rem);
  margin: 0 auto;
}

.timeline-shell h2 {
  width: min(100%, 54rem);
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.36);
}

.memory-stage {
  min-height: min(68vh, 42rem);
  perspective: 1400px;
}

.memory-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  min-height: clamp(31rem, 63vh, 40rem);
  border: 1px solid rgba(234, 208, 160, 0.28);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(247, 231, 194, 0.12), rgba(17, 27, 37, 0.25)),
    rgba(9, 9, 11, 0.42);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(0.92);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 2rem, -8rem) rotateX(4deg);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.memory-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  pointer-events: none;
  border: 1px solid rgba(247, 231, 194, 0.14);
  z-index: 2;
}

.memory-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

.memory-photo {
  position: relative;
  min-height: 23rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 231, 194, 0.12), rgba(106, 31, 47, 0.18), rgba(17, 27, 37, 0.26)),
    var(--photo, linear-gradient(135deg, #6d2a2e, #d89a43));
  background-position: center;
  background-size: cover;
}

.memory-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.24;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.28), transparent 18%, transparent 82%, rgba(6, 7, 8, 0.22)),
    repeating-linear-gradient(90deg, transparent 0 1.8rem, rgba(255, 255, 255, 0.04) 1.82rem 1.86rem);
}

.memory-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.05), transparent 42%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 28% 20%, rgba(247, 231, 194, 0.36), transparent 13rem),
    radial-gradient(circle at 80% 80%, rgba(106, 31, 47, 0.36), transparent 16rem);
  mix-blend-mode: soft-light;
}

.memory-photo__placeholder {
  position: absolute;
  inset: auto 1.1rem 1.1rem;
  z-index: 3;
  color: rgba(255, 241, 209, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.memory-copy {
  position: relative;
}

.memory-copy::before {
  content: "";
  position: absolute;
  top: clamp(1rem, 2vw, 1.6rem);
  right: clamp(1rem, 2vw, 1.6rem);
  width: 3.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(231, 188, 111, 0.32);
  border-radius: 50%;
  opacity: 0.48;
  box-shadow: inset 0 0 0 0.38rem rgba(6, 7, 8, 0.2);
}

.memory-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.memory-date {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.memory-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
}

.memory-copy p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.memory-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.35rem;
}

.icon-button {
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 0;
}

.icon-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.memory-dots {
  display: flex;
  gap: 0.45rem;
}

.memory-dots span,
.journey-nav button {
  display: block;
  width: 0.46rem;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 241, 209, 0.28);
}

.memory-dots span.is-active,
.journey-nav button.is-active {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(245, 207, 130, 0.64);
}

.scene--stop {
  background: #050607;
}

.scene--stop::before {
  background:
    radial-gradient(circle at 50% 45%, rgba(106, 31, 47, 0.28), transparent 28rem),
    radial-gradient(circle at 80% 20%, rgba(80, 96, 106, 0.18), transparent 18rem),
    linear-gradient(#050607, #050607);
}

.pause-lines p {
  margin: 1.3rem 0;
  opacity: 0;
  transform: translateY(18px);
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5.2vw, 5rem);
  line-height: 1.05;
  transition: opacity 900ms ease, transform 900ms ease;
}

.scene--future {
  color: #2b1710;
}

.future-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(6, 7, 8, 0.48), rgba(247, 231, 194, 0.22) 42%, rgba(46, 22, 21, 0.36)),
    url("assets/future-dawn.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.05) sepia(0.08);
  transform: scale(1.04);
}

.scene--future .scene__content {
  color: #2c150d;
  text-shadow: 0 1px 24px rgba(255, 241, 209, 0.45);
}

.scene--future p:not(.eyebrow) {
  margin: 1.4rem auto 0;
  max-width: 44rem;
  color: rgba(44, 21, 13, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}

.scene--october::before {
  background:
    radial-gradient(circle at 76% 24%, rgba(231, 188, 111, 0.22), transparent 20rem),
    radial-gradient(circle at 22% 76%, rgba(106, 31, 47, 0.26), transparent 22rem),
    radial-gradient(circle at 70% 82%, rgba(80, 96, 106, 0.16), transparent 23rem);
}

.october-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: center;
  width: min(100%, 76rem);
  margin: 0 auto;
}

.ultrasound-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 0.82rem solid rgba(247, 231, 194, 0.82);
  border-bottom-width: 2.2rem;
  border-radius: 3px;
  background: rgba(247, 231, 194, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ultrasound-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ultrasound);
  background-position: center;
  background-size: cover;
}

.ultrasound-placeholder {
  position: absolute;
  inset: 1rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 241, 209, 0.34);
  border-radius: 6px;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 241, 209, 0.18), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
  color: rgba(255, 241, 209, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.october-copy h2 {
  margin-bottom: 1rem;
}

.october-copy p:not(.eyebrow) {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.constellation {
  position: relative;
  width: min(100%, 28rem);
  margin-top: 2.5rem;
  aspect-ratio: 2 / 1;
}

.constellation svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(245, 207, 130, 0.5);
  stroke-dasharray: 8 10;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.star {
  position: absolute;
  width: 0.74rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 22px var(--gold);
  animation: twinkle 2.8s ease-in-out infinite;
}

.star--one {
  left: 17%;
  top: 62%;
}

.star--two {
  left: 50%;
  top: 43%;
  animation-delay: 500ms;
}

.star--three {
  left: 77%;
  top: 58%;
  animation-delay: 900ms;
}

.scene--letter::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 154, 67, 0.14), transparent 20rem),
    radial-gradient(circle at 82% 82%, rgba(91, 32, 39, 0.3), transparent 24rem);
}

.letter {
  width: min(100%, 50rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(234, 208, 160, 0.28);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(247, 231, 194, 0.15), rgba(247, 231, 194, 0.06)),
    rgba(12, 11, 12, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.letter__body {
  min-height: 27rem;
  white-space: pre-line;
  color: rgba(255, 241, 209, 0.88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  line-height: 1.18;
}

.letter__body::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.2rem;
  background: var(--gold);
  animation: blink 900ms steps(2) infinite;
  vertical-align: -0.1em;
}

.signature {
  margin: 2rem 0 0;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.scene--countdown::before {
  background:
    linear-gradient(rgba(7, 5, 4, 0.2), rgba(7, 5, 4, 0.4)),
    radial-gradient(circle at 50% 20%, rgba(245, 207, 130, 0.2), transparent 22rem);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: min(100%, 44rem);
  margin: 2.4rem auto 0;
}

.countdown div {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid rgba(234, 208, 160, 0.24);
  border-radius: 3px;
  background: rgba(247, 231, 194, 0.075);
  backdrop-filter: blur(18px) saturate(0.9);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journey-nav {
  position: fixed;
  top: 50%;
  right: max(1rem, env(safe-area-inset-right));
  z-index: 8;
  display: grid;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.journey-nav button {
  padding: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.journey-nav button:hover {
  transform: scale(1.5);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes grain-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(2%, -2%);
  }
}

@keyframes hand {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

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

@media (max-width: 760px) {
  .scene {
    padding: 5rem 1rem;
  }

  .journey-nav {
    top: auto;
    right: auto;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    left: 50%;
    grid-auto-flow: column;
    transform: translateX(-50%);
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(255, 229, 178, 0.16);
    border-radius: 999px;
    background: rgba(8, 5, 4, 0.58);
    backdrop-filter: blur(15px);
  }

  .memory-card,
  .october-layout {
    grid-template-columns: 1fr;
  }

  .memory-card {
    min-height: auto;
  }

  .memory-photo {
    min-height: 19rem;
  }

  .memory-copy {
    justify-content: start;
  }

  .october-copy {
    text-align: center;
  }

  .constellation {
    margin-inline: auto;
  }

  .letter__body {
    min-height: 30rem;
  }

  .countdown {
    grid-template-columns: 1fr;
    width: min(100%, 24rem);
  }
}

/* New interactive memory-picker flow. */
.type-line {
  min-height: 1.15em;
}

.type-line.is-typing::after,
.letter__body::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.86em;
  margin-left: 0.18rem;
  background: currentColor;
  animation: blink 820ms steps(2) infinite;
  vertical-align: -0.08em;
}

[data-start] {
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 700ms ease, transform 700ms ease, border-color 220ms ease, background 220ms ease;
}

[data-start].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.memory-menu {
  width: min(100%, 72rem);
  align-self: center;
}

.memory-menu h2 {
  max-width: 18ch;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(2rem, 5vw, 4.8rem);
}

.memory-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.7vw, 1.1rem);
}

.memory-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(17rem, 38vh, 28rem);
  flex-direction: column;
  justify-content: end;
  align-items: start;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(244, 222, 192, 0.18);
  border-radius: 2px;
  color: var(--film-cream);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.05), rgba(5, 5, 7, 0.78)),
    var(--choice-bg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.36);
  transition: transform 300ms ease, border-color 300ms ease, filter 300ms ease;
}

.memory-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background:
    radial-gradient(circle at 35% 20%, rgba(244, 222, 192, 0.22), transparent 12rem),
    linear-gradient(90deg, rgba(124, 36, 50, 0.18), transparent);
}

.memory-choice:hover {
  transform: translateY(-0.45rem);
  border-color: rgba(244, 222, 192, 0.48);
  filter: saturate(1.06);
}

.memory-choice span,
.memory-choice strong,
.memory-choice small {
  position: relative;
  z-index: 1;
}

.memory-choice span {
  color: rgba(244, 222, 192, 0.64);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.memory-choice strong {
  display: block;
  margin-top: 0.55rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.15;
}

.memory-choice small {
  display: block;
  margin-top: 0.75rem;
  color: rgba(244, 222, 192, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.memory-next-trip {
  margin-top: clamp(1.35rem, 3vw, 2.3rem);
}

.memory-view {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: grid;
  align-items: end;
  padding: clamp(1.2rem, 5vw, 5rem);
  color: var(--film-cream);
  visibility: hidden;
  opacity: 0;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.memory-view.is-open {
  visibility: visible;
  opacity: 1;
}

.memory-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.82), rgba(5, 5, 7, 0.16) 48%, rgba(5, 5, 7, 0.78)),
    linear-gradient(180deg, rgba(5, 5, 7, 0.04), rgba(5, 5, 7, 0.86));
}

.memory-view__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.04), rgba(5, 5, 7, 0.58)),
    var(--opened-memory);
  background-position: center;
  background-size: cover;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.02);
}

.memory-view__copy {
  width: min(100%, 42rem);
}

.memory-view__copy p {
  margin: 0 0 0.9rem;
  color: rgba(244, 222, 192, 0.68);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.memory-view__copy h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 1.04;
}

.memory-view__copy span {
  display: block;
  max-width: 34rem;
  margin-top: 1.2rem;
  color: rgba(244, 222, 192, 0.82);
  line-height: 1.8;
}

.memory-view__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  border: 1px solid rgba(244, 222, 192, 0.26);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  color: var(--film-cream);
  background: rgba(5, 5, 7, 0.36);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

[data-see-baby] {
  margin-top: 2rem;
}

[data-see-baby][hidden] {
  display: none;
}

[data-see-baby] {
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-see-baby].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.confirm-trip {
  max-width: 42rem;
  transition: opacity 520ms ease, transform 520ms ease, visibility 520ms ease;
}

.confirm-trip.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.6rem);
  position: absolute;
}

.confirm-trip h2 {
  max-width: 12ch;
}

.confirm-trip p {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: rgba(244, 222, 192, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.confirm-trip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

[data-paradox-lines][aria-hidden="true"] {
  pointer-events: none;
}

.ultrasound-video {
  position: relative;
  width: min(100%, 42rem);
  margin-top: 2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(244, 222, 192, 0.24);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 45%, rgba(244, 222, 192, 0.16), transparent 10rem),
    rgba(5, 5, 7, 0.54);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.48);
}

.ultrasound-video video,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ultrasound-video video {
  object-fit: cover;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: rgba(244, 222, 192, 0.68);
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(244, 222, 192, 0.14), transparent 9rem),
    linear-gradient(135deg, rgba(36, 53, 70, 0.42), rgba(5, 5, 7, 0.84));
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-placeholder.is-hidden {
  display: none;
}

.button--sound {
  margin-top: 0.75rem;
  border-color: rgba(244, 222, 192, 0.2);
  background: rgba(5, 5, 7, 0.22);
  opacity: 0.82;
}

.button--sound.is-playing {
  border-color: rgba(214, 166, 95, 0.5);
  background: rgba(124, 36, 50, 0.34);
}

.letter__body::after {
  width: 1px;
  margin-left: 0.18rem;
}

@media (max-width: 900px) {
  .memory-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .memory-menu {
    align-self: end;
  }

  .memory-menu h2 {
    max-width: 14ch;
  }

  .memory-choices {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .memory-choice {
    min-height: 8.2rem;
  }

  .memory-choice strong {
    font-size: 1.18rem;
  }

  .memory-next-trip {
    width: 100%;
  }

  .memory-view {
    padding: 5rem 1.15rem 2rem;
  }

  .memory-view__copy h3 {
    font-size: clamp(2.1rem, 12vw, 3.8rem);
  }

  .ultrasound-video {
    width: 100%;
    margin-top: 1.4rem;
  }
}

/* Film-still direction: quieter typography, full-screen imagery, fewer UI surfaces. */
:root {
  --still-opening: url("assets/bg-abertura.jpg");
  --still-memories: url("assets/bg-memorias.jpg");
  --still-stop: url("assets/bg-bebe.jpg");
  --still-future: url("assets/bg-bebe.jpg");
  --still-letter: url("assets/bg-carta.jpg");
  --film-black: #050507;
  --film-cream: #f4dec0;
  --film-red: #7c2432;
  --film-blue: #243546;
  --film-gold: #d6a65f;
  --muted: rgba(244, 222, 192, 0.74);
  --border: rgba(244, 222, 192, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 22%, rgba(124, 36, 50, 0.34), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(36, 53, 70, 0.38), transparent 34rem),
    #050507;
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
.opening-question,
.pause-lines p,
.memory-copy h3,
.october-copy p:not(.eyebrow),
.letter__body,
.signature,
.countdown strong {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1,
h2 {
  max-width: 15ch;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 0.45rem 2rem rgba(0, 0, 0, 0.58);
}

h1 {
  font-size: clamp(2.55rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.15rem, 5.6vw, 5.4rem);
}

.scene {
  min-height: 100svh;
  padding: clamp(4.8rem, 8vw, 7.5rem) clamp(1.2rem, 7vw, 8rem);
  align-items: end;
}

.scene::before {
  transform: scale(1.02);
  opacity: 1;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.86), rgba(5, 5, 7, 0.28) 44%, rgba(5, 5, 7, 0.72)),
    linear-gradient(180deg, rgba(5, 5, 7, 0.25), rgba(5, 5, 7, 0.12) 44%, rgba(5, 5, 7, 0.86));
}

.scene__content--center {
  justify-self: start;
  text-align: left;
}

.scene__content--wide,
.scene__content {
  width: min(100%, 54rem);
}

.eyebrow,
.section-kicker,
.time-mark,
.memory-date,
.countdown span {
  color: rgba(244, 222, 192, 0.78);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.button {
  min-height: 3.1rem;
  margin-top: 1.8rem;
  padding: 0 1.15rem;
  border-radius: 2px;
  color: var(--film-cream);
  border-color: rgba(244, 222, 192, 0.36);
  background: rgba(5, 5, 7, 0.34);
  box-shadow: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.button--light {
  color: var(--film-cream);
  background: rgba(124, 36, 50, 0.42);
}

.icon-button {
  border-radius: 2px;
  background: rgba(5, 5, 7, 0.36);
}

.scene--opening {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.6), rgba(5, 5, 7, 0.08) 52%, rgba(5, 5, 7, 0.72)),
    var(--still-opening),
    url("assets/memory-house-film.png");
  background-position: center 42%;
  background-size: cover;
}

.scene--opening::before {
  background:
    radial-gradient(circle at 74% 22%, rgba(214, 166, 95, 0.15), transparent 22rem),
    radial-gradient(circle at 18% 70%, rgba(124, 36, 50, 0.32), transparent 24rem);
}

.clock-face {
  left: auto;
  right: clamp(1rem, 8vw, 8rem);
  top: clamp(5rem, 14vw, 10rem);
  width: min(58vw, 25rem);
  transform: none;
  border-color: rgba(244, 222, 192, 0.08);
  opacity: 0.28;
}

.opening-question {
  margin-left: 0;
  max-width: 28rem;
  color: rgba(244, 222, 192, 0.78);
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
}

.timeline-shell {
  width: min(100%, 92rem);
}

.timeline-shell h2 {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
  font-size: clamp(1.75rem, 4vw, 3.8rem);
}

.scene--memories::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.74), rgba(5, 5, 7, 0.12) 54%, rgba(5, 5, 7, 0.82)),
    var(--still-memories),
    url("assets/memory-house-film.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.86) contrast(1.03);
}

.memory-stage {
  min-height: clamp(27rem, 62vh, 42rem);
  perspective: none;
}

.memory-card {
  display: block;
  min-height: clamp(27rem, 62vh, 42rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  transform: translateY(1.25rem);
}

.memory-card::before {
  display: none;
}

.memory-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.78), rgba(5, 5, 7, 0.16) 50%, rgba(5, 5, 7, 0.82)),
    var(--photo);
  background-position: center;
  background-size: cover;
  filter: saturate(0.88) contrast(1.04);
}

.memory-photo::after {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 26%, rgba(214, 166, 95, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(5, 5, 7, 0.16), rgba(5, 5, 7, 0.72));
  mix-blend-mode: normal;
}

.memory-photo__placeholder {
  left: auto;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 4vw, 3rem);
  opacity: 0.45;
}

.memory-copy {
  width: min(100%, 39rem);
  min-height: clamp(22rem, 50vh, 35rem);
  justify-content: end;
  padding: 0;
}

.memory-copy::before {
  display: none;
}

.memory-copy h3 {
  font-size: clamp(2rem, 4.4vw, 4.7rem);
  font-weight: 400;
  line-height: 1.04;
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.62);
}

.memory-copy p {
  max-width: 31rem;
  color: rgba(244, 222, 192, 0.82);
  font-size: clamp(0.98rem, 1.4vw, 1.14rem);
  line-height: 1.78;
}

.memory-controls {
  justify-content: start;
  margin-top: 1.6rem;
}

.memory-dots span,
.journey-nav button {
  border-radius: 0;
  width: 1.2rem;
  height: 1px;
}

.memory-dots span.is-active,
.journey-nav button.is-active {
  background: var(--film-cream);
  box-shadow: 0 0 14px rgba(244, 222, 192, 0.58);
}

.scene--stop::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.88), rgba(5, 5, 7, 0.5) 48%, rgba(5, 5, 7, 0.72)),
    var(--still-stop),
    radial-gradient(circle at 50% 45%, rgba(124, 36, 50, 0.25), transparent 28rem),
    #050507;
  background-position: center 38%;
  background-size: cover;
}

.pause-lines p {
  max-width: 16ch;
  color: rgba(244, 222, 192, 0.86);
  font-size: clamp(1.85rem, 4.5vw, 4.5rem);
}

.scene--future {
  color: var(--film-cream);
}

.future-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 7, 0.78), rgba(5, 5, 7, 0.34) 52%, rgba(5, 5, 7, 0.82)),
    var(--still-future),
    url("assets/future-dawn.png");
  background-position: center 38%;
  filter: saturate(0.86) contrast(1.06);
}

.scene--future .scene__content {
  color: var(--film-cream);
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.5);
}

.scene--future p:not(.eyebrow) {
  margin-left: 0;
  color: rgba(244, 222, 192, 0.78);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
}

.scene--october::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.75), rgba(5, 5, 7, 0.28) 50%, rgba(5, 5, 7, 0.8)),
    var(--still-future),
    url("assets/future-dawn.png");
  background-position: center;
  background-size: cover;
}

.october-layout {
  width: min(100%, 68rem);
}

.ultrasound-frame {
  transform: rotate(-1.4deg);
  border-color: rgba(244, 222, 192, 0.9);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}

.scene--letter::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.86), rgba(5, 5, 7, 0.44) 48%, rgba(5, 5, 7, 0.72)),
    var(--still-letter),
    url("assets/memory-house-film.png");
  background-position: center 35%;
  background-size: cover;
}

.letter {
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.letter__body {
  min-height: 24rem;
  max-width: 39rem;
  color: rgba(244, 222, 192, 0.88);
  font-size: clamp(1.35rem, 3.2vw, 2.55rem);
  line-height: 1.38;
  text-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.54);
}

.scene--countdown::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.78), rgba(5, 5, 7, 0.34)),
    var(--still-future),
    url("assets/future-dawn.png");
  background-position: center;
  background-size: cover;
}

.countdown {
  margin-left: 0;
}

.countdown div {
  border-radius: 2px;
  background: rgba(5, 5, 7, 0.34);
  border-color: rgba(244, 222, 192, 0.2);
}

@media (max-width: 760px) {
  .scene {
    align-items: end;
    padding: 5rem 1.1rem 5.8rem;
  }

  h1,
  h2,
  .pause-lines p {
    max-width: 13ch;
  }

  .clock-face {
    right: 1rem;
    top: 5rem;
    width: 72vw;
  }

  .timeline-shell h2 {
    font-size: clamp(1.45rem, 7vw, 2.35rem);
  }

  .memory-card,
  .memory-stage {
    min-height: 63svh;
  }

  .memory-copy {
    min-height: 52svh;
  }

  .memory-copy h3 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .memory-controls {
    justify-content: center;
  }

  .october-layout {
    gap: 2rem;
  }

  .letter__body {
    min-height: 29rem;
  }
}

/* Responsive hardening for phones, tablets, desktops, and short landscape screens. */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.scene {
  width: 100%;
  min-height: 100svh;
  padding:
    max(3.75rem, env(safe-area-inset-top))
    clamp(1rem, 5vw, 7rem)
    max(4.8rem, calc(env(safe-area-inset-bottom) + 2.5rem));
}

.scene__content,
.scene__content--wide,
.memory-menu,
.letter,
.confirm-trip,
.memory-view__copy {
  max-width: min(100%, 64rem);
}

h1,
h2,
.opening-question,
.pause-lines p,
.memory-view__copy h3,
.memory-choice strong,
.letter__body,
.signature,
.button,
.video-placeholder {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.15rem, 7.4vw, 6.6rem);
}

h2 {
  font-size: clamp(1.85rem, 5.8vw, 5.2rem);
}

.opening-question,
.confirm-trip p,
.memory-view__copy span,
.scene--future p:not(.eyebrow) {
  font-size: clamp(0.98rem, 2vw, 1.28rem);
}

.button {
  max-width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.78rem 1rem;
  white-space: normal;
  line-height: 1.25;
}

.confirm-trip__actions {
  align-items: stretch;
}

.confirm-trip__actions .button {
  flex: 1 1 13rem;
}

.memory-choices {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.memory-choice {
  min-height: clamp(9rem, 28svh, 24rem);
}

.memory-choice strong {
  font-size: clamp(1rem, 2.4vw, 1.55rem);
}

.memory-view {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.memory-view__copy {
  padding-bottom: max(0rem, env(safe-area-inset-bottom));
}

.memory-view__copy h3 {
  font-size: clamp(2rem, 8vw, 5.6rem);
}

.memory-view__copy span {
  max-width: min(100%, 34rem);
}

.ultrasound-video {
  width: min(100%, 42rem);
  max-height: min(58svh, 28rem);
}

.letter__body {
  min-height: min(56svh, 24rem);
  font-size: clamp(1.18rem, 3.8vw, 2.45rem);
}

.journey-nav {
  max-width: calc(100vw - 2rem);
}

@media (min-width: 1440px) {
  .scene {
    padding-left: clamp(6rem, 9vw, 10rem);
    padding-right: clamp(6rem, 9vw, 10rem);
  }

  .memory-menu {
    max-width: 86rem;
  }

  .memory-choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1181px) {
  .memory-choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .memory-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .memory-choice {
    min-height: clamp(11rem, 25svh, 18rem);
  }
}

@media (max-width: 760px) {
  .scene {
    align-items: end;
    padding:
      max(4.2rem, env(safe-area-inset-top))
      clamp(1rem, 4vw, 1.4rem)
      max(5.8rem, calc(env(safe-area-inset-bottom) + 4.4rem));
  }

  h1,
  h2,
  .pause-lines p {
    max-width: min(100%, 14ch);
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 3rem);
  }

  .eyebrow,
  .section-kicker,
  .time-mark,
  .memory-view__copy p,
  .memory-choice span,
  .memory-choice small {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

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

  .memory-choice {
    min-height: clamp(7rem, 17svh, 9.5rem);
    padding: 0.85rem;
  }

  .memory-next-trip,
  [data-start],
  [data-open-letter],
  [data-see-baby] {
    width: 100%;
  }

  .confirm-trip__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .memory-view {
    padding:
      max(4.7rem, env(safe-area-inset-top))
      1rem
      max(2rem, env(safe-area-inset-bottom));
  }

  .memory-view__copy h3 {
    font-size: clamp(2rem, 12vw, 3.6rem);
  }

  .ultrasound-video {
    aspect-ratio: 4 / 3;
    max-height: 44svh;
  }

  .letter__body {
    min-height: 52svh;
    font-size: clamp(1.08rem, 5.4vw, 1.65rem);
  }

  .journey-nav {
    gap: 0.55rem;
    padding: 0.62rem 0.78rem;
  }

  .scene--opening {
    background-position: 52% center;
  }

  .scene--memories::before {
    background-position: 45% center;
  }

  .scene--stop::before,
  .future-bg {
    background-position: 38% center;
  }

  .scene--letter::before {
    background-position: 43% center;
  }
}

@media (max-width: 380px) {
  .scene {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  h1 {
    font-size: clamp(1.82rem, 10.4vw, 2.65rem);
  }

  h2 {
    font-size: clamp(1.5rem, 8.8vw, 2.35rem);
  }

  .memory-choice {
    min-height: 6.8rem;
  }

  .button {
    font-size: 0.66rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .scene {
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: 100svh;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.55rem, 4.4vw, 3rem);
  }

  .opening-question,
  .confirm-trip p,
  .memory-view__copy span {
    line-height: 1.5;
  }

  .clock-face {
    opacity: 0.16;
    width: min(34vw, 15rem);
  }

  .memory-menu h2 {
    margin-bottom: 0.9rem;
  }

  .memory-choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .memory-choice {
    min-height: 8.3rem;
    padding: 0.75rem;
  }

  .memory-next-trip,
  .button {
    margin-top: 0.9rem;
  }

  .memory-view {
    align-items: end;
    padding-top: 3.6rem;
  }

  .memory-view__copy h3 {
    font-size: clamp(1.85rem, 5vw, 3.2rem);
  }

  .ultrasound-video {
    width: min(54vw, 32rem);
    max-height: 52svh;
    margin-top: 1rem;
  }

  .letter__body {
    min-height: auto;
    font-size: clamp(1rem, 3vw, 1.7rem);
    line-height: 1.28;
  }

  .journey-nav {
    top: 50%;
    right: max(0.7rem, env(safe-area-inset-right));
    bottom: auto;
    left: auto;
    grid-auto-flow: row;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
}
