/* ════════════════════════════════════════
   Custom Properties
════════════════════════════════════════ */
:root {
  --ivory:       #FDF8F0;
  --ivory-dark:  #F4EBD8;
  --rose:        #E8B4B8;
  --gold:        #C9A96E;
  --gold-light:  #DFC28A;
  --gold-dark:   #A8854A;
  --brown:       #3D2B1F;
  --brown-mid:   #6B4C3B;
  --brown-light: #8B6A55;
  --sage:        #9CAF88;
  --white:       #FFFFFF;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 40px rgba(61,43,31,0.10), 0 2px 8px rgba(61,43,31,0.06);
}

/* ════════════════════════════════════════
   Reset & Base
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--brown);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ════════════════════════════════════════
   Scroll Animations
════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.slide-in-left.visible { opacity: 1; transform: none; }

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.slide-in-right.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   Music Player Button
════════════════════════════════════════ */
.music-btn {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,169,110,0.28);
  border: 1.5px solid rgba(201,169,110,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  color: #fff;
  backdrop-filter: blur(6px);
  animation: musicPulse 2.5s ease-in-out infinite;
}
.music-btn:hover {
  background: rgba(201,169,110,0.45);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  transform: scale(1.08);
  animation: none;
}
.music-btn.playing {
  animation: spin 8s linear infinite;
}
.music-btn .music-icon,
.music-btn .pause-icon {
  width: 22px;
  height: 22px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,169,110,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(201,169,110,0.75), 0 0 0 8px rgba(201,169,110,0.12); }
}

