:root {
  --ivory: #f2ece2;
  --paper: #fcf9f3;
  --ink: #3f3127;
  --muted: #776856;
  --gold: #8d6838;
  --gold-deep: #6f4d26;
  --gold-light: #ccb083;
  --champagne: #e1cfad;
  --sky: #9dc7e5;
  --terracotta: #a95240;
  --blue: #324b68;
  --green: #50664a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.72), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(180,145,95,0.07), transparent 25%),
    repeating-linear-gradient(107deg, rgba(80,62,43,0.012) 0, rgba(80,62,43,0.012) 1px, transparent 1px, transparent 5px),
    var(--ivory);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

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

a { color: inherit; }

.floral {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 20px 28px rgba(73, 51, 27, 0.13));
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 255, 255, 0.98), transparent 30%),
    repeating-linear-gradient(115deg, rgba(83,60,35,0.014) 0, rgba(83,60,35,0.014) 1px, transparent 1px, transparent 6px),
    linear-gradient(145deg, #eadfce 0%, #fdfaf4 47%, #e7dac6 100%);
  transition: opacity 1s var(--ease), visibility 1s;
}

.opening-photo {
  position: absolute;
  inset: -18px;
  z-index: 0;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  object-position: 56% center;
  filter: blur(6px) saturate(0.68) brightness(0.7);
  transform: scale(1.045);
  transition: filter 1.4s var(--ease), transform 1.4s var(--ease);
  pointer-events: none;
  user-select: none;
}

.opening-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 249, 239, 0.58) 0%, rgba(236, 219, 195, 0.30) 40%, rgba(55, 39, 26, 0.20) 100%),
    linear-gradient(180deg, rgba(54, 38, 25, 0.13), rgba(49, 34, 23, 0.29));
  pointer-events: none;
}

.opening::before,
.opening::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  min-width: 360px;
  min-height: 360px;
  border: 1px solid rgba(144, 111, 69, 0.14);
  border-radius: 50%;
  z-index: 2;
  animation: drift 9s ease-in-out infinite alternate;
}

.opening::before { left: -34vw; top: -16vw; }
.opening::after { right: -38vw; bottom: -19vw; animation-delay: -3s; }

.opening-glow {
  position: absolute;
  inset: 8%;
  z-index: 3;
  border: 1px solid rgba(144, 111, 69, 0.38);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.35), 0 0 0 1px rgba(255,255,255,0.55);
  pointer-events: none;
}

.opening-glow::before,
.opening-glow::after {
  content: "";
  position: absolute;
  background: var(--ivory);
}

.opening-glow::before { inset: -2px 35%; }
.opening-glow::after { inset: 35% -2px; }

.envelope {
  position: absolute;
  z-index: 3;
  width: min(520px, 88vw);
  height: min(345px, 58vw);
  border: 1px solid rgba(121, 91, 54, 0.22);
  background: rgba(255, 252, 246, 0.8);
  box-shadow: 0 48px 120px rgba(80, 58, 36, 0.18), inset 0 0 50px rgba(196,162,111,0.08);
  transform: translateY(9%);
}

.envelope::before,
.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.envelope::before {
  clip-path: polygon(0 100%, 0 0, 50% 58%, 100% 0, 100% 100%);
  background: rgba(244, 237, 227, 0.78);
}

