:root{color-scheme:dark;--gold:#d5b781;--ivory:#f1e4ca;--ink:#312821}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080b12;color:var(--ivory);font-family:'DM Sans',sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #ffe4a9;outline-offset:5px}a{color:inherit}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.eyebrow{font-size:9px;letter-spacing:2.4px;color:var(--gold);font-weight:500;line-height:1.7}
/* The playfield follows the visible viewport. No 770px minimum on a 640px phone. */
.night{position:relative;height:100vh;height:100svh;min-height:320px;overflow:hidden;isolation:isolate}
.masthead{position:absolute;z-index:30;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:calc(22px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) 16px max(24px,env(safe-area-inset-left,0px));pointer-events:none}
.masthead>a,.masthead>button{pointer-events:auto}.wordmark{font:600 30px 'Cormorant Garamond',serif;letter-spacing:3px;text-decoration:none}.header-date{text-align:center;font-size:10px;letter-spacing:2px;line-height:1.8;color:#dbc499;text-shadow:0 2px 10px #000}.header-date small{font-size:8px;letter-spacing:1.5px}.sound{border:1px solid #c0a57c55;border-radius:30px;background:#080b1299;color:#eee2c8;font-size:10px;padding:11px 16px;min-height:44px;max-width:145px}
.intro-active .wordmark,.intro-active .header-date{visibility:hidden}.intro-active .sound{font-size:0;width:44px;height:44px;min-width:44px;padding:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4zM16 8q5 4 0 8' fill='none' stroke='%23ead9bb' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-size:22px;background-repeat:no-repeat}.intro-active .sound[aria-pressed=false]{opacity:.75}
/* Background, actor and bark share one undistorted art coordinate system. */
.scenery{position:absolute;z-index:0;left:var(--art-x,0px);top:var(--art-y,0px);width:var(--art-width,100%);height:var(--art-height,100%);pointer-events:none}
.forest,.forest-occluder{position:absolute;inset:0;background:url(/halloween/halloween-art.webp) center/100% 100% no-repeat}
.forest-occluder{z-index:3;clip-path:polygon(0 0,16% 0,11% 9%,7.7% 15%,6% 20%,5% 27%,3.8% 36%,2% 43%,0 49%,5% 52%,7% 58%,6% 63%,12% 67%,16% 74%,18% 79%,26% 85%,36% 93%,40% 100%,0 100%)}
.night-shade{position:absolute;z-index:3;inset:0;background:linear-gradient(180deg,#080b1226 0%,transparent 28%,transparent 72%,#080b1255 100%);pointer-events:none}
.apparition{position:absolute;z-index:2;left:-11%;top:33%;width:17%;aspect-ratio:650/850;opacity:0;transform-origin:50% 90%;filter:brightness(.68) saturate(.63);mask-image:linear-gradient(#000 0%,#000 59%,transparent 87%);-webkit-mask-image:linear-gradient(#000 0%,#000 59%,transparent 87%);will-change:transform}
.skeleton-puppet{position:absolute;inset:0;transform-origin:50% 90%}.skeleton-puppet img,.joint{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.joint{transform-style:preserve-3d}.skeleton-puppet>img{z-index:2}#head{transform-origin:50.0645% 29.6465%;z-index:3}#jaw{transform-origin:50.0282% 21.6298%;z-index:1}#head>img{z-index:2}#arm-left{transform-origin:25.9218% 41.5359%;z-index:1}#forearm-left{transform-origin:15.3748% 62.8200%}#arm-right{transform-origin:74.1329% 41.5741%;z-index:1}#forearm-right{transform-origin:84.5754% 62.8749%}
/* The old separately stretched branch/castle overlays are no longer painted. */
.wind-branch,.distant-castle{display:none}
/* A softly breathing patch of the original pumpkins stays registered to the ground. */
.living-pumpkin{position:absolute;z-index:4;inset:0;width:100%;height:100%;border:0;padding:0;background:url(/halloween/halloween-art.webp) center/100% 100% no-repeat;transform-origin:88% 85%;mask-image:radial-gradient(ellipse 13% 12% at 88% 85%,#000 24%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse 13% 12% at 88% 85%,#000 24%,transparent 72%);pointer-events:none}.living-pumpkin img{display:none}
.pumpkin-light{position:absolute;z-index:3;right:0;bottom:0;width:35%;height:30%;background:radial-gradient(ellipse,#ee82212b,transparent 65%);opacity:0;pointer-events:none;mix-blend-mode:screen}
#sky-lights-depth,#sky-lights,#atmosphere{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#sky-lights-depth{z-index:1}#sky-lights{z-index:4}#atmosphere{z-index:7}
.weather{position:absolute;z-index:1;inset:0;opacity:0;pointer-events:none}.weather svg{position:absolute;right:6%;top:3%;width:37%;height:52%;overflow:visible}.lightning-wide,.lightning-core,.lightning-twig{fill:none;stroke-linecap:round;stroke-linejoin:round}.lightning-wide{stroke:#a3b7dc;stroke-width:12;filter:blur(7px);opacity:.5}.lightning-core{stroke:#edf1ff;stroke-width:2.1;opacity:.92}.lightning-twig{stroke:#dce7ff;stroke-width:1.15;opacity:.8}.storm-glow{position:absolute;width:44%;height:42%;right:3%;top:2%;background:radial-gradient(ellipse,#8ba1d45c,transparent 70%)}
.envelope-space{--envelope-width:min(480px,46vw,67svh);position:absolute;z-index:6;left:50%;top:41%;width:var(--envelope-width);aspect-ratio:1.5;transform:translateX(-50%);perspective:1200px}.envelope{position:relative;border:0;padding:0;background:none;width:100%;height:100%;perspective:1000px;touch-action:manipulation;outline-offset:6px}.envelope-plane{position:absolute;inset:0;transform:rotateX(20deg) rotateZ(-3deg);transform-style:preserve-3d;will-change:transform}.envelope-plane img{display:block;width:100%;height:100%;pointer-events:none;user-select:none}.body-layer,.letter-layer,.wax,.flap-layer{position:absolute;inset:0;transform-style:preserve-3d}.body-layer{transform:translateZ(3px)}.letter-layer{transform:translateZ(1px)}.flap-layer{transform:translateZ(4px);transform-origin:50% 4.03%}.wax{transform:translateZ(7px)}.desk-shadow{position:absolute;left:3%;right:3%;bottom:3%;height:38%;background:radial-gradient(ellipse,#000b,transparent 70%);filter:blur(10px);transform:translateY(20px)}
.scene-controls{position:absolute;z-index:9;left:16px;right:16px;bottom:max(8%,calc(20px + env(safe-area-inset-bottom,0px)));text-align:center;pointer-events:none}.scene-controls button{pointer-events:auto}.action{border:1px solid #c4a16699;border-radius:4px;background:linear-gradient(140deg,#293234df,#101619f2);color:#f7e7c6;padding:15px 28px;min-height:50px;min-width:220px;font-size:14px;letter-spacing:.5px;box-shadow:0 4px 25px #0006,inset 0 0 18px #a4a07709}.action:hover{border-color:#f8d28d;background:#33382c}
/* A clear title, stable candies and a reachable bag on every viewport. */
.start-screen{position:absolute;inset:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);z-index:12;overflow:hidden;text-align:center}.start-screen[hidden]{display:none}.curtain{position:absolute;top:0;bottom:0;width:51%;z-index:0;will-change:transform;filter:drop-shadow(0 10px 20px #0008)}.curtain-left{left:0;transform-origin:left top}.curtain-right{right:0;transform-origin:right top}.curtain img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}.curtain-right img{transform:scaleX(-1)}
.start-card{position:absolute;z-index:1;left:50%;top:27%;transform:translate(-50%,-50%);width:min(540px,calc(100% - 44px));pointer-events:none}.start-card .game-title{font:400 clamp(27px,3.4vw,38px)/1.17 'Cormorant Garamond',serif;letter-spacing:0;color:#f0deba;margin:0;text-shadow:0 3px 15px #230810b3}
.candy-bag{position:absolute;z-index:4;left:50%;bottom:max(5%,calc(20px + env(safe-area-inset-bottom,0px)));width:clamp(128px,22svh,190px);aspect-ratio:400/480;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 12px 13px #180b0b66);transition:filter .2s}.candy-bag>img{display:block;width:100%;height:100%;object-fit:contain}.candy-slots{display:flex;align-items:center;justify-content:center;pointer-events:none}.candy-bag .candy-slots{position:absolute;left:50%;bottom:19%;transform:translateX(-50%);gap:3px}.candy-slot{display:block;width:23px;height:20px;opacity:.48}.candy-slot svg{display:block;width:100%;height:100%;overflow:visible}.candy-slot path{fill:none;stroke:#e8d6b3;stroke-width:1.4;stroke-linejoin:round}.candy-slot.is-filled{opacity:1;filter:drop-shadow(0 0 7px #efcb7444)}.candy-slot.is-filled path{fill:var(--slot-color);stroke:#f7e7bd}.candy-bag.bag-ready{filter:drop-shadow(0 0 13px #e9c57233) drop-shadow(0 12px 13px #180b0b66)}.candy-bag.bag-over{filter:drop-shadow(0 0 24px #ffe3a388) drop-shadow(0 12px 13px #180b0b66)}
.candy{position:absolute;z-index:3;width:90px;height:80px;padding:4px;appearance:none;-webkit-appearance:none;background:transparent;border:0;box-shadow:none;border-radius:50%;isolation:isolate;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.candy svg{position:relative;z-index:1;width:100%;height:100%;background:transparent;overflow:visible;pointer-events:none;filter:drop-shadow(0 3px 5px #190a0766) drop-shadow(0 0 7px #eed08055);animation:candy-float 4.8s ease-in-out infinite}.candy:hover svg,.candy[data-ghost-hint] svg{filter:drop-shadow(0 0 11px #f4d58a88)}.candy:after{content:'';position:absolute;right:20%;top:20%;width:19px;height:19px;background:#fff1c4;clip-path:polygon(50% 0,58% 40%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 40%);filter:drop-shadow(0 0 6px #fff0a7);opacity:.35;pointer-events:none;animation:candy-glint 4.5s ease-in-out infinite}.candy-2 svg,.candy-2:after{animation-delay:-1.5s}.candy-3 svg,.candy-3:after{animation-delay:-3s}.candy.found{opacity:0;pointer-events:none}.candy.found svg{animation:none;filter:none}.candy.found:after{display:none}.candy.dragging{cursor:grabbing}.candy.depositing{pointer-events:none}
@keyframes candy-float{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}@keyframes candy-glint{0%,100%{opacity:.2;transform:scale(.8) rotate(0)}50%{opacity:.7;transform:scale(1.1) rotate(15deg)}}
.invitation{padding:60px 22px 40px;scroll-margin-top:20px}.js .invitation:not(.revealed){display:none}.paper{max-width:860px;margin:auto;background:radial-gradient(ellipse at 28% 10%,#ffefd3b3,transparent 65%),linear-gradient(110deg,#d0b894,#f3dfbb 30%,#e1c69e);color:var(--ink);padding:66px 70px;border:1px solid #ad8b58;box-shadow:0 20px 90px #0007,inset 0 0 80px #8e663329;position:relative;text-align:center}.paper:before{content:'';position:absolute;inset:14px;border:1px solid #8e6b493f;pointer-events:none}.paper .eyebrow{color:#715b3d}.paper h2{font:400 clamp(42px,6vw,67px)/.97 'Cormorant Garamond',serif;margin:22px 0 25px;letter-spacing:-1px}.paper h2 em{color:#805331}.paper-intro{font:22px/1.5 'Cormorant Garamond',serif}.date-card{display:flex;align-items:center;justify-content:center;gap:24px;margin:35px 0 22px;padding:23px 0;border-block:1px solid #7f614447;text-align:left}.date-card>strong{font:70px/.9 'Cormorant Garamond',serif;color:#72462c}.date-card b{font-size:12px;letter-spacing:2px}.date-card span{display:block;font-size:11px;line-height:1.6;margin-top:8px}.timing{font-size:13px;line-height:1.8}.audience{font:italic 21px/1.4 'Cormorant Garamond',serif;margin:25px 0 35px}.festivities{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:left}.festivities article>span{font:24px 'Cormorant Garamond',serif;color:#97724c}.festivities h3{font:600 23px 'Cormorant Garamond',serif;margin:7px 0}.festivities p{font-size:11px;line-height:1.8}.conditional,.address-note{font-size:11px;line-height:1.8;margin-top:25px}.conditional{font-style:italic}.rsvp{margin-top:40px;padding-top:35px;border-top:1px solid #97734c55}.rsvp h3{font:500 32px 'Cormorant Garamond',serif;margin:14px 0}.rsvp>p:not(.eyebrow){font-size:12px;line-height:1.8;max-width:520px;margin:12px auto}.rsvp form{max-width:430px;margin:27px auto 15px;text-align:left}.field{margin-bottom:17px}.field label{display:block;font-size:11px;line-height:1.5;margin:0 0 7px}.field input{width:100%;background:#fff7e766;border:1px solid #8f725e88;border-radius:3px;color:#2a241e;padding:13px 12px;min-height:48px;font-size:16px}.field input:focus{outline:2px solid #725537;outline-offset:3px}.field input[name=children]{max-width:110px}.honey{position:absolute;width:1px;height:1px;overflow:hidden;left:-9999px}.privacy{font-size:10px;line-height:1.8;color:#665445}.submit{width:100%;background:#303c32;color:#fff0d7;border:1px solid #263027;padding:15px;border-radius:3px;font-size:13px;margin-top:10px}.submit:hover{background:#445140}.submit:disabled{opacity:.65}.rsvp-status{font-size:11px;line-height:1.7;min-height:38px}.rsvp-status[data-state=error]{color:#8e2c1c}.rsvp-status[data-state=success]{color:#2f5731}.calendar{font-size:12px;text-underline-offset:4px}.small{font-size:10px!important}.contact a{text-underline-offset:3px}.closing{font:24px/1.4 'Cormorant Garamond',serif;margin:40px 0 4px}.closing em{color:#7c583a}.end-controls{display:flex;gap:30px;justify-content:center;align-items:center;margin:30px}.end-controls button,.end-controls a{color:#d3bd9a;font-size:11px;background:none;border:0;text-underline-offset:5px;min-height:44px;line-height:44px;padding:0}.no-script{padding:30px;text-align:center;font-size:14px}.rsvp-status[data-state=warning]{color:#785122}.rsvp-status[data-state=pending]{color:#5b554b}
@media(max-width:700px){
 .masthead{padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));gap:10px}.wordmark{font-size:25px}.header-date{font-size:8px;letter-spacing:1px}.header-date small{font-size:7px;letter-spacing:1px}.sound{font-size:9px;padding:9px 11px}
 .forest,.forest-occluder{background-image:url(/halloween/mobile.webp)}
 .forest-occluder{clip-path:polygon(0 0,18% 0,16% 12%,13% 20%,9.5% 29%,7.5% 36%,7% 43%,8% 50%,8.5% 56%,12% 63%,17% 68%,22% 74%,29% 80%,34% 87%,48% 100%,0 100%)}
 .apparition{left:-21%;top:27%;width:37%;filter:brightness(.66) saturate(.63)}
 .envelope-space{--envelope-width:min(86vw,400px,59svh);top:44%}.scene-controls{bottom:max(10%,calc(24px + env(safe-area-inset-bottom,0px)))}
 .living-pumpkin{background-image:url(/halloween/mobile.webp);transform-origin:84% 89%;mask-image:radial-gradient(ellipse 19% 10% at 84% 89%,#000 24%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse 19% 10% at 84% 89%,#000 24%,transparent 72%)}.pumpkin-light{width:50%;height:23%}.weather svg{right:0;top:9%;width:54%;height:39%}.storm-glow{width:65%;height:35%;right:0;top:7%}
 .start-card{top:27%;width:calc(100% - 48px)}.start-card .game-title{font-size:clamp(27px,7.3vw,32px);line-height:1.2}.candy{width:74px;height:68px}.candy-bag{width:clamp(130px,21svh,160px)}.candy-slot{width:18px;height:16px}.candy-bag .candy-slots{gap:2px}
 .invitation{padding:25px 12px}.paper{padding:44px 24px}.paper:before{inset:9px}.paper h2{font-size:42px}.paper-intro{font-size:20px}.festivities{grid-template-columns:1fr;gap:13px}.festivities h3{margin:0}.festivities p{margin:6px 0}.date-card{gap:16px}.date-card>strong{font-size:62px}.date-card b{font-size:10px}.date-card span{font-size:9px}.end-controls{gap:20px;margin:24px 12px}
}
/* Landscape phones get a horizontal game and a compact envelope, without scrolling. */
@media(max-height:540px) and (min-width:701px){
 .masthead{padding:calc(10px + env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) 10px max(22px,env(safe-area-inset-left,0px))}.wordmark{font-size:24px}.header-date{font-size:8px}.header-date small{font-size:7px}.sound{padding:9px 11px;font-size:9px}
 .start-card{left:33%;top:36%;width:43%;max-width:440px}.start-card .game-title{font-size:28px}.candy-bag{left:76%;width:clamp(112px,32svh,155px);bottom:max(8%,env(safe-area-inset-bottom,0px))}.candy{width:74px;height:68px}
 .apparition{left:-7%;top:42%;width:14%}.envelope-space{--envelope-width:min(340px,68svh);top:26%}.scene-controls{bottom:max(6%,calc(12px + env(safe-area-inset-bottom,0px)))}.action{min-height:46px;padding:12px 22px}
}
@media(max-width:359px){.header-date{font-size:7px}.header-date small{font-size:6px}.masthead{gap:5px}.sound{max-width:102px}.paper{padding:36px 19px}.paper h2{font-size:37px}.date-card{gap:12px}}
.reduced .weather{display:none}.reduced .envelope-plane,.reduced .apparition,.reduced .curtain{will-change:auto}.reduced .candy svg,.reduced .candy:after{animation:none}.reduced .candy:after{opacity:.35}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
html:not(.js) .night,html:not(.js) #rsvp-form{display:none}html:not(.js) .masthead{position:relative}

.candy-4 svg,.candy-4:after{animation-delay:-.8s}.candy-5 svg,.candy-5:after{animation-delay:-2.4s}

/* V11: a true material curtain, a distant airborne character, and archival stationery. */
.curtain-cloth{position:absolute;z-index:0;inset:0;width:100%;height:100%;pointer-events:none}.cloth-ready .curtain{visibility:hidden}.curtain{filter:none}.curtain img{object-fit:fill}
.sky-witch{position:absolute;z-index:2;left:0;top:0;width:clamp(112px,14vw,190px);aspect-ratio:1.5;opacity:0;pointer-events:none;filter:brightness(1.12) saturate(.65);will-change:transform}.sky-witch img{display:block;width:100%;height:100%;object-fit:contain}.reduced .sky-witch{will-change:auto}
.invitation{padding:64px 22px 40px;background:radial-gradient(ellipse at 50% 0,#28202855,transparent 65%)}
.paper{max-width:780px;padding:50px 82px 60px;background:#ede0c1 url(/halloween/papier.webp) center/cover no-repeat;border:0;color:#3c2b22;box-shadow:0 26px 90px #0009,inset 0 0 60px #88602f24;font:400 19px/1.55 'Cormorant Garamond',Georgia,serif}
.paper:before{inset:19px;border:1px solid #88603966;outline:1px solid #88603933;outline-offset:5px}.paper:after{content:'';position:absolute;inset:9px;border:1px solid #a0815133;pointer-events:none}
.paper-seal{display:block;width:104px;height:104px;object-fit:contain;margin:0 auto 20px;filter:drop-shadow(0 4px 3px #57312235);transform:rotate(-9deg)}
.paper .eyebrow{font:500 14px/1.65 'Cormorant Garamond',Georgia,serif;letter-spacing:.16em;color:#6c4230;margin:0 auto;text-transform:uppercase}
.paper h2{font:500 clamp(40px,5vw,62px)/1.03 'Cormorant Garamond',Georgia,serif;letter-spacing:-.7px;margin:23px 0 24px;color:#382720}.paper h2 em{color:#713d31;font-weight:400}
.paper-intro{font:400 24px/1.4 'Cormorant Garamond',Georgia,serif;margin:0 auto 30px;max-width:470px}.paper-intro:after{content:'';display:block;width:76px;margin:30px auto 0;border-top:3px double #8f674866}
.date-card{gap:26px;margin:29px auto 25px;padding:24px 8px;border-block:3px double #8f674855;width:100%;max-width:450px}.date-card>strong{font:500 84px/.95 'Cormorant Garamond',Georgia,serif;color:#703b2c}.date-card b{font:600 17px/1.3 'Cormorant Garamond',Georgia,serif;letter-spacing:.14em}.date-card span{font:400 17px/1.45 'Cormorant Garamond',Georgia,serif;margin-top:8px}.timing{font:400 20px/1.6 'Cormorant Garamond',Georgia,serif;margin:20px 0}.timing strong{font-weight:600}.audience{font:400 italic 22px/1.4 'Cormorant Garamond',Georgia,serif;margin:28px 0 34px}
.festivities{display:block;max-width:460px;margin:0 auto;text-align:center}.festivities article+article{margin-top:25px}.festivities h3{font:500 italic 25px/1.2 'Cormorant Garamond',Georgia,serif;margin:0 0 6px;color:#633b2d}.festivities p{font:400 19px/1.5 'Cormorant Garamond',Georgia,serif;margin:0}.conditional,.address-note{font:400 17px/1.5 'Cormorant Garamond',Georgia,serif;margin:28px auto 0;max-width:470px}.conditional{font-style:italic}
.rsvp{margin-top:42px;padding-top:35px;border-top:3px double #8d664966}.rsvp h3{font:500 33px/1.1 'Cormorant Garamond',Georgia,serif;margin:18px 0}.rsvp>p:not(.eyebrow){font:400 18px/1.5 'Cormorant Garamond',Georgia,serif;max-width:460px;margin:12px auto}.rsvp form{max-width:430px;margin:29px auto 22px}.field{margin-bottom:22px}.field label{font:600 18px/1.4 'Cormorant Garamond',Georgia,serif;margin:0 0 8px}.field input{background:#fff9e72b;border:0;border-bottom:1px solid #78553d99;border-radius:0;box-shadow:inset 0 -6px 12px #79533205;font:400 17px/1.4 'DM Sans',sans-serif;padding:12px 10px;min-height:48px;color:#30231c}.field input:focus{outline:2px solid #76543a;outline-offset:3px;background:#fff5df66}.privacy{font:400 15px/1.5 'Cormorant Garamond',Georgia,serif;color:#594332;margin:23px 0}
.submit{font:500 19px/1.3 'Cormorant Garamond',Georgia,serif;letter-spacing:.02em;background:linear-gradient(135deg,#6f302a,#4d2622);color:#ffeed0;border:3px double #dbc294;outline:1px solid #66372c;border-radius:0;min-height:54px;padding:13px 20px;margin-top:10px;box-shadow:0 3px 9px #62402420}.submit:hover{background:#783d30}.paper button:focus-visible,.paper a:focus-visible{outline:2px solid #6d3026;outline-offset:5px}.rsvp-status{font:400 16px/1.5 'Cormorant Garamond',Georgia,serif}.calendar{font:500 17px/1.4 'Cormorant Garamond',Georgia,serif;text-underline-offset:4px}.rsvp .small{font:400 italic 15px/1.45 'Cormorant Garamond',Georgia,serif!important}.rsvp .contact{font-size:17px!important}.closing{font:400 27px/1.3 'Cormorant Garamond',Georgia,serif;margin:34px 0 0}.closing em{color:#794b32}
@media(max-width:700px){.invitation{padding:28px 10px}.paper{padding:32px 27px 42px;font-size:18px}.paper:before{inset:12px;outline-offset:4px}.paper:after{inset:5px}.paper-seal{width:90px;height:90px;margin-bottom:18px}.paper .eyebrow{font-size:12px;letter-spacing:.12em}.paper h2{font-size:40px;margin-top:21px}.paper-intro{font-size:22px}.date-card{gap:17px;padding:20px 0}.date-card>strong{font-size:69px}.date-card b{font-size:15px;letter-spacing:.08em}.date-card span{font-size:15px}.timing{font-size:19px}.audience{font-size:21px}.festivities h3{font-size:24px}.festivities p{font-size:18px}.conditional,.address-note{font-size:17px}.rsvp h3{font-size:31px}.rsvp>p:not(.eyebrow){font-size:18px}.privacy{font-size:15px}.closing{font-size:25px}}
@media(max-width:359px){.paper{padding-inline:23px}.paper h2{font-size:36px}.date-card{gap:12px}.date-card b{font-size:14px}.date-card span{font-size:14px}}

.paper{color-scheme:light}
/* V12: one continuous cursed parchment, including the response form.
   Nine-slice edges stay visible even on a very long mobile letter. The border
   replaces an equal amount of padding so the readable column stays unchanged. */
.paper{border:22px solid transparent;padding:28px 60px 38px;background:#eee0c3;background-clip:padding-box;border-image-source:url(/halloween/parchemin.webp);border-image-slice:110 90 120 90 fill;border-image-width:1;border-image-outset:0;border-image-repeat:stretch;color:#34251f;box-shadow:0 26px 90px #0009;filter:drop-shadow(0 3px 3px #0009)}
.paper:before{inset:16px;border:0;outline:0;background:none;pointer-events:none}
.paper:after{inset:2px;border:0;background:radial-gradient(ellipse at 0 27%,#26332e33,transparent 18%),radial-gradient(ellipse at 100% 69%,#38232833,transparent 18%);mix-blend-mode:multiply;opacity:.45;animation:cursed-margin-shadow 18s ease-in-out infinite;pointer-events:none}
.paper-seal{filter:brightness(.72) saturate(.66) drop-shadow(0 5px 3px #200d1255) drop-shadow(0 0 9px #68786633)}
.paper h2{color:#342326}.paper h2 em,.festivities h3{color:#542e2b}.paper .eyebrow{color:#583c2b}.privacy{color:#49362b}
.field input{background:#fff7df33;border-bottom-color:#654a39aa;color:#2c211c}.field input:focus{background:#fff4d999}
@keyframes cursed-margin-shadow{0%,100%{opacity:.32}50%{opacity:.58}}
@media(max-width:700px){.paper{border-width:16px;padding:16px 11px 26px}.paper:before{inset:10px}}
@media(max-width:359px){.paper{padding-inline:7px}}
/* Blood-dark writing remains real, selectable and accessible text. */
.paper{background:#eee0c3 url(/halloween/papier.webp) center top/720px 1080px repeat-y;background-clip:padding-box;border-image-slice:110 90 120 90;color:#4c141b;text-shadow:.15px .2px .2px #57101535}
.paper h2,.paper h2 em,.festivities h3,.rsvp h3,.closing,.closing em{color:#66131d;text-shadow:.25px .4px .3px #52101866,0 0 .45px #6a182544}
.paper .eyebrow,.date-card>strong,.date-card b,.field label{color:#631922}.privacy{color:#57212a}
.paper h2:after,.closing:after{content:'';display:block;width:168px;height:36px;margin:16px auto 0;background:url(/halloween/encre.webp) center/100% auto no-repeat;pointer-events:none}
.closing:after{width:112px;height:24px;margin-top:12px}
.field input{color:#46181f;text-shadow:none}.submit{background:linear-gradient(135deg,#6b242a,#431b24);text-shadow:none}.submit:hover{background:#782b31}
.privacy{color:#4c141b}
.paper{background-position:center;background-size:cover;background-repeat:no-repeat}
