/* Reversible edition: base content, media and purchase flows remain intact. */
html[data-season="halloween"] {
    --bg: #110e15; --bg-2: #1b1420; --bg-3: #211827;
    --panel: #1c1721; --panel-2: #28202c; --surface: #1c1721;
    --line: #3d303c; --border: #3d303c; --text: #f5eee4;
    --text-dim: #b6a8b6; --text-muted: #b6a8b6; --text-faint: #a28fa9;
    --accent: #ff9c58; --accent-glow: #ff9c5826;
    --landing-header-height: 80px; color-scheme: dark;
}
[data-season="halloween"] body { background: #110e15; color: var(--text); -webkit-font-smoothing: antialiased; }
[data-season="halloween"] body::before, [data-season="halloween"] body::after { display: none; }
/* Same proportions, lockup, spider and reactions as the application's header. */
[data-season="halloween"] .site-nav { height: 80px; background: #110e15ed; border-bottom: 1px solid #b5a0bd25; backdrop-filter: blur(18px) saturate(120%); }
[data-season="halloween"] .site-nav .nav-inner { width: min(2080px, calc(100% - clamp(20px,5vw,120px) * 2)); height: 100%; min-height: 0; gap: 24px; padding: 0; margin-inline: auto; flex-wrap: nowrap; }
[data-season="halloween"] .site-nav .brand { position: relative; isolation: isolate; flex: none; gap: 10px; font: 800 29px/1.5 'Inter',Arial,sans-serif; letter-spacing: -1.5px; color: #f5eee4; text-decoration: none; }
[data-season="halloween"] .site-nav .logo-mark { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #ff9c58; box-shadow: none; animation: none; }
[data-season="halloween"] .site-nav .logo-text { font: inherit; letter-spacing: -.7px; }
[data-season="halloween"] .site-nav .logo-text span { color: #ff9c58; }
[data-season="halloween"] .site-nav .nav-links { display: flex; margin-left: auto; gap: 30px; }
[data-season="halloween"] .site-nav .nav-links a { font-size: 13px; font-weight: 550; color: #b6a8b6; }
[data-season="halloween"] .site-nav .nav-links a:is(:hover,:focus-visible,[aria-current="page"]) { color: #f5eee4; }
[data-season="halloween"] .site-nav .nav-links .nav-pricing { height: 100%; padding: 0; border: 0; border-radius: 0; background: none; letter-spacing: 0; }
[data-season="halloween"] .site-nav .nav-links .nav-pricing::after { display: block; }
[data-season="halloween"] .site-nav .nav-actions { gap: 20px; margin-left: 6px; }
[data-season="halloween"] .site-nav .nav-login { font-size: 13px; }
[data-season="halloween"] .site-nav .btn { min-height: 40px; padding: 0 18px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: -.1px; text-transform: none; }
[data-season="halloween"] :is(a,button,summary):focus-visible { outline: 2px solid #ffc391; outline-offset: 4px; }
.halloween-brand-creature { display: none; position: absolute; width: 27px; height: 27px; left: 12%; top: -13px; color: #ffb271; pointer-events: none; z-index: 2; }
[data-season="halloween"] .halloween-brand-creature { display: block; }
.halloween-spider { display: block; width: 27px; height: 27px; transform-origin: 50% 0; }
.halloween-spider-thread { position: absolute; top: -12px; left: 50%; height: 14px; width: 1px; background: #c6a8ca; transform-origin: top; opacity: 0; transition: opacity .2s; }
[data-season-motion="on"] .halloween-brand-creature { animation: halloween-crawl 16s ease-in-out infinite; }
[data-season-motion="on"] .halloween-spider { animation: halloween-legs .65s ease-in-out infinite alternate; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) .halloween-brand-creature { animation-play-state: paused; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) .halloween-spider-thread { opacity: .8; height: 30px; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) .halloween-spider { animation: halloween-dangle 1.8s ease-in-out infinite; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) [data-reaction="1"] .halloween-spider { animation: halloween-scuttle 1.3s ease-in-out infinite; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) [data-reaction="2"] .halloween-spider { animation: halloween-somersault 1.8s cubic-bezier(.4,0,.2,1) infinite; }
[data-season-motion="on"] .brand:is(:hover,:focus-visible) [data-reaction="3"] .halloween-spider { animation: halloween-wave 1.1s ease-in-out infinite; }
@keyframes halloween-crawl { 0%,100% { left:12%; } 35%,53% { left:73%; } 53% { transform:translateY(2px); } 82% { left:29%; } }
@keyframes halloween-legs { from { transform:rotate(-6deg); } to { transform:rotate(6deg) translateY(1px); } }
@keyframes halloween-dangle { 0%,100% { transform:translateY(19px) rotate(-12deg); } 50% { transform:translateY(22px) rotate(12deg); } }
@keyframes halloween-scuttle { 0%,100% { transform:translateX(0) rotate(-8deg); } 30% { transform:translateX(32px) rotate(9deg); } 60% { transform:translateX(-22px) rotate(-12deg); } }
@keyframes halloween-somersault { 0%,100% { transform:translateY(0) rotate(0); } 55% { transform:translateY(22px) rotate(360deg); } 80% { transform:translateY(9px) rotate(360deg); } }
@keyframes halloween-wave { 0%,100% { transform:rotate(-15deg) scale(1); } 45% { transform:rotate(15deg) scale(1.35); } 75% { transform:rotate(-8deg) scale(1.1); } }
/* Peripheral atmosphere stays behind content and never captures input. */
.halloween-night-backdrop, .halloween-hero-guest, .halloween-edition { display: none; }
[data-season="halloween"] .halloween-night-backdrop { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 8% 38%,#77598a16,transparent 42%),radial-gradient(ellipse at 94% 78%,#d07a4510,transparent 42%); }
.halloween-moon { position: absolute; width: 145px; height: 145px; top: 16%; right: -34px; border-radius: 50%; box-shadow: -18px 3px 0 1px #ccb0db24; transform: rotate(-20deg); }
.halloween-corner-web { position: absolute; top: 80px; left: 0; width: 170px; color: #d2b5df; opacity: .1; }
.halloween-mist { position: absolute; width: 65vw; height: 27vh; border-radius: 50%; background: radial-gradient(ellipse,#a589c014,transparent 68%); }
.mist-one { top: 33%; left: -25%; } .mist-two { bottom: 6%; right: -25%; }
.halloween-background-bat { position: absolute; right: 3%; top: 32%; width: 58px; opacity: .1; transform: rotate(-18deg); }
[data-season-motion="on"] .halloween-mist { animation: halloween-fog-drift 24s ease-in-out infinite alternate; }
[data-season-motion="on"] .mist-two { animation-delay: -12s; }
@keyframes halloween-fog-drift { to { transform: translate(16%,12%); opacity: .5; } }
[data-season="halloween"] .hero { background: radial-gradient(ellipse at 78% 44%,#a06bb01c,transparent 55%),radial-gradient(ellipse at 90% 65%,#ff9c5810,transparent 45%); }
[data-season="halloween"] .hero::before { border-color: #b595c512; }
[data-season="halloween"] .hero .badge { border-color: #9b7ea43d; background: #21182788; color: #b6a8b6; font-size: 10px; }
[data-season="halloween"] .halloween-edition { display: inline-flex; align-items: center; gap: 8px; margin: 0 12px 20px 0; color: #ffbd87; font: 650 10px/1.4 var(--mono,monospace); letter-spacing: .12em; }
.halloween-edition svg { width: 22px; height: 22px; } .halloween-edition i { color: #d9bbe8; font-style: normal; }
[data-season="halloween"] .hero h1 { color: #f5eee4; }
[data-season="halloween"] .landing-title-accent-word { color: #ffb377; }
[data-season="halloween"] .landing-title-accent-word::after { background: #ff9c58; }
[data-season="halloween"] .hero p.lead { color: #c3b7c7; }
[data-season="halloween"] .halloween-hero-guest { display: block; position: absolute; width: 76px; height: 90px; right: 0; bottom: 45px; transform: rotate(-12deg); opacity: .7; pointer-events: none; }
[data-season-motion="on"] .halloween-hero-guest { animation: halloween-float 7s ease-in-out infinite alternate; }
@keyframes halloween-float { to { transform: translateY(-12px) rotate(5deg); } }
[data-season="halloween"] .btn-primary { background: #ff9c58; color: #211411; border-color: #ff9c58; box-shadow: none; }
[data-season="halloween"] .btn-primary:hover { background: #ffb77f; color: #211411; }
[data-season="halloween"] .btn-ghost { border-color: #89708766; color: #e8d9e8; background: #21182760; }
[data-season="halloween"] .hero .btn { border-radius: 10px; text-transform: none; letter-spacing: -.1px; font-size: 14px; }
[data-season="halloween"] :is(.carousel-item.active,.kukaracha-scene-card:hover) { border-color: #ff9c5899; box-shadow: 0 24px 64px #0006,0 0 45px #ff9c5814; }
[data-season="halloween"] .carousel-stage::before { border-color: #a98ab833; }
[data-season="halloween"] .carousel-controls { background: #1c1423eb; box-shadow: 0 16px 44px #0006,0 0 0 4px #bd9ad010; }
[data-season="halloween"] .carousel-hint { color: #dec4e9; }
[data-season="halloween"] .carousel-item-badge { background: #ffac6a; color: #25170e; }
[data-season="halloween"] :is(#how,#demo-section,#dubs,#faq,.pricing-section,.legal-shell) { background: transparent; }
[data-season="halloween"] :is(.step,.studio-demo,.dub-card,.kukaracha-scene-card,.price-card,.legal-card) { background-color: #1c1721; border-color: #78608055; }
[data-season="halloween"] .step-num { color: #ffbf8a; border-color: #ff9c5850; background: #ff9c5814; }
[data-season="halloween"] .step-icon { color: #d0afd9; stroke: #d0afd9; }
[data-season="halloween"] .step h3 { color: #f5eee4; }
[data-season="halloween"] .demo-header { background: #281e2e; border-color: #8d6d9644; }
[data-season="halloween"] .step-pill.active { background: #ff9c581c; border-color: #ff9c5866; color: #ffd4ae; }
[data-season="halloween"] :is(.demo-meta,.step-n,.live-price-check) { color: #ffb77f; }
[data-season="halloween"] .rec-btn { background: #ff9c58; color: #211411; box-shadow: 0 8px 25px #ff9c5820; }
[data-season="halloween"] .rec-btn.mode-stop { background: #e45264; color: #fff; }
[data-season="halloween"] .section-title { color: #f5eee4; }
[data-season="halloween"] .faq-item { background: #1c172180; border-color: #78608055; }
[data-season="halloween"] .faq-panel { border-color: #78608055; }
[data-season="halloween"] .faq-item.is-open { border-color: #b08dbc66; background: #251a2d; }
[data-season="halloween"] .cta-box { background: radial-gradient(ellipse at 90% 25%,#b18ac01a,transparent 55%),#211529; border-color: #aa83b555; box-shadow: none; }
[data-season="halloween"] :is(.cta-title span,.cta-box .accent,.price-card__features li::before) { color: #ffb77f; }
[data-season="halloween"] .live-promo { border-color: #82678b55; background: #211827; }
[data-season="halloween"] .price-card--featured { border-color: #ff9c5880; background: linear-gradient(145deg,#39242d,#211827 60%); }
[data-season="halloween"] .live-price-badge { border-radius: 6px; border-color: #a584af55; color: #dbc0e6; }
[data-season="halloween"] .live-price-audience { border-radius: 8px; background: #110e1580; border-color: #82678b44; }
[data-season="halloween"] .live-price-offer { color: #ffc294; }
[data-season="halloween"] .price-card__btn--founder { background: #ffbf7f; border-color: #ffbf7f; color: #211411; }
[data-season="halloween"] .pricing-page .price-card--featured { background: linear-gradient(145deg,#39242d,#211827 60%); border-color: #ff9c5880; }
[data-season="halloween"] .pricing-page .price-card--featured .price-value { color: #ffbc87; }
[data-season="halloween"] .pricing-page .price-card .price-card__btn { border-color: #ff9c58; background: #ff9c58; color: #211411; border-radius: 8px; }
[data-season="halloween"] .pricing-page .price-card .price-card__btn:hover { background: #ffb77f; border-color: #ffb77f; }
[data-season="halloween"] .pricing-page .btn:focus-visible { outline-color: #ffc391; }
[data-season="halloween"] .pricing-page .price-card--founder .price-card__btn { background: #ffbf7f; border-color: #ffbf7f; }
[data-season="halloween"] .pricing-page .faq-item.open { border-color: #b08dbc66; background: #251a2d; }
[data-season="halloween"] .dub-main-cta { background: #ff9c58; color: #211411; box-shadow: none; }
[data-season="halloween"] .dub-main-cta:hover { background: #ffb77f; }
[data-season="halloween"] .dub-card-badge { background: #ffac6a; color: #25170e; }
[data-season="halloween"] #demo-section .demo-result .btn-primary { background: #ff9c58; color: #211411; box-shadow: none; }
[data-season="halloween"] #demo-section .demo-result .btn-primary:hover { background: #ffb77f; }
[data-season="halloween"] .kukaracha-offer { background: #211529; border-color: #aa83b555; }
[data-season="halloween"] .kukaracha-offer :is(h2,p,.offer-note) { color: #f5eee4; }
[data-season="halloween"] #offer .offer-wrap { background: radial-gradient(ellipse at 90% 20%,#bd83c825,transparent 60%),#211529; color: #f5eee4; border: 1px solid #aa83b555; box-shadow: 0 24px 80px #0004; }
[data-season="halloween"] #offer .offer-wrap h2 .accent { color: #ffbc87 !important; }
[data-season="halloween"] #offer .offer-wrap :is(p,.hero-meta) { color: #c3b0ce !important; }
[data-season="halloween"] #offer .offer-price { border-color: #ff9c5850; background: #ff9c5810; }
[data-season="halloween"] #offer .offer-price .new { color: #ffd1ad; }
[data-season="halloween"] #offer .offer-cta { background: #ff9c58; border-color: #ff9c58; color: #211411; border-radius: 8px; box-shadow: none; }
[data-season="halloween"] #offer .offer-cta:hover { background: #ffb77f; }
[data-season="halloween"] #demo-section .studio-demo { background: linear-gradient(145deg,#281d2e,#17111c 64%); border-color: #a584af66; }
[data-season="halloween"] #demo-section .demo-controls { background: #251c2b; color: #f5eee4; border-color: #9977a244; }
[data-season="halloween"] #demo-section .rec-btn { background-color: #ff9c58; border-color: #3d2a3f; box-shadow: 0 0 0 1px #ff9c5860,0 12px 35px #ff9c5820; }
[data-season="halloween"] #demo-section .rec-btn.mode-stop { background-color: #e45264; }
[data-season="halloween"] #demo-section .rec-label { color: #ffc294; }
[data-season="halloween"] #demo-section .demo-control-copy { color: #c3b0ce; }
[data-season="halloween"] #demo-section .demo-info { color: #b6a8b6; }
[data-season="halloween"] :is(footer,.site-footer) { background: #100c14; border-color: #8b6f9533; }
[data-season="halloween"] .legal-note { background: #ff9c580d; }
[data-season="halloween"] .legal-card { border-radius: 14px; }
[data-season="halloween"] .legal-card h1 { overflow-wrap: anywhere; text-wrap: balance; }
[data-season="halloween"] .mobile-nav summary { background: #28202c; border-color: #82678b66; color: #f5eee4; }
[data-season="halloween"] .mobile-nav-panel { background: #1c1423; border-color: #82678b66; }
[data-season="halloween"] .mobile-nav-panel a:active { background: #ff9c5818; }
[data-season="halloween"] :is(.modal-content,.landing-auth-modal,.privacy-consent) { background: #211926; border-color: #91739670; }
[data-season="halloween"] .landing-auth-aside { background: radial-gradient(circle at 56% 38%,#ff9c5819,transparent 40%),linear-gradient(145deg,#30223b,#17111c); }
[data-season="halloween"] .landing-auth-aside::before { opacity: .25; }
[data-season="halloween"] :is(.privacy-consent__accept,.landing-auth-submit) { background: #ff9c58; color: #211411; }
.seasonal-theme-toggle { justify-self: start; width: fit-content; min-height: 44px; padding: 10px 14px; border: 1px solid #91739666; border-radius: 8px; background: transparent; color: #c2a8cd; font: 500 12px/1.4 'Inter',sans-serif; cursor: pointer; }
.seasonal-theme-toggle:hover { color: #ffd1ad; border-color: #ff9c58; }
.seasonal-theme-toggle[hidden] { display: none; }
body:has(#kukarachaGreetingCard) footer:has(.seasonal-theme-toggle:not([hidden])) { padding-bottom: 110px; }
/* Static cards use a viewport layer. Moving media owns this same decoration
   locally, so the border, character and card always share one transform. */
.halloween-card-aura { position: fixed; z-index: 220; pointer-events: none; overflow: visible; }
.halloween-card-aura--attached { position: absolute; inset: 0; width: auto; height: auto; border-radius: inherit; z-index: 12; }
.halloween-card-aura--attached .halloween-card-halo { inset: 0; border-radius: inherit; }
/* These presentation frames must clip, but must never become hidden scroll
   containers when focus or a moving slide is brought into view. */
[data-season="halloween"] :is(header.hero,.carousel-item) { overflow: clip; }
.carousel-item:not(.active) > .halloween-card-aura--attached,
.dub-card:not(.active) > .halloween-card-aura--attached,
.carousel-item:not(:hover):not(:focus-within) > .halloween-card-aura--attached,
.dub-card:not(:hover):not(:focus-within) > .halloween-card-aura--attached { display: none; }
.carousel-item > .halloween-card-aura--attached .halloween-large-spirit[data-side="inside"],
.kukaracha-scene-card__media > .halloween-card-aura--attached .halloween-large-spirit[data-side="inside"] { top: 18%; right: 16px; width: 78px; height: 94px; }
.carousel-item > .halloween-card-aura--attached .halloween-card-spark,
.kukaracha-scene-card__media > .halloween-card-aura--attached .halloween-card-spark { top: 16px; left: 16%; }
.halloween-card-aura[hidden], .halloween-route-passage[hidden] { display: none; }
.halloween-card-aura * { pointer-events: none; }
.halloween-large-spirit { position: absolute; width: 112px; height: 132px; top: 10%; filter: drop-shadow(0 7px 15px #100719a0); transform-origin: 75% 75%; animation: halloween-spirit-enter .45s cubic-bezier(.16,1,.3,1) both; }
.halloween-large-spirit[data-side="left"] { left: -77px; --spirit-turn: -15deg; }
.halloween-large-spirit[data-side="right"] { right: -77px; --spirit-turn: 15deg; }
.halloween-large-spirit > svg { display: block; width: 100%; height: 100%; }
.halloween-large-spirit.spirit-1 { width: 155px; height: 100px; top: 17%; }
.halloween-large-spirit.spirit-1[data-side="left"] { left: -94px; }
.halloween-large-spirit.spirit-1[data-side="right"] { right: -94px; }
.halloween-large-spirit.spirit-2 { top: 24%; width: 108px; height: 108px; }
.halloween-card-bat { position: absolute; width: 57px; height: 38px; right: 11%; top: -32px; animation: halloween-bat-arrive .5s ease-out both; }
.halloween-card-bat > svg { width: 100%; height: 100%; }
.halloween-card-spark { position: absolute; left: 11%; top: -20px; color: #ffd19b; font-size: 21px; animation: halloween-sparkle 1.6s ease-in-out infinite; }
.halloween-card-halo { position: absolute; inset: -3px; border: 1px solid #ffb97780; border-radius: 16px; box-shadow: 0 0 24px #ff9c5828; }
.halloween-large-spirit[data-side="inside"] { right: 20px; top: -78px; width: 90px; height: 100px; --spirit-turn: 8deg; }
.halloween-step-companion { display: none; position: absolute; top: 15px; right: 100px; width: 64px; height: 76px; pointer-events: none; opacity: .75; }
[data-season="halloween"] .halloween-step-companion { display: block; }
.halloween-step-companion svg { width: 100%; height: 100%; }
[data-season-motion="on"] .halloween-in-view .halloween-step-companion { animation: halloween-peek 7s ease-in-out infinite; }
.halloween-step-companion.companion-witch { animation-delay: -1.8s !important; }
.halloween-step-companion.companion-skeleton { animation-delay: -3.6s !important; }
.halloween-step-companion.companion-cat { animation-delay: -5.2s !important; }
[data-season-motion="on"] .halloween-large-spirit > svg { animation: halloween-hover-float 2.4s ease-in-out infinite; transform-origin: 50% 80%; }
[data-season-motion="on"] .halloween-large-spirit.companion-raven > svg { animation: halloween-raven-hop 1.4s ease-in-out infinite; }
[data-season-motion="on"] .halloween-large-spirit.companion-witch > svg { animation: halloween-broom-flight 2.6s ease-in-out infinite; }
[data-season-motion="on"] .halloween-large-spirit.companion-skeleton > svg { animation: halloween-bone-dance 1.3s ease-in-out infinite; }
[data-season-motion="on"] .halloween-large-spirit.companion-cat > svg { animation: halloween-cat-stretch 2s ease-in-out infinite; }
[data-season-motion="on"] .halloween-large-spirit.companion-monster > svg { animation: halloween-monster-groove 1.7s ease-in-out infinite; }
[data-season-motion="on"] .halloween-large-spirit.companion-owl > svg { animation: halloween-owl-tilt 2.2s ease-in-out infinite; }
[data-season="halloween"] #demo-section .studio-demo { position: relative; transition: border-color .25s,box-shadow .25s; }
[data-season="halloween"] #demo-section .studio-demo:is(:hover,:focus-within) { border-color: #ffc391; box-shadow: 0 0 0 1px #ffc39130,0 18px 55px #9e6fb520; }
[data-season="halloween"] .faq-card { transition: border-color .25s,box-shadow .25s; }
[data-season="halloween"] .faq-card:is(:hover,:focus-within) { border-color: #e0b4ef; box-shadow: 0 0 28px #a980bb25; }
@keyframes halloween-peek { 0%,60%,100% { transform: translateY(7px) rotate(-5deg); opacity: .65; } 72%,88% { transform: translateY(-5px) rotate(8deg); opacity: 1; } }
@keyframes halloween-hover-float { 50% { transform: translateY(-12px) rotate(6deg); } }
@keyframes halloween-raven-hop { 0%,100% { transform: rotate(-6deg); } 35% { transform: translateY(-13px) rotate(8deg); } 60% { transform: translateY(-3px) rotate(-10deg); } }
@keyframes halloween-broom-flight { 0%,100% { transform: translate(-8px,5px) rotate(-9deg); } 50% { transform: translate(16px,-16px) rotate(6deg); } }
@keyframes halloween-bone-dance { 0%,100% { transform: rotate(-12deg); } 40% { transform: translateY(-8px) rotate(12deg); } 70% { transform: rotate(-4deg) scaleY(.92); } }
@keyframes halloween-cat-stretch { 0%,100% { transform: scale(1) rotate(-5deg); } 55% { transform: scale(.94,1.12) rotate(7deg); } }
@keyframes halloween-monster-groove { 0%,100% { transform: rotate(-8deg); } 35% { transform: translateY(-9px) rotate(9deg); } 70% { transform: scale(1.06,.95); } }
@keyframes halloween-owl-tilt { 0%,100% { transform: rotate(-12deg); } 35%,60% { transform: rotate(14deg) translateY(-6px); } }
/* Decorations live inside the transformed step. Its own border follows the
   wave exactly; there is no independent rectangle left behind in the viewport. */
[data-season="halloween"] #how .step { position: relative; }
html[data-season="halloween"] #how .steps .step:is(:hover,:focus-within),
html[data-season="halloween"] #how .steps.is-gsap-motion .steps-set .step:is(:hover,:focus-within) { border-color: #ffc391; box-shadow: inset 0 0 0 1px #ffc39140,0 12px 32px #b57c9826; }
.halloween-step-companion > svg { transform-origin: 50% 80%; }
@media (hover: hover) and (pointer: fine) {
    [data-season-motion="on"] #how .step:is(:hover,:focus-within) .halloween-step-companion { opacity: 1; animation: none; transform: translate(-12px,4px) scale(1.45); }
    [data-season-motion="on"] #how .step:is(:hover,:focus-within) .companion-raven > svg { animation: halloween-raven-hop 1.4s ease-in-out infinite; }
    [data-season-motion="on"] #how .step:is(:hover,:focus-within) .companion-witch > svg { animation: halloween-broom-flight 2.6s ease-in-out infinite; }
    [data-season-motion="on"] #how .step:is(:hover,:focus-within) .companion-skeleton > svg { animation: halloween-bone-dance 1.3s ease-in-out infinite; }
    [data-season-motion="on"] #how .step:is(:hover,:focus-within) .companion-cat > svg { animation: halloween-cat-stretch 2s ease-in-out infinite; }
}
/* One local, pointer-transparent cast spans Patrick's rim. Descendant pointer
   and focus changes cannot remove it while the studio remains hovered. */
.halloween-demo-cast { display: none; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; }
.halloween-demo-cast * { pointer-events: none; }
.halloween-demo-cast > span { position: absolute; }
.halloween-demo-cast svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 4px 9px #10071999); }
.halloween-demo-monster { left: 16px; top: -58px; width: 80px; height: 80px; }
.halloween-demo-bat { top: -39px; right: 12%; width: 83px; height: 55px; }
.halloween-demo-ghost { right: -24px; bottom: 10%; width: 67px; height: 80px; }
.halloween-demo-fireflies { left: 7%; bottom: -20px; width: 110px; height: 34px; color: #ffce8c; }
.halloween-demo-fireflies i { position: absolute; font: normal 23px/1 var(--sans); }
.halloween-demo-fireflies i:nth-child(2) { left: 42px; top: 5px; font-size: 18px; }
.halloween-demo-fireflies i:nth-child(3) { left: 85px; top: -5px; font-size: 15px; }
.halloween-demo-rim { inset: -2px; border-radius: inherit; overflow: hidden; }
.halloween-demo-rim i { position: absolute; left: -120px; top: 0; width: 120px; height: 2px; background: linear-gradient(90deg,transparent,#ffc391,#fff6c9,transparent); }
.halloween-demo-rim i + i { top: auto; bottom: 0; }
@media (hover: hover) and (pointer: fine) {
    [data-season="halloween"] #demo-section .studio-demo { overflow: visible; }
    [data-season="halloween"][data-season-motion="on"] #demo-section .studio-demo:is(:hover,:focus-within) .halloween-demo-cast { display: block; }
    .halloween-demo-monster { animation: halloween-demo-prowl 8s ease-in-out infinite; }
    .halloween-demo-monster svg { animation: halloween-monster-groove 1.7s ease-in-out infinite; }
    .halloween-demo-bat { animation: halloween-demo-swoop 5.5s ease-in-out infinite; }
    .halloween-demo-bat svg { animation: halloween-wing-beat .65s ease-in-out infinite; }
    .halloween-demo-ghost { animation: halloween-demo-hide-seek 4.6s ease-in-out infinite; }
    .halloween-demo-fireflies i { animation: halloween-firefly-dance 2.8s ease-in-out infinite; }
    .halloween-demo-fireflies i:nth-child(2) { animation-delay: -.9s; }
    .halloween-demo-fireflies i:nth-child(3) { animation-delay: -1.8s; }
    .halloween-demo-rim i { animation: halloween-rim-run 5s linear infinite; }
    .halloween-demo-rim i + i { animation-delay: -2.5s; animation-direction: reverse; }
}
@keyframes halloween-demo-prowl { 0%,100% { transform: translateX(0) rotate(-6deg); } 48% { transform: translateX(calc(var(--halloween-demo-width,800px) * .26)) rotate(8deg); } 70% { transform: translateX(calc(var(--halloween-demo-width,800px) * .13)) translateY(-9px) rotate(-8deg); } }
@keyframes halloween-demo-swoop { 0%,100% { transform: translate(0,0) rotate(-12deg); } 40% { transform: translate(-66px,-24px) rotate(8deg); } 75% { transform: translate(25px,-9px) rotate(-6deg); } }
@keyframes halloween-wing-beat { 50% { transform: scaleY(.65); } }
@keyframes halloween-demo-hide-seek { 0%,100% { transform: translate(0,0) rotate(8deg); } 45% { transform: translate(12px,-32px) rotate(-12deg); } 75% { transform: translate(-7px,8px) rotate(4deg); } }
@keyframes halloween-firefly-dance { 0%,100% { opacity: .45; transform: translateY(0) scale(.75); } 50% { opacity: 1; transform: translate(10px,-18px) scale(1.15) rotate(35deg); } }
@keyframes halloween-rim-run { to { transform: translateX(calc(var(--halloween-demo-width,800px) + 240px)); } }
@media (max-width: 1000px) { .halloween-demo-monster { width: 64px; height: 64px; top: -48px; } .halloween-demo-ghost { right: -10px; width: 52px; height: 64px; } }
@media (hover: none), (pointer: coarse) { .halloween-card-aura { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .halloween-step-companion { animation: none !important; } }
@keyframes halloween-spirit-enter { from { opacity: 0; transform: translateY(32px) scale(.3); } to { opacity: 1; transform: rotate(var(--spirit-turn)) scale(1); } }
@keyframes halloween-bat-arrive { from { opacity: 0; transform: translate(38px,25px) scale(.2); } to { opacity: 1; transform: rotate(-9deg); } }
@keyframes halloween-sparkle { 0%,100% { opacity: .35; transform: scale(.65); } 50% { opacity: 1; transform: scale(1.1) rotate(35deg); } }
/* A short, noninteractive portal for document navigation. */
.halloween-route-passage { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at 50% 42%,#43304d99,#130d1ce8 48%,#0e0a14ee); }
.halloween-passage { position: relative; display: grid; place-items: center; width: min(520px,85vw); height: min(450px,70vh); }
.halloween-passage-ring { position: absolute; width: 250px; height: 250px; top: 12px; border-radius: 50%; border: 1px solid #d7b1e460; box-shadow: 0 0 60px #bc85d12b,inset 0 0 80px #bc85d12b; animation: halloween-portal-open .35s cubic-bezier(.16,1,.3,1) both; }
.halloween-passage-ghost { position: absolute; top: 42px; width: 135px; height: 160px; filter: drop-shadow(0 0 35px #d9b8f140); animation: halloween-spirit-enter .35s ease-out both; --spirit-turn: 6deg; }
.halloween-passage-label { position: absolute; top: 290px; left: 0; right: 0; text-align: center; }
.halloween-passage-label small { display: block; color: #c5abd1; font: 500 9px/1.5 'Inter',sans-serif; letter-spacing: .2em; }
.halloween-passage-label b { display: block; color: #f7eae0; font: 650 clamp(18px,3vw,27px)/1.3 'Inter',sans-serif; margin-top: 14px; }
.halloween-passage-bat { position: absolute; width: 85px; top: 130px; animation: halloween-bat-arrive .35s ease-out both; }
.halloween-passage-bat svg { width: 100%; height: 100%; }
.bat-one { left: 25px; } .bat-two { right: 25px; top: 20px; width: 65px; }
@keyframes halloween-portal-open { from { opacity: 0; transform: scale(.25) rotate(-50deg); } to { opacity: 1; transform: scale(1); } }
@media (max-width:1180px) {
    [data-season="halloween"] .site-nav .nav-links { gap: 20px; }
    [data-season="halloween"] .site-nav .nav-inner { gap: 18px; }
    [data-season="halloween"] .site-nav .nav-actions { gap: 14px; }
}
@media (max-width:1000px) {
    [data-season="halloween"] .site-nav .nav-links a:nth-child(4) { display: none; }
    [data-season="halloween"] .site-nav .brand { font-size: 25px; }
}
@media (max-width:800px) {
    [data-season="halloween"] { --landing-header-height: 64px; }
    [data-season="halloween"] .site-nav { height: 64px; }
    [data-season="halloween"] .site-nav .nav-inner { min-height: 64px; gap: 10px; width: calc(100% - 40px); }
    [data-season="halloween"] .site-nav .brand { font-size: 23px; flex: none; }
    [data-season="halloween"] .site-nav .nav-links { display: none; }
    [data-season="halloween"] .site-nav .nav-actions { margin-left: auto; gap: 0; }
    [data-season="halloween"] .site-nav .nav-login { display: none; }
    [data-season="halloween"] .site-nav .btn { min-height: 40px; padding-inline: 13px; font-size: 12px; }
    [data-season="halloween"] .site-nav .btn::after { content: none; }
    [data-season="halloween"] .mobile-nav { display: block; position: static; }
    [data-season="halloween"] .mobile-nav summary { display: flex; align-items: center; justify-content: center; list-style: none; width: 42px; min-width: 42px; min-height: 42px; padding: 0; border: 1px solid #82678b66; border-radius: 8px; cursor: pointer; }
    [data-season="halloween"] .mobile-nav summary::-webkit-details-marker { display: none; }
    [data-season="halloween"] .mobile-nav summary > span:first-child,
    [data-season="halloween"] .mobile-nav summary > span:first-child::before,
    [data-season="halloween"] .mobile-nav summary > span:first-child::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
    [data-season="halloween"] .mobile-nav summary > span:first-child { position: relative; }
    [data-season="halloween"] .mobile-nav summary > span:first-child::before,
    [data-season="halloween"] .mobile-nav summary > span:first-child::after { content: ""; position: absolute; left: 0; }
    [data-season="halloween"] .mobile-nav summary > span:first-child::before { top: -5px; }
    [data-season="halloween"] .mobile-nav summary > span:first-child::after { top: 5px; }
    [data-season="halloween"] .mobile-nav-panel { position: absolute; z-index: 10; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 3px; padding: 12px; border: 1px solid #82678b66; border-radius: 0 0 14px 14px; box-shadow: 0 25px 45px #0008; }
    [data-season="halloween"] .mobile-nav-panel a { display: flex; align-items: center; min-height: 48px; padding-inline: 14px; border-radius: 8px; color: #f5eee4; font: 650 14px/1.4 'Inter',sans-serif; text-decoration: none; }
    [data-season="halloween"] .mobile-nav summary > span:last-child { display: none; }
    [data-season="halloween"] .site-nav .nav-inner { position: relative; }
    [data-season="halloween"] .halloween-hero-guest { right: 10px; bottom: 8px; width: 48px; height: 58px; opacity: .5; }
    .halloween-corner-web { top: 64px; width: 110px; }
    .halloween-moon { width: 90px; height: 90px; }
}
@media (max-width:600px) {
    [data-season="halloween"] .site-nav .brand { font-size: 21px; gap: 8px; }
    [data-season="halloween"] .site-nav .logo-mark { width: 9px; height: 9px; flex-basis: 9px; }
    [data-season="halloween"] .site-nav .nav-actions .btn { font-size: 0; padding-inline: 13px; }
    [data-season="halloween"] .site-nav .nav-actions .btn::after { content: "Играть"; font-size: 12px; }
    [data-season="halloween"] .hero .badge { font-size: 8px; }
    [data-season="halloween"] .halloween-edition { font-size: 9px; margin-bottom: 12px; }
    .halloween-passage { transform: scale(.8); }
    [data-season="halloween"] .legal-card { padding: 26px 20px; }
}
@media (max-width:360px) {
    [data-season="halloween"] .site-nav .nav-inner { width: calc(100% - 32px); gap: 8px; }
    [data-season="halloween"] .site-nav .brand { font-size: 18px; gap: 7px; }
    [data-season="halloween"] .site-nav .nav-actions .btn { padding-inline: 10px; }
}
[data-season-motion="off"] :is(.halloween-brand-creature,.halloween-spider,.halloween-mist,.halloween-hero-guest) { animation: none !important; }
[data-season-motion="off"] .halloween-spider-thread { opacity: 0 !important; }
[data-season-motion="off"] :is(.halloween-card-aura,.halloween-route-passage) { display: none; }
@media (prefers-reduced-motion:reduce) {
    [data-season="halloween"] { scroll-behavior: auto; }
    .halloween-brand-creature,.halloween-spider,.halloween-mist,.halloween-hero-guest { animation: none !important; }
    .halloween-card-aura,.halloween-route-passage { display: none; }
}
