*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #201b2a;
  --ink-soft: #6f667c;
  --plum: #4d2f59;
  --plum-deep: #2d1e37;
  --blue: #315b88;
  --pink: #d8859b;
  --apricot: #efb67d;
  --cream: #fff7ec;
  --paper: #fffaf4;
  --paper-soft: #f2e8de;
  --line: rgba(32, 27, 42, 0.11);
  --shadow: 0 26px 70px rgba(41, 27, 50, 0.14);
  --shadow-soft: 0 16px 38px rgba(41, 27, 50, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216,133,155,0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(49,91,136,0.10), transparent 22%),
    linear-gradient(180deg, #fbf5ef 0%, #eee5dc 100%);
  font-family: Inter, Nunito, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

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

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: Fraunces, "Playfair Display", Georgia, serif;
  line-height: 1.06;
}

p {
  margin: 0;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.ambient--one {
  top: 16%;
  left: -120px;
  width: 300px;
  height: 300px;
  background: rgba(216,133,155,0.17);
}

.ambient--two {
  right: -120px;
  bottom: 12%;
  width: 320px;
  height: 320px;
  background: rgba(49,91,136,0.13);
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(239,182,125,0.24), transparent 26%),
    radial-gradient(circle at 18% 86%, rgba(216,133,155,0.18), transparent 26%),
    linear-gradient(135deg, #2e1f39 0%, #4f315c 48%, #243e61 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.topbar {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  color: #fff7ec;
  background: rgba(255,255,255,0.06);
  font-family: Fraunces, Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__button,
.topbar__link {
  padding: 0;
  border: 0;
  color: rgba(255,255,255,0.78);
  background: none;
  cursor: pointer;
}

.topbar__button:hover,
.topbar__button:focus-visible,
.topbar__link:hover,
.topbar__link:focus-visible {
  color: #fff;
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 112px;
  display: grid;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--apricot);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 660px;
}

.hero h1 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  color: #ffd9b2;
  font-size: 0.50em;
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  max-width: 45rem;
  margin-top: 24px;
  color: rgba(255,255,255,0.72);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  font-style: italic;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.05);
}

.hero__actions,
.gift-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button--light {
  color: #2d1f37;
  background: linear-gradient(135deg, #fff7ec, #efb67d);
  box-shadow: 0 12px 28px rgba(239,182,125,0.24);
}

.button--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.05);
}

.button--dark {
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--plum-deep));
}

.button--soft {
  color: var(--plum-deep);
  border-color: rgba(77,47,89,0.16);
  background: #fff9f2;
}

.hero__visual {
  position: relative;
  min-height: 540px;
}

.orbit-card {
  position: relative;
  width: min(100%, 500px);
  min-height: 500px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 34px;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 28px 76px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.orbit {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit__ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit__ring--one {
  width: 34%;
  height: 34%;
}

.orbit__ring--two {
  width: 66%;
  height: 66%;
}

.orbit__ring--three {
  width: 94%;
  height: 94%;
}

.orbit__center {
  position: absolute;
  inset: 50%;
  display: grid;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #fff7ec;
  background:
    radial-gradient(circle, rgba(255,255,255,0.13), transparent 66%),
    linear-gradient(135deg, rgba(216,133,155,0.48), rgba(49,91,136,0.54));
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.orbit__center strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 0.9;
}

.orbit__center span {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.orbit__point {
  position: absolute;
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,0.76);
  font-size: 0.76rem;
}

.orbit__point i {
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 24px rgba(239,182,125,0.48);
}

.orbit__point b {
  font-weight: 700;
}

.orbit__point--one {
  top: 6%;
  left: 46%;
}

.orbit__point--two {
  top: 42%;
  right: 2%;
}

.orbit__point--three {
  bottom: 7%;
  left: 42%;
}

.orbit__point--four {
  top: 43%;
  left: 3%;
}

.orbit-card__note {
  max-width: 320px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.62);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  text-align: center;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 24px;
  display: flex;
  transform: translateX(50%);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.50);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.section--intro {
  padding-top: 100px;
}

.intro-card,
.reasons-card,
.gift-card,
.closing-card,
.modal__panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-card {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: clamp(32px, 6vw, 62px);
}

.intro-card h2,
.section-heading h2,
.reasons-card h2,
.gift-card h2,
.closing-card h2,
.modal__panel h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.intro-card > p {
  color: var(--ink-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading--split {
  display: grid;
  gap: 22px;
  max-width: none;
  align-items: end;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--ink-soft);
}

.memory-map {
  position: relative;
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 22%, rgba(216,133,155,0.13), transparent 20%),
    radial-gradient(circle at 84% 74%, rgba(49,91,136,0.12), transparent 20%),
    linear-gradient(145deg, #fffaf4, #f1e8df);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.memory-map__path {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 56%;
  height: 80%;
  transform: translateX(-50%);
  border-left: 3px dashed rgba(77,47,89,0.20);
  border-radius: 50%;
}

.memory-map__path::before,
.memory-map__path::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 38%;
  border: 3px dashed rgba(77,47,89,0.18);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.memory-map__path::before {
  top: 9%;
  left: -22%;
  transform: rotate(-18deg);
}

.memory-map__path::after {
  right: -22%;
  bottom: 6%;
  transform: rotate(164deg);
}

.memory-stop {
  position: absolute;
  display: grid;
  width: 220px;
  min-height: 170px;
  place-items: start;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(32,27,42,0.10);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255,250,244,0.90);
  box-shadow: var(--shadow-soft);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.memory-stop:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(41,27,50,0.13);
}

.memory-stop__number {
  color: var(--apricot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.memory-stop__label {
  margin-top: 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.8rem;
}

.memory-stop small {
  margin-top: 8px;
  color: var(--ink-soft);
}

.memory-stop--one {
  top: 8%;
  left: 8%;
}

.memory-stop--two {
  top: 20%;
  right: 8%;
}

.memory-stop--three {
  bottom: 12%;
  left: 14%;
}

.memory-stop--four {
  right: 12%;
  bottom: 8%;
}

.reasons-card {
  padding: clamp(32px, 6vw, 62px);
}

.reasons-card__intro {
  max-width: 720px;
}

.reasons-card__intro > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-soft);
}

.reason-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 36px;
}

