:root {
  --rose: #d7a4aa;
  --rose-dark: #a96872;
  --rose-pale: #f7eeee;
  --rose-wash: #fcf8f7;
  --ink: #40393a;
  --muted: #857c7d;
  --gray-flower: #b6b3b3;
  --card-radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Parisienne", "Cormorant Garamond", cursive;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fffdfc; 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; }
.section-floral-divider { height: 0; pointer-events: none; position: relative; z-index: 10; }
.section-floral-divider img { display: block; height: 120px; left: 50%; object-fit: cover; object-position: center 58%; position: absolute; top: 0; transform: translate(-50%, -50%); width: min(220px, 58vw); }
.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; border: 1px solid transparent; cursor: pointer; display: inline-flex; font-size: 10px; font-weight: 600; 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 { background: var(--ink); color: white; }
.button-dark:hover { background: var(--rose-dark); }
.button-outline { background: transparent; border-color: var(--rose); color: var(--ink); }
.button-outline:hover { background: var(--rose-pale); }

.loading-screen { align-items: center; background: var(--rose-wash); 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 #e8d7d7; border-radius: 50%; content: ""; height: min(85vw, 680px); position: absolute; width: min(85vw, 680px); }
.loading-screen:after { height: min(72vw, 560px); width: min(72vw, 560px); }
.loading-screen > :not(.loading-flower) { position: relative; z-index: 1; }
.loading-names { font: 400 clamp(48px, 9vw, 88px)/1.15 var(--script); margin: 22px 16px 12px; }
.loading-names span, .hero h1 span, .site-footer h2 span { color: var(--rose-dark); font-style: italic; }
.loading-date { color: var(--muted); font-size: 11px; letter-spacing: .22em; margin: 4px 0 32px; }
.loading-note { color: var(--muted); font: italic 16px var(--serif); margin: 25px 0 0; }
.loading-flower { color: var(--gray-flower); font-size: 100px; opacity: .44; position: absolute; }
.flower-left { left: max(4%, calc((100% - 1150px) / 2)); top: 18%; transform: rotate(-24deg); }
.flower-right { bottom: 12%; right: max(5%, calc((100% - 1120px) / 2)); transform: rotate(30deg); }

.site-header { align-items: center; background: rgba(255,253,252,.94); display: flex; height: 78px; justify-content: space-between; padding: 0 max(28px, calc((100% - 1320px) / 2)); position: absolute; top: 0; width: 100%; z-index: 4; }
.brand { align-items: center; display: flex; gap: 11px; text-decoration: none; }
.brand-mark { color: var(--ink); font: 600 19px var(--serif); }
.brand-mark span { color: var(--rose-dark); font-style: italic; padding: 0 2px; }
.brand > span:last-child { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a, .header-cta { font-size: 9px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-header nav a { color: var(--muted); transition: color .2s; }
.site-header nav a:hover, .header-cta:hover { color: var(--rose-dark); }
.header-cta { border-bottom: 1px solid var(--rose); padding: 7px 0; }
.header-cta span { color: var(--rose-dark); margin-left: 6px; }
.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; margin-top: 54px; position: relative; z-index: 1; }
.light-eyebrow { color: #f2dfe0; }
.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: #ecc8ca; }
.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: #ead9d9; font-size: 46px; opacity: .8; position: absolute; right: 8%; }

.welcome { background: var(--rose-wash); overflow: hidden; position: relative; }
.welcome h2 { font-size: clamp(58px, 8vw, 86px); font-style: italic; margin: 17px 0 8px; }
.welcome-copy { color: var(--rose-dark); font: 500 clamp(26px, 3.8vw, 39px)/1.08 var(--serif); margin: 0 0 24px; }
.welcome-note { color: var(--muted); font-size: 12px; line-height: 2; }
.section-flower { color: var(--gray-flower); font-size: 130px; opacity: .22; 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: #e8d8d8; height: 1px; width: 62px; }
.guest-greeting h3 { font: 400 38px/1.1 var(--script); margin: 7px 0 2px; }
.guest-greeting p { color: var(--muted); font-size: 11px; margin: 0; }
.parents-band { align-items: center; background: #f4e8e8; display: flex; flex-direction: column; justify-content: center; min-height: 230px; padding: 44px 20px; 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: flex; justify-content: center; width: 100%; }
.parent-block { max-width: 345px; text-align: center; width: 40%; }
.parent-block p { color: var(--ink); font: italic 14px/1.5 var(--serif); margin: 8px 0 0; }
.parent-divider { color: var(--gray-flower); font-size: 30px; margin: 0 7%; }

.date-section { background: #fffdfc; }
.date-section h2 { margin-bottom: 37px; }
.date-card { border: 1px solid #e8dada; border-radius: var(--card-radius); margin: auto; max-width: 560px; padding: 22px 24px; position: relative; }
.date-card:before, .date-card:after { border: 1px solid var(--rose); border-radius: 50%; content: ""; height: 8px; position: absolute; top: calc(50% - 4px); width: 8px; }
.date-card:before { left: -5px; }.date-card:after { right: -5px; }
.date-weekday, .date-year { color: var(--muted); display: block; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.date-main { align-items: center; display: flex; gap: 22px; justify-content: center; margin: 7px 0; }
.date-main > span:first-child { font: 400 clamp(58px, 8vw, 88px)/1 var(--serif); }
.date-main > span:last-child { font: 400 clamp(32px, 5vw, 45px)/1 var(--serif); }
.date-divider { background: var(--rose); height: 50px; width: 1px; }
.date-year { font-size: 10px; }
.countdown { align-items: center; display: flex; gap: 0; justify-content: center; margin-top: 45px; }
.countdown > div { align-items: center; aspect-ratio: 1; background: #f4e6e7; border: 0; border-radius: 50%; display: flex; flex: 0 0 82px; flex-direction: column; gap: 4px; 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); }
.countdown-caption { color: var(--muted); font: italic 15px var(--serif); margin: 17px 0 0; }

.details-section { background: var(--rose-wash); }
.details-section h2 { margin-bottom: 48px; }
.location-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); margin: 0 auto; max-width: 850px; text-align: center; }
.location-card { background: #fff; border: 1px solid #eee4e3; border-radius: var(--card-radius); min-height: 275px; overflow: hidden; padding: 0 20px 35px; }
.location-image { display: block; height: 220px; margin: 0 -20px 24px; object-fit: cover; width: calc(100% + 40px); }
.location-icon { color: var(--rose); font-size: 28px; margin-bottom: 11px; }
.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 { border-bottom: 1px solid #ead3d4; color: var(--rose-dark); display: inline-block; font-size: 9px; letter-spacing: .1em; padding-bottom: 5px; text-decoration: none; text-transform: uppercase; }
.text-link span { font-size: 13px; margin-left: 7px; }
.notes-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); margin: 22px auto 0; max-width: 850px; }
.note-card { background: #f3e7e7; border-radius: var(--card-radius); padding: 29px 25px; }
.note-icon { color: var(--gray-flower); display: block; font-size: 25px; margin-bottom: 8px; }
.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: #fffdfc; isolation: isolate; overflow: hidden; position: relative; }
.timeline-section:before, .timeline-section:after { background: url("img/flor.png") center / contain no-repeat; content: ""; filter: grayscale(1); height: min(42vw, 390px); opacity: .14; pointer-events: none; position: absolute; top: 54%; transform: translateY(-50%); width: min(34vw, 360px); z-index: 0; }
.timeline-section:before { left: -90px; }
.timeline-section:after { right: -90px; transform: translateY(-50%) scaleX(-1); }
.timeline-heading, .timeline { position: relative; z-index: 1; }
.timeline-heading > p { color: var(--muted); font: italic 16px var(--serif); margin-bottom: 48px; }
.timeline { display: grid; gap: 0; grid-auto-rows: minmax(104px, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 auto; max-width: 850px; position: relative; }
.timeline:before { background: #eadada; content: ""; left: 50%; position: absolute; top: 22px; bottom: 22px; transform: translateX(-50%); width: 1px; }
.timeline-item { align-items: start; display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; padding: 8px 0 25px; position: relative; }
.timeline-left { text-align: right; }
.timeline-right { text-align: left; }
.timeline-marker { align-items: center; background: #f8eeee; border-radius: 50%; color: var(--rose-dark); display: flex; font-size: 25px; height: 54px; justify-content: center; margin: 0 auto 9px; width: 54px; }
.timeline-left .timeline-content { grid-column: 1; justify-self: end; margin-right: 58px; }
.timeline-right .timeline-content { grid-column: 2; justify-self: start; margin-left: 58px; }
.timeline-content { max-width: 300px; padding: 8px 20px; text-align: center; width: calc(100% - 58px); }
.timeline-item time { color: var(--rose-dark); display: block; font-size: 17px; font-weight: 600; letter-spacing: .08em; margin-bottom: 6px; }
.timeline-item h3 { font: 400 29px/1.1 var(--script); margin: 0; }

.gallery-section { background: #f5eaea; overflow: hidden; padding-bottom: 56px; }
.gallery-heading { padding-bottom: 42px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-carousel { margin: auto; max-width: 1140px; padding: 0 55px 38px; position: relative; }
.gallery-track { align-items: center; display: flex; gap: 16px; height: 365px; justify-content: center; overflow: hidden; }
.gallery-slide { background-position: center; background-size: cover; flex: 0 0 25%; height: 240px; opacity: .55; transform: scale(.88); transition: .45s ease; }
.gallery-slide.is-active { flex-basis: 44%; height: 365px; opacity: 1; transform: scale(1); }
.gallery-arrow { background: rgba(255,255,255,.85); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; font: 32px var(--serif); height: 42px; position: absolute; top: calc(50% - 33px); width: 42px; z-index: 1; }
.gallery-arrow:hover { background: white; color: var(--rose-dark); }
.gallery-prev { left: 2px; }.gallery-next { right: 2px; }
.gallery-dots { bottom: 3px; display: flex; gap: 9px; justify-content: center; left: 0; position: absolute; right: 0; }
.gallery-dot { background: #d4babc; border: 0; border-radius: 50%; cursor: pointer; height: 7px; padding: 0; width: 7px; }
.gallery-dot.is-active { background: var(--rose-dark); transform: scale(1.3); }

.gifts-section { background: #fffdfc; }
.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: 1px solid #eee3e2; 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: #e8d6d7; font-size: 100px; margin-top: 23px; }

.rsvp-section { background: #f3e6e7; min-height: 400px; overflow: hidden; position: relative; }
.rsvp-section h2 { font-size: clamp(54px, 7vw, 76px); margin: 14px 0; }
.rsvp-section > p { color: var(--muted); 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: var(--ink); display: flex; flex-direction: column; font-size: 10px; gap: 7px; letter-spacing: .05em; }
.rsvp-form select { background: #fffdfc; border: 1px solid #e7dada; border-radius: 10px; 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: var(--ink); }
.rsvp-note { color: var(--muted); 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: #f0cdd0; 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: #fffdfc; 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: white; border: 1px solid #e7dada; border-radius: 8px; color: var(--ink); min-height: 42px; padding: 9px 11px; width: 100%; }
.admin-login .button { margin-top: 15px; width: 100%; }
.close-button { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; padding: 3px 8px; }
.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: #fffdfc; 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 { background: none; border-top: 0; border-right: 0; border-left: 0; cursor: pointer; }
.admin-panel-header h2 { font-size: 44px; margin: 2px 0 8px; }
.admin-warning { background: #f8eeee; border-radius: 10px; color: var(--muted); font-size: 10px; line-height: 1.65; padding: 11px 13px; }
.admin-form details { border-bottom: 1px solid #eadfdf; }
.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 #e8dada; 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 #eadfdf; 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 { background: none; border-top: 0; border-right: 0; border-left: 0; cursor: pointer; flex: 0 0 auto; font-size: 8px; }
.admin-rsvp-section { border-top: 1px solid #e8dada; 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: #f8eeee; color: var(--rose-dark); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.rsvp-table th, .rsvp-table td { border-bottom: 1px solid #eadfdf; 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: rgba(255,253,252,.94); border: 1px solid #e8dada; border-radius: 50%; bottom: 22px; box-shadow: 0 5px 20px rgba(64,57,58,.15); color: var(--rose-dark); cursor: pointer; display: flex; height: 48px; justify-content: center; position: fixed; right: 22px; width: 48px; z-index: 40; }
.music-toggle:hover { background: white; 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; }

@media (max-width: 740px) {
  .section-pad { padding: 76px 22px; }
  .section-floral-divider img { height: 96px; width: min(175px, 54vw); }
  .site-header { height: 64px; padding: 0 18px; }
  .site-header nav { display: none; }
  .brand > span:last-child { font-size: 8px; }
  .header-cta { font-size: 8px; }
  .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; }
  .parent-block { width: 46%; }
  .parent-block p { font-size: 13px; }
  .parent-divider { margin: 0 4%; }
  .location-grid, .notes-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 245px; }
  .location-image { height: 200px; }
  .timeline { grid-auto-rows: minmax(92px, auto); }
  .timeline-item { padding: 4px 0 20px; }
  .timeline-marker { font-size: 26px; height: 46px; width: 46px; }
  .timeline-left .timeline-content { margin-right: 30px; }
  .timeline-right .timeline-content { margin-left: 30px; }
  .timeline-content { padding: 10px 11px; width: calc(100% - 30px); }
  .timeline-item h3 { font-size: 19px; }
  .gallery-carousel { padding: 0 36px 36px; }
  .gallery-track { height: 300px; }
  .gallery-slide { flex-basis: 18%; height: 180px; }
  .gallery-slide.is-active { flex-basis: 68%; height: 300px; }
  .gallery-arrow { height: 34px; width: 34px; }
  .gallery-prev { left: 0; }.gallery-next { right: 0; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-card { min-height: 330px; }
}
@media (max-width: 420px) {
  .loading-names { font-size: 48px; }
  .brand-mark { font-size: 17px; }
  .header-cta { letter-spacing: .04em; }
  .countdown > div { flex-basis: 64px; padding: 6px 3px; }
  .countdown strong { font-size: 29px; }
  .countdown span { font-size: 7px; }
  .date-main { gap: 14px; }
  .admin-panel { padding: 22px 19px 38px; }
  .admin-fields { grid-template-columns: 1fr; }
  .timeline { grid-auto-rows: minmax(86px, auto); }
  .timeline-item { padding-right: 0; }
  .timeline-marker { font-size: 24px; height: 42px; width: 42px; }
  .timeline-left .timeline-content { margin-right: 23px; }
  .timeline-right .timeline-content { margin-left: 23px; }
  .timeline-content { padding: 9px 7px; width: calc(100% - 23px); }
  .timeline-item h3 { font-size: 17px; }
  .timeline-item time { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
