:root {
  --bg: #fff8f2;
  --ivory: #fffaf5;
  --soft: #f8eee9;
  --wine-950: #30040c;
  --wine-900: #470813;
  --wine-800: #5c0b18;
  --wine-700: #761020;
  --wine-600: #8e1328;
  --gold-500: #bb8c3d;
  --gold-400: #d6b164;
  --gold-300: #efd6a0;
  --ink: #3f3535;
  --muted: #7b6a6c;
  --white: #ffffff;
  --shadow: 0 20px 46px rgba(52, 7, 14, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-h: 86px;
  --container: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214,178,97,.11), transparent 26%),
    linear-gradient(180deg, #fffdfa 0%, #fff7f1 100%);
  font: 400 16px/1.7 "Montserrat", system-ui, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
iframe { border: 0; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 400;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 0 18px rgba(212,171,91,.55);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  bottom: -40px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,214,160,.68), rgba(239,214,160,0));
  animation: floatUp 18s linear infinite;
  opacity: .35;
}
.particles span:nth-child(1) { left: 8%; animation-duration: 20s; }
.particles span:nth-child(2) { left: 24%; animation-duration: 16s; animation-delay: -4s; }
.particles span:nth-child(3) { left: 42%; animation-duration: 23s; animation-delay: -8s; }
.particles span:nth-child(4) { left: 66%; animation-duration: 18s; animation-delay: -2s; }
.particles span:nth-child(5) { left: 82%; animation-duration: 21s; animation-delay: -11s; }
.particles span:nth-child(6) { left: 92%; animation-duration: 17s; animation-delay: -6s; }
@keyframes floatUp {
  0% { transform: translateY(0) scale(.8); opacity: 0; }
  10% { opacity: .3; }
  100% { transform: translateY(-110vh) scale(1.25); opacity: 0; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--white);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(55, 4, 13, .88);
  box-shadow: 0 12px 35px rgba(23, 0, 4, .18);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239,214,160,.9);
  border-radius: 50%;
  color: var(--gold-300);
  font: italic 26px/1 "Cormorant Garamond", serif;
}
.brand__text { font: 600 19px/1 "Cormorant Garamond", serif; letter-spacing: .04em; }
.brand__text small { color: var(--gold-300); font: 700 9px/1 "Montserrat", sans-serif; letter-spacing: .15em; margin-left: 5px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.main-nav a {
  position: relative;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold-300);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--gold-300); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 3;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: #fff;
  margin: 6px 0;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.music-control {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 15px 0 13px;
  border: 1px solid rgba(239,214,160,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(55, 4, 13, .88);
  box-shadow: 0 16px 32px rgba(35, 0, 5, .22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.music-control.needs-attention {
  animation: pulseMusic 1.5s ease-in-out infinite;
  border-color: rgba(239,214,160,.75);
}
@keyframes pulseMusic {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.music-control__label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.music-control__bars { height: 18px; display: flex; align-items: center; gap: 2px; }
.music-control__bars i { display: block; width: 2px; height: 6px; border-radius: 99px; background: var(--gold-300); }
.music-control.is-playing .music-control__bars i { animation: sound 1s ease-in-out infinite alternate; }
.music-control.is-playing .music-control__bars i:nth-child(2) { animation-delay: -.45s; }
.music-control.is-playing .music-control__bars i:nth-child(3) { animation-delay: -.7s; }
.music-control.is-playing .music-control__bars i:nth-child(4) { animation-delay: -.25s; }
@keyframes sound { to { height: 18px; } }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 3.5vw;
  padding: calc(var(--header-h) + 44px) clamp(20px, 6vw, 110px) 80px;
  color: var(--white);
  background: linear-gradient(100deg, rgba(46, 4, 11, .98) 0%, rgba(100, 12, 26, .95) 56%, rgba(125, 18, 35, .92) 100%);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black 0%, black 56%, transparent 100%);
}
.hero__ornament {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.hero__ornament--one {
  width: 30vw;
  height: 30vw;
  left: -8vw;
  top: 8%;
  background: radial-gradient(circle, rgba(214,178,97,.16), transparent 70%);
}
.hero__ornament--two {
  width: 42vw;
  height: 42vw;
  right: -10vw;
  bottom: -16vw;
  border: 1px solid rgba(239,214,160,.16);
  box-shadow: inset 0 0 0 60px rgba(239,214,160,.02), inset 0 0 0 135px rgba(239,214,160,.012);
}
.hero__content { max-width: 620px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--gold-300); text-transform: uppercase; letter-spacing: .28em; font-size: 10px; font-weight: 700; line-height: 1.6; }
.hero__script { margin: 0 0 -8px; font: 400 clamp(44px, 5.4vw, 82px)/1 "Parisienne", cursive; color: var(--gold-300); }
.hero h1 { margin: 0; font: 600 clamp(64px, 8vw, 118px)/.83 "Cormorant Garamond", serif; letter-spacing: -.045em; }
.hero h1 span { display: block; margin-top: 16px; font-size: .42em; font-weight: 500; letter-spacing: .03em; color: #fbeae1; }
.hero__date-line { display: flex; align-items: center; gap: 16px; width: min(100%, 520px); margin: 30px 0 24px; }
.hero__date-line span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(239,214,160,.72)); }
.hero__date-line span:last-child { background: linear-gradient(90deg, rgba(239,214,160,.72), transparent); }
.hero__date-line strong { white-space: nowrap; color: var(--gold-300); font-size: 11px; letter-spacing: .23em; }
.hero__lead { max-width: 550px; margin: 0 0 28px; color: rgba(255,255,255,.78); font: 500 21px/1.55 "Cormorant Garamond", serif; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; }
.hero-detail {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}
.hero-detail__label { display: block; color: var(--gold-300); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; font-weight: 700; }
.hero-detail strong { display: block; margin-top: 8px; font: 600 28px/1 "Cormorant Garamond", serif; }
.hero-detail small { display: block; margin-top: 7px; color: rgba(255,255,255,.72); font-size: 12px; }
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-photo-frame {
  position: relative;
  width: min(100%, 620px);
  min-height: 650px;
  display: grid;
  place-items: end center;
  padding: 34px 28px 0;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
  border: 1px solid rgba(239,214,160,.18);
  box-shadow: 0 36px 88px rgba(18,0,4,.34);
  backdrop-filter: blur(9px);
  overflow: hidden;
}
.hero-photo-glow {
  position: absolute;
  width: 70%;
  height: 26%;
  bottom: 8%;
  left: 15%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
  filter: blur(26px);
}
.hero-photo-frame img {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  height: auto;
  max-height: 760px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(61, 3, 12, .22));
}
.hero__seal {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(239,214,160,.44);
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,.04));
  color: var(--gold-300);
  box-shadow: 0 18px 30px rgba(20,0,4,.18);
}
.hero__seal span { display: block; font: 600 34px/1 "Cormorant Garamond", serif; }
.hero__seal small { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .18em; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.74);
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.scroll-cue i {
  width: 14px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  position: relative;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 3px;
  height: 6px;
  border-radius: 99px;
  background: var(--gold-300);
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0%,100% { transform: translate(-50%, 0); opacity: .35; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

.section { position: relative; padding: 110px 0; z-index: 1; }
.section--ivory { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,248,242,.96)); }
.section--soft { background: linear-gradient(180deg, #fff6f0 0%, #fbefe8 100%); }
.section-heading { width: var(--container); margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin: 0 0 12px; color: var(--wine-900); font: 600 clamp(38px, 4vw, 62px)/1.02 "Cormorant Garamond", serif; letter-spacing: -.03em; }
.section-heading p:not(.eyebrow) { max-width: 680px; margin: 0 auto; color: var(--muted); }
.section-heading--light h2, .section-heading--light p { color: var(--white); }
.section-heading--light p:not(.eyebrow) { color: rgba(255,255,255,.8); }

.family-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.family-card {
  padding: 36px 34px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  border: 1px solid rgba(123,15,33,.08);
  text-align: center;
}
.family-card__icon,
.timeline-card__icon,
.location-card__icon,
.gift-icon {
  display: inline-grid;
  place-items: center;
  color: var(--wine-700);
  font-size: 32px;
}
.family-card__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(145deg, rgba(239,214,160,.45), rgba(255,255,255,.55)); }
.family-card p,
.timeline-card__body p,
.location-card__top p,
.dress-card__label { margin: 0 0 8px; color: var(--gold-500); font-size: 10px; text-transform: uppercase; letter-spacing: .24em; font-weight: 700; }
.family-card h3 { margin: 0; color: var(--wine-900); font: 600 33px/1.1 "Cormorant Garamond", serif; }
.ampersand { display: block; margin: 10px 0; color: var(--gold-500); font: italic 28px/1 "Cormorant Garamond", serif; }
.family-center { position: relative; width: 180px; height: 180px; margin: 0 auto; display: grid; place-items: center; }
.family-center__ring,
.family-center::before,
.family-center::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(187,140,61,.18);
}
.family-center__ring { inset: 0; }
.family-center::before { inset: 14px; }
.family-center::after { inset: 30px; }
.family-center__xv { color: var(--wine-700); font: 600 54px/1 "Cormorant Garamond", serif; }
.family-center__flourish { position: absolute; bottom: 24px; color: var(--gold-500); }

