:root{--green:#073c31;--deep:#031f1a;--gold:#caa562;--ivory:#fffaf0;--ink:#183029;font-family:"DM Sans",sans-serif;color:var(--ink);background:var(--ivory)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:var(--ivory)}body.locked{overflow:hidden}a{text-decoration:none;color:inherit}.opening{position:fixed;inset:0;z-index:50;background:var(--deep);perspective:1200px;overflow:hidden}.door{position:absolute;top:0;bottom:0;width:50.2%;background-image:linear-gradient(rgba(0,24,18,.38),rgba(0,24,18,.56)),url("../assets/emerald-garden.png");background-size:200% 100%;transition:transform 1.35s cubic-bezier(.72,.02,.23,1);box-shadow:inset 0 0 0 1px rgba(226,199,139,.4)}.door:after{content:"";position:absolute;inset:4vh 4vw;border:1px solid rgba(245,224,179,.45);border-radius:48% 48% 5px 5px}.door-left{left:0;background-position:left;transform-origin:left}.door-right{right:0;background-position:right;transform-origin:right}.opening-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;text-shadow:0 3px 18px #000;transition:.4s ease}.sitetale-mark{display:flex;align-items:center;gap:.5rem}.st{width:44px;height:50px;position:relative;font-family:"Cormorant Garamond",serif}.st i{position:absolute;font-style:normal;line-height:1}.st i:first-child{font-size:3rem;left:0}.st i:last-child{font-size:2.35rem;left:18px;top:7px}.sitetale-mark b{font-family:"Cormorant Garamond",serif;font-size:1.75rem;font-weight:500}.opening-content>p{font-family:"Cormorant Garamond",serif;font-size:1.35rem;letter-spacing:.08em;margin:3rem 0 2rem}.opening-content>small{font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:#f0dfbc;margin-top:1.2rem}#openInvitation{border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:1rem;cursor:pointer}#openInvitation span{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#b85159,#601625 70%);border:4px double #e2a990;box-shadow:0 12px 30px #0008;font-family:"Cormorant Garamond",serif;font-size:1.45rem}#openInvitation b{border:1px solid #ecd8ad;background:#02191399;border-radius:999px;padding:.8rem 1.3rem;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}.opening.opening-now .door-left{transform:rotateY(-108deg)}.opening.opening-now .door-right{transform:rotateY(108deg)}.opening.opening-now .opening-content{opacity:0;transform:scale(.94)}.opening.gone{display:none}
.hero{min-height:100svh;position:relative;display:grid;place-items:center;text-align:center;color:#fff;background:url("../assets/emerald-garden.png") center/cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(#00261a55,#001b16aa)}.hero-copy{position:relative;z-index:2;padding:4rem 1.5rem}.kicker,.eyebrow{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600}.hero h1{font-family:"Cormorant Garamond",serif;font-size:clamp(4.2rem,13vw,8.5rem);font-weight:400;line-height:.73;margin:2rem 0}.hero h1 span{display:block}.hero h1 i{display:block;color:var(--gold);font-size:.42em;margin:.35em}.hero-copy>p:not(.kicker){font-family:"Cormorant Garamond",serif;font-size:1.25rem}.date{letter-spacing:.18em;margin-top:2rem}.scroll-cue{display:block;margin-top:5rem;font-size:.66rem;text-transform:uppercase;letter-spacing:.14em}
.section{padding:7rem max(7vw,24px);text-align:center}.blessing{background:#fff}.arabic{font-family:serif;font-size:2.6rem;color:var(--green)}blockquote{font-family:"Cormorant Garamond",serif;font-size:2rem;margin:1.4rem auto;max-width:650px}.blessing small,.eyebrow{color:#98763d}.save-date{background:#f2eadc}.calendar{width:170px;height:210px;border:1px solid #ccb787;margin:2rem auto;display:flex;flex-direction:column;justify-content:center}.calendar span{letter-spacing:.3em}.calendar strong{font-family:"Cormorant Garamond",serif;font-size:6rem;line-height:.9;color:var(--green)}.calendar small{letter-spacing:.3em}.section h2{font-family:"Cormorant Garamond",serif;font-size:clamp(2.7rem,7vw,5.2rem);font-weight:400;margin:1rem 0}.section>p:not(.eyebrow){line-height:1.8;color:#68736e}.countdown{background:var(--green);color:#fff}.count-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:720px;margin:3rem auto 0}.count-grid div{border:1px solid #ffffff33;padding:1.5rem .5rem}.count-grid strong{font-family:"Cormorant Garamond",serif;font-size:3rem;display:block;color:#edd59f}.count-grid span{font-size:.6rem;text-transform:uppercase;letter-spacing:.14em}
.events{background:#fff}.event-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:900px;margin:3rem auto 0}.event-card{border:1px solid #d8c8a8;padding:3rem 2rem}.event-card>span{color:var(--gold)}.event-card h3{font-family:"Cormorant Garamond",serif;font-size:2.5rem;font-weight:400;margin:1rem}.event-time{font-weight:700;color:var(--green)!important}.event-card p{line-height:1.65;color:#68736e}.venue{color:#fff;background:linear-gradient(#04281dcc,#04281ddd),url("../assets/palace-maroon.png") center/cover}.venue>p{color:#eee4d2!important}.gold-button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;margin-top:1.5rem;padding:0 1.4rem;border-radius:999px;background:var(--gold);color:#15251f;font-weight:700}
.timeline{background:#f2eadc}.timeline-list{max-width:610px;margin:3rem auto;text-align:left}.timeline-list>div{display:grid;grid-template-columns:85px 24px 1fr;gap:1rem;align-items:start;min-height:110px}.timeline-list time{font-size:.8rem;font-weight:700;text-align:right}.timeline-list span{width:12px;height:12px;border-radius:50%;background:var(--gold);position:relative;margin-top:3px}.timeline-list span:after{content:"";position:absolute;top:12px;left:5px;width:1px;height:85px;background:#bda976}.timeline-list>div:last-child span:after{display:none}.timeline-list p{margin:0}.timeline-list b{display:block;font-family:"Cormorant Garamond",serif;font-size:1.5rem}.timeline-list small{color:#68736e}.gallery{background:#fff}.gallery-grid{display:grid;grid-template-columns:1.1fr .9fr 1.1fr;gap:.8rem;max-width:1000px;margin:3rem auto}.gallery-grid img{width:100%;height:450px;object-fit:cover}.gallery-grid img:nth-child(2){margin-top:35px}.rsvp{background:var(--deep);color:#fff}.rsvp>p:not(.eyebrow){color:#d4ded9}.rsvp .gold-button{background:#25d366}.music{position:fixed;right:18px;bottom:18px;z-index:10;width:48px;height:48px;border-radius:50%;border:1px solid #fff6;background:var(--green);color:#fff;font-size:1.2rem;box-shadow:0 10px 25px #0003}footer{background:#021410;color:#fff;text-align:center;padding:3rem 1rem;display:flex;flex-direction:column;align-items:center;gap:.6rem}footer p{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;color:#cabd9f}footer>a{color:#d9bb7d}.reveal{opacity:0;transform:translateY(28px);transition:.8s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:650px){.section{padding:5.5rem 20px}.count-grid{grid-template-columns:1fr 1fr}.event-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-grid img{height:310px}.gallery-grid img:last-child{grid-column:1/-1;height:260px}.door:after{inset:3vh 12px}.hero h1{font-size:4.4rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.door,.opening-content,.reveal{transition:none!important}}

/* STW-004 Palace Nocturne theme */
:root{--green:#68182f;--deep:#240711;--gold:#d9ad58;--ivory:#fff8eb;--ink:#40202a}
.door{background-image:linear-gradient(rgba(47,5,20,.28),rgba(36,7,17,.6)),url("../assets/palace-maroon.png")}
.hero{background-image:url("../assets/palace-maroon.png")}
.hero-shade{background:linear-gradient(#350a182e,#240711b8)}
.blessing-mark{font-size:2.2rem!important;color:var(--gold)!important;margin-bottom:.4rem}
.venue{background:linear-gradient(#300a18c7,#240711df),url("../assets/marigold-courtyard.png") center/cover}
footer{background:#17040a}
.gallery-placeholder{height:450px;display:grid;place-items:center;color:var(--gold);background:linear-gradient(145deg,#f8f5ef,#ece6da);border:1px dashed currentColor}.gallery-placeholder:nth-child(2){margin-top:35px}.gallery-placeholder svg{width:72px;height:72px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.footer-logo{position:relative;display:block;width:270px;height:155px;overflow:hidden;background:#fff;border-radius:4px;box-shadow:0 12px 30px #0004}.footer-logo img{position:absolute;width:270px;max-width:none;height:auto;left:50%;top:-158px;transform:translateX(-50%)}footer>a.footer-logo{color:inherit}
@media(max-width:650px){.gallery-placeholder{height:310px}.gallery-placeholder:last-child{grid-column:1/-1;height:260px}.footer-logo{width:235px;height:135px}.footer-logo img{width:235px;top:-137px}}
.sitetale-footer{background:#f3ead6;color:#514b43;padding:4.8rem 1.25rem 4.2rem;gap:0}.sitetale-footer .footer-follow{margin:0 0 1.6rem;color:#5c564e;font-family:"Cormorant Garamond",serif;font-size:1.25rem;font-weight:500;letter-spacing:.36em;text-transform:uppercase}.sitetale-footer .footer-handle{color:#a17b35;font-family:"Cormorant Garamond",serif;font-size:2.6rem;letter-spacing:.09em;line-height:1.2;padding:0 .25rem .45rem;border-bottom:2px solid #d8c28d}.sitetale-footer .footer-divider{display:block;height:4.7rem}.sitetale-footer .footer-name{margin:0;color:#34312d;font-family:"Cormorant Garamond",serif;font-size:2.45rem;font-weight:500;letter-spacing:.42em;text-indent:.42em;text-transform:uppercase}.sitetale-footer .footer-tagline{margin:1.25rem 0 0;color:#69635b;font-family:"Cormorant Garamond",serif;font-size:1.75rem;font-style:italic;letter-spacing:.02em;text-transform:none}
@media(max-width:650px){.sitetale-footer{padding:4rem 1rem 3.6rem}.sitetale-footer .footer-follow{font-size:1rem;letter-spacing:.3em}.sitetale-footer .footer-handle{font-size:2.1rem}.sitetale-footer .footer-divider{height:3.8rem}.sitetale-footer .footer-name{font-size:1.9rem;letter-spacing:.34em;text-indent:.34em}.sitetale-footer .footer-tagline{font-size:1.35rem}}
