:root{--rose:#c88796;--lav:#9a87b4;--blue:#91abc3;--gold:#b38a43;--ivory:#fffaf2;--ink:#5d4d54;--dark:#252525}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#e8e1ec;color:var(--ink);font-family:Montserrat,sans-serif}main,footer{width:min(100%,760px);margin:auto;overflow:hidden}section{position:relative}.eyebrow{font-family:Cormorant Garamond,serif;letter-spacing:.18em;font-weight:600}.hero{min-height:100svh;background:radial-gradient(circle at 52% 30%,#fffdf7 0 17%,transparent 54%),linear-gradient(180deg,#f7e3e2 0,#ede5f6 43%,#fff9ef 100%);isolation:isolate}.hero:after,.cloud-section:before{content:"";position:absolute;inset:auto -10% -1px;height:22%;background:radial-gradient(ellipse at 20% 100%,#fffaf4 0 42%,transparent 44%),radial-gradient(ellipse at 55% 100%,#fffaf4 0 44%,transparent 46%),radial-gradient(ellipse at 85% 100%,#fffaf4 0 38%,transparent 40%);z-index:-1}.castle{position:absolute;width:58%;right:-8%;top:2%;opacity:.88}.hero-princess{position:absolute;width:58%;left:-6%;bottom:0;filter:drop-shadow(0 18px 18px #7c60722e)}.hero-copy{position:absolute;z-index:2;width:66%;right:2rem;top:18%;text-align:center}.tiara,.tiny-crown{display:block;color:var(--gold);font-size:2.2rem}.hero-copy h1{font-family:Allura,cursive;font-size:clamp(5.8rem,13vw,8.4rem);line-height:.72;color:var(--rose);margin:1rem 0}.hero-copy h2{font-family:Cormorant Garamond,serif;font-size:2rem;letter-spacing:.12em;color:var(--gold)}.date{font-family:Cormorant Garamond,serif;font-size:1.2rem;letter-spacing:.18em}.discover{position:absolute;z-index:4;bottom:1.4rem;left:50%;transform:translateX(-50%);width:max-content;text-align:center;color:var(--ink);text-decoration:none;font-size:.7rem;letter-spacing:.15em}.discover b{display:block;font-size:1.3rem}.count{text-align:center;background:var(--ivory);padding:5rem 2rem 6rem}.count-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:520px;margin:2rem auto}.count-grid div{aspect-ratio:1;border:1px solid var(--gold);border-radius:50%;display:grid;place-content:center;background:#fff9}.count-grid b{font-family:Cormorant Garamond,serif;font-size:2.6rem;font-weight:500}.count-grid span{font-size:.65rem;letter-spacing:.14em}.gold-btn,.outline-btn{display:inline-block;text-decoration:none;padding:.9rem 1.25rem;font-size:.7rem;letter-spacing:.12em}.gold-btn{background:var(--gold);color:white}.outline-btn{border:1px solid var(--gold);color:var(--ink)}.story{text-align:center;padding:5.5rem 12%;background:linear-gradient(180deg,#fffaf2,#f6edf6)}.story h2,.location h2,.dress h2,.music h2,.gift h2,.rsvp h2{font-family:Cormorant Garamond,serif;font-size:2.2rem;margin:.4rem 0}.story>p{font-family:Cormorant Garamond,serif;font-size:1.25rem;line-height:1.55}.parents{margin-top:2rem}.parents small,.parents strong{display:block}.parents strong{font-family:Allura,cursive;color:var(--rose);font-size:2rem}.parchment{background:#fff8ed}.location{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;padding:4rem 2.5rem;gap:1.5rem}.location:before{content:"";position:absolute;inset:1.4rem;background:#f8e8d4aa;clip-path:polygon(2% 8%,95% 0,100% 86%,7% 100%,0 38%);z-index:0}.location>*{position:relative;z-index:1}.location img{width:110%;margin-left:-10%;filter:drop-shadow(0 16px 15px #795b4030)}.location strong{font-family:Cormorant Garamond,serif;color:var(--gold);font-size:1.6rem}.dress{text-align:center;background:linear-gradient(180deg,#fffaf2,#f5eff9);padding:5rem 2rem 6rem}.dress img{display:block;width:100%;max-width:640px;margin:1rem auto}.music{display:flex;align-items:center;justify-content:space-between;padding:3.5rem;background:linear-gradient(120deg,#8f7ba6,#b998b9);color:white}.music .eyebrow{color:#f4dfae}.music button{width:64px;height:64px;border:1px solid white;border-radius:50%;background:transparent;color:white;font-size:1.4rem}.gift{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:var(--ivory);padding:4rem 3rem;gap:2rem}.gift img{width:120%;margin-left:-10%;filter:drop-shadow(0 15px 15px #7a5c4d30)}.rsvp{display:grid;grid-template-columns:.85fr 1.15fr;align-items:end;background:linear-gradient(180deg,#f4eafa,#fff8ef);padding:5rem 2rem 4rem}.letter-princess{width:125%;margin-left:-30%;filter:drop-shadow(0 16px 16px #7b617733)}.rsvp-copy{text-align:center;z-index:2}.rsvp form{max-width:420px;margin:1.5rem auto;text-align:left}.rsvp label{display:flex;flex-direction:column;gap:.4rem;font-size:.72rem;font-weight:600}.rsvp input,.editor-grid input,.editor-grid textarea{border:1px solid #d7c8c8;background:#fff;padding:1rem;border-radius:8px;font:inherit}.rsvp form>div{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.rsvp form button{width:100%;border:0;background:#2fac63;color:#fff;border-radius:100px;padding:1rem;font-weight:600}footer{background:var(--dark);color:#aaa;display:flex;justify-content:center;gap:.3rem;white-space:nowrap;padding:1rem;font-size:clamp(.88rem,3.7vw,1.1rem)}footer a{color:#fff;text-decoration:none}.edit{position:fixed;z-index:30;right:max(1rem,calc((100vw - 760px)/2 + 1rem));top:1rem;border:0;border-radius:100px;background:#fff;color:#5e5058;padding:1rem 1.25rem;font-weight:600;box-shadow:0 8px 26px #4b3d5030}.top{position:fixed;z-index:20;right:max(1rem,calc((100vw - 760px)/2 + 1rem));bottom:1rem;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#8f7ba6;color:#fff;text-decoration:none}dialog{width:min(94vw,680px);max-height:90vh;border:0;border-radius:18px;padding:0}dialog::backdrop{background:#4b3e4caa;backdrop-filter:blur(4px)}dialog form{padding:1.5rem}dialog header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd}dialog header button{border:0;background:none;font-size:2rem}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-height:60vh;overflow:auto;padding:.8rem 0}.editor-grid label{display:flex;flex-direction:column;gap:.35rem;font-size:.72rem}.editor-grid textarea{min-height:70px}.actions{display:flex;gap:1rem}.actions button{flex:1;padding:1rem;border:0;border-radius:100px}.actions #saveBtn{background:var(--rose);color:#fff}
@media(max-width:620px){.hero{min-height:94svh}.castle{width:68%;right:-14%;top:7%}.hero-princess{width:76%;left:-20%;bottom:4.8rem}.hero-copy{top:19%;right:.8rem;width:70%}.hero-copy h1{font-size:clamp(4.8rem,22vw,6.2rem)}.hero-copy h2{font-size:1.5rem}.hero-copy .eyebrow{font-size:.8rem}.date{font-size:.88rem}.count{padding:4rem 1rem 5rem}.count-grid{gap:.45rem}.count-grid b{font-size:2rem}.story{padding:4.5rem 1.5rem}.location,.gift{grid-template-columns:1fr;text-align:center;padding:3.5rem 1.4rem}.location img{width:100%;margin:0}.dress{padding:4rem 1rem 5rem}.music{padding:3rem 1.4rem}.rsvp{grid-template-columns:1fr;padding:3.5rem 1.2rem 4rem}.letter-princess{width:70%;margin:-1rem auto -3rem}.editor-grid{grid-template-columns:1fr}.discover{bottom:1.25rem}}
