/* Two little paper visitors. CSS construction, station typography, no clip art. */
.thanksgiving-scene{position:fixed;inset:0;z-index:29;pointer-events:none;overflow:hidden;contain:layout style;isolation:isolate}
.thanksgiving-scene[hidden]{display:none}
.thanksgiving-letter{position:absolute;top:0;left:0;width:236px;opacity:0;pointer-events:none;will-change:transform;transform-origin:50% 50%;perspective:900px;filter:drop-shadow(3px 9px 9px #1c251c40)}
.thanksgiving-paper{position:relative;min-height:94px;color:#29321d;background:#fae9b2;border:1px solid #ac9364;box-shadow:inset 0 0 0 5px #f7e4ab,inset 0 0 0 6px #b18a4c50;transform-style:preserve-3d}
.thanksgiving-paper::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(108deg,transparent 15%,#fff5 44%,transparent 65%);opacity:.35}
.thanksgiving-fold{position:absolute;inset:0;pointer-events:none;z-index:2;clip-path:polygon(0 0,100% 0,50% 53%);background:linear-gradient(175deg,#f7e2a7,#e9cb7f);transform-origin:50% 0;transition:transform 850ms cubic-bezier(.2,.7,.2,1),opacity 850ms;box-shadow:0 1px 3px #3b211755}
.thanksgiving-seal{position:absolute;z-index:3;top:35px;right:14px;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#ac3b25;color:#fae9b2;border:1px solid #772c1c;box-shadow:inset 0 0 0 3px #fae9b233,1px 2px 3px #2b251b30;font:700 10px/1 var(--mono,monospace);transform:rotate(8deg);pointer-events:none;transition:opacity .4s}
.thanksgiving-open{position:relative;z-index:4;display:block;width:100%;min-height:94px;padding:13px 62px 10px 16px;text-align:left;border:0;background:none;color:inherit;cursor:pointer;pointer-events:auto;touch-action:pan-x pan-y pinch-zoom}
.thanksgiving-open strong{position:relative;display:block;font:600 24px/1 var(--heading,'Arial Narrow',sans-serif);letter-spacing:-.02em;padding-top:4px}
.thanksgiving-kicker{font:500 9px/1.5 var(--mono,monospace);letter-spacing:.09em;text-transform:uppercase}
.thanksgiving-invitation{display:block;font:400 11px/1.5 var(--body,sans-serif);margin-top:6px}
.thanksgiving-close{position:absolute;z-index:6;top:3px;right:3px;display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#29321d;color:#fae9b2;box-shadow:0 2px 5px #17201b33;font:400 24px/1 sans-serif;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.thanksgiving-close:focus-visible,.thanksgiving-open:focus-visible,.thanksgiving-message a:focus-visible{outline:3px solid #ca4f32;outline-offset:4px}
.thanksgiving-message[hidden]{display:none}
.thanksgiving-message{position:relative;z-index:3;padding:42px 24px 22px;max-height:var(--thanksgiving-reading-height,70vh);overflow:auto;box-sizing:border-box;overscroll-behavior:contain;pointer-events:auto;animation:thanksgiving-ink .8s ease-out both}
.thanksgiving-message h2{font:600 35px/1.06 var(--heading,'Arial Narrow',sans-serif);margin:12px 0;color:inherit;letter-spacing:-.015em}
.thanksgiving-message p{font:400 15px/1.6 var(--body,sans-serif);margin:12px 0 0}
.thanksgiving-message .thanksgiving-kicker{font:500 9px/1.6 var(--mono,monospace);margin:0;letter-spacing:.06em}
.thanksgiving-message .thanksgiving-signoff{font-size:13px;color:#75451c}
.thanksgiving-message a{display:inline-block;pointer-events:auto;margin-top:15px;color:inherit;font:600 15px/1.5 var(--body,sans-serif);text-decoration-thickness:1px;text-underline-offset:5px}
.thanksgiving-letter--pass .thanksgiving-paper{background:#293d30;color:#fae9b2;border-color:#9caa7c;box-shadow:inset 0 0 0 5px #293d30,inset 0 0 0 6px #fae9b244}
.thanksgiving-letter--pass .thanksgiving-fold{background:linear-gradient(175deg,#48644c,#293d30)}
.thanksgiving-letter--pass .thanksgiving-seal{background:#efbb4b;color:#29321d;border-color:#ac7c27}
.thanksgiving-letter.is-open{width:min(310px,calc(100vw - 42px))!important}
.thanksgiving-letter.is-open .thanksgiving-fold{transform:rotateX(160deg);opacity:0}
.thanksgiving-letter.is-open .thanksgiving-seal{opacity:0}
.thanksgiving-letter.is-open .thanksgiving-open{display:none}
@keyframes thanksgiving-ink{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
html.motion-paused .thanksgiving-scene{display:none!important}
@media(prefers-reduced-motion:reduce){.thanksgiving-scene{display:none!important}.thanksgiving-scene *{animation:none!important;transition:none!important}}
@media(max-height:600px){.thanksgiving-message{padding:40px 18px 18px}.thanksgiving-message h2{font-size:27px}.thanksgiving-message p{font-size:14px;line-height:1.4}.thanksgiving-message .thanksgiving-signoff{display:none}}