/* ════════════════════════════════════════
   Envelope Screen
════════════════════════════════════════ */
.env-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  background-image:
    radial-gradient(ellipse at 25% 75%, rgba(232,180,184,0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(201,169,110,0.18) 0%, transparent 55%);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.env-screen.hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Floral corners on envelope screen */
.env-floral {
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
}
.env-floral-tl { top: 0; left: 0; }
.env-floral-br { bottom: 0; right: 0; }

.env-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

/* Envelope card */
.env-card {
  width: 340px;
  height: 230px;
  position: relative;
  cursor: pointer;
  filter: drop-shadow(0 18px 40px rgba(61,43,31,0.14));
  transition: filter 0.3s;
}
.env-card:hover { filter: drop-shadow(0 22px 50px rgba(61,43,31,0.18)); }

.env-flap-wrap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 115px;
  perspective: 700px;
  z-index: 3;
  overflow: visible;
}
.env-flap {
  width: 340px;
  height: 115px;
  background: linear-gradient(165deg, #f9f2e2 0%, #ecdbb8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.7s var(--ease);
  backface-visibility: hidden;
}
.env-card.open .env-flap {
  transform: rotateX(-175deg);
}

.env-body {
  position: absolute;
  inset: 0;
  background: #fffef9;
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 3px;
  overflow: hidden;
}

.env-fold {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
}
.env-fold-l {
  left: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(to right, rgba(201,169,110,0.07), transparent);
}
.env-fold-r {
  right: 0;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background: linear-gradient(to left, rgba(201,169,110,0.07), transparent);
}

.env-seal {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #d6b56e, #c9a96e 45%, #b08a3a);
  box-shadow: 0 3px 14px rgba(201,169,110,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.env-card.open .env-seal {
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0.2;
}
.env-mono {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.env-mono em { display: block; font-style: italic; font-size: 10px; }

.env-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.env-btn {
  padding: 0.75rem 2.4rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.env-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.env-hint {
  font-size: 0.72rem;
  color: var(--brown-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════
   Main Content
════════════════════════════════════════ */
.main {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
}
.main.visible {
  opacity: 1;
  visibility: visible;
}

/* ════════════════════════════════════════
   Hero
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #1a0f0a;
}

/* Full-screen background photo */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a0f0a;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.72);
}
.hero-bg--fallback .hero-bg-img { display: none; }

/* Large decorative monogram */
.hero-big-monogram {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.hero-initial-wrap {
  position: relative;
  display: inline-block;
}
.hero-initial {
  font-family: var(--font-head);
  font-size: clamp(5.5rem, 24vw, 9.5rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 0.85;
  display: block;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-big-amp {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.8rem, 7vw, 3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.hero-leaf {
  position: absolute;
  bottom: -10px;
  width: 80px;
  height: auto;
  pointer-events: none;
}
.hero-leaf-l { left: -18px; }
.hero-leaf-r { right: -18px; }

.hero-names-upper {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 3vw, 1rem);
  color: var(--gold-light);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 0.6rem;
}
.hero-invite-sub {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 2.2vw, 0.8rem);
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 0.15rem;
}

/* Circular music button */
.music-ring-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
}
.music-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5,2,1,0.30) 0%,
      rgba(5,2,1,0.15) 40%,
      rgba(5,2,1,0.28) 70%,
      rgba(5,2,1,0.50) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.10) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 5rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  animation: heroIn 1.4s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-arrow {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold-light);
  opacity: 0.8;
  animation: arrowBounce 2.2s ease-in-out infinite;
}
.hero-arrow svg { width: 32px; height: 32px; }
@keyframes arrowBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════════════════
   Sections
════════════════════════════════════════ */
.section { padding: 5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.narrow { max-width: 680px; margin: 0 auto; }
.section-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--brown);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}
.wave-divider {
  text-align: center;
  margin: 1.5rem auto;
}
.wave-divider svg { width: min(300px, 80vw); height: auto; }

/* Section floral side decorations */
.section-floral {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.section-floral.visible { opacity: 1; }
.section-floral-l { left: 0; }
.section-floral-r { right: 0; }
.section-floral svg { width: 100%; height: auto; }

/* ════════════════════════════════════════
   Invitation Text Section
════════════════════════════════════════ */
.inv-section {
  background: var(--ivory);
  position: relative;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
}

.inv-deco-wrap {
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  height: 190px;
  pointer-events: none;
}

.inv-deco-spin {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spin 20s linear infinite;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: brightness(0.45);
  display: block;
}

.inv-poem {
  text-align: center;
  margin-bottom: 2.2rem;
}
.inv-poem p {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-weight: 400;
}

.inv-branch-wrap {
  margin: 0 0 1.8rem 0;
  text-align: left;
}
.inv-branch-svg {
  width: min(290px, 82vw);
  height: auto;
}

.inv-greeting-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0.5rem 0;
}
.inv-ornament {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 155px;
  opacity: 0.4;
  pointer-events: none;
}
.inv-greeting {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 2;
  font-weight: 500;
}

.inv-closing {
  text-align: center;
}
.inv-closing-pre {
  font-family: var(--font-head);
  font-size: clamp(0.9rem, 2.4vw, 1.1rem);
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.6;
  font-weight: 400;
}
.inv-names-script {
  font-family: 'Philosopher', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2rem, 7vw, 3.2rem);
  color: var(--gold-dark);
  margin: 0.6rem 0 0.5rem;
  line-height: 1.3;
  font-weight: 400;
}
.inv-closing-main {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.9;
  font-weight: 400;
  margin-top: 1rem;
}

/* ════════════════════════════════════════
   Calendar Block
════════════════════════════════════════ */
.cal-section {
  background: var(--ivory-dark);
  padding: 3.5rem 1.5rem;
}

.cal-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  max-width: 360px;
  margin: 0 auto;
  padding: 2.2rem 2.2rem 1.8rem;
  text-align: center;
  overflow: hidden;
}

.cal-title {
  font-family: 'Philosopher', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.cal-date-line {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
}

.cal-table th {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-light);
  padding: 0.3rem 0.2rem 0.6rem;
}

.cal-table td {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--brown);
  padding: 0.38rem 0.2rem;
  width: calc(100% / 7);
  text-align: center;
}

