:root{--paper:#faf9f5;--ink:#3d5b76;--blue:#dce7ee;--line:#bacbd6;--serif:'Cormorant Garamond',Georgia,serif;--sans:'Jost',sans-serif;--script:'Great Vibes',cursive}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.7 var(--sans)}html{scroll-behavior:smooth;scroll-padding-top:85px}a{color:inherit}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h2{font-size:clamp(50px,5.3vw,78px);line-height:1.07;letter-spacing:-.03em;margin:20px 0 30px}em{font-weight:400}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:13px;line-height:1.7}.section{width:min(1240px,calc(100% - 100px));margin:auto;padding:105px 0}.button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;border:1px solid var(--ink);background:var(--ink);color:white;padding:13px 28px;font:400 14px/1.5 var(--sans);letter-spacing:.07em;text-decoration:none;cursor:pointer;transition:background .2s}.button:hover{background:#2c465e}.button:disabled{opacity:.6;cursor:wait}.button.light{background:var(--paper);color:var(--ink)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #577a9a;outline-offset:4px}.hero{position:relative;min-height:760px;height:92svh;max-height:1050px;display:flex;flex-direction:column;justify-content:center;background:var(--paper) url('/invitations/coastal-baby-shower/assets/ocean-line.webp') center/cover no-repeat;text-align:center}.topbar{position:absolute;top:30px;left:50px;right:50px;display:flex;justify-content:space-between;align-items:center}.monogram{text-decoration:none;font:32px var(--serif)}.monogram span{font-size:20px;margin:0 4px}.small-link{font-size:14px;text-decoration:none;border-bottom:1px solid;padding-bottom:3px}.hero-copy{padding:105px 24px 90px}.hero h1{font-size:clamp(68px,8vw,116px);line-height:1.05;letter-spacing:-.025em;margin:30px 0}.hero h1 span{display:block}.hero h1 em{font-family:var(--script);font-size:1.2em;line-height:1.1;display:block;margin-top:10px}.hero-date{font-family:var(--serif);font-size:26px;margin-top:20px}.hero-place{font-size:15px;margin:8px 0 25px}.hero-bottom{position:absolute;bottom:30px;left:50px;right:50px;display:flex;justify-content:space-between;gap:20px;font-size:13px;letter-spacing:.06em}.hero-bottom a{text-decoration:none}nav{display:flex;justify-content:center;gap:55px;padding:21px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:5}nav a{text-decoration:none;font-size:13px;text-transform:uppercase;letter-spacing:.09em}.story{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.story-copy>p:not(.eyebrow):not(.signature){margin:20px 0}.signature{font:47px/1.5 var(--script);margin-top:30px}.sonogram{background:repeating-linear-gradient(90deg,#e4ecf2 0 20px,#faf9f5 20px 40px);padding:38px 30px 23px;transform:rotate(2deg);border:1px solid var(--line)}.picture-mat{background:var(--paper);padding:18px;box-shadow:0 6px 22px #3d5b7610}.sonogram img{display:block;width:100%;height:auto}.sonogram figcaption{text-align:center;font:italic 25px var(--serif);margin-top:22px}.day{text-align:center;background:repeating-linear-gradient(90deg,#e7eef3 0 32px,#f7f9fa 32px 64px);position:relative}.scalloped:before,.scalloped:after{content:'';position:absolute;left:0;right:0;height:18px;background:radial-gradient(circle at 18px 18px,transparent 17px,var(--paper) 18px) 0 0/36px 18px repeat-x;pointer-events:none}.scalloped:before{top:0}.scalloped:after{bottom:0;transform:rotate(180deg)}.day .section{padding:80px 0}.date-display{display:flex;justify-content:center;align-items:center;gap:45px;font:24px/1.4 var(--serif);margin:30px 0 10px}.date-display strong{font:118px/1 var(--serif);padding:0 40px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.time{font:28px var(--serif);margin:25px 0 12px}.place{font-size:16px}.venue{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;align-items:center}.venue img{width:100%;height:auto;mix-blend-mode:multiply}.venue .address{margin-bottom:30px}.registry{text-align:center;background:#496b88;color:white;position:relative;padding:80px 25px}.registry h2{margin-bottom:22px}.registry .button{margin-top:30px}.rsvp{display:grid;grid-template-columns:1fr 1fr;gap:100px}.rsvp-intro>p:not(.eyebrow){font-size:18px}.rsvp-monogram{font:130px var(--serif);opacity:.3;margin-top:55px}.rsvp-monogram span{font-size:70px;margin:0 5px}label,legend{display:block;font-size:15px;margin-bottom:8px}label span{font-size:13px}input:not([type=radio]),select,textarea{display:block;width:100%;background:transparent;border:1px solid var(--line);border-radius:0;color:var(--ink);padding:12px;font:400 17px var(--sans);margin-bottom:24px;min-height:48px}textarea{resize:vertical}fieldset{border:0;padding:0;margin:12px 0 25px}.choice{display:flex;gap:12px;align-items:center;padding:8px 0}.choice input{accent-color:var(--ink);width:19px;height:19px}.privacy{font-size:13px;margin-top:15px;opacity:.85}#form-error{color:#943d37;margin-top:15px}#saved h3{font-size:42px;line-height:1.2;margin:18px 0}#saved button{margin-top:25px}.trap{position:absolute;left:-10000px}.closing{text-align:center;border-top:1px solid var(--line);padding:65px 24px;background:#e9eff3}.closing .signature{font-size:52px;margin:12px 0 18px}.closing>p:last-child{font-size:14px}footer{text-align:center;padding:25px;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.skip{position:absolute;top:-100px;z-index:20}.skip:focus{top:5px;left:5px;padding:12px;background:white}[hidden]{display:none!important}@media(max-width:750px){.section{width:calc(100% - 44px);padding:65px 0}.hero{min-height:680px;height:90svh;max-height:830px;background-size:auto 100%}.topbar{left:24px;right:24px;top:24px}.hero-copy{padding:110px 23px 90px}.hero h1{font-size:67px}.hero .eyebrow{font-size:12px;letter-spacing:.1em}.hero-place{font-size:14px}.hero-bottom{left:24px;right:24px;bottom:24px;font-size:12px}.hero-bottom a{display:none}nav{gap:0;justify-content:space-between;padding:18px 16px}nav a{font-size:11px;letter-spacing:.02em}.story,.venue,.rsvp{grid-template-columns:1fr;gap:42px}.story-copy>p{font-size:16px}.sonogram{margin:0 12px;padding:27px 22px 21px}.signature{font-size:42px}.date-display{gap:24px;font-size:21px}.date-display strong{font-size:90px;padding:0 25px}.day .section{padding:65px 0}.venue{gap:25px}.venue h2{font-size:61px}.venue figure{order:2}.registry{padding:65px 24px}.rsvp{gap:30px}.rsvp-monogram{display:none}.closing .signature{font-size:40px}.eyebrow{font-size:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:750px){.hero{background-size:100% auto;background-position:center bottom}.hero-copy{padding-top:95px;padding-bottom:165px}.hero-bottom{bottom:18px}}



.envelope-opening{min-height:100svh;padding:55px 24px 35px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--paper) url('/invitations/coastal-baby-shower/assets/ocean-line.webp') center/cover no-repeat}.envelope-greeting{font:62px/1.08 var(--serif);margin:24px 0 95px}.envelope-greeting em{font-weight:400}.envelope{display:block;position:relative;width:340px;height:220px;max-width:82vw;border:0;background:none;padding:0;cursor:pointer;perspective:1100px;color:var(--ink);filter:drop-shadow(0 16px 20px #3d5b7620)}.envelope-back{position:absolute;inset:0;background:#abc2d4;border:1px solid #91abc1;border-radius:3px}.envelope-card{position:absolute;z-index:2;left:7%;right:7%;bottom:8%;height:85%;background:repeating-linear-gradient(90deg,#f9f8f4 0 17px,#e6edf3 17px 34px);border:8px solid #fbfaf7;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;transition:transform 1s cubic-bezier(.2,.65,.2,1)}.envelope-card>span:first-child{font:36px/1.3 var(--script)}.envelope-card strong{font:27px/1.3 var(--serif);margin-top:10px}.envelope-card>span:last-child{font:20px var(--serif)}.envelope-pocket{position:absolute;inset:0;z-index:3;background:linear-gradient(147deg,#c1d3e1,#d4e0e9);clip-path:polygon(0 0,50% 54%,100% 0,100% 100%,0 100%);border-bottom:1px solid #a9bed0}.envelope-flap{position:absolute;inset:0;z-index:4;background:#b6ccdd;clip-path:polygon(0 0,100% 0,50% 57%);transform-origin:top;transition:transform .65s ease,z-index 0s .3s;backface-visibility:visible}.envelope-seal{position:absolute;top:43%;left:calc(50% - 28px);z-index:5;width:56px;height:56px;background:#f7f7f0;border:1px solid #a9bed0;border-radius:50%;display:flex;align-items:center;justify-content:center;font:20px var(--serif);box-shadow:0 2px 3px #3d5b7615;transition:opacity .2s}.envelope-seal span{font-size:12px}.opening .envelope-flap{transform:rotateX(180deg);z-index:1}.opening .envelope-seal{opacity:0}.card-out .envelope-card{transform:translateY(-73%)}.envelope-instruction{font-size:14px;letter-spacing:.07em;margin-top:30px}.skip-envelope{background:none;border:0;border-bottom:1px solid var(--line);font:13px var(--sans);padding:5px 0;color:var(--ink);margin-top:24px;cursor:pointer}@media(max-width:750px){.envelope-opening{padding:40px 22px;background-size:100% auto;background-position:bottom}.envelope-opening .eyebrow{font-size:11px;letter-spacing:.09em}.envelope-greeting{font-size:49px;margin:22px 0 88px}.envelope{width:300px;height:195px}.envelope-card>span:first-child{font-size:31px}.envelope-card strong{font-size:25px}.envelope-opening .envelope-instruction{margin-top:27px}.envelope-opening .skip-envelope{margin-bottom:75px}}@media(prefers-reduced-motion:reduce){.envelope-flap,.envelope-card,.envelope-seal{transition:none}}

.dress-section{text-align:center;padding:75px 0 65px;border-bottom:1px solid var(--line)}.dress-section h2{font-size:clamp(44px,4.3vw,64px);margin:16px 0 18px}.dress-note{font-size:18px}.dress-palette{display:flex;justify-content:center;gap:30px;list-style:none;padding:0;margin:28px 0}.dress-palette li{font-size:13px;display:flex;flex-direction:column;align-items:center;gap:9px}.swatch{display:block;width:32px;height:32px;border-radius:50%;border:1px solid #b4c4d0}.swatch.soft-blue{background:#d1e2ed}.swatch.coastal-blue{background:#6f94b5}.swatch.white{background:#fff}.dress-figures{margin:18px auto 0;line-height:0}.dress-figures img{height:265px;width:auto;max-width:100%;object-fit:contain;mix-blend-mode:multiply}@media(max-width:750px){.dress-section{padding:55px 0 45px}.dress-figures img{height:225px}.dress-note{font-size:16px}.dress-palette{margin:25px 0 20px}}

.sample-banner{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:12px 20px;background:#3d5b76;color:white;font:13px/1.5 var(--sans)}.sample-banner a{text-underline-offset:3px}.sample-sea img{width:100%;height:auto;mix-blend-mode:multiply}.sample-story{gap:50px}

.sample-sea{display:flex;align-items:center;justify-content:center;align-self:stretch;margin:0;padding:0;background:none;border:0;box-shadow:none}.sample-sea img{display:block;width:min(100%,340px);height:auto;max-height:440px;object-fit:contain;mix-blend-mode:multiply}.sample-story{gap:65px;grid-template-columns:1.1fr .9fr}.sample-story .story-copy{max-width:510px}@media(max-width:750px){.sample-story{grid-template-columns:1fr;gap:18px}.sample-sea img{width:220px;max-height:300px}.sample-sea{margin-top:0}}

/* The heading receives focus after the envelope opens, but is not a control. */
#invitation-title:focus{outline:none}