.envelope-flap {
  position: absolute;
  inset: 0;
  transform-origin: top;
  clip-path: polygon(0 0, 100% 0, 50% 66%);
  background: linear-gradient(165deg, #fffdf8 6%, #e7d9c6 74%, #f5ede1 100%);
  filter: drop-shadow(0 10px 12px rgba(76, 54, 32, 0.06));
  transition: transform 1.2s var(--ease);
}

.envelope-card {
  position: absolute;
  inset: 12% 8% 3%;
  border: 1px solid rgba(144, 111, 69, 0.18);
  background: rgba(255, 252, 247, 0.9);
  transform: translateY(26%);
  transition: transform 1.15s var(--ease);
}

.opening-content {
  position: relative;
  z-index: 4;
  width: min(460px, 82vw);
  text-align: center;
  transform: translateY(-1%);
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}

.opening-content h1 {
  margin: 18px 0 2px;
  font: 500 clamp(2.3rem, 9vw, 4.6rem)/0.92 var(--serif);
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, var(--gold-deep), #b3915f 46%, var(--gold-deep) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.opening-content h1 em { display: inline-block; margin: 0 0.1em 0 0.18em; font-weight: 400; color: var(--gold); }

.opening-date {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
}

.eyebrow {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1.75;
  text-transform: uppercase;
}

.seal, .monogram, .footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
}

.seal {
  width: 74px;
  height: 74px;
  margin-top: 20px;
  border: 1px solid rgba(108, 74, 36, 0.62);
  border-radius: 50%;
  background: linear-gradient(145deg, #dcc49a, #9d7644 55%, #cbaa77);
  box-shadow: 0 0 0 6px rgba(255,250,242,0.65), 0 0 0 8px rgba(108,74,36,0.22), 0 13px 27px rgba(78,51,24,0.22), inset 2px 2px 6px rgba(255,255,255,0.55), inset -3px -4px 8px rgba(80,50,20,0.25);
  color: #fff8eb;
  font-size: 2rem;
  animation: sealPulse 3.5s ease-in-out infinite;
}

.seal i, .monogram i, .footer-mark i { margin-left: 4px; font-weight: 400; }

.open-button, .rsvp-button, .secondary-button {
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
}

.open-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 9px 0 23px;
  border: 1px solid rgba(71, 56, 44, 0.65);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}

.open-button:hover { background: var(--ink); color: white; transform: translateY(-2px); }

.button-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #b18d59, var(--gold-deep));
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.45), 0 5px 12px rgba(82,56,27,0.18);
  animation: nudge 1.8s ease-in-out infinite;
}

.opening.is-opening .envelope-flap { transform: rotateX(165deg); }
.opening.is-opening .envelope-card { transform: translateY(-78%); }
.opening.is-opening .opening-content { animation: contentLift 0.9s var(--ease) forwards; }
.opening.is-opening .floral-opening { opacity: 0; transform: scale(1.07); }
.opening.is-opening .opening-photo { filter: blur(9px) saturate(0.55) brightness(0.55); transform: scale(1.105); }
.opening.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

.floral-opening {
  z-index: 2;
  width: clamp(310px, 40vw, 610px);
  opacity: 0.46;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  animation: luxuryFloat 7s ease-in-out infinite alternate;
}

.floral-opening-left { top: -8%; left: -8%; }
.floral-opening-right { right: -8%; bottom: -8%; transform: rotate(180deg); animation-name: luxuryFloatReverse; animation-direction: alternate-reverse; }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 70px 24px 90px;
  background:
    linear-gradient(115deg, rgba(96,71,42,0.018) 25%, transparent 25%) 0 0 / 8px 8px,
    radial-gradient(circle at 50% 42%, #fffefa 0%, var(--paper) 35%, #eee5d8 83%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(128,91,46,0.22);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.35);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(44px, 8vw, 80px) 28px;
  border: 1px solid rgba(124, 87, 43, 0.42);
  text-align: center;
  background: rgba(253,250,244,0.48);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.32), 0 28px 90px rgba(88,61,31,0.08), inset 0 0 42px rgba(181,145,92,0.045);
  backdrop-filter: blur(2px);
}

.hero-frame > * { position: relative; z-index: 1; }

