 :root {
  --ivory: #f6f1e8;
  --paper: #fbf9f4;
  --champagne: #c6ad87;
  --gold: #a78e6c;
  --ink: #302b25;
  --muted: #81786d;
  --line: #ded5c8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.is-hidden { display: none; }
.opening { min-height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--ivory); text-align: center; padding: 35px 20px; }
.opening:before, .opening:after { content: ""; position: absolute; width: 36vw; height: 36vw; max-width: 430px; max-height: 430px; border: 1px solid #d9cbb7; border-radius: 50%; opacity: .65; }
.opening:before { transform: translate(-30%, -23%); }
.opening:after { transform: translate(30%, 23%); }
.opening-inner { position: relative; z-index: 1; animation: rise 1.1s ease both; }
.eyebrow { display: block; color: var(--gold); letter-spacing: .22em; font-size: .67rem; font-weight: 600; }
.opening h1, .hero h1 { font: 400 clamp(3.5rem, 9vw, 7rem)/.88 var(--serif); letter-spacing: -.045em; margin: 25px 0 20px; }
h1 i, h2 i, .closing-names i { color: var(--gold); font-weight: 400; }
.opening-inner > p { letter-spacing: .24em; font-size: .8rem; margin: 0 0 34px; }
.opening-inner small { display: block; margin-top: 23px; color: var(--muted); font-size: .72rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--ink); padding: 15px 24px; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; cursor: pointer; transition: .25s ease; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--gold); border-color: var(--gold); }
.button-outline { margin-top: 30px; border-color: var(--gold); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: white; border-color: var(--ink); }
.opening-flower { position: absolute; color: #cdbb9f; font-size: 4rem; opacity: .55; }
.flower-one { top: 10%; left: 10%; }.flower-two { bottom: 9%; right: 11%; font-size: 5rem; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 7vw; background: rgba(251,249,244,.94); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(222,213,200,.7); backdrop-filter: blur(12px); }
.brand { font: 500 1.6rem var(--serif); }.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.nav-links a:hover { color: var(--gold); }
.music-toggle { border: 1px solid var(--line); background: transparent; border-radius: 30px; padding: 9px 14px; color: var(--ink); font-size: .72rem; cursor: pointer; }
.music-toggle.playing { background: var(--ink); color: white; }
.section { padding: 110px 8vw; }
.hero { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; position: relative; padding-top: 65px; padding-bottom: 65px; }
.hero-image { min-height: 560px; background: linear-gradient(0deg,rgba(48,43,37,.08),rgba(48,43,37,.02)), url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1500&q=85") center/cover; }
.hero-copy { max-width: 460px; padding: 30px 0; }
.hero h1 { font-size: clamp(4.5rem, 8vw, 7.5rem); margin: 27px 0; }
.thin-line { width: 58px; height: 1px; background: var(--gold); margin: 30px 0; }
.hero-date { letter-spacing: .18em; font-size: .72rem; font-weight: 600; }
.hero-note { max-width: 340px; color: var(--muted); line-height: 1.9; font-size: .9rem; margin: 24px 0 35px; }
.text-link { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 9px; }.text-link span { margin-left: 15px; }
.hero-vertical { position: absolute; right: 3.3vw; bottom: 100px; writing-mode: vertical-rl; letter-spacing: .2em; font-size: .6rem; color: var(--gold); }
.intro { text-align: center; background: var(--ivory); }
h2 { font: 400 clamp(2.8rem, 5.5vw, 4.8rem)/.98 var(--serif); letter-spacing: -.025em; margin: 22px 0; }
.section-copy { max-width: 570px; margin: 20px auto 0; color: var(--muted); line-height: 1.9; font-size: .88rem; }
.couple-grid { max-width: 780px; margin: 65px auto 0; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 25px; }
.person-photo { width: min(100%, 260px); aspect-ratio: 4/5; margin: auto; background-size: cover; background-position: center; filter: saturate(.72); }
.person-one { background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=700&q=85"); }
.person-two { background-image: url("https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=700&q=85"); }
.person h3 { font: 500 2.4rem var(--serif); margin: 22px 0 7px; }
.person p { color: var(--muted); font-size: .77rem; line-height: 1.8; }.person p span { color: var(--ink); }
.ampersand { font: italic 3rem var(--serif); color: var(--gold); }
.countdown-section { text-align: center; background: #eae1d4; }
.countdown { display: flex; justify-content: center; gap: clamp(20px, 6vw, 75px); margin: 48px auto 25px; }
.countdown div { display: grid; gap: 8px; min-width: 65px; }
.countdown strong { font: 400 clamp(2.5rem, 5vw, 4rem) var(--serif); }
.countdown span { font-size: .63rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.countdown-date { letter-spacing: .2em; font-size: .7rem; color: var(--gold); }
.event { text-align: center; }
.event-cards { display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; margin: 55px auto 0; border: 1px solid var(--line); }
.event-card { padding: 48px 25px; }.event-card-accent { background: var(--ivory); border-left: 1px solid var(--line); }
.event-number { display: block; font: 400 2.6rem var(--serif); color: var(--champagne); margin-bottom: 20px; }
.event-card h3 { font: 500 2.1rem var(--serif); margin: 18px 0; }
.event-time { line-height: 1.9; font-size: .85rem; }.event-place { color: var(--muted); font-size: .78rem; line-height: 1.8; margin-top: 20px; }
.small-note { color: #978e83; font-size: .7rem; margin-top: 15px; }
.gallery-section { text-align: center; background: var(--ivory); }
.gallery-grid { max-width: 1000px; margin: 50px auto 0; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery-item { border: 0; cursor: zoom-in; background-size: cover; background-position: center; transition: filter .3s, transform .3s; min-width: 0; }
.gallery-item:hover { filter: brightness(.88); transform: scale(.99); }
.gallery-a { grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1100&q=85"); }
.gallery-b { background-image: url("https://images.unsplash.com/photo-1537633552985-df8429e8048b?auto=format&fit=crop&w=900&q=85"); }
.gallery-c { background-image: url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=900&q=85"); }
.rsvp-section { text-align: center; }
.rsvp-form { max-width: 520px; margin: 45px auto 0; text-align: left; display: grid; gap: 10px; }
.rsvp-form label { font-size: .72rem; letter-spacing: .07em; margin-top: 10px; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; border: 1px solid var(--line); background: #fffefa; padding: 14px 15px; color: var(--ink); outline: none; border-radius: 0; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--gold); }
.rsvp-form textarea { resize: vertical; }.rsvp-form .button { margin-top: 12px; }
.form-status { min-height: 20px; color: var(--gold); font-size: .8rem; text-align: center; }
.closing { text-align: center; background: var(--ivory); padding-top: 120px; padding-bottom: 120px; }
.closing h2 { margin: 30px 0; }.closing p { color: var(--muted); font-size: .85rem; }
.closing-names { font: 400 clamp(2.8rem, 6vw, 5rem) var(--serif); margin: 45px 0 25px; }
.footer { text-align: center; padding: 25px; color: var(--muted); font-size: .65rem; letter-spacing: .1em; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 30; background: rgba(25,22,19,.94); place-items: center; padding: 40px; }
.lightbox.open { display: grid; }.lightbox img { max-width: min(100%, 1000px); max-height: 85vh; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 28px; border: 0; background: none; color: white; font-size: 2.5rem; cursor: pointer; }
@media (max-width: 760px) {
  .topbar { height: 64px; padding: 0 5vw; }.nav-links { gap: 12px; font-size: .58rem; }.nav-links a:nth-child(3) { display: none; }
  .music-toggle { padding: 8px 10px; }.music-toggle span { display: none; }
  .section { padding: 78px 7vw; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 25px; }.hero-image { min-height: 390px; order: 2; }.hero-copy { order: 1; padding: 20px 0 0; }.hero-vertical { display: none; }
  .hero h1 { font-size: clamp(4rem, 16vw, 6rem); }
  .couple-grid { grid-template-columns: 1fr 35px 1fr; gap: 8px; margin-top: 45px; }.person h3 { font-size: 1.8rem; }.person p { font-size: .65rem; }.ampersand { font-size: 2rem; }
  .event-cards { grid-template-columns: 1fr; }.event-card-accent { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-rows: 210px 150px; gap: 9px; }
  .countdown { gap: 14px; }.countdown div { min-width: 52px; }.countdown strong { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
