:root{
  --bg: #fff8f8;
  --paper: rgba(255,255,255,.92);
  --paper-solid: #fffdfb;
  --ink: #35292b;
  --muted: rgba(53,41,43,.72);
  --line: rgba(171,121,132,.22);
  --line-strong: rgba(171,121,132,.38);
  --shadow: 0 24px 60px rgba(91,55,64,.14);

  --rose-50: #fff2f4;
  --rose-100: #f7dde3;
  --rose-200: #efc3cf;
  --rose-300: #df9cad;
  --rose-400: #c88092;
  --rose-500: #b66b7f;
  --gold: #b6904f;
  --gold-deep: #9a7437;
  --gold-soft: rgba(182,144,79,.18);

  --radius: 26px;
  --radius-sm: 16px;
  --container: 1120px;

  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-script: "Allura", "Great Vibes", "Brush Script MT", cursive;
  --font-display: "Cormorant Garamond", "Playfair Display", ui-serif, Georgia, serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.96), rgba(255,255,255,0) 36%),
    radial-gradient(circle at 85% 18%, rgba(247,221,227,.72), rgba(247,221,227,0) 24%),
    radial-gradient(circle at 10% 48%, rgba(239,195,207,.36), rgba(239,195,207,0) 22%),
    linear-gradient(180deg, #fffdfd 0%, #fff6f7 48%, #fffdfb 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after{
  content:"";
  position: fixed;
  inset: auto;
  width: 260px;
  height: 260px;
  pointer-events: none;
  z-index: -1;
  opacity: .35;
  filter: blur(2px);
  background:
    radial-gradient(circle at 50% 50%, rgba(182,144,79,.30) 0 4px, transparent 5px),
    conic-gradient(from 0deg, transparent 0 12%, rgba(223,156,173,.75) 12% 14%, transparent 14% 26%, rgba(223,156,173,.75) 26% 28%, transparent 28% 40%, rgba(223,156,173,.75) 40% 42%, transparent 42% 54%, rgba(223,156,173,.75) 54% 56%, transparent 56% 68%, rgba(223,156,173,.75) 68% 70%, transparent 70% 82%, rgba(223,156,173,.75) 82% 84%, transparent 84% 96%, rgba(223,156,173,.75) 96% 98%, transparent 98%);
}
body::before{
  top: 70px;
  right: -70px;
}
body::after{
  bottom: 120px;
  left: -80px;
}

