:root{
  --bg:#05070c;
  --maxW:520px;

  /* seal hotspot */
  --seal-size:200px;
  --seal-left:38%;
  --seal-top:68%;
  --title-font: "Great Vibes", cursive;

  /* Heart */
  --heart-x:50%;
  --heart-y:50%;
  --heart-size:160px;
  --gold: rgba(250,204,21,0.95);
  --gold-soft: rgba(250,204,21,0.22);
  --glow: rgba(250,204,21,0.25);

  /* Countdown / odometer */
  --odo-digit-h: 40px;
  --odo-gap: 10px;
  --card-pad: 18px;
}

/* ===============================
   Scroll lock system
=============================== */

html.scroll-locked,
body.scroll-locked{
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

html.scroll-unlocked,
body.scroll-unlocked{
  height: auto;
  overflow-y: auto;
  touch-action: auto;
}

*{
  box-sizing:border-box;
}

html,
body{
  height:100%;
  margin:0;
}

body{
  background: radial-gradient(circle at 50% 20%, #111b2b, var(--bg));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#fff;
}

.page{
  min-height:100vh;
}

.section{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding: 18px 0;
}

.stage{
  width:min(var(--maxW), 92vw);
}

/* =========================
   ENVELOPE CARD
========================= */

.envelope-wrap{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  user-select:none;
  background: rgba(0,0,0,.10);
}

.envelope-img{
  width:100%;
  height:auto;
  display:block;
  transition: opacity .35s ease;
}

.envelope-wrap.is-playing .envelope-img,
.envelope-wrap.show-promise .envelope-img{
  opacity:0;
}

/* Envelope opening video overlay */
.envelope-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index:2;
}

.envelope-wrap.is-playing .envelope-video{
  opacity:1;
  visibility:visible;
}

/* =========================
   AFTER OPEN CONTENT
   Sentence + promise video
========================= */

.after-open-content{
  position:absolute;
  inset:0;
  z-index:4;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  padding: 28px;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), rgba(0,0,0,.22) 55%, rgba(0,0,0,.42)),
    rgba(5,7,12,.18);

  transition: opacity .9s ease, visibility .9s ease;
}

.after-open-content.show,
.envelope-wrap.show-promise .after-open-content{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.promise-caption{
  font-family: 'Great Vibes', cursive;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  color: #d8c7a3;
  text-align: center;
  margin: 0 0 26px;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.promise-video{
  width:min(88%, 430px);
  max-height:58%;
  object-fit:cover;

  border-radius:22px;
  box-shadow:
    0 22px 48px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.10);

  background:#000;
}

/* Seal hotspot */
.seal-hit{
  position:absolute;
  width:var(--seal-size);
  height:var(--seal-size);
  left:var(--seal-left);
  top:var(--seal-top);
  transform:translate(-50%,-50%);
  border:0;
  border-radius:999px;
  background:transparent;
  cursor:pointer;
  outline:none;
  z-index:6;
}

.envelope-wrap.is-playing .seal-hit,
.envelope-wrap.show-promise .seal-hit{
  pointer-events:none;
}

.seal-hit:focus-visible{
  box-shadow:0 0 0 3px rgba(250,204,21,.9), 0 0 0 6px rgba(0,0,0,.4);
}

.music-toggle{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.42);
  color:#fff;
  font-size:18px;
  cursor:pointer;
  z-index:8;
  backdrop-filter:blur(8px);
}

.hint{
  position:absolute;
  left: calc(var(--seal-left) + 55px);
  top: calc(var(--seal-top) - 56px);
  transform: translate(-50%, -50%);

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: rgba(70, 52, 18, .95);
  background: radial-gradient(
    circle at 30% 25%,
    #fff8e6 0%,
    #f3e4bf 48%,
    #e3c77f 100%
  );

  box-shadow:
    0 10px 22px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.70);

  z-index:7;
  pointer-events:none;

  animation: blinkSealHint 1.25s ease-in-out infinite;
}

.hint::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;
  transform:translateX(-50%) rotate(45deg);

  width:14px;
  height:14px;

  background:#f3e4bf;
  border-radius:3px;
}

