/* Autumn color film: a separate, lightweight layer on top of the site.
   It is deliberately placed below seasonal decor and does not intercept clicks. */
#wmp-tg2-autumn-tone {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 15;
    pointer-events: none !important;
    user-select: none;
    opacity: var(--wmp-tg-tone-opacity, .10);
    background:
        radial-gradient(circle at 18% 12%, rgba(214,98,43,.28), transparent 34%),
        radial-gradient(circle at 80% 22%, rgba(243,181,71,.24), transparent 35%),
        linear-gradient(125deg, #ad5423 0%, #d68733 36%, #efb658 67%, #8f4523 100%);
    contain: layout style paint;
}
@media (max-width: 767px) {
    #wmp-tg2-autumn-tone { opacity: var(--wmp-tg-tone-opacity-mobile, .042); }
}
@media (prefers-contrast: more), (forced-colors: active) {
    #wmp-tg2-autumn-tone { display: none !important; }
}

/* WMP Thanksgiving Cinematic v2.3.0 - Luis WMP */
#wmp-tg2 {
    position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh;
    z-index: 18; overflow: hidden; pointer-events: none !important;
    user-select: none; isolation: isolate; contain: layout style paint;
}
#wmp-tg2, #wmp-tg2 * { box-sizing: border-box; pointer-events: none !important; }
#wmp-tg2 .tg2-leaf {
    position: absolute; top: 0; left: var(--x); width: var(--size); height: var(--size);
    opacity: 0; color: var(--color); will-change: transform, opacity;
    animation: wmp-tg2-fall var(--duration) linear var(--delay) infinite;
}
#wmp-tg2 .tg2-leaf svg {
    width: 100%; height: 100%; display: block; overflow: visible;
    filter: drop-shadow(0 2px 2px rgba(65,33,12,.20));
    transform-origin: 50% 50%;
    animation: wmp-tg2-flutter var(--flutter) ease-in-out var(--flutter-delay) infinite alternate;
}
@keyframes wmp-tg2-fall {
    0% { transform: translate3d(0,-100px,0); opacity: 0; }
    9% { opacity: var(--opacity); }
    21% { transform: translate3d(var(--w1),calc(var(--travel) * .20),0); }
    44% { transform: translate3d(var(--w2),calc(var(--travel) * .43),0); }
    67% { transform: translate3d(var(--w3),calc(var(--travel) * .66),0); }
    90% { transform: translate3d(var(--w4),calc(var(--travel) * .89),0); opacity: var(--opacity); }
    100% { transform: translate3d(var(--w5),var(--travel),0); opacity: 0; }
}
@keyframes wmp-tg2-flutter {
    0% { transform: rotate(-38deg) rotateY(-50deg) scaleX(.76); }
    50% { transform: rotate(11deg) rotateY(24deg) scaleX(1); }
    100% { transform: rotate(64deg) rotateY(64deg) scaleX(.58); }
}
#wmp-tg2 .tg2-gust {
    position: absolute; top: var(--gy); left: -95px; width: var(--size); height: var(--size);
    color: var(--color); opacity: 0; will-change: transform, opacity;
    animation: wmp-tg2-gust var(--gust-duration) cubic-bezier(.22,.42,.42,.86) forwards;
}
#wmp-tg2 .tg2-gust svg {
    width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(59,29,29,.24));
    animation: wmp-tg2-flutter 1.35s ease-in-out infinite alternate;
}
@keyframes wmp-tg2-gust {
    0% { transform: translate3d(0,38px,0); opacity: 0; }
    12% { opacity: .82; }
    43% { transform: translate3d(calc(var(--vw) * .45),-28px,0); }
    78% { opacity: .75; }
    100% { transform: translate3d(calc(var(--vw) + 150px),var(--gy-drift),0); opacity: 0; }
}
#wmp-tg2 .tg2-glimmer {
    position: absolute; left: var(--gx); top: var(--gy); width: var(--gsize); height: var(--gsize);
    border-radius: 50%; background: radial-gradient(circle,#fff7d2 0%,#f9c77a 24%,rgba(255,191,94,0) 72%);
    opacity: 0; animation: wmp-tg2-glow var(--gdur) ease-in-out var(--gdelay) infinite;
}
@keyframes wmp-tg2-glow {
    0%,100% { opacity: 0; transform: translate3d(0,0,0) scale(.5); }
    48% { opacity: .43; transform: translate3d(10px,-15px,0) scale(1.25); }
    72% { opacity: .18; }
}
#wmp-tg2 .tg2-wind {
    position: absolute; top: var(--wy); left: -260px; width: 230px; height: 50px;
    opacity: 0; animation: wmp-tg2-wind 16s linear var(--wd) infinite;
}
#wmp-tg2 .tg2-wind svg { display: block; width: 100%; height: 100%; }
@keyframes wmp-tg2-wind {
    0%,16% { opacity: 0; transform: translateX(0); }
    22% { opacity: .32; }
    44% { opacity: .30; }
    65%,100% { opacity: 0; transform: translateX(calc(var(--vw) + 480px)); }
}
/* All particles occupy an independent masked layer; center artwork stays unaffected. */
#wmp-tg2 .tg2-leaves-layer,
#wmp-tg2 .tg2-effects-layer,
#wmp-tg2 .tg2-gusts-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* Clear side areas for WhatsApp, accessibility, QR and other float widgets. */
#wmp-tg2.tg2-safe-corners .tg2-leaves-layer,
#wmp-tg2.tg2-safe-corners .tg2-effects-layer,
#wmp-tg2.tg2-safe-corners .tg2-gusts-layer {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 8%, #000 18%, #000 82%, rgba(0,0,0,.2) 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 8%, #000 18%, #000 82%, rgba(0,0,0,.2) 92%, transparent 100%);
}

