
:root { --ink: #60374c; --body: #483b43; --muted: #77616e; --line: #decbd3; --paper: #fcf8fa; --mauve: #805968; --sans: 'Invitation Montserrat', Montserrat, Calibri, Arial, sans-serif; --script: 'Invitation Script', 'Allura', cursive; --couple-name: 'Eyesome Script', 'Invitation Script', cursive; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 17px/1.65 var(--sans); }
body.locked { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a64c5b; outline-offset: 5px; }
.skip-link { position: fixed; left: 12px; top: -90px; padding: 12px; background: white; z-index: 200; }
.skip-link:focus { top: 12px; }
.nav { height: 78px; padding: 0 max(28px, calc((100vw - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fcf8faf5; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.nav-monogram { font: 31px var(--script); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-brand { display: flex; gap: 12px; align-items: center; }
.replay-envelope { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.replay-envelope:hover { border-color: var(--line); background: #ead9e1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 12px; text-transform: uppercase; letter-spacing: .11em; text-decoration: none; padding-block: 12px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; }
.nav-links .nav-rsvp { padding: 10px 19px; border: 1px solid var(--line); color: var(--ink); }
.nav-toggle { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 400; }
.hero { max-width: 1220px; margin: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 65px 34px 60px; }
.hero-content { text-align: center; }
.hero-content > .eyebrow { color: var(--muted); margin: 0 0 24px; }
.hero-title { font: 38px/1.3 var(--script); color: var(--muted); }
h1 { display: flex; align-items: center; justify-content: center; gap: 14px; font: 400 clamp(76px, 8vw, 104px)/1.35 var(--script); color: var(--ink); margin: 4px 0 0; white-space: nowrap; }
h1 small { font: 400 .55em var(--script); color: #9c7186; }
h1:focus { outline: none; }
.hero-intro { margin: 5px 0 25px; font-size: 18px; color: var(--muted); }
.hero-date { font-family: var(--script); font-size: 42px; line-height: 1.25; letter-spacing: .02em; margin: 24px 0 8px; }
.hero-date span { color: #b88c9b; padding: 0 8px; }
.hero-location { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--muted); }
.page-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; gap: 20px; align-items: center; justify-content: center; min-height: 48px; padding: 11px 23px; border: 1px solid #bd929f; border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover { color: white; background: var(--ink); }
.button-primary { color: white; background: var(--ink); border-color: var(--ink); }
.button-primary:hover { background: #452636; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.explore-link { display: inline-flex; gap: 20px; margin-top: 28px; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); text-decoration: none; }
.hero-art { height: 535px; margin: 0; background: #ead9e1; border-radius: 250px 250px 0 0; position: relative; overflow: hidden; text-align: center; isolation: isolate; box-shadow: 14px 15px 0 #f1e5eb; }
.hero-art::before { content: ''; position: absolute; inset: 15px; border: 1px solid #bd929f99; border-radius: inherit; z-index: 1; pointer-events: none; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-art figcaption { position: absolute; left: 22px; right: 22px; bottom: 32px; color: var(--ink); }
.hero-art figcaption p { font: 32px/1.5 var(--script); margin: 12px 0 0; }
.photo-label { display: inline-block; font: 10px/1.6 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink); background: #fcf8fae6; padding: 7px 12px; }
.prenup-section { max-width: 1160px; margin: auto; padding: 15px 28px 70px; text-align: center; }
.prenup-section h2 { font-size: clamp(34px, 4.5vw, 52px); }
.prenup-moment { position: relative; aspect-ratio: 8 / 5; margin: 0; padding: 12px; border: 1px solid var(--line); background: #fffafd; box-shadow: 12px 12px 0 #f1e5eb; }
.prenup-moment img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.prenup-moment figcaption { position: absolute; left: 22px; bottom: 24px; }
.prenup-caption { font: 26px/1.5 var(--script); color: var(--muted); margin: 32px 0 0; }
.sheet { max-width: 1160px; margin: auto; padding: 85px 28px; }
.section-heading { text-align: center; margin-bottom: 40px; }
h2, .script-heading { font: 400 55px/1.5 var(--script); color: var(--ink); margin: 0; }
.section-heading .eyebrow { color: var(--muted); margin: 0 0 10px; }
.section-heading > p:last-child { color: var(--muted); font-size: 15px; }
/* Corner florals frame the content without covering photos or receiving taps. */
.hero, .floral-corners, .rsvp-section { position: relative; isolation: isolate; overflow: clip; }
.hero::before, .floral-corners::before, .rsvp-section::after { content: ''; position: absolute; z-index: -1; width: clamp(210px, 23vw, 320px); aspect-ratio: 424 / 328; background: url('assets/presentation/image3.png') center / contain no-repeat; pointer-events: none; }
.hero::before { top: -65px; left: -165px; transform: rotate(180deg); opacity: .65; }
.celebration::before { top: -70px; right: -125px; transform: rotate(180deg); opacity: .7; }
.people::before { top: -55px; left: -150px; transform: rotate(180deg); opacity: .5; }
.rsvp-section::after { bottom: -100px; left: -140px; opacity: .55; }
.date-section { color: var(--paper); background: var(--mauve); padding: 65px 28px; }
.date-layout { max-width: 1040px; margin: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
.date-copy h2 { color: var(--paper); font-size: 53px; line-height: 1.4; }
.date-copy > p { margin: 12px 0 18px; }.date-copy-date { font-family: var(--script); font-size: 30px; line-height: 1.3; }
.date-copy .eyebrow { font-size: 10px; margin-bottom: 23px; }
.countdown-label { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; padding-top: 20px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 360px; gap: 14px; margin: 16px 0 26px; }
.countdown strong { display: block; font: 36px/1.3 Georgia, serif; font-variant-numeric: tabular-nums; }
.countdown span { text-transform: uppercase; font-size: 9px; letter-spacing: .15em; }
.calendar-card { padding: 25px; color: var(--ink); background: var(--paper); text-align: center; box-shadow: 8px 8px 0 #ffffff20; }
.month-calendar { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.month-calendar caption { font: 32px/1.5 var(--script); margin-bottom: 20px; }
.month-calendar th { font-size: 10px; font-weight: 400; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.month-calendar td { height: 44px; padding: 0; text-align: center; }
.month-calendar button { position: relative; min-width: 40px; min-height: 44px; border: 0; background: var(--ink); color: white; border-radius: 50%; cursor: pointer; }
.month-calendar button span { position: absolute; right: -3px; top: -3px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--ink); background: var(--paper); }
.month-calendar button svg { display: block; width: 12px; height: 12px; }
.calendar-card > p { font-size: 12px; color: var(--muted); margin: 20px 0 4px; }
/* Keep the original portrait composition at every viewport size. */
.venues { padding: 0 16px 38px; background: #fff; }
.location-canvas { position: relative; width: 100%; max-width: 760px; aspect-ratio: 5 / 7; margin: auto; overflow: hidden; container-type: inline-size; isolation: isolate; }
.location-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.location-labels { font-family: var(--sans); }
.location-venue-name { fill: #943c52; font-size: 14px; font-weight: 700; }
.location-town { fill: #77786b; font-size: 16px; font-style: italic; letter-spacing: .7px; }
.location-river { fill: #7b7b7b; font-size: 15px; font-style: italic; letter-spacing: 1.5px; }
.location-credit { fill: #999; font-size: 9px; }
.location-canvas h2 { position: absolute; left: 29.87%; top: 12.2%; width: 66%; margin: 0; color: var(--ink); font: 400 7.4cqw/1.35 var(--script); white-space: nowrap; }
.map-venue { position: absolute; perspective: 900px; }
.chapel-venue { left: 19.25%; top: 21.1%; width: 26.04%; height: 14.14%; }
.reception-venue { left: 68.27%; top: 70.11%; width: 25.42%; height: 12.8%; }
.venue-visual, .venue-flip { position: relative; width: 100%; height: 100%; }
.venue-flip { display: block; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front img { display: block; width: 100%; height: 100%; object-fit: contain; transition: filter .2s; }
.venue-flip:hover .flip-front img { filter: drop-shadow(0 4px 4px #60374c20); }
.flip-back { transform: rotateY(180deg); }
.flip-back .venue-qr { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; padding: 4px; background: white; }
.venue-directions { position: absolute; width: 24%; text-align: center; animation: invitation-in .25s ease both; }
.chapel-directions { left: 47%; top: 26%; }
.reception-directions { left: 42%; top: 74%; }
.venue-directions .button { min-height: 44px; width: 100%; padding: 6px 8px; gap: 0; font-size: clamp(10px, 2cqw, 14px); background: #fffafd; }
.location-instruction { margin: 14px auto 0; padding: 0 8px; text-align: center; font-size: 12px; color: var(--muted); }
summary { cursor: pointer; min-height: 48px; padding: 16px 0; }
summary span { float: right; margin-left: 15px; transition: transform .2s; }
details[open] > summary span { transform: rotate(45deg); }
.celebration { max-width: none; padding-inline: max(28px, calc((100vw - 1104px)/2)); background: #f2e4e8; }
.details-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 65px; }
.script-heading { font-size: 38px; text-align: center; }
.attire-copy article { display: flex; align-items: center; gap: 18px; margin: 22px 0; }
.attire-copy h3 { font: 700 12px var(--sans); letter-spacing: .12em; margin: 0 0 7px; }
.attire-copy p { font-size: 15px; margin: 0; }
.attire-copy img { width: 70px; height: 115px; object-fit: contain; }
.palette { display: block; width: 230px; height: auto; max-width: 100%; margin: 20px auto 0; }
.gift-note { text-align: center; border-left: 1px solid #d4b4c2; padding: 20px 0 20px 40px; align-self: center; }
.gift-note h2 { font-size: 39px; }
.gift-note p { font-size: 16px; line-height: 1.9; }
.people-details { border-block: 1px solid var(--line); }
.people-details > summary { font-size: 16px; color: var(--ink); }
.people-content { padding: 25px 0; }
.people h3 { font: 400 31px/1.5 var(--script); color: var(--ink); margin: 0 0 8px; }
.people p { margin: 0; font-size: 16px; }
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: center; margin-bottom: 35px; }
.sponsors-block > h3 { text-align: center; }
.sponsors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; text-align: center; }
.sponsors-grid p { line-height: 1.9; }
.party-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 30px 25px; margin-top: 35px; }
.party-grid p { line-height: 1.65; }
.party-middle article + article { margin-top: 20px; }
.flower-girls { text-align: center; margin-top: 30px; }
.rsvp-section { background: #ead9e1; padding: 75px 28px; }
.rsvp-layout { max-width: 1040px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.rsvp-copy > p { font-size: 16px; line-height: 1.9; }
.rsvp-copy h2 { font-size: 55px; margin: 15px 0 25px; }
.rsvp-copy .eyebrow { font-size: 10px; }
.reply-panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.reply-panel h3 { font: 400 37px/1.5 var(--script); color: var(--ink); margin: 0 0 14px; }
.reply-help { margin: 4px 0 22px; font-size: 13px; color: var(--muted); }
.rsvp-link-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.share-section { text-align: center; padding: 70px 24px 30px; background: var(--paper) url('assets/presentation/image3.png') left -120px bottom -90px/340px auto no-repeat; }
.share-note h2 { font-size: 49px; }
.share-note p { font-size: 15px; }
.share-note strong { display: inline-block; font-family: var(--sans); font-weight: 700; color: var(--ink); margin-top: 8px; overflow-wrap: anywhere; }
.copy-status { min-height: 22px; font-size: 13px; color: var(--ink); }
.closing-names { font: 45px/1.5 var(--script); color: var(--ink); margin: 24px 0 0; }
.share-section > p:last-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
dialog::backdrop { background: #30202b80; backdrop-filter: blur(5px); }
.opening { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 32px 24px; border: 0; background: #fdf9fb; color: var(--ink); overflow-x: hidden; overflow-y: auto; }
.opening[open] { display: grid; place-items: safe center; }
.opening::backdrop { background: #fdf9fb; }
.opening-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.opening-art::before, .opening-art::after { content: ''; position: absolute; width: clamp(230px, 33vw, 420px); aspect-ratio: 424/328; background: url('assets/presentation/image3.png') center/contain no-repeat; opacity: .8; }
.opening-art::before { top: -90px; right: -100px; transform: rotate(180deg); }
.opening-art::after { bottom: -70px; left: -110px; }
.opening-content { position: relative; z-index: 1; width: min(100%, 440px); text-align: center; }
.opening-eyebrow, .opening-date, .dialog-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.opening-eyebrow { margin: 0 0 14px; }
.opening h2 { font: 400 clamp(38px, 8vw, 50px)/1.25 var(--script); margin: 0 0 32px; white-space: nowrap; letter-spacing: -.02em; }
.envelope { position: relative; display: block; width: 100%; aspect-ratio: 1.55; border: 1px solid #d6b7c5; background: #dfc3ce; padding: 0; perspective: 1100px; box-shadow: 0 22px 50px #60374c1a; cursor: pointer; transition: transform .35s, box-shadow .35s; }
.envelope-letter { position: absolute; z-index: 1; inset: 14px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fffafd; color: var(--ink); border: 1px solid #eedbe4; transition: transform .7s cubic-bezier(.2,.7,.2,1) .4s; }
.envelope-letter > span { font: 26px var(--script); }
.envelope-letter strong { font: 400 clamp(27px, 6vw, 43px)/1.7 var(--script); }
.envelope-letter small { font-size: 12px; letter-spacing: .1em; }
.envelope-pocket { position: absolute; inset: 0; z-index: 2; background: linear-gradient(32deg, #d9b9c6 49.7%, #bd95a8 50%, #e5ccd7 50.3%) left/50% 100% no-repeat, linear-gradient(-32deg, #d9b9c6 49.7%, #bd95a8 50%, #e5ccd7 50.3%) right/50% 100% no-repeat; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.envelope-flap { position: absolute; inset: 0; z-index: 3; background: #f1dfe7; clip-path: polygon(0 0, 100% 0, 50% 57%); transform-origin: top; transition: transform .7s cubic-bezier(.4,0,.2,1), z-index 0s .35s; }
.envelope-seal { position: absolute; top: 42%; left: 50%; z-index: 4; width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; gap: 1px; border-radius: 48% 52% 46% 54%; background: var(--ink); color: #f4dfe9; font: 26px var(--script); box-shadow: 0 3px 8px #60374c40, inset 0 0 0 4px #ffffff12, inset 0 0 0 6px #c49aaa50; transform: translateX(-50%); transition: opacity .2s, transform .35s; }
.envelope-seal span { font-size: 18px; }
.opening-hint { margin: 32px 0 23px; font-size: 15px; }
.opening-hint span { margin-left: 8px; }
.opening-date { color: #805f73; margin: 0; font-family: var(--script); font-size: 24px; line-height: 1.3; text-transform: none; letter-spacing: .02em; }
.opening-date span { margin: 0 8px; }
.nav-monogram, h1, .opening h2, .envelope-letter strong, .closing-names { font-family: var(--couple-name); }
.opening.is-opening { animation: invitation-out .4s ease 1s forwards; pointer-events: none; }
.is-opening .envelope-flap { transform: rotateX(180deg); z-index: 0; }
.is-opening .envelope-letter { transform: translateY(-42%); }
.is-opening .envelope-seal { opacity: 0; transform: translateX(-50%) scale(.8); }
.is-opening .opening-hint { opacity: 0; transition: opacity .2s; }
.is-opening .opening-content > h2, .is-opening .opening-eyebrow { opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
@keyframes invitation-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes invitation-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.invitation-open .hero-title, .invitation-open .hero h1, .invitation-open .hero-intro, .invitation-open .page-actions { animation: invitation-in .75s ease both; }
.invitation-open .hero h1 { animation-delay: .1s; }
.invitation-open .hero-intro { animation-delay: .2s; }
.invitation-open .page-actions { animation-delay: .3s; }
.directions-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 42px 28px 28px; border: 1px solid var(--line); background: #fdf9fb; color: var(--body); overflow-y: auto; }
.directions-dialog[open] { animation: invitation-in .25s ease both; }
.directions-dialog h2 { font: 400 50px/1.5 var(--script); color: var(--ink); text-align: center; margin: 0; }
.dialog-eyebrow { color: #805f73; font-size: 10px; text-align: center; margin: 0 0 6px; }
.directions-intro { text-align: center; font-size: 15px; margin: 0 0 22px; }
.destination { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; transition: color .2s; }
.destination > span:first-child { display: flex; flex-direction: column; gap: 7px; }
.destination small { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: #805f73; }
.destination strong { font-size: 18px; color: var(--ink); }
.destination span span { font-size: 14px; }
.destination > span:last-child { color: var(--ink); font-size: 24px; transition: transform .2s; }
.destination:hover > span:last-child { transform: translate(3px, -3px); }
.floating-control { position: fixed; right: 20px; z-index: 30; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 4px 18px #60374c14; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.floating-control:hover { background: #ead9e1; transform: translateY(-2px); }
.back-top { bottom: max(20px, env(safe-area-inset-bottom)); }
.music-control { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 58px); font-size: 20px; }
.calendar-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: #30202b80; z-index: 100; }
.calendar-dialog { width: min(100%, 450px); background: white; padding: 45px 25px 30px; text-align: center; position: relative; }
.calendar-dialog h2 { margin: 0; font: 400 36px/1.5 'Invitation Script', cursive; color: var(--ink); }
.modal-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; font-size: 28px; border: 0; background: none; color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
 .nav { padding-inline: 22px; } .nav-links { gap: 17px; } .hero { gap: 25px; } .hero-art { height: 490px; }
 .date-layout { gap: 45px; } .rsvp-layout { gap: 35px; } .details-layout { gap: 30px; }
}
@media (max-width: 680px) {
 .hero::before, .floral-corners::before, .rsvp-section::after { width: 190px; }
 .hero::before { top: -40px; left: -130px; opacity: .5; }
 .celebration::before { top: -45px; right: -120px; opacity: .55; }
 .people::before { top: -40px; left: -125px; opacity: .4; }
 .rsvp-section::after { bottom: -65px; left: -115px; opacity: .45; }
 html { scroll-padding-top: 74px; } .nav { height: 64px; padding-inline: 20px; gap: 12px; } .nav-monogram { font-size: 25px; } .nav-brand { gap: 6px; }
 .nav-toggle { position: relative; display: block; width: 44px; height: 44px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background .25s, border-color .25s; }
 .nav-toggle:hover { background: #ead9e1; border-color: #bd929f; }
 .nav-toggle span { position: absolute; left: 11px; width: 20px; height: 1px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
 .nav-toggle span:nth-child(1) { top: 15px; }
 .nav-toggle span:nth-child(2) { top: 21px; }
 .nav-toggle span:nth-child(3) { top: 27px; }
 .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
 .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
 .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
 .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 24px 24px; box-shadow: 0 14px 24px #60374c0a; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .25s ease, transform .3s ease, visibility .3s; }
 .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
 .nav-links a { min-height: 48px; padding: 14px 8px; border-bottom: 1px solid #decbd366; }
 .nav-links .nav-rsvp { margin-top: 14px; padding: 12px 16px; }
 .hero { grid-template-columns: 1fr; padding: 38px 24px 40px; gap: 30px; } .hero-content > .eyebrow { font-size: 9px; margin-bottom: 18px; }
 .hero-title { font-size: 30px; } h1 { font-size: clamp(65px, 17vw, 90px); gap: 12px; } .hero-intro { font-size: 16px; margin: 3px 0 20px; }
 .hero-date { font-size: 34px; margin-top: 18px; } .hero-date span { padding: 0 4px; } .hero-location { font-size: 12px; }
 .page-actions { margin-top: 22px; } .page-actions .button { font-size: 12px; padding-inline: 19px; gap: 18px; } .explore-link { margin-top: 22px; font-size: 10px; }
 .hero-art { width: min(100% - 22px, 340px); height: auto; aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 170px 170px 0 0; box-shadow: 9px 9px 0 #f1e5eb; }
 .hero-art::before { inset: 10px; } .hero-art figcaption { bottom: 24px; } .hero-art figcaption p { font-size: 25px; }
 .prenup-section { padding: 0 24px 50px; } .prenup-moment { aspect-ratio: 4 / 3; padding: 8px; box-shadow: 8px 8px 0 #f1e5eb; }
 .prenup-moment figcaption { left: 16px; bottom: 16px; } .photo-label { font-size: 8px; padding: 6px 9px; }
 .date-section, .rsvp-section { padding: 50px 24px; } .date-layout, .rsvp-layout, .details-layout { grid-template-columns: 1fr; gap: 38px; }
 .date-section { padding: 32px 24px; } .date-layout { gap: 24px; }
 .date-copy { text-align: center; } .date-copy h2 { font-size: 36px; line-height: 1.3; }
 .date-copy > p { margin: 8px 0; } .date-copy .eyebrow { margin-bottom: 12px; }
 .date-copy-date { font-size: 24px; } .date-copy .countdown-label { padding-top: 8px; margin-top: 14px; }
 .countdown { margin: 10px auto 18px; gap: 10px; } .countdown strong { font-size: 26px; line-height: 1.2; }
 .calendar-card { max-width: 370px; width: 100%; margin: auto; padding: 16px; }
 .month-calendar caption { font-size: 26px; margin-bottom: 10px; } .month-calendar th { padding-bottom: 6px; }
 .month-calendar td { height: 34px; } .calendar-card > p { margin: 10px 0 0; }
 .sheet { padding: 55px 24px; } .section-heading { margin-bottom: 28px; } h2 { font-size: 46px; }
 .gift-note { border-left: 0; border-top: 1px solid #d4b4c2; padding: 30px 0 0; } .gift-note h2 { font-size: 39px; }
 .parents-grid { grid-template-columns: 1fr; gap: 28px; } .sponsors-grid { gap: 20px; } .sponsors-grid p { font-size: 13px; }
 .party-grid { grid-template-columns: 1fr 1fr; gap: 25px 16px; } .party-grid h3 { font-size: 27px; } .party-grid p { font-size: 14px; }
 .rsvp-copy { text-align: center; } .rsvp-copy h2 { font-size: 48px; } .reply-panel { padding: 24px 20px; }
 .opening { padding-inline: 32px; } .opening h2 { margin-bottom: 36px; } .envelope-seal { width: 58px; height: 58px; font-size: 23px; }
 .share-note h2 { font-size: 44px; } .share-note strong { font-size: 14px; } .share-section { background-size: 230px; background-position: left -150px bottom -50px; }
}
@media (max-width: 360px) { .sponsors-grid, .party-grid { grid-template-columns: 1fr; } .sponsors-grid p { font-size: 16px; } .month-calendar button { min-width: 34px; } }
@media (hover: hover) { .envelope:hover { transform: translateY(-4px); box-shadow: 0 28px 55px #60374c24; } .button:hover { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