.monogram {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border: 1px solid rgba(123,84,40,0.48);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(178,143,93,0.07);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.ornamental-rule { display: flex; align-items: center; justify-content: center; gap: 9px; width: 114px; margin: 0 auto 24px; color: var(--gold); }
.ornamental-rule span { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.ornamental-rule span:last-child { transform: rotate(180deg); }
.ornamental-rule b { font-size: 0.55rem; font-weight: 400; }

.hero h2 {
  margin: 22px 0 28px;
  font: 500 clamp(3.4rem, 10vw, 7rem)/0.85 var(--serif);
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, #5e4124 5%, #ae8a56 42%, #694921 73%, #9d7748 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldSweep 9s linear infinite;
}

.hero h2 span { display: inline-block; margin: 0 0.12em 0 0.18em; color: var(--gold); font-style: italic; font-weight: 400; }

.date-lockup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(450px, 100%);
  margin: 0 auto;
  text-transform: uppercase;
}

.date-lockup span {
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  line-height: 1.7;
}

.date-lockup strong {
  padding: 0 22px;
  border-right: 1px solid rgba(144, 111, 69, 0.45);
  border-left: 1px solid rgba(144, 111, 69, 0.45);
  color: var(--gold);
  font: 400 4rem/1 var(--serif);
}

.time { margin: 23px 0 18px; font: 500 1.5rem var(--serif); letter-spacing: 0.22em; text-transform: uppercase; }
.fine-rule { width: 48px; height: 1px; margin: 0 auto 18px; background: var(--gold-light); }
.venue-location {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto;
  color: inherit;
  text-decoration: none;
}

.venue-location .venue {
  display: block;
  margin: 0;
  font: 600 1rem var(--serif);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.venue-location .city {
  display: block;
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.location-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-detail i { width: 28px; height: 1px; background: rgba(144,111,69,0.4); }
.location-detail svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.location-detail b { font-weight: 600; }
.venue-location:hover .location-detail { color: var(--gold); }

.corner-note {
  position: absolute;
  z-index: 3;
  margin: 0;
  font-size: 0.55rem;
  letter-spacing: 0.27em;
  line-height: 1.75;
  text-transform: uppercase;
}

.top-note { top: 38px; right: 32px; text-align: right; }
.bottom-note { bottom: 35px; left: 32px; }

.halo { position: absolute; border: 1px solid rgba(144, 111, 69, 0.12); border-radius: 50%; }
.halo-one { width: 58vw; height: 58vw; left: -35vw; top: -12vw; }
.halo-two { width: 48vw; height: 48vw; right: -26vw; bottom: -16vw; }

.floral-hero { width: clamp(330px, 38vw, 590px); opacity: 0.64; }
.floral-hero-left { top: -8%; left: -8%; animation: luxuryFloat 8s ease-in-out infinite alternate; }
.floral-hero-right { right: -9%; bottom: -11%; transform: rotate(180deg); animation: luxuryFloatReverse 9s ease-in-out infinite alternate; }

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i { display: block; width: 1px; height: 24px; background: var(--gold); animation: scrollLine 2s infinite; }

.countdown-section {
  position: relative;
  overflow: hidden;
  padding: 74px 24px 80px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(190,150,96,0.14), transparent 30%),
    radial-gradient(circle at 80% 50%, rgba(190,150,96,0.10), transparent 30%),
    linear-gradient(120deg, #2f241d, #4b382b 46%, #2d221b);
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(220,186,134,0.4), inset 0 -1px 0 rgba(220,186,134,0.4);
}

.countdown-section::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(214,181,132,0.16); pointer-events: none; }

.script-heading { margin: 0 0 28px; color: var(--gold-light); font: italic 400 1.7rem var(--serif); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 700px;
  margin: 0 auto;
}

.countdown div { position: relative; padding: 0 10px; }
.countdown div:not(:last-child)::after { content: ""; position: absolute; top: 5%; right: 0; width: 1px; height: 65%; background: rgba(255,255,255,0.2); }
.countdown strong { display: block; font: 400 clamp(2rem, 7vw, 3.7rem)/1 var(--serif); }
.countdown span { display: block; margin-top: 11px; color: #d8cabb; font-size: 0.57rem; letter-spacing: 0.18em; text-transform: uppercase; }

.music-section {
  position: relative;
  padding: 92px 5vw;
  background:
    radial-gradient(circle at 18% 50%, rgba(204,176,131,0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
}

.music-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: 44px;
  align-items: center;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(144,111,69,0.24);
  background: rgba(252,249,243,0.72);
  box-shadow: 0 24px 70px rgba(79,55,29,0.07);
}

.music-copy h2 {
  margin: 7px 0 5px;
  font: 500 clamp(2.6rem, 5vw, 4.3rem)/0.95 var(--serif);
}

.music-copy > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  font: italic 400 1.05rem/1.5 var(--serif);
}

.music-copy > p span { font-size: 0.8em; }

.music-control {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border: 1px solid rgba(111,77,38,0.42);
  border-radius: 999px;
  color: var(--gold-deep);
  background: transparent;
  font: 600 0.62rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.music-control-icon { font-size: 0.9rem; letter-spacing: 0; }

.music-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(141,104,56,0.3);
  box-shadow: 0 15px 40px rgba(55,38,20,0.12);
}

.music-video::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,0.34);
  pointer-events: none;
}

.music-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.music-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 50%;
  color: #fffaf2;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  box-shadow: 0 10px 28px rgba(55,38,20,0.24);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
}

