:root {
  --paper: #fff8f5;
  --paper-deep: #f3e3e2;
  --ink: #3e3033;
  --muted: #78666b;
  --sage: #9b6976;
  --sage-deep: #6e3f4b;
  --gold: #bd9558;
  --white: #fffdfb;
  --line: rgba(110, 63, 75, 0.18);
  --shadow: 0 24px 70px rgba(78, 42, 52, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(189, 149, 88, 0.09), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(155, 105, 118, 0.1), transparent 28%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-locked {
  height: 100vh;
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

svg {
  display: block;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.075'/%3E%3C/svg%3E");
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(66, 32, 42, 0.66), rgba(66, 32, 42, 0.8)),
    radial-gradient(circle at 50% 20%, #bb8794, #714653 65%, #432833);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome::before,
.welcome::after {
  content: "";
  position: absolute;
  width: min(44vw, 480px);
  height: min(44vw, 480px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.welcome::before {
  top: -24vw;
  left: -15vw;
}

.welcome::after {
  right: -18vw;
  bottom: -26vw;
}

.welcome.is-open {
  opacity: 0;
  visibility: hidden;
}

.welcome__card {
  position: relative;
  width: min(100%, 550px);
  padding: clamp(44px, 8vw, 78px) clamp(26px, 7vw, 64px);
  text-align: center;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 240px 240px 26px 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  animation: cardIn 1s cubic-bezier(.22,.75,.27,1) both;
  overflow: hidden;
}

.welcome__card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(104, 117, 101, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(32px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.crest__line {
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.crest__monogram {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.welcome h1 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(48px, 12vw, 78px);
  font-weight: 500;
  line-height: 0.9;
}

.welcome h1 span {
  display: block;
}

.welcome h1 i {
  display: block;
  margin: 6px 0;
  color: var(--gold);
  font-size: 0.62em;
  font-weight: 500;
}

.welcome__copy {
  max-width: 380px;
  margin: 22px auto 28px;
  color: var(--muted);
  font-size: 14px;
}

.welcome__date {
  margin: 22px 0 0;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.welcome__petals span {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 24px;
  border-radius: 100% 0 100% 0;
  background: rgba(255, 255, 255, 0.38);
  animation: floatPetal 7s linear infinite;
}

.welcome__petals span:nth-child(1) { left: 8%; top: -10%; animation-delay: 0s; }
.welcome__petals span:nth-child(2) { left: 26%; top: -12%; animation-delay: 2s; animation-duration: 9s; }
.welcome__petals span:nth-child(3) { left: 52%; top: -8%; animation-delay: 1s; animation-duration: 8s; }
.welcome__petals span:nth-child(4) { left: 70%; top: -14%; animation-delay: 3s; }
.welcome__petals span:nth-child(5) { left: 88%; top: -11%; animation-delay: 5s; animation-duration: 10s; }
.welcome__petals span:nth-child(6) { left: 42%; top: -20%; animation-delay: 6s; animation-duration: 11s; }

@keyframes floatPetal {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translate3d(40px, 50vh, 0) rotate(190deg); }
  100% { transform: translate3d(-30px, 110vh, 0) rotate(380deg); opacity: 0; }
}

.sound-button {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 100;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: white;
  background: rgba(110, 63, 75, 0.9);
  box-shadow: 0 12px 34px rgba(78, 42, 52, 0.22);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.sound-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-button__off,
.sound-button.is-muted .sound-button__on {
  display: none;
}

.sound-button.is-muted .sound-button__off {
  display: block;
}

.section {
  position: relative;
  padding: clamp(78px, 11vw, 132px) 22px;
}

.section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section__inner--narrow {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
}

.section-title {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto;
  color: var(--gold);
}

.divider span {
  width: 72px;
  height: 1px;
  background: var(--line);
}

.divider i {
  font-style: normal;
  font-size: 8px;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.93), rgba(255,255,255,.48) 34%, transparent 62%),
    linear-gradient(155deg, var(--paper) 0%, #f8e9e6 52%, #eee1df 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: clamp(230px, 38vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(104, 117, 101, 0.12);
  border-radius: 50%;
}

.hero::before {
  left: -18%;
  top: 8%;
}

.hero::after {
  right: -20%;
  bottom: -12%;
}

.hero__ornament {
  width: min(280px, 70vw);
  margin-bottom: 24px;
  color: var(--sage);
}

.hero__ornament svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
}

.hero__names {
  position: relative;
  z-index: 1;
  margin: 4px 0 6px;
  font-family: var(--serif);
  font-size: clamp(70px, 18vw, 148px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.035em;
}

.hero__names span {
  display: block;
}

.hero__names i {
  display: block;
  margin: 14px 0 9px;
  color: var(--gold);
  font-size: 0.38em;
  line-height: 1;
}

.hero__subtitle {
  margin: 12px 0 30px;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: clamp(24px, 5vw, 34px);
  font-style: italic;
}

.date-medallion {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 18px 24px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.date-medallion__day {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: 58px;
  line-height: 0.85;
}

.date-medallion__month,
.date-medallion__year {
  display: block;
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: left;
}

.hero__location {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  display: grid;
  place-items: start center;
  width: 24px;
  height: 42px;
  border: 1px solid rgba(70, 82, 68, 0.35);
  border-radius: 20px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--sage);
  animation: scrollCue 1.7s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(15px); opacity: 1; }
}

.invitation {
  text-align: center;
  background: var(--white);
}

.invitation::before {
  content: "❦";
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  color: rgba(180, 147, 95, 0.18);
  font-family: var(--serif);
  font-size: 80px;
}

.invitation__text {
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.45;
}

.signature {
  margin: 34px 0 0;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.details {
  background: linear-gradient(180deg, var(--paper-deep), #fbf1ee);
}

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

.detail-card {
  min-height: 280px;
  padding: 40px 28px;
  text-align: center;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 160px 160px 18px 18px;
  box-shadow: 0 18px 50px rgba(110, 63, 75, 0.08);
}

.detail-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 1px solid rgba(180, 147, 95, 0.65);
  border-radius: 50%;
  color: var(--sage-deep);
}

.detail-card__icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-card__label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.detail-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
}

.detail-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 147, 95, 0.35);
  outline-offset: 3px;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  color: white;
  background: var(--sage-deep);
  box-shadow: 0 12px 28px rgba(110, 63, 75, 0.22);
}

.button--primary:hover {
  background: #59313d;
  box-shadow: 0 16px 34px rgba(110, 63, 75, 0.28);
}

.button--secondary {
  color: var(--sage-deep);
  background: transparent;
  border-color: rgba(70, 82, 68, 0.35);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.55);
}

.button--full {
  width: 100%;
}

.countdown-section {
  color: white;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(87, 47, 59, 0.95), rgba(87, 47, 59, 0.95)),
    radial-gradient(circle at top, #a57482, #4c2c36);
}

.countdown-section::before,
.countdown-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.countdown-section::before {
  left: -250px;
  top: -180px;
}

.countdown-section::after {
  right: -220px;
  bottom: -250px;
}

.countdown-section .section-title {
  color: white;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 24px);
  margin-top: 44px;
}

.countdown > div {
  width: clamp(58px, 16vw, 118px);
}

.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(43px, 10vw, 82px);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.countdown i {
  margin-top: -25px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  font-style: normal;
}

.countdown__message {
  margin: 28px 0 0;
  color: #ead9bd;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
}

.program {
  background: var(--white);
}

.timeline {
  position: relative;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 105px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 82px 46px 1fr;
  align-items: start;
  padding: 18px 0;
}

.timeline__item time {
  padding-top: 2px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  text-align: right;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin: 11px auto 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 1px var(--sage);
}

.timeline__item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.timeline__item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.rsvp {
  background:
    radial-gradient(circle at 80% 10%, rgba(189, 149, 88, 0.15), transparent 25%),
    linear-gradient(135deg, #f2dfdf, #fff8f5 70%);
}

.rsvp__card {
  padding: clamp(34px, 7vw, 68px);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.rsvp__intro {
  max-width: 560px;
  margin: 20px auto 30px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.rsvp form {
  display: grid;
  gap: 18px;
}

.rsvp label span {
  display: block;
  margin-bottom: 7px;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 700;
}

.rsvp input,
.rsvp select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbf8f3;
  border: 1px solid rgba(70, 82, 68, 0.18);
  border-radius: 12px;
}

.rsvp input::placeholder {
  color: #aaa69f;
}

.rsvp__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.rsvp__links a,
.rsvp__links button {
  padding: 0;
  color: var(--sage-deep);
  background: none;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.copy-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--gold);
  font-size: 12px;
  text-align: center;
}

.footer {
  padding: 70px 22px calc(70px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  background: #4b2d36;
}

.footer__monogram {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(234, 217, 189, 0.55);
  border-radius: 50%;
  color: #ead9bd;
  font-family: var(--serif);
  font-size: 24px;
}

.footer p {
  margin: 6px 0;
  font-family: var(--serif);
  font-size: 21px;
}

.footer__date {
  color: #ead9bd;
  font-size: 14px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.75,.27,1);
}

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

@media (max-width: 820px) {
  .details__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .detail-card {
    min-height: 0;
    border-radius: 120px 120px 18px 18px;
  }
}

@media (max-width: 560px) {
  .welcome {
    padding: 14px;
  }

  .welcome__card {
    padding-top: 52px;
    padding-bottom: 44px;
    border-radius: 170px 170px 22px 22px;
  }

  .welcome__copy {
    margin-top: 18px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-bottom: 90px;
  }

  .hero__ornament {
    margin-bottom: 8px;
  }

  .hero__names {
    font-size: clamp(64px, 22vw, 104px);
  }

  .countdown {
    gap: 3px;
  }

  .countdown i {
    margin-top: -22px;
    font-size: 20px;
  }

  .timeline::before {
    left: 78px;
  }

  .timeline__item {
    grid-template-columns: 58px 40px 1fr;
  }

  .timeline__item time {
    font-size: 22px;
  }

  .timeline__item h3 {
    font-size: 25px;
  }

  .rsvp__card {
    border-radius: 20px;
  }
}

@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;
  }

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



/* ----------------------------------------------------------
   Madinaxon uchun shaxsiy variant
   ---------------------------------------------------------- */
.welcome__dear {
  margin: 8px 0 -2px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
}

.welcome h1 {
  font-size: clamp(54px, 13vw, 84px);
}

.welcome__card {
  background:
    radial-gradient(circle at 50% 0%, rgba(189,149,88,.11), transparent 36%),
    rgba(255, 253, 251, 0.97);
}

.hero__names {
  font-size: clamp(58px, 14vw, 124px);
  line-height: .76;
}

.hero__names i {
  margin: 18px 0 12px;
  font-size: .34em;
}

.invitation__text span[data-field="groom"],
.invitation__text span[data-field="hostFamily"] {
  color: var(--sage-deep);
}

.invitation__note {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.details__notice {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.blessings {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 10%, rgba(189,149,88,.1), transparent 26%),
    var(--white);
}

.blessings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.blessing-card {
  position: relative;
  min-height: 270px;
  padding: 38px 30px;
  overflow: hidden;
  border: 1px solid rgba(110,63,75,.12);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(249,232,231,.72));
  box-shadow: 0 20px 52px rgba(110,63,75,.08);
}

.blessing-card::after {
  content: "❦";
  position: absolute;
  right: 18px;
  bottom: -15px;
  color: rgba(189,149,88,.13);
  font-family: var(--serif);
  font-size: 92px;
}

.blessing-card__number {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.blessing-card h3 {
  margin: 20px 0 10px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
}

.blessing-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.answer {
  background:
    radial-gradient(circle at 85% 8%, rgba(189,149,88,.14), transparent 25%),
    linear-gradient(135deg, #f2dfdf, #fff8f5 72%);
}

.answer__card {
  position: relative;
  padding: clamp(44px, 8vw, 76px) clamp(28px, 7vw, 70px);
  text-align: center;
  background: rgba(255,253,251,.96);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.answer__heart {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  color: var(--sage-deep);
  border: 1px solid rgba(189,149,88,.65);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 34px;
}

.answer__intro {
  max-width: 530px;
  margin: 22px auto 28px;
  color: var(--muted);
  font-size: 14px;
}

.answer__button {
  min-width: min(100%, 280px);
}

.answer__button.is-accepted {
  background: #865462;
}

.answer__button:disabled {
  cursor: default;
  transform: none;
  opacity: 1;
}

.answer__message {
  min-height: 34px;
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
}

.answer__copy {
  margin-top: 12px;
  padding: 5px;
  color: var(--sage-deep);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer__host {
  margin-top: 14px !important;
  color: rgba(255,255,255,.56);
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.petal-burst {
  --x: 0px;
  --y: -180px;
  --r: 180deg;
  --delay: 0ms;
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 19%;
  width: 11px;
  height: 19px;
  pointer-events: none;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, #f3cbd1, #b87787);
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
  animation: petalBurst 1.25s cubic-bezier(.18,.76,.3,1) var(--delay) both;
}

@keyframes petalBurst {
  0% { opacity: 0; transform: translate(-50%, 0) rotate(0deg) scale(.5); }
  14% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), var(--y)) rotate(var(--r)) scale(1); }
}

@media (max-width: 820px) {
  .blessings__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .blessing-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero__names {
    font-size: clamp(54px, 18vw, 82px);
    line-height: .82;
  }

  .hero__names i {
    margin: 12px 0 8px;
  }

  .invitation__text {
    font-size: clamp(22px, 7vw, 29px);
  }

  .details__grid {
    gap: 14px;
  }

  .detail-card {
    padding: 36px 22px;
  }

  .answer__card {
    border-radius: 22px;
  }
}

.crest__monogram {
  width: 72px;
  height: 72px;
  font-size: 19px;
  white-space: nowrap;
}