@keyframes blinkSealHint{
  0%, 100%{
    opacity:1;
    transform: translate(-50%, -50%) scale(1);
  }

  50%{
    opacity:.35;
    transform: translate(-50%, -50%) scale(.96);
  }
}

.envelope-wrap.show-promise .hint,
.envelope-wrap.is-playing .hint{
  opacity:0 !important;
  animation:none;
}

@media (max-width:480px){
  .hint{
    left: calc(var(--seal-left) + 50px);
    top: calc(var(--seal-top) - 64px);

    padding: 7px 11px;
    font-size: 10.5px;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .hint::after{
    width: 11px;
    height: 11px;
    bottom: -5px;
  }
}

@media (max-width:360px){
  .hint{
    left: calc(var(--seal-left) + 42px);
    top: calc(var(--seal-top) - 56px);

    font-size: 9.5px;
    padding: 6px 10px;
  }
}

/* =========================
   Scroll indicator
========================= */

.scroll-indicator{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  opacity:0;
  pointer-events:none;
  transition: opacity .4s ease;
}

.envelope-wrap.show-promise .scroll-indicator{
  opacity:1;
  pointer-events:auto;
}

.page-scroll{
  opacity:1;
  pointer-events:auto;
  margin-top: 34px;
}

.mouse{
  width:24px;
  height:38px;
  border-radius:999px;
  box-shadow: inset 0 0 0 2px rgba(168,132,58,.45);
  position:relative;
}

.mouse::after{
  content:"";
  position:absolute;
  left:50%;
  top:10px;
  width:4px;
  height:4px;
  border-radius:50%;
  background: rgba(168,132,58,.95);
  transform: translateX(-50%);
  animation: wheel 1.2s ease-in-out infinite;
}

@keyframes wheel{
  0%{
    opacity:0;
    transform:translate(-50%, -2px);
  }

  30%{
    opacity:1;
  }

  100%{
    opacity:0;
    transform:translate(-50%, 10px);
  }
}

.scroll-text{
  font-size:12px;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: rgba(168,132,58,.85);
  font-weight: 700;
}

.section-hero .scroll-text,
.section-countdown .scroll-text{
  color: rgba(255,255,255,.78);
}

.section-hero .mouse,
.section-countdown .mouse{
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
}

.section-hero .mouse::after,
.section-countdown .mouse::after{
  background: rgba(250,204,21,.95);
}

/* =========================
   COUNTDOWN SECTION
========================= */

.section-countdown{
  background: radial-gradient(circle at top, #1a2438, #05070c);
}

.countdown-wrap{
  width:100%;
  text-align:center;
  padding: 8px 0 6px;
}

.countdown-title{
  margin:0;
  font-size: clamp(40px, 7vw, 60px);
  font-family: var(--title-font);
  font-weight: 400;
  letter-spacing: .3px;
}

.countdown-date{
  margin:8px 0 0;
  font-size: clamp(22px, 5vw, 42px);
  opacity:.95;
  letter-spacing:.18em;
  color:#f3e4bf;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.countdown-grid{
  margin-top:34px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:var(--odo-gap);
}

.cd-card{
  background: rgba(255,255,255,.08);
  border-radius:16px;
  padding: var(--card-pad) 12px 14px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.cd-card label{
  display:block;
  margin-top:10px;
  font-size:12px;
  opacity:.75;
  letter-spacing:.08em;
}

/* =========================
   ODOMETER
========================= */

.odo{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:4px;
  font-variant-numeric: tabular-nums;
}

.odo-col{
  position:relative;
  width: 22px;
  height: var(--odo-digit-h);
  overflow:hidden;
  border-radius:10px;
}

.odo-col::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  border-radius:10px;
  pointer-events:none;
}

.odo-stack{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  will-change: transform;
  transition: transform 650ms cubic-bezier(.2,.9,.2,1);
}

.odo-digit{
  height: var(--odo-digit-h);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:700;
  color:#facc15;
  text-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.odo-col::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,12,.55), rgba(5,7,12,0) 22%, rgba(5,7,12,0) 78%, rgba(5,7,12,.55));
  pointer-events:none;
  border-radius:10px;
}