.reason-card {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.12), transparent 22%),
    linear-gradient(135deg, #4f315c, #315b88);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.reason-card span {
  color: #ffd7ad;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.1rem;
}

.reason-card p {
  max-width: 18ch;
  margin-top: 16px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.25;
}

.reason-nav {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(77,47,89,0.14);
  border-radius: 50%;
  color: var(--plum);
  background: #fff9f2;
  cursor: pointer;
}

.reason-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 22px;
}

.reason-progress span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(77,47,89,0.16);
}

.reason-progress span.is-active {
  background: var(--apricot);
  transform: scale(1.2);
}

.capsules-grid {
  display: grid;
  gap: 18px;
}

.capsule {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.capsule:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

.capsule__seal,
.capsule-letter__seal {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
}

.capsule strong {
  max-width: 14ch;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.25;
}

.capsule small {
  margin-top: 16px;
  font-weight: 800;
}

.capsule--cream {
  color: var(--plum-deep);
  background: linear-gradient(145deg, #fff9f2, #f3e3d4);
}

.capsule--cream .capsule__seal {
  color: #fff;
  background: var(--plum);
}

.capsule--pink {
  color: #fff;
  background: linear-gradient(145deg, #d8859b, #a95e7e);
}

.capsule--pink .capsule__seal {
  color: #a95e7e;
  background: #fff3f4;
}

.capsule--blue {
  color: #fff;
  background: linear-gradient(145deg, #416d9d, #243e61);
}

.capsule--blue .capsule__seal {
  color: #315b88;
  background: #f3f7fb;
}

.gift-card {
  display: grid;
  gap: 26px;
  overflow: hidden;
}

.gift-card__copy {
  padding: clamp(30px, 6vw, 60px);
}

.gift-card__copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
}

.keepsake {
  margin: 18px;
  padding: clamp(34px, 6vw, 62px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(239,182,125,0.22), transparent 24%),
    linear-gradient(135deg, #4d2f59, #315b88);
}

.keepsake__eyebrow {
  color: #ffd9b2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.keepsake h3 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.keepsake > p:not(.keepsake__eyebrow) {
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
}

.keepsake__signature {
  margin-top: 26px;
  color: #ffd9b2;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
}

.closing-card {
  padding: clamp(46px, 8vw, 88px);
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(216,133,155,0.12), transparent 26%),
    var(--paper);
}

.closing-card > p:not(.eyebrow) {
  max-width: 44rem;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

.closing-card__signature {
  margin-top: 28px;
  color: var(--plum);
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

.footer {
  padding: 0 18px 34px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--plum);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24,17,30,0.72);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
}

.modal__close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(32,27,42,0.72);
  font-size: 1.45rem;
  cursor: pointer;
}

.modal__panel--memory {
  display: grid;
  gap: 18px;
}

.memory-scene {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.12), transparent 22%),
    linear-gradient(135deg, #4d2f59, #315b88);
}

.memory-scene__shape {
  position: absolute;
  border-radius: 50%;
}

.memory-scene__shape--one {
  top: 15%;
  left: 12%;
  width: 160px;
  height: 160px;
  background: rgba(239,182,125,0.34);
}

.memory-scene__shape--two {
  right: 14%;
  bottom: 16%;
  width: 210px;
  height: 210px;
  background: rgba(216,133,155,0.32);
}

.memory-scene__shape--three {
  top: 34%;
  left: 40%;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255,255,255,0.24);
}

