/* SOUTHBEATS: AFTER DARK — seasonal layer, October 2026 */
:root{--haunt-green:#b7ff00;--haunt-orange:#ff883e;--haunt-muted:#a6b29e;--haunt-edge:rgba(183,255,0,.22)}
html{color-scheme:dark;scroll-padding-top:110px}
body.after-dark{background:#050806;color:#f4f6ef;isolation:isolate}
body.after-dark::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 90% 5%,rgba(112,173,28,.12),transparent 45%),radial-gradient(ellipse at 5% 65%,rgba(110,46,16,.08),transparent 40%)}
.haunt-atmosphere{position:fixed;inset:0;z-index:3;overflow:hidden;pointer-events:none;opacity:.7}
.haunt-mist{position:absolute;left:-35%;bottom:-110px;width:170%;height:290px;background:radial-gradient(ellipse at 18% 62%,rgba(127,171,109,.1),transparent 38%),radial-gradient(ellipse at 65% 65%,rgba(137,207,100,.07),transparent 43%);filter:blur(18px);animation:hauntMist 27s ease-in-out infinite alternate;will-change:transform}
.haunt-mist:nth-child(2){bottom:-60px;opacity:.45;animation-duration:36s;animation-direction:alternate-reverse}
@keyframes hauntMist{to{transform:translate3d(12%,-28px,0)}}
.haunt-ribbon{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(22px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--haunt-edge);background:linear-gradient(90deg,#0b1209,#111609 45%,#171008);font:700 10px/1.5 monospace;letter-spacing:.12em;text-transform:uppercase}
.haunt-ribbon-label{display:flex;align-items:center;gap:10px;color:#d5e0c7}.haunt-ribbon-label::before{content:"";width:6px;height:6px;border-radius:50%;background:#b7ff00;box-shadow:0 0 12px #93cf13}
.haunt-ribbon a{color:#ffad75;text-decoration:none;white-space:nowrap}.haunt-ribbon a:hover{text-decoration:underline}
.after-dark .mp-header{background:rgba(5,9,5,.97)!important;border-bottom:1px solid var(--haunt-edge)!important;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.after-dark .mp-brand::after{content:"AFTER DARK / OCTOBER EDITION";display:block;font:700 8px/1.5 monospace;letter-spacing:.18em;color:var(--haunt-orange);margin-top:5px}
.after-dark .sb-native-nav a[aria-current="page"]{color:#c7ff58!important;text-shadow:0 0 18px rgba(183,255,0,.45)}
.after-dark .mp-hero{min-height:710px!important;background:#050906 url('assets/after-dark/garage.svg') center/cover!important;border-bottom:1px solid var(--haunt-edge);overflow:hidden}
.after-dark .mp-hero::before{background:linear-gradient(90deg,#050806 0%,rgba(5,8,6,.86) 32%,rgba(5,8,6,.15) 73%,transparent)!important;opacity:1!important}
.after-dark .mp-hero::after{background:linear-gradient(0deg,#050806,transparent 35%)!important}
.after-dark .mp-hero-copy{max-width:660px;position:relative;z-index:3!important;padding-top:34px;padding-bottom:70px}
.after-dark .mp-hero h1{font-size:clamp(5rem,8.7vw,9.3rem)!important;line-height:.86!important;letter-spacing:-.035em!important;margin:24px 0!important;text-shadow:0 10px 45px #000!important}
.after-dark .mp-hero h1 em{color:#bdff34!important;font-style:normal;text-shadow:0 0 50px rgba(122,214,27,.16)}
.after-dark .mp-hero-character{right:max(-20px,calc((100vw - 1480px)/2))!important;bottom:0!important;top:auto!important;height:96%!important;width:auto!important;max-width:62%!important;object-fit:contain!important;object-position:bottom!important;filter:drop-shadow(-12px 0 35px rgba(130,217,31,.22))!important;z-index:2!important}
.haunt-kicker{color:#ffb37e!important;font:700 10px/1.6 monospace!important;letter-spacing:.2em!important}
.haunt-subline{font:700 11px/1.7 monospace!important;color:#afbea4!important;letter-spacing:.14em!important;max-width:500px!important;margin-top:20px!important}
.haunt-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.haunt-hero-actions .btn{padding:15px 22px!important;font-size:11px!important}
.after-dark .graffiti-tag{color:#ffad6f!important;text-shadow:0 4px 16px #000!important}
.after-dark .eyebrow{color:#c2ff48!important;letter-spacing:.15em}
.after-dark .mp-inner .mp-pagehead.page-art-header,.after-dark .mp-inner .to-hero.page-art-sbt{background-image:linear-gradient(90deg,rgba(4,8,4,.95),rgba(6,13,5,.82) 45%,rgba(7,14,5,.55)),linear-gradient(0deg,#050806,transparent 65%),var(--header-art),url('assets/after-dark/garage.svg')!important;box-shadow:inset 0 -1px var(--haunt-edge);border-color:var(--haunt-edge)!important;position:relative;overflow:hidden}
.after-dark .mp-inner .mp-pagehead.page-art-header::before,.after-dark .to-hero.page-art-sbt::before{content:"";position:absolute;inset:0;pointer-events:none;background:url('assets/after-dark/garage.svg') center/cover;opacity:.34;mix-blend-mode:screen}
.after-dark .page-art-header>* , .after-dark .page-art-sbt>*{position:relative;z-index:1}
.after-dark .mp-pagehead h1,.after-dark .to-hero h1{text-shadow:0 5px 25px #000,3px 1px rgba(134,255,30,.15)!important}
.haunt-page-code{display:block;margin:18px 0 0;font:700 9px/1.8 monospace;letter-spacing:.16em;color:#ffb17a;text-transform:uppercase}
.after-dark main{position:relative}.after-dark .section,.after-dark .home-showcase,.after-dark .quick-entry,.after-dark .published-custom,.after-dark .listening-start{background-color:transparent!important}
.after-dark h2:not(.to-hero h2){text-wrap:balance}.after-dark .section-heading::before,.after-dark .catalog-title::before,.after-dark .published-custom-head::before{content:"";display:block;width:36px;height:3px;background:var(--haunt-orange);margin-bottom:19px;box-shadow:18px 0 rgba(183,255,0,.25)}
.after-dark :is(.quick-card,.custom-card,.album-card,.single-row,.custom-release,.listening-card,.project-card,.shop-preview-card,.top-signal-card,.reaction-card,.to-card){border-color:rgba(153,188,104,.23)!important;background-color:#0b100a;box-shadow:0 12px 30px rgba(0,0,0,.22);transition:border-color .25s,transform .25s,box-shadow .25s}
.after-dark :is(.quick-card,.album-card,.single-row,.custom-release,.listening-card,.project-card,.shop-preview-card,.top-signal-card):hover{border-color:#b7ff00!important;box-shadow:0 14px 35px rgba(58,107,10,.15);transform:translateY(-3px)}
.after-dark :is(.custom-copy,.album-info,.shop-preview-head){background:linear-gradient(140deg,#0e160c,#080c07)!important}
.after-dark .hero-slideshow{border:1px solid var(--haunt-edge);box-shadow:0 22px 70px rgba(0,0,0,.6)}
.after-dark .hero-slide-shade{background:linear-gradient(90deg,rgba(4,8,4,.93),rgba(4,8,4,.65) 50%,rgba(4,8,4,.08))!important}
.after-dark .music-hero{background:linear-gradient(130deg,#131b0c,#070c06)!important;border:1px solid var(--haunt-edge)}
.after-dark .pill,.after-dark .custom-photo-label{border-color:rgba(255,136,62,.4)!important;color:#ffc296!important;background:rgba(28,17,7,.93)!important}
.after-dark .btn.primary{background:#b7ff00!important;color:#090e04!important;border-color:#b7ff00!important;box-shadow:0 0 20px rgba(143,213,0,.08)}
.after-dark .btn.ghost{border-color:#576044!important;background:#0a1007!important;color:#eff5e7!important}
.after-dark :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select){border-color:#48513c;accent-color:#b7ff00}
.after-dark :is(input,textarea,select,button,a):focus-visible{outline:2px solid #ff9f5b!important;outline-offset:4px}
.after-dark .mp-footer{border-top:1px solid var(--haunt-edge)!important;background:linear-gradient(180deg,#101609,#050805)!important}
.haunt-footer{max-width:1180px;margin:0 auto;padding:38px 22px;display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #27331e}
.haunt-footer-title{font-family:Impact,Anton,sans-serif;font-size:26px;letter-spacing:.03em;color:#cad8b7}.haunt-footer small{display:block;font:10px/1.8 monospace;letter-spacing:.12em;color:#ffb17a;margin-top:8px}.haunt-controls{display:flex;gap:10px;flex-wrap:wrap}.haunt-controls button,.haunt-controls a{border:1px solid #424d35;background:#0a1007;color:#d7e7c6;padding:11px 13px;font:700 9px/1.5 monospace;letter-spacing:.08em;text-decoration:none;cursor:pointer}
.haunt-season{max-width:1180px;margin:36px auto 46px;display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--haunt-edge);background:linear-gradient(130deg,#131c0b,#071009);position:relative;overflow:hidden}
.haunt-season-cover{position:relative;min-height:280px;background:#091108}.haunt-season-cover img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;opacity:.8}.haunt-season-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#081009)}
.haunt-season-copy{position:relative;padding:42px 34px;align-self:center}.haunt-season-copy h2{font:clamp(2.2rem,4vw,3.8rem)/.95 Impact,Anton,sans-serif!important;letter-spacing:-.02em;margin:14px 0 18px!important}.haunt-season-copy p{color:#b9c9ac;line-height:1.7;font-size:14px}.haunt-season-copy .btn{margin-top:12px}.haunt-serial{position:absolute;top:18px;left:18px;font:9px/1.5 monospace;letter-spacing:.14em;background:#080e06;padding:8px 10px;color:#ffb17a;border:1px solid #4a4e2e}
.haunt-claws{position:absolute;right:24px;top:18px;z-index:1;pointer-events:none;display:flex;gap:8px;transform:skew(-18deg);opacity:.35}.haunt-claws i{width:2px;height:54px;background:linear-gradient(#d4ff90,transparent);box-shadow:0 0 7px #b7ff00}.haunt-claws i:nth-child(2){height:75px}
.after-dark .mp-hero .haunt-kicker{animation:hauntLamp 16s linear infinite}
@keyframes hauntLamp{0%,92%,94%,96%,100%{opacity:1}93%,95%{opacity:.52}}
.haunt-crossing{position:fixed;inset:0;z-index:9999;pointer-events:none;opacity:0;background:linear-gradient(0deg,transparent 35%,rgba(183,255,0,.14) 35% 36%,transparent 36% 62%,rgba(255,108,40,.16) 62% 63%,transparent 63%);transition:opacity .15s}
.haunt-crossing.active{animation:hauntTear .38s steps(3) both}
@keyframes hauntTear{0%{opacity:0;transform:translateX(-12px)}20%{opacity:1;transform:translateX(9px)}55%{opacity:.8;transform:translateX(-5px)}100%{opacity:0;transform:none}}
/* The red subsystem inherits the garage and uses its own hotter accents. */
body.after-dark.haunt-ai{--haunt-edge:rgba(255,100,60,.3);--cyan:#b7ff00;background:#050704}
.haunt-ai .haunt-ribbon{border-color:#703321;background:linear-gradient(90deg,#170d08,#0a1107)}
.haunt-ai .gate{position:relative;background-image:linear-gradient(90deg,rgba(0,0,0,.89),rgba(0,0,0,.44) 55%,rgba(0,0,0,.1)),url('/assets/ai-rapper-red-alter-ego.webp')!important}
.haunt-ai .gate::before{content:"";position:absolute;inset:0;background:url('/assets/after-dark/garage.svg') center/cover;mix-blend-mode:screen;opacity:.3;pointer-events:none}
.haunt-ai .gate-box{border:1px solid #834126;box-shadow:14px 14px 0 rgba(72,30,10,.4);background:rgba(4,9,3,.9)}
.haunt-ai .gate .code{color:#ffa26b}.haunt-ai .gate-box::after{content:"SOMETHING IS INSIDE THE SYSTEM";color:#ff9756}
.haunt-ai .topbar{border-bottom-color:#784326;background:#080b05}.haunt-ai .nav button.active{background:#a82714}.haunt-ai .panel{background-image:radial-gradient(ellipse at right top,rgba(111,151,26,.1),transparent 60%)}
.haunt-ai .card,.haunt-ai .file-block,.haunt-ai .archive-card,.haunt-ai .chat{background:linear-gradient(145deg,#10160a,#080704);border-color:#394027}.haunt-ai .dossier{background:radial-gradient(circle at 85% 0,rgba(147,36,12,.28),transparent 44%),#040703}.haunt-ai .dossier-shell{background:#080d06;box-shadow:18px 18px 0 #241507;border-color:#5f512e}.haunt-ai .archive-info span{color:#ffad6b}.haunt-ai .logo{text-shadow:-3px 0 #b7ff00,3px 0 #c74315}.haunt-ai .noise{opacity:.13;animation:none}.haunt-ai::before{background:none!important}.haunt-ai .haunt-footer{max-width:100%;background:#090d06}
body.haunt-quiet *,body.haunt-quiet *::before,body.haunt-quiet *::after{animation:none!important;scroll-behavior:auto!important}.haunt-quiet .haunt-atmosphere{display:none}.haunt-quiet .haunt-crossing{display:none}
@media(min-width:901px){.haunt-season{margin-left:max(24px,calc((100vw - 1180px)/2));margin-right:max(24px,calc((100vw - 1180px)/2))}}
@media(max-width:900px){.after-dark .mp-hero{min-height:670px!important}.after-dark .mp-hero-character{right:-90px!important;max-width:75%!important;opacity:.7}.after-dark .mp-hero-copy{max-width:70%}.haunt-season{margin:28px 22px}.haunt-ribbon{letter-spacing:.07em;font-size:9px}}
@media(max-width:600px){.haunt-ribbon{padding:10px 18px;gap:8px;align-items:center}.haunt-ribbon-label{max-width:65%;font-size:8px;letter-spacing:.06em}.haunt-ribbon a{font-size:8px;letter-spacing:.03em}.after-dark .mp-brand::after{font-size:7px;letter-spacing:.11em}.after-dark .mp-hero{min-height:770px!important;display:block!important;padding:42px 22px 250px!important;background-position:65% center!important}.after-dark .mp-hero::before{background:linear-gradient(180deg,rgba(5,8,6,.3),rgba(5,8,6,.78) 26%,rgba(5,8,6,.15))!important}.after-dark .mp-hero-copy{max-width:100%;padding:0!important}.after-dark .mp-hero h1{font-size:clamp(4.2rem,19vw,7rem)!important;margin:20px 0!important;max-width:100%!important}.after-dark .mp-hero-copy>p:not(.haunt-kicker):not(.haunt-subline){max-width:95%;font-size:14px!important}.after-dark .mp-hero-character{right:-30px!important;height:360px!important;max-width:100%!important;opacity:.65!important}.haunt-hero-actions{gap:9px}.haunt-hero-actions .btn{padding:13px 14px!important;font-size:9px!important}.haunt-subline{font-size:9px!important;max-width:95%!important}.haunt-season{grid-template-columns:1fr;margin:26px 18px}.haunt-season-cover{min-height:240px}.haunt-season-cover::after{background:linear-gradient(0deg,#081009,transparent 55%)}.haunt-season-copy{padding:26px 24px 32px}.haunt-footer{flex-direction:column;align-items:flex-start;padding:28px 22px}.haunt-footer-title{font-size:24px}.haunt-page-code{font-size:8px;max-width:90%}.haunt-ai .gate-box{width:100%;margin:0;position:relative}.haunt-ai .gate{padding:22px}.haunt-ai .logo{font-size:clamp(3.4rem,15vw,6rem)}.haunt-ai .gate-box::after{display:none}.haunt-mist{height:180px}.haunt-ai .card:nth-child(2n){transform:none}}
@media(prefers-reduced-motion:reduce){.after-dark *,.after-dark *::before,.after-dark *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.haunt-atmosphere,.haunt-crossing{display:none}}

.haunt-utility-brand{display:flex;align-items:center;gap:12px;color:#b7ff00;text-decoration:none;font:26px/1.2 Impact,Anton,sans-serif;margin-bottom:35px}.haunt-utility-brand span{font:9px/1.5 monospace;letter-spacing:.16em;color:#ffad75}.haunt-controls button:disabled{opacity:.65;cursor:default}.after-dark .mp-inner .to-hero.page-art-sbt em{color:#b7ff00}
.after-dark .mp-hero::before{inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important;filter:none!important}
.haunt-ai .logo{animation-duration:18s!important}.haunt-ai .chaos-flash.active{animation:hauntTear .38s steps(3) forwards!important}.haunt-ai .signal-tear{animation:none!important;background:linear-gradient(0deg,transparent 22%,rgba(183,255,0,.22) 22% 23%,transparent 23% 60%,rgba(255,92,34,.24) 60% 62%,transparent 62%)!important}.haunt-ai .code-storm{color:#b7ff00;opacity:.35;filter:none}.haunt-ai .boot-word{font-size:clamp(2.6rem,10vw,7rem);text-shadow:-3px 0 #b7ff00,3px 0 #d44f22}.haunt-ai .hot-glitch{animation-duration:1.8s!important}
/* Mobile title repair + visible fog + genuine opt-in ambient sound. */
.after-dark .mp-hero h1 .haunt-word{display:block;white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important}
.after-dark .mp-hero h1 .haunt-word-brand{font-size:clamp(3.3rem,7.5vw,7.6rem)}
.after-dark .mp-hero h1 .haunt-word-dark{font-size:clamp(4.4rem,8.7vw,9.3rem);margin-top:.12em}
.haunt-atmosphere{opacity:1;z-index:5;mix-blend-mode:screen}
.haunt-mist{left:-35%;bottom:-90px;width:170%;height:min(58vh,520px);background:url('assets/after-dark/fog.svg') center bottom/100% 100% no-repeat;filter:none;opacity:.85;animation:hauntMist 23s ease-in-out infinite alternate}
.haunt-mist:nth-child(2){bottom:12%;left:-25%;opacity:.32;animation-duration:33s;transform:scaleX(-1)}
@keyframes hauntMist{0%{transform:translate3d(-4%,4%,0)}100%{transform:translate3d(12%,-5%,0)}}
.haunt-ribbon-actions{display:flex;align-items:center;gap:18px}.haunt-sound-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid #5c653a;background:#10160a;color:#ddf3bf;font:700 9px/1.4 monospace;letter-spacing:.08em;padding:9px 12px;cursor:pointer;white-space:nowrap}.haunt-sound-button[aria-pressed="true"]{border-color:#b7ff00;color:#b7ff00;box-shadow:0 0 14px rgba(183,255,0,.12)}
@media(max-width:600px){.after-dark .mp-hero h1{font-size:1rem!important;line-height:.95!important;width:100%!important;max-width:100%!important;letter-spacing:-.045em!important}.after-dark .mp-hero h1 .haunt-word-brand{font-size:clamp(2.7rem,12.7vw,4.7rem)!important}.after-dark .mp-hero h1 .haunt-word-dark{font-size:clamp(3.5rem,16.5vw,6rem)!important;line-height:.92!important}.after-dark .mp-hero{min-height:740px!important;padding-bottom:260px!important}.after-dark .mp-hero .eyebrow{font-size:11px!important;line-height:1.7;letter-spacing:.11em!important}.haunt-ribbon{flex-wrap:wrap;padding:10px 18px;gap:6px}.haunt-ribbon-label{max-width:100%;width:100%;font-size:8px}.haunt-ribbon-actions{width:100%;justify-content:space-between;gap:10px}.haunt-ribbon-actions>a{font-size:9px}.haunt-sound-button{min-height:38px;font-size:9px;padding:8px 10px}.haunt-mist{height:42vh;bottom:-30px;opacity:.85;background-size:180% 100%}.haunt-mist:nth-child(2){bottom:18%;opacity:.3}}
@media(prefers-reduced-motion:reduce){.haunt-atmosphere{display:block!important}.haunt-mist{animation:none!important;opacity:.5!important}.haunt-mist:nth-child(2){display:none}}
body.haunt-quiet .haunt-atmosphere{display:none!important}

/* 2026-10-08: restrained, low-level atmospheric haze; no SVG smoke blanket. */
body.after-dark .haunt-atmosphere{position:absolute;inset:0 0 auto;height:900px;z-index:1;opacity:1;mix-blend-mode:normal;overflow:hidden;pointer-events:none}
body.after-dark .haunt-mist{left:-12%;bottom:-85px;width:125%;height:145px;background:radial-gradient(ellipse 44% 55% at 26% 95%,rgba(91,120,80,.085),transparent 75%),radial-gradient(ellipse 38% 45% at 78% 100%,rgba(95,127,77,.07),transparent 75%);filter:blur(30px);opacity:.5;animation:hauntMistSubtle 35s ease-in-out infinite alternate;transform:none}
body.after-dark .haunt-mist:nth-child(2){left:-10%;bottom:-100px;height:115px;opacity:.28;animation-duration:48s}
@keyframes hauntMistSubtle{from{transform:translateX(-2%)}to{transform:translateX(4%)}}
@media(max-width:600px){body.after-dark .haunt-atmosphere{height:800px}body.after-dark .haunt-mist{height:95px;bottom:-55px;background-size:auto;opacity:.35}body.after-dark .haunt-mist:nth-child(2){bottom:-65px;opacity:.2}}
@media(prefers-reduced-motion:reduce){body.after-dark .haunt-mist{animation:none!important}}