.quote-band {
  padding: 54px 0;
  background: linear-gradient(90deg, rgba(117,16,32,.95), rgba(78,8,20,.96));
}
.quote-band__inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}
.quote-band__inner h2 {
  margin: 0;
  color: var(--white);
  font: 500 clamp(34px, 4vw, 54px)/1.2 "Cormorant Garamond", serif;
}

.countdown-section {
  color: var(--white);
  background: linear-gradient(135deg, rgba(54,4,12,.95), rgba(108,14,29,.94)), radial-gradient(circle at top left, rgba(212,171,91,.15), transparent 32%);
  overflow: hidden;
}
.countdown-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .6;
}
.countdown {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.countdown__item {
  min-width: 140px;
  padding: 26px 18px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.countdown__item strong { display: block; color: var(--gold-300); font: 600 clamp(40px, 4.4vw, 60px)/1 "Cormorant Garamond", serif; }
.countdown__item span { display: block; margin-top: 8px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.countdown__separator { color: rgba(255,255,255,.5); font: 600 34px/1 "Cormorant Garamond", serif; }
.countdown__message { width: var(--container); margin: 24px auto 0; text-align: center; color: rgba(255,255,255,.8); }

.timeline { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.timeline-card {
  display: grid;
  grid-template-columns: 110px 18px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(123,15,33,.07);
}
.timeline-card__time { display: grid; place-items: center; min-height: 110px; border-radius: 22px; color: var(--white); background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); }
.timeline-card__time span { display: block; font: 600 34px/1 "Cormorant Garamond", serif; }
.timeline-card__time small { display: block; margin-top: 6px; color: rgba(255,255,255,.76); letter-spacing: .18em; font-size: 10px; }
.timeline-card__dot { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 0 0 10px rgba(212,171,91,.14); }
.timeline-card__body h3 { margin: 2px 0 6px; color: var(--wine-900); font: 600 34px/1.05 "Cormorant Garamond", serif; }
.timeline-card__body span { display: block; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--wine-700); text-decoration: none; font-weight: 700; font-size: 13px; }
.text-link i { font-style: normal; }

.locations { color: var(--white); background: linear-gradient(160deg, rgba(60,4,13,.98), rgba(115,14,29,.95) 58%, rgba(94,11,24,.98)); }
.location-grid { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.location-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 36px rgba(15,0,4,.16);
  backdrop-filter: blur(12px);
}
.location-card__number { position: absolute; right: 22px; top: 20px; color: rgba(255,255,255,.12); font: 700 54px/1 "Cormorant Garamond", serif; }
.location-card__top { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.location-card__top h3 { margin: 0; color: var(--white); font: 600 34px/1.08 "Cormorant Garamond", serif; }
.location-card__icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.12); }
.map-preview {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.map-preview iframe { width: 100%; height: 290px; filter: saturate(1.1) contrast(1.02); }
.location-card__actions { margin-top: 20px; }

.dress-grid { width: min(900px, calc(100% - 32px)); margin: 0 auto 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dress-card { padding: 34px 26px; text-align: center; background: rgba(255,255,255,.9); border: 1px solid rgba(123,15,33,.08); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.dress-card h3 { margin: 0 0 8px; color: var(--wine-900); font: 600 42px/1 "Cormorant Garamond", serif; }
.dress-card p { margin: 0; color: var(--muted); }
.color-note {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(123,15,33,.06), rgba(212,171,91,.14));
  border: 1px solid rgba(187,140,61,.22);
}
.color-note strong { display: block; margin-bottom: 8px; color: var(--wine-900); font: 600 30px/1 "Cormorant Garamond", serif; }
.color-note p { margin: 0; color: var(--muted); }

.gifts { background: linear-gradient(180deg, #fffaf5 0%, #fff3eb 100%); }
.gift-box {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(123,15,33,.08);
  box-shadow: var(--shadow);
}
.gift-icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(145deg, rgba(239,214,160,.48), rgba(255,255,255,.6)); }
.gifts__message { margin: 0; color: var(--muted); font-size: 16px; }
.gifts__signature { display: block; margin-top: 18px; color: var(--wine-700); font: 400 38px/1 "Parisienne", cursive; }

.closing {
  width: var(--container);
  margin: 0 auto;
  padding: 100px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.closing__content h2 { margin: 0 0 12px; color: var(--wine-900); font: 600 clamp(42px, 4.5vw, 72px)/1 "Cormorant Garamond", serif; }
.closing__content p:not(.eyebrow) { color: var(--muted); }
.closing__date { margin: 0 0 16px; color: var(--gold-500); text-transform: uppercase; letter-spacing: .24em; font-size: 10px; font-weight: 700; }
.closing__flourish { margin-bottom: 16px; color: var(--gold-500); font-size: 24px; }
.closing__photo-frame {
  min-height: 650px;
  display: grid;
  place-items: end center;
  padding: 28px 24px 0;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,245,238,.88));
  box-shadow: 0 28px 70px rgba(52, 7, 14, .14);
  border: 1px solid rgba(123,15,33,.08);
}
.closing__photo-frame img {
  width: min(100%, 450px);
  height: auto;
  max-height: 760px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(61,3,12,.18));
}

.site-footer { padding: 22px 16px 34px; text-align: center; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.site-footer i { margin: 0 10px; color: var(--gold-500); font-style: normal; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--white); background: linear-gradient(135deg, #8e1328, #6c0c1d); box-shadow: 0 14px 32px rgba(42, 0, 7, .2); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn--outline-light:hover { color: var(--gold-300); border-color: var(--gold-300); background: rgba(255,255,255,.1); }
.btn--gold { color: var(--wine-950); background: linear-gradient(135deg, #f4dfaa, #c99f4c); box-shadow: 0 14px 32px rgba(17,0,3,.16); }
.btn--gold:hover { box-shadow: 0 18px 38px rgba(17,0,3,.22); }

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

.icon svg,
.family-card__icon svg,
.timeline-card__icon svg,
.location-card__icon svg,
.gift-icon svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noscript { padding: 14px; text-align: center; color: #fff; background: var(--wine-900); }

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: calc(var(--header-h) + 24px);
  }
  .hero__content { max-width: 100%; text-align: center; }
  .hero__actions, .hero__date-line { justify-content: center; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__details { max-width: 700px; margin: 0 auto; }
  .hero__visual { width: min(100%, 700px); margin: 0 auto; }
  .family-grid { grid-template-columns: 1fr; }
  .family-center { order: -1; }
  .timeline,
  .location-grid,
  .closing { grid-template-columns: 1fr; }
  .closing { padding-top: 90px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 360px);
    padding: 92px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(47, 4, 11, .96);
    transform: translateX(101%);
    transition: transform .34s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.25);
    backdrop-filter: blur(16px);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 12px; }
  .main-nav a::after { display: none; }
  .hero__details,
  .dress-grid { grid-template-columns: 1fr; }
  .timeline-card { grid-template-columns: 96px 16px 1fr; }
}

@media (max-width: 680px) {
  :root { --header-h: 78px; }
  .section { padding: 86px 0; }
  .hero { padding: calc(var(--header-h) + 22px) 18px 74px; }
  .hero h1 { font-size: clamp(56px, 16vw, 92px); }
  .hero__lead { font-size: 20px; }
  .hero-photo-frame {
    min-height: 490px;
    padding: 22px 16px 0;
  }
  .hero-photo-frame img {
    width: min(100%, 320px);
    max-height: 540px;
  }
  .hero__seal {
    width: 82px;
    height: 82px;
    right: 8px;
    top: -8px;
  }
  .countdown { gap: 10px; }
  .countdown__item { min-width: calc(50% - 12px); }
  .countdown__separator { display: none; }
  .timeline-card { grid-template-columns: 1fr; text-align: center; }
  .timeline-card__dot { margin: 0 auto; }
  .location-card,
  .family-card,
  .gift-box,
  .dress-card,
  .color-note,
  .timeline-card { padding: 24px 20px; }
  .location-card__top { flex-direction: column; }
  .map-preview iframe { height: 250px; }
  .closing__photo-frame {
    min-height: 500px;
    padding: 22px 18px 0;
  }
  .closing__photo-frame img {
    width: min(100%, 340px);
    max-height: 560px;
  }
  .music-control { right: 14px; bottom: 14px; }
}

/* =========================================================
   V4 · AJUSTES PREMIUM, CALENDARIO Y MENÚ MÓVIL RECONSTRUIDO
   ========================================================= */
body.nav-open { overflow: hidden; }
.mobile-nav-title { display: none; }
.nav-backdrop { display: none; }

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(239, 214, 160, .28);
  border-radius: 30px;
  pointer-events: none;
  z-index: 3;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,214,160,.7), transparent);
  z-index: 3;
}
.hero__visual::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(239,214,160,.12);
  box-shadow: inset 0 0 0 48px rgba(239,214,160,.012), inset 0 0 0 98px rgba(239,214,160,.01);
  pointer-events: none;
}

