:root {
  color-scheme: dark;
  --night: #11101f;
  --night-soft: #19172a;
  --surface: #211d34;
  --surface-light: #29243d;
  --ink: #fff6f4;
  --muted: #b4a8bb;
  --rose: #f19aaf;
  --rose-light: #ffc1cf;
  --lilac: #c4a9ed;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 34px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--rose-light);
  outline-offset: 5px;
}

.star-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background-image:
    radial-gradient(1px 1px at 8% 18%, #fff 99%, transparent),
    radial-gradient(1px 1px at 32% 6%, #f8cbda 99%, transparent),
    radial-gradient(1.5px 1.5px at 58% 24%, #fff 99%, transparent),
    radial-gradient(1px 1px at 84% 14%, #d8c2ff 99%, transparent),
    radial-gradient(1px 1px at 17% 66%, #fff 99%, transparent),
    radial-gradient(1.5px 1.5px at 76% 57%, #fff 99%, transparent),
    radial-gradient(1px 1px at 95% 82%, #f8cbda 99%, transparent),
    radial-gradient(1px 1px at 43% 91%, #fff 99%, transparent),
    radial-gradient(1px 1px at 67% 76%, #d8c2ff 99%, transparent);
  background-size: 370px 330px;
  opacity: .45;
  pointer-events: none;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.shooting-star {
  position: absolute;
  top: 18%;
  left: 73%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, #fff0, #ffdce7, #fff0);
  opacity: 0;
  transform: rotate(-35deg);
  animation: shooting 8s 2s ease-in infinite;
}

.drifting-heart {
  position: absolute;
  color: var(--rose);
  opacity: 0;
  animation: drift 15s ease-in-out infinite;
}

.drifting-heart--one {
  top: 32%;
  left: 6%;
  font-size: 19px;
  animation-delay: -3s;
}

.drifting-heart--two {
  top: 67%;
  right: 8%;
  font-size: 13px;
  animation-delay: -9s;
}

.drifting-heart--three {
  top: 86%;
  left: 18%;
  color: var(--lilac);
  font-size: 15px;
  animation-delay: -6s;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(850px, 100svh);
  flex-direction: column;
  justify-content: center;
  padding: 42px max(8vw, calc((100vw - 1120px) / 2));
}

.topline,
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.topline {
  position: absolute;
  top: 34px;
  left: 0;
  width: 100%;
}

.topline__heart {
  color: var(--rose);
  font-size: 12px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(610px, 60%);
  animation: rise-in .9s .12s ease-out both;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--rose-light);
  box-shadow: 0 0 12px var(--rose);
  animation: blink 2.4s ease-in-out infinite;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(58px, 8vw, 108px);
  line-height: .99;
}

h1 em,
h2 em {
  color: var(--rose);
  font-weight: 500;
}

.hero__subtitle {
  margin: 27px 0 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero__aside {
  margin: 17px 0 0;
  color: #857a91;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(-1px) scale(.98);
}

.button--primary {
  padding: 0 24px;
  background: linear-gradient(115deg, #d9799a, #ad78c6);
  box-shadow: 0 8px 30px #d9799a36, inset 0 1px #ffffff50;
  color: white;
}

.button--primary:hover {
  box-shadow: 0 12px 38px #d9799a5c, inset 0 1px #ffffff66;
}

.button--primary span {
  font-size: 17px;
}

.hero-art {
  position: absolute;
  top: 50%;
  right: max(7vw, calc((100vw - 1120px) / 2));
  width: min(39vw, 455px);
  aspect-ratio: 1;
  transform: translateY(-48%);
  animation: float-art 7s ease-in-out infinite, hero-art-in 1s .2s ease-out both;
}

.planet-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: #b677b21c;
  filter: blur(38px);
  animation: glow-breathe 5s ease-in-out infinite;
}

.moon {
  position: absolute;
  top: 18%;
  left: 20%;
  width: 58%;
  height: 58%;
  overflow: hidden;
  border: 1px solid #f5c5d16e;
  border-radius: 50%;
  background:
    radial-gradient(circle at 29% 31%, #fff1ef 0, #f9c8d0 29%, #cf8cb1 69%, #8d6aa7 100%);
  box-shadow: 0 0 70px #dc8bb833, inset -18px -18px 35px #76548355, inset 8px 8px 24px #fff5e66b;
}

.moon::before,
.moon::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: #a76f9950;
  box-shadow: inset 2px 2px 8px #71466933;
}

.moon::before {
  top: 26%;
  left: 26%;
  width: 16%;
  aspect-ratio: 1;
}

.moon::after {
  right: 21%;
  bottom: 25%;
  width: 10%;
  aspect-ratio: 1;
}

.orbit {
  position: absolute;
  top: 35%;
  left: 2%;
  width: 94%;
  height: 42%;
  border: 1px solid #e9b6cf61;
  border-radius: 50%;
}

.orbit--one {
  transform: rotate(-28deg);
}

.orbit--two {
  top: 29%;
  left: 7%;
  width: 82%;
  height: 55%;
  border-color: #c6a6ec52;
  transform: rotate(48deg);
}

.orbit > span {
  position: absolute;
  top: 15%;
  left: 12%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffcfdb;
  box-shadow: 0 0 17px #ffcfdb;
}

.orbit--two > span {
  top: auto;
  right: 7%;
  bottom: 12%;
  left: auto;
  width: 8px;
  height: 8px;
  background: #d7c1ff;
  box-shadow: 0 0 14px #d7c1ff;
}

.planet-heart {
  position: absolute;
  top: 39%;
  left: 40%;
  color: #fff1f1;
  font-size: clamp(54px, 7.5vw, 93px);
  line-height: 1;
  text-shadow: 0 0 22px #fff8, 0 0 54px #f583bd;
  animation: heartbeat 2.6s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  color: var(--rose-light);
  text-shadow: 0 0 16px #f39bb9;
  animation: twinkle 3s ease-in-out infinite;
}

.sparkle--one {
  top: 14%;
  left: 23%;
  font-size: 18px;
}

.sparkle--two {
  top: 34%;
  right: 5%;
  font-size: 25px;
  animation-delay: -1s;
}

.sparkle--three {
  right: 20%;
  bottom: 9%;
  font-size: 28px;
  animation-delay: -2s;
}

.art-note {
  position: absolute;
  right: 2%;
  bottom: 30%;
  color: #d9b9d8;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  transform: rotate(8deg);
}

.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #958aa0;
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--rose), transparent);
  animation: cue-pulse 2s ease-in-out infinite;
}

.letter-section,
.reasons-section,
.final-section {
  padding: 112px 24px;
}

.letter-section {
  border-top: 1px solid #ffffff0b;
  border-bottom: 1px solid #ffffff0b;
  background: linear-gradient(180deg, #151323, #191628 48%, #171525);
  text-align: center;
}

.section-heading {
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.12;
}

.section-subtitle,
.final-subtitle {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.letter-card {
  position: relative;
  width: min(590px, 100%);
  margin: 0 auto;
  padding: 25px 30px 31px;
  border: 1px solid #f3c0d21a;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 36px, #eaa9c017 37px, transparent 38px),
    repeating-linear-gradient(transparent 0 35px, #e5b6ce12 36px 37px),
    linear-gradient(145deg, #28223b, #211d32);
  box-shadow: 0 28px 90px #05040c66, inset 0 1px #ffffff0b;
  text-align: left;
  transform: rotate(-.7deg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.letter-card[data-reveal],
.reasons-card[data-reveal],
.final-orbit[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1), box-shadow .4s ease;
}

.letter-card[data-reveal].is-visible,
.reasons-card[data-reveal].is-visible,
.final-orbit[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.letter-card:hover {
  box-shadow: 0 32px 95px #05040c88, 0 0 40px #dd91bc12, inset 0 1px #ffffff12;
  transform: rotate(0) translateY(-4px);
}

.letter-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.letter-card__label {
  color: var(--rose-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.letter-card__label span {
  margin-right: 6px;
}

.letter-card__date {
  color: #9b8ca4;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.letter-card__body {
  min-height: 170px;
  padding: 0 14px;
}

.letter-card__seal {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 18px 0 14px;
  place-items: center;
  border: 1px solid #f4b4c958;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e696b8, #955e8a);
  box-shadow: 0 0 26px #dd81ae33, inset 0 1px #ffffff55;
  color: #fff0f5;
  font-size: 17px;
  animation: seal-glow 3s ease-in-out infinite;
}

.letter-card__hint {
  margin: 0 0 25px;
  color: #b9acbf;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
}

.letter-card__message {
  color: #e9dce8;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
  animation: letter-open .65s cubic-bezier(.2,.75,.2,1) both;
}

.letter-card__message p {
  margin: 0 0 13px;
}

.letter-card__message p:first-child {
  color: var(--rose-light);
  font-size: 18px;
  font-style: italic;
}

.letter-card__sign {
  color: var(--rose-light);
  font-style: italic;
}

.letter-card__sign span {
  margin-left: 5px;
}

.button--letter,
.button--outline {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d18daa66;
  background: #dd9db00d;
  color: #f2bad0;
  font-size: 11px;
}

.button--letter:hover,
.button--outline:hover {
  border-color: #e5a4bd;
  background: #df9cbb1c;
  box-shadow: 0 6px 25px #d779a51c;
}

.letter-card__stamp {
  position: absolute;
  right: 24px;
  bottom: 25px;
  display: grid;
  width: 61px;
  height: 61px;
  place-content: center;
  border: 1px dashed #db9bb767;
  border-radius: 50%;
  color: #d7a4c1;
  font-size: 7px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-align: center;
  transform: rotate(10deg);
}

.little-things {
  position: relative;
  overflow: hidden;
  padding: 112px 24px 100px;
  background:
    radial-gradient(ellipse at 14% 54%, #bc548224, transparent 36%),
    radial-gradient(ellipse at 88% 35%, #7359b632, transparent 37%),
    linear-gradient(150deg, #171324, #21182d 48%, #151729);
  text-align: center;
}

.little-things::before,
.little-things::after {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #edb3d01a;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.little-things::before {
  top: -100px;
  left: -120px;
  box-shadow: 0 0 0 24px #edb3d008, 0 0 0 48px #edb3d006;
}

.little-things::after {
  right: -130px;
  bottom: -100px;
  width: 310px;
  height: 310px;
  box-shadow: 0 0 0 28px #9fa7fa08, 0 0 0 56px #9fa7fa06;
}

.aurora {
  position: absolute;
  z-index: 0;
  width: 45vw;
  height: 120px;
  border-radius: 50%;
  filter: blur(54px);
  opacity: .16;
  pointer-events: none;
}

.aurora--one {
  top: 30%;
  left: 10%;
  background: #fb78ae;
  transform: rotate(-22deg);
  animation: aurora-flow 11s ease-in-out infinite alternate;
}

.aurora--two {
  right: 5%;
  bottom: 14%;
  background: #8d78ff;
  transform: rotate(20deg);
  animation: aurora-flow 13s -4s ease-in-out infinite alternate-reverse;
}

.little-things__inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.little-things__intro {
  max-width: 470px;
  margin: 18px auto 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.moment-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: 23px 22px 25px;
  border: 1px solid #ffffff1c;
  border-radius: 13px;
  background: linear-gradient(145deg, #ffffff0c, #ffffff04);
  box-shadow: 0 16px 45px #0807134a, inset 0 1px #ffffff12;
  backdrop-filter: blur(10px);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.moment-card:hover {
  border-color: #ffffff4a;
  box-shadow: 0 22px 50px #08071366, 0 0 35px #ffffff0d, inset 0 1px #ffffff24;
  transform: translateY(-8px) rotate(-1deg);
}

.moment-card--pink {
  background:
    radial-gradient(circle at 91% 13%, #ff9fbe2b, transparent 37%),
    linear-gradient(145deg, #44253caa, #ffffff05);
}

.moment-card--violet {
  background:
    radial-gradient(circle at 91% 13%, #c3a2ff30, transparent 38%),
    linear-gradient(145deg, #33274aaa, #ffffff05);
  transition-delay: .08s;
}

.moment-card--blue {
  background:
    radial-gradient(circle at 91% 13%, #82d6ff26, transparent 38%),
    linear-gradient(145deg, #21354aaa, #ffffff05);
  transition-delay: .16s;
}

.moment-card__number {
  color: #d8c6da;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}

.moment-card__icon {
  display: grid;
  width: 53px;
  height: 53px;
  margin: 24px 0 17px;
  place-items: center;
  border: 1px solid #ffffff30;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff24, #ffffff08);
  box-shadow: 0 8px 24px #09071238, inset 0 1px #ffffff42;
  color: #ffd4e4;
  font-size: 27px;
  text-shadow: 0 0 18px currentColor;
  transform: rotate(-6deg);
  transition: transform .35s ease;
}

.moment-card--violet .moment-card__icon {
  color: #e1ceff;
}

.moment-card--blue .moment-card__icon {
  color: #c3e9ff;
}

.moment-card:hover .moment-card__icon {
  transform: rotate(6deg) scale(1.1);
}

.moment-card h3 {
  margin: 0 0 9px;
  color: #fff1f6;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.moment-card p {
  max-width: 260px;
  margin: 0;
  color: #c0b3c7;
  font-size: 11px;
  line-height: 1.8;
}

.moment-card__sparkle {
  position: absolute;
  top: 17px;
  right: 19px;
  color: #ffd3e1;
  font-size: 18px;
  animation: twinkle 3.2s ease-in-out infinite;
}

.moment-card--violet .moment-card__sparkle {
  color: #ddc6ff;
  animation-delay: -1.2s;
}

.moment-card--blue .moment-card__sparkle {
  color: #b5e7ff;
  animation-delay: -2s;
}

.button--stardust {
  margin-top: 36px;
  padding: 0 22px;
  border: 1px solid #e5a9d058;
  background: linear-gradient(110deg, #ed88ae1c, #a78aff1c);
  box-shadow: 0 8px 32px #ad78c51c, inset 0 1px #ffffff24;
  color: #f8cbe2;
}

.button--stardust:hover {
  border-color: #edacd0;
  background: linear-gradient(110deg, #ed88ae35, #a78aff35);
  box-shadow: 0 12px 42px #ad78c53b;
}

.button--stardust span {
  color: #ffe1a6;
  font-size: 17px;
  text-shadow: 0 0 15px #ffe1a6;
}

.stardust-note {
  min-height: 19px;
  margin: 14px 0 0;
  color: #a99bb1;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.stardust-layer {
  position: fixed;
  z-index: 6;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.stardust-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--particle-color, #ffd1e3);
  font-size: var(--particle-size, 20px);
  filter: drop-shadow(0 0 10px currentColor);
  animation: stardust-burst 1.6s cubic-bezier(.12,.65,.25,1) forwards;
}

.reasons-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0, #46304e70, transparent 54%),
    linear-gradient(180deg, #11101f, #171425);
}

.reasons-section::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid #e6b0d00c;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.reasons-card {
  position: relative;
  width: min(650px, 100%);
  margin: 0 auto;
  padding: 64px 30px;
  border: 1px solid #e7bbd11a;
  border-radius: 12px;
  background: linear-gradient(145deg, #262139e8, #1e1a30eb);
  box-shadow: 0 25px 90px #03020a59, inset 0 1px #ffffff0c;
  text-align: center;
}

.reasons-card__flower {
  display: block;
  margin-bottom: 24px;
  color: var(--rose);
  font-size: 32px;
  text-shadow: 0 0 28px #f08eb4;
  animation: slow-spin 18s linear infinite;
}

.reason-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  color: #96869f;
  font-size: 9px;
  letter-spacing: .14em;
}

.reason-counter > span:first-child {
  color: var(--rose-light);
}

.reason-counter__line {
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--rose), #9e83c1);
}

.reason {
  min-height: 58px;
  max-width: 430px;
  margin: 18px auto 26px;
  color: #c8bbce;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

.reason.is-changing {
  animation: reason-appear .5s ease both;
}

.final-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, #45263f70, transparent 47%),
    #11101f;
  text-align: center;
}

.final-orbit {
  display: grid;
  width: 120px;
  height: 120px;
  margin: 0 auto 35px;
  place-items: center;
  border: 1px solid #e69ab74d;
  border-radius: 50%;
  box-shadow: 0 0 50px #d681aa1c, inset 0 0 40px #d681aa0c;
  animation: orbit-breathe 4s ease-in-out infinite;
}

.final-orbit::before,
.final-orbit::after {
  position: absolute;
  width: 144px;
  height: 74px;
  border: 1px solid #cf9de329;
  border-radius: 50%;
  content: "";
  transform: rotate(42deg);
}

.final-orbit::after {
  transform: rotate(-42deg);
}

.final-orbit span {
  color: var(--rose-light);
  font-size: 28px;
  text-shadow: 0 0 25px #f38bad;
  animation: heartbeat 2.6s ease-in-out infinite;
}

.final-section h2 {
  margin-bottom: 0;
}

.final-subtitle {
  margin: 20px 0 26px;
}

.final-note {
  min-height: 22px;
  margin: 18px 0 0;
  color: #a99bb1;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  transition: color .3s ease;
}

.footer {
  min-height: 76px;
  border-top: 1px solid #ffffff0e;
  background: #100f1c;
  font-size: 8px;
}

.footer span:nth-child(2) {
  color: var(--rose);
}

.heart-layer {
  position: fixed;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.flying-heart {
  position: absolute;
  bottom: -30px;
  color: var(--rose-light);
  filter: drop-shadow(0 0 10px #f79cb8);
  animation: float-away 3s cubic-bezier(.12,.65,.25,1) forwards;
}

[hidden] {
  display: none !important;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.12); }
  24% { transform: scale(1); }
  36% { transform: scale(1.07); }
}

@keyframes twinkle {
  0%, 100% { opacity: .45; transform: scale(.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.15) rotate(15deg); }
}

@keyframes blink {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@keyframes shooting {
  0%, 76% { opacity: 0; transform: translate(0, 0) rotate(-35deg); }
  79% { opacity: .8; }
  85% { opacity: 0; transform: translate(-220px, 130px) rotate(-35deg); }
  100% { opacity: 0; }
}

@keyframes drift {
  0%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-12deg); }
  22%, 70% { opacity: .5; }
  50% { transform: translate3d(16px, -42px, 0) rotate(12deg); }
}

@keyframes float-art {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@keyframes hero-art-in {
  from { opacity: 0; transform: translateY(calc(-48% + 20px)); }
  to { opacity: 1; transform: translateY(-48%); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes cue-pulse {
  0%, 100% { opacity: .4; transform: scaleY(.75); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes seal-glow {
  0%, 100% { box-shadow: 0 0 18px #dd81ae26, inset 0 1px #ffffff55; }
  50% { box-shadow: 0 0 30px #dd81ae59, inset 0 1px #ffffff77; }
}

@keyframes letter-open {
  from { opacity: 0; transform: translateY(12px); clip-path: inset(0 0 35%); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

@keyframes reason-appear {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-breathe {
  0%, 100% { transform: scale(.97); box-shadow: 0 0 40px #d681aa14, inset 0 0 40px #d681aa08; }
  50% { transform: scale(1.04); box-shadow: 0 0 60px #d681aa2a, inset 0 0 48px #d681aa15; }
}

@keyframes aurora-flow {
  from { transform: translate3d(-22px, -12px, 0) rotate(-22deg) scale(.9); }
  to { transform: translate3d(35px, 18px, 0) rotate(12deg) scale(1.2); }
}

@keyframes stardust-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(0); }
  12% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--particle-x)), calc(-50% + var(--particle-y))) scale(1.25) rotate(150deg);
  }
}

@keyframes float-away {
  0% { opacity: 0; transform: translateY(0) rotate(0) scale(.65); }
  12% { opacity: .95; }
  100% { opacity: 0; transform: translateY(-90vh) rotate(38deg) scale(1.2); }
}

@media (max-width: 760px) {
  .hero {
    min-height: max(900px, 100svh);
    justify-content: flex-start;
    padding: 145px 27px 60px;
  }

  .topline {
    top: 25px;
    gap: 9px;
    font-size: 8px;
  }

  .hero__copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(56px, 14vw, 86px);
  }

  .hero__subtitle {
    margin-top: 19px;
    font-size: 13px;
  }

  .hero-art {
    top: auto;
    right: 50%;
    bottom: 37px;
    width: min(65vw, 330px);
    transform: translateX(50%);
    animation: float-mobile 7s ease-in-out infinite;
  }

  .scroll-cue {
    display: none;
  }

  .letter-section,
  .reasons-section,
  .final-section {
    padding: 84px 20px;
  }

  .section-heading {
    margin-bottom: 31px;
  }

  .section-subtitle {
    max-width: 300px;
    margin: 15px auto 0;
  }

  .letter-card {
    padding: 21px 18px 27px;
  }

  .letter-card__body {
    min-height: 170px;
    padding: 0 8px;
  }

  .letter-card__stamp {
    right: 14px;
    bottom: 20px;
    width: 49px;
    height: 49px;
    font-size: 6px;
  }

  .button--letter {
    max-width: calc(100% - 58px);
    padding: 0 14px;
  }

  .letter-card__message {
    font-size: 15px;
  }

  .little-things {
    padding: 84px 20px;
  }

  .moments-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .moment-card {
    min-height: 220px;
    padding: 20px;
  }

  .moment-card__icon {
    margin: 17px 0 13px;
  }

  .moment-card p {
    max-width: 300px;
  }

  .reasons-card {
    padding: 49px 18px;
  }

  .reason {
    font-size: 16px;
  }

  .final-orbit {
    width: 100px;
    height: 100px;
  }

  .final-orbit::before,
  .final-orbit::after {
    width: 124px;
    height: 64px;
  }

  .footer {
    gap: 8px;
    padding: 0 12px;
    font-size: 7px;
    letter-spacing: .07em;
  }
}

@keyframes float-mobile {
  0%, 100% { margin-bottom: 0; }
  50% { margin-bottom: 10px; }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 128px;
  }

  .hero-art {
    width: 60vw;
  }

  .letter-card__label {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

html {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.scene-stage {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  overflow: hidden;
  place-items: center;
  padding: 76px 28px 106px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(5vw, 0, 0) scale(.985);
  transition:
    opacity .48s ease,
    transform .62s cubic-bezier(.2,.75,.25,1),
    visibility 0s linear .62s;
}

.slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity .48s ease,
    transform .62s cubic-bezier(.2,.75,.25,1),
    visibility 0s;
}

.scene-stage.is-backward .slide {
  transform: translate3d(-5vw, 0, 0) scale(.985);
}

.scene-stage.is-backward .slide.is-active {
  transform: translate3d(0, 0, 0) scale(1);
}

.hero {
  min-height: 0;
  padding: 42px max(8vw, calc((100vw - 1120px) / 2)) 90px;
}

.hero__copy {
  justify-self: start;
}

.hero {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  justify-items: start;
}

.slide.little-things {
  width: 100%;
  min-width: 0;
  justify-items: stretch;
}

.little-things__inner {
  min-width: 0;
}

.letter-section,
.reasons-section,
.final-section,
.little-things {
  min-height: 0;
  padding: 72px 28px 100px;
}

.letter-section {
  border: 0;
}

.section-heading {
  margin-bottom: 25px;
}

.letter-card {
  width: min(590px, 100%);
}

.letter-section h2 {
  font-size: clamp(40px, 4.5vw, 54px);
}

.letter-card__body {
  min-height: 110px;
}

.letter-card__message {
  font-size: 14px;
  line-height: 1.65;
}

.letter-card__message p {
  margin-bottom: 9px;
}

.letter-card__seal {
  margin-top: 10px;
}

.little-things__intro {
  margin-bottom: 25px;
}

.moment-card {
  min-height: 225px;
}

.button--stardust {
  margin-top: 24px;
}

.reasons-card {
  padding: 44px 30px;
}

.reasons-card__flower {
  margin-bottom: 14px;
}

.reason-counter {
  margin-top: 19px;
}

.reason {
  margin-bottom: 18px;
}

.final-orbit {
  margin-bottom: 23px;
}

.final-subtitle {
  margin-top: 14px;
}

.scene-nav {
  position: fixed;
  z-index: 10;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: min(540px, calc(100% - 36px));
  min-height: 66px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid #f4c4df2b;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 0, #cb8bb51c, transparent 62%),
    linear-gradient(135deg, #211b31ed, #171626f2);
  box-shadow: 0 12px 38px #05040d66, 0 0 28px #d68bad12, inset 0 1px #ffffff14;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.scene-nav__arrow {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d9cadf;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.scene-nav__arrow:hover:not(:disabled) {
  color: #fff2f8;
  transform: translateY(-2px);
}

.scene-nav__arrow:hover:not(:disabled) .scene-nav__arrow-icon {
  border-color: #f4b7d47d;
  background: linear-gradient(145deg, #ee9cbe3d, #b38ce23d);
  box-shadow: 0 0 21px #e38ebd39, inset 0 1px #ffffff32;
}

.scene-nav__arrow:disabled {
  opacity: .38;
  cursor: default;
}

.scene-nav__arrow-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid #e8b6d23d;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff10, #ffffff04);
  color: #f3bfd8;
  font-size: 14px;
  letter-spacing: 0;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.scene-nav__arrow-label {
  padding: 0 3px;
}

#scene-next {
  justify-self: end;
}

.scene-nav__center {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.scene-nav__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.scene-nav__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #94879e;
  cursor: pointer;
  transition: width .3s ease, border-radius .3s ease, background .3s ease, box-shadow .3s ease;
}

.scene-nav__dot[aria-current="step"] {
  width: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ee91b1, #c69ae9);
  box-shadow: 0 0 16px #e890bb75;
}

.scene-nav__caption {
  color: #ab9db2;
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}

.scene-nav__signature {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 25px;
  color: #96899c;
  font-size: 9px;
  letter-spacing: .08em;
}

.scene-nav__signature span {
  margin-left: 4px;
  color: var(--rose);
}

.scene-nav__signature {
  display: none;
}

@media (max-width: 760px) {
  .slide {
    padding: 70px 20px 89px;
  }

  .hero {
    justify-content: start;
    padding: 82px 27px 80px;
  }

  .hero__copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero__subtitle {
    margin: 12px 0 15px;
  }

  .hero__aside {
    display: none;
  }

  .hero-art {
    top: auto;
    right: 50%;
    bottom: 75px;
    width: min(34vw, 230px);
    transform: translateX(50%);
    animation: float-mobile 7s ease-in-out infinite;
  }

  .scroll-cue {
    display: none;
  }

  .letter-section,
  .reasons-section,
  .final-section,
  .little-things {
    padding: 67px 20px 91px;
  }

  .section-heading {
    margin-bottom: 17px;
  }

  h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .section-subtitle,
  .little-things__intro,
  .final-subtitle {
    margin-top: 10px;
    font-size: 11px;
  }

  .letter-card {
    padding: 17px 15px 20px;
  }

  .letter-card__top {
    margin-bottom: 13px;
  }

  .letter-card__body {
    min-height: 100px;
    padding: 0 5px;
  }

  .letter-card__seal {
    width: 38px;
    height: 38px;
    margin: 3px 0 8px;
    font-size: 14px;
  }

  .letter-card__hint {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .letter-card__message {
    font-size: 13px;
    line-height: 1.6;
  }

  .letter-card__message p {
    margin-bottom: 8px;
  }

  .letter-card__message p:first-child {
    font-size: 15px;
  }

  .letter-card__stamp {
    right: 12px;
    bottom: 15px;
    width: 42px;
    height: 42px;
    font-size: 5px;
  }

  .little-things__intro {
    max-width: 340px;
    margin-bottom: 17px;
  }

  .moments-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .moment-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 43px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 13px;
    align-items: center;
    padding: 10px 13px;
  }

  .moment-card__number {
    grid-column: 2;
    align-self: end;
    font-size: 7px;
  }

  .moment-card__icon {
    width: 39px;
    height: 39px;
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
    border-radius: 13px;
    font-size: 20px;
  }

  .moment-card h3 {
    grid-column: 2;
    margin: 3px 0;
    font-size: 16px;
  }

  .moment-card p {
    grid-column: 2;
    max-width: none;
    font-size: 9px;
    line-height: 1.5;
  }

  .moment-card__sparkle {
    top: 10px;
    right: 11px;
    font-size: 14px;
  }

  .button--stardust {
    min-height: 41px;
    margin-top: 15px;
    font-size: 10px;
  }

  .stardust-note {
    margin-top: 7px;
    font-size: 10px;
  }

  .reasons-card {
    padding: 32px 18px;
  }

  .reasons-card__flower {
    margin-bottom: 9px;
    font-size: 26px;
  }

  .reason-counter {
    margin-top: 12px;
  }

  .reason {
    min-height: 72px;
    margin: 12px auto;
    font-size: 14px;
  }

  .final-orbit {
    width: 78px;
    height: 78px;
    margin-bottom: 15px;
  }

  .final-orbit::before,
  .final-orbit::after {
    width: 96px;
    height: 50px;
  }

  .final-orbit span {
    font-size: 22px;
  }

  .final-section h2 {
    font-size: clamp(32px, 8.5vw, 43px);
  }

  .scene-nav {
    width: min(420px, calc(100% - 28px));
    min-height: 61px;
    grid-template-columns: 1fr auto 1fr;
    padding: 6px 12px;
  }

  .scene-nav__arrow {
    min-height: 38px;
    gap: 6px;
    font-size: 8px;
  }

  .scene-nav__arrow-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 13px;
  }

  .scene-nav__center {
    gap: 5px;
  }

  .scene-nav__dots {
    gap: 7px;
  }

  .scene-nav__dot {
    width: 6px;
    height: 6px;
  }

  .scene-nav__dot[aria-current="step"] {
    width: 18px;
  }

  .scene-nav__caption {
    font-size: 10px;
  }

  .scene-nav__signature {
    display: none;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero {
    padding: 0 27px 150px;
  }

  .hero-art {
    width: min(25vw, 150px);
  }

  .letter-section,
  .reasons-section,
  .final-section,
  .little-things {
    padding: 38px 16px 82px;
  }

  h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .section-heading {
    margin-bottom: 12px;
  }

  .section-subtitle {
    display: none;
  }

  .letter-card {
    padding: 12px 13px 16px;
  }

  .letter-card__top {
    margin-bottom: 7px;
  }

  .letter-card__body {
    min-height: 80px;
  }

  .letter-card__message {
    max-height: 116px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-color: #c486a5 #211d32;
    scrollbar-width: thin;
  }

  .little-things__intro,
  .stardust-note {
    display: none;
  }

  .little-things__intro {
    margin: 0;
  }

  .moments-grid {
    gap: 6px;
  }

  .moment-card {
    padding: 8px 12px;
  }

  .moment-card__icon {
    width: 35px;
    height: 35px;
  }

  .button--stardust {
    margin-top: 11px;
  }

  .reasons-card {
    padding: 22px 14px;
  }

  .reasons-card__flower {
    margin-bottom: 7px;
    font-size: 22px;
  }

  .reason-counter {
    margin-top: 9px;
  }

  .reason {
    min-height: 55px;
    margin: 8px auto 11px;
    font-size: 13px;
  }

  .final-orbit {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }

  .final-section h2 {
    font-size: clamp(29px, 7.8vw, 38px);
  }

  .final-subtitle {
    margin: 8px 0 15px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .slide {
    padding-top: 55px;
    padding-bottom: 84px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 75px;
  }

  .hero-art {
    width: min(34vw, 350px);
  }

  .letter-section,
  .reasons-section,
  .final-section,
  .little-things {
    padding-top: 45px;
    padding-bottom: 82px;
  }

  .moment-card {
    min-height: 155px;
    padding: 15px 16px;
  }

  .moment-card__icon {
    margin: 15px 0 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide.is-active {
    transition-duration: .01ms;
  }
}

@media (min-width: 761px) and (max-height: 700px) {
  .hero {
    padding: 30px max(6vw, calc((100vw - 1120px) / 2)) 118px;
  }

  .hero__copy {
    width: 52%;
  }

  .hero h1 {
    font-size: clamp(46px, 6vw, 64px);
  }

  .hero-art {
    right: 5vw;
    width: min(30vw, 300px);
  }

  .letter-section,
  .reasons-section,
  .final-section,
  .little-things {
    padding: 32px 22px 106px;
  }

  .letter-section h2,
  .little-things h2 {
    font-size: clamp(35px, 4vw, 45px);
  }

  .letter-section .section-heading {
    margin-bottom: 12px;
  }

  .letter-card {
    padding: 14px 24px 16px;
  }

  .letter-card__body {
    min-height: 82px;
  }

  .letter-card__message {
    max-height: 150px;
    overflow-y: auto;
    scrollbar-color: #c486a5 #211d32;
    scrollbar-width: thin;
  }

  .little-things__intro,
  .stardust-note {
    display: none;
  }

  .little-things__inner > .eyebrow {
    margin-bottom: 12px;
  }

  .little-things .moments-grid {
    margin-top: 20px;
  }

  .button--stardust {
    margin-top: 18px;
  }

  .reasons-section {
    padding-bottom: 122px;
  }

  .reasons-card {
    padding: 34px 26px;
  }

  .reasons-card__flower {
    margin-bottom: 11px;
  }

  .reason-counter {
    margin-top: 13px;
  }

  .reason {
    min-height: 48px;
    margin: 12px auto;
  }
}
