:root {
  --cream: #fffaf5;
  --rose-50: #fff3f6;
  --rose-100: #fbdde5;
  --rose-300: #eda4b7;
  --rose-500: #ca6686;
  --lilac-100: #ece3f6;
  --lilac-300: #c7addd;
  --mint-100: #ddf1ea;
  --mint-400: #6fa99c;
  --peach-100: #fde4d8;
  --gold: #d8a94d;
  --plum: #62455d;
  --ink: #4b3b48;
  --muted: #7e6d79;
  --white: #ffffff;
  --shadow: 0 24px 65px rgba(103, 67, 88, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

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

.page-decoration {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.soft-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}

.soft-blob--one {
  width: 420px;
  height: 420px;
  top: 65vh;
  left: -270px;
  background: var(--lilac-100);
}

.soft-blob--two {
  width: 520px;
  height: 520px;
  top: 165vh;
  right: -360px;
  background: var(--rose-100);
}

.soft-blob--three {
  width: 380px;
  height: 380px;
  top: 270vh;
  left: -220px;
  background: var(--mint-100);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 72px 24px 54px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.85), transparent 25%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(145deg, #fff4f5, #f5ecfb 48%, #e9f5ef);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(202, 102, 134, 0.13);
  border-radius: 50%;
}

.hero::before {
  top: -180px;
  left: -130px;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.16), 0 0 0 68px rgba(255, 255, 255, 0.1);
}

.hero::after {
  right: -150px;
  bottom: -210px;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.16), 0 0 0 68px rgba(255, 255, 255, 0.1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
}

.pretitle,
.section-heading > p {
  margin: 0;
  color: var(--rose-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.pretitle span {
  display: inline-block;
  color: var(--gold);
  animation: twinkle 1.8s ease-in-out infinite alternate;
}

h1 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.happy,
.name {
  display: block;
}

.happy {
  position: relative;
  padding: 6px 0;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  color: transparent;
  background: linear-gradient(
    110deg,
    #b16e90 10%,
    #edb0c3 26%,
    #fff9dc 34%,
    #d7a447 42%,
    #b88ac9 56%,
    #fff 64%,
    #d58aa5 76%,
    #b16e90 90%
  );
  background-size: 240% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 12px rgba(154, 92, 124, 0.13));
  animation: glitter 7s linear infinite, glitter-glow 4.5s ease-in-out infinite alternate;
}

.happy::before,
.happy::after {
  position: absolute;
  z-index: 2;
  color: #e1b75a;
  -webkit-text-fill-color: #e1b75a;
  font-family: var(--sans);
  line-height: 1;
  text-shadow: 0 0 10px #fff, 0 0 18px rgba(216, 169, 77, 0.7);
  pointer-events: none;
}

.happy::before {
  content: "✦";
  top: 0;
  left: 14%;
  font-size: 0.22em;
  animation: glitter-star 3.8s ease-in-out infinite;
}

.happy::after {
  content: "✧";
  right: 11%;
  bottom: 6%;
  font-size: 0.18em;
  animation: glitter-star 3.8s ease-in-out -1.9s infinite;
}

.name {
  margin-top: 12px;
  color: var(--plum);
  font-family: var(--sans);
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.9);
}

.hero__subtitle {
  max-width: 760px;
  margin: 18px auto 30px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  font-style: italic;
}

.photo-stage {
  position: relative;
  width: min(100%, 830px);
  margin: 0 auto;
  padding: 12px;
}

.photo-frame {
  position: relative;
  padding: 9px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow), 0 0 0 1px rgba(139, 91, 121, 0.08);
  transform: rotate(-0.65deg);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 25px;
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
  object-fit: cover;
  object-position: center 47%;
}