.music-fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.music-fab span { font: 600 0.86rem/1 var(--sans); }

.dress-section {
  position: relative;
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 5vw;
}

.dress-copy { width: min(760px, 100%); margin: 0 auto; }
.dress-copy > .eyebrow, .dress-copy > h2, .dress-intro { text-align: center; }

.dress-copy h2, .details-card h2, .rsvp-content h2 {
  margin: 9px 0 16px;
  font: 500 clamp(3rem, 6vw, 5rem)/0.95 var(--serif);
}

.dress-intro { max-width: 430px; margin: 0 auto 38px; color: var(--muted); font: italic 400 1.28rem/1.5 var(--serif); }

.attire-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  min-height: 154px;
  padding: 24px 28px;
  border-top: 1px solid rgba(144,111,69,0.2);
  border-right: 1px solid rgba(144,111,69,0.12);
  border-left: 2px solid rgba(144,111,69,0.38);
  background: linear-gradient(100deg, rgba(255,255,255,0.52), rgba(255,255,255,0.08));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.attire-card:hover { transform: translateX(4px); box-shadow: 0 15px 40px rgba(79,55,29,0.06); }

.attire-card:last-of-type { border-bottom: 1px solid rgba(144,111,69,0.25); }
.attire-illustration { position: relative; display: grid; place-items: center; align-self: center; width: 82px; height: 126px; }
.attire-illustration::before { content: ""; position: absolute; width: 74px; height: 74px; border: 1px solid rgba(151,111,60,0.2); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.72), rgba(202,171,122,0.08) 60%, transparent 61%); }
.attire-illustration img { position: relative; z-index: 1; display: block; width: auto; max-width: 82px; height: 124px; object-fit: contain; filter: drop-shadow(0 7px 8px rgba(79,53,27,0.08)); }
.attire-card > div:last-child { align-self: center; }
.attire-card h3 { margin: 0 0 8px; font: 600 1.75rem var(--serif); }
.attire-card p { margin: 0 0 8px; font: 400 1.05rem/1.65 var(--serif); }
.attire-card .restriction { margin-bottom: 0; color: var(--muted); font: 500 0.72rem/1.7 var(--sans); }