.back-top{
  margin-top: 18px;
}

.back-link{
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .10em;
}

.back-link:hover{
  color: rgba(255,255,255,.95);
}

/* ===============================
   MARRIED IMAGE AFTER COUNTDOWN
=============================== */

.section-married{
  background: linear-gradient(#f6f4ef, #f2efe9);
  padding: 70px 0 90px;
}

.married-img-after-countdown{
  display:block;
  position:static;
  width:100%;
  max-width:520px;
  height:auto;
  object-fit:contain;
  opacity:1;
  pointer-events:auto;
  border-radius:24px;
  box-shadow:0 22px 48px rgba(0,0,0,.12);
  margin:0 auto;
}

/* Keep any old married image from acting like an overlay */
.envelope-wrap .married-img{
  display:none;
}

/* ===============================
   DETAILS
=============================== */

.section-details{
  background: linear-gradient(#f6f4ef, #f2efe9);
  padding: 90px 0 110px;
}

.details-title{
  text-align:center;
  font-family: "Great Vibes", cursive;
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 400;
  margin-bottom: 6px;
  color: #2e2a26;
}

.details-subtitle{
  text-align:center;
  font-size: 15px;
  color: #7a736c;
  margin-bottom: 40px;
}

.details-card{
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  text-align:center;
}

.details-icon{
  font-size: 28px;
  margin-bottom: 6px;
}

.details-badge{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  margin: 0 auto 10px;

  display: grid;
  place-items: center;

  background: radial-gradient(
    circle at 30% 25%,
    #f6e7b2 0%,
    #e6c87a 45%,
    #c9a24d 100%
  );

  box-shadow:
    0 10px 22px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.badge-pin{
  width: 22px;
  height: 22px;
  fill: rgba(90, 65, 20, 0.85);
}

.lux-pin{
  width: 26px;
  height: 26px;
  fill: linear-gradient(#d6b46a, #a8843a);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.details-heading{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2e2a26;
}

.details-place{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #3b352f;
}

.details-time{
  font-size: 14px;
  color: #6e665f;
  margin-bottom: 14px;
}

.details-map-link{
  display:inline-block;
  font-size: 14px;
  color: #6b5cff;
  text-decoration: none;
  margin-bottom: 16px;
}

.details-map{
  width:100%;
  height:200px;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow:hidden;
  border: 1px solid #eee;
}

.details-map iframe{
  width:100%;
  height:100%;
  border:0;
}

.btn-cal{
  appearance:none;
  -webkit-appearance:none;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding: 10px 16px;
  min-width: 180px;
  border-radius: 999px;

  border: 1px solid rgba(210, 185, 120, .65);

  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );

  color: rgba(70, 52, 18, .92);
  text-decoration:none;

  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .10em;
  text-transform: uppercase;

  box-shadow:
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cal-icon{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: rgba(70, 52, 18, .88);
  opacity: .95;
}

.btn-cal:hover{
  filter: brightness(1.02);
}

.btn-cal:hover .cal-icon{
  opacity: 1;
}

.btn-cal:active{
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 7px 16px rgba(0,0,0,.10),
    inset 0 2px 6px rgba(0,0,0,.08);
}

.btn-cal:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(228, 205, 146, .55),
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);
}

/* ===============================
   PROGRAM OF THE DAY
=============================== */

.section-program{
  background: #f7f5f0;
  padding: 90px 0 110px;
}

.section-title{
  text-align:center;
  font-family: var(--title-font);
  font-size: clamp(42px, 7vw, 62px);
  margin-bottom: 6px;
}

.section-subtitle{
  text-align:center;
  font-size: 15px;
  color: #7a736c;
  margin-bottom: 46px;
}

.program-card{
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 34px 26px;
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
}

.program-item{
  display:flex;
  gap:18px;
}

.program-item:not(:last-child){
  margin-bottom: 26px;
}

.program-left{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.program-badge{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-size: 18px;

  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );

  box-shadow:
    0 6px 14px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.program-line{
  width:2px;
  flex:1;
  background: linear-gradient(
    to bottom,
    rgba(210,185,120,.6),
    rgba(210,185,120,.15)
  );
  margin-top: 6px;
}

.program-right{
  flex:1;
  padding-top: 2px;
}

.program-time{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a8843a;
}

.program-title{
  font-size: 16px;
  font-weight: 600;
  color: #2e2a26;
}

.program-note{
  font-size: 13px;
  color: #7a736c;
  margin-top: 2px;
}

.prog-ico{
  width: 18px;
  height: 18px;
  display:block;

  fill: none;
  stroke: rgba(80, 60, 25, .82);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   FAQ
=============================== */

.section-faq{
  background: #f7f5f0;
  padding: 90px 0 110px;
}

.faq-card{
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
}

.faq-item{
  width: 100%;
  border: 1px solid rgba(0,0,0,.06);
  background: #fbfaf8;
  border-radius: 16px;
  padding: 16px 16px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;

  cursor:pointer;
  text-align:left;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.faq-item + .faq-a{
  margin: 10px 4px 16px;
}

.faq-item:last-of-type + .faq-a{
  margin-bottom: 0;
}

.faq-item:hover{
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0,0,0,.07);
}

.faq-q{
  font-size: 14px;
  font-weight: 600;
  color: #2e2a26;

  display:flex;
  align-items:center;
  gap:10px;
}

.faq-ico{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display:grid;
  place-items:center;

  background: radial-gradient(circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );

  color: rgba(70, 52, 18, .88);
  font-size: 16px;
  line-height: 1;

  transition: transform .18s ease;
}

.faq-a{
  font-size: 13px;
  color: #7a736c;
  line-height: 1.55;
  padding: 0 8px;
}

.faq-item[aria-expanded="true"] .faq-ico{
  transform: rotate(180deg);
}

.faq-qico{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;

  fill: none;
  stroke: rgba(80, 60, 25, .82);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   RSVP
=============================== */

.section-rsvp{
  background: #f7f5f0;
  padding: 90px 0 110px;
}

.rsvp-card{
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
}

.rsvp-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.rsvp-label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6e665f;
  margin-top: 6px;
}

.rsvp-label .req{
  color: #a8843a;
  font-weight: 800;
}

.rsvp-label .opt{
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  opacity: .75;
}

.rsvp-input{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fbfaf8;
  color: #2e2a26;
  font-size: 14px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.rsvp-input:focus{
  background:#ffffff;
  border-color: rgba(168,132,58,.45);
  box-shadow: 0 0 0 3px rgba(228, 205, 146, .35);
}

.rsvp-fieldset{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 12px 12px 10px;
  background: #fbfaf8;
  margin: 6px 0 2px;
}

.rsvp-legend{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6e665f;
  padding: 0 6px;
}

.rsvp-radio{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 12px;
  cursor:pointer;
  color: #2e2a26;
  font-size: 14px;
}

.rsvp-radio input{
  accent-color: #a8843a;
}

.rsvp-radio:hover{
  background: rgba(0,0,0,.03);
}

.rsvp-submit{
  margin-top: 10px;
  border: 1px solid rgba(210, 185, 120, .65);
  border-radius: 999px;
  padding: 12px 16px;
  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );
  color: rgba(70, 52, 18, .92);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor:pointer;
  box-shadow:
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.rsvp-submit:hover{
  filter: brightness(1.02);
}

.rsvp-submit:active{
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 7px 16px rgba(0,0,0,.10),
    inset 0 2px 6px rgba(0,0,0,.08);
}

.rsvp-submit:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(228, 205, 146, .55),
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);
}

.rsvp-note{
  margin: 10px 2px 0;
  font-size: 13px;
  color: #7a736c;
  line-height: 1.5;
  min-height: 18px;
}

.rsvp-guests-wrap{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: #fbfaf8;
  padding: 14px;
  margin-top: 6px;
}

.rsvp-guest-title{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #6e665f;
  margin-bottom: 6px;
}

.rsvp-guest-sub{
  font-size: 13px;
  color: #7a736c;
  margin-bottom: 10px;
  line-height: 1.4;
}

.rsvp-guest-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* ===============================
   HOTELS & TAXIS
=============================== */

.section-logistics{
  background: #f7f5f0;
  padding: 90px 0 110px;
}

.logistics-card{
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
}

.logistics-form{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.logistics-block{
  padding: 10px 8px 6px;
}

.logistics-head{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.logistics-ico{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:grid;
  place-items:center;

  background: radial-gradient(
    circle at 30% 25%,
    #fff8e6 0%,
    #f3e4bf 48%,
    #e3c77f 100%
  );

  box-shadow:
    0 8px 18px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.70);

  flex: 0 0 42px;
}

.lux-ico{
  width: 19px;
  height: 19px;
  display:block;

  fill: none;
  stroke: rgba(80, 60, 25, .88);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logistics-title{
  font-size: 14px;
  font-weight: 700;
  color: #2e2a26;
  letter-spacing: .02em;
}

.logistics-sub{
  font-size: 13px;
  color: #7a736c;
  margin-top: 3px;
  line-height: 1.4;
}

.logistics-choice{
  display:flex;
  gap: 10px;
  margin: 8px 0 10px;
}

.lux-pill{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fbfaf8;
  border: 1px solid rgba(0,0,0,.06);
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.lux-pill input{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
}

.lux-pill span{
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(70, 52, 18, .80);
}

.lux-pill:hover{
  background:#ffffff;
  box-shadow: 0 10px 22px rgba(0,0,0,.07);
}

.lux-pill:has(input:checked){
  border-color: rgba(210, 185, 120, .85);
  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );
}

.logistics-more{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: #fbfaf8;
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.lux-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #6e665f;
  margin-top: 4px;
}

.lux-req{
  color: #a8843a;
  font-weight: 900;
}

.lux-input,
.lux-textarea{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #ffffff;
  color: #2e2a26;
  font-size: 14px;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.lux-textarea{
  resize: vertical;
  min-height: 70px;
}

.lux-input:focus,
.lux-textarea:focus{
  border-color: rgba(168,132,58,.45);
  box-shadow: 0 0 0 3px rgba(228, 205, 146, .35);
}

.lux-help{
  font-size: 12.5px;
  color: #7a736c;
  line-height: 1.4;
  margin-top: 2px;
}

.logistics-divider{
  height:1px;
  background: linear-gradient(to right, rgba(210,185,120,.15), rgba(210,185,120,.55), rgba(210,185,120,.15));
  margin: 6px 2px;
}

.lux-submit{
  margin-top: 4px;
  border: 1px solid rgba(210, 185, 120, .65);
  border-radius: 999px;
  padding: 12px 16px;
  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );
  color: rgba(70, 52, 18, .92);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor:pointer;
  box-shadow:
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.lux-submit:hover{
  filter: brightness(1.02);
}

.lux-submit:active{
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 7px 16px rgba(0,0,0,.10),
    inset 0 2px 6px rgba(0,0,0,.08);
}

.lux-note{
  margin: 2px 2px 0;
  font-size: 13px;
  color: #7a736c;
  line-height: 1.5;
  min-height: 18px;
}

.lux-loc-row{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.lux-loc-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(210, 185, 120, .55);
  background: #ffffff;
  cursor:pointer;

  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.lux-loc-btn:hover{
  filter: brightness(1.02);
}

.lux-loc-btn:active{
  transform: translateY(1px) scale(.99);
}

.lux-loc-ico{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(80, 60, 25, .82);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lux-loc-btn span{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(70, 52, 18, .86);
}

.lux-loc-link{
  font-size: 13px;
  color: #6b5cff;
  text-decoration: none;
}

.lux-loc-link:hover{
  text-decoration: underline;
}

/* ===============================
   FINAL MESSAGE & SUBMIT
=============================== */

.section-message{
  background: #f7f5f0;
  padding: 90px 0 120px;
}

.message-card{
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.lux-opt{
  font-weight: 600;
  opacity: .7;
  text-transform: none;
  letter-spacing: .02em;
}

.final-submit{
  margin-top: 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 12px;

  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(210, 185, 120, .7);

  background: linear-gradient(
    135deg,
    #f7e7a7,
    #e6c87a,
    #c9a24d
  );

  color: rgba(70, 52, 18, .95);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor:pointer;

  box-shadow:
    0 14px 28px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.65);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.final-submit:hover{
  filter: brightness(1.03);
}

.final-submit:active{
  transform: translateY(1px) scale(.99);
  box-shadow:
    0 10px 22px rgba(0,0,0,.14),
    inset 0 2px 6px rgba(0,0,0,.12);
}

.final-ico{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(70, 52, 18, .9);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final-note{
  margin-top: 6px;
  font-size: 13px;
  color: #7a736c;
  min-height: 18px;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width:480px){
  .countdown-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .odo-digit{
    font-size:28px;
  }

  .odo-col{
    width: 20px;
  }

  .after-open-content{
    padding: 20px;
  }

  .promise-caption{
    font-size: clamp(32px, 11vw, 52px);
    margin-bottom: 20px;
  }

  .promise-video{
    width: 94%;
    max-height: 54%;
    border-radius: 18px;
  }

  .countdown-date{
    font-size: clamp(24px, 8vw, 38px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .odo-stack{
    transition:none !important;
  }

  .mouse::after{
    animation:none !important;
  }
}

.faq-a p{
  margin: 0 0 10px;
}

.gift-details{
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-details div{
  padding: 12px 14px;
  border-radius: 14px;
  background: #fbfaf8;
  border: 1px solid rgba(0,0,0,.06);
}

.gift-details span{
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a8843a;
  margin-bottom: 4px;
}

.gift-details strong{
  display: block;
  font-size: 14px;
  color: #2e2a26;
  word-break: break-word;
}

/* ===============================
   THANK YOU OVERLAY
=============================== */

.thanks-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;

  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.thanks-overlay.show{
  opacity: 1;
  visibility: visible;
}

.thanks-card{
  width: min(92vw, 420px);
  background: #fff;
  border-radius: 26px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  transform: translateY(18px) scale(.96);
  transition: transform .35s ease;
}

.thanks-overlay.show .thanks-card{
  transform: translateY(0) scale(1);
}

.thanks-heart-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.thanks-heart{
  width: 170px;
  height: auto;
  overflow: visible;
}

.thanks-heart-path{
  fill: rgba(228, 205, 146, 0);
  stroke: #d4af37;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 320;
  stroke-dashoffset: 320;

  filter:
    drop-shadow(0 0 6px rgba(212,175,55,.35))
    drop-shadow(0 0 18px rgba(212,175,55,.18));
}

.thanks-overlay.show .thanks-heart-path{
  animation:
    drawHeart 1.3s ease forwards,
    fillHeart .8s ease 1.1s forwards,
    glowHeart 2.4s ease 1.7s infinite alternate;
}

.thanks-title{
  margin: 0 0 10px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 400;
  color: #a8843a;
}

.thanks-text{
  margin: 0 auto 20px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.65;
  color: #6e665f;
}

.thanks-close{
  border: 1px solid rgba(210, 185, 120, .65);
  border-radius: 999px;
  padding: 12px 18px;
  min-width: 130px;

  background: radial-gradient(
    circle at 30% 25%,
    #fff6df 0%,
    #f3e4bf 45%,
    #e4cd92 100%
  );

  color: rgba(70, 52, 18, .92);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;

  box-shadow:
    0 10px 22px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.60);

  transition: transform .15s ease, filter .15s ease;
}

.thanks-close:hover{
  filter: brightness(1.02);
}

.thanks-close:active{
  transform: translateY(1px) scale(.99);
}

@keyframes drawHeart{
  to{
    stroke-dashoffset: 0;
  }
}

@keyframes fillHeart{
  from{
    fill: rgba(228, 205, 146, 0);
  }
  to{
    fill: rgba(228, 205, 146, .22);
  }
}

@keyframes glowHeart{
  from{
    filter:
      drop-shadow(0 0 6px rgba(212,175,55,.35))
      drop-shadow(0 0 18px rgba(212,175,55,.18));
  }
  to{
    filter:
      drop-shadow(0 0 10px rgba(212,175,55,.55))
      drop-shadow(0 0 26px rgba(212,175,55,.30));
  }
}

.faq-qico-parking{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: rgba(92, 72, 34, 0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-heart-broken{
  display: none;
}

.thanks-card.not-attending .thanks-heart-full{
  display: none;
}

.thanks-card.not-attending .thanks-heart-broken{
  display: block;
}

.broken-heart-left,
.broken-heart-right{
  fill: rgba(228, 205, 146, 0);
  stroke: #d4af37;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 260;
  stroke-dashoffset: 260;

  filter:
    drop-shadow(0 0 6px rgba(212,175,55,.35))
    drop-shadow(0 0 18px rgba(212,175,55,.18));
}

.thanks-overlay.show .thanks-card.not-attending .broken-heart-left,
.thanks-overlay.show .thanks-card.not-attending .broken-heart-right{
  animation:
    drawBrokenHeart 1.2s ease forwards,
    fillBrokenHeart .8s ease 1s forwards;
}

.thanks-card.not-attending .thanks-title{
  color: #a8843a;
}

@keyframes drawBrokenHeart{
  to{
    stroke-dashoffset: 0;
  }
}

@keyframes fillBrokenHeart{
  from{
    fill: rgba(228, 205, 146, 0);
  }
  to{
    fill: rgba(228, 205, 146, .18);
  }
}

/* ======================
   GD GALLERY
====================== */


.gd-gallery {
    width: min(92vw, 980px);
    margin: 34px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(14px, 2vw, 24px);
}

.gd-photo {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    width: 31%;
    max-width: 300px;
    aspect-ratio: 4 / 5;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gd-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0) 38%,
            rgba(0, 0, 0, 0.18)
        );
    pointer-events: none;
}

.gd-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.gd-photo-1 {
    transform: rotate(-2deg);
}

.gd-photo-2 {
    transform: translateY(-16px);
}

.gd-photo-3 {
    transform: rotate(2deg);
}

.gd-photo:hover {
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.gd-photo:hover img {
    transform: scale(1.07);
}

.gd-photo-1:hover {
    transform: rotate(-2deg) translateY(-8px);
}

.gd-photo-2:hover {
    transform: translateY(-24px);
}

.gd-photo-3:hover {
    transform: rotate(2deg) translateY(-8px);
}



/* Make the final section wider only for the photo gallery */
.section-message .stage {
    width: min(1100px, 92vw);
}

/* Keep the title, subtitle, and message card visually centered */
.section-message .details-title,
.section-message .section-subtitle,
.section-message .message-card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================
   FINAL GD GALLERY FIX
====================== */

.section-message {
    background: #f7f5f0;
    overflow-x: hidden;
}

.section-message .stage {
    width: min(1100px, 92vw);
}

.section-message .details-title,
.section-message .section-subtitle,
.section-message .message-card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.section-message .gd-gallery {
    width: min(980px, 92vw) !important;
    margin: 34px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: clamp(14px, 2vw, 24px) !important;
}

.section-message .gd-photo {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 26px !important;
    width: 31% !important;
    max-width: 300px !important;
    aspect-ratio: 4 / 5 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18) !important;
}

.section-message .gd-photo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

.section-message .gd-photo-1 {
    transform: rotate(-2deg) !important;
}

.section-message .gd-photo-2 {
    transform: translateY(-16px) !important;
}

.section-message .gd-photo-3 {
    transform: rotate(2deg) !important;
}

@media (max-width: 768px) {
    .section-message .stage {
        width: 100vw;
    }

    .section-message .gd-gallery {
        width: 96vw !important;
        margin: 30px auto 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: flex-end !important;
        gap: 0 !important;
        padding: 0 10px !important;
    }

    .section-message .gd-photo {
        width: 34% !important;
        max-width: none !important;
        aspect-ratio: 4 / 5 !important;
        border-radius: 16px !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20) !important;
    }

    .section-message .gd-photo-1 {
        transform: rotate(-5deg) translateX(10px) translateY(10px) !important;
        z-index: 1;
    }

    .section-message .gd-photo-2 {
        transform: rotate(0deg) translateY(-8px) !important;
        z-index: 3;
    }

    .section-message .gd-photo-3 {
        transform: rotate(5deg) translateX(-10px) translateY(10px) !important;
        z-index: 2;
    }
}