:root{--green:#4a5c3d;--green-dark:#3b4432;--text:#27331f;--muted:#5f6d55;--cream:#f7f2e6;--gold:#8a7a4e;--gold-light:#d9caab;--welcome-bg:url('royal-grace-welcome-bg.jpg');--general-bg:url('royal-grace-general-bg.jpg');--end-bg:url('royal-grace-end-bg.jpg');--hero-poster:url('hero-poster.jpg')}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#d6c5ac;color:var(--text);font-family:'Lora',Georgia,serif;font-size:16px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}h1,h2,h3,p{margin:0}button{color:inherit}h2{font-family:'Dancing Script',cursive;font-size:36px;font-weight:400;line-height:1.2;color:var(--green);margin-bottom:32px}h3{font-family:'Playfair Display',Georgia,serif;font-size:18px;font-weight:400;color:var(--green);line-height:1.5}p{overflow-wrap:anywhere}button:focus-visible,a:focus-visible{outline:3px solid var(--green);outline-offset:5px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:12px;left:12px;z-index:50;transform:translateY(-160%);background:var(--cream);padding:10px 18px}.skip-link:focus{transform:translateY(0)}
/* The supplied video is also the full-screen cover, as in Royal Grace. */
.hero{position:relative;min-height:760px;height:100svh;overflow:hidden;display:grid;place-items:center;background:#89917b var(--hero-poster) center/cover no-repeat;color:var(--green-dark);isolation:isolate;text-align:center}.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero.is-open::after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 38%,rgba(255,250,239,.78),rgba(255,250,239,.32) 35%,transparent 70%);pointer-events:none}.open-invitation{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;z-index:3}.open-invitation:focus-visible{outline:-webkit-focus-ring-color auto 3px;outline-offset:-8px}.skip-intro{position:absolute;right:22px;bottom:24px;z-index:5;border:1px solid #d9caab;border-radius:30px;padding:8px 18px;background:#f7f2e6df;font-size:12px;letter-spacing:.06em}.hero-copy{position:relative;width:100%;padding:35px 24px 90px;animation:arrive 1.6s ease both;text-shadow:0 2px 14px #ffffffb3}.hero-heart{font-size:26px}.tagline{font-family:'Cormorant Garamond',Georgia,serif;font-size:36px;line-height:1.2;margin-top:8px}.hero .divider{margin:20px auto;width:170px}h1{font-weight:400}.name{display:block;font-family:'Great Vibes','Dancing Script',cursive;font-size:clamp(60px,9vw,128px);font-weight:400;line-height:1.1;overflow-wrap:anywhere}.person-details{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:14px;line-height:1.6;display:block;margin:12px auto 0;max-width:420px}.person-details>span{display:block}.person-details>span:empty{display:none}.amp{display:block;font-family:'Great Vibes',cursive;font-size:36px;line-height:1.2;margin:10px 0;opacity:.85}.scroll-cue{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);display:grid;text-decoration:none;font-size:12px;letter-spacing:.15em;text-transform:uppercase;line-height:1.5}.scroll-cue>span:last-child{font-size:28px;animation:bob 2s ease-in-out infinite}.divider{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--gold);font-size:12px;width:210px;max-width:85%;margin:0 auto}.divider::before,.divider::after{content:'';height:1px;flex:1;background:linear-gradient(to right,transparent,var(--gold))}.divider::after{transform:rotate(180deg)}
/* Continuous full-width botanical paper, without boxed sections. */
.invitation{background-color:#d6c5ac;background-image:var(--welcome-bg),var(--general-bg);background-position:top center,center 140.4888vw;background-repeat:no-repeat,repeat-y;background-size:100% auto,100% auto}.welcome{padding:128px 56px;outline:none}.welcome-inner{max-width:672px;margin:auto;text-align:center}.welcome p{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;font-style:italic;line-height:1.625;color:var(--green-dark);white-space:pre-line;text-shadow:0 1px 6px #ffffff80;margin:32px 0}.section{padding:80px 24px;position:relative;text-align:center}.section-inner{width:100%;max-width:672px;margin:auto;padding:0 32px}.section:not(:last-child)::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:160px;height:1px;background:linear-gradient(90deg,transparent,#6b7d5570,transparent)}.section p{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#faf8f2;padding:12px 24px;font-size:14px;line-height:1.5;transition:background .2s,transform .2s}.button:hover{background:var(--green-dark);transform:translateY(-2px)}.calendar-button{display:flex;width:max-content;max-width:100%;margin:24px auto 0;font-size:12px;letter-spacing:.1em;text-transform:uppercase;background:transparent;color:var(--green)}.calendar-button:hover{color:var(--cream)}.text-button{border:0;background:none;color:var(--muted);font-size:11px;padding:12px 4px;text-decoration:underline;text-underline-offset:4px}.scratch-wrap{position:relative;width:256px;max-width:100%;aspect-ratio:1;margin:0 auto;border-radius:50%;box-shadow:0 10px 35px #3c463233;overflow:hidden;border:1px solid #64764f80}.scratch-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,#fffdf5,#ece5d2);padding:14px}.scratch-heart{color:var(--green);font-size:35px;line-height:1.2}.scratch-content .invited{font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--green);margin:6px 0}.scratch-content .big-date{font-family:'Playfair Display',serif;font-size:17px;color:var(--text)}.scratch-content .date-day{font-family:'Cormorant Garamond',serif;font-size:17px;margin-top:5px}.scratch-content .date-time{font-size:11px;margin-top:6px}#scratch{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;transition:opacity .65s}.scratch-wrap.revealed #scratch{opacity:0;pointer-events:none}.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:450px;margin:auto}.countdown>div{min-width:0}.countdown span{font-family:'Playfair Display',Georgia,serif;font-size:42px;font-variant-numeric:tabular-nums;line-height:1.2;color:var(--green);display:block}.countdown small{text-transform:uppercase;display:block;font-size:10px;letter-spacing:.1em;margin-top:8px;color:var(--muted)}.countdown-message{margin-top:20px}.timeline{max-width:450px;margin:auto}.timeline-day+.timeline-day{margin-top:32px}.timeline-day>h3,.e-date{font-family:'Playfair Display',Georgia,serif;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:var(--green);margin-bottom:20px}.t-item{display:grid;grid-template-columns:85px 1fr;gap:20px;text-align:left;position:relative;padding-bottom:24px}.t-item:last-child{padding-bottom:0}.t-time{font-size:12px;color:var(--green);padding-top:4px;text-align:right;white-space:nowrap}.t-body{position:relative;border-left:1px solid #6b7d5570;padding-left:24px}.t-body::before{content:'';position:absolute;left:-4px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--green)}.t-body p{font-size:14px;margin-top:4px}.venue-name{font-size:20px;color:var(--text);margin-bottom:8px}.section-icon{display:block;color:var(--green);font-size:32px;line-height:1;margin-bottom:16px}#mapLink{margin-top:24px}#mapEmbed iframe{width:100%;height:300px;border:1px solid #6b7d5570;border-radius:8px;margin-top:24px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px}.two-col h3{margin-bottom:12px}.two-col p{font-size:14px}.events{display:grid;gap:32px}.event .e-date{margin-bottom:6px}.e-time{font-size:12px}.event h3{margin:8px 0 4px}.event p{font-size:14px}.rsvp{max-width:384px;margin:auto;display:grid;gap:8px;text-align:left}.rsvp label{font-size:14px;margin-top:12px}.rsvp label:first-child{margin-top:0}.rsvp input,.rsvp select,.rsvp textarea{min-width:0;width:100%;border:1px solid #b3ab90;border-radius:6px;background:#f1e8d8b3;color:var(--text);padding:10px 12px;font-size:16px;line-height:1.5}.rsvp textarea{resize:vertical;min-height:110px}.rsvp input:focus,.rsvp select:focus,.rsvp textarea:focus{outline:2px solid var(--green);outline-offset:2px}.rsvp .button{margin-top:16px;width:100%}.form-status{font-size:12px;text-align:center;min-height:1.5em}.slideshow{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:#e3d7bf}.slide{position:absolute;inset:0;opacity:0;transition:opacity .6s}.slide.active{opacity:1}.slide img{width:100%;height:100%;object-fit:contain}.slide-nav{position:absolute;top:50%;transform:translateY(-50%);background:#f7f2e6df;border:0;border-radius:50%;width:40px;height:40px;font-size:24px}.prev{left:12px}.next{right:12px}.dots{display:flex;gap:10px;justify-content:center;margin-top:16px}.dots button{border:1px solid var(--green);background:transparent;border-radius:50%;width:12px;height:12px;padding:0}.dots button.active{background:var(--green)}.footer{text-align:center;min-height:640px;padding:100px 56px 180px;background:var(--end-bg) center bottom/100% 100% no-repeat}.footer-inner{max-width:600px;margin:auto}.footer h2{margin:36px 0 20px}.couple-sign{font-family:'Dancing Script',cursive;font-size:28px;color:var(--muted);margin-bottom:36px}.back-top{display:inline-grid;place-items:center;margin-top:48px;width:40px;height:40px;border:1px solid #6b7d5560;border-radius:50%;text-decoration:none}.music-button{position:fixed;top:16px;right:16px;z-index:10;border:1px solid #d9caab;border-radius:50%;width:44px;height:44px;background:#f7f2e6ee;color:var(--green);box-shadow:0 2px 8px #0002}.music-button[aria-pressed=true]{background:var(--green);color:var(--cream)}.reveal{transition:opacity .8s ease,transform .8s ease}.reveal.waiting{opacity:0;transform:translateY(30px)}.noscript{position:fixed;inset:auto 0 0;background:var(--cream);padding:20px;text-align:center;z-index:99}@keyframes arrive{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes bob{50%{transform:translateY(6px)}}
@media(min-width:768px){h2{font-size:48px}.scratch-wrap{width:288px}.section-inner{padding:0 16px}.countdown span{font-size:48px}.hero-copy{padding-bottom:130px}}
@media(max-width:767px){.hero{min-height:740px}.hero-copy{padding-bottom:110px}.name{font-size:60px}.tagline{font-size:24px}.hero-heart{font-size:24px}.welcome{padding:96px 40px}.welcome p{font-size:24px}.section{padding:64px 24px}.section-inner{padding:0 20px}.countdown{gap:8px}.countdown span{font-size:30px}.countdown small{font-size:9px;letter-spacing:.06em}.two-col{gap:20px}.t-item{grid-template-columns:65px 1fr;gap:14px}.t-body{padding-left:18px}.t-time{font-size:10px}.footer{padding:80px 44px 130px;min-height:530px}.footer h2{font-size:36px}}
@media(max-width:359px){.section-inner{padding:0 12px}.two-col{grid-template-columns:1fr}.welcome{padding-inline:36px}.countdown span{font-size:26px}.name{font-size:54px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal.waiting{opacity:1;transform:none}}

.calendar-options{max-width:384px;margin:16px auto 0;display:grid;gap:10px}.calendar-options[hidden]{display:none}.calendar-options .button{width:100%}.calendar-options p{font-size:12px}

/* Cream and gold details keep the cover legible over the moving garden. */
.hero-copy{z-index:2}
.opening-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.tagline{width:fit-content;max-width:100%;margin:12px auto 0;padding:10px 22px;border:1px solid #c8b47b;border-radius:999px;background:#fff9ed;color:#27331f;font-weight:600;text-shadow:none;box-shadow:0 3px 18px #3b44321a}
.section .countdown-date{font-family:'Playfair Display',Georgia,serif;font-size:20px;color:var(--green-dark);margin:-12px 0 26px}
.music-button{display:grid;place-items:center;touch-action:manipulation}
.music-button svg [hidden]{display:none}
@media(max-width:359px){.tagline{padding:9px 14px;font-size:23px}}