a{ color: inherit; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: 10px;
  top: 10px;
  transform: translateY(-150%);
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

.hero{
  position: relative;
  overflow: clip;
  padding: 44px 0 30px;
}
.hero::after{
  content:"";
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 25%, rgba(255,255,255,.78), rgba(255,255,255,0) 58%);
  opacity: 0;
  animation: heroBloom 1.9s ease-out .2s both;
}
.hero__bg,
.hero__sparkles{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.92), rgba(255,255,255,0) 35%),
    linear-gradient(180deg, rgba(247,221,227,.65), rgba(255,248,248,.42) 38%, rgba(255,253,251,.24));
}
.hero__sparkles{
  background:
    radial-gradient(circle at 8% 18%, rgba(223,156,173,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 16% 74%, rgba(223,156,173,.55) 0 3px, transparent 4px),
    radial-gradient(circle at 85% 16%, rgba(182,144,79,.40) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 72%, rgba(223,156,173,.60) 0 3px, transparent 4px),
    radial-gradient(circle at 93% 36%, rgba(223,156,173,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 10%, rgba(182,144,79,.35) 0 2px, transparent 3px);
  animation: twinkleField 10s ease-in-out infinite alternate;
}

.hero__layout{
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero__stationery{
  position: relative;
  padding-top: 32px;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.hero__stationery::before,
.hero__stationery::after{
  content:"";
  position:absolute;
  width: 68px;
  height: 68px;
  background:
    radial-gradient(circle at 50% 50%, rgba(223,156,173,.55) 0 16%, transparent 18%),
    conic-gradient(from 0deg, rgba(223,156,173,.72) 0 8%, transparent 8% 16%, rgba(223,156,173,.72) 16% 24%, transparent 24% 32%, rgba(223,156,173,.72) 32% 40%, transparent 40% 48%, rgba(223,156,173,.72) 48% 56%, transparent 56% 64%, rgba(223,156,173,.72) 64% 72%, transparent 72% 80%, rgba(223,156,173,.72) 80% 88%, transparent 88% 96%, rgba(223,156,173,.72) 96% 100%);
  opacity: .7;
  pointer-events: none;
}
.hero__stationery::before{
  left: 2%;
  bottom: 10%;
  animation: sparkleDrift 7s ease-in-out infinite;
}
.hero__stationery::after{
  right: 4%;
  top: 5%;
  transform: scale(.78);
  animation: sparkleDrift 8s ease-in-out infinite reverse;
}

.envelope{
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1.15 / 0.8;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #f5c5d2, #ecb2c3);
  box-shadow: 0 26px 55px rgba(182,107,127,.18);
  animation: envelopeEnter 1.25s cubic-bezier(.18,.72,.2,1) both, envelopeFloat 7s ease-in-out 1.45s infinite;
  will-change: transform;
}
.envelope__body,
.envelope__flap{
  position: absolute;
  inset: 0;
  border-radius: 28px;
}
.envelope__body{
  background:
    linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, #f5c5d2, #ebb1c2);
}
.envelope__body::before,
.envelope__body::after,
.envelope__flap::before,
.envelope__flap::after{
  content:"";
  position:absolute;
  inset:auto;
  width:0;
  height:0;
}
.envelope__body::before{
  left:0;
  bottom:0;
  border-style: solid;
  border-width: 0 0 180px 310px;
  border-color: transparent transparent #e4a5b9 transparent;
}
.envelope__body::after{
  right:0;
  bottom:0;
  border-style: solid;
  border-width: 0 310px 180px 0;
  border-color: transparent #ecaebf transparent transparent;
}
.envelope__flap::before{
  left:0;
  right:0;
  top:0;
  margin:auto;
  border-style: solid;
  border-width: 185px 310px 0 310px;
  border-color: #f8d0db transparent transparent transparent;
  filter: drop-shadow(0 10px 12px rgba(120,74,88,.10));
  transform-origin: 50% 0;
  animation: flapOpen 1.45s cubic-bezier(.24,.74,.2,1) .2s both;
}
.envelope__flap::after{
  left: 50%;
  top: 58%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,235,186,.95), rgba(255,235,186,0) 28%),
    radial-gradient(circle at 50% 50%, #d7b06a 0 38%, #b68f4f 60%, #9d7535 100%);
  box-shadow: 0 10px 24px rgba(116,82,26,.28);
  z-index: 2;
}

.invite-card{
  position: relative;
  width: min(82%, 470px);
  margin: -180px auto 0;
  padding: 72px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,252,250,.96)),
    var(--paper-solid);
  border: 1px solid rgba(171,121,132,.22);
  box-shadow: 0 26px 60px rgba(71,45,50,.18);
  text-align: center;
  opacity: 0;
  transform: translateY(88px) scale(.93);
  animation: cardReveal 1.25s cubic-bezier(.16,.76,.18,1) .55s forwards, cardLift 7s ease-in-out 1.95s infinite;
  will-change: transform, opacity;
}
.invite-card::before{
  content:"";
  position:absolute;
  inset: 14px;
  border: 1px solid rgba(182,144,79,.25);
  pointer-events: none;
}
.invite-card__seal{
  position:absolute;
  top: -40px;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,235,186,.95), rgba(255,235,186,0) 28%),
    radial-gradient(circle at 50% 50%, #e2bd7b 0 34%, #c59a55 62%, #9d7535 100%);
  box-shadow: 0 12px 26px rgba(116,82,26,.30);
  animation: sealPop .85s cubic-bezier(.22,.86,.3,1.15) 1.15s both, sealGlow 4.5s ease-in-out 2.1s infinite;
}
.invite-card__seal::before{
  content:"V";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: rgba(255,248,229,.92);
}
.invite-card__intro,
.invite-card__blessing,
.invite-card__closing{
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.invite-card__date{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 24px 0 22px;
}
.invite-card__date-block{
  font-family: var(--font-serif);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.invite-card__date-number{
  position: relative;
  padding: 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 12vw, 78px);
  line-height: .9;
  color: var(--rose-400);
}
.invite-card__date-number::before,
.invite-card__date-number::after{
  content:"";
  position:absolute;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(53,41,43,.35);
}
.invite-card__date-number::before{ left: 0; }
.invite-card__date-number::after{ right: 0; }
.invite-card__blessing{
  margin-top: 4px;
}
.invite-card__name{
  margin: 12px 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(54px, 10vw, 86px);
  line-height: .82;
  letter-spacing: .01em;
  color: var(--rose-500);
}
.invite-card__closing{
  color: rgba(53,41,43,.82);
}

.hero__content{
  position: relative;
  text-align: center;
}
.eyebrow,
.section__eyebrow{
  margin: 0 0 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold-deep);
  font-weight: 600;
}
.title{
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 132px);
  line-height: .78;
  letter-spacing: .01em;
  color: rgba(182,107,127,.98);
}
.subtitle{
  margin: 14px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero__actions{
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__badge{
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(182,144,79,.22);
  box-shadow: 0 14px 30px rgba(91,55,64,.10);
  backdrop-filter: blur(12px);
  animation: badgeEnter .9s cubic-bezier(.22,.76,.28,1) 1s both, badgeFloat 5s ease-in-out 2s infinite;
}
.badge__line{ font-weight: 600; }
.badge__line--muted{ color: var(--muted); font-weight: 500; }

.section{
  position: relative;
  padding: 38px 0;
}
.section--alt{
  background:
    linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.22)),
    radial-gradient(circle at top center, rgba(247,221,227,.90), rgba(255,255,255,0) 52%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(182,144,79,.14);
}
.section--countdown{
  padding-top: 24px;
  padding-bottom: 16px;
}
.countdown{
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  border-radius: 34px;
  border: 1px solid rgba(182,144,79,.22);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.78), rgba(255,255,255,0) 48%),
    linear-gradient(180deg, rgba(251,228,236,.88), rgba(248,219,230,.68));
  padding: 24px 18px 42px;
  box-shadow: 0 20px 40px rgba(179,117,136,.12);
  overflow: hidden;
}
.countdown::before{
  content:"";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: min(340px, 85%);
  height: 98px;
  background:
    radial-gradient(circle at 14% 64%, rgba(224,171,188,.58) 0 14px, transparent 16px),
    radial-gradient(circle at 31% 44%, rgba(246,192,208,.82) 0 16px, transparent 18px),
    radial-gradient(circle at 47% 60%, rgba(232,151,176,.64) 0 18px, transparent 20px),
    radial-gradient(circle at 60% 42%, rgba(248,210,223,.88) 0 15px, transparent 17px),
    radial-gradient(circle at 74% 62%, rgba(230,162,182,.66) 0 14px, transparent 16px),
    radial-gradient(circle at 87% 48%, rgba(241,193,209,.82) 0 13px, transparent 15px);
  opacity: .64;
  pointer-events: none;
}
.countdown__eyebrow{
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(54px, 10vw, 94px);
  line-height: .88;
  color: rgba(216,133,162,.98);
}
.countdown__grid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.countdown__item{
  position: relative;
  border: 1px solid rgba(182,144,79,.20);
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  padding: 14px 8px 10px;
}
.countdown__num{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 76px);
  line-height: .9;
  color: rgba(216,133,162,.96);
  font-weight: 600;
}
.countdown__label{
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: rgba(182,107,127,.78);
  font-weight: 600;
}
.countdown__done{
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  color: rgba(182,107,127,.92);
}
.countdown.is-finished .countdown__num{
  color: rgba(182,107,127,.92);
}
.section__header{
  text-align: center;
}
.section__title{
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .01em;
}
.section__lead{
  margin: 12px auto 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
}