.cal-special {
  position: relative;
}

.cal-special .cal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(201,169,110,0.08);
  font-weight: 600;
  color: var(--brown);
  position: relative;
  z-index: 1;
}

.cal-heart {
  display: block;
  font-size: 0.65rem;
  color: var(--rose);
  line-height: 1;
  margin-top: 1px;
}

.cal-time-line {
  font-family: 'Philosopher', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  color: var(--brown);
  line-height: 1.5;
}

.cal-floral {
  position: absolute;
  bottom: -8px;
  right: -4px;
  width: 110px;
  pointer-events: none;
  opacity: 0.8;
}
.cal-floral svg { width: 100%; height: auto; }

/* ════════════════════════════════════════
   Wedding Program / Timeline
════════════════════════════════════════ */
.program-section {
  background: linear-gradient(to bottom, var(--ivory), var(--ivory-dark));
}
.timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.4) 10%, rgba(201,169,110,0.4) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  position: relative;
}
.tl-photo {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.tl-photo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(201,169,110,0.35);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  display: block;
}
.tl-photo--empty {
  justify-content: flex-end;
}
.tl-photo--empty::after {
  content: '';
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  border: 2px dashed rgba(201,169,110,0.35);
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(201,169,110,0.18);
  position: relative;
  z-index: 1;
}
.tl-text {
  flex: 1;
  text-align: left;
}
.tl-time {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 400;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
}
.tl-title {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 500;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-top: 5px;
}

.tl-desc {
  font-size: 0.72rem;
  color: var(--brown-light);
  line-height: 1.6;
  margin-top: 4px;
  font-style: italic;
}

/* Even items: photo right, text left */
.timeline-item:nth-child(even) .tl-photo { order: 3; justify-content: flex-start; }
.timeline-item:nth-child(even) .tl-dot   { order: 2; }
.timeline-item:nth-child(even) .tl-text  { order: 1; text-align: right; }

@media (max-width: 520px) {
  .timeline::before { left: 18px; }
  .timeline-item { gap: 0.8rem; }
  .tl-photo { flex: 0 0 70px; justify-content: center !important; order: 2 !important; }
  .tl-photo--empty { justify-content: center !important; }
  .tl-photo-img, .tl-photo--empty::after { width: 70px; height: 70px; }
  .tl-dot  { order: 1 !important; }
  .tl-text { order: 3 !important; text-align: left !important; flex: 1; }
}

/* ════════════════════════════════════════
   Date Section
════════════════════════════════════════ */
.date-section {
  background: linear-gradient(to bottom, var(--ivory-dark), var(--ivory));
}
.date-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.date-card {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  text-align: center;
  overflow: hidden;
  min-width: 200px;
}
.date-month {
  background: var(--gold);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
}
.date-num-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.2rem 2rem 0.8rem;
}
.date-day {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brown);
}
.date-heart { font-size: 1.1rem; color: var(--rose); line-height: 1; }
.date-year {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--brown-light);
  letter-spacing: 0.15em;
  padding-bottom: 0.6rem;
}
.date-time-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem 0.9rem;
  border-top: 1px solid rgba(201,169,110,0.18);
  font-size: 0.8rem;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
}

/* Countdown */
.countdown-block { text-align: center; }
.cd-label-top {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--brown-light);
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 8px;
  padding: 0.8rem 0.4rem 0.6rem;
  box-shadow: var(--shadow-card);
}
.cd-num {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: var(--brown);
  line-height: 1;
}
.cd-seconds {
  transition: opacity 0.25s;
}
.cd-seconds.flip { opacity: 0.3; }
.cd-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-top: 4px;
}
.cd-sep {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
  padding-bottom: 1rem;
}

