:root {
  --rose: #b89a56;
  --rose-dark: #1B5E20;
  --rose-pale: #eee5cf;
  --rose-wash: #f6f2e6;
  --ink: #263c2b;
  --muted: #77766a;
  --gray-flower: #a5a184;
  --card-radius: 3px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f6f2e6; font-family: var(--sans); font-size: 14px; }
button, input, textarea { font: inherit; }
a { color: inherit; }
.section-pad { padding: 104px max(24px, calc((100% - 1120px) / 2)); text-align: center; }
.eyebrow { color: var(--rose-dark); display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.7; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h2 { font: 500 clamp(42px, 6vw, 65px)/.95 var(--serif); margin: 18px 0 25px; }
.section-pad h2, .gallery-heading h2 { font-family: var(--script); font-weight: 400; line-height: 1.15; }
.button { align-items: center; background: #1B5E20; border: 1px solid transparent; border-radius: 8px; color: #e2cb87; cursor: pointer; display: inline-flex; font-size: 10px; font-weight: 700; gap: 20px; justify-content: center; letter-spacing: .13em; min-height: 48px; padding: 0 23px; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark, .button-outline { background: #1B5E20; color: #e2cb87; }
.button-dark:hover { background: var(--rose-dark); }
.button-outline:hover { background: #124718; }

.loading-screen { align-items: center; background: radial-gradient(ellipse at center, #faf7ed 0, #f3eddd 100%); display: flex; flex-direction: column; inset: 0; justify-content: center; min-height: 100dvh; overflow: hidden; position: fixed; text-align: center; transition: opacity .8s, visibility .8s; z-index: 20; }
.loading-screen.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.loading-screen:before, .loading-screen:after { border: 1px solid rgba(184,154,86,.33); content: ""; inset: 16px; pointer-events: none; position: absolute; }
.loading-screen:after { border-color: rgba(184,154,86,.19); inset: 22px; }
.loading-screen > :not(.envelope) { position: relative; z-index: 1; }
.loading-intro { margin-bottom: 25px; }
.envelope { background-color: #e9e1d0; border: 1px solid #c9b986; box-shadow: 0 25px 55px rgba(48,55,39,.16), inset 0 0 0 7px rgba(255,255,255,.16); height: clamp(270px, 42vh, 360px); max-width: 560px; position: relative; transition: opacity .55s, transform .55s; width: min(82vw, 560px); }
.envelope:before { border: 1px solid rgba(184,154,86,.56); content: ""; inset: 12px; pointer-events: none; position: absolute; z-index: 3; }
.envelope-flap { background: linear-gradient(160deg, #f0e9d9, #ded3ba); border-bottom: 1px solid rgba(167,142,83,.54); clip-path: polygon(0 0, 100% 0, 50% 74%); height: 66%; left: 0; position: absolute; top: 0; transform-origin: 50% 0; transition: transform .55s ease; width: 100%; z-index: 2; }
.envelope-folds { inset: 0; pointer-events: none; position: absolute; z-index: 3; }
.envelope-folds:before, .envelope-folds:after { border-top: 1px solid rgba(130,111,67,.22); bottom: 0; content: ""; position: absolute; width: 58%; }
.envelope-folds:before { left: 0; transform: rotate(-32deg); transform-origin: left bottom; }
.envelope-folds:after { right: 0; transform: rotate(32deg); transform-origin: right bottom; }
.envelope-address { left: 16px; position: absolute; right: 16px; top: 17%; z-index: 4; }
.loading-names { color: #1B5E20; font: 400 clamp(47px, 8vw, 78px)/.8 var(--script); margin: 14px 0 7px; }
.loading-names span, .hero h1 span, .site-footer h2 span { color: var(--rose-dark); font-style: italic; }
.loading-date { color: var(--muted); font-size: 10px; letter-spacing: .22em; margin: 10px 0 0; }
.seal-stamp { align-items: center; background: radial-gradient(circle at 35% 30%, #34743a, #1B5E20 75%); border: 1px solid rgba(226,203,135,.8); border-radius: 50%; box-shadow: inset 2px 2px 3px rgba(255,255,255,.2), inset -2px -3px 4px rgba(10,45,14,.35), 0 3px 6px rgba(48,55,39,.16); color: #e2cb87; cursor: pointer; display: flex; flex-direction: column; font-weight: 700; height: 92px; justify-content: center; left: 50%; padding: 0; position: absolute; top: 72%; transform: translate(-50%, -50%); transition: box-shadow .2s, transform .2s; width: 92px; z-index: 5; }
.seal-stamp:before, .seal-stamp:after { border: 1px solid rgba(226,203,135,.52); border-radius: 50%; content: ""; inset: 5px; pointer-events: none; position: absolute; }
.seal-stamp:after { border-color: rgba(255,255,255,.28); inset: 9px; }
.seal-stamp:hover { box-shadow: inset 2px 2px 3px rgba(255,255,255,.24), inset -2px -3px 4px rgba(10,45,14,.4), 0 5px 10px rgba(48,55,39,.2); transform: translate(-50%, -50%) scale(1.05); }
.seal-stamp:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 5px; }
.seal-flower { font-size: 23px; margin-bottom: 3px; }
.seal-caption { font: 700 10px var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.envelope.is-opening { opacity: 0; transform: translateY(24px) scale(.94); }
.envelope.is-opening .envelope-flap { transform: rotateX(180deg); }
.loading-note { color: var(--muted); font: italic 16px var(--serif); margin: 27px 0 0; }
.loading-hint { color: #918667; font-size: 9px; letter-spacing: .16em; margin: 10px 0 0; text-transform: uppercase; }

.hero { align-items: center; background: #81726e; display: flex; height: min(820px, 100svh); justify-content: center; min-height: 620px; overflow: hidden; position: relative; text-align: center; }
.hero-image { background-image: url("https://images.unsplash.com/photo-1537633552985-df8429e8048b?auto=format&fit=crop&w=2200&q=85"); background-position: center 45%; background-size: cover; inset: -9% 0; position: absolute; transform: translateY(var(--parallax, 0px)) scale(1.05); will-change: transform; }
.hero-shade { background: linear-gradient(180deg,rgba(24,20,20,.14),rgba(31,25,26,.42) 48%,rgba(31,25,26,.18)); inset: 0; position: absolute; }
.hero-copy { color: white; position: relative; z-index: 1; }
.light-eyebrow { color: #e7d5a5; }
.hero h1 { font: 400 clamp(60px, 10vw, 118px)/1.05 var(--script); margin: 24px 12px 20px; text-shadow: 0 2px 22px rgba(0,0,0,.14); }
.hero h1 span { color: #e3c77f; }
.hero-copy > p { font: italic 19px var(--serif); letter-spacing: .12em; }
.scroll-link { align-items: center; bottom: -155px; color: white; display: flex; flex-direction: column; font-size: 8px; gap: 12px; left: 50%; letter-spacing: .18em; position: absolute; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.scroll-line { background: rgba(255,255,255,.7); height: 42px; width: 1px; }
.hero-side-note { color: rgba(255,255,255,.75); font-size: 8px; letter-spacing: .2em; position: absolute; right: 31px; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right; }
.hero-flower { bottom: 31px; color: #e3d2a4; font-size: 46px; opacity: .8; position: absolute; right: 8%; }

.welcome { background: #1B5E20; color: #fffdf4; isolation: isolate; overflow: visible; position: relative; }
.section-flower { color: #d7be79; font-size: 130px; opacity: .16; position: absolute; right: 8%; top: 25%; transform: rotate(15deg); }
.ornament { align-items: center; color: var(--rose); display: flex; font-size: 20px; gap: 13px; justify-content: center; margin: 38px auto 28px; }
.ornament span { background: #d9c99f; height: 1px; width: 62px; }
.guest-greeting h3 { font: 400 38px/1.1 var(--script); margin: 7px 0 2px; }
.guest-greeting p { color: #e6e8d9; font-size: 11px; margin: 0; }
.parents-band { align-items: center; background: #f6f2e6; color: var(--ink); display: flex; flex-direction: column; justify-content: center; margin-top: 48px; min-height: 230px; padding: 52px 20px; position: relative; text-align: center; }
.parents-band h2 { font: 400 clamp(34px, 5vw, 48px)/1.1 var(--script); margin: 0 0 7px; }
.parents-intro { color: var(--muted); font-size: 13px; margin: 0 0 25px; }
.parents-content { align-items: center; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); justify-content: center; max-width: 1180px; width: 100%; }
.parent-block { min-width: 0; text-align: center; }
.parent-block p { color: var(--ink); font: italic 14px/1.5 var(--serif); margin: 8px 0 0; }
.parent-divider { color: #d7be79; font-size: 22px; }

.date-section { background: #fbf8ee; }
.date-section h2 { margin-bottom: 37px; }
.date-card { align-items: center; border: 0; border-radius: var(--card-radius); display: grid; grid-template-columns: 1fr 1.15fr 1fr; margin: auto; max-width: 560px; padding: 20px 14px; position: relative; }
.date-weekday, .date-year { align-items: center; color: var(--muted); display: flex; font-size: 10px; justify-content: center; letter-spacing: .18em; min-height: 82px; text-transform: uppercase; }
.date-weekday { border-right: 1px solid rgba(41,56,47,.16); padding: 0 12px; }
.date-main { align-items: center; display: flex; flex-direction: column; justify-content: center; margin: 0; min-height: 82px; padding: 0 12px; }
.date-day { color: var(--rose-dark); font: 400 clamp(56px, 7vw, 76px)/.85 var(--serif); }
.date-month { color: var(--ink); font: 400 clamp(17px, 2.4vw, 23px)/1.2 var(--serif); margin-top: 8px; }
.date-year { border-left: 1px solid rgba(41,56,47,.16); font-size: 12px; letter-spacing: .2em; padding: 0 12px; }
.countdown-heading { margin-top: 34px; }
.countdown-heading h3 { color: var(--rose-dark); font: 400 38px/1.1 var(--script); margin: 0 0 4px; }
.countdown-heading p { color: var(--muted); font: italic 11px var(--serif); letter-spacing: .08em; margin: 0; }
.countdown { align-items: center; display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.countdown > div { align-items: center; background: transparent; border: 0; border-radius: 0; display: flex; flex: 0 0 82px; flex-direction: column; gap: 4px; height: 82px; justify-content: center; padding: 8px; }
.countdown strong { color: var(--ink); font: 500 34px var(--serif); }
.countdown span { color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.countdown > i { color: var(--rose); font: 24px var(--serif); }

.details-section { background: var(--rose-wash); }
.details-section h2 { margin-bottom: 48px; }
.location-grid { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); margin: 0 auto; max-width: 900px; text-align: center; }
.location-card { background: #ebe5d3; border: 0; border-radius: var(--card-radius); min-height: 310px; padding: 38px 24px 34px; }
.location-icon { color: #1B5E20; font-size: 76px; margin-bottom: 24px; }
.location-card h3 { font: 400 36px/1.1 var(--script); margin: 11px 0 6px; }
.location-time { color: var(--muted); font-size: 11px; letter-spacing: .12em; margin: 0 0 21px; }
.text-link { background: #1B5E20; border: 0; border-radius: 8px; color: #e2cb87; display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; padding: 12px 16px; text-decoration: none; text-transform: uppercase; }
.text-link span { font-size: 13px; margin-left: 7px; }
.location-card .text-link { background: #1B5E20; font-size: 10px; letter-spacing: .12em; padding: 14px 20px; transition: background .2s, transform .2s; }
.location-card .text-link:hover { background: #124718; transform: translateY(-2px); }
.notes-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 500px); justify-content: center; margin: 32px auto 0; max-width: 850px; }
.note-card { background: #ebe5d3; border: 0; border-radius: var(--card-radius); padding: 29px 25px; }
.note-icon { color: #1B5E20; display: block; font-size: 58px; margin-bottom: 15px; }
.note-card h3 { font: 400 29px/1.1 var(--script); margin: 9px auto 6px; max-width: 380px; }
.note-card p { color: var(--muted); font-size: 10px; margin-bottom: 0; }

.timeline-section { background: #fbf8ee; }
.timeline-heading > p { color: var(--muted); font: italic 16px var(--serif); margin-bottom: 42px; }
.timeline { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; max-width: 1080px; }
.timeline-item { min-width: 0; }
.timeline-content { align-items: center; background: #fffdf6; border: 0; display: flex; flex-direction: column; min-height: 220px; padding: 23px 16px 18px; position: relative; text-align: center; }
.timeline-marker { align-items: center; background: #1B5E20; border: 0; border-radius: 50%; color: #f5e8bd; display: flex; font-size: 22px; height: 56px; justify-content: center; margin: 0 auto 15px; width: 56px; }
.timeline-item time { color: var(--rose-dark); display: block; font-size: 16px; font-weight: 600; letter-spacing: .08em; margin-bottom: 8px; }
.timeline-item h3 { font: 400 27px/1.05 var(--script); margin: 0; }
.timeline-step { bottom: 11px; color: #c1ae7c; font: 500 9px var(--serif); letter-spacing: .14em; position: absolute; right: 12px; }

.gallery-section { background: #ebe5d3; overflow: hidden; padding-bottom: 56px; }
.gallery-heading { padding-bottom: 42px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-grid { display: grid; gap: 17px; grid-auto-rows: minmax(165px, 220px); grid-template-columns: repeat(4, minmax(0, 1fr)); margin: auto; max-width: 1140px; padding: 0 24px; }
.gallery-photo { background-color: #d8cdaf; background-position: center; background-size: cover; border: 0; box-shadow: 0 5px 16px rgba(48,55,39,.14); min-width: 0; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-photo:hover { box-shadow: 0 9px 22px rgba(48,55,39,.22); transform: translateY(-4px); }
.gallery-photo-5 { grid-column: span 2; }
.gallery-photo-6 { grid-column: span 2; }

.gifts-section { background: #fbf8ee; }
.gifts-section h2 { font-size: clamp(38px, 5vw, 55px); margin-bottom: 45px; }
.gift-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; }
.gift-card { align-items: center; background: var(--rose-wash); border: 0; border-radius: var(--card-radius); display: flex; flex-direction: column; min-height: 350px; padding: 29px 30px; }
.gift-icon { color: var(--rose); font-size: 27px; }
.gift-card h3 { font: 400 34px/1.1 var(--script); margin: 9px 0; }
.gift-card p { color: var(--muted); font-size: 11px; line-height: 1.8; margin-bottom: 16px; max-width: 280px; }
.gift-qr { background: white; height: 138px; object-fit: contain; padding: 5px; width: 138px; }
.qr-caption { color: var(--muted); font-size: 8px; letter-spacing: .12em; margin-top: 7px; text-transform: uppercase; }
.gift-store { justify-content: flex-start; }
.gift-store .button { margin-top: 10px; }
.gift-illustration { color: #d8c99e; font-size: 100px; margin-top: 23px; }

.rsvp-section { background: #1B5E20; color: #fffdf4; isolation: isolate; min-height: 400px; overflow: visible; position: relative; }
.rsvp-section h2 { font-size: clamp(54px, 7vw, 76px); margin: 14px 0; }
.rsvp-section > p { color: #e6e8d9; font-size: 12px; margin-bottom: 24px; }
.rsvp-form { display: grid; gap: 12px; margin: 0 auto; max-width: 340px; text-align: left; }
.rsvp-form label { color: #fffdf4; display: flex; flex-direction: column; font-size: 10px; gap: 7px; letter-spacing: .05em; }
.rsvp-form select { background: #fbf8ee; border: 1px solid #d8cdaF; border-radius: 3px; color: var(--ink); min-height: 43px; padding: 8px 10px; }
.rsvp-form .button { width: 100%; }
.rsvp-form .form-message { text-align: center; }
.rsvp-form[hidden] { display: none; }
.rsvp-section > p strong { color: #e2cb87; }
.rsvp-note { color: #e6e8d9; display: block; font: italic 14px var(--serif); margin-top: 19px; }
.rsvp-flower { color: var(--gray-flower); font-size: 130px; opacity: .25; position: absolute; right: 10%; top: 9%; transform: rotate(20deg); }
.site-footer { background: var(--rose-wash); padding: 58px 20px 36px; text-align: center; }
.footer-flower { color: var(--gray-flower); font-size: 25px; }
.site-footer h2 { font: 400 54px/1.15 var(--script); margin: 10px 0 4px; }
.site-footer p { color: var(--muted); font: italic 15px var(--serif); margin-bottom: 21px; }
.site-footer > span:last-of-type { color: var(--rose-dark); font-size: 9px; letter-spacing: .2em; }
.admin-link { color: #b4a9a9; display: block; font-size: 9px; margin: 27px auto 0; text-decoration: none; width: max-content; }
.admin-link:hover { color: var(--rose-dark); }
.promo-footer { align-items: center; background: #111; color: #fff; display: flex; flex-direction: column; gap: 16px; padding: 35px 20px 38px; text-align: center; }
.promo-footer > p { font: 600 15px/1.3 "Nunito Sans", var(--sans); margin: 0; }
.promo-footer-link { align-items: center; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.promo-logo-wrap { order: 1; }
.promo-footer-link > .promo-envelope { color: #fff; font-size: 20px; order: 2; }
.promo-footer-link > span:last-child { order: 3; }
.promo-logo-wrap { align-items: center; display: flex; justify-content: center; position: relative; }
.promo-footer-link img { display: block; height: auto; max-height: 52px; max-width: min(155px, 60vw); object-fit: contain; }
.promo-footer-link span { color: #e3c77f; font: 600 8px/1.4 "Nunito Sans", var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.promo-footer-link span i { font-size: 7px; margin-left: 4px; }
.promo-footer-link:hover span { color: #fff; }

.admin-access { align-items: center; background: rgba(42,34,36,.55); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 31; }
.admin-access[hidden], .admin-panel[hidden], .panel-backdrop[hidden] { display: none; }
.card { background: #fbf8ee; border-radius: var(--card-radius); box-shadow: 0 20px 70px rgba(40,25,25,.16); }
.admin-login { max-width: 390px; padding: 38px; position: relative; width: 100%; }
.admin-login h2 { font-size: 42px; margin: 7px 0 10px; }
.admin-login p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.admin-login label, .admin-form label, .guest-link-form label { color: var(--ink); display: flex; flex-direction: column; font-size: 10px; gap: 7px; letter-spacing: .05em; }
.admin-login input, .admin-form input, .admin-form textarea, .guest-link-form input, .generated-link input { background: #fbf8ee; border: 1px solid #d8cdaF; border-radius: 3px; color: var(--ink); min-height: 42px; padding: 9px 11px; width: 100%; }
.admin-login .button { margin-top: 15px; width: 100%; }
.close-button { align-items: center; background: #1B5E20; border: 0; border-radius: 50%; color: #e2cb87; cursor: pointer; display: inline-flex; font-size: 18px; height: 36px; justify-content: center; line-height: 1; padding: 3px 8px; width: 36px; }
.admin-login .close-button { position: absolute; right: 11px; top: 9px; }
.form-message { color: var(--rose-dark) !important; font-size: 10px !important; min-height: 15px; }
.admin-panel { background: #fbf8ee; border-radius: var(--card-radius) 0 0 var(--card-radius); bottom: 0; box-shadow: -15px 0 55px rgba(40,25,25,.13); max-width: 520px; overflow: auto; padding: 28px 30px 45px; position: fixed; right: 0; top: 0; width: 100%; z-index: 33; }
.admin-panel-header { align-items: center; display: flex; justify-content: space-between; }
.admin-header-actions { align-items: center; display: flex; gap: 8px; }
.admin-header-actions .text-link { cursor: pointer; }
.admin-panel-header h2 { font-size: 44px; margin: 2px 0 8px; }
.admin-warning { background: #eee7d6; border-radius: 3px; color: var(--muted); font-size: 10px; line-height: 1.65; padding: 11px 13px; }
.admin-form details { border-bottom: 1px solid #ded5bd; }
.admin-form summary { cursor: pointer; font: 500 21px var(--serif); list-style: none; padding: 16px 0; }
.admin-form summary:after { color: var(--rose-dark); content: "+"; float: right; font: 18px var(--sans); }
.admin-form details[open] summary:after { content: "−"; }
.admin-fields { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 17px; }
.admin-fields label:first-child:nth-last-child(odd), .admin-fields label:last-child:nth-child(odd) { grid-column: 1 / -1; }
.admin-fields input, .admin-fields textarea { font-size: 11px; letter-spacing: 0; }
.admin-fields textarea { resize: vertical; }
.itinerary-fields { grid-template-columns: 1fr; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.admin-actions .button { flex: 1; font-size: 9px; min-width: 145px; padding: 0 10px; }
.guest-link-section { border-top: 1px solid #ded5bd; margin-top: 28px; padding-top: 25px; }
.guest-link-section h3 { font: 500 28px var(--serif); margin: 5px 0 16px; }
.guest-list { margin-top: 25px; }
.guest-list h3 { font: 500 24px var(--serif); margin-bottom: 8px; }
.guest-row { align-items: center; border-top: 1px solid #ded5bd; display: flex; gap: 10px; justify-content: space-between; padding: 12px 0; }
.guest-row div { display: flex; flex-direction: column; gap: 4px; }
.guest-row strong { font: 500 18px var(--serif); }
.guest-row span, .guest-empty { color: var(--muted); font-size: 9px; }
.guest-row .text-link { cursor: pointer; flex: 0 0 auto; font-size: 8px; }
.admin-rsvp-section { border-top: 1px solid #ded5bd; margin-top: 32px; padding-top: 26px; }
.admin-rsvp-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.admin-rsvp-heading h3 { font: 400 31px/1.1 var(--script); margin: 4px 0 12px; }
.admin-rsvp-heading .button { flex: 0 0 auto; font-size: 9px; gap: 8px; min-height: 42px; padding: 0 13px; }
.admin-rsvp-heading .button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.rsvp-summary { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); margin: 13px 0; }
.rsvp-summary > div { background: var(--rose-wash); border-radius: 10px; display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; text-align: center; }
.rsvp-summary strong { color: var(--rose-dark); font: 500 25px var(--serif); }
.rsvp-summary span { color: var(--muted); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.rsvp-table-wrap { overflow-x: auto; width: 100%; }
.rsvp-table { border-collapse: collapse; font-size: 10px; min-width: 580px; text-align: left; width: 100%; }
.rsvp-table th { background: #eee7d6; color: var(--rose-dark); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.rsvp-table th, .rsvp-table td { border-bottom: 1px solid #ded5bd; padding: 10px 8px; }
.rsvp-table tbody tr:hover { background: var(--rose-wash); }
.guest-link-form { display: grid; gap: 12px; }
.guest-link-form .button { width: 100%; }
.generated-link { margin-top: 12px; }
.generated-link .button { margin-top: 8px; width: 100%; }
.panel-backdrop { background: rgba(42,34,36,.42); inset: 0; position: fixed; z-index: 32; }
.music-toggle { align-items: center; background: #1B5E20; border: 1px solid #e2cb87; border-radius: 50%; bottom: 22px; box-shadow: 0 5px 20px rgba(64,57,48,.15); color: #e2cb87; cursor: pointer; display: flex; height: 48px; justify-content: center; position: fixed; right: 22px; width: 48px; z-index: 40; }
.music-toggle:hover { background: #124718; transform: translateY(-2px); }
.music-toggle:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 3px; }
.music-toggle .music-pause-icon, .music-toggle[aria-pressed="true"] .music-play-icon { display: none; }
.music-toggle[aria-pressed="true"] .music-pause-icon { display: inline; }

.button { border-radius: 8px; }
.button-outline { border-color: #b89a56; }
.button-outline:hover { background: #eee5cf; }
.hero { background-color: #1B5E20; }
.hero-shade { background: linear-gradient(180deg,rgba(15,42,18,.18),rgba(15,42,18,.55) 48%,rgba(15,42,18,.2)); }
.site-footer { background-color: #f6f2e6; }
.location-card, .gift-card { box-shadow: 0 8px 28px rgba(55,64,48,.045); }
.location-card h3, .gift-card h3, .timeline-item h3, .guest-greeting h3 { color: #1B5E20; }
.admin-access { background: rgba(28,42,33,.58); }
.admin-panel, .card, .rsvp-form select, .admin-login input, .admin-form input, .admin-form textarea, .guest-link-form input, .generated-link input { background-color: #fbf8ee; }

.welcome:before, .welcome:after, .rsvp-section:before, .rsvp-section:after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  height: 48px;
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}
.welcome:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231B5E20' d='M0 64 C220 8 440 72 690 38 C920 6 1150 62 1440 20 L1440 80 L0 80 Z'/%3E%3C/svg%3E");
  top: -47px;
}
.rsvp-section:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231B5E20' d='M0 48 C300 5 520 78 820 42 C1080 10 1260 22 1440 50 L1440 80 L0 80 Z'/%3E%3C/svg%3E");
  top: -47px;
}
.welcome:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231B5E20' d='M0 16 C260 58 470 4 720 44 C1000 82 1210 15 1440 58 L1440 0 L0 0 Z'/%3E%3C/svg%3E");
  bottom: -47px;
  z-index: 2;
}
.rsvp-section:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231B5E20' d='M0 28 C300 72 520 4 820 38 C1080 68 1260 55 1440 26 L1440 0 L0 0 Z'/%3E%3C/svg%3E");
  bottom: -47px;
}
.welcome > :not(.section-flower), .rsvp-section > * { position: relative; z-index: 1; }
.welcome .ornament { color: #e2cb87; }
.welcome .ornament span { background: rgba(226,203,135,.62); }
.welcome .eyebrow { color: #e2cb87; }
.welcome .guest-greeting h3 { color: #fffdf4; }
.parents-band .eyebrow { color: var(--rose-dark); }
.parents-band h2 { color: var(--ink); }
.rsvp-section h2 { color: #fffdf4; }
.rsvp-form .button-dark { background: #1B5E20; color: #e2cb87; }
.rsvp-form .button-dark:hover { background: #124718; }
.rsvp-section .form-message { color: #fffdf4 !important; }
.rsvp-flower { color: #d7be79; opacity: .16; }

@media (max-width: 740px) {
  .loading-screen:before { inset: 10px; }
  .loading-screen:after { inset: 15px; }
  .loading-intro { margin-bottom: 20px; }
  .envelope { height: 300px; width: min(88vw, 460px); }
  .envelope-address { top: 19%; }
  .loading-names { font-size: clamp(42px, 11vw, 66px); }
  .seal-stamp { height: 82px; width: 82px; }
  .loading-note { font-size: 14px; margin-top: 23px; }
  .section-pad { padding: 76px 22px; }
  .hero { min-height: 650px; }
  .hero-image { background-position: 52% center; }
  .hero-side-note { display: none; }
  .hero-flower { bottom: 20px; right: 8%; }
  .section-flower { font-size: 76px; right: 0; top: 13%; }
  .parents-band { min-height: auto; padding: 40px 18px; }
  .parents-content { gap: 12px; grid-template-columns: minmax(0, 1fr); }
  .parent-block p { font-size: 13px; }
  .parent-divider { font-size: 17px; grid-column: 1; }
  .location-grid, .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .location-card { min-height: 280px; }
  .timeline { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-content { min-height: 205px; padding: 18px 12px 16px; }
  .timeline-item h3 { font-size: 24px; }
  .gallery-grid { gap: 13px; grid-auto-rows: minmax(150px, 190px); grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 22px; }
  .gallery-photo-5, .gallery-photo-6 { grid-column: span 1; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-card { min-height: 330px; }
}
@media (max-width: 420px) {
  .envelope { height: 270px; }
  .envelope-address { top: 18%; }
  .loading-names { font-size: 44px; }
  .countdown { gap: 5px; }
  .countdown > div { flex-basis: 64px; height: 64px; padding: 6px 3px; }
  .countdown strong { font-size: 29px; }
  .countdown span { font-size: 7px; }
  .countdown > i { font-size: 19px; }
  .date-card { grid-template-columns: 1fr 1.15fr 1fr; padding: 16px 8px; }
  .date-weekday, .date-year { font-size: 8px; letter-spacing: .12em; padding: 0 6px; }
  .date-main { padding: 0 6px; }
  .date-day { font-size: 52px; }
  .date-month { font-size: 17px; }
  .admin-panel { padding: 22px 19px 38px; }
  .admin-fields { grid-template-columns: 1fr; }
  .timeline { gap: 10px; }
  .timeline-content { min-height: 190px; padding: 16px 8px; }
  .timeline-marker { font-size: 20px; height: 48px; margin-bottom: 12px; width: 48px; }
  .timeline-item h3 { font-size: 21px; }
  .timeline-item time { font-size: 14px; }
  .gallery-grid { gap: 10px; grid-auto-rows: minmax(125px, 155px); padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
