:root{--paper: #f6eeda;--card: rgba(255, 251, 242, .9);--ink: #2a1f17;--ink-2: #4b3b2d;--brass: #b9924c;--brass-lo: #7d5c24;--brass-dk: #4b3611;--violet: #5a3d86;--wine: #7a2a22}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:#e9d6b0}body{margin:0;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:flex-end;padding:24px clamp(16px,5vw,90px);color:var(--ink);font:22px/1.5 "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;overflow-x:hidden}.scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#e9d6b0}.scene__room{position:absolute;inset:-2%;background:url(/porch.jpg?v=1129b) 30% 60% / cover no-repeat;transform:scale(1.07);animation:settle 16s cubic-bezier(.2,.7,.2,1) .1s forwards}.scene__sun{position:absolute;inset:0;background:radial-gradient(ellipse 26% 30% at 44% 62%,rgba(255,214,140,.5),rgba(255,214,140,0) 70%);mix-blend-mode:screen;opacity:.55;animation:breathe 11s ease-in-out 2s infinite alternate}.scene__veil{position:absolute;inset:0;background:linear-gradient(270deg,rgba(40,28,12,.34) 0%,rgba(40,28,12,.16) 28%,rgba(40,28,12,0) 52%),radial-gradient(ellipse 120% 90% at 50% 50%,rgba(0,0,0,0) 60%,rgba(40,26,10,.3) 100%)}.motes{position:absolute;left:30%;top:30%;width:36%;height:56%}.motes i{position:absolute;bottom:0;width:4px;height:4px;border-radius:50%;background:radial-gradient(circle,rgba(255,246,220,.95),rgba(255,246,220,0) 70%);opacity:0;animation:drift 22s linear infinite}.motes i:nth-child(1){left:6%;animation-delay:0s;animation-duration:24s}.motes i:nth-child(2){left:18%;animation-delay:4s;animation-duration:19s;transform:scale(.7)}.motes i:nth-child(3){left:27%;animation-delay:9s;animation-duration:26s}.motes i:nth-child(4){left:36%;animation-delay:2s;animation-duration:21s}.motes i:nth-child(5){left:44%;animation-delay:12s;animation-duration:25s}.motes i:nth-child(6){left:52%;animation-delay:6s;animation-duration:18s}.motes i:nth-child(7){left:61%;animation-delay:15s;animation-duration:23s}.motes i:nth-child(8){left:69%;animation-delay:1s;animation-duration:27s}.motes i:nth-child(9){left:77%;animation-delay:10s;animation-duration:20s}.motes i:nth-child(10){left:85%;animation-delay:7s;animation-duration:24s}.motes i:nth-child(11){left:12%;animation-delay:17s;animation-duration:22s}.motes i:nth-child(12){left:92%;animation-delay:13s;animation-duration:26s}@keyframes settle{to{transform:scale(1)}}@keyframes breathe{from{opacity:.45}to{opacity:.9}}@keyframes drift{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:.85}50%{transform:translate3d(14px,-45vh,0);opacity:.7}88%{opacity:.5}100%{transform:translate3d(-8px,-62vh,0);opacity:0}}.door{position:relative;z-index:1;width:100%;max-width:30rem;text-align:center;padding:30px 28px 32px;background:var(--card);-webkit-backdrop-filter:blur(6px) saturate(1.05);backdrop-filter:blur(6px) saturate(1.05);border:2px solid var(--brass);outline:1px solid rgba(185,146,76,.8);outline-offset:5px;border-radius:8px;box-shadow:0 30px 60px -28px rgba(60,38,14,.6),0 0 0 1px rgba(255,255,255,.4) inset;opacity:0;transform:translateY(14px);animation:arrive 1.1s cubic-bezier(.2,.7,.2,1) .35s forwards}@keyframes arrive{to{opacity:1;transform:none}}.violet{display:block;width:96px;height:auto;margin:0 auto 8px;transform-origin:50% 95%;animation:nod 7s ease-in-out 2.2s infinite alternate}@keyframes nod{from{transform:rotate(-2.2deg)}to{transform:rotate(2.2deg)}}.soon{margin:0 0 6px;font-size:.9rem;letter-spacing:.2em;text-transform:uppercase;color:var(--brass-lo)}h1{margin:0 0 14px;font-size:2.7rem;font-weight:600;line-height:1.05;color:var(--ink)}h1::after{content:"";display:block;width:5.5rem;height:2px;margin:16px auto 0;background:linear-gradient(90deg,transparent,var(--brass),transparent)}.warm{margin:0 0 22px;color:var(--ink-2)}.note{margin:0 0 18px;padding:12px 14px;border-radius:6px;border:1px solid var(--brass);background:#fbf3e2;color:var(--ink);font-size:1.05rem}.note--alert{border-color:var(--wine);color:var(--wine);background:#fbecea}.key{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0 0 18px}.key label{font-size:1rem;color:var(--ink-2)}.key input{font:inherit;font-size:1.15rem;min-height:56px;padding:10px 14px;border:2px solid var(--brass);border-radius:6px;background:#fffdf7;color:var(--ink);text-align:center}.key input:focus-visible{outline:3px solid var(--violet);outline-offset:2px}.key button{font:inherit;font-size:1.15rem;font-weight:600;min-height:58px;border:2px solid var(--brass-dk);border-radius:6px;background:linear-gradient(#c9a35a,#a8823f);color:#2a1f17;cursor:pointer;box-shadow:0 6px 14px -8px rgba(75,54,17,.8);transition:transform .15s ease,box-shadow .15s ease}.key button:hover{transform:translateY(-1px);box-shadow:0 9px 18px -9px rgba(75,54,17,.85)}.key button:active{transform:translateY(1px)}.key button:focus-visible{outline:3px solid var(--violet);outline-offset:3px}.help{margin:0;font-size:.95rem;color:var(--ink-2)}@media(max-width:760px),(max-height:520px){body{justify-content:center;align-items:flex-end;padding:18px 14px max(18px,env(safe-area-inset-bottom))}.scene{background:#f3e6cc}.scene__room{inset:0 0 54% 0;background-position:62% 50%;animation:none;transform:none}.scene__veil{background:linear-gradient(180deg,rgba(246,236,214,0) 0%,rgba(246,236,214,0) 37%,rgba(243,230,204,.85) 44.5%,#f3e6cc 47%)}.scene__sun{background:radial-gradient(ellipse 60% 20% at 40% 30%,rgba(255,214,140,.45),rgba(255,214,140,0) 70%)}.motes{display:none}body{font-size:19px}.door{padding:18px 18px 20px;max-width:26rem;-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,251,242,.96)}.violet{width:54px;margin-bottom:4px}h1{font-size:2.05rem;margin-bottom:10px}h1::after{margin-top:10px}.warm{margin-bottom:14px}.key{gap:8px;margin-bottom:12px}}@media(max-height:520px)and (orientation:landscape){body{align-items:center}.violet{display:none}}@media(max-width:760px)and (max-height:720px)and (orientation:portrait){.scene__room{inset:0 0 64% 0}.scene__veil{background:linear-gradient(180deg,rgba(246,236,214,0) 0%,rgba(246,236,214,0) 28%,rgba(243,230,204,.85) 34.5%,#f3e6cc 37%)}body{font-size:17px;padding-top:10px}.violet{display:none}.door{padding:14px 16px 16px}h1{font-size:1.9rem}.key input{min-height:50px}.key button{min-height:52px}.help{font-size:.88rem}}@media(prefers-reduced-motion:reduce){.scene__room,.scene__sun,.door,.violet,.motes i{animation:none!important}.scene__room{transform:none}.door{opacity:1;transform:none}.motes{display:none}}