.memory-scene > span {
  position: absolute;
  right: 24px;
  bottom: 14px;
  color: rgba(255,255,255,0.14);
  font-family: Fraunces, Georgia, serif;
  font-size: 9rem;
}

.modal__copy {
  padding: 18px 8px 10px;
}

.modal__copy h2,
.modal__panel--capsule h2,
.modal__panel--envelope h2 {
  margin-top: 12px;
}

.modal__copy > p:not(.eyebrow),
.modal__panel--capsule > p:not(.eyebrow),
.modal__panel--envelope p {
  margin-top: 18px;
  color: var(--ink-soft);
}

.modal__copy blockquote {
  margin-top: 24px;
  color: var(--plum);
  font-size: 1.5rem;
  font-style: italic;
}

.modal__panel--capsule {
  width: min(620px, 100%);
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
}

.capsule-letter__seal {
  margin: 0 auto 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--blue));
}

.modal__panel--envelope {
  width: min(760px, 100%);
  padding: 28px;
}

.secret-envelope {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, #d8859b, #8e5674);
}

.secret-envelope::before,
.secret-envelope::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58%;
  background: #f7d6dc;
  clip-path: polygon(0 100%, 50% 30%, 100% 100%);
}

.secret-envelope::after {
  background: #efc5cf;
  clip-path: polygon(0 0, 50% 65%, 100% 0);
}

.secret-envelope__flap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 46%;
  background: #fbe5e9;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.secret-envelope__letter {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 48px));
  padding: 30px;
  border-radius: 22px;
  background: #fffaf4;
  box-shadow: 0 18px 44px rgba(67,35,52,0.18);
  text-align: center;
}

.secret-envelope__letter strong {
  display: block;
  margin-top: 22px;
  color: var(--plum);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
}

.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 18px;
  border-radius: 3px;
  animation: fall 2.6s linear forwards;
}

@keyframes fall {
  to {
    transform: translate3d(var(--drift), 110vh, 0) rotate(720deg);
    opacity: 0;
  }
}

.toast {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--plum-deep);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

@media (min-width: 880px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  }

  .intro-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }

  .capsules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .modal__panel--memory {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }
}

@media (max-width: 879px) {
  .hero {
    min-height: auto;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__meta,
  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 520px;
  }

  .orbit-card {
    margin: 0 auto;
  }

  .memory-map {
    min-height: auto;
    padding: 24px;
    display: grid;
    gap: 16px;
  }

  .memory-map__path {
    display: none;
  }

  .memory-stop {
    position: static;
    width: 100%;
    min-height: 150px;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .gift-card__actions .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 440px;
  }

  .orbit__center {
    width: 120px;
    height: 120px;
  }

  .orbit__center strong {
    font-size: 2.8rem;
  }

  .section {
    padding: 68px 0;
  }

  .reason-stage {
    grid-template-columns: 1fr;
  }

  .reason-nav {
    position: absolute;
    z-index: 2;
  }

  .reason-nav--prev {
    left: 28px;
  }

  .reason-nav--next {
    right: 28px;
  }

  .reason-card {
    min-height: 330px;
    padding-inline: 66px;
  }
}


/* Fotografías integradas */
.hero__visual {
  min-height: 0;
  display: grid;
  align-items: center;
}

.hero-photo {
  position: relative;
  width: min(100%, 520px);
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 34px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 76px rgba(0,0,0,0.28);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(27,18,34,0.80) 100%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  min-height: 540px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 5px;
  color: #fff;
}

.hero-photo figcaption span {
  color: #ffd9b2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-photo figcaption strong {
  max-width: 20ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.memory-map {
  min-height: 860px;
}

.memory-stop {
  position: absolute;
  isolation: isolate;
  width: 250px;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  align-content: end;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-shadow: 0 2px 18px rgba(30,20,34,0.34);
}

.memory-stop::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,22,36,0.06) 24%, rgba(31,22,36,0.82) 100%);
}

