:root {
  --paper: #f7f3ed;
  --paper-deep: #eee5d9;
  --ink: #292d27;
  --muted: #74766d;
  --olive: #59634d;
  --line: #d9d0c3;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; }
button, input, select, textarea { font: inherit; }
.cover { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 42px 22px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 8% 10%, #e7e6d9 0, transparent 33%), radial-gradient(ellipse at 92% 88%, #e8d9c8 0, transparent 34%), var(--paper); }
.cover::before, .cover::after { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid #b8b39f; border-radius: 48% 52% 40% 60%; opacity: .4; transform: rotate(35deg); pointer-events: none; }
.cover::before { top: -135px; left: -90px; }
.cover::after { bottom: -145px; right: -80px; }
.cover__ornament { color: var(--olive); font-size: 58px; line-height: 1; margin-bottom: 18px; }
.eyebrow { font-size: .7rem; letter-spacing: .24em; color: var(--olive); font-weight: 600; margin: 0 0 18px; }
.cover__names { display: flex; flex-direction: column; gap: 0; font: 400 clamp(3.4rem, 12vw, 6rem)/1.05 var(--serif); margin: 8px 0 20px; }
.cover__names i { font-size: .55em; font-weight: 400; color: var(--olive); margin: 7px 0; }
.cover__date { letter-spacing: .08em; font-size: .88rem; }
.guest-card { margin: 24px 0 20px; padding: 14px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: min(100%, 280px); }
.guest-card p { font-size: .8rem; color: var(--muted); margin: 0 0 3px; }
.guest-card strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 2px; padding: 12px 22px; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); font-weight: 500; font-size: .88rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--dark { color: white; background: var(--ink); }
.button--outline { color: var(--ink); background: transparent; margin-top: 24px; }
.cover__note { color: var(--muted); font-size: .78rem; margin-top: 22px; max-width: 280px; }
.section { padding: 78px 22px; text-align: center; max-width: 900px; margin: 0 auto; }
.section h2 { font: 400 clamp(2rem, 7vw, 3rem)/1.2 var(--serif); margin: 0 auto 22px; }
.intro { max-width: 560px; margin: 0 auto 38px; color: var(--muted); font-size: .93rem; }
.couple { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 54px); flex-wrap: wrap; }
.person { width: min(100%, 280px); }
.portrait { width: 180px; height: 220px; margin: 0 auto 22px; display: grid; place-items: center; font: 400 4rem var(--serif); color: var(--olive); background: linear-gradient(145deg, #e6dfd2, #c9cdbd); border-radius: 100px 100px 3px 3px; }
.portrait--two { background: linear-gradient(145deg, #e9d7c8, #c9c3b2); }
.person h3 { font: 400 1.8rem var(--serif); margin: 0 0 8px; }
.person p { color: var(--muted); font-size: .83rem; margin: 0; }
.ampersand { font: 400 2.5rem var(--serif); color: var(--olive); }
.event { background: #efebe3; max-width: none; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 700px; margin: 0 auto; }
.event-card { padding: 28px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.3); }
.event-card__icon { display: inline-block; color: var(--olive); letter-spacing: .2em; font-size: .75rem; margin-bottom: 12px; }
.event-card h3 { font: 400 1.65rem var(--serif); margin: 0 0 16px; }
.event-card p { margin: 7px 0; font-size: .85rem; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-placeholder { min-height: 180px; display: grid; place-items: center; background: linear-gradient(145deg, #e5ddd0, #c8cbbd); color: #59634d; font: 1.3rem var(--serif); }
.gallery-placeholder:first-child { grid-row: span 2; min-height: 372px; }
.rsvp { background: #e9e7dc; max-width: none; }
.rsvp-form { max-width: 520px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.rsvp-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 600; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; border: 1px solid #c8c7ba; border-radius: 2px; background: rgba(255,255,255,.65); padding: 12px; color: var(--ink); }
.rsvp-form textarea { resize: vertical; }
.small-note { color: var(--muted); font-size: .74rem; max-width: 520px; margin: 18px auto 0; }
.footer { text-align: center; padding: 50px 20px 70px; background: var(--ink); color: #f7f3ed; }
.footer p { font-size: .85rem; color: #d5d3c9; }
.footer__names { font: 400 2.5rem var(--serif); margin: 10px 0 20px; }
.footer small { color: #bdbdb3; font-size: .72rem; }
.music-button { position: fixed; right: 18px; bottom: 18px; z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: white; box-shadow: 0 4px 16px #0002; cursor: pointer; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .section { padding: 60px 20px; }
  .event-grid { grid-template-columns: 1fr; }
  .couple { flex-direction: column; gap: 22px; }
  .ampersand { font-size: 2rem; }
  .gallery-placeholder { min-height: 130px; }
  .gallery-placeholder:first-child { min-height: 272px; }
}
