﻿:root {
    color-scheme: light;
    --ink: #332c31;
    --muted: #82767b;
    --red: #c31f44;
    --line: #eae1df;
    --paper: #faf7f3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { position: relative; min-height: 100svh; margin: 0; isolation: isolate; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.averin_newyear { position: fixed; inset: 0 0 auto; width: 100%; height: 50px; z-index: 500; background: url('images/images.gif') repeat-x top center; background-size: auto 50px; pointer-events: none; }
.snowcursor { position: fixed; inset: 0; z-index: 501; overflow: hidden; pointer-events: none; }
.snowcursor-spark { position: absolute; top: 0; left: 0; color: #fff; font-size: var(--snow-size); line-height: 1; opacity: var(--snow-opacity); }
@media (prefers-reduced-motion: reduce) { .snowcursor { display: none; } }
.snowdrifts { position: fixed; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.snowdrift-landscape { position: absolute; inset: auto 0 0; height: clamp(160px, 29vh, 320px); }
.snowdrift { position: absolute; display: block; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, #fff 0%, #fafcff 45%, var(--paper) 100%); box-shadow: 0 -8px 35px #8298b014; }
.snowdrift::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: inherit; pointer-events: none; }
.snowdrift-back { width: 85%; height: 75%; left: 22%; bottom: -20%; transform: rotate(-7deg); }
.snowdrift-left { width: 76%; height: 90%; left: -22%; bottom: -30%; transform: rotate(8deg); }
.snowdrift-right { width: 70%; height: 70%; right: -22%; bottom: -25%; transform: rotate(-10deg); }
.snowdrift-front { width: 100%; height: 56%; left: -12%; bottom: -32%; transform: rotate(-3deg); }
a { color: inherit; }
.wrap { width: min(1100px, calc(100% - 64px)); margin: auto; }
.festive-scene { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(165deg, #aa063b 0%, #cc1742 42%, #ec554e 100%); color: white; }
.header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 25px 0; border-bottom: 1px solid #ffffff24; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: 2.5px; text-decoration: none; }
.brand span { display: block; font-size: 10px; font-weight: 400; letter-spacing: 1.8px; opacity: .72; }
.header-link { font-size: 12px; text-decoration: none; letter-spacing: .4px; }
.header-link span { margin-left: 12px; }
.hero { position: relative; min-height: 535px; padding: 35px 24px 130px; text-align: center; }
.golden-garlands { position: absolute; inset: 0 0 auto; z-index: 0; height: 380px; background: url('images/golden-garlands.svg?v=2') no-repeat center top / 100% 100%; pointer-events: none; animation: garland-glow 4s ease-in-out infinite alternate; }
@keyframes garland-glow { from { opacity: .72; } to { opacity: 1; } }
@media (max-width: 600px) { .golden-garlands { height: 340px; background-image: url('images/golden-garlands-mobile.svg'); } }
@media (prefers-reduced-motion: reduce) { .golden-garlands { animation: none; } }
.hero-copy { position: relative; z-index: 2; max-width: 760px; margin: auto; }
.countdown { position: absolute; top: 20px; right: clamp(36px, 3vw, 68px); z-index: 4; width: max-content; max-width: calc(100% - 32px); margin: 0; text-align: center; }
.countdown-caption { margin: 0 0 10px; color: #ffe6de; font-size: 11px; letter-spacing: 1.2px; }
.countdown-digits { display: inline-flex; padding: 9px 6px; border: 1px solid #ffffff30; border-radius: 15px; background: linear-gradient(135deg, #a61a36, #ff2c39); box-shadow: 0 7px 0 #ffb6a52b, 0 12px 28px #8c0a3226; color: #fff; }
.countdown-unit { display: flex; flex-direction: column; justify-content: center; min-width: 53px; padding: 0 9px; }
.countdown-unit + .countdown-unit { border-left: 1px solid #b70d2840; }
.countdown-value { font: bold italic 29px/1.05 Georgia, serif; font-variant-numeric: tabular-nums; }
.countdown-unit-label { margin-top: 5px; font-size: 9px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.countdown-complete { margin: 0; font: italic 26px/1.3 Georgia, serif; color: #fff4d9; }
.countdown [hidden] { display: none; }
@media (max-width: 1400px) { .hero { padding-top: 140px; } }
.hero-spark { font-size: 44px; font-weight: 300; line-height: 1; margin-bottom: 16px; }
.season { display: flex; justify-content: center; align-items: center; gap: 18px; font-size: 23px; letter-spacing: 1.5px; }
.season span { width: 54px; height: 1px; background: #ffffff9c; }
h1 { font-size: clamp(34px, 4.5vw, 64px); line-height: 1.13; font-weight: 400; letter-spacing: 1px; margin: 24px 0 18px; }
h1 em { font-style: normal; font-weight: 750; }
.hero-description { font-size: 14px; line-height: 1.8; color: #ffe4e3; }
.hero-button { display: inline-flex; align-items: center; gap: 32px; margin-top: 19px; padding: 13px 26px; border-radius: 30px; background: #fffaf2; color: #a61a36; text-decoration: none; font-size: 12px; font-weight: 750; box-shadow: 0 7px 25px #82072c26; transition: transform .2s, box-shadow .2s; }
.hero-button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #82072c40; }
.hero-note { font-size: 10px; letter-spacing: 1px; color: #ffd6d5; margin-top: 16px; }
.character { position: absolute; z-index: 1; width: clamp(140px, 19vw, 275px); height: auto; pointer-events: none; filter: drop-shadow(0 8px 2px #8e113b0c); }
.reindeer { left: -65px; top: 30px; transform: rotate(24deg); }
.santa-visit { position: absolute; z-index: 2; right: 70px; top: auto; bottom: 0px; width: clamp(340px, 60vw, 580px); transform: none; }
.santa-visit .santa { position: static; display: block; width: 100%; height: auto; transform: none; }
.santa-speech { position: absolute; right: 20%; bottom: 90%; width: 260px; padding: 18px 23px; border: 1px solid #f4ded3; border-radius: 22px 22px 5px 22px; background: #fffaf2; color: #752337; box-shadow: 0 10px 35px #6e12252b; }
.santa-speech::after { content: ''; position: absolute; right: 26px; bottom: -12px; width: 22px; height: 22px; background: #fffaf2; border-right: 1px solid #f4ded3; border-bottom: 1px solid #f4ded3; transform: skewY(30deg) rotate(25deg); border-radius: 0 0 5px 0; }
.santa-speech-sender { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: #a44d5a; }
.santa-speech-sender span { font-size: 20px; line-height: 1; }
.santa-speech p { position: relative; z-index: 1; margin: 7px 0 0; font-size: 20px; line-height: 1.4; }
.santa-speech strong { font-weight: 750; }
@media (max-width: 800px) { .santa-speech { right: 8%; bottom: 94%; width: 210px; padding: 14px 18px; }.santa-speech p { font-size: 16px; } }
@media (max-width: 480px) { .santa-speech { width: 190px; }.santa-speech-sender { font-size: 9px; } }
.snowfall { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; user-select: none; }
.snowfall::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle, #fff9 1px, transparent 2px), radial-gradient(circle, #ffffff70 1px, transparent 2px); background-size: 113px 127px, 167px 139px; background-position: 8px 13px, 45px 65px; }
.snowflake { position: absolute; top: -28px; left: var(--snow-left); color: #fff; font-size: var(--snow-size); line-height: 1; opacity: var(--snow-opacity); animation: snow-fall var(--snow-duration) var(--snow-delay) linear infinite; }
@keyframes snow-fall {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    25% { transform: translate3d(var(--snow-sway), calc(var(--snow-distance, 750px) * .25), 0) rotate(60deg); }
    50% { transform: translate3d(0, calc(var(--snow-distance, 750px) * .5), 0) rotate(120deg); }
    75% { transform: translate3d(calc(var(--snow-sway) * -1), calc(var(--snow-distance, 750px) * .75), 0) rotate(180deg); }
    100% { transform: translate3d(0, var(--snow-distance, 750px), 0) rotate(240deg); }
}
.snowbank { position: absolute; bottom: -1px; left: -5%; width: 110%; height: 103px; background: var(--paper); clip-path: polygon(0 16%, 6% 12%, 13% 25%, 22% 35%, 31% 72%, 40% 68%, 48% 63%, 58% 78%, 65% 66%, 74% 35%, 85% 24%, 94% 13%, 100% 16%, 100% 100%, 0 100%); z-index: 2; }
.winter-forest { position: absolute; left: 0; right: 0; bottom: 43px; height: 135px; pointer-events: none; }
.tree { position: absolute; bottom: 0; width: 100px; height: 140px; background: var(--paper); clip-path: polygon(50% 0, 66% 23%, 60% 22%, 80% 45%, 72% 43%, 92% 68%, 82% 65%, 100% 91%, 55% 89%, 55% 100%, 45% 100%, 45% 89%, 0 91%, 18% 65%, 8% 68%, 28% 43%, 20% 45%, 40% 22%, 34% 23%); }
.tree-1 { left: 3%; bottom: 8px; }.tree-2 { left: 10%; width: 72px; height: 95px; }.tree-3 { left: 17%; width: 58px; height: 64px; bottom: -9px; }.tree-4 { right: 3%; bottom: 8px; }.tree-5 { right: 10%; width: 72px; height: 95px; }.tree-6 { right: 17%; width: 58px; height: 64px; bottom: -9px; }
.layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding-top: 42px; padding-bottom: 72px; }
.intro { padding-top: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.8px; font-size: 10px; font-weight: 700; color: var(--red); }
.intro h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -1px; font-weight: 550; margin: 18px 0; }
.lead { color: var(--muted); font-size: 14px; max-width: 370px; }
.steps { list-style: none; padding: 0; margin: 32px 0; }
.steps li { display: flex; gap: 17px; margin: 22px 0; }
.steps li > span { color: #bc2443; font-size: 12px; border: 1px solid #e7cdd0; border-radius: 50%; width: 33px; height: 33px; display: grid; place-items: center; flex-shrink: 0; }
.steps strong { font-size: 13px; font-weight: 650; }
.steps p { color: var(--muted); font-size: 12px; margin: 3px 0 0; max-width: 290px; }
.budget { border-left: 2px solid #cc3752; padding: 0 0 0 17px; margin-top: 32px; }
.budget span { font-size: 10px; color: var(--muted); }
.budget strong { display: block; font-size: 16px; font-weight: 650; margin: 3px 0; }
.budget p { font-size: 12px; color: var(--muted); margin: 5px 0; }
.card { background: #fff; padding: 36px; border: 1px solid #eee1df; border-radius: 16px; box-shadow: 0 15px 50px #7d243008; }
.card-heading { margin-bottom: 26px; }
.card h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.8px; margin: 8px 0; }
.card-heading p { font-size: 13px; color: var(--muted); margin: 0; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.bot-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.required { color: var(--red); }
input, textarea { font: inherit; font-size: 14px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fffdfc; color: var(--ink); transition: border-color .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid #eed0d6; outline-offset: 2px; border-color: var(--red); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #a33e33; }
::placeholder { color: #a2999c; }
.help { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 7px 0 0; }
button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 7px; background: var(--red); color: white; padding: 15px 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
button:hover { background: #a51537; }
button:focus-visible, a:focus-visible { outline: 3px solid #e4a464; outline-offset: 4px; }
button:disabled { opacity: .65; cursor: wait; }
button span { font-size: 20px; line-height: 1; }
.form-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 13px 0 0; }
.notice { padding: 14px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; }
.success { color: #25492e; background: #edf5e8; }.error { color: #8b3029; background: #fff0ed; }
.field-error { font-size: 12px; color: #a33e33; margin-top: 6px; }.errorlist { list-style: none; padding: 0; margin: 0; }
.footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 24px; font-size: 10px; color: var(--muted); }
@media (min-width: 1600px) { .reindeer { left: -35px; } }
@media (max-width: 800px) { .layout { gap: 32px; grid-template-columns: 1fr; padding-top: 24px; }.intro { padding-top: 0; }.lead { max-width: 520px; }.steps { display: none; }.budget { margin-top: 24px; }.card { padding: 28px; }.character { width: 155px; }.reindeer { left: -62px; top: 55px; }.santa-visit { top: auto; bottom: 28px; width: clamp(240px, 42vw, 340px); }.hero { min-height: 510px; padding-top: 45px; }.hero-description { max-width: 380px; margin: 0 auto; }.hero-description br { display: none; } }
@media (max-width: 480px) { .wrap { width: calc(100% - 36px); }.header { padding: 20px 0; }.brand { font-size: 15px; }.brand span { font-size: 9px; }.header-link { font-size: 10px; }.header-link span { display: none; }.hero { padding: 90px 24px 125px; min-height: 560px; }.hero-spark { font-size: 30px; }.season { font-size: 9px; gap: 9px; letter-spacing: .8px; }.season span { width: 24px; }h1 { font-size: clamp(26px, 7vw, 34px); margin-top: 22px; letter-spacing: 0; }.hero-description { font-size: 12px; }.character { width: 120px; top: 8px; }.reindeer { left: -34px; }.santa-visit { top: auto; bottom: 28px; width: 220px; }.tree-1, .tree-4 { width: 65px; height: 100px; }.tree-2, .tree-5 { width: 48px; height: 70px; }.tree-3, .tree-6 { display: none; }.card { padding: 22px; }.name-row { grid-template-columns: 1fr; gap: 0; }.footer { flex-direction: column; gap: 5px; } }
@media (max-width: 480px) { .snowflake:nth-child(n+25) { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.snowflake { display: none; animation: none; }.hero-button { transition: none; } }



/* Letter position relative to the Santa illustration. */
.santa-letter {
    --letter-left: 58%;
    --letter-top: 11%;
    --letter-size: 15%;
    --letter-angle: 12deg;
    position: absolute;
    z-index: 3;
    left: var(--letter-left);
    top: var(--letter-top);
    width: var(--letter-size);
    min-width: 44px;
    min-height: 44px;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transform: rotate(var(--letter-angle));
    transition: transform .2s, filter .2s;
}
.bunny-burrow { --bunny-size: 200px; position: absolute; left: 50%; top: calc(40px - var(--bunny-size)); z-index: 0; width: var(--bunny-size); height: calc(var(--bunny-size) + 20px); overflow: hidden; transform: translateX(-50%); pointer-events: none; }
.bunny-burrow .bunny { position: absolute; left: 0; bottom: 0; display: block; width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; pointer-events: auto; cursor: pointer; transform: translateY(115%); transition: transform .1s cubic-bezier(.4, 0, .2, 1); }
.bunny-burrow.is-visible .bunny { transform: translateY(0); }
.bunny-burrow .bunny:hover { background: transparent; }
.bunny-burrow .bunny:disabled { opacity: 1; cursor: default; pointer-events: none; }
.bunny-burrow .bunny { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.bunny img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.bunny-score { position: fixed; left: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 4; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 8px 14px; border: 1px solid #ead7cf; border-radius: 30px; background: #fffaf2; color: #87233d; box-shadow: 0 4px 18px #68203914; font-size: 12px; font-weight: 600; pointer-events: none; }
.bunny-score-value { min-width: 28px; padding: 2px 7px; border-radius: 20px; background: #b51b40; color: #fff; font-size: 15px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .bunny-burrow { --bunny-size: 140px; } }
@media (prefers-reduced-motion: reduce) { .bunny-burrow .bunny { transition: none; } }
.bunny-finale { width: min(680px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; overflow-x: hidden; overflow-y: auto; border: 1px solid #f7dfa466; border-radius: 24px; background: #101c3b; color: #fff4df; box-shadow: 0 24px 100px #050b27aa; text-align: center; }
.bunny-finale::backdrop { background: #040b23cc; backdrop-filter: blur(7px); }
.bunny-finale-copy { position: relative; z-index: 1; padding: 28px 24px 0; }
.bunny-finale-eyebrow { color: #f4d28b; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.bunny-finale h2 { margin: 10px 0; font: 42px/1.1 Georgia, serif; color: #fff4df; }
.bunny-finale p { max-width: 440px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.bunny-finale-image { display: block; width: calc(100% - 48px); height: clamp(220px, 40dvh, 360px); margin: 12px auto 0; object-fit: contain; }
.bunny-finale .bunny-finale-close { display: block; width: calc(100% - 48px); max-width: 320px; margin: 18px auto 24px; padding: 13px 18px; border-radius: 30px; background: #f4d28b; color: #14213e; font-weight: 700; text-align: center; }
.bunny-finale .bunny-finale-close:hover { background: #ffe6b1; }
.bunny-finale-close:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.santa-letter img { display: block; width: 100%; height: auto; pointer-events: none; }
.santa-letter:hover { background: transparent; transform: rotate(var(--letter-angle)) scale(1.1); filter: drop-shadow(0 4px 8px #7a17344d); }
.santa-letter:focus-visible { outline: 3px solid #f9dc95; outline-offset: 4px; }
.letter-dialog { width: min(736px, calc(100vw - 28px), calc((100dvh - 32px) * 736 / 957)); max-width: none; max-height: calc(100dvh - 32px); overflow: hidden; padding: 0; border: 0; border-radius: 4px; background: #fff; color: #583d32; box-shadow: 0 24px 80px #260b2459; }
.letter-sheet { position: relative; aspect-ratio: 736 / 957; background: #fff url('images/list.jpg') center / 100% 100% no-repeat; }
.letter-content { position: absolute; inset: 26% 12% 2%; display: flex; flex-direction: column; row-gap: 30%; min-height: 0; }
.letter-message { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9a1a9 transparent; padding: 0 8px 0 0; }
.letter-message:focus-visible { outline: 2px solid #e8bf78; outline-offset: 2px; }
.letter-dialog::backdrop { background: #290e23a6; backdrop-filter: blur(5px); }
.letter-dialog h2 { font: clamp(18px, 3.6vw, 28px)/1.2 Georgia, serif; margin: 0 0 14px; }
.letter-dialog h2.letter-signature { font-family: Georgia, serif; font-style: italic; }
.letter-dialog #letter-title { text-align: center; }
.letter-order-button, .invite-popup__open {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 350px;
    min-height: 46px;
    margin: 0 auto;
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid #e8bf78;
    border-radius: 30px;
    background: linear-gradient(135deg, #b81e3e, #870e2b);
    color: #fff4d9;
    font-size: clamp(12px, 2.5vw, 15px);
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 6px 18px #8a17352b, inset 0 1px 0 #ffffff30;
    transition: transform .2s, box-shadow .2s;
}
.letter-order-button:hover { background: linear-gradient(135deg, #cd284b, #a21636); transform: translateY(-2px); box-shadow: 0 9px 24px #8a17353d; }
.letter-order-button:active { transform: translateY(0); }
.letter-order-button:focus-visible { outline: 3px solid #dca653; outline-offset: 4px; }
.gift-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #260b2459; }
.gift-dialog::backdrop { background: #290e23a6; backdrop-filter: blur(5px); }
.gift-dialog .card { padding-top: 48px; box-shadow: none; border: 0; }
.dialog-close-form { position: sticky; top: 0; height: 0; z-index: 5; }
.gift-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; place-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; color: #864133; line-height: 1; }
.gift-close svg { display: block; }
.gift-close:hover { background: #fff0ed; }
@media (prefers-reduced-motion: reduce) { .letter-order-button { transition: none; } }
.letter-dialog p { font-family: Georgia, serif; font-size: clamp(13px, 2.5vw, 16px); line-height: 1.5; margin: 0 0 12px; }
.letter-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; place-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #ffffffeb; color: #864133; line-height: 1; }
.letter-close svg { display: block; }
.letter-close:hover { background: #f3e5ce; }
.letter-signature { margin-top: 34px; font-family: Georgia, serif; font-style: italic; color: #ff0000; }
.letter-signature2 { margin-top: 34px; font-family: Georgia, serif; font-style: italic; color: #ffffff; }
.letter-dialog h2.letter-signature-top {
    margin-top: 0;
    font-family: Georgia, serif;
    font-style: italic;
    color: #ff0000;
}
@media (prefers-reduced-motion: reduce) { .santa-letter { transition: none; } }


/* Keep the holiday scene and dialogs usable on phones and tablets. */
@media (max-width: 900px) {
    .festive-scene, .hero { min-height: max(640px, 100svh); }
    .hero { padding: 140px 18px 360px; }
    .hero-copy { max-width: 620px; }
    .season { gap: 10px; font-size: clamp(10px, 2vw, 15px); letter-spacing: .6px; }
    .season span { flex: 0 0 20px; }
    h1 { font-size: clamp(25px, 5.7vw, 46px); line-height: 1.18; letter-spacing: 0; }
    .santa-visit { right: 3%; bottom: max(14px, env(safe-area-inset-bottom)); width: min(94%, 520px); }
    .santa-speech { right: 8%; bottom: 92%; width: min(230px, 70vw); padding: 14px 18px; }
    .santa-speech p { font-size: 16px; }
    .gift-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
    .gift-dialog input, .gift-dialog textarea { font-size: 16px; min-width: 0; }
    .gift-dialog .card { padding: 54px 22px 24px; }
    .gift-dialog .card h2 { font-size: 25px; line-height: 1.25; }
    .field, .name-row { min-width: 0; }
    .gift-dialog .help, .gift-dialog .form-note { overflow-wrap: anywhere; font-size: 12px; }
    .gift-close { background: #fffffff2; }
    .letter-dialog p { font-size: 15px; line-height: 1.55; }
    .letter-order-button { min-height: 48px; gap: 10px; font-size: 13px; }
    .letter-message { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
    .hero { padding-top: 132px; }
    .hero-spark { margin-bottom: 12px; }
    .season { font-size: 10px; gap: 7px; }
    .season span { flex-basis: 12px; }
    .santa-visit { right: 0; width: 100%; }
    .santa-speech { right: 9%; }
    .santa-letter { min-width: 44px; }
    .gift-dialog .name-row { grid-template-columns: 1fr; }
    .letter-content { left: 11%; right: 11%; }
}
@media (max-height: 500px) and (orientation: landscape) {
    .letter-dialog { width: min(560px, calc(100vw - 32px)); overflow-y: auto; overscroll-behavior: contain; }
}

.music-player { position: absolute; top: 20px; left: clamp(16px, 3vw, 48px); z-index: 4; width: 260px; max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid #ffffff; border-radius: 18px; background: #ffffff18; backdrop-filter: blur(10px); box-shadow: 0 8px 24px #700b2920; color: #fff; text-align: left; }
.music-caption { display: block; font-size: 10px; letter-spacing: 1px; opacity: .8; }
.music-title { margin: 4px 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 600; }
.music-controls { display: flex; align-items: center; gap: 5px; }
.music-player .music-button { display: grid; place-items: center; place-content: center; flex: 0 0 40px; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #ffffff20; color: #fff; cursor: pointer; box-shadow: none; transition: background .2s; }
.music-player .music-button:hover { background: #ffffff38; }
.music-player .music-play { background: #fff4df; color: #ad173b; }
.music-player .music-play:hover { background: #fff; }
.music-player svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.music-player .music-icon-play { fill: currentColor; stroke: none; }
.music-player [hidden] { display: none; }
.music-volume { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; margin: 0 0 0 4px; }
.music-volume svg { flex: 0 0 18px; width: 18px; height: 18px; }
.music-player input[type="range"] { width: 100%; min-width: 0; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: #fff4df; cursor: pointer; }
.music-player button:focus-visible, .music-player input:focus-visible { outline: 2px solid #ffe0a0; outline-offset: 3px; }
.music-status { margin: 6px 0 0; font-size: 11px; line-height: 1.4; }
.music-status:empty { display: none; }
@media (max-width: 600px) {
    .hero { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 24px; }
    .hero:has(.music-player) { padding-top: 24px; }
    .hero > .countdown, .hero > .music-player { position: relative; inset: auto; width: 260px; max-width: 100%; margin: 0; }
    .hero > .countdown { order: 0; }
    .hero > .music-player { order: 1; }
    .hero > .hero-copy { order: 2; width: 100%; }
    .countdown-digits { display: flex; width: 100%; }
    .countdown-unit { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .music-player .music-button { transition: none; } }

.invite-popup { width: min(440px, calc(100vw - 28px), calc(100dvh - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.invite-popup::backdrop { background: #290e23a6; backdrop-filter: blur(5px); }
.invite-popup__letter { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.invite-popup__letter:hover { background: transparent; }
.invite-popup__letter:focus-visible { outline: none; }
.invite-popup__letter img { display: block; width: 100%; height: auto; }
.invite-popup__visitor { position: fixed; right: 0; bottom: 0; width: min(760px, 90vw, calc(75dvh * 1280 / 853)); pointer-events: none; }
.invite-popup__santa { display: block; width: 120%; height: auto; }
.invite-popup__visitor .santa-speech { top: 0; right: 8%; bottom: auto; width: min(260px, 70%); padding: clamp(10px, 2vw, 18px) clamp(14px, 2.5vw, 23px); }
.invite-popup__visitor .santa-speech p { font-size: clamp(14px, 2vw, 20px); }
.invite-popup__letter .invite-popup__open { position: absolute; top: 65%; left: 50%; width: 65%; align-items: center; border: 0; transform: translate(-50%, -50%) rotate(-25deg); }
.invite-popup__letter:hover .invite-popup__open { background: linear-gradient(135deg, #cd284b, #a21636); box-shadow: 0 9px 24px #8a17353d; }
.invite-popup__close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; color: #fffaf2; font-size: 32px; }
.invite-popup__close:hover { background: #ffffff20; }
.invite-popup2 { position: relative; width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow-y: auto; padding: 28px 24px 24px; border: 1px solid #ead7cf; border-radius: 24px; background: #fffaf2; color: #583d32; box-shadow: 0 24px 80px #260b2459; text-align: center; }
.invite-popup2::backdrop { background: #290e23a6; backdrop-filter: blur(5px); }
.invite-popup2 h2 { margin: 0 32px 12px; font: 28px/1.2 Georgia, serif; }
.invite-popup2 p { margin: 0 auto; max-width: 420px; font-size: 16px; line-height: 1.5; }
.invite-popup2__image { display: block; width: 100%; height: min(300px, 38dvh); margin: 12px auto; object-fit: contain; }
.invite-popup2 .invite-popup2__start { display: block; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 30px; text-align: center; }
.invite-popup2 .invite-popup2__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; place-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; color: #864133; line-height: 1; }
.invite-popup2__close svg { display: block; }
.invite-popup2 .invite-popup2__close:hover { background: #f3e5ce; }
.invite-popup2 button:focus-visible { outline: 3px solid #dca653; outline-offset: 3px; }

.character.christmas-tree { left: clamp(0px, 2vw, 32px); right: auto; top: auto; bottom: 56px; width: clamp(520px, 20vw, 840px); height: auto; }
@media (max-width: 900px) {
    .character.christmas-tree { left: 0; bottom: max(14px, env(safe-area-inset-bottom)); width: clamp(225px, 40vw, 345px); }
}