/* Ornamental centerpiece; never placed over floating corner buttons. */
#wmp-tg2 .tg2-harvest-display {
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: clamp(250px, 31vw, 420px);
    height: 168px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: .86;
    filter: saturate(1.08);
    animation: wmp-tg2-center-float 7.6s ease-in-out infinite alternate;
}
#wmp-tg2 .tg2-harvest-display::before {
    content: '';
    position: absolute;
    inset: 22px 9% 4px;
    background: radial-gradient(ellipse at 50% 83%, rgba(231,145,39,.25), rgba(166,87,25,.11) 38%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
#wmp-tg2 .tg2-corner {
    position: absolute;
    pointer-events: none;
    transform-origin: center bottom;
    animation: wmp-tg2-decor 6.6s ease-in-out infinite alternate;
}
#wmp-tg2 .tg2-corner svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 5px rgba(52,28,10,.24));
}
#wmp-tg2 .tg2-harvest { width: 182px; left: 50%; bottom: 3px; margin-left: -98px; opacity: .98; }
#wmp-tg2 .tg2-turkey { width: 82px; left: calc(50% + 56px); bottom: 8px; opacity: .98; animation-delay: -3s; }
#wmp-tg2 .tg2-branch { width: 108px; left: calc(50% - 162px); top: 12px; opacity: .92; transform-origin: top right; animation-delay: -2s; }
#wmp-tg2 .tg2-side-harvest-left { width: 86px; left: calc(50% - 178px); bottom: 7px; opacity: .86; transform: scale(.68) rotate(-8deg); }
#wmp-tg2 .tg2-side-harvest-right { width: 86px; left: calc(50% + 97px); bottom: 10px; opacity: .86; transform: scale(.68) rotate(8deg) scaleX(-1); }

/* Embossed lower plaque: metallic gold trim, inset and raised lettering. */
#wmp-tg2 .tg2-relief-base {
    position: absolute;
    left: 50%; bottom: 9px;
    width: min(88%, 285px);
    height: 39px;
    border-radius: 999px;
    border: 2px solid rgba(255,219,116,.92);
    transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%,rgba(255,236,167,.5),transparent 55%),
        linear-gradient(135deg,#5d300e 0%,#a15a21 17%,#e1a548 42%,#93501f 70%,#48250b 100%);
    box-shadow: inset 0 2px 2px rgba(255,252,196,.7), inset 0 -4px 7px rgba(35,14,3,.5),0 4px 10px rgba(45,22,8,.25), 0 0 0 1px rgba(86,43,16,.55);
    color: #fff0ba;
    text-shadow: 0 1px 0 #492508, 0 -1px 1px rgba(255,255,200,.75), 0 2px 2px #381902;
    white-space: nowrap;
}
#wmp-tg2 .tg2-relief-word {
    font: 800 11px/1 system-ui,-apple-system,'Segoe UI',sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}
