:root{--green:#6c7e54;--ink:#34432e;--paper:#fffaf2;--gold:#8b723e}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:72px}body{margin:0;background:#e9ebdf;color:var(--ink);font:16px/1.65 Georgia,'Times New Roman',serif}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{font:inherit}button,a:focus-visible{outline-offset:5px}a:focus-visible,button:focus-visible{outline:3px solid #967928}button{cursor:pointer}[hidden]{display:none!important}.cover{min-height:100svh;background:var(--green);display:grid;place-items:center;padding:26px 20px;position:relative}.envelope{width:min(100%,420px);padding:46px 26px;text-align:center;background:var(--paper);border-radius:160px 160px 8px 8px;box-shadow:0 20px 70px #26342155;border:9px double #e4e5d6}.eyebrow{font:11px/1.6 Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase}.mini-leaf{font-size:62px;color:var(--green);margin:20px 0 0}h1{font-size:58px;font-weight:400;line-height:1.1;margin:16px 0 25px}h1 i,.wreath i{display:block;font-size:.48em;line-height:1.5;color:var(--gold);font-weight:400}h2{font-size:36px;font-weight:400;line-height:1.2;margin:14px 0 24px}h3{font-size:23px;font-weight:400;margin:28px 0 8px}p{margin:14px 0}.small{font:14px/1.65 Arial,sans-serif}.rule{width:70px;height:1px;background:#b6bca3;margin:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;padding:12px 27px;border:1px solid var(--green);border-radius:30px;background:var(--green);color:white;text-decoration:none;font:14px/1.5 Arial,sans-serif;margin:14px 0}.button:hover{background:#526440}.secondary{background:transparent;color:var(--ink)}.secondary:hover{color:white}.text-link{display:inline-block;min-height:44px;padding:10px 2px;text-underline-offset:5px;font-size:14px}main{max-width:760px;margin:auto;background:var(--paper);box-shadow:0 0 60px #34432e0e;background-image:url('assets/botanical.svg');background-size:760px auto}nav{display:flex;justify-content:center;gap:24px;position:sticky;top:0;z-index:5;background:#fffaf2f2;backdrop-filter:blur(10px);border-bottom:1px solid #6c7e5422;padding:7px 12px}nav a{font:12px/1.6 Arial,sans-serif;text-decoration:none;padding:12px 4px;min-height:44px}section,header,footer{padding:64px 36px;position:relative}.center{text-align:center}.hero{text-align:center;padding-top:40px;padding-bottom:48px}.wreath{margin:26px auto 20px;width:min(100%,370px);min-height:330px;display:grid;place-items:center;border:1px solid #a8b294;border-radius:48% 52% 46% 54%;position:relative;box-shadow:inset 0 0 0 12px var(--paper),inset 0 0 0 13px #c2cbb2}.wreath:before,.wreath:after{content:'❦';position:absolute;color:var(--green);font-size:70px;line-height:1;top:20px;left:8px;transform:rotate(-35deg)}.wreath:after{top:auto;left:auto;bottom:20px;right:8px;transform:rotate(145deg)}.wreath h2{font-size:64px;line-height:1;margin:18px 0}.hero-date{font-size:23px}.hero .small{display:block}.hero .text-link{display:block}.date-block{display:flex;flex-direction:column;margin:32px auto;letter-spacing:.18em;font:12px Arial,sans-serif}.date-block strong{font:80px/1.2 Georgia,serif;letter-spacing:0;color:var(--green)}section:before{content:'';display:block;width:50px;height:1px;background:#c2c9b3;margin:-10px auto 38px}.memories{padding-top:40px}.photo-placeholder{min-height:240px;border:1px solid #c7cdb9;background:#e8ecdf;display:flex;flex-direction:column;justify-content:center;padding:24px;border-radius:130px 130px 3px 3px}.photo-placeholder span{font-size:60px;font-weight:400;color:var(--green)}.photo-placeholder p{font-style:italic}.preview-note{font:12px/1.6 Arial,sans-serif;color:#626c58;margin-top:16px}figure{margin:36px 0 24px}figure img{display:block;width:100%;height:auto;border-radius:3px}figcaption{display:flex;align-items:center;gap:12px;font-size:19px;margin-top:12px}figcaption span{font:11px Arial,sans-serif;color:var(--gold);border:1px solid #c5cbb8;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}.venue-info{text-align:center;border-top:1px solid #d5d8ca;border-bottom:1px solid #d5d8ca;margin:28px 0;padding:16px 0}.swatches{display:flex;justify-content:center;gap:24px;margin:30px 0}.swatches div{font:12px/1.7 Arial,sans-serif}.swatches span{display:block;background:var(--swatch);width:44px;height:44px;border-radius:50%;border:1px solid #c5c7b8;box-shadow:0 3px 9px #34432e15;margin-bottom:10px}.timeline{list-style:none;max-width:440px;margin:40px auto 0;padding:0}.timeline li{display:grid;grid-template-columns:90px 1fr;position:relative;gap:30px;min-height:94px}.timeline time{font:14px/1.8 Arial,sans-serif;text-align:right}.timeline li div{border-left:1px solid #bac5ab;padding:0 0 35px 26px;position:relative}.timeline li div:before{content:'';width:9px;height:9px;border-radius:50%;background:var(--green);position:absolute;left:-5px;top:8px;box-shadow:0 0 0 5px #ebeedf}.timeline li:last-child div{border-color:transparent}.timeline small{display:block;font:13px/1.7 Arial,sans-serif;color:#626c58;margin-top:4px}.rsvp{background:#edf0e5;border-top:1px solid #d8decb}.pending{display:inline-block;padding:12px 25px;border:1px solid #a8b294;border-radius:30px;margin:20px 0 0}.privacy{margin-top:28px;color:#59654e}footer{padding-bottom:90px}.signature{font-size:42px;font-style:italic;margin:10px 0}.footer-leaf{font-size:80px;color:var(--green);margin:20px 0 0}.music{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));right:18px;z-index:10;width:48px;height:48px;border-radius:50%;border:1px solid #d1d9c1;background:var(--green);color:white;font-size:25px;box-shadow:0 4px 16px #34432e20}.music:disabled{opacity:.6;cursor:default}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#gallery img{width:100%;height:auto;max-height:550px;object-fit:contain}#gallery .gallery-controls{display:flex;justify-content:center;align-items:center;gap:16px}#gallery button{min-width:44px;min-height:44px;border:1px solid var(--green);border-radius:50%;background:var(--paper);color:var(--ink)}@media(max-width:480px){section,header,footer{padding-left:22px;padding-right:22px}h2{font-size:31px}.hero-date{font-size:21px}.wreath{min-height:290px}.wreath h2{font-size:57px}.eyebrow{font-size:10px;letter-spacing:.18em}.swatches{gap:22px}.timeline li{grid-template-columns:76px 1fr;gap:22px}.timeline li div{padding-left:20px}.desktop{display:none}.envelope{padding:32px 22px}.music{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

/* Perspective photo cards; the active image always stays fully visible. */
.carousel{width:100%;max-width:620px;margin:32px auto 0}
.carousel-stage{height:clamp(310px,105vw,510px);position:relative;perspective:1100px;overflow:hidden;isolation:isolate;touch-action:pan-y}
.carousel-card{position:absolute;inset:14px 15%;display:flex;align-items:center;justify-content:center;background:#e5e8dc;border:7px solid #fffdf7;border-radius:12px;box-shadow:0 16px 32px #34432e25;transform:translateX(0) translateZ(-180px) scale(.8);transition:transform .85s cubic-bezier(.22,.7,.2,1),opacity .85s;opacity:0;backface-visibility:hidden;pointer-events:none}
#gallery .carousel-card img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:5px}
.carousel-card[data-position="0"]{transform:translateX(0) translateZ(0) rotateY(0);z-index:3;opacity:1}
.carousel-card[data-position="1"]{transform:translateX(65%) translateZ(-160px) rotateY(-38deg);z-index:2;opacity:.65}
.carousel-card[data-position="-1"]{transform:translateX(-65%) translateZ(-160px) rotateY(38deg);z-index:2;opacity:.65}
.carousel-card[data-position="2"]{transform:translateX(0) translateZ(-320px);z-index:1;opacity:.2}
#gallery .gallery-controls{margin-top:18px;gap:14px;flex-wrap:wrap;font:14px Arial,sans-serif}
#gallery .gallery-controls button:last-child{border-radius:24px;padding:0 17px}
.video-container{max-width:440px;min-height:220px;margin:24px auto;background:#e6eadc;border:1px solid #c3ccb5;border-radius:8px;overflow:hidden}
.video-container iframe{width:100%;height:248px;border:0;display:block}
@media(prefers-reduced-motion:reduce){.carousel-card{transition:none}.carousel-card[data-position="1"],.carousel-card[data-position="-1"],.carousel-card[data-position="2"]{opacity:0}}
/* V3: restore the reference's narrow botanical invitation composition. */
:root{--paper:#f9f6ed;--green:#6c7e54;--ink:#536442;--gold:#927d45}
body{background:white;color:var(--ink);font-family:'Times New Roman',Georgia,serif}
.cover{background:#6c7e54;padding:28px 20px;overflow:hidden}
.envelope{position:relative;isolation:isolate;width:min(310px,100%);min-height:442px;padding:22px 22px 44px;border:0;border-radius:9px;background:#f9f6ed;box-shadow:0 18px 24px #26342150}
.envelope:before,.envelope:after{content:'';position:absolute;z-index:-1;pointer-events:none;background:url('assets/floral-corner.svg') no-repeat center/contain;width:140px;height:160px;left:-25px;top:-10px;transform:rotate(25deg)}
.envelope:after{left:auto;top:115px;right:-40px;transform:rotate(185deg);width:120px;height:165px}
.mini-leaf{margin:0 auto 30px;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#6c7e54;color:#fffaf2;font:32px/1 Georgia,serif;box-shadow:0 6px 18px #34432e33}
h1{font-family:'Segoe Script','Apple Chancery','URW Chancery L',cursive;font-size:29px;line-height:1.12;margin:0 0 20px;font-weight:400;color:var(--green)}h1 i{font:19px/1.4 'Segoe Script',cursive;color:#87946e}
.envelope .rule{width:100px;background:linear-gradient(90deg,transparent,#bba978,transparent)}
.envelope p{font-size:20px;margin:16px 0}.envelope .invite-line{font-size:20px;margin:18px 0 12px}
.envelope .button{font:bold 20px/1.2 'Times New Roman',serif;padding:11px 30px;min-height:48px;margin-top:10px;box-shadow:0 6px 12px #34432e22}
main{max-width:470px;box-shadow:none;background-color:var(--paper);background-image:url('assets/paper.svg');background-size:380px 380px}
section,header,footer{padding:38px 30px;overflow:hidden}section:before{display:none}section:after{content:'';position:absolute;width:120px;height:420px;right:-57px;top:12px;background:url('assets/floral-side.svg') center/contain no-repeat;pointer-events:none;opacity:.9;z-index:0}section>*{position:relative;z-index:1}section:nth-of-type(even):after{left:-60px;right:auto;transform:rotate(180deg)}
.eyebrow{font:14px/1.6 'Times New Roman',serif;letter-spacing:.045em;color:var(--gold)}
h2{font:bold 20px/1.35 'Times New Roman',serif;margin:14px 0 24px;color:var(--green)}h3{font:bold 17px/1.5 'Times New Roman',serif}.hero{padding:8px 18px 30px}.hero>.eyebrow{margin:0 0 12px}
.wreath{border:0;border-radius:0;box-shadow:none;background:url('assets/wreath.svg') center/100% 100% no-repeat;width:100%;min-height:570px;margin:0 auto 16px}
.wreath:before,.wreath:after{display:none}.wreath h2{font:400 32px/1.25 'Times New Roman',serif;margin:0}.wreath i{font:italic 29px/2.5 'Segoe Script','Apple Chancery',cursive;color:#82936c}.hero-date{font-size:19px}.hero p:not(.eyebrow){margin:8px 0}.hero .button{margin:15px 0 5px}.hero .small{font-size:13px}.hero .text-link{font-size:13px}
#details{padding-top:26px}.couple-names{display:flex;align-items:center;flex-direction:column;margin:22px 0 28px}.couple-names span{font:400 43px/1.25 'Times New Roman',serif;color:var(--green)}.couple-names small{font:11px/1.6 'Times New Roman',serif;color:var(--gold);margin-top:12px}.couple-names i{font:italic 38px/1.7 'Segoe Script',cursive;margin:10px 0}.ceremony-label{font:13px/1.7 'Times New Roman',serif;color:#756d40}.date-block{margin:16px auto 22px;color:#657653;font:14px/1.6 'Times New Roman',serif;letter-spacing:.02em}.date-block strong{font-size:58px;line-height:1.15}.memories{padding:24px 0 30px}.memories h2{margin-bottom:16px}
.carousel{margin:0 auto;max-width:470px}.carousel-stage{height:355px}.carousel-card{inset:10px 25%;border:0;border-radius:15px;background:#e9e6dc;box-shadow:0 12px 20px #34432e22}#gallery .carousel-card img{border-radius:15px}.carousel-card[data-position="1"]{transform:translateX(72%) translateZ(-120px) rotateY(-24deg);opacity:.85}.carousel-card[data-position="-1"]{transform:translateX(-72%) translateZ(-120px) rotateY(24deg);opacity:.85}#gallery .gallery-controls{gap:12px;margin-top:14px}#gallery button{border-color:#adb69b;background:transparent;font-size:13px;min-height:44px}#gallery .gallery-controls span{font-size:12px}
#reception h3{font-size:17px;margin-top:18px}#reception>p{font-size:14px;color:var(--gold)}#reception .countdown{font-size:18px}.month-calendar{border:1px solid #c9c8ba;border-radius:5px;padding:8px 12px 14px;margin:26px auto 10px;max-width:290px}.month-calendar>p{font:italic 18px/1.6 'Segoe Script','Apple Chancery',cursive;margin:0 0 14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px 3px}.calendar-grid span{font:12px/26px 'Times New Roman',serif;min-height:26px;color:#6b765b}.calendar-grid .weekday{font-size:11px;color:#6b725e}.calendar-grid .wedding-day{color:white;background:var(--green);border-radius:50%;width:26px;justify-self:center;font-weight:bold}
.button{font-size:13px;padding:9px 24px}.small{font-size:14px}.text-link{font-size:14px}#venue{padding-top:20px}#venue h3{margin-top:0}#venue .center>p{font:14px/1.6 Arial,sans-serif}figure{margin:25px 0}figure img{border-radius:10px}figcaption{font-size:16px;gap:8px}figcaption span{font-size:10px;width:24px;height:24px}.venue-info{border:0;padding:0;margin:18px 0}.venue-info p{font-size:14px}
.dress-title{font:14px/1.5 'Times New Roman',serif;color:var(--gold)}.dress>p:not(.dress-title){font:14px/1.6 Arial,sans-serif}.swatches{gap:17px;margin:24px 0}.swatches span{width:40px;height:40px}.swatches div{font-size:12px}.dress .preview-note{font-size:11px;color:#687257}
.timeline{margin-top:30px;max-width:330px}.timeline li{grid-template-columns:70px 1fr;gap:24px;min-height:85px}.timeline time{font-size:13px;color:#817344}.timeline li div{font:14px/1.55 Arial,sans-serif;padding-left:24px;color:#64724e}.timeline small{font-size:12px}#schedule .center>p{font:13px/1.5 Arial,sans-serif}
.rsvp{background:transparent;border:0}.rsvp p{font-size:15px}.rsvp .small{font-size:13px}.pending{font:14px/1.5 Arial,sans-serif;color:#566346;border-color:#a5b08f}.signature{font:italic 30px/1.6 'Segoe Script',cursive}footer{padding-bottom:115px}footer:after{content:'';position:absolute;pointer-events:none;bottom:-180px;left:0;right:0;height:320px;background:url('assets/floral-side.svg') left center/140px auto repeat-x;transform:rotate(180deg);opacity:.65}.footer-leaf{display:none}.music{width:48px;height:48px;right:max(12px,calc((100vw - 570px)/2));font-size:23px;background:#6c7e54;border:4px solid #a4b08d}
@media(max-width:480px){.wreath{min-height:calc((100vw - 36px)*1.38)}.carousel-stage{height:clamp(285px,87vw,355px)}.carousel-card{inset-inline:23%}.hero h2{font-size:30px}.envelope{padding:22px 22px 38px}section,footer{padding-left:25px;padding-right:25px}.memories{padding-left:0;padding-right:0}}
@media(prefers-reduced-motion:reduce){.carousel-card[data-position="1"],.carousel-card[data-position="-1"],.carousel-card[data-position="2"]{opacity:0}}
/* V4 — original observed theme assets and measured typography. */
@font-face{font-family:Viaoda;src:url('assets/ViaodaLibre-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Clicker;src:url('assets/ClickerScript-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Beau;src:url('assets/BeauRivage-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:EBGaramond;src:url('assets/EBGaramond-Variable.ttf') format('truetype');font-display:swap}
@font-face{font-family:Nautigal;src:url('assets/TheNautigal-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Roboto;src:url('assets/Roboto-latin.woff2') format('woff2');font-display:swap}
:root{--green:#6c7e54;--ink:#6c7e54;--gold:#967928;--paper:#faf8f1}
main{max-width:581px;background-image:linear-gradient(#faf8f1b3,#faf8f1b3),url('assets/paper.webp');background-size:auto,200.4% auto;background-position:left top}
.envelope{background-color:#faf7ee}.envelope:before{background-image:url('assets/leaf.webp');width:110px;height:170px;left:-8px;top:-30px;transform:rotate(28deg)}.envelope:after{background-image:url('assets/flower3.webp');width:70px;height:190px;right:-12px;top:108px;transform:rotate(-15deg)}h1{font:400 34px/1.1 Beau,cursive}h1 i{font:20px/1.4 Clicker,cursive}.envelope p{color:#7c866a}
.hero{padding:25px 0 30px}.hero>.eyebrow{font:15px/1.4 EBGaramond,serif;margin:0 0 0;color:var(--gold)}.wreath{display:block;position:relative;width:96.2%;height:auto;min-height:0;margin:58px 0 0 1.9%;background:none}.original-wreath{display:block;width:100%;height:auto}.wreath .wreath-names{position:absolute;top:47.7%;left:50%;width:58.19%;transform:translate(-50%,-50%)}.wreath h2{display:flex;flex-direction:column;align-items:center;gap:30px;margin:0;font:400 28px/1.25 Viaoda,serif;letter-spacing:.02em}.wreath h2 span{display:block}.wreath i{font:30px/1 Clicker,cursive;color:var(--green)}.hero-date{margin-top:36px!important;font:20px/1.5 EBGaramond,serif}
section:after{background-image:url('assets/flower3.webp');width:100px;height:330px;right:-12px;top:40px;opacity:1}section:nth-of-type(even):after{background-image:url('assets/flower2.webp');width:95px;height:260px;left:-20px;transform:none}#details:after{background-image:url('assets/flower2.webp');height:290px;right:-6px;left:auto;top:100px}
#details h2,#reception h2{font-size:16px}.couple-names span{font-family:Viaoda,serif;font-size:43px}.couple-names small{font-family:Viaoda,serif;font-size:10px;letter-spacing:.1em}.couple-names i{font:35px/1 Beau,cursive;margin:20px 0}.ceremony-label{font-family:EBGaramond,serif;color:var(--gold)}
.reference-date{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px}.reference-date>div{display:flex;flex-direction:column;align-items:start;border-left:1px solid var(--green);padding-left:10px;gap:4px}.reference-date strong{font:54px/1 EBGaramond,serif}.reference-date span{font:17px/1.5 EBGaramond,serif}
.button{font-family:Roboto,Arial,sans-serif}.envelope .button{font-family:'Times New Roman',serif}.countdown{font:20px/1.5 EBGaramond,serif}.month-calendar>p{font:700 22px/1.5 Nautigal,cursive}.calendar-grid .wedding-day{background: url('assets/calendar-heart.svg') center/contain no-repeat;border-radius:0}.calendar-grid span{font-family:EBGaramond,serif}
.timeline{position:relative}.timeline:before{content:'';position:absolute;left:0;top:10px;width:48px;height:190px;background:url('assets/letter.webp') top/40px auto no-repeat}.timeline li:nth-child(3):before,.timeline li:nth-child(4):before{content:'';position:absolute;left:-4px;top:0;width:45px;height:48px;background:url('assets/cake.webp') center/contain no-repeat}.timeline li:nth-child(4):before{background-image:url('assets/ring.webp')}.timeline li{grid-template-columns:90px 1fr;gap:22px}.timeline time{padding-left:30px;font-family:EBGaramond,serif;font-size:15px}.timeline li div{font-family:Roboto,Arial,sans-serif}footer:after{background:url('assets/flower6.webp') center bottom/100% auto no-repeat;transform:none;height:180px;bottom:0;opacity:1}.signature{font-family:Beau,cursive}
@media(max-width:480px){main{max-width:100%}.hero>.eyebrow{font-size:14px}.wreath{margin-top:48px}.wreath h2{font-size:28px;gap:24px}.hero-date{font-size:19px}.timeline{max-width:340px}.timeline li{grid-template-columns:88px 1fr;gap:16px}}
.wreath{max-width:424.242px;margin:58px auto 0}.hero{padding-top:25px}.hero>.eyebrow{margin:0}.hero .wreath h2{font-size:28px}
@media(max-width:480px){.wreath{margin-top:48px}}
/* Footer decoration occupies its own layout row and keeps its full aspect ratio. */
footer{padding:38px 25px 22px;overflow:visible;isolation:isolate}footer:after{display:none}footer .footer-floral{display:block;width:100%;height:auto;margin:24px 0 14px;position:relative;z-index:0;pointer-events:none}footer .footer-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px}footer .back-top{display:inline-flex;align-items:center;justify-content:center;min-height:44px;position:relative;z-index:1}footer .signature,footer p{position:relative;z-index:1}.music{bottom:max(12px,env(safe-area-inset-bottom));right:12px}footer{padding-bottom:76px}
/* Embedded RSVP: keep Google Forms inside the invitation and decorations clear. */
#rsvp{padding-left:12px;padding-right:12px}#rsvp:after{display:none}.rsvp-embed{width:100%;margin:22px auto 12px;position:relative;z-index:1;min-width:0}.rsvp-embed iframe{display:block;width:100%;height:1500px;border:0;background:#e9ece5;border-radius:8px}.rsvp-fallback{font:13px/1.6 Arial,sans-serif;max-width:100%;overflow-wrap:anywhere}.rsvp #rsvp-help{margin:12px auto;max-width:440px}.rsvp .privacy{max-width:440px;margin:20px auto 0}@media(max-width:480px){.rsvp-embed iframe{height:1750px}}