.palette { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.men-palette { justify-content: flex-start; margin: 12px 0 14px; }
.swatch { width: 25px; height: 25px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 1px rgba(71,56,44,0.12); }
.swatch.sky { background: var(--sky); }
.swatch.coral { background: var(--terracotta); }
.swatch.blue { background: var(--blue); }
.swatch.green { background: var(--green); }
.swatch.navy { background: #17263f; }
.swatch.beige { background: #d8c5a6; }
.swatch.rose { background: #e8b8bd; }
.swatch.salmon { background: #efa58f; }
.swatch.mint { background: #b9d3b4; }
.swatch.butter { background: #f1dda0; }
.palette small { margin-left: 7px; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }

.women-palette {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 12px 0 11px;
}

.women-palette .swatch {
  width: 28px;
  height: 28px;
}

.women-palette small {
  width: 100%;
  margin: 4px 0 0;
  text-align: left;
}

.swatch.butter-soft { background: #efd77a; }
.swatch.sage { background: #99aa91; }
.swatch.olive { background: #78885d; }
.swatch.blush { background: #dbb5b0; }
.swatch.mauve { background: #c98f98; }
.swatch.lilac { background: #c9bdd9; }
.swatch.lavender { background: #aa9bc1; }
.swatch.eucalyptus { background: #b2bba8; }
.swatch.salmon-allowed { background: #eaa08d; }

.women-guidance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(144,111,69,0.15);
}

.fabric-rules {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.fabric-rules > span {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.rule-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(125,88,43,0.38);
  border-radius: 50%;
  overflow: hidden;
}

.rule-icon::after,
.reserved-swatch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 1px;
  background: rgba(119,76,34,0.75);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.no-pattern {
  background: repeating-linear-gradient(45deg, rgba(148,111,69,0.13) 0 3px, transparent 3px 7px);
}

.no-shine::before {
  content: "✦";
  color: #b89059;
  font-size: 1.2rem;
}

.reserved-guide {
  text-align: center;
}

.reserved-guide > small {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reserved-palette {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.reserved-swatch {
  position: relative;
  width: 28px;
  height: 28px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(71,56,44,0.14);
  overflow: hidden;
}

.reserved-white { background: #fff; }
.reserved-nude { background: #d8b9a5; }
.reserved-orange { background: #e7803d; }
.reserved-guide p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details-section { position: relative; overflow: hidden; padding: 62px 5vw 130px; }

.floral-details { top: -14%; right: -10%; width: min(520px, 43vw); opacity: 0.31; transform: rotate(90deg); }

.details-card {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 80px);
  border: 1px solid rgba(124, 87, 43, 0.36);
  text-align: center;
  background: linear-gradient(145deg, rgba(255,253,248,0.9), rgba(246,238,226,0.68));
  box-shadow: 0 0 0 8px rgba(255,255,255,0.34), 0 35px 95px rgba(71, 56, 44, 0.1), inset 0 0 45px rgba(169,128,70,0.035);
}

.details-card::before { content: ""; position: absolute; top: 14px; right: 14px; bottom: 14px; left: 14px; border: 1px solid rgba(154,116,66,0.17); pointer-events: none; }
.details-card::after { content: ""; position: absolute; top: -1px; left: 38%; width: 24%; height: 2px; background: linear-gradient(90deg, transparent, #b99058, transparent); }

.details-card h2 { max-width: 690px; margin-right: auto; margin-left: auto; }
.details-card > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 28px; color: var(--muted); font: 400 1.2rem/1.65 var(--serif); }

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 11px 18px 11px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  box-shadow: 0 10px 25px rgba(92,62,28,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s, background 0.3s;
}

.secondary-button small { padding: 9px 13px; border-radius: 999px; color: white; background: linear-gradient(145deg, #b08a56, var(--gold-deep)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.3); font-size: 0.63rem; letter-spacing: 0.04em; }
.secondary-button:hover { transform: translateY(-3px); background: rgba(144, 111, 69, 0.06); }

.gift-section {
  position: relative;
  padding: 28px 24px 86px;
  text-align: center;
}

.gift-card {
  width: min(650px, 100%);
  margin: 0 auto;
  padding: 42px 30px 38px;
  border-top: 1px solid rgba(144,111,69,0.3);
  border-bottom: 1px solid rgba(144,111,69,0.3);
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.62), transparent 70%);
}

.gift-icon {
  width: 48px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.gift-card h2 { margin: 6px 0 13px; font: 500 clamp(2.5rem, 6vw, 3.8rem)/1 var(--serif); }
.gift-card > p:last-child { max-width: 520px; margin: 0 auto; color: var(--muted); font: italic 400 1.08rem/1.55 var(--serif); }

.rsvp-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70svh;
  overflow: hidden;
  padding: 90px 24px;
  color: white;
  background:
    radial-gradient(circle at 50% -15%, rgba(255,237,200,0.34), transparent 33%),
    linear-gradient(125deg, #6f4d29 0%, #a07a49 42%, #76532d 74%, #b08c5d 100%);
  background-size: auto, 190% 190%;
  animation: satinShift 14s ease-in-out infinite alternate;
  text-align: center;
}

.rsvp-section::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,0.4); box-shadow: inset 0 0 0 5px rgba(255,255,255,0.05); }
.rsvp-orbit { position: absolute; width: min(820px, 110vw); height: min(820px, 110vw); border: 1px solid rgba(255,255,255,0.13); border-radius: 50%; animation: breathe 5s ease-in-out infinite; }
.rsvp-content { position: relative; z-index: 2; }
.rsvp-content h2 { font-size: clamp(3.6rem, 10vw, 7rem); }
.rsvp-content > p:not(.eyebrow):not(.prefill-note) { margin: 0 0 28px; font: italic 400 1.35rem var(--serif); }

.rsvp-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 60px;
  padding: 0 12px 0 26px;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

.rsvp-button span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--ink); font-size: 1rem; }
.rsvp-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(71, 56, 44, 0.2); }
.prefill-note { margin: 15px 0 0; font-size: 0.64rem; letter-spacing: 0.08em; opacity: 0.78; }

.guest-notes {
  width: min(570px, 100%);
  margin: 30px auto 0;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,0.24);
}

.guest-notes p { margin: 0; color: rgba(255,255,255,0.82); font: 500 0.68rem/1.7 var(--sans); letter-spacing: 0.055em; }
.guest-notes p + p { margin-top: 7px; }

footer {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 62svh;
  overflow: hidden;
  padding: 100px 24px 70px;
  color: #fffaf2;
  text-align: center;
  background: #5a422f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(119, 83, 49, 0.18), rgba(33, 24, 18, 0.66) 82%),
    linear-gradient(180deg, rgba(44, 31, 21, 0.22), rgba(42, 28, 18, 0.58));
}

.footer-photo {
  position: absolute;
  inset: -14px;
  z-index: 0;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
  object-position: 54% 58%;
  filter: blur(3px) saturate(0.72) brightness(0.76);
  transform: scale(1.035);
}

footer > *:not(.footer-photo) { position: relative; z-index: 2; }
.footer-mark { width: 80px; height: 80px; border: 1px solid rgba(255,242,219,0.7); border-radius: 50%; color: #f1d3a0; box-shadow: 0 0 0 7px rgba(255,247,233,0.1), 0 12px 35px rgba(30,19,11,0.2); font-size: 2.15rem; }
footer p { margin: 22px 0 27px; font: italic 400 clamp(1.55rem, 4vw, 2rem)/1.45 var(--serif); text-shadow: 0 2px 18px rgba(28,18,11,0.58); }
footer small { color: rgba(255,250,242,0.84); font-size: 0.59rem; letter-spacing: 0.22em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(28,18,11,0.7); }

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

@keyframes drift { to { transform: translate(4vw, 3vw) scale(1.05); } }
@keyframes sealPulse { 50% { box-shadow: 0 0 0 12px rgba(144, 111, 69, 0.035); transform: scale(1.02); } }
@keyframes nudge { 50% { transform: translateY(3px); } }
@keyframes contentLift { to { transform: translateY(-7%); opacity: 0; } }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 48% { transform: scaleY(1); transform-origin: top; } 52% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.7; } }
@keyframes luxuryFloat { to { transform: translate(10px, 8px) rotate(1.2deg); } }
@keyframes luxuryFloatReverse { from { transform: rotate(180deg) translate(0, 0); } to { transform: rotate(181deg) translate(10px, 8px); } }
@keyframes goldSweep { to { background-position: -200% center; } }
@keyframes satinShift { to { background-position: center, 100% 70%; } }

@media (max-width: 760px) {
  .opening-glow { inset: 3%; }
  .opening-content { transform: translateY(-3%); }
  .opening-photo { object-position: 59% center; filter: blur(5px) saturate(0.7) brightness(0.7); }
  .floral-opening { width: 72vw; opacity: 0.3; }
  .floral-opening-left { top: -3%; left: -28%; }
  .floral-opening-right { right: -29%; bottom: -3%; }
  .hero { padding: 74px 18px 88px; }
  .hero::after { inset: 9px; }
  .hero-frame { padding: 52px 18px; }
  .floral-hero { width: 78vw; opacity: 0.45; }
  .floral-hero-left { top: -2%; left: -33%; }
  .floral-hero-right { right: -36%; bottom: -3%; }
  .hero h2 { font-size: clamp(3.2rem, 18vw, 5rem); line-height: 0.92; }
  .hero h2 span { display: block; width: max-content; margin: 0.34em auto 0.18em; line-height: 0.65; }
  .date-lockup span { padding: 7px 8px; font-size: 0.59rem; letter-spacing: 0.13em; }
  .date-lockup strong { padding: 0 15px; font-size: 3.3rem; }
  .venue { font-size: 0.84rem; letter-spacing: 0.15em; }
  .corner-note { display: none; }
  .countdown-section { padding: 60px 16px 66px; }
  .countdown div { padding: 0 4px; }
  .countdown strong { font-size: 2.1rem; }
  .countdown span { font-size: 0.48rem; letter-spacing: 0.1em; }
  .music-section { padding: 64px 22px; }
  .music-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; text-align: center; }
  .music-copy h2 { font-size: 3.3rem; }
  .music-control { margin: 0 auto; }
  .music-fab { right: 15px; bottom: 15px; width: 44px; height: 44px; }
  .dress-section { padding: 80px 22px; }
  .dress-copy h2 { font-size: 4rem; }
  .attire-card { grid-template-columns: 70px 1fr; gap: 14px; min-height: 134px; padding: 21px 14px; }
  .attire-illustration { width: 66px; height: 106px; }
  .attire-illustration::before { width: 58px; height: 58px; }
  .attire-illustration img { max-width: 66px; height: 104px; }
  .women-palette { gap: 7px; }
  .women-palette .swatch { width: 25px; height: 25px; }
  .women-guidance { grid-template-columns: 1fr; gap: 18px; }
  .fabric-rules { gap: 34px; }
  .details-section { padding: 0 22px 80px; }
  .floral-details { width: 78vw; right: -39%; opacity: 0.23; }
  .details-card { padding: 46px 22px; }
  .details-card h2 { font-size: 3rem; }
  .secondary-button { flex-direction: column; gap: 7px; padding: 15px 18px; border-radius: 22px; }
  .rsvp-section { min-height: 64svh; }
  footer { min-height: 66svh; }
  .footer-photo { object-position: 58% 56%; filter: blur(3px) saturate(0.7) brightness(0.72); }
}

@media (max-width: 380px) {
  .opening-content h1 { font-size: 2.05rem; }
  .eyebrow { font-size: 0.61rem; letter-spacing: 0.23em; }
  .palette { flex-wrap: wrap; }
  .palette small { width: 100%; margin: 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
