@font-face{font-family:Pinyon;src:url('assets/pinyon-script.ttf') format('truetype');font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/cormorant-garamond-regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Cormorant;src:url('assets/cormorant-garamond-italic.ttf') format('truetype');font-style:italic;font-display:swap}
:root{color-scheme:light;--wine:#741d25;--ink:#432a2c;--ivory:#ecdfc4;--paper:#eee6d7;--sage:#4d5544}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:1.25rem/1.5 Cormorant,Georgia,serif}a{color:inherit}button{font:inherit}h1,h2,h3,p{margin:0;font-weight:400}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:6px}.painted-world{position:fixed;inset:0;z-index:-1;background:var(--paper) url('assets/painted-garden.webp') center 56%/cover;pointer-events:none}.cover-header,.topbar{display:flex;align-items:center;justify-content:space-between;padding:23px 45px;position:relative;z-index:2;font: .75rem/1.5 Georgia,serif;letter-spacing:.13em;text-transform:uppercase}.cover-header>span:first-child,.monogram{font-family:Cormorant,Georgia,serif;font-size:1.25rem;letter-spacing:.08em}.topbar{max-width:1250px;margin:auto}.topbar a{text-decoration:none}.cartouche{position:relative;text-align:center;color:var(--ivory);isolation:isolate}.cartouche-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1;pointer-events:none}.cover-stage{min-height:calc(100svh - 118px);display:grid;place-items:center;padding:15px 24px 30px}.cover-card{width:min(530px,100%);min-height:750px}.cover-content{padding:145px 70px 135px}.blessing{font-family:Cormorant,Georgia,serif;font-size:.85rem;line-height:1.7;letter-spacing:.05em;text-transform:uppercase}.label{font: .9rem/1.65 Cormorant,Georgia,serif;letter-spacing:.13em;text-transform:uppercase}.cover-content>.label{margin:18px 0 18px}.calligraphy{font-family:Pinyon,Cormorant,Georgia,serif;font-weight:400;letter-spacing:0;line-height:1.1}.cover-names{font-size:5.6rem;line-height:1.02;padding:0 8px}.name-amp{display:block;font-family:Cormorant,Georgia,serif;font-size:.3em;line-height:1.2;font-style:italic;margin:12px auto}.cover-occasion{font-size:1.3rem;margin:22px 0 25px;text-transform:uppercase;letter-spacing:.08em}.cover-occasion em{text-transform:none;font-family:Pinyon,Georgia,serif;font-size:1.9rem;letter-spacing:0;margin-left:4px}.outline-button{display:inline-flex;justify-content:center;align-items:center;gap:22px;border:1px solid #ecdfc493;border-radius:50px;padding:13px 23px;min-height:48px;text-decoration:none;font: .8rem/1.5 Georgia,serif;background:transparent;color:var(--ivory);transition:background .25s,color .25s}@media(hover:hover) and (pointer:fine){.outline-button:hover{background:var(--ivory);color:var(--wine)}}.cover-date{font-size:1rem;margin-top:23px;letter-spacing:.02em}.swan{fill:none;display:block;width:95px;height:60px;margin:20px auto 6px;color:var(--wine)}.cream{color:var(--ivory)}.small-signature{font-size:.9rem;font-style:italic}.cover-footnote{text-align:center;padding:0 20px 25px;font-size:.8rem;letter-spacing:.06em;color:var(--ivory);text-shadow:0 1px 5px #243123}.cover-footnote span{margin:0 8px}.invitation-stage{min-height:100svh;display:grid;place-items:center;padding:25px 20px 80px}.invitation-card{width:min(650px,100%)}.invitation-content{padding:175px 88px 135px}.invitation-content>.label{margin:30px 0 25px}.invitation-content h1>span{font-size:2.7rem;letter-spacing:.1em;text-transform:uppercase;display:block;line-height:1.1}.invitation-content h1>em{display:block;font-size:4rem;line-height:1.15;font-style:normal;margin:3px 0 0}.of{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;margin:15px 0}.invitation-names{font-size:7rem;line-height:1.05}.invitation-date{font-size:1.2rem;margin:25px 0 0}.invitation-time{font-size:1.4rem;font-style:italic}.unfold{display:inline-flex;flex-direction:column;gap:12px;margin-top:18px;font-size:.9rem;text-decoration:none}.unfold span{font-size:1.3rem}.paper-section{position:relative;text-align:center;padding:95px 30px;background:linear-gradient(#eee6d7f7,#eee6d7f7),url('assets/painted-garden.webp') center/cover}.family-section{padding-top:105px}.paper-section h2.calligraphy{font-size:clamp(3.2rem,6vw,5.8rem);line-height:1.3;margin:20px 0 50px;color:var(--wine)}.family-pair{display:grid;grid-template-columns:1fr auto 1fr;gap:60px;align-items:center;max-width:900px;margin:auto}.family-pair h3{font-size:5rem;color:var(--wine);line-height:1.2;margin-bottom:20px}.family-pair p:not(.label){font-size:1.55rem;line-height:1.4;margin-top:14px}.pair-amp{font-size:3.5rem;color:var(--wine)}.botanical-rule{font-size:3rem;color:var(--sage);margin:35px auto 20px;line-height:1}.family-closing{font-size:1.3rem;color:var(--sage);font-style:italic}.countdown-section{padding-top:45px;padding-bottom:105px}.countdown{display:grid;grid-template-columns:repeat(4,1fr);max-width:660px;margin:35px auto 24px;color:var(--wine)}.countdown>div+div{border-left:1px solid #741d2533}.countdown [data-unit]{font-size:5.5rem;line-height:1.1;font-variant-numeric:tabular-nums}.countdown p{font: .75rem/1.5 Georgia,serif;text-transform:uppercase;letter-spacing:.12em;margin-top:9px}.countdown-status{font-size:1rem;color:var(--sage)}.date-line{display:flex;align-items:center;justify-content:center;gap:25px;margin:55px auto 30px}.date-line>span{font-size:1rem;letter-spacing:.07em;text-transform:uppercase;text-align:left;line-height:1.6}.date-line>strong{font-size:5.8rem;line-height:1;font-weight:400;color:var(--wine);padding:0 25px;border-left:1px solid #741d2540;border-right:1px solid #741d2540}.outline-button.dark{color:var(--wine);border-color:#741d2580}@media(hover:hover) and (pointer:fine){.outline-button.dark:hover{background:var(--wine);color:var(--ivory)}}.venue-stage{display:grid;place-items:center;min-height:100svh;padding:110px 24px;background:linear-gradient(#eee6d720,#2c352122),url('assets/painted-garden.webp') center 72%/cover}.venue-card{width:min(600px,100%)}.venue-content{padding:175px 70px 145px}.venue-content>.label{font-size:.7rem}.venue-content h2{font-size:5.3rem;line-height:.95;margin:30px 0 15px}.ivory-rule{font-size:1.7rem;margin:22px auto}.venue-content h3{font-size:1.7rem;line-height:1.4}.venue-date{font-size:1.1rem;margin:25px 0}.venue-date em{font-size:1.3rem}.venue-content .swan{margin-top:27px}.closing{padding:85px 25px 95px}.closing h2{font-size:2rem;margin:20px 0 40px}.closing-names{font-size:4.5rem;color:var(--wine);line-height:1.3}.closing-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:25px;margin-top:35px}.closing-actions button,.closing-actions a{font: .75rem/1.5 Georgia,serif;color:var(--sage);background:none;border:0;border-bottom:1px solid #4d554466;padding:8px 0;text-decoration:none;cursor:pointer}.share-status{min-height:1.5em;font-size:1rem;margin-top:12px}.closing-date{font: .75rem/1.5 Georgia,serif;letter-spacing:.17em;color:var(--sage);margin-top:22px}
@media(min-width:1400px){.cover-card{width:560px}.cover-stage{padding-top:25px}}
/* Phone and tablet layouts: fluid type, zero intrinsic grid overflow, safe tap areas. */
.cartouche{min-width:0;max-width:100%}
.cover-stage,.invitation-stage,.venue-stage{grid-template-columns:minmax(0,1fr)}
.cover-content,.invitation-content,.venue-content{min-width:0}


.closing{padding-bottom:60px}
.topbar a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.outline-button{font-size:.875rem;min-height:48px;touch-action:manipulation}
.closing-actions button,.closing-actions a{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){
 .cover-header,.topbar{padding:10px 16px;gap:12px;letter-spacing:.03em;font-size:.8rem}
 .cover-header{min-height:48px;font-size:.75rem}
 .cover-header>span:first-child,.topbar .monogram{font-size:1.15rem}
 .cover-stage{min-height:calc(100svh - 100px);padding:8px 8px 18px}
 .cover-card{min-height:0;width:100%;max-width:460px}
 .cover-content{padding:clamp(115px,30vw,140px) 13% 100px}
 .blessing{font-size:.75rem;letter-spacing:0;line-height:1.7;max-width:100%;overflow-wrap:normal}
 .cover-content>.label{font-size:.8rem;letter-spacing:.025em;line-height:1.6;margin:20px 0 16px}
 .cover-names{font-size:clamp(3.4rem,17vw,5rem);line-height:1.13;padding:0 8px}
 .name-amp{font-size:1.5rem;line-height:1.2;margin:6px auto}
 .cover-occasion{font-size:1.1rem;letter-spacing:.04em;margin:18px 0}
 .cover-occasion em{display:block;font-size:1.8rem;margin:0}
 .outline-button{padding:12px 16px;gap:12px;max-width:100%;white-space:normal;line-height:1.5;text-align:center}
 .cover-date{font-size:1rem;margin-top:18px;letter-spacing:0;line-height:1.4}
 .cover-content .swan{width:70px;height:44px;margin-top:12px}
 .cover-footnote{font-size:.875rem;padding:0 15px calc(22px + env(safe-area-inset-bottom))}
 .invitation-stage{min-height:0;padding:8px 6px 45px}
 .invitation-card{max-width:550px}
 .invitation-content{padding:clamp(140px,38vw,180px) 13% 125px}
 .invitation-content>.label{font-size:.8rem;letter-spacing:.02em;line-height:1.65;margin:24px 0 20px}
 .invitation-content h1>span{font-size:clamp(1.6rem,7.5vw,2.6rem);letter-spacing:.035em;line-height:1.25}
 .invitation-content h1>em{font-size:clamp(2.6rem,12vw,4rem);line-height:1.2}
 .of{margin:14px 0;font-size:.875rem}
 .invitation-names{font-size:clamp(3.6rem,18vw,5.7rem);line-height:1.14}
 .invitation-date{font-size:1.1rem;line-height:1.5;margin-top:22px}
 .invitation-time{font-size:1.3rem;line-height:1.4}
 .invitation-content .swan{margin-top:15px;width:80px}
 .unfold{font-size:1rem;min-height:48px;justify-content:center}
 .paper-section{padding:60px 20px}
 .paper-section>.label{font-size:.8rem;letter-spacing:.025em;line-height:1.7}
 .paper-section h2.calligraphy{font-size:clamp(2.7rem,12vw,4.2rem);line-height:1.3;margin:22px auto 38px;max-width:100%;padding-inline:7px}
 .family-pair{grid-template-columns:minmax(0,1fr);gap:30px}
 .family-pair h3{font-size:clamp(3.8rem,17vw,5rem);line-height:1.2;margin-bottom:12px}
 .family-pair p.label{font-size:.8rem;letter-spacing:.05em}
 .family-pair p:not(.label){font-size:1.4rem;line-height:1.5;margin-top:10px}
 .pair-amp{font-size:2.4rem;line-height:1.2}
 .family-closing{font-size:1.2rem;line-height:1.5}
 .countdown-section{padding-top:25px}
 .countdown-section h2.calligraphy{font-size:clamp(2.6rem,11.5vw,4rem)}
 .countdown{grid-template-columns:repeat(4,minmax(0,1fr));margin:28px auto 22px;max-width:540px}
 .countdown>div{min-width:0}
 .countdown [data-unit]{font-size:clamp(2.65rem,11vw,4.4rem);line-height:1.2}
 .countdown p{font-size:.75rem;letter-spacing:0;line-height:1.5;margin-top:8px;text-transform:none}
 .countdown-status{font-size:1rem;line-height:1.5}
 .date-line{gap:14px;margin:38px auto 25px;max-width:100%}
 .date-line>strong{font-size:4.1rem;padding:0 16px}
 .date-line>span{font-size:.875rem;letter-spacing:.025em;line-height:1.5}
 .venue-stage{min-height:0;padding:45px 6px 65px;background-position:center bottom}
 .venue-card{max-width:520px}
 .venue-content{padding:clamp(150px,40vw,190px) 13% 120px}
 .venue-content>.label{font-size:.8rem;letter-spacing:.02em;line-height:1.65}
 .venue-content h2{font-size:clamp(3.2rem,15vw,4.8rem);line-height:1.15;margin:24px 0 15px;padding-inline:5px}
 .venue-content h3{font-size:clamp(1.3rem,5.5vw,1.7rem);line-height:1.5}
 .venue-date{font-size:1.1rem;line-height:1.55;margin:24px 0}
 .venue-content .swan{width:80px;margin-top:20px}
 .closing{padding-bottom:60px}
 .closing h2{font-size:1.7rem;line-height:1.4;margin-bottom:25px}
 .closing-names{font-size:clamp(2.8rem,12vw,4.2rem);line-height:1.4;padding-inline:8px}
 .closing-actions{gap:10px;flex-direction:column;align-items:center}
 .closing-date{font-size:.875rem}
 
 
}
@media(max-width:350px){
 .cover-content{padding-top:105px;padding-bottom:90px}
 .cover-content>.label{margin-block:14px;font-size:.75rem}
 .cover-names{font-size:3.35rem}
 .cover-occasion{margin-block:14px}
 .cover-date{font-size:1rem}
 .blessing{font-size:.7rem}
 .topbar{gap:6px;font-size:.75rem;padding-inline:12px}
 .topbar .monogram{font-size:1rem}
 .paper-section{padding-inline:16px}
 .countdown p{font-size:.75rem}
 .venue-content h2{font-size:3.1rem}
}
@media(max-height:500px) and (max-width:950px){
 .cover-stage{min-height:0}.cover-card{max-width:400px}
 .cover-content{padding:115px 13% 100px}
 .cover-names{font-size:4rem}
 .topbar{padding-block:4px}
}
@media(prefers-reduced-motion:no-preference){.cover-card{animation:appear 1.1s ease-out both}.invitation-card{animation:appear .9s ease-out both}.reveal-ready{opacity:0;transform:translateY(24px);transition:opacity .8s,transform .8s}.reveal-ready.is-visible{opacity:1;transform:translateY(0)}@keyframes appear{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Burgundy opening, SVG icons and creator credits. */
.icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.topbar a,.closing-actions a,.closing-actions button{gap:8px}.unfold .icon{align-self:center}
.cover-page{min-height:100svh;display:flex;flex-direction:column;isolation:isolate}
.cover-page .painted-world{background-position:center 62%;background-image:linear-gradient(90deg,#46131865,transparent 25%,transparent 75%,#46131865),url('assets/painted-garden.webp');transition:transform 1.2s ease}
.cover-header{color:var(--ivory);text-shadow:0 1px 4px #301c13}
.cover-page .cover-stage{flex:1;min-height:0;padding:0 24px 22px}
.frontispiece{position:relative;isolation:isolate;width:min(580px,100%);min-width:0;text-align:center;color:var(--ivory);filter:drop-shadow(0 18px 22px #19251b40);transition:transform .9s ease,opacity .65s ease}
.frontispiece-content{padding:125px 15% 115px}
.frontispiece .blessing{font-size:.7rem;letter-spacing:.025em;line-height:1.7}
.frontispiece .label{font-size:.7rem;letter-spacing:.07em;line-height:1.7;margin:24px 0 18px}
.grand-occasion{font-size:2.8rem;letter-spacing:.055em;text-transform:uppercase;line-height:1.15;margin:0 0 24px}
.grand-occasion .calligraphy{display:block;text-transform:none;letter-spacing:0;font-size:1.3em;line-height:1.2;margin-top:0}
.frontispiece .cover-names{font-size:5rem;line-height:1.05;padding-inline:12px}
.frontispiece .name-amp{font-size:1.7rem;margin:2px 0;line-height:1.1}
.cover-divider{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0 14px;color:#c8b394}
.cover-divider span{height:1px;width:45px;background:currentColor}.cover-divider i{font-style:normal;font-size:1.2rem}
.frontispiece .cover-date{font-size:1.15rem;line-height:1.5;margin:0 0 22px}
.cover-date span{font-size:1rem}
.open-button{padding:14px 24px;min-height:50px;border-color:#ecdfc4b3;background:#ecdfc410;box-shadow:inset 0 0 0 3px #741d25;letter-spacing:.015em}
.frontispiece .swan{width:75px;height:44px;margin:22px auto 0;color:var(--ivory)}
.cover-brand{text-align:center;padding:0 20px calc(20px + env(safe-area-inset-bottom));color:#254439}
.cover-brand a{display:inline-flex;flex-direction:column;justify-content:center;min-height:52px;padding:7px 18px;background:#eee6d7ee;text-decoration:none;border-radius:2px}
.cover-brand span,.brand-credit>span:first-child{font:.6rem/1.7 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.cover-brand u{font:.8rem/1.8 Arial,sans-serif;text-underline-offset:3px}
.aavkira-brand{background:var(--paper);text-align:center;padding:24px 16px calc(25px + env(safe-area-inset-bottom));border-top:1px solid #4d554420}
.aavkira-brand a{display:inline-flex;align-items:center;justify-content:center;max-width:100%;gap:20px;text-decoration:none;min-height:64px}
.aavkira-brand img{display:block;width:128px;height:auto;max-width:42%}
.brand-credit{display:flex;flex-direction:column;gap:6px;border-left:1px solid #315449;padding:7px 0 7px 20px;color:#315449;font:.75rem/1.6 Arial,sans-serif;white-space:nowrap}
.opening-veil{position:fixed;inset:0;z-index:20;display:flex;pointer-events:none;visibility:hidden}
.opening-veil>div{width:50%;height:100%;background:linear-gradient(90deg,#3b0e15,#741d25 35%,#541219 70%,#862632);box-shadow:0 0 60px #28070d;will-change:transform}
.opening-veil>div+div{background:linear-gradient(90deg,#862632,#541219 30%,#741d25 65%,#3b0e15)}
.opening .opening-veil{visibility:visible}.opening .opening-veil>div:first-child{animation:gate-left 1.05s cubic-bezier(.2,.7,.2,1) both}.opening .opening-veil>div:last-child{animation:gate-right 1.05s cubic-bezier(.2,.7,.2,1) both}
.opening .frontispiece{transform:scale(1.08);opacity:0}.opening .painted-world{transform:scale(1.1)}
@keyframes gate-left{from{transform:translateX(0)}to{transform:translateX(-102%)}}
@keyframes gate-right{from{transform:translateX(0)}to{transform:translateX(102%)}}
/* Opening-page mobile overrides: readable copy within the engraved perimeter. */
@media(max-width:760px){
 .cover-page .cover-stage{padding:0 8px 20px}
 .frontispiece{max-width:500px}
 .frontispiece-content{padding:clamp(132px,34vw,165px) 14% 100px}
 .frontispiece .blessing{font-size:.7rem;line-height:1.65;letter-spacing:0}
 .frontispiece .label{font-size:.75rem;letter-spacing:.02em;margin:22px 0 16px}
 .grand-occasion{font-size:clamp(1.85rem,8.6vw,2.6rem);letter-spacing:.02em;margin-bottom:22px}
 .grand-occasion .calligraphy{font-size:1.35em}
 .frontispiece .cover-names{font-size:clamp(3.6rem,16vw,4.8rem);line-height:1.12;padding-inline:8px}
 .frontispiece .name-amp{font-size:1.4rem;margin:3px 0}
 .cover-divider{margin:16px 0 12px}
 .frontispiece .cover-date{font-size:1.05rem;margin-bottom:20px}
 .cover-date span{font-size:1rem}
 .open-button{padding:13px 16px;gap:12px;min-height:50px;font-size:.875rem}
 .frontispiece .swan{height:40px;margin-top:18px}
 .cover-brand{padding-bottom:calc(18px + env(safe-area-inset-bottom))}
 .aavkira-brand a{gap:16px}.brand-credit{padding-left:16px}
}
@media(max-width:350px){.frontispiece-content{padding:125px 13% 95px}.frontispiece .cover-names{font-size:3.6rem}.grand-occasion{font-size:1.8rem}.aavkira-brand img{width:110px}.brand-credit{font-size:.7rem}}
@media(max-height:500px) and (max-width:950px){.frontispiece{max-width:440px}.frontispiece-content{padding-top:120px}.frontispiece .cover-names{font-size:4rem}}
@media(prefers-reduced-motion:reduce){.opening-veil{display:none}.frontispiece,.painted-world{transition:none!important}}

/* Typesetting: each text group has a deliberate rhythm; names own the calligraphy. */
.person-name{display:block;line-height:1.18}
.ceremony-subtitle{display:block;font-family:Cormorant,Georgia,serif;font-style:italic;text-transform:none;letter-spacing:.015em}
.frontispiece-content{display:flex;flex-direction:column;align-items:center;padding:155px 15% 125px;gap:26px}
.frontispiece-content>*{margin:0!important;max-width:100%}
.frontispiece .blessing{font-size:.85rem;line-height:1.7;letter-spacing:.045em}
.frontispiece .label{font-size:.9rem;letter-spacing:.12em;line-height:1.6}
.grand-occasion{font-size:2.55rem;letter-spacing:.1em;line-height:1.25}
.grand-occasion .ceremony-subtitle{font-size:1.7rem;line-height:1.35;margin-top:4px}
.frontispiece .cover-names{font-size:5.25rem;line-height:1.18;padding:0 14px}
.frontispiece .name-amp,.invitation-names .name-amp{font-size:1.7rem;line-height:1;margin:8px 0 10px}
.cover-divider{gap:14px;line-height:1;height:18px}
.frontispiece .cover-date{font-size:1.25rem;letter-spacing:.02em;line-height:1.65}
.cover-date span{display:block;font-size:1.1rem;letter-spacing:.035em;margin-top:4px}
.open-button{font:1.1rem/1.35 Cormorant,Georgia,serif;letter-spacing:.035em;min-height:50px;padding:12px 24px;gap:18px}
.frontispiece .swan{width:70px;height:42px}
.invitation-content{padding:185px 15% 140px}
.invitation-content .blessing{font-size:.85rem;line-height:1.75;letter-spacing:.04em}
.invitation-content>.label{font-size:.95rem;letter-spacing:.12em;line-height:1.6;margin:30px 0}
.invitation-content h1>span{font-size:2.8rem;letter-spacing:.1em;line-height:1.25}
.invitation-content h1>.ceremony-subtitle{font-size:1.85rem;line-height:1.4;letter-spacing:.015em;margin-top:5px}
.of{font:.9rem/1.4 Cormorant,Georgia,serif;letter-spacing:.15em;margin:22px 0}
.invitation-names{font-size:6rem;line-height:1.18;padding-inline:12px}
.invitation-date{font-size:1.35rem;letter-spacing:.025em;line-height:1.6;margin-top:32px}
.invitation-time{font-size:1.3rem;line-height:1.6;letter-spacing:.02em;margin-top:4px}
.paper-section h2.calligraphy{font-size:clamp(3.2rem,5.5vw,5rem);line-height:1.25;margin:24px auto 44px}
.family-pair h3{font-size:4.5rem;line-height:1.2}
.family-pair p:not(.label){font-size:1.5rem;line-height:1.55}
.venue-content>.label{font-size:.9rem;letter-spacing:.12em;line-height:1.65}
.venue-content h2{font-size:4.8rem;line-height:1.15;margin:30px 0}
.venue-content h3{font-size:1.65rem;line-height:1.55;letter-spacing:.01em}
.venue-date{font-size:1.2rem;line-height:1.65;margin:26px 0}
/* Keep this typesetting scale consistent across phone widths. */
@media(max-width:760px){
 .frontispiece-content{padding:clamp(140px,36vw,180px) 14% 112px;gap:24px}
 .frontispiece .blessing{font-size:.8rem;line-height:1.7;letter-spacing:.02em}
 .frontispiece .label{font-size:.85rem;letter-spacing:.065em;line-height:1.6}
 .grand-occasion{font-size:clamp(1.75rem,7.9vw,2.4rem);letter-spacing:.065em;line-height:1.25}
 .grand-occasion .ceremony-subtitle{font-size:1.35rem;line-height:1.35;margin-top:4px}
 .frontispiece .cover-names{font-size:clamp(3.5rem,15.5vw,4.8rem);line-height:1.18;padding-inline:10px}
 .frontispiece .name-amp,.invitation-names .name-amp{font-size:1.3rem;line-height:1;margin:8px 0}
 .frontispiece .cover-date{font-size:1.15rem;letter-spacing:0;line-height:1.6}
 .cover-date span{font-size:1.05rem;letter-spacing:.025em;margin-top:4px}
 .open-button{font-size:1.05rem;line-height:1.35;gap:12px;padding:12px 18px}
 .frontispiece .swan{height:38px}
 .invitation-content{padding:clamp(145px,39vw,190px) 14% 130px}
 .invitation-content .blessing{font-size:.8rem;line-height:1.7;letter-spacing:.02em}
 .invitation-content>.label{font-size:.9rem;line-height:1.6;letter-spacing:.055em;margin:28px 0}
 .invitation-content h1>span{font-size:clamp(1.8rem,8vw,2.6rem);letter-spacing:.06em;line-height:1.25}
 .invitation-content h1>.ceremony-subtitle{font-size:1.45rem;line-height:1.4;margin-top:5px}
 .of{font-size:.85rem;margin:24px 0}
 .invitation-names{font-size:clamp(3.7rem,16vw,5.2rem);line-height:1.18;padding-inline:8px}
 .invitation-date{font-size:1.2rem;line-height:1.6;margin-top:28px;letter-spacing:0}
 .invitation-time{font-size:1.2rem;line-height:1.6}
 .paper-section>.label,.family-pair p.label{font-size:.85rem;letter-spacing:.07em}
 .paper-section h2.calligraphy{font-size:clamp(2.75rem,11.5vw,4rem);line-height:1.25;margin:24px auto 36px}
 .family-pair h3{font-size:clamp(3.6rem,15.5vw,4.5rem);margin-bottom:16px}
 .family-pair p:not(.label){font-size:1.4rem;line-height:1.55}
 .venue-content>.label{font-size:.85rem;letter-spacing:.06em;line-height:1.6}
 .venue-content h2{font-size:clamp(3.2rem,14vw,4.5rem);line-height:1.2;margin:28px 0}
 .venue-content h3{font-size:1.45rem;line-height:1.55}
 .venue-date{font-size:1.15rem;line-height:1.65}
}
@media(max-width:350px){
 .frontispiece-content{padding:138px 13% 108px;gap:22px}
 .frontispiece .cover-names{font-size:3.45rem}
 .grand-occasion{font-size:1.75rem;letter-spacing:.04em}
 .frontispiece .cover-date{font-size:1.1rem}
 .open-button{font-size:1rem;padding-inline:14px}
 .invitation-names{font-size:3.65rem}
 .invitation-content .blessing,.frontispiece .blessing{font-size:.8rem;letter-spacing:0}
}
/* The devotional and introductory lines are quiet supporting copy. */
.frontispiece .blessing,.invitation-content .blessing{ text-transform:none;letter-spacing:.015em; }
.frontispiece .label,.invitation-content>.label{ text-transform:none;letter-spacing:.025em; }

/* iOS touch feedback: avoid Safari's rectangular tap tint and sticky hover. */
a,button{-webkit-tap-highlight-color:transparent}
.open-button{appearance:none;-webkit-appearance:none;touch-action:manipulation}
.open-button:active{border-color:var(--ivory);background:#ecdfc418}

/* Opening credit sits directly on the painted garden. */
.cover-brand{color:#fff4df;text-shadow:0 1px 3px #16231b,0 0 12px #16231bb3}
.cover-brand a{background:transparent;border-radius:0;padding:7px 10px}
.cover-brand span{letter-spacing:.2em}
.cover-brand u{text-decoration-thickness:1px;text-underline-offset:4px}

/* A continuous curtain handover: close on the cover, reveal only after readiness. */
.opening-veil>div{will-change:auto}
.opening .opening-veil>div{will-change:transform}
.opening .opening-veil>div:first-child{animation:curtain-close-left .55s cubic-bezier(.45,0,.2,1) both}
.opening .opening-veil>div:last-child{animation:curtain-close-right .55s cubic-bezier(.45,0,.2,1) both}
.opening .frontispiece{transform:none;opacity:1}
.opening .painted-world{transform:none}
.entering .opening-veil,.entered .opening-veil{visibility:visible}
.entering .opening-veil>div{transform:translateX(0)}
.entered .opening-veil>div{will-change:transform}
.entered .opening-veil>div:first-child{animation:curtain-open-left .85s cubic-bezier(.2,.65,.25,1) both}
.entered .opening-veil>div:last-child{animation:curtain-open-right .85s cubic-bezier(.2,.65,.25,1) both}
.invitation-card{animation:none!important}
.opening-status{display:none;position:fixed;z-index:21;bottom:12svh;inset-inline:20px;text-align:center;font:1rem/1.5 Cormorant,Georgia,serif;color:var(--ivory);letter-spacing:.05em;pointer-events:none}
.opening .opening-status{display:block;animation:waiting-label .2s .6s both}
.entering .opening-veil{animation:veil-failsafe .25s 8s forwards}
@keyframes curtain-close-left{from{transform:translateX(-102%)}to{transform:translateX(0)}}
@keyframes curtain-close-right{from{transform:translateX(102%)}to{transform:translateX(0)}}
@keyframes curtain-open-left{from{transform:translateX(0)}to{transform:translateX(-102%)}}
@keyframes curtain-open-right{from{transform:translateX(0)}to{transform:translateX(102%)}}
@keyframes waiting-label{from{opacity:0}to{opacity:1}}
@keyframes veil-failsafe{to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.opening-status{display:none!important}.invitation-card{animation:none!important}}
.opening-veil{overflow:hidden}

/* The ceremony heading receives programmatic focus after the reveal. */
#ceremony:focus{outline:none}

/* Ornament always retains the original 1024 × 1536 proportions. */
.cartouche-art{display:block;object-fit:contain}
.frontispiece,.invitation-card,.venue-card{aspect-ratio:2/3;display:grid;place-items:center}
.frontispiece-content,.invitation-content,.venue-content{width:100%;padding:22% 15% 20%;min-width:0}
.frontispiece-content{gap:30px}
.invitation-stage,.venue-stage{gap:28px;min-height:0;padding-bottom:30px}
.cover-page .cover-stage{gap:22px;padding-bottom:22px}
.cover-intro,.invitation-intro,.venue-intro{text-align:center;color:var(--wine);text-shadow:0 1px 5px var(--paper)}
.cover-intro .blessing,.invitation-intro .blessing{font-size:.9rem;line-height:1.7;text-transform:none;letter-spacing:.015em}
.cover-intro .label,.invitation-intro .label{font-size:1rem;text-transform:none;letter-spacing:.025em;line-height:1.5;margin-top:14px}
.cover-outro{text-align:center;color:var(--ivory);text-shadow:0 1px 5px #25311c}
.cover-outro .cover-divider{display:none}
.cover-outro .cover-date{font-size:1.3rem;line-height:1.6;margin:0 0 20px}
.cover-outro .open-button{background:var(--wine);text-shadow:none}
.cover-outro .swan{display:none}
.frontispiece .cover-names{font-size:5.5rem}
.grand-occasion{font-size:2.6rem}
.invitation-names{font-size:6rem}
.invitation-content .of{margin:22px 0}
.frame-followup,.venue-followup{padding:35px 24px 45px}
.frame-followup .invitation-date{margin:0;font-size:1.4rem}
.frame-followup .invitation-time{margin-top:4px}
.frame-followup .swan,.venue-followup .swan{color:var(--wine);margin:16px auto 0}
.frame-followup .unfold{margin-top:12px}
.venue-stage{padding-top:60px}
.venue-content h2{font-size:4.8rem;margin:0 0 28px;line-height:1.1}
.venue-content h3{font-size:1.65rem;line-height:1.5}
.venue-intro .label{font-size:1rem}
.venue-followup .venue-date{margin:0 0 24px}
.venue-followup .outline-button{color:var(--wine);border-color:var(--wine)}
@media(max-width:760px){
 .cover-page .cover-stage{padding:12px 8px 24px;gap:20px}
 .cover-intro,.invitation-intro{padding:0 16px}
 .cover-intro .blessing,.invitation-intro .blessing{font-size:.9rem}
 .cover-intro .label,.invitation-intro .label{font-size:1rem;margin-top:12px}
 .frontispiece-content,.invitation-content,.venue-content{padding:23% 15% 20%}
 .frontispiece-content{gap:20px}
 .frontispiece .cover-names{font-size:clamp(3.4rem,15vw,4.8rem)}
 .grand-occasion{font-size:clamp(1.75rem,7.5vw,2.4rem)}
 .invitation-content h1>span{font-size:clamp(1.75rem,7.5vw,2.5rem)}
 .invitation-content h1>.ceremony-subtitle{font-size:1.35rem}
 .invitation-content .of{margin:14px 0;font-size:.85rem}
 .invitation-names{font-size:clamp(3.4rem,15vw,4.9rem)}
 .invitation-names .name-amp,.frontispiece .name-amp{font-size:1.25rem;margin:6px 0}
 .invitation-stage{padding:18px 6px 28px;gap:22px}
 .frame-followup,.venue-followup{padding:30px 20px 40px}
 .frame-followup .invitation-date{font-size:1.25rem}
 .cover-outro .cover-date{font-size:1.25rem}
 .venue-stage{padding:45px 6px 25px;gap:24px}
 .venue-content h2{font-size:clamp(2.8rem,12.5vw,4rem);line-height:1.1;margin-bottom:20px}
 .venue-content h3{font-size:1.35rem;line-height:1.5}
 .venue-intro .label{font-size:.95rem}
}
@media(max-width:350px){
 .frontispiece .cover-names,.invitation-names{font-size:3.25rem}
 .frontispiece-content{gap:18px}
 .frontispiece-content,.invitation-content,.venue-content{padding:23% 14% 20%}
 .grand-occasion,.invitation-content h1>span{font-size:1.7rem}
 .venue-content h2{font-size:2.65rem}
 .venue-content h3{font-size:1.25rem}
}
.cover-outro{color:var(--wine);text-shadow:0 1px 4px var(--paper),0 0 10px #eee6d7aa}

/* Legible text and early scroll motion, without sections fading to blank. */
.paper-section{background:var(--paper);color:var(--ink)}
.cover-header{color:var(--wine);text-shadow:none}
.cover-intro,.invitation-intro,.venue-intro{width:100%;padding:24px 16px;background:linear-gradient(90deg,transparent,#eee6d7ed 18%,#eee6d7ed 82%,transparent);text-shadow:none;color:var(--wine)}
.cover-intro .blessing,.invitation-intro .blessing{font-size:1rem;line-height:1.65}
.cover-intro .label,.invitation-intro .label{font-size:1.1rem;line-height:1.5}
.venue-intro .label{font-size:1.05rem;line-height:1.6}
.family-closing{margin-top:32px}
.reveal-ready,.reveal-ready.is-visible{opacity:1;transform:none;transition:none}
@media(prefers-reduced-motion:no-preference){.scroll-entered{animation:content-arrive .45s cubic-bezier(.2,.65,.25,1) both}}
@keyframes content-arrive{from{transform:translateY(8px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.scroll-entered{animation:none!important}}
@media(max-width:760px){
 .cover-intro,.invitation-intro,.venue-intro{padding:20px 14px}
 .cover-intro .blessing,.invitation-intro .blessing{font-size:1rem}
 .cover-intro .label,.invitation-intro .label{font-size:1.05rem}
 .venue-intro .label{font-size:1rem}
}

/* Intro text belongs to the landscape, without a rectangular panel. */
.cover-intro,.invitation-intro,.venue-intro{background:none;color:#57131b;text-shadow:0 1px 3px #f4ead8,0 0 8px #f4ead8a6}
.cover-page .painted-world{background-image:linear-gradient(180deg,#eee6d778,transparent 55%),url('assets/painted-garden.webp')}
.invitation-page .painted-world{background-image:linear-gradient(180deg,#eee6d788,transparent 55%),url('assets/painted-garden.webp')}
.venue-stage{background-image:linear-gradient(180deg,#eee6d788,transparent 65%),url('assets/painted-garden.webp')}

/* Venue details share one ornamental composition; no detached date panels. */
.venue-card{container-type:inline-size}
.venue-content{display:flex;flex-direction:column;align-items:center;gap:16px;padding:17% 15% 15%}
.venue-content h2{font-size:clamp(2.3rem,10cqi,4rem);line-height:1.08;margin:0;padding:0}
.venue-content h3{font-size:clamp(1.0625rem,4.5cqi,1.55rem);line-height:1.4;margin:0}
.venue-content .venue-date{font-size:clamp(1.0625rem,4cqi,1.3rem);line-height:1.4;margin:0}
.venue-content .venue-date em{font-size:inherit;display:inline-block;margin-top:3px}
.venue-content .outline-button{margin:0;min-height:48px;padding:10px 18px;gap:12px}
.venue-content .swan{color:var(--ivory);width:70px;height:44px;margin:0}
.closing{padding:48px 24px 32px}
.closing h2{margin:14px 0 20px}
.closing-actions{margin-top:0}
.share-status:empty{display:none}
.closing-date{margin-top:18px}
.family-section{padding-top:48px}
@media(max-width:760px){
 .invitation-stage{padding-bottom:12px}
 .family-section{padding-top:36px}
 .venue-stage{padding-bottom:18px}
 .venue-content{padding:17% 15% 15%;gap:10px}
 .venue-content h2{font-size:clamp(2.3rem,10cqi,3.25rem);line-height:1.08;margin:0;padding:0}
 .venue-content h3{font-size:clamp(1.0625rem,4.5cqi,1.4rem);line-height:1.4}
 .venue-content .venue-date{font-size:clamp(1.0625rem,4cqi,1.2rem);line-height:1.4}
 .venue-content .swan{width:56px;height:35px;margin:0}
 .closing{padding:32px 20px 24px}
 .closing h2{margin:12px 0 16px}
}


/* Family details stay beneath each name inside the main artwork. */
.invitation-card{container-type:inline-size}
.invitation-content{padding:16% 15% 14%}
.invitation-families{display:flex;flex-direction:column;align-items:center;gap:8px}
.invited-person{width:100%;min-width:0}
.invited-person h2{font-size:clamp(2.8rem,12cqi,4.8rem);line-height:1.1;margin:0 0 6px}
.invited-person .relationship{font-size:.875rem;text-transform:uppercase;letter-spacing:.05em;line-height:1.3;margin-bottom:4px}
.invited-person .parents{font-size:clamp(1rem,3.4cqi,1.4rem);line-height:1.35}
.family-amp{font-style:italic;font-size:1.2rem;line-height:1.1}
.closing h2{margin-bottom:0}
.countdown-section{padding-top:48px}
@media(max-width:760px){
 .invitation-content{padding:16% 15% 14%}
 .invitation-content h1>span{font-size:clamp(1.6rem,7cqi,2.3rem);letter-spacing:.04em;line-height:1.2}
 .invitation-content h1>.ceremony-subtitle{font-size:1.15rem;margin-top:2px;line-height:1.2}
 .invitation-content .of{margin:6px 0;font-size:.75rem;line-height:1.2}
 .invitation-families{gap:4px;margin-top:8px}
 .invited-person h2{font-size:clamp(2.4rem,11cqi,4rem);margin-bottom:2px;line-height:1}
 .invited-person .relationship{font-size:.875rem;letter-spacing:.025em;margin-bottom:2px;line-height:1.2}
 .invited-person .parents{font-size:clamp(1rem,3.4cqi,1.2rem);line-height:1.2}
 .family-amp{font-size:1.1rem;line-height:1.1}
 .countdown-section{padding-top:36px}
 .venue-content .outline-button{font-size:.875rem;padding-inline:12px;gap:8px}
}


/* Paired names with generous space before each parent introduction. */
.invitation-content{padding:22% 15% 20%}
.invitation-families{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin-top:24px}
.invited-person h2{font-size:clamp(2rem,10.5cqi,4rem);line-height:1.3;margin-bottom:16px;white-space:nowrap}
.invited-person .relationship{font-size:.875rem;line-height:1.3;letter-spacing:.025em;margin-bottom:10px;white-space:nowrap}
.invited-person .parents{font-size:clamp(1rem,3.1cqi,1.3rem);line-height:1.4}
.family-amp{position:absolute;top:12px;left:50%;transform:translateX(-50%);font-size:1.15rem;line-height:1.2}
@media(max-width:760px){
 .invitation-content{padding:22% 15% 20%}
 .invitation-families{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
 .invited-person h2{font-size:clamp(2rem,10.5cqi,4rem);line-height:1.3;margin-bottom:12px}
 .invited-person .relationship{font-size:.875rem;line-height:1.3;letter-spacing:0;margin-bottom:8px}
 .invited-person .parents{font-size:clamp(1rem,3.1cqi,1.2rem);line-height:1.4}
 .family-amp{top:10px;font-size:1rem;line-height:1.2}
}

/* Quiet the ornament while keeping the lettering crisp and the frame proportional. */
.invitation-card::before{content:"";position:absolute;inset:0;z-index:-2;background:#741d25;-webkit-mask:url('assets/antique-cartouche.webp') center/contain no-repeat;mask:url('assets/antique-cartouche.webp') center/contain no-repeat;pointer-events:none}
.invitation-card .cartouche-art{opacity:.64}
.invitation-content{transform:translateY(-6cqi)}
.venue-content .venue-time{font-size:clamp(1.0625rem,4cqi,1.3rem);font-style:italic;line-height:1.4;margin:0}
@media(max-width:760px){
 .invitation-content{transform:translateY(-4cqi)}
 .venue-content .venue-time{font-size:clamp(1.0625rem,4cqi,1.2rem)}
}
@media(max-width:350px){.invitation-content{transform:translateY(-2cqi)}}

@font-face{font-family:Gujarati;src:url('assets/noto-serif-gujarati.ttf') format('truetype');font-weight:100 900;font-display:swap}
.language-switch{display:flex;align-items:center;justify-content:center;gap:16px;background:var(--paper);padding:8px 20px 26px;color:var(--wine)}
.language-switch button{border:0;background:none;color:inherit;padding:8px 3px;min-height:44px;cursor:pointer;font:1rem/1.5 Cormorant,Georgia,serif;touch-action:manipulation}
.language-switch button[lang=gu]{font-family:Gujarati,serif}
.language-switch button[aria-pressed=true]{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
html[lang=gu] body,html[lang=gu] .calligraphy,html[lang=gu] .label,html[lang=gu] .outline-button,html[lang=gu] .countdown p,html[lang=gu] .date-line>span,html[lang=gu] .cover-header,html[lang=gu] .language-switch button[lang=gu]{font-family:Gujarati,serif;letter-spacing:0;text-transform:none;font-style:normal}
html[lang=gu] .blessing{font-family:Gujarati,serif;line-height:1.9;letter-spacing:0}
html[lang=gu] .invitation-content h1>span{font-size:clamp(1.5rem,6cqi,2.4rem);letter-spacing:0;line-height:1.6}
html[lang=gu] .invitation-content h1>.ceremony-subtitle{font-size:1.2rem;line-height:1.6;font-style:normal}
html[lang=gu] .invited-person h2{font-size:clamp(1.5rem,7.5cqi,2.6rem);line-height:1.6;margin-bottom:12px}
html[lang=gu] .invited-person .relationship{font-size:.875rem;line-height:1.6;letter-spacing:0}
html[lang=gu] .invited-person .parents{font-size:1rem;line-height:1.65}
html[lang=gu] .family-amp{font-size:.8rem;top:18px;font-style:normal}
html[lang=gu] .paper-section h2.calligraphy{font-size:clamp(1.4rem,4vw,2.3rem);line-height:1.7}
html[lang=gu] .countdown [data-unit]{font-family:Gujarati,serif;font-size:clamp(2rem,8vw,4rem);line-height:1.5}
html[lang=gu] .countdown p{font-size:.75rem;line-height:1.6}
html[lang=gu] .venue-content h2{font-size:clamp(1.8rem,7cqi,2.8rem);line-height:1.6}
html[lang=gu] .venue-content h3{font-size:clamp(1rem,4cqi,1.3rem);line-height:1.65}
html[lang=gu] .venue-time{font-size:1rem;line-height:1.7;font-style:normal}
html[lang=gu] .closing h2{font-size:clamp(1.2rem,3vw,1.6rem);line-height:1.7}
html[lang=gu] .brand-credit{font-family:Gujarati,serif;letter-spacing:0}
html[lang=gu] .grand-occasion{font-family:Gujarati,serif;font-size:clamp(1.5rem,6vw,2.3rem);line-height:1.7;letter-spacing:0}
html[lang=gu] .ceremony-subtitle{font-family:Gujarati,serif;line-height:1.7;font-style:normal}
html[lang=gu] .cover-names .person-name{font-size:clamp(2rem,9vw,3.5rem);line-height:1.7}
html[lang=gu] .cover-names .name-amp{font-size:1rem;line-height:1.7;margin:8px 0}
@media(max-width:760px){
 html[lang=gu] .invitation-content{padding:18% 14% 16%;transform:translateY(-2cqi)}
 html[lang=gu] .invitation-families{margin-top:12px;gap:22px}
 html[lang=gu] .invited-person h2{margin-bottom:8px}
 html[lang=gu] .invited-person .relationship{margin-bottom:6px}
 html[lang=gu] .venue-content{padding:16% 14%;gap:10px}
 html[lang=gu] .cover-intro .label,html[lang=gu] .invitation-intro .label{font-size:1rem;line-height:1.8}
 html[lang=gu] .frontispiece-content{gap:16px}
}

/* The language choice belongs only to the opening page, above its creator credit. */
.cover-page .language-switch{background:transparent;color:#fff4df;text-shadow:0 1px 3px #16231b,0 0 12px #16231bb3;padding:6px 20px 10px}
.cover-page .language-switch button{font-size:1.1rem}

/* Header controls and corner greetings scroll over one stationary garden. */
.cover-header{align-items:flex-start;padding:18px 28px;gap:18px}
.cover-mark{display:flex;flex-direction:column;gap:3px}
.cover-monogram{font:1.3rem/1.4 Cormorant,serif;letter-spacing:.06em}
.cover-header-date{font-size:.7rem;letter-spacing:.12em}
.cover-header .language-switch{margin:0;padding:0;gap:12px;align-items:center;color:var(--wine);text-shadow:0 1px 5px var(--paper);letter-spacing:0;text-transform:none}
.cover-header .language-switch button{font-size:1rem;padding:0 2px;line-height:1.5}
.invitation-corners{display:flex;width:min(1160px,100%);justify-content:space-between;align-items:flex-start;gap:24px;text-align:left;color:var(--wine);padding:0 10px;text-shadow:0 1px 4px var(--paper)}
.invitation-corners .blessing{font-size:1rem;line-height:1.6;letter-spacing:0;text-transform:none}
.invitation-corners .label{text-align:right;font-size:1rem;line-height:1.6;letter-spacing:0;text-transform:none}
.painted-world{position:fixed;inset:0;background-attachment:initial}
.venue-stage{background:none}
.countdown-section{background:none;color:var(--wine);text-shadow:0 1px 4px var(--paper),0 0 12px #eee6d7e6}
.countdown-section .countdown,.countdown-section h2{color:var(--wine)}
.countdown-section .countdown>div+div{border-color:#741d2566}
.extended-cartouche{display:none}
.invitation-content{padding:20% 15% 18%;transform:none}
.invitation-calendar{margin-top:36px}
.invitation-calendar .date-line{margin:0 auto 22px;gap:22px;color:var(--ivory)}
.invitation-calendar .date-line>strong{font-size:4rem;color:inherit;border-color:#ecdfc460;padding:0 18px}
.invitation-calendar .date-line>span{font-size:.9rem;letter-spacing:.035em}
.invitation-calendar .outline-button.dark{color:var(--ivory);border-color:#ecdfc480}
html[lang=gu] .cover-monogram{font-family:Gujarati,serif;letter-spacing:0}
html[lang=gu] .cover-header-date{font-size:.7rem;letter-spacing:0}
html[lang=gu] .invitation-corners .label{font-size:.95rem;line-height:1.8}
html[lang=gu] .invitation-corners .blessing{font-size:.95rem;line-height:1.8}
html[lang=gu] .invitation-content{padding:20% 14% 18%;transform:none}
html[lang=gu] .invitation-families{margin-top:clamp(22px,calc(50cqi - 136.5px),150px)}
html[lang=gu] .invitation-calendar .date-line>strong{font-family:Gujarati,serif;font-size:3rem;line-height:1.5}
html[lang=gu] .invitation-calendar .date-line>span{font-size:.875rem;line-height:1.7}
@media(max-width:760px){
 .cover-header{padding:12px 16px;gap:12px}
 .cover-header .language-switch{gap:8px}
 .cover-header .language-switch button{font-size:.95rem}
 .cover-header-date{font-size:.65rem}
 .invitation-corners{gap:18px;padding:0 12px}
 .invitation-corners .blessing,.invitation-corners .label{font-size:.9rem;line-height:1.6}
 .invitation-stage{padding-top:20px;gap:24px}
 .invitation-calendar{margin-top:28px}
 .invitation-calendar .date-line{gap:12px;margin-bottom:18px}
 .invitation-calendar .date-line>strong{font-size:3.3rem;padding-inline:12px}
 .invitation-calendar .date-line>span{font-size:.8rem}
 html[lang=gu] .invitation-corners .label,html[lang=gu] .invitation-corners .blessing{font-size:.85rem;line-height:1.8}
 html[lang=gu] .invitation-calendar .date-line{gap:10px}
 html[lang=gu] .invitation-calendar .date-line>strong{font-size:2.8rem;padding-inline:10px}
 html[lang=gu] .invitation-calendar .date-line>span{font-size:.8rem}
}
@media(max-width:430px){
 .invitation-card{aspect-ratio:1024/2000}
 .invitation-card::before{display:none}
 .invitation-card>.cartouche-art{visibility:hidden}
 .extended-cartouche{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
 .invitation-content,html[lang=gu] .invitation-content{padding:30% 15% 24%;transform:none}
 .invitation-families{margin-top:clamp(22px,calc(50cqi - 136.5px),150px)}
 html[lang=gu] .invitation-families{margin-top:20px}
 .invitation-calendar{margin-top:30px}
}

.invitation-content,html[lang=gu] .invitation-content{transform:translateY(-4cqi)}
@media(max-width:350px){.invitation-content,html[lang=gu] .invitation-content{transform:translateY(-2cqi)}}

/* High contrast lettering directly on the painted landscape. */
.countdown-section,.countdown-section .countdown,.countdown-section h2,.venue-intro{color:#fff5dc;text-shadow:0 1px 3px #24301d,0 0 8px #24301dcc}
.countdown-section .countdown>div+div{border-color:#fff5dc80}
.countdown-section .countdown p{font-size:.875rem;line-height:1.5}
html[lang=gu] .countdown-section .countdown p{font-size:.8125rem;line-height:1.7}
.countdown-section h2.calligraphy{color:#fff5dc;text-shadow:inherit}

/* Restore every frame to the supplied artwork and compose copy within it. */
.invitation-card{aspect-ratio:2/3}
.invitation-card::before{display:none}
.invitation-card>.cartouche-art{visibility:visible;opacity:1}
.extended-cartouche{display:none!important}
.invitation-content,html[lang=gu] .invitation-content{padding:20% 15% 18%;transform:none}
.invitation-families{margin-top:14px;gap:20px}
.invitation-calendar{margin-top:20px}
.compact-event-date{font-size:1.2rem;line-height:1.4}
.invitation-calendar .outline-button{border:0;border-bottom:1px solid #ecdfc470;border-radius:0;padding:4px 0;min-height:44px;margin-top:8px}
.cover-header .language-switch{gap:4px}
.cover-header .language-switch button{min-width:44px;font-size:.9rem;padding:0 4px}
.frontispiece{container-type:inline-size}
.frontispiece-content{padding:27% 15% 21%;gap:16px}
.frontispiece .cover-welcome{font-size:1rem;line-height:1.5;letter-spacing:.01em;text-transform:none;max-width:100%}
.countdown-section h2.calligraphy{font-size:clamp(2rem,9vw,5rem);white-space:nowrap;margin:0 auto 8px;padding:0;line-height:1.3}
.countdown-section>.label{white-space:nowrap;margin:0;font-size:1rem;letter-spacing:.04em}
.countdown-section .countdown{margin-top:30px}
html[lang=gu] .countdown-section h2.calligraphy{font-size:clamp(1.125rem,5vw,2.3rem);line-height:1.7;margin:0 auto 8px}
html[lang=gu] .countdown-section>.label{font-size:.9rem;letter-spacing:0;line-height:1.7}
html[lang=gu] .cover-welcome{font-size:.95rem;line-height:1.7}
html[lang=gu] .invitation-families{margin-top:clamp(14px,calc(50cqi - 136.5px),150px)}
html[lang=gu] .compact-event-date{font-size:1rem;line-height:1.5}
@media(max-width:760px){
 .invitation-content,html[lang=gu] .invitation-content{padding:20% 15% 18%;transform:none}
 .invitation-content h1>span{font-size:clamp(1.5rem,6.8cqi,2.3rem);line-height:1.2}
 .invitation-families{margin-top:10px;gap:18px}
 .invited-person h2{line-height:1.15;margin-bottom:8px}
 .invited-person .relationship{line-height:1.2;margin-bottom:4px}
 .invited-person .parents{line-height:1.3}
 .invitation-calendar{margin-top:14px}
 .compact-event-date{font-size:1rem;line-height:1.3}
 .invitation-calendar .outline-button{font-size:.875rem;margin-top:4px;gap:8px}
 .frontispiece-content{padding:27% 15% 21%;gap:12px}
 .frontispiece .cover-names{font-size:clamp(2.9rem,13cqi,4.4rem);line-height:1.1}
 .frontispiece .grand-occasion{font-size:clamp(1.6rem,6.8cqi,2.3rem)}
 .frontispiece .ceremony-subtitle{font-size:1.2rem;line-height:1.3}
 html[lang=gu] .invitation-content h1>span{font-size:clamp(1.4rem,6cqi,2.4rem);line-height:1.4}
 html[lang=gu] .invitation-families{margin-top:8px;gap:20px}
 html[lang=gu] .invited-person h2{line-height:1.4;margin-bottom:6px}
 html[lang=gu] .invited-person .relationship{line-height:1.3;margin-bottom:4px}
 html[lang=gu] .invited-person .parents{line-height:1.4}
 html[lang=gu] .compact-event-date{font-size:.95rem;line-height:1.4}
 html[lang=gu] .invitation-calendar{margin-top:12px}
 html[lang=gu] .frontispiece-content{gap:12px}
 html[lang=gu] .cover-names .person-name{font-size:clamp(1.8rem,8cqi,3rem);line-height:1.6}
 html[lang=gu] .cover-names .name-amp{font-size:.875rem;line-height:1.5;margin:6px 0}
 html[lang=gu] .frontispiece .grand-occasion{font-size:clamp(1.4rem,6cqi,2.3rem);line-height:1.5}
 html[lang=gu] .frontispiece .ceremony-subtitle{font-size:1.1rem;line-height:1.5}
}

/* Header and cover composition within unmodified ornamental frames. */
.invitation-corners{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:start}
.invitation-corners .blessing{grid-column:1;grid-row:1;white-space:nowrap}
.invitation-corners .mataji{grid-column:3;grid-row:1;text-align:right;font-size:1rem;line-height:1.6;white-space:nowrap}
.invitation-corners .label{grid-column:2;grid-row:1;text-align:center;white-space:nowrap}
.invitation-content,html[lang=gu] .invitation-content{position:absolute;inset:0;padding:0;transform:none;width:100%;height:100%}
.invitation-primary{position:absolute;top:22%;left:15%;width:70%;text-align:center}
.invitation-content h1>span{font-size:3rem;line-height:1.2}
.invitation-content h1>.ceremony-subtitle{font-size:1.65rem;line-height:1.3;margin-top:4px}
.invitation-families{margin-top:clamp(22px,calc(50cqi - 136.5px),150px)}
.invited-person h2{font-size:clamp(2.1rem,12cqi,4.8rem);line-height:1.15}
.invited-person .parents{font-size:clamp(1rem,3.6cqi,1.45rem)}
.invitation-calendar,html[lang=gu] .invitation-calendar{position:absolute;bottom:17%;left:15%;width:70%;margin:0}
.invitation-calendar .outline-button.dark{border:1px solid #ecdfc493;border-radius:50px;padding:10px 20px;min-height:48px;margin-top:12px}
.frontispiece .cover-welcome{position:absolute;top:19%;left:15%;width:70%;margin:0;text-align:center}
.frontispiece-content,html[lang=gu] .frontispiece-content{position:absolute;top:35%;left:15%;width:70%;padding:0;gap:16px}
.countdown-section{padding-bottom:28px}
.countdown-section .countdown{margin-bottom:0}
.venue-stage{padding-top:16px;gap:18px}
html[lang=gu] .invitation-content h1>span{font-size:clamp(1.5rem,6.5cqi,2.6rem);line-height:1.4}
html[lang=gu] .invitation-content h1>.ceremony-subtitle{font-size:1.3rem;line-height:1.4}
html[lang=gu] .invited-person h2{font-size:clamp(1.5rem,8cqi,3rem)}
html[lang=gu] .invitation-corners .mataji{font-family:Gujarati,serif;font-size:.95rem;line-height:1.8}
@media(max-width:760px){
 .invitation-corners{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px}
 .invitation-corners .blessing{grid-column:1;grid-row:1;font-size:.875rem}
 .invitation-corners .mataji{grid-column:2;grid-row:1;font-size:.875rem}
 .invitation-corners .label{grid-column:1/-1;grid-row:2;font-size:.9rem;line-height:1.5}
 .invitation-primary{top:20%;left:15%;width:70%}
 .invitation-content h1>span{font-size:clamp(1.55rem,7cqi,2.5rem);line-height:1.2}
 .invitation-content h1>.ceremony-subtitle{font-size:1.15rem;line-height:1.25;margin-top:2px}
 .invitation-families{margin-top:clamp(10px,calc(50cqi - 136.5px),150px)}
 .invited-person h2{font-size:clamp(2.1rem,11cqi,4rem);line-height:1.05;margin-bottom:8px}
 .invited-person .parents{font-size:clamp(1rem,3.2cqi,1.2rem);line-height:1.25}
 .invitation-calendar,html[lang=gu] .invitation-calendar{bottom:13%;left:15%;width:70%}
 .invitation-calendar .outline-button.dark{padding:10px 16px;min-height:48px;margin-top:6px}
 .compact-event-date{font-size:1rem;line-height:1.3}
 .countdown-section{padding-bottom:18px}
 .venue-stage{padding-top:10px;gap:16px}
 html[lang=gu] .invitation-corners .label{font-size:clamp(.75rem,3vw,.95rem);line-height:1.7}
 html[lang=gu] .invitation-corners .mataji{font-size:.85rem}
 html[lang=gu] .invitation-content h1>span{font-size:clamp(1.4rem,6cqi,2.4rem);line-height:1.3}
 html[lang=gu] .invitation-content h1>.ceremony-subtitle{font-size:1.05rem;line-height:1.3}
 html[lang=gu] .invitation-families{margin-top:clamp(8px,calc(50cqi - 136.5px),150px)}
 html[lang=gu] .invited-person h2{font-size:clamp(1.5rem,8cqi,2.6rem);line-height:1.3}
 html[lang=gu] .invited-person .parents{line-height:1.4}
}

/* One centred composition: equal gaps, no independent vertical anchors. */
.invitation-content,html[lang=gu] .invitation-content{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:15% 15%;gap:clamp(14px,4cqi,28px)}
.invitation-primary{position:static;width:100%;display:flex;flex-direction:column;gap:clamp(14px,4cqi,28px)}
.invitation-families,html[lang=gu] .invitation-families{margin:0;gap:clamp(18px,4cqi,28px)}
.invitation-calendar,html[lang=gu] .invitation-calendar{position:static;width:100%;margin:0}
.invitation-content h1>span{font-size:clamp(1.6rem,8cqi,3.4rem);line-height:1.2}
.invitation-content h1>.ceremony-subtitle{font-size:clamp(1.15rem,4cqi,1.65rem);line-height:1.3;margin-top:4px}
.invited-person h2{font-size:clamp(2.1rem,13cqi,5.2rem);line-height:1.12;margin-bottom:clamp(8px,2cqi,14px)}
.invited-person .parents{font-size:clamp(1rem,4cqi,1.55rem);line-height:1.35}
.invited-person .relationship{margin-bottom:6px}
.compact-event-date{font-size:clamp(1rem,3.8cqi,1.4rem);line-height:1.3}
html[lang=gu] .invitation-content h1>span{font-size:clamp(1.4rem,7cqi,3rem);line-height:1.4}
html[lang=gu] .invitation-content h1>.ceremony-subtitle{font-size:clamp(1.05rem,3.6cqi,1.45rem);line-height:1.4}
html[lang=gu] .invited-person h2{font-size:clamp(1.5rem,9cqi,3.5rem);line-height:1.4;margin-bottom:8px}
html[lang=gu] .invited-person .parents{font-size:clamp(1rem,3.5cqi,1.4rem);line-height:1.45}
html[lang=gu] .compact-event-date{font-size:clamp(.95rem,3.5cqi,1.25rem);line-height:1.5}
@media(max-width:350px){
 .invited-person .parents{font-size:1rem;line-height:1.25}
 .invited-person h2{font-size:clamp(2.1rem,11cqi,2.5rem);line-height:1.05}
 .invitation-content h1>span{font-size:clamp(1.55rem,7cqi,1.8rem)}
 html[lang=gu] .invited-person h2{font-size:1.5rem;line-height:1.3}
 html[lang=gu] .invited-person .parents{font-size:1rem;line-height:1.4}
}
/* Centre each header group in its own balanced column. */
.invitation-corners{justify-self:center;text-align:center;align-items:center}
.invitation-corners .blessing,.invitation-corners .mataji,.invitation-corners .label{width:100%;text-align:center;justify-self:center;margin:0}
.cover-mark{align-items:center;text-align:center}
.frontispiece,.frontispiece-content,.cover-welcome,.cover-outro,.cover-brand,.venue-intro,.venue-content,.invitation-calendar,.invited-person,.closing,.aavkira-brand{text-align:center}
@media(max-width:760px){
 .invitation-corners{column-gap:12px;row-gap:10px}
 .invitation-corners .blessing,.invitation-corners .mataji{font-size:.9rem;line-height:1.6}
 html[lang=gu] .invitation-corners .blessing,html[lang=gu] .invitation-corners .mataji{font-size:.85rem;line-height:1.8}
}
/* Keep all three greetings in the same header row at every width. */
@media(max-width:760px){
 .invitation-corners{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr);column-gap:8px;align-items:start;padding-inline:0}
 .invitation-corners .blessing{grid-column:1;grid-row:1}
 .invitation-corners .label{grid-column:2;grid-row:1}
 .invitation-corners .mataji{grid-column:3;grid-row:1}
 .invitation-corners .blessing,.invitation-corners .label,.invitation-corners .mataji{font-size:.875rem;line-height:1.45;white-space:normal;overflow-wrap:normal}
 html[lang=gu] .invitation-corners .blessing,html[lang=gu] .invitation-corners .label,html[lang=gu] .invitation-corners .mataji{font-size:.8125rem;line-height:1.7}
}
/* A complete opening screen, with language choices above the open action. */
html:has(.cover-page){height:100%;overflow:hidden}
.cover-page{height:100svh;height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.cover-header{padding:8px 16px;min-height:48px}
.cover-page .cover-stage{min-height:0;padding:0 8px 8px;gap:8px;grid-template-rows:minmax(0,1fr) auto;align-items:center}
.cover-page .frontispiece{width:min(500px,100%,calc((100svh - 250px)*.666667));width:min(500px,100%,calc((100dvh - 250px)*.666667));height:auto;max-height:100%;min-height:0;justify-self:center}
.cover-outro{width:min(420px,100%);justify-self:center}
.cover-outro .language-switch{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0 0 6px;padding:0 12px;color:var(--ivory);text-shadow:0 1px 3px #16231b,0 0 8px #16231b;gap:24px}
.cover-outro .language-switch button{border:0;border-bottom:1px solid transparent;background:none;color:inherit;font-size:1rem;line-height:1.4;padding:4px 12px;min-width:92px;min-height:44px;cursor:pointer}
.cover-outro .language-switch button[aria-pressed=true]{border-bottom-color:transparent}
.cover-brand{padding:0 12px calc(6px + env(safe-area-inset-bottom))}
.cover-brand a{padding:2px 10px;min-height:44px}
.frontispiece .cover-welcome,html[lang=gu] .frontispiece .cover-welcome{font-size:clamp(.75rem,3.8cqi,1rem);line-height:1.5}
.frontispiece-content,html[lang=gu] .frontispiece-content{gap:clamp(6px,2cqi,12px)}
.frontispiece .grand-occasion{font-size:clamp(1.2rem,7cqi,2.3rem)}
.frontispiece .ceremony-subtitle{font-size:clamp(.9rem,4.7cqi,1.2rem);line-height:1.3}
.frontispiece .cover-names{font-size:clamp(1.7rem,13cqi,4.4rem);line-height:1.1;padding:0}
.frontispiece .cover-names .name-amp{font-size:.28em;line-height:1.2;margin:3px 0}
html[lang=gu] .frontispiece .grand-occasion{font-size:clamp(1.1rem,6cqi,2.3rem);line-height:1.5}
html[lang=gu] .frontispiece .ceremony-subtitle{font-size:clamp(.85rem,4.5cqi,1.1rem);line-height:1.5}
html[lang=gu] .cover-names .person-name{font-size:clamp(1.2rem,8cqi,3rem);line-height:1.5}
html[lang=gu] .cover-names .name-amp{font-size:.75rem;margin:3px 0}
@media(max-height:500px) and (min-width:600px){
 .cover-page .cover-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);max-width:800px;width:100%;margin:auto;gap:24px}
 .cover-page .frontispiece{width:min(100%,calc((100dvh - 108px)*.666667))}
 .cover-outro .language-switch{padding:0}
}
/* Optical name balance and a lower, clearer calendar group. */
html{background:#4d5544 url('assets/painted-garden.webp') center 56%/cover fixed}
body{background:transparent;isolation:isolate}
.painted-world{top:calc(0px - env(safe-area-inset-top));bottom:calc(0px - env(safe-area-inset-bottom))}
.invited-person:last-child h2{transform:scaleX(.9);transform-origin:center}
html[lang=gu] .invited-person:last-child h2{transform:none}
.invitation-content,html[lang=gu] .invitation-content{padding-top:19%;padding-bottom:11%;gap:clamp(22px,6cqi,40px)}
.compact-event-date{font-size:clamp(1.125rem,4.3cqi,1.6rem);line-height:1.35}
html[lang=gu] .compact-event-date{font-size:clamp(1.05rem,3.8cqi,1.4rem);line-height:1.5}
@media(max-width:350px){
 .invitation-content,html[lang=gu] .invitation-content{padding-top:17%;padding-bottom:13%;gap:14px}
 .compact-event-date{font-size:1.125rem}
}
/* Clear language choices over the painted garden, with no boxed background. */
.cover-outro .language-switch button{opacity:1;color:#fff5dc;font-size:1.125rem;font-weight:600;text-shadow:0 1px 2px #16231b,0 0 4px #16231b,0 0 10px #16231b;min-height:44px}
.cover-outro .language-switch button[aria-pressed=true]{border-bottom-color:transparent}