.photo-caption {
  position: absolute;
  right: 4px;
  bottom: -7px;
  padding: 11px 17px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 0.93rem;
  font-style: italic;
  border: 1px solid rgba(202, 102, 134, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(90, 59, 79, 0.13);
  transform: rotate(2deg);
}

.photo-caption span {
  margin-right: 5px;
  color: var(--rose-500);
}

.sparkle {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(216, 169, 77, 0.45);
  animation: sparkle-pop 2s ease-in-out infinite alternate;
}

.sparkle--one {
  top: -7px;
  left: -16px;
  font-size: 2.25rem;
}

.sparkle--two {
  top: 22%;
  right: -18px;
  font-size: 1.5rem;
  animation-delay: -0.7s;
}

.sparkle--three {
  bottom: 2%;
  left: -2px;
  font-size: 1.3rem;
  animation-delay: -1.3s;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.scroll-hint i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--rose-500);
  font-style: normal;
  border: 1px solid rgba(202, 102, 134, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: arrow-bounce 1.8s ease-in-out infinite;
}

.balloon {
  position: absolute;
  z-index: 1;
  width: 92px;
  height: 116px;
  border-radius: 50% 50% 46% 46%;
  opacity: 0.76;
  filter: drop-shadow(0 15px 12px rgba(103, 67, 88, 0.1));
  animation: balloon-float 5s ease-in-out infinite;
}

.balloon::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 14px;
  width: 15px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  transform: rotate(-25deg);
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -134px;
  width: 1px;
  height: 135px;
  background: rgba(103, 69, 93, 0.3);
  transform-origin: top;
  transform: rotate(4deg);
}