/* ════════════════════════════════════════
   Venue
════════════════════════════════════════ */
.venue-section { background: var(--ivory); }
.venue-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 750px) {
  .venue-layout { grid-template-columns: 1fr; }
  .venue-info { align-items: center; text-align: center; }
  .venue-name { text-align: center; }
  .venue-address { text-align: center; }
  .venue-btns { justify-content: center; }
  .venue-pin { display: flex; justify-content: center; width: 100%; }
}
.venue-info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem; }
.venue-pin svg { width: 36px; height: 44px; }
.venue-name {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.3;
}
.venue-address {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.8;
}
.venue-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.3rem; }
.venue-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: #fff;
  border-radius: 2px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.venue-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.venue-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.venue-btn-outline:hover { background: var(--gold); color: #fff; }
.venue-map {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.venue-map iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
}

/* ════════════════════════════════════════
   Dress Code
════════════════════════════════════════ */
.dresscode-section {
  background: var(--ivory);
  position: relative;
}
.dresscode-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.dresscode-card {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 10px;
  padding: 2.2rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  min-width: 180px;
  flex: 1;
  max-width: 240px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dresscode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(61,43,31,0.12);
}
.dresscode-icon {
  width: 80px;
  height: 100px;
  margin: 0 auto 1rem;
}
.dresscode-icon svg { width: 100%; height: 100%; }
.dresscode-group {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 0.3rem;
}
.dresscode-desc {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ════════════════════════════════════════
   Hosts Section
════════════════════════════════════════ */
.hosts-section {
  background: linear-gradient(to bottom, var(--ivory-dark), var(--ivory));
}
.hosts-list {
  text-align: center;
}
.hosts-names {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.9;
  color: var(--brown);
}
.hosts-names span {
  font-style: italic;
  color: var(--gold-dark);
}
.hosts-divider {
  width: 40px;
  height: 1px;
  background: rgba(201,169,110,0.4);
  margin: 1.2rem auto;
}

/* ════════════════════════════════════════
   Hashtag Section
════════════════════════════════════════ */
.hashtag-section {
  background: var(--ivory);
  text-align: center;
}
.hashtag-text {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.85;
  color: var(--brown-mid);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.hashtag-label {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.7rem;
}
.hashtag-box {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  padding: 0.7rem 1.4rem;
  background: rgba(201,169,110,0.05);
  margin-bottom: 1rem;
}
.hashtag-value {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  font-style: italic;
  color: var(--brown);
  letter-spacing: 0.03em;
}
.hashtag-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.hashtag-copy-btn:hover { background: rgba(201,169,110,0.12); color: var(--brown); }
.hashtag-copy-btn svg { width: 16px; height: 16px; }
.copy-label { display: inline-block; }

/* Copy toast */
.copy-toast {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(156,175,136,0.15);
  border: 1px solid var(--sage);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #3d6b2a;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.copy-toast.show {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════
   RSVP Section
════════════════════════════════════════ */
.rsvp-section {
  background: linear-gradient(to bottom, var(--ivory-dark), var(--ivory));
}
.rsvp-subtitle {
  text-align: center;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--brown-mid);
  margin-bottom: 0.5rem;
}
.rsvp-deadline {
  text-align: center;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown-light);
  margin-bottom: 2.5rem;
}

.rsvp-choice {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.4rem 2.5rem;
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 6px;
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: var(--shadow-card);
  min-width: 180px;
}
.choice-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(61,43,31,0.12);
}
.choice-btn.selected { transform: translateY(-3px); }
.choice-icon { font-size: 1.4rem; line-height: 1; }
.choice-yes { border-top: 3px solid var(--sage); }
.choice-yes.selected { background: rgba(156,175,136,0.1); border-color: var(--sage); }
.choice-no  { border-top: 3px solid var(--rose); }
.choice-no.selected  { background: rgba(232,180,184,0.12); border-color: var(--rose); }

.rsvp-form {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: var(--shadow-card);
  display: none;
}
.rsvp-form.show {
  display: block;
  animation: formReveal 0.5s var(--ease) both;
}
@keyframes formReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.55rem;
}
.label-optional {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: none;
  opacity: 0.65;
}
.form-opt {
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-size: 0.88em;
  margin-left: 0.3em;
}
.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 5px;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-group textarea { resize: vertical; min-height: 105px; }