.memory-stop__number,
.memory-stop__label,
.memory-stop small {
  position: relative;
  z-index: 1;
}

.memory-stop__number {
  color: #ffd9b2;
}

.memory-stop small {
  color: rgba(255,255,255,0.82);
}

.memory-stop--one {
  top: 7%;
  left: 7%;
  background-image: url("./images/recuerdo-plaza.jpg");
}

.memory-stop--two {
  top: 16%;
  right: 7%;
  background-image: url("./images/recuerdo-viaje.jpg");
}

.memory-stop--three {
  bottom: 9%;
  left: 11%;
  background-image: url("./images/recuerdo-casa.jpg");
}

.memory-stop--four {
  right: 10%;
  bottom: 6%;
  background-image: url("./images/recuerdo-hoy.jpg");
}

.reason-card {
  background:
    linear-gradient(135deg, rgba(57,31,69,0.88), rgba(38,68,102,0.84)),
    url("./images/razones-amistad.jpg") center / cover no-repeat;
}

.capsule {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 18px rgba(31,20,36,0.28);
  background-position: center;
  background-size: cover;
}

.capsule::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

.capsule--cream {
  background-image: url("./images/capsula-duda.jpg");
}

.capsule--cream::before {
  background: linear-gradient(160deg, rgba(50,29,55,0.30), rgba(62,35,56,0.78));
}

.capsule--pink {
  background-image: url("./images/recuerdo-casa.jpg");
}

.capsule--pink::before {
  background: linear-gradient(160deg, rgba(99,45,70,0.22), rgba(114,54,81,0.82));
}

.capsule--blue {
  background-image: url("./images/capsula-futuro.jpg");
}

.capsule--blue::before {
  background: linear-gradient(160deg, rgba(32,55,82,0.18), rgba(28,49,76,0.82));
}

.capsule--cream .capsule__seal,
.capsule--pink .capsule__seal,
.capsule--blue .capsule__seal {
  color: var(--plum-deep);
  background: rgba(255,250,244,0.94);
  box-shadow: 0 12px 30px rgba(31,20,36,0.16);
}

.keepsake {
  background:
    linear-gradient(135deg, rgba(54,31,63,0.82), rgba(38,64,92,0.78)),
    url("./images/regalo-recuerdos.jpg") center / cover no-repeat;
}

.closing-card {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(46,28,51,0.74), rgba(50,72,96,0.62)),
    url("./images/recuerdo-hoy.jpg") center 42% / cover no-repeat;
}

.closing-card h2 {
  color: #fff;
}

.closing-card > p:not(.eyebrow) {
  color: rgba(255,255,255,0.84);
}

.closing-card__signature {
  color: #ffd9b2;
}

.memory-scene {
  min-height: 420px;
  background: #241a2b;
}

.memory-scene img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.memory-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(25,17,29,0.58) 100%);
  pointer-events: none;
}

.memory-scene > span {
  z-index: 1;
  color: rgba(255,255,255,0.60);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.secret-envelope {
  min-height: 520px;
  padding: 38px 20px;
  background:
    linear-gradient(145deg, rgba(77,47,89,0.26), rgba(49,91,136,0.34)),
    url("./images/sobre-secreto.jpg") center / cover no-repeat;
}

.secret-envelope::before,
.secret-envelope::after,
.secret-envelope__flap {
  display: none;
}

.secret-envelope__letter {
  background: rgba(255,250,244,0.94);
  backdrop-filter: blur(8px);
}

@media (max-width: 879px) {
  .hero-photo {
    margin: 0 auto;
  }

  .hero-photo img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

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

  .memory-stop {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 230px;
  }
}

@media (max-width: 620px) {
  .hero-photo {
    border-radius: 26px;
  }

  .hero-photo figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .memory-scene,
  .memory-scene img {
    min-height: 290px;
  }

  .secret-envelope {
    min-height: 460px;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #keepsake,
  #keepsake * {
    visibility: visible !important;
  }

  #keepsake {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    display: grid;
    align-content: center;
    padding: 80px;
    background: #fff;
    color: #201b2a;
  }

  #keepsake .keepsake__eyebrow,
  #keepsake .keepsake__signature {
    color: #4d2f59;
  }

  #keepsake p {
    color: #6f667c !important;
  }
}
