/* ═══════════════════════════════════════════════════════
   PRECIOUS TURNS 18 — style.css
   Palette: ivory · blush · rose gold · gold · deep plum
   ═══════════════════════════════════════════════════════ */

:root {
  --ivory: #fdf9f4;
  --cream: #f7efe6;
  --blush: #f6dfe2;
  --rose: #d98a96;
  --rose-gold: #b76e79;
  --rose-deep: #96525e;
  --gold: #c9a24b;
  --gold-light: #e9cf96;
  --plum: #3a2530;
  --plum-soft: #6f5560;
  --white: #ffffff;

  --font-display: "Playfair Display", serif;
  --font-body: "Outfit", sans-serif;
  --font-script: "Pinyon Script", cursive;

  --shadow-soft: 0 20px 60px -20px rgba(150, 82, 94, 0.25);
  --shadow-card: 0 10px 40px -12px rgba(58, 37, 48, 0.12);
  --radius: 26px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--plum);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rose-gold);
  color: var(--white);
}

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

/* ── Confetti canvas ─────────────────────────────── */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* ── Navigation ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 5vw, 4rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav--scrolled {
  background: rgba(253, 249, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(58, 37, 48, 0.07);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
}

.nav__brand-script {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--rose-deep);
  line-height: 1;
}

.nav__brand-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  transform: translateY(-6px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.nav__links a {
  text-decoration: none;
  color: var(--plum-soft);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav__links a:hover {
  color: var(--rose-deep);
}

.nav__cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-deep));
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(150, 82, 94, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(150, 82, 94, 0.7);
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 2.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-deep));
  box-shadow: 0 14px 30px -10px rgba(150, 82, 94, 0.55);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -10px rgba(150, 82, 94, 0.65);
}

.btn--ghost {
  color: var(--rose-deep);
  background: transparent;
  border: 1.5px solid rgba(183, 110, 121, 0.45);
}

.btn--ghost:hover {
  background: rgba(183, 110, 121, 0.08);
  transform: translateY(-3px);
}

.btn--big {
  font-size: 1rem;
  padding: 1.1rem 2.8rem;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem clamp(1.2rem, 5vw, 4rem) 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(246, 223, 226, 0.9), transparent 65%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(233, 207, 150, 0.35), transparent 60%),
    var(--ivory);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 480px;
  height: 480px;
  background: rgba(217, 138, 150, 0.22);
  top: -120px;
  right: -100px;
}

.hero__glow--2 {
  width: 380px;
  height: 380px;
  background: rgba(201, 162, 75, 0.16);
  bottom: -120px;
  left: -80px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--rose-gold);
  line-height: 1.1;
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--plum) 20%, var(--rose-deep) 55%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.2rem 0 1.4rem;
}

.hero__tagline {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  color: var(--plum-soft);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(183, 110, 121, 0.22);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.badge svg {
  width: 15px;
  height: 15px;
}

/* Hero photo */
.hero__photo {
  position: relative;
  justify-self: center;
}

.arch-frame {
  position: relative;
  width: clamp(260px, 30vw, 380px);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.arch-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.hero__photo:hover .arch-frame img {
  transform: scale(1.08);
}

.hero__photo::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1.5px solid rgba(201, 162, 75, 0.5);
  border-radius: 999px 999px calc(var(--radius) + 16px) calc(var(--radius) + 16px);
  z-index: -1;
}

.hero__photo-card {
  position: absolute;
  right: -28px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
}

.hero__photo-card-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__photo-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  line-height: 1.35;
}

.hero__sparkle {
  position: absolute;
  color: var(--gold);
  animation: twinkle 2.6s ease-in-out infinite;
}

.hero__sparkle--1 {
  width: 26px;
  top: 6%;
  left: -34px;
}

