*{box-sizing:border-box}
:root{color-scheme:light;--paper:#f8f3e6;--pine:#183e32;--berry:#8d3538;--gold:#ae8856;--line:#d2c5a8;--type:"Baskerville","Baskerville Old Face","Palatino Linotype","Book Antiqua",Georgia,serif}
body{margin:0;background:radial-gradient(ellipse at 43% 26%,#fffdf6 0,transparent 65%),var(--paper);color:var(--pine);font-family:var(--type);min-height:100svh;display:flex;flex-direction:column}
body:before{content:"";display:block;height:6px;background:repeating-linear-gradient(130deg,var(--pine) 0 15px,var(--paper) 15px 26px,var(--berry) 26px 41px,var(--paper) 41px 53px)}
header,footer,main{width:min(1160px,calc(100% - clamp(32px,9vw,128px)));margin-inline:auto}
header,footer{display:flex;align-items:center;justify-content:space-between}
header{min-height:82px;border-bottom:1px solid var(--line)}
.letterhead,.date,footer,label,.choice,button,summary,.tools{font-family:"Gill Sans","Segoe UI",system-ui,sans-serif}
.letterhead{display:flex;gap:12px;align-items:center;font-size:.81rem;text-transform:uppercase;letter-spacing:.15em;font-weight:650}
.flake{font:2.1rem Georgia,serif;color:var(--berry)}
.date{font-size:.87rem;color:#625b4a}
main{flex:1;display:grid;align-content:center}
.envelope{display:grid;grid-template-columns:minmax(265px,.86fr) minmax(0,1.3fr);gap:clamp(25px,6vw,88px);align-items:center;padding:clamp(42px,8vh,92px) 0}
h1{font-size:clamp(4.6rem,7.5vw,7.9rem);letter-spacing:-.06em;font-weight:400;line-height:.86;margin:0}
h1 em{font-weight:400;color:var(--berry)}
.salutation{font-size:clamp(1.19rem,1.7vw,1.5rem);line-height:1.4;margin:24px 0 26px;max-width:26em}
.letter .salutation{max-width:21em}
#open{max-width:330px}
label{display:block;font-size:.91rem;font-weight:600;margin-bottom:7px}
input[type=password]{width:100%;border:1px solid #887e6a;border-radius:3px;background:#fffdf6;padding:10px 12px;font:1.08rem system-ui;color:var(--pine);height:45px}
button{cursor:pointer;font-size:1rem} button:disabled{cursor:default}
.primary{width:100%;background:var(--pine);color:#fff7df;border:0;border-radius:3px;font-weight:600;padding:13px 15px;margin-top:12px}
.primary:hover{background:#2a5643}
:focus-visible{outline:3px solid #a84738;outline-offset:3px}
.choice{margin-top:14px;display:flex;align-items:center;gap:8px;font-size:.875rem;font-weight:400}
.choice input{width:17px;height:17px;accent-color:var(--pine)}
.error{margin:7px 0 0;color:var(--berry);font: .94rem system-ui}
.error:empty{display:none}
.postcard{margin:0;background:#fffdf3;padding:clamp(8px,1.25vw,18px);box-shadow:0 12px 35px #4b3d2824,0 0 0 1px #ddd1b9;transform:rotate(1.5deg)}
.postcard img{width:100%;aspect-ratio:1.37;object-fit:cover;object-position:86% 50%;display:block}
figcaption{font:italic clamp(1.13rem,1.8vw,1.45rem) var(--type);text-align:center;margin:15px 0 4px;color:#70573c}
footer{border-top:1px solid var(--line);min-height:64px;font-size:.79rem;letter-spacing:.06em;color:#66614f}
.stamp{color:var(--berry);font-size:1.5rem}
.screening{max-width:910px;width:100%;margin:auto;padding:28px 0 16px}
.greeting{text-align:center}.greeting h1{font-size:clamp(2.55rem,5.5vw,5.3rem);line-height:1.05}
.greeting .salutation{font-size:1.17rem;max-width:none;margin:9px auto 22px}
.wreath{padding:clamp(14px,3.7vw,47px) clamp(12px,4.5vw,58px) clamp(18px,2.8vw,34px);background:#092b24 url('/holly.webp') center / 100% 100% no-repeat;box-shadow:0 6px 18px #46351d24;border-radius:4px;color:#f4ecce}
video{width:100%;display:block;aspect-ratio:16/9;object-fit:contain;background:black;border:1px solid #9f8655}
.tools{display:flex;justify-content:space-between;align-items:center;gap:8px}
.tools button{border:0;background:#0e312a;color:#fff3d6;padding:5px 9px;min-height:44px;font-size:.9rem;border-radius:2px}
.tools button:hover{background:#1b483b}.tools button:focus-visible{outline-color:#f4c277}.tools button:disabled{color:#ccceb8}
#expand{margin-left:auto}
.under{display:flex;justify-content:space-between;gap:18px;margin-top:7px;align-items:start}
summary,.quiet{font-size:.9rem;color:var(--pine);cursor:pointer;padding:12px 2px}
details p{max-width:44em;line-height:1.5;margin:0 0 10px}.quiet{border:0;background:none;text-decoration:underline;text-underline-offset:3px}
.watching{overflow:hidden}
.wreath.expanded,.wreath:fullscreen{position:fixed;inset:0;z-index:10;width:100%;max-width:none;height:100%;height:100dvh;margin:0;padding:0;background:black;border-radius:0;display:flex;flex-direction:column;justify-content:center}
.wreath.expanded video,.wreath:fullscreen video{min-height:0;flex:1;border:0}
.wreath.expanded .tools,.wreath:fullscreen .tools{background:#0c2c23;padding:0 max(12px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-left))}
@media(max-width:690px){header{min-height:65px}.letterhead{font-size:.68rem;letter-spacing:.09em;gap:7px}.date{font-size:.78rem}.envelope{grid-template-columns:1fr;gap:26px;padding:30px 0}.letter h1{font-size:clamp(3.3rem,11.2vw,5.2rem);line-height:1.05}.letter h1 br{display:none}.letter h1 em:before{content:' '}.letter .salutation{margin:11px 0 19px}#open{max-width:none}.postcard{width:min(100%,480px);justify-self:center;transform:rotate(1deg)}.postcard img{aspect-ratio:2.3;object-position:50% 63%}figcaption{margin:8px 0 2px}.screening{padding:25px 0}.greeting .salutation{font-size:1.05rem}.tools button{font-size:.84rem}.greeting h1{line-height:1.08}.under{gap:12px}footer{min-height:48px}}
@media(orientation:landscape) and (max-height:550px){.screening{padding:8px 0}.screening .salutation{display:none}.greeting h1{font-size:1.8rem;margin-bottom:8px}.wreath{max-width:min(100%,calc((100svh - 72px)*1.77));margin:auto;padding:8px 15px 7px}}