.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.spotlight-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
.spotlight{
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 30px;
  border: 1px solid rgba(182,144,79,.24);
  background:
    radial-gradient(circle at top center, rgba(255,255,255,.74), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, rgba(250,223,232,.90), rgba(246,212,224,.74));
  box-shadow: 0 18px 36px rgba(179,117,136,.12);
  padding: 22px 16px 92px;
}
.spotlight::before{
  content:"";
  position:absolute;
  inset: 12px;
  border: 1px solid rgba(182,144,79,.20);
  border-radius: 22px;
  pointer-events: none;
}
.spotlight::after{
  content:"";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: min(260px, 82%);
  height: 80px;
  background:
    radial-gradient(circle at 16% 64%, rgba(223,165,184,.58) 0 13px, transparent 15px),
    radial-gradient(circle at 33% 44%, rgba(247,204,219,.84) 0 15px, transparent 17px),
    radial-gradient(circle at 50% 60%, rgba(229,148,173,.66) 0 16px, transparent 18px),
    radial-gradient(circle at 66% 42%, rgba(250,216,228,.88) 0 14px, transparent 16px),
    radial-gradient(circle at 82% 62%, rgba(232,164,184,.64) 0 13px, transparent 15px);
  opacity: .72;
  pointer-events: none;
}
.spotlight__icon{
  width: 52px;
  height: 52px;
  margin: 4px auto 10px;
  color: rgba(220,137,167,.94);
}
.spotlight__icon svg{
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.spotlight__title{
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(50px, 9vw, 84px);
  font-weight: 400;
  line-height: .86;
  color: rgba(210,124,154,.98);
}
.spotlight__subtitle{
  margin: 12px 0 0;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: .02em;
  font-size: 26px;
  color: rgba(40,35,37,.92);
}
.spotlight__text{
  margin: 14px auto 0;
  max-width: 26ch;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: .01em;
  line-height: 1.32;
  font-size: clamp(24px, 4.5vw, 38px);
  color: rgba(40,35,37,.92);
}

.card{
  position: relative;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(171,121,132,.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(91,55,64,.08);
  padding: 22px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(91,55,64,.12);
  border-color: rgba(182,144,79,.26);
}
.card--paper{
  overflow: hidden;
}
.card--paper::before{
  content:"";
  position:absolute;
  inset: 14px;
  border: 1px solid rgba(182,144,79,.18);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.card__eyebrow{
  margin: 0 0 10px;
  color: var(--rose-500);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
}
.card__title{
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
}
.card__content{
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.label{ color: rgba(53,41,43,.88); font-weight: 600; }
.place{
  margin: 0;
  color: rgba(53,41,43,.95);
  font-weight: 600;
  font-size: 18px;
}
.muted{ margin: 8px 0 12px; color: var(--muted); }

.btn{
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, border-color .14s ease, color .14s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(135deg, #c38a9c, #b37588 58%, #a76a7d);
  color: #fffaf8;
  box-shadow: 0 16px 28px rgba(179,117,136,.28);
}
.btn--primary:hover{
  box-shadow: 0 20px 36px rgba(179,117,136,.34);
}
.btn--secondary{
  background: rgba(182,144,79,.12);
  color: rgba(53,41,43,.94);
  border: 1px solid rgba(182,144,79,.28);
}
.btn--secondary:hover{
  background: rgba(182,144,79,.18);
}
.btn--ghost{
  background: rgba(255,255,255,.76);
  color: rgba(53,41,43,.92);
  border: 1px solid rgba(171,121,132,.18);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover{
  border-color: rgba(182,144,79,.28);
}
.btn--block{ width: 100%; }

.rsvp__header{
  text-align: center;
}
.form{
  margin-top: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,252,250,.96)),
    var(--paper-solid);
  border: 1px solid rgba(171,121,132,.20);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  animation: formArrival 1.2s ease both;
}
.form::before{
  content:"";
  position:absolute;
  inset: 12px;
  border: 1px solid rgba(182,144,79,.18);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}
.form__row{ margin-bottom: 14px; position: relative; }
.form__row--two{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.field{
  display: grid;
  gap: 7px;
  position: relative;
}
.field__label{
  font-weight: 600;
  font-size: 13px;
  color: rgba(53,41,43,.88);
}
.req{ color: var(--gold-deep); }
.field__input{
  appearance: none;
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(171,121,132,.22);
  background: rgba(255,255,255,.92);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.field__input:focus{
  border-color: rgba(182,144,79,.44);
  box-shadow: 0 0 0 4px var(--gold-soft);
  background: #fff;
}
.field__input--textarea{
  resize: vertical;
  min-height: 120px;
}
.field__hint{
  font-size: 12px;
  color: rgba(53,41,43,.58);
}

.companions{
  display: grid;
  gap: 10px;
  margin: 8px 0 14px;
}

.form__actions{
  display: grid;
  gap: 10px;
  margin-top: 10px;
  position: relative;
}
.form__note{
  margin: 0;
  text-align: center;
  color: rgba(53,41,43,.62);
  font-size: 12px;
  line-height: 1.6;
}

.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

.footer{
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255,253,251,.72);
  text-align: center;
}
.footer__text{
  margin: 0;
  color: var(--muted);
}
.footer__link{
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}
.footer__link:hover{ text-decoration: underline; }

.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@keyframes twinkleField{
  0%{ opacity: .45; transform: translateY(0) scale(1); }
  50%{ opacity: .85; transform: translateY(-6px) scale(1.02); }
  100%{ opacity: .55; transform: translateY(4px) scale(.99); }
}

@keyframes heroBloom{
  0%{ opacity: 0; transform: scale(.94); }
  40%{ opacity: .6; }
  100%{ opacity: 0; transform: scale(1.08); }
}

@keyframes sparkleDrift{
  0%{ transform: translate3d(0, 0, 0) rotate(0deg); opacity: .45; }
  50%{ transform: translate3d(6px, -10px, 0) rotate(12deg); opacity: .82; }
  100%{ transform: translate3d(-4px, 8px, 0) rotate(-8deg); opacity: .55; }
}

@keyframes envelopeEnter{
  0%{ opacity: 0; transform: translateY(30px) scale(.95); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flapOpen{
  0%{ transform: perspective(960px) rotateX(0deg); }
  55%{ transform: perspective(960px) rotateX(135deg); }
  100%{ transform: perspective(960px) rotateX(160deg) translateY(-6px); }
}

@keyframes envelopeFloat{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
  100%{ transform: translateY(0); }
}

@keyframes cardReveal{
  0%{ opacity: 0; transform: translateY(88px) scale(.93); }
  65%{ opacity: 1; transform: translateY(-10px) scale(1.01); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardLift{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
  100%{ transform: translateY(0); }
}

@keyframes sealPop{
  0%{ opacity: 0; transform: translateX(-50%) scale(.62) rotate(-10deg); }
  100%{ opacity: 1; transform: translateX(-50%) scale(1) rotate(0); }
}

@keyframes sealGlow{
  0%{ box-shadow: 0 12px 26px rgba(116,82,26,.22); transform: translateX(-50%) scale(1); }
  50%{ box-shadow: 0 16px 32px rgba(182,144,79,.34); transform: translateX(-50%) scale(1.04); }
  100%{ box-shadow: 0 12px 26px rgba(116,82,26,.22); transform: translateX(-50%) scale(1); }
}

@keyframes badgeEnter{
  0%{ opacity: 0; transform: translateY(10px) scale(.97); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes badgeFloat{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
  100%{ transform: translateY(0); }
}

@keyframes formArrival{
  0%{ opacity: 0; transform: translateY(18px); }
  100%{ opacity: 1; transform: translateY(0); }
}

@media (min-width: 720px){
  .hero{
    padding: 72px 0 56px;
    min-height: 100vh;
    display: grid;
    align-items: center;
  }
  .hero__layout{
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 34px;
  }
  .hero__content{
    text-align: left;
  }
  .subtitle,
  .section__lead{
    margin-left: 0;
    margin-right: 0;
  }
  .hero__actions{
    justify-content: flex-start;
  }
  .invite-card{
    margin-top: -210px;
  }
  .grid--event{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .spotlight-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
  }
  .spotlight{
    min-height: 380px;
    padding-top: 26px;
  }
  .spotlight__title{
    font-size: clamp(64px, 5vw, 86px);
  }
  .spotlight__text{
    font-size: clamp(28px, 2.3vw, 40px);
  }
  .form{
    padding: 22px;
  }
  .form__row--two{
    grid-template-columns: 1fr 1fr;
  }
  .section{
    padding: 64px 0;
  }
  .section--countdown{
    padding-top: 32px;
    padding-bottom: 14px;
  }
  .countdown{
    padding: 28px 24px 48px;
  }
  .countdown__grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 14px;
  }
  .countdown__item{
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 10px 16px;
  }
  .countdown__item::after{
    content: ":";
    position: absolute;
    right: -8px;
    top: 30%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1;
    color: rgba(216,133,162,.86);
  }
  .countdown__item:last-child::after{
    content: "";
  }
}

@media (max-width: 719px){
  .invite-card{
    width: min(92%, 470px);
    padding-inline: 18px;
  }
  .invite-card__date{
    gap: 10px;
  }
  .invite-card__date-block{
    font-size: 18px;
  }
  .invite-card__date-number{
    padding-inline: 12px;
  }
  .title{
    font-size: clamp(64px, 18vw, 98px);
  }
  .countdown::before{
    opacity: .54;
  }
  .spotlight{
    padding-bottom: 82px;
  }
  .spotlight__icon{
    width: 46px;
    height: 46px;
  }
  .spotlight__text{
    max-width: 24ch;
    line-height: 1.26;
  }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; transform: none; }
  .btn{ transition: none; }
  .hero::after,
  .hero__sparkles,
  .hero__stationery::before,
  .hero__stationery::after,
  .envelope__flap::before,
  .envelope,
  .invite-card,
  .invite-card__seal,
  .hero__badge,
  .form{
    animation: none;
  }
}