.hero__sparkle--2 {
  width: 16px;
  top: 38%;
  right: -44px;
  animation-delay: 1.3s;
  color: var(--rose);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(25deg); }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(150, 82, 94, 0.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-hint span {
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--rose-gold);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Petals */
.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -40px;
  border-radius: 60% 40% 60% 40%;
  background: linear-gradient(135deg, rgba(217, 138, 150, 0.55), rgba(246, 223, 226, 0.9));
  animation: fall linear infinite;
  opacity: 0;
}

.petal:nth-child(3n) {
  background: linear-gradient(135deg, rgba(233, 207, 150, 0.7), rgba(201, 162, 75, 0.35));
}

@keyframes fall {
  0% {
    transform: translateY(-5vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  8% { opacity: 0.9; }
  100% {
    transform: translateY(108vh) translateX(6vw) rotate(340deg);
    opacity: 0.4;
  }
}

/* ── Marquee ─────────────────────────────────────── */
.marquee {
  background: linear-gradient(90deg, var(--rose-deep), var(--rose-gold), var(--rose-deep));
  color: var(--white);
  overflow: hidden;
  padding: 0.9rem 0;
  transform: rotate(-1deg) scale(1.02);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1rem;
}

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

/* ── Sections (shared) ───────────────────────────── */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose-gold);
}

/* ── About ───────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}

.about__photo:hover {
  transform: rotate(0deg) scale(1.01);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.4rem 1.1rem;
  background: linear-gradient(transparent, rgba(58, 37, 48, 0.65));
  color: var(--white);
  font-family: var(--font-script);
  font-size: 1.7rem;
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--plum);
  margin-bottom: 1.1rem;
}

.about__lead strong {
  color: var(--rose-deep);
}

.about__text {
  font-weight: 300;
  color: var(--plum-soft);
  margin-bottom: 2.2rem;
  max-width: 56ch;
}

.traits {
  display: grid;
  gap: 1rem;
}

.trait {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trait:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 44px -14px rgba(150, 82, 94, 0.28);
}

.trait__icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--rose-deep);
  background: linear-gradient(135deg, var(--blush), var(--cream));
}

.trait__icon svg {
  width: 26px;
  height: 26px;
}

.trait h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.trait p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--plum-soft);
}

/* ── Stats ───────────────────────────────────────── */
.stats {
  max-width: none;
  background:
    radial-gradient(ellipse 55% 80% at 50% 120%, rgba(217, 138, 150, 0.25), transparent 70%),
    linear-gradient(180deg, var(--cream), var(--ivory));
}

.stats__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(183, 110, 121, 0.15);
  border-radius: var(--radius);
  padding: 2.2rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

/* ── Journey / Timeline ──────────────────────────── */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blush), var(--rose-gold), var(--gold));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -2.2rem;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--rose-gold);
  box-shadow: 0 0 0 5px rgba(183, 110, 121, 0.12);
}

.timeline__dot--today {
  border-color: var(--gold);
  background: var(--gold-light);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.18); }
  50% { box-shadow: 0 0 0 12px rgba(201, 162, 75, 0.06); }
}

.timeline__card {
  background: var(--white);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: 20px;
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.timeline__card:hover {
  transform: translateX(6px);
}

.timeline__card--today {
  background: linear-gradient(135deg, #fff, var(--cream));
  border-color: rgba(201, 162, 75, 0.4);
}

.timeline__year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--blush);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.timeline__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.timeline__card p {
  font-weight: 300;
  color: var(--plum-soft);
  font-size: 0.96rem;
}

/* ── Wishes ──────────────────────────────────────── */
.wishes__grid {
  columns: 3;
  column-gap: 1.2rem;
}

.wish {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.2rem;
  background: var(--white);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: 22px;
  padding: 2.2rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wish:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -16px rgba(150, 82, 94, 0.3);
}

.wish__mark {
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--blush);
  pointer-events: none;
}

.wish p {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--plum);
}