.field-err {
  display: none;
  font-size: 0.75rem;
  color: #B03A2E;
  margin-top: 0.35rem;
}
.field-err.show { display: block; }

#guestsGroup { display: none; }
#guestsGroup.show { display: block; }

.form-actions { text-align: center; margin-top: 2rem; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 3rem;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  min-width: 180px;
}
.submit-btn:hover:not(:disabled) {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-loader { display: none; }
.btn-loader svg { width: 17px; height: 17px; }
.submit-btn.loading .btn-text  { display: none; }
.submit-btn.loading .btn-loader { display: inline-flex; }

.form-msg {
  margin-top: 1.1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 5px;
  font-size: 0.88rem;
  text-align: center;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(156,175,136,0.14);
  border: 1px solid var(--sage);
  color: #3d6b2a;
}
.form-msg.error {
  display: block;
  background: rgba(176,58,46,0.08);
  border: 1px solid #B03A2E;
  color: #B03A2E;
}

/* ════════════════════════════════════════
   Footer
════════════════════════════════════════ */
.footer {
  background: var(--brown);
  color: rgba(253,248,240,0.65);
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-flower svg { width: 64px; height: 64px; margin-bottom: 0.6rem; }
.footer-names {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.footer-date {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(201,169,110,0.65);
  letter-spacing: 0.1em;
}
.footer-love {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ════════════════════════════════════════
   Mobile Responsive
════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 3.5rem 1.3rem; }
  .hero-content { padding: 5rem 1.5rem 4rem; }
  .date-layout { gap: 2.5rem; }
  .section-floral { display: none; }
  .hero-leaf { width: 64px; }
  .inv-deco-wrap { width: 140px; height: 140px; right: -65px; }
}

@media (max-width: 480px) {
  .section { padding: 2.8rem 1.1rem; }
  .hero-content { padding: 4.5rem 1.2rem 3.5rem; }

  .env-card { width: min(300px, 88vw); height: calc(min(300px, 88vw) * 0.677); }
  .env-flap-wrap { height: calc(min(300px, 88vw) * 0.338); }
  .env-flap { width: min(300px, 88vw); height: calc(min(300px, 88vw) * 0.338); }

  .date-layout { gap: 1.8rem; }
  .date-card { min-width: unset; width: 100%; max-width: 260px; }

  .countdown { gap: 0.25rem; }
  .cd-item { min-width: 54px; }
  .cd-sep { font-size: 1.5rem; }

  .rsvp-choice { flex-direction: column; align-items: center; }
  .choice-btn { width: 100%; max-width: 320px; min-width: unset; }
  .submit-btn { width: 100%; padding: 0.85rem 1rem; }

  .venue-map iframe { height: 240px; }
  .dresscode-cards { gap: 1rem; }
  .dresscode-card { padding: 1.6rem 1.8rem; }

  .music-btn { width: 52px; height: 52px; }
  .music-ring-wrap { width: 98px; height: 98px; }
  .hero-leaf { width: 54px; }
}

@media (max-width: 360px) {
  .section { padding: 2.4rem 1rem; }
  .env-card { width: 88vw; height: calc(88vw * 0.677); }
  .env-flap-wrap { height: calc(88vw * 0.338); }
  .env-flap { width: 88vw; height: calc(88vw * 0.338); }
  .countdown { gap: 0.1rem; }
  .cd-item { min-width: 46px; }
  .cd-sep { font-size: 1.2rem; padding-bottom: 0.8rem; }
  .env-btn { padding: 0.75rem 1.6rem; font-size: 0.72rem; }
}