.btn--calendar {
  gap: 9px;
  color: var(--wine-950);
  background: linear-gradient(135deg, #f6e5bb, #d5ad58 66%, #bf8f3d);
  box-shadow: 0 14px 34px rgba(24, 0, 4, .2), inset 0 1px 0 rgba(255,255,255,.65);
}
.btn--calendar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn--calendar:hover {
  box-shadow: 0 18px 42px rgba(24, 0, 4, .26), inset 0 1px 0 rgba(255,255,255,.7);
}

.color-note {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}
.color-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,171,91,.16), transparent 48%);
  pointer-events: none;
}
.color-note > * { position: relative; z-index: 1; }
.reserved-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 18px 0 20px;
}
.reserved-color {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.reserved-color i {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(63,53,53,.12), 0 10px 20px rgba(52,7,14,.13);
}
.reserved-color--red i {
  background: radial-gradient(circle at 32% 28%, #d63548, #a50920 58%, #730415 100%);
}
.reserved-color--gold i {
  background: radial-gradient(circle at 32% 28%, #f5dda2, #d1a547 58%, #a77925 100%);
}
.reserved-color em {
  color: var(--wine-900);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.family-card,
.timeline-card,
.dress-card,
.gift-box,
.color-note,
.closing__photo-frame {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
@media (hover:hover) {
  .family-card:hover,
  .timeline-card:hover,
  .dress-card:hover,
  .gift-box:hover,
  .closing__photo-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 58px rgba(52,7,14,.16);
    border-color: rgba(187,140,61,.22);
  }
}

@media (max-width: 860px) {
  .site-header { z-index: 340; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 310;
    background: rgba(20,0,4,.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(3px);
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 330;
    width: auto;
    height: auto;
    max-height: calc(100dvh - 80px);
    padding: 28px 22px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(239,214,160,.19);
    border-radius: 28px;
    color: white;
    background:
      radial-gradient(circle at 82% 12%, rgba(239,214,160,.11), transparent 24%),
      linear-gradient(150deg, rgba(53,4,13,.985), rgba(100,12,27,.98));
    box-shadow: 0 26px 70px rgba(17,0,3,.44);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px) scale(.985);
    transition: opacity .28s ease, visibility .28s ease, transform .32s cubic-bezier(.2,.8,.2,1);
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .mobile-nav-title {
    display: block;
    padding: 2px 8px 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(239,214,160,.14);
  }
  .mobile-nav-title span {
    display: block;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: 9px;
    font-weight: 700;
  }
  .mobile-nav-title strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font: 500 34px/1 "Parisienne", cursive;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 49px;
    width: 100%;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255,255,255,.9);
    font-size: 11px;
    letter-spacing: .13em;
    background: transparent;
    transition: background .22s ease, color .22s ease, padding-left .22s ease;
  }
  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.is-active {
    color: var(--gold-300);
    background: rgba(255,255,255,.07);
    padding-left: 18px;
  }
  .main-nav a::after { display: none; }
  .nav-toggle {
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 680px) {
  .reserved-colors { gap: 20px; }
  .reserved-color { flex-direction: column; gap: 7px; }
  .reserved-color i { width: 46px; height: 46px; }
  .hero__actions .btn { width: 100%; }
  .main-nav {
    top: 64px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-height: calc(100dvh - 72px);
    border-radius: 24px;
  }
}

/* =========================================================
   V5.1 · MENÚ MÓVIL INDEPENDIENTE + CABECERA ACTUALIZADA
   ========================================================= */
section[id] { scroll-margin-top: 78px; }

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
}
.brand__text small {
  display: block;
  margin: 0;
  color: var(--gold-300);
  font: 700 7px/1 "Montserrat", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand__text b {
  display: block;
  color: #fff;
  font: 600 18px/1 "Cormorant Garamond", serif;
  letter-spacing: .04em;
}

.mobile-nav,
.mobile-nav-backdrop { display: none; }

@media (max-width: 860px) {
  body.mobile-menu-open { overflow: hidden !important; touch-action: none; }

  .site-header {
    z-index: 1200 !important;
    height: 70px;
    padding-inline: 18px;
  }
  .site-header.is-scrolled { height: 70px; }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .brand__text small { font-size: 7px; }
  .brand__text b { font-size: 18px; }

  /* El menú de escritorio se oculta completamente en móvil. */
  .main-nav { display: none !important; }

  .nav-toggle {
    display: inline-grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    position: relative;
    z-index: 1202;
  }
  .nav-toggle span {
    width: 24px;
    height: 1.6px;
    margin: 0;
    position: absolute;
    left: 10px;
    background: #fff;
    transition: transform .28s ease, opacity .2s ease, top .28s ease;
  }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 22px; }
  .nav-toggle span:nth-child(3) { top: 30px; }
  .nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(19,0,4,.66);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(90vw, 390px);
    max-width: 390px;
    min-height: 0;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 26px 20px max(28px, env(safe-area-inset-bottom));
    color: #fff;
    background:
      radial-gradient(circle at 78% 10%, rgba(239,214,160,.13), transparent 24%),
      linear-gradient(165deg, #3a050f 0%, #650d1d 58%, #450713 100%);
    border-left: 1px solid rgba(239,214,160,.18);
    box-shadow: -20px 0 60px rgba(15,0,3,.46);
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.22,.8,.2,1), visibility .34s ease;
  }
  .mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav__title {
    flex: none;
    padding: 8px 8px 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(239,214,160,.16);
  }
  .mobile-nav__title span {
    display: block;
    color: var(--gold-300);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
  }
  .mobile-nav__title strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font: 400 42px/1 "Parisienne", cursive;
  }
  .mobile-nav__title small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.62);
    font-size: 9px;
    letter-spacing: .20em;
  }

  .mobile-nav__links {
    display: grid;
    gap: 7px;
    flex: none;
  }
  .mobile-nav__links a {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,.025);
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
  }
  .mobile-nav__links a i {
    color: rgba(239,214,160,.54);
    font: 600 10px/1 "Montserrat", sans-serif;
    letter-spacing: .08em;
  }
  .mobile-nav__links a.is-active,
  .mobile-nav__links a:focus-visible,
  .mobile-nav__links a:hover {
    color: var(--gold-300);
    border-color: rgba(239,214,160,.14);
    background: rgba(255,255,255,.075);
    transform: translateX(2px);
  }
  .mobile-nav__footer {
    flex: none;
    margin-top: 18px;
    padding: 18px 8px 2px;
    border-top: 1px solid rgba(239,214,160,.13);
    color: rgba(255,255,255,.48);
    font-size: 8px;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
  }

  .music-control { z-index: 800; }
}

@media (max-width: 480px) {
  .mobile-nav { width: 92vw; }
  .brand__text small { font-size: 6.5px; letter-spacing: .12em; }
  .brand__text b { font-size: 17px; }
}
