/* A complete embroidered invitation suite, with readable, flowing paper chapters. */
@font-face{font-family:GardenScript;src:url('assets/fonts/PinyonScript-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--paper:#faf7f0;--ink:#46513e;--rose:#966f72;--sage:#e9ede2;--gold:#a38459;--muted:#666458;background:#eee8df;color:var(--ink)}
#invitation{position:relative;background:#faf7f0 repeating-linear-gradient(0deg,#aa875008 0 1px,transparent 1px 4px) center/440px auto}
#invitation>.section,#invitation>.closing{margin:0;isolation:auto}
h2{font-size:clamp(34px,8.8vw,52px);line-height:1.13;letter-spacing:-.6px}h2 em{color:var(--rose)}
.chapter-eyebrow{font:10px/1.8 Georgia,serif;text-transform:uppercase;letter-spacing:1.8px;color:#736653;margin:0 auto 18px;max-width:340px}
.section p{color:#5e5d52}.section .italic{color:#917471}
.page-edge,.opening:before,.opening:after{position:absolute;width:34px;pointer-events:none;background-image:url('assets/romantic-edge.webp');background-repeat:repeat-y;background-size:93px auto;background-position:-31px 0}
.page-edge{top:var(--opening-height,100svh);bottom:0;z-index:8}
.page-edge--left{left:-1px}.page-edge--right{right:-1px;transform:scaleX(-1)}
/* Cover and animated drapery share one viewport; the final invitation flows. */
.opening,.opening.hero-expanded{height:auto;min-height:var(--scene-height,100svh);display:flex;flex-direction:column;background:#faf7f0 repeating-linear-gradient(0deg,#aa875008 0 1px,transparent 1px 4px) center/440px auto}
.opening:before,.opening:after{content:'';top:0;bottom:0;z-index:2}
.opening:before{left:-1px}.opening:after{right:-1px;transform:scaleX(-1)}
.opening .cover-scene,.opening .cover-hints,.opening .curtain-stage,.opening.hero-expanded .curtain-stage,.opening .cover-cast-shadow,.opening .opening-light{height:var(--scene-height,100svh);bottom:auto;top:0}
.opening .cover-scene{z-index:6}.opening .cover-hints{z-index:7}
.opening .cover-cast-shadow{z-index:5}.opening .curtain-stage{z-index:4}.opening .opening-light{z-index:5}
.opening .cover-hints[hidden]{display:none!important}
.hero-toran{position:absolute;top:-20px;left:-5%;width:110%;max-width:none;height:auto;z-index:2;pointer-events:none}
.opening .hero-copy,.opening.hero-expanded .hero-copy{position:relative;inset:auto;order:1;width:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(112px,29vw,185px) 46px 22px;overflow-wrap:anywhere;text-align:center}
.hero-kicker{font:10px/1.8 Georgia,serif;letter-spacing:1.5px;text-transform:uppercase;max-width:300px;margin:0 auto 20px;color:#776957}
.opening .hero-copy h1,.has-long-names .opening .hero-copy h1{font-family:GardenScript,Garden,serif;font-size:clamp(62px,18vw,100px);line-height:1.02;letter-spacing:0;width:100%;color:#80616b;margin:0}
.opening .hero-copy h1 i{font-family:Garden,Georgia,serif;font-size:27px;line-height:1.1;margin:4px 0 9px;color:#a08a62}
.opening .hero-invite{font-size:19px;line-height:1.35;max-width:270px;margin:22px 0 18px;color:#666051}
.opening .hero-date{font-size:18px;line-height:1.5;letter-spacing:.25px;margin:0;max-width:100%}
.opening .hero-place{font:10px/1.6 Georgia,serif;text-transform:uppercase;letter-spacing:2.3px;margin:9px 0 0;color:#7d725e}
.opening .garden-stage{position:relative;inset:auto;order:2;flex:none;width:100%;overflow:hidden;z-index:1}
.opening .hero-garden,.opening.hero-expanded .hero-garden{position:relative;inset:auto;display:block;width:100%;max-width:100%;height:auto;transform:none;margin:0}
.opening .hero-scroll,.opening.hero-expanded .hero-scroll{position:relative;inset:auto;order:3;display:flex;width:100%;flex:none;min-height:64px;margin:0;padding:14px 20px 22px;border:0;border-radius:0;background:transparent;font-size:16px;z-index:2}
.opening .curtain-valance{height:clamp(155px,24vw,235px);top:calc(clamp(155px,24vw,235px) * -.19);width:102%;left:-1%}
.opening-finished .curtain-stage{display:none}
.has-long-names .opening .hero-copy h1{font-size:clamp(39px,10.5vw,61px);font-family:Garden,Georgia,serif;line-height:1.15;overflow-wrap:normal;word-break:normal}
.has-long-names .opening .hero-copy{padding-top:135px}
/* Soft colour passes join beneath the same continuous floral rails. */
#invitation>.welcome{padding:24px 34px 38px;background:linear-gradient(#faf7f0,#fbf7ef 75%,#f7eee7)}
.welcome:before{display:none}.welcome-hanging{display:none}
.welcome-copy{padding:24px 8px 0}.welcome-copy h2{font-size:clamp(35px,9.4vw,54px);margin-bottom:24px}
.welcome-copy p:last-child{font-size:21px;line-height:1.55;max-width:390px;margin:0 auto}
.welcome-copy .welcome-families{font-size:10px;max-width:320px;margin-bottom:16px}
.welcome-swans{width:100%;max-width:390px;margin:24px auto 0}
.welcome>.pearl-garland{width:90%;max-width:390px;margin:-25px auto -16px}
#invitation>.countdown{padding:38px 45px 55px;background:linear-gradient(#f7eee7,#f4e8e3 45%,#f6ebe5)}
.countdown-tapestry,.countdown-expanded{width:100%;max-width:480px;aspect-ratio:auto;padding:32px 12px 30px;border:1px solid #b9a2827a;border-radius:130px 130px 8px 8px;background:#fffaf180;box-shadow:inset 0 0 0 6px #fff8ee55}
.countdown-content,.countdown-expanded .countdown-content{position:relative;inset:auto;padding:0}
.countdown-expanded:before,.countdown-expanded:after{display:none}
.countdown h2{font-size:clamp(30px,7.8vw,45px);margin:12px 0 18px}
.countdown .countdown-date{font-size:18px;line-height:1.5;max-width:290px;margin:0 auto 25px}
.countdown-medallions,.countdown-expanded .countdown-medallions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;max-width:none}
.countdown-medallions>div,.countdown-expanded .countdown-medallions>div{width:100%;margin:0;border-right:1px solid #b19e7f52}
.countdown-medallions>div:last-child{border:0}.medallion{aspect-ratio:auto;background:none;min-height:55px}
.medallion strong{font-size:clamp(34px,10vw,51px);padding:0;letter-spacing:-1.5px;color:#8a6870}
.countdown-medallions>div>span{font-size:9px;letter-spacing:1.2px;margin-top:5px}
#invitation>.celebration{padding:48px 40px 42px;background:linear-gradient(#f6ebe5,#faf5ee 35%,#faf7f0)}
.celebration-card{border:0;border-image:none;min-height:0;margin:0;padding:28px 0;background:none}
.celebration-content{margin:0}.celebration .chapter-eyebrow{font-size:9px;max-width:280px}
.celebration h2{font-size:clamp(35px,9vw,53px);margin:0 0 22px}
.celebration h3{font-size:clamp(27px,7vw,38px);line-height:1.2}
.celebration .venue-region{font-size:21px;margin:8px 0 15px;color:#8d7470}
.celebration .event-date{font-size:18px;line-height:1.5}
.celebration-events{display:grid;grid-template-columns:1fr;gap:15px;margin:30px 0 26px}
.celebration .event{padding:24px 16px;border:1px solid #b3a38566;border-radius:60px 60px 5px 5px;background:linear-gradient(#fffaf5d9,#f4e8e1c9);box-shadow:0 8px 24px #74614c09}
.event h4{font-size:25px;line-height:1.2}.event-time{font-size:24px!important;margin:10px 0 6px!important;color:#8b6970!important}.event-place{font-size:18px!important;line-height:1.5}
.event-note{font-size:17px}.celebration .address{font-size:17px;line-height:1.55;margin:20px 0 18px}
.event-actions{max-width:360px;gap:12px;margin-top:18px}
.link-menu summary{padding:10px 12px;border:1px solid #a9987c77;border-radius:4px;background:#fffaf1b5;font:14px/1.5 Georgia,serif;color:#4f5a45}
.menu-options{margin-top:7px;background:#fffaf3;border:1px solid #c4b39566;border-radius:4px;padding:6px}
.menu-options a,.menu-options button{font:14px/1.5 Georgia,serif;padding:12px 10px;min-height:44px}
.demo-note{font:11px/1.5 Georgia,serif;margin-top:20px;max-width:290px;color:#797165}
.celebration-timeline{padding:42px 0 0;margin:20px 0 0;border-top:1px solid #b9a28266}
.celebration-timeline>div>p{font-size:19px;line-height:1.5}.celebration-timeline h3{font-size:33px;margin-bottom:12px}
.timeline-rows{margin:24px 0 0}.timeline-track{left:32%;top:7%;bottom:10%}
.timeline-row{grid-template-columns:26% 1fr;gap:13%;min-height:150px;align-items:center;padding:12px 0}
.timeline-row .timeline-time{font-size:27px;color:#8b6970;margin-bottom:6px}
.timeline-title{font:16px/1.45 Georgia,serif;text-transform:none;letter-spacing:0;margin-bottom:7px;color:#48533f}
.timeline-row .timeline-note{font-size:18px;line-height:1.45;color:#686253}
.family-time-motif{aspect-ratio:899/1100}.family-time-motif img{position:static;width:100%;height:auto;max-width:100%}
#invitation>.story-section{padding:58px 45px 60px;background:linear-gradient(#faf7f0,#f4f1e7 65%,#edf0e5)}
.story-section>h2{font-size:clamp(34px,9vw,50px);padding:0;margin:0 0 22px}
.story-wreath,.story-expanded .story-wreath{position:relative;aspect-ratio:899/1100;width:130px;min-height:0;padding:0;margin:0 auto 24px}
.story-wreath>img,.story-expanded .story-wreath>img{position:static;inset:auto;width:100%;height:auto;object-fit:contain;mask-image:none;opacity:1}
.story-copy,.story-expanded .story-copy{position:relative;inset:auto;max-width:430px;margin:0 auto}
.story-copy p,.story-expanded .story-copy p{font-size:22px;line-height:1.6;margin:0}
.story-section>.italic{font-size:26px;margin:25px 0 0;color:#927377}
#invitation>.guest-guide{padding:40px 34px 60px;background:linear-gradient(#edf0e5,#e9ede2 60%,#eef0e6)}
.guest-guide h2{font-size:clamp(34px,9vw,51px);margin-bottom:32px}
.guest-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;text-align:center;max-width:560px;margin:auto}
.guest-card{min-width:0;display:flex;flex-direction:column;align-items:center;padding:18px 10px 20px;background:#fffbf2e8;border:1px solid #c4b39399;border-radius:70px 70px 7px 7px;box-shadow:0 6px 20px #6b6c4e0a}
.guest-card-art{flex:none;width:100%;height:auto;aspect-ratio:1;max-width:132px;margin:0 0 12px;position:relative;overflow:hidden}
.guest-card-illustration img{position:static;width:100%;height:100%;object-fit:contain;max-width:100%}
.guest-card h3{font-size:24px;line-height:1.15;margin:0 0 14px;color:#48533f;min-height:2.3em;display:flex;align-items:center;justify-content:center}
.guest-card p{font-size:17px;line-height:1.55;margin:0;overflow-wrap:anywhere}
.guest-card-link{font:11px/1.5 Georgia,serif;text-decoration:none;color:#7e6b4b;border-bottom:1px solid #b7a482;padding:12px 0 5px;margin-top:auto;min-height:44px}
.guest-card .palette{gap:7px;margin:18px 0 0}.guest-card .palette span{width:12px;height:12px}
/* The four newly drawn embroideries share the same scale and clear field. */
.guest-card-art.keepsake-art{aspect-ratio:1;background-image:url('assets/guest-keepsakes.webp');background-size:200% 200%;background-repeat:no-repeat}
.guest-card-art.keepsake-art>*{display:none}.guest-card--attire .keepsake-art{background-position:0 0}.guest-card--arrival .keepsake-art{background-position:100% 0}.guest-card--stay .keepsake-art{background-position:0 100%}.guest-card--gifts .keepsake-art{background-position:100% 100%}
#invitation>.brunch{padding:48px 43px 60px;background:linear-gradient(#eef0e6,#faf7ef 60%,#faf7f0)}
.brunch>.fine-rule{margin:0 auto 32px}.brunch h2{font-size:clamp(35px,9vw,52px)}
.brunch p{font-size:20px;line-height:1.55}.brunch h3{font-size:29px}
.tea-vignette{width:100%;max-width:430px;margin:24px auto;aspect-ratio:10/7}
.brunch #brunch-address{font-size:17px}.brunch .italic{font-size:23px;margin:22px 0}
#invitation>.rsvp{padding:55px 42px 62px;background:linear-gradient(#faf7f0,#f5e9e4 35%,#f2e5e1)}
.rsvp h2{font-size:clamp(35px,9vw,52px)}.rsvp-deadline{font-size:19px;line-height:1.5}
#rsvp-form{text-align:left;margin:30px auto 0;max-width:440px;padding:25px 18px 20px;background:#fffaf1d9;border:1px solid #c6ad9877;border-radius:8px;box-shadow:0 12px 36px #8c6f6808}
#rsvp-form label,#rsvp-form legend{font:14px/1.5 Georgia,serif;color:#575346}
#rsvp-form input:not([type=radio]),#rsvp-form select,#rsvp-form textarea{font:16px/1.5 Georgia,serif;width:100%;min-height:46px;padding:12px 10px;background:#fffdf8;border:1px solid #c5b6a48a;border-radius:4px;margin:7px 0 18px}
#rsvp-form fieldset{border:0;padding:0;margin:4px 0 22px}.radio-label{display:flex;align-items:center;gap:9px;margin:11px 0}.radio-label input{accent-color:#8a6870;min-width:17px;min-height:17px}
#rsvp-form small{font-size:11px}#rsvp-form .reply-button{width:100%;min-height:49px;padding:12px;background:#53614b;color:#fffaf0;border:1px solid #53614b;border-radius:4px;font:14px/1.5 Georgia,serif}
#rsvp-form .demo-disclosure{font:11px/1.6 Georgia,serif;margin:15px 0 0;color:#75695f}
.form-status{font:14px/1.6 Georgia,serif;margin:16px 0 0;color:#46513e}
#invitation>.closing{position:relative;text-align:center;padding:52px 34px 30px;background:linear-gradient(#f2e5e1,#fbf6ed 55%,#faf7f0)}
.closing>div>.italic{font-size:26px;color:#95737a;margin-bottom:18px}
.closing h2{font-family:GardenScript,Garden,serif;font-size:clamp(49px,13vw,74px);line-height:1.14;margin:0 0 24px;color:#80616b}
.closing h2 i{font-family:Garden,serif;font-size:28px;display:block;line-height:1.2}
.closing .small-caps{font-size:10px;line-height:1.7;letter-spacing:1.4px}
.closing-garden{width:100%;max-width:540px;height:auto;margin:25px auto 12px}
.maker{display:block;width:max-content;margin:20px auto 8px;text-decoration:none}.maker>span{font-family:GardenScript,Garden,serif;font-size:30px}.maker small{font:8px/1.6 Georgia,serif;letter-spacing:2px;display:block}
.collection-back{font:10px/1.6 Georgia,serif;display:block;max-width:250px;margin:16px auto 0;color:#766d5e}
@container woven (min-width: 540px) {
 .page-edge,.opening:before,.opening:after{width:48px;background-size:132px auto;background-position:-44px 0}
 .opening .hero-copy{padding:185px 72px 28px}.hero-kicker{font-size:11px}.opening .hero-invite{font-size:23px;max-width:350px}.opening .hero-date{font-size:22px}.opening .hero-place{font-size:12px}
 .welcome-copy p:last-child{font-size:25px}.welcome-copy{padding:28px 54px 0}.welcome-swans{max-width:430px}
 #invitation>.countdown{padding:50px 72px 66px}.countdown-tapestry{padding:40px 28px}.countdown .countdown-date{font-size:22px}
 #invitation>.celebration{padding-left:70px;padding-right:70px}.celebration-events{grid-template-columns:1fr 1fr}.event h4{font-size:26px}.event-place{font-size:18px!important}
 .timeline-row{min-height:160px}.timeline-title{font-size:17px}.timeline-row .timeline-note{font-size:20px}
 #invitation>.story-section{padding-left:85px;padding-right:85px}.story-copy p,.story-expanded .story-copy p{font-size:25px}.story-wreath,.story-expanded .story-wreath{width:150px}
 #invitation>.guest-guide{padding-left:62px;padding-right:62px}.guest-cards{gap:18px}.guest-card{padding:24px 20px}.guest-card h3{font-size:29px;min-height:0}.guest-card p{font-size:20px}
 #invitation>.brunch,#invitation>.rsvp{padding-left:80px;padding-right:80px}.brunch p{font-size:23px}.closing{padding-left:60px;padding-right:60px}
}
@container woven (max-width: 360px) {
 .page-edge,.opening:before,.opening:after{width:27px;background-size:74px auto;background-position:-25px 0}
 .opening .hero-copy{padding-left:34px;padding-right:34px}.opening .hero-copy h1{font-size:58px}.has-long-names .opening .hero-copy h1{font-size:35px}.hero-kicker{font-size:9px;letter-spacing:1.2px}.opening .hero-invite{font-size:18px}.opening .hero-date{font-size:17px}
 #invitation>.welcome{padding-left:28px;padding-right:28px}.welcome-copy p:last-child{font-size:20px}
 #invitation>.countdown{padding-left:32px;padding-right:32px}.countdown-tapestry{padding-left:8px;padding-right:8px}.countdown .countdown-date{font-size:17px}
 #invitation>.celebration{padding-left:34px;padding-right:34px}.celebration h3{font-size:27px}.timeline-row{grid-template-columns:24% 1fr;gap:14%;min-height:155px}.timeline-track{left:30%}.timeline-title{font-size:15px}.timeline-row .timeline-note{font-size:17px}
 #invitation>.story-section,#invitation>.brunch,#invitation>.rsvp{padding-left:34px;padding-right:34px}
 #invitation>.guest-guide{padding-left:29px;padding-right:29px}.guest-cards{gap:10px 8px}.guest-card{padding:16px 8px}.guest-card h3{font-size:22px}.guest-card p{font-size:16px}.guest-card-link{font-size:10px}.guest-card-art{margin-bottom:10px}
 #rsvp-form{padding:22px 13px}.closing h2{font-size:50px}
}
@media(prefers-reduced-motion:reduce){.opening .curtain-stage{transition:none}}
@media print{.page-edge,.opening:before,.opening:after{display:none}.opening,.opening.hero-expanded{min-height:0;height:auto}.opening .curtain-stage,.opening .cover-scene,.opening .cover-hints{display:none!important}.opening .hero-copy{opacity:1!important}.section,.guest-card{break-inside:avoid}}
.story-monogram{position:absolute;inset:0;display:grid;place-items:center;padding-top:8px;font-family:GardenScript,Garden,serif;font-size:29px;line-height:1;color:#9b7b7c}
/* A translucent paper wash keeps the linen delicate behind the family wording. */
.opening,.opening.hero-expanded{background-image:linear-gradient(#fffaf0b3,#fffaf0b3),repeating-linear-gradient(0deg,#aa875008 0 1px,transparent 1px 4px);background-size:auto,440px auto}
.opening .hero-copy{padding-top:clamp(145px,35vw,210px)}
.has-long-names .opening .hero-copy{padding-top:145px}
#invitation>.closing{padding-bottom:0}
.closing-border{display:block;width:calc(100% + 68px);max-width:none;height:auto;margin:12px -34px -16px;transform:rotate(180deg);pointer-events:none}
@container woven (min-width: 540px) {.opening .hero-copy,.has-long-names .opening .hero-copy{padding-top:205px}}
.brunch .chapter-eyebrow{font:10px/1.8 Georgia,serif;letter-spacing:1.8px;margin-bottom:18px;color:#736653}

/* Botanical book identity: upright lettering, olive ink and a stitched story label. */
.opening .hero-copy h1,.has-long-names .opening .hero-copy h1{font-family:Garden,Georgia,serif;font-size:clamp(57px,16vw,85px);font-style:normal;line-height:1.06;letter-spacing:-1.6px;color:#515b3d}
.has-long-names .opening .hero-copy h1{font-size:clamp(35px,9.6vw,59px);letter-spacing:-.7px}
.opening .hero-copy h1 i{font-size:23px;line-height:1.2;color:#a37a51;margin:10px 0}
.closing h2{font-family:Garden,Georgia,serif;font-size:clamp(48px,12vw,68px);font-style:normal;letter-spacing:-1px;color:#515b3d}
.family-pavilion{display:block;width:100%;max-width:430px;height:auto;margin:28px auto 0;object-fit:contain}
.family-keepsake-line{font-style:italic;font-size:21px;line-height:1.45;color:#8c7354!important;margin:20px auto 7px;max-width:310px}
.family-camera{color:#ab8555;aspect-ratio:90/72;width:100%;padding:8px 0}.family-camera svg{display:block;width:100%;height:auto;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.story-stitched-note{width:190px;max-width:100%;margin:28px auto 30px;padding:23px 15px 21px;background:#e5e8d8;border:1px solid #a8aa8b;outline:1px dashed #a8aa8b;outline-offset:-7px;box-shadow:4px 5px 0 #d5d7c570;transform:rotate(-3deg);color:#576045}
.story-thread-label{display:block;font:8px/1.5 Georgia,serif;text-transform:uppercase;letter-spacing:1.5px}.story-thread-initials{display:block;font:italic 35px/1.5 Garden,Georgia,serif;margin:5px 0}.story-thread-line{display:block;width:36px;height:1px;background:#ac8958;margin:4px auto 0}
@container woven (max-width: 360px) {.opening .hero-copy h1{font-size:53px}.has-long-names .opening .hero-copy h1{font-size:34px}.family-keepsake-line{font-size:19px}.closing h2{font-size:46px}}