.balloon span {
  position: absolute;
  bottom: -7px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  background: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.balloon--left {
  top: 19%;
  left: 5%;
  background: linear-gradient(145deg, #f7c5d3, #dc8fab);
  transform: rotate(-7deg);
}

.balloon--right {
  top: 27%;
  right: 6%;
  width: 76px;
  height: 98px;
  background: linear-gradient(145deg, #d9c9ed, #a88bcc);
  transform: rotate(8deg);
  animation-delay: -2.4s;
}

.confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: -30px;
  left: var(--x);
  width: 8px;
  height: 18px;
  border-radius: 3px;
  background: var(--color);
  opacity: 0.7;
  transform: rotate(var(--turn));
  animation: confetti-fall 9s linear infinite;
  animation-delay: var(--delay);
}

.letter-section,
.memories {
  position: relative;
  width: min(100% - 40px, 930px);
  margin: 0 auto;
  padding: 110px 0 20px;
}

.section-magic {
  position: absolute;
  inset: 45px 0 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.letter-section > :not(.section-magic),
.memories > :not(.section-magic) {
  position: relative;
  z-index: 1;
}

.section-magic span {
  position: absolute;
  display: block;
  color: var(--rose-300);
  font-size: 1rem;
  opacity: 0.38;
  animation: gentle-drift 4.5s ease-in-out infinite;
}

.section-magic span:nth-child(1) {
  top: 8%;
  left: 2%;
}

.section-magic span:nth-child(2) {
  top: 28%;
  right: 0;
  color: var(--gold);
  font-size: 1.55rem;
  animation-delay: -1.1s;
}

.section-magic span:nth-child(3) {
  top: 59%;
  left: -1%;
  color: var(--mint-400);
  font-size: 0.55rem;
  animation-delay: -2.5s;
}

.section-magic span:nth-child(4) {
  right: 4%;
  bottom: 16%;
  color: #9c7cba;
  font-size: 1.3rem;
  animation-delay: -3.4s;
}

.section-magic span:nth-child(5) {
  bottom: 4%;
  left: 6%;
  color: var(--rose-500);
  animation-delay: -0.6s;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading .mini-cake {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 2.4rem;
  filter: drop-shadow(0 8px 10px rgba(128, 72, 98, 0.13));
  animation: cake-wiggle 3s ease-in-out infinite;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.letter-card {
  position: relative;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid rgba(145, 95, 121, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 31px, #efdee6 32px);
  box-shadow: var(--shadow);
  animation: letter-breathe 4.8s ease-in-out infinite;
}

.letter-card::before,
.letter-card::after {
  content: "✦";
  position: absolute;
  color: var(--gold);
  opacity: 0.5;
}

.letter-card::before {
  top: 25px;
  right: 30px;
  font-size: 1.5rem;
  animation: glitter-star 1.8s ease-in-out infinite;
}

.letter-card::after {
  right: 58px;
  bottom: 30px;
  font-size: 0.9rem;
  animation: glitter-star 1.8s ease-in-out -0.9s infinite;
}

.letter-card__quote {
  position: absolute;
  top: 16px;
  left: 28px;
  color: var(--rose-100);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
}

.letter-card p {
  position: relative;
  margin: 0 0 22px;
  color: #5f505b;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  line-height: 1.85;
}

.letter-card strong {
  color: var(--rose-500);
  font-weight: 700;
}

.letter-card__closing {
  margin-top: 34px !important;
  margin-bottom: 0 !important;
  color: var(--plum) !important;
  font-size: clamp(1.25rem, 3vw, 1.55rem) !important;
  font-style: italic;
}

.letter-card__closing strong {
  display: inline-block;
  margin-top: 5px;
  color: var(--plum);
  font-size: 1.12em;
}

.memories {
  padding-top: 125px;
  padding-bottom: 115px;
}

.section-heading--compact {
  max-width: 690px;
  margin-right: auto;
  margin-bottom: 45px;
  margin-left: auto;
}

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

.memory-card {
  position: relative;
  min-height: 220px;
  padding: 34px;
  border: 1px solid rgba(115, 81, 103, 0.09);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(103, 67, 88, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.memory-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 25px 50px rgba(103, 67, 88, 0.13);
}

.memory-card::before,
.memory-card::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

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

.memory-card--rose::before {
  content: "";
  width: 145px;
  height: 64px;
  right: -22px;
  bottom: 14px;
  border-top: 4px dotted rgba(202, 102, 134, 0.22);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.memory-card--rose::after {
  content: "♥";
  right: 23px;
  bottom: 20px;
  color: rgba(202, 102, 134, 0.24);
  font-size: 3.9rem;
  transform: rotate(12deg);
  animation: heart-beat 2.3s ease-in-out infinite;
}

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

.memory-card--mint::before,
.memory-card--mint::after {
  content: "";
  border: 3px solid rgba(111, 169, 156, 0.22);
  border-radius: 50%;
  animation: bubble-float 3.6s ease-in-out infinite;
}

.memory-card--mint::before {
  width: 78px;
  height: 78px;
  right: 18px;
  bottom: -18px;
}

.memory-card--mint::after {
  width: 34px;
  height: 34px;
  right: 92px;
  bottom: 31px;
  animation-delay: -1.8s;
}

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

.memory-card--lilac::before {
  content: "";
  width: 180px;
  height: 80px;
  right: -44px;
  bottom: 15px;
  border-top: 3px dashed rgba(149, 116, 177, 0.24);
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: travel-line 4s ease-in-out infinite;
}

.memory-card--lilac::after {
  content: "☁";
  right: 20px;
  bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4.8rem;
  animation: cloud-drift 4s ease-in-out infinite;
}

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

.memory-card--peach::before {
  content: "✦";
  right: 25px;
  bottom: 13px;
  color: rgba(207, 128, 104, 0.3);
  font-size: 4.6rem;
  animation: future-spin 5s linear infinite;
}

.memory-card--peach::after {
  content: "✧";
  right: 95px;
  bottom: 61px;
  color: rgba(207, 128, 104, 0.3);
  font-size: 1.7rem;
  animation: glitter-star 1.7s ease-in-out infinite;
}

.memory-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--rose-500);
  font-size: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
  animation: icon-float 3s ease-in-out infinite;
}

.memory-card--mint .memory-card__icon {
  width: 72px;
  font-size: 1.12rem;
  animation-delay: -0.7s;
}

.memory-card--lilac .memory-card__icon {
  color: #9574b1;
  animation-delay: -1.4s;
}

.memory-card--peach .memory-card__icon {
  color: #cf8068;
  animation-delay: -2.1s;
}

.memory-card h3 {
  margin: 0 0 9px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.memory-card p {
  max-width: 300px;
  margin: 0;
  color: #756470;
  font-family: var(--serif);
  line-height: 1.55;
}

.finale {
  position: relative;
  padding: 110px 24px 100px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.55), transparent 38%),
    linear-gradient(140deg, #f9dfe5, #eee2f7 54%, #dff1eb);
  overflow: hidden;
  animation: finale-colors 7s ease-in-out infinite alternate;
}

.finale::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(216, 169, 77, 0.75) 0 1px, transparent 2px);
  background-position: 0 0, 34px 48px;
  background-size: 95px 95px, 125px 125px;
  animation: starfield 12s linear infinite;
}

.finale__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.finale__sparkles span {
  position: absolute;
  z-index: 1;
  color: rgba(202, 102, 134, 0.5);
  animation: gentle-drift 3.7s ease-in-out infinite;
}

.finale__sparkles span:nth-child(1) { top: 12%; left: 25%; font-size: 1.8rem; }
.finale__sparkles span:nth-child(2) { top: 63%; left: 12%; animation-delay: -0.8s; }
.finale__sparkles span:nth-child(3) { top: 17%; right: 24%; color: #c09d4d; animation-delay: -1.6s; }
.finale__sparkles span:nth-child(4) { right: 15%; bottom: 17%; color: #6fa99c; font-size: 0.65rem; animation-delay: -2.4s; }
.finale__sparkles span:nth-child(5) { bottom: 11%; left: 31%; color: #9c7cba; font-size: 1.35rem; animation-delay: -3.2s; }
.finale__sparkles span:nth-child(6) { right: 33%; bottom: 8%; animation-delay: -1.1s; }

.finale p {
  position: relative;
  z-index: 2;
  margin: 35px 0 10px;
  color: var(--rose-500);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.finale h2 {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hearts {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  color: var(--rose-500);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 21px;
}

.hearts span {
  display: inline-block;
  animation: heart-beat 1.8s ease-in-out infinite;
}

.hearts span:nth-child(2) {
  animation-delay: -0.6s;
}

.hearts span:nth-child(3) {
  animation-delay: -1.2s;
}

.cake {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 145px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 14px rgba(103, 67, 88, 0.12));
}

.cake-base,
.cake-top,
.cake-plate,
.candle,
.flame {
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}

.cake-base {
  width: 130px;
  height: 65px;
  bottom: 12px;
  border-radius: 8px 8px 18px 18px;
  background: linear-gradient(90deg, #e9a5b8, #f8c7d1 50%, #e49bb1);
  box-shadow: inset 0 -12px rgba(188, 100, 129, 0.1);
}

.cake-base::before,
.cake-base::after {
  content: "♥";
  position: absolute;
  top: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.cake-base::before {
  left: 30px;
}

.cake-base::after {
  right: 30px;
}

.cake-top {
  z-index: 2;
  width: 132px;
  height: 23px;
  bottom: 66px;
  border-radius: 50%;
  background: #fff9f3;
  box-shadow: inset 0 -7px #f2d9d8;
}

.cake-plate {
  width: 158px;
  height: 12px;
  bottom: 5px;
  border-radius: 50%;
  background: #c8b3dc;
}

.candle {
  z-index: 3;
  width: 9px;
  height: 33px;
  bottom: 84px;
  border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(45deg, #b991d0 0 5px, #fff 5px 9px);
}

.flame {
  z-index: 4;
  width: 14px;
  height: 22px;
  bottom: 119px;
  border-radius: 70% 30% 60% 40%;
  background: linear-gradient(#fff2a9, #e9a43e);
  box-shadow: 0 0 20px rgba(233, 164, 62, 0.7);
  transform-origin: bottom;
  animation: flame-dance 1.2s ease-in-out infinite alternate;
}

.finale__balloon {
  position: absolute;
  width: 120px;
  height: 145px;
  border-radius: 50%;
  opacity: 0.35;
  animation: balloon-float 4.5s ease-in-out infinite;
}

.finale__balloon::after {
  content: "";
  position: absolute;
  top: 140px;
  left: 50%;
  width: 1px;
  height: 260px;
  background: rgba(99, 69, 91, 0.35);
}

.finale__balloon--one {
  top: 18%;
  left: 8%;
  background: #ed9db5;
  transform: rotate(-9deg);
}

.finale__balloon--two {
  top: 28%;
  right: 8%;
  width: 90px;
  height: 115px;
  background: #9ecfc2;
  transform: rotate(7deg);
  animation-delay: -2.2s;
}

.digital-bouquet {
  position: relative;
  padding: 125px 24px 110px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.96), transparent 30%),
    radial-gradient(circle at 8% 72%, rgba(221, 241, 234, 0.9), transparent 25%),
    radial-gradient(circle at 92% 76%, rgba(236, 227, 246, 0.9), transparent 26%),
    linear-gradient(160deg, #fff9f5, #fdeff2 52%, #f5edf9);
  overflow: hidden;
}

.digital-bouquet::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(202, 102, 134, 0.13);
  border-radius: 38px;
  pointer-events: none;
}

.digital-bouquet__content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  margin: 0 auto;
}

.digital-bouquet__kicker {
  margin: 0 0 12px;
  color: var(--rose-500);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.digital-bouquet h2 {
  max-width: 780px;
  margin: 0 auto 42px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(2.45rem, 6.5vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.bouquet-picture {
  position: relative;
  width: min(100%, 660px);
  margin: 0 auto;
  padding: 11px;
  border: 1px solid rgba(202, 102, 134, 0.16);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 35px 85px rgba(116, 72, 96, 0.17), inset 0 1px rgba(255, 255, 255, 0.9);
  animation: bouquet-float 6.5s ease-in-out infinite;
}

.bouquet-picture::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  pointer-events: none;
}

.bouquet-picture img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 36px;
  object-fit: cover;
}

.bouquet-picture__sparkle {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 14px rgba(216, 169, 77, 0.45);
  animation: glitter-star 2.7s ease-in-out infinite;
}

.bouquet-picture__sparkle--one {
  top: 8%;
  left: -24px;
  font-size: 2.4rem;
}

.bouquet-picture__sparkle--two {
  right: -18px;
  bottom: 17%;
  color: var(--rose-500);
  font-size: 1.8rem;
  animation-delay: -1.35s;
}

.bouquet-to-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 34px 0 0;
  padding: 13px 19px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  font-style: italic;
  border: 1px solid rgba(202, 102, 134, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 13px 32px rgba(103, 67, 88, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flower-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.flower-field span {
  position: absolute;
  display: block;
  color: rgba(235, 166, 184, 0.48);
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 7px 9px rgba(103, 67, 88, 0.08));
  animation: flower-drift 8s ease-in-out infinite;
}

.flower-field span:nth-child(1) { top: 8%; left: 6%; font-size: 3.4rem; }
.flower-field span:nth-child(2) { top: 14%; right: 8%; color: rgba(169, 214, 202, 0.58); animation-delay: -2.1s; }
.flower-field span:nth-child(3) { top: 37%; left: 2%; color: rgba(199, 173, 221, 0.55); font-size: 2.8rem; animation-delay: -4.4s; }
.flower-field span:nth-child(4) { top: 43%; right: 3%; font-size: 3.7rem; animation-delay: -6.2s; }
.flower-field span:nth-child(5) { top: 67%; left: 7%; color: rgba(216, 169, 77, 0.42); font-size: 2.2rem; animation-delay: -1.4s; }
.flower-field span:nth-child(6) { top: 72%; right: 9%; color: rgba(199, 173, 221, 0.55); font-size: 3.1rem; animation-delay: -3.5s; }
.flower-field span:nth-child(7) { bottom: 7%; left: 18%; color: rgba(169, 214, 202, 0.54); font-size: 2.5rem; animation-delay: -5.7s; }
.flower-field span:nth-child(8) { right: 20%; bottom: 5%; font-size: 2rem; animation-delay: -7s; }
.flower-field span:nth-child(9) { top: 25%; left: 17%; color: rgba(216, 169, 77, 0.34); font-size: 1.4rem; animation-delay: -6.8s; }
.flower-field span:nth-child(10) { top: 28%; right: 19%; color: rgba(169, 214, 202, 0.48); font-size: 1.7rem; animation-delay: -0.8s; }
.flower-field span:nth-child(11) { bottom: 27%; left: 14%; font-size: 1.6rem; animation-delay: -2.8s; }
.flower-field span:nth-child(12) { right: 13%; bottom: 32%; color: rgba(199, 173, 221, 0.5); font-size: 1.5rem; animation-delay: -4.9s; }

.site-footer {
  padding: 24px;
  color: #9b8895;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  background: #fffaf7;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--rose-500);
}

@keyframes glitter {
  to {
    background-position: 240% center;
  }
}

@keyframes glitter-glow {
  from {
    filter: brightness(0.98) drop-shadow(0 4px 8px rgba(154, 92, 124, 0.12));
  }
  to {
    filter: brightness(1.18) drop-shadow(0 5px 15px rgba(216, 169, 77, 0.42));
  }
}

@keyframes glitter-star {
  0%,
  100% {
    transform: scale(0.35) rotate(-25deg);
    opacity: 0.2;
  }
  45% {
    transform: scale(1.28) rotate(18deg);
    opacity: 1;
  }
}

@keyframes gentle-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: -7deg;
  }
  50% {
    translate: 8px -17px;
    rotate: 12deg;
  }
}

@keyframes letter-breathe {
  0%,
  100% {
    box-shadow: 0 24px 65px rgba(103, 67, 88, 0.14), 0 0 0 0 rgba(237, 164, 183, 0);
  }
  50% {
    box-shadow: 0 30px 75px rgba(103, 67, 88, 0.17), 0 0 0 8px rgba(237, 164, 183, 0.07);
  }
}

@keyframes heart-beat {
  0%,
  100% {
    transform: scale(0.92) rotate(8deg);
  }
  45% {
    transform: scale(1.12) rotate(3deg);
  }
}

@keyframes bubble-float {
  0%,
  100% {
    translate: 0 6px;
    scale: 0.94;
  }
  50% {
    translate: -6px -8px;
    scale: 1.05;
  }
}

@keyframes travel-line {
  0%,
  100% {
    translate: -6px 4px;
    opacity: 0.45;
  }
  50% {
    translate: 10px -3px;
    opacity: 1;
  }
}

@keyframes cloud-drift {
  0%,
  100% {
    translate: 7px 0;
  }
  50% {
    translate: -12px -4px;
  }
}

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

@keyframes icon-float {
  0%,
  100% {
    translate: 0 0;
    rotate: -2deg;
  }
  50% {
    translate: 0 -6px;
    rotate: 3deg;
  }
}

@keyframes finale-colors {
  from {
    background-position: 50% 0, 0 0;
  }
  to {
    background-position: 53% 9px, 100% 0;
  }
}

@keyframes starfield {
  to {
    background-position: 95px 95px, -91px 173px;
  }
}

@keyframes bouquet-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

@keyframes flower-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(0.9);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(12px, -22px, 0) rotate(14deg) scale(1.08);
    opacity: 0.8;
  }
}

@keyframes twinkle {
  from {
    transform: scale(0.75) rotate(0deg);
    opacity: 0.4;
  }
  to {
    transform: scale(1.15) rotate(20deg);
    opacity: 1;
  }
}

@keyframes sparkle-pop {
  from {
    transform: scale(0.55) rotate(-15deg);
    opacity: 0.45;
  }
  to {
    transform: scale(1.1) rotate(12deg);
    opacity: 1;
  }
}

@keyframes balloon-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes confetti-fall {
  0% {
    translate: 0 -40px;
    rotate: 0deg;
  }
  100% {
    translate: 35px 115vh;
    rotate: 640deg;
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 5px;
  }
}

@keyframes cake-wiggle {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes flame-dance {
  from {
    transform: translateX(-50%) rotate(-5deg) scale(0.95);
  }
  to {
    transform: translateX(-50%) rotate(6deg) scale(1.08);
  }
}

@media (max-width: 1100px) {
  .balloon--left {
    left: 1.5%;
    transform: scale(0.8) rotate(-7deg);
  }

  .balloon--right {
    right: 1.5%;
    transform: scale(0.8) rotate(8deg);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 62px 15px 45px;
  }

  .pretitle {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .happy {
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: 0.92;
  }

  .name {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .hero__subtitle {
    max-width: 290px;
  }

  .photo-stage {
    padding: 6px;
  }

  .photo-frame {
    padding: 6px;
    border-radius: 23px;
  }

  .photo-frame img {
    border-radius: 17px;
  }

  .photo-frame::after {
    inset: 6px;
    border-radius: 17px;
  }

  .photo-caption {
    right: 0;
    bottom: -17px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .balloon {
    opacity: 0.3;
  }

  .balloon--left {
    top: 4%;
    left: -25px;
    transform: scale(0.55) rotate(-7deg);
  }

  .balloon--right {
    top: 10%;
    right: -20px;
    transform: scale(0.55) rotate(8deg);
  }

  .letter-section,
  .memories {
    width: min(100% - 24px, 930px);
    padding-top: 78px;
  }

  .letter-card {
    padding: 40px 24px 36px;
    border-radius: 24px;
  }

  .letter-card__quote {
    top: 12px;
    left: 16px;
    font-size: 5rem;
  }

  .letter-card p {
    line-height: 1.72;
  }

  .memories {
    padding-top: 95px;
    padding-bottom: 80px;
  }

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

  .memory-card {
    min-height: auto;
    padding: 25px;
  }

  .memory-card__icon {
    margin-bottom: 20px;
  }

  .finale {
    padding: 85px 20px 78px;
  }

  .finale__balloon {
    transform: scale(0.55);
    opacity: 0.22;
  }

  .digital-bouquet {
    padding: 88px 14px 76px;
  }

  .digital-bouquet::before {
    inset: 10px;
    border-radius: 28px;
  }

  .digital-bouquet__kicker {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .digital-bouquet h2 {
    margin-bottom: 30px;
  }

  .bouquet-picture {
    padding: 7px;
    border-radius: 30px;
  }

  .bouquet-picture::after {
    inset: 7px;
    border-radius: 23px;
  }

  .bouquet-picture img {
    border-radius: 23px;
  }

  .bouquet-picture__sparkle--one {
    left: -3px;
    font-size: 1.7rem;
  }

  .bouquet-picture__sparkle--two {
    right: -1px;
    font-size: 1.35rem;
  }

  .bouquet-to-go {
    margin-top: 27px;
    padding: 11px 15px;
  }

  .flower-field {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