.wish:nth-child(3n + 1) { background: linear-gradient(150deg, #fff, var(--blush)); }
.wish:nth-child(3n + 2) { background: linear-gradient(150deg, #fff, var(--cream)); }

/* ── Celebrate / Cake ────────────────────────────── */
.celebrate {
  max-width: none;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(246, 223, 226, 0.8), transparent 65%),
    linear-gradient(180deg, var(--ivory), var(--cream));
}

.celebrate__inner {
  max-width: 640px;
  margin: 0 auto;
}

.celebrate__hint {
  font-weight: 300;
  color: var(--plum-soft);
  margin: -1rem 0 3rem;
}

/* CSS Cake */
.cake {
  position: relative;
  width: 280px;
  margin: 0 auto 2.5rem;
}

.cake__candles {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 26px;
  height: 84px;
  align-items: flex-end;
  margin-bottom: -2px;
}

.candle {
  position: relative;
  width: 10px;
  height: 52px;
  border-radius: 5px;
  background: repeating-linear-gradient(
    45deg,
    var(--rose-gold),
    var(--rose-gold) 5px,
    var(--white) 5px,
    var(--white) 10px
  );
}

.candle::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--plum);
}

.flame {
  position: absolute;
  top: -24px;
  left: 50%;
  width: 16px;
  height: 22px;
  transform: translateX(-50%);
  transform-origin: bottom center;
  background: radial-gradient(circle at 50% 70%, #fff7d6 0%, #ffd873 35%, #ff9d45 70%, rgba(255, 122, 61, 0) 100%);
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  filter: drop-shadow(0 0 8px rgba(255, 170, 60, 0.8));
  animation: flicker 0.28s ease-in-out infinite alternate;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

@keyframes flicker {
  from { transform: translateX(-50%) scale(1) rotate(-2deg); }
  to { transform: translateX(-50%) scale(1.12, 0.92) rotate(3deg); }
}

.cake.wish-made .flame {
  transform: translateX(-50%) translateY(-14px) scale(0.1);
  opacity: 0;
  animation: none;
}

.cake__tier {
  position: relative;
  margin: 0 auto;
  border-radius: 14px;
}

.cake__tier--top {
  width: 150px;
  height: 62px;
  background: linear-gradient(180deg, #f9e3e6 0 34%, var(--rose) 34% 100%);
  box-shadow: inset 0 -10px 0 rgba(150, 82, 94, 0.18);
  z-index: 2;
}

.cake__tier--middle {
  width: 210px;
  height: 70px;
  background: linear-gradient(180deg, #fff 0 34%, var(--gold-light) 34% 100%);
  box-shadow: inset 0 -10px 0 rgba(201, 162, 75, 0.25);
  margin-top: -4px;
  z-index: 1;
}

.cake__tier--bottom {
  width: 268px;
  height: 80px;
  background: linear-gradient(180deg, #f9e3e6 0 34%, var(--rose-deep) 34% 100%);
  box-shadow: inset 0 -12px 0 rgba(58, 37, 48, 0.16);
  margin-top: -4px;
}

.cake__tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(circle at 12px -4px, transparent 12px, inherit 13px);
}

.cake__plate {
  width: 320px;
  height: 16px;
  margin: -6px auto 0;
  margin-left: -20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #e8dcd2);
  box-shadow: 0 14px 30px -10px rgba(58, 37, 48, 0.25);
}

.celebrate__message {
  margin-top: 1.6rem;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--rose-deep);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.celebrate__message.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--cream), var(--blush));
}

.footer__script {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--rose-deep);
  line-height: 1.1;
}

.footer__line {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--plum);
  margin: 0.4rem 0 1rem;
}

.footer__love {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

/* ── Scroll reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero__photo {
    order: -1;
  }

  .arch-frame {
    width: clamp(230px, 62vw, 320px);
  }

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

  .about__photo {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .wishes__grid {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero__photo-card {
    right: -10px;
    bottom: 24px;
    padding: 0.6rem 0.9rem;
  }

  .hero__photo-card-number {
    font-size: 1.9rem;
  }

  .wishes__grid {
    columns: 1;
  }

  .cake {
    transform: scale(0.85);
    margin-bottom: 1.4rem;
  }
}

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

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