#wmp-tg2 .tg2-relief-mark { color: #ffd475; font-size: 13px; }
#wmp-tg2 .tg2-no-relief .tg2-corner { opacity: .93; }
@keyframes wmp-tg2-center-float {
    from { transform: translateX(-50%) translateY(1px); }
    to { transform: translateX(-50%) translateY(-5px); }
}
@keyframes wmp-tg2-decor {
    0% { transform: rotate(-1.5deg) translateY(1px); }
    100% { transform: rotate(1.5deg) translateY(-4px); }
}

/* Raised Thanksgiving greeting with engraved gold ornaments and gloss. */
#wmp-tg2 .tg2-greeting {
    position: absolute;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    max-width: min(485px, calc(100vw - 240px));
    min-height: 48px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 42px;
    border: 2px solid #d9a856;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(255,241,178,.29), transparent 67%),
        linear-gradient(115deg,rgba(68,34,16,.96),rgba(121,65,28,.97) 50%,rgba(72,34,17,.97));
    box-shadow: inset 0 2px 2px rgba(255,246,189,.45),inset 0 -4px 5px rgba(39,17,6,.45),0 0 0 1px rgba(102,50,20,.65),0 6px 17px rgba(40,20,9,.25);
    color: #fff0c8;
    font: 600 13px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif;
    letter-spacing: .025em;
    text-shadow: 0 1px 0 rgba(55,20,4,.7),0 -1px 0 rgba(255,238,173,.13);
    white-space: nowrap;
    opacity: 0;
    animation: wmp-tg2-greeting 8s ease-in-out both;
}
#wmp-tg2 .tg2-greeting::before,#wmp-tg2 .tg2-greeting::after {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    font-size: 17px; line-height: 1; opacity: .91;
}
#wmp-tg2 .tg2-greeting::before { content: '🍂'; left: 13px; }
#wmp-tg2 .tg2-greeting::after { content: '🌾'; right: 13px; }
#wmp-tg2 .tg2-greeting b { color: #ffd879; font-weight: 800; }
#wmp-tg2 .tg2-greeting .tg2-smallleaf { font-size: 19px; line-height: 1; }
@keyframes wmp-tg2-greeting {
    0% { opacity: 0; translate: 0 -18px; }
    12% { opacity: 1; translate: 0 0; }
    78% { opacity: 1; }
    100% { opacity: 0; translate: 0 -15px; }
}
#wmp-tg2.tg2-paused *, #wmp-tg2.tg2-paused *::before, #wmp-tg2.tg2-paused *::after {
    animation-play-state: paused !important;
}
@media (max-width: 1024px) {
    #wmp-tg2 .tg2-harvest-display { width: 308px; height: 132px; opacity: .84; }
    #wmp-tg2 .tg2-harvest { width: 148px; left: 50%; margin-left: -82px; }
    #wmp-tg2 .tg2-turkey { width: 68px; left: calc(50% + 37px); }
    #wmp-tg2 .tg2-branch { width: 80px; left: calc(50% - 122px); }
    #wmp-tg2 .tg2-side-harvest-left { width: 68px; left: calc(50% - 144px); }
    #wmp-tg2 .tg2-side-harvest-right { width: 68px; left: calc(50% + 84px); }
    #wmp-tg2 .tg2-relief-base { width: 236px; height: 34px; bottom: 5px; }
    #wmp-tg2 .tg2-relief-word { font-size: 10px; }
    #wmp-tg2 .tg2-greeting { max-width: min(420px,calc(100vw - 170px)); font-size: 12px; padding: 11px 34px; }
}
@media (max-width: 767px) {
    #wmp-tg2 { z-index: 16; }
    #wmp-tg2.tg2-safe-corners .tg2-leaves-layer,
    #wmp-tg2.tg2-safe-corners .tg2-effects-layer,
    #wmp-tg2.tg2-safe-corners .tg2-gusts-layer {
        -webkit-mask-image: linear-gradient(to right,transparent 0%,#000 24%,#000 76%,transparent 100%);
        mask-image: linear-gradient(to right,transparent 0%,#000 24%,#000 76%,transparent 100%);
    }
    #wmp-tg2 .tg2-harvest-display { width: 184px; height: 86px; bottom: -7px; opacity: .72; }
    #wmp-tg2 .tg2-harvest { width: 92px; left: 50%; margin-left: -52px; bottom: 1px; }
    #wmp-tg2 .tg2-turkey { width: 44px; left: calc(50% + 24px); bottom: 3px; }
    #wmp-tg2 .tg2-branch { width: 50px; left: calc(50% - 70px); top: 6px; }
    #wmp-tg2 .tg2-side-harvest-left { width: 42px; left: calc(50% - 78px); bottom: 6px; }
    #wmp-tg2 .tg2-side-harvest-right { width: 42px; left: calc(50% + 38px); bottom: 6px; }
    #wmp-tg2 .tg2-relief-base { width: 135px; height: 24px; bottom: 6px; border-width: 1px; gap: 3px; }
    #wmp-tg2 .tg2-relief-word { font-size: 7px; letter-spacing: .08em; }
    #wmp-tg2 .tg2-relief-mark { font-size: 8px; }
    #wmp-tg2 .tg2-leaf svg { filter: none; }
    #wmp-tg2 .tg2-wind, #wmp-tg2 .tg2-glimmer { display: none; }
    #wmp-tg2 .tg2-greeting {
        top: 10px; bottom: auto; left: 50%;
        max-width: calc(100vw - 110px);
        min-height: 33px;
        padding: 8px 27px;
        font-size: 10px; gap: 4px;
        border-width: 1px;
        border-radius: 999px;
        white-space: normal;
        text-align: center;
    }
    #wmp-tg2 .tg2-greeting::before { left: 8px; }
    #wmp-tg2 .tg2-greeting::after { right: 8px; }
    #wmp-tg2 .tg2-greeting::before,#wmp-tg2 .tg2-greeting::after { font-size: 11px; }
    #wmp-tg2 .tg2-greeting .tg2-smallleaf { font-size: 13px; }
    #wmp-tg2 .tg2-walker-bottom { bottom: 2px; }
    #wmp-tg2 .tg2-walker-top { top: 64px; width: 42px; opacity: .62; }
}

@media (prefers-reduced-motion: reduce) {
    #wmp-tg2 .tg2-leaf, #wmp-tg2 .tg2-gust, #wmp-tg2 .tg2-glimmer, #wmp-tg2 .tg2-wind { display: none !important; }
    #wmp-tg2 .tg2-corner,#wmp-tg2 .tg2-harvest-display { animation: none !important; }
    #wmp-tg2 .tg2-greeting { animation: none !important; opacity: 0 !important; }
}


/* Walking turkeys */
#wmp-tg2 .tg2-walker {
    position: absolute;
    width: clamp(52px, 4.8vw, 76px);
    height: auto;
    opacity: .9;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(58,29,8,.22));
    transform-origin: center bottom;
}
#wmp-tg2 .tg2-walker svg { width: 100%; height: auto; display: block; }
#wmp-tg2 .tg2-walker::after {
    content: '';
    position: absolute; left: 12%; right: 12%; bottom: -5px; height: 9px;
    background: radial-gradient(ellipse, rgba(83,46,14,.18), transparent 72%);
    border-radius: 50%;
}
#wmp-tg2 .tg2-walker-bottom { bottom: 6px; animation: wmp-tg2-walk-left 28s linear infinite; }
#wmp-tg2 .tg2-walker-top { top: 74px; opacity: .76; width: clamp(44px, 4vw, 64px); animation: wmp-tg2-walk-right 24s linear infinite; }
#wmp-tg2 .tg2-walker .tg2-turkey-figure { animation: wmp-tg2-step 1.3s ease-in-out infinite; }
@keyframes wmp-tg2-step { 0%,100% { transform: translateY(0) rotate(-1deg);} 50% { transform: translateY(-2px) rotate(1.5deg);} }
@keyframes wmp-tg2-walk-left {
    0% { transform: translateX(calc(100vw + 110px)) scaleX(-1); }
    100% { transform: translateX(-140px) scaleX(-1); }
}
@keyframes wmp-tg2-walk-right {
    0% { transform: translateX(-140px); }
    100% { transform: translateX(calc(100vw + 110px)); }
}


@media (max-width: 1024px) {
    #wmp-tg2 .tg2-walker-top { top: 68px; width: 54px; }
}
@media (max-width: 767px) {
    #wmp-tg2 .tg2-walker-bottom { bottom: 2px; width: 46px; opacity: .74; }
    #wmp-tg2 .tg2-walker-top { top: 64px; width: 42px; opacity: .62; }
}
@media (prefers-reduced-motion: reduce) {
    #wmp-tg2 .tg2-walker { display: none !important; }
}
