/* ASFA / AFTER DARK — seasonal identity */
:root{--red:#ef142a;--black:#09090c;--paper:#0e0b10;--line:#493139;color-scheme:dark}
body{color:#faf6f5;background:#0e0b10}header{background:#0b090df2;border-bottom-color:#57212c}.logo{box-shadow:0 0 28px #ef142a22}#motion{color:#f8edef;border-color:#70434c}.hero{background:radial-gradient(ellipse at 80% 45%,#4d101b66,transparent 54%),#0c0a0f}.hero-top,.hero-bottom{position:relative;z-index:3;color:#d7bdc4}.hero-bottom{position:absolute}.hero-copy{padding-top:35px}.hero-copy p{color:#c8bfc6}.night-label{display:block;font-size:10px;font-weight:700;letter-spacing:.22em;color:#ff6676;margin-bottom:22px}.night-label:before{content:'';display:inline-block;width:7px;height:7px;background:var(--red);box-shadow:0 0 16px var(--red);margin-right:10px;border-radius:50%}h1 em{text-shadow:0 0 70px #ef142a33}.dark{background:var(--red);color:white;box-shadow:0 8px 35px #b400202e}.scene{z-index:2}.scene-note,.orbit-label{color:#e2acb8}.scene-caption{color:#cdbdc4;max-width:260px;font-size:12px;line-height:1.5}.night-sky{position:absolute;inset:0;overflow:hidden;pointer-events:none}.blood-moon{position:absolute;width:clamp(160px,26vw,400px);aspect-ratio:1;right:12%;top:13%;border-radius:50%;background:radial-gradient(circle at 37% 31%,#ff859033,transparent 12%),radial-gradient(circle at 65% 60%,#21050b99,transparent 23%),radial-gradient(circle at 30% 20%,#e94759,#89152a 58%,#260912 92%);box-shadow:0 0 90px #e7133033,inset -20px -15px 45px #050408;opacity:.65}.fog{position:absolute;width:140%;height:45%;left:-20%;bottom:-8%;background:radial-gradient(ellipse at 35% 60%,#b0647940,transparent 45%),radial-gradient(ellipse at 75% 50%,#95213c44,transparent 40%);filter:blur(26px);animation:mist 22s ease-in-out infinite alternate}.fog-two{bottom:28%;opacity:.45;animation-duration:29s;animation-direction:alternate-reverse}.bat{position:absolute;width:55px;fill:#09090c;stroke:#943247;stroke-width:.6;filter:drop-shadow(0 3px 7px #0009);animation:bat-drift 9s ease-in-out infinite alternate}.bat-1{right:31%;top:18%;transform:rotate(-18deg)}.bat-2{right:12%;top:32%;width:85px;animation-delay:-3s}.bat-3{right:37%;top:46%;width:38px;animation-delay:-6s}.bat-4{right:8%;top:12%;width:38px;animation-delay:-2s}.ticker{border-block:1px solid #ff5364;background:#c20d25;box-shadow:0 0 40px #e9112626}.vision{background:radial-gradient(ellipse at 5% 0%,#3c101d 0,transparent 50%),#09090c}.vision h2 span{color:#c0a1aa}.vision .section-label,.principles p,.principles span{color:#b6a4ac}.principles>div{border-color:#61303e}.services{background:linear-gradient(135deg,#150d15,#0c0a10)}.section-label{color:#c5a7b1}.services-head p,.detail p,.tag,.num{color:#c1aeb9}.service-list details{transition:background .3s}details[open]{background:linear-gradient(90deg,#ef142a0c,transparent)}summary:hover h3{color:#ff5b70}.toggle{border-color:#83505c}.origin{position:relative;background:radial-gradient(ellipse at 75% 95%,#78162755,transparent 58%),#180c14;border-block:1px solid #53212e}.origin-grid .lead,.origin-last{color:#fff!important}.origin-grid p{color:#cab8c1}.eyebrow{color:#ff687d}.massive{text-shadow:0 0 80px #e8122944}.process{background:radial-gradient(ellipse at 85% 10%,#34101d,transparent 60%),#0c0a0f}.steps article{border-color:#7e283d;padding:22px 14px;background:linear-gradient(#43112540,transparent)}.steps span,.steps p{color:#c5b0bc}.contact{background:radial-gradient(ellipse at 90% 10%,#f9344e 0,transparent 50%),linear-gradient(140deg,#b80c26,#73091d);position:relative;overflow:hidden}.contact .section-label{color:#ffe3e8}.contact h2{text-shadow:0 12px 50px #3c001944}footer{background:#08070b;color:#cbb6c0;border-top:1px solid #59202f}#asfa-chat{color:#f9f0f3}#asfa-chat .launch{background:#d9102e;box-shadow:0 0 0 1px #ff6a8055,0 8px 35px #b9002933}#asfa-chat .window{background:#170e17;border-color:#693044}#asfa-chat .top{background:linear-gradient(115deg,#d9102e,#790b26)}#asfa-chat .history{background:#100b12}#asfa-chat .bubble{background:#2d1726}#asfa-chat .bubble.user{background:#820e2a}#asfa-chat form{border-color:#542235}#asfa-chat input[type=text]{background:#100b12;color:#fff;border-color:#794153}#asfa-chat .choices{background:#170e17}#asfa-chat .choices button{background:#361023;border-color:#95445c;color:#ffe2e8}#asfa-chat .onboard p,#asfa-chat .new{color:#d4b9c7}#asfa-chat .error{color:#ff9aaf}#asfa-chat .wa{background:#ef142a}
@keyframes mist{to{transform:translate(12%,-8%)}}@keyframes bat-drift{to{translate:15px -18px;rotate:7deg}}body.paused .fog,body.paused .bat{animation-play-state:paused}
@media(max-width:600px){.hero-copy{padding-top:35px}.night-label{margin-bottom:18px;font-size:9px}.hero{min-height:1090px}.scene{top:560px}.blood-moon{top:57%;right:15%;width:230px}.bat-1{top:59%;right:64%}.bat-2{top:65%;right:6%;width:64px}.bat-3{top:81%;right:70%}.bat-4{top:52%;right:12%}.scene-caption{max-width:250px}.hero-top:after{content:'OCT / 26';font-size:10px}.steps article{padding-inline:8px}.contact-bottom{padding-bottom:25px}}
@media(prefers-reduced-motion:reduce){.fog,.bat{animation:none}.service-list details{transition:none}}
/* Scroll-linked objects carry the depth beyond the opening scene. */
.section{position:relative;isolation:isolate;overflow:hidden}.section:before{content:'';position:absolute;z-index:-1;pointer-events:none;width:220px;height:220px;right:-90px;top:22%;border:1px solid #f1285055;box-shadow:inset 0 0 55px #e7132910,0 0 45px #ef142a0c;transform:perspective(600px) translateY(var(--depth-y,0px)) rotateX(55deg) rotateZ(var(--depth-turn,0deg));border-radius:50%}.section:after{content:'';position:absolute;z-index:-1;pointer-events:none;width:80px;height:80px;left:-40px;bottom:16%;border:1px solid #ff486655;background:linear-gradient(135deg,#c6143520,transparent);transform:perspective(500px) translateY(var(--depth-y,0px)) rotateY(var(--depth-turn,0deg)) rotateZ(45deg)}.origin .massive{transform:perspective(1000px) translateY(var(--depth-y,0px)) rotateY(var(--depth-turn,0deg));transform-origin:center}.principles>div,.steps article{transition:transform .35s,box-shadow .35s;transform-style:preserve-3d}@media(hover:hover){.principles>div:hover,.steps article:hover{transform:perspective(800px) rotateX(5deg) rotateY(-5deg) translateY(-7px);box-shadow:0 18px 32px #0004}.logo:hover{transform:perspective(400px) rotateY(-12deg) rotateZ(-3deg)}.button:hover{transform:perspective(600px) rotateX(8deg) translateY(-4px)}}body.paused .principles>div,body.paused .steps article,body.paused .button,body.paused .logo{transform:none!important}@media(prefers-reduced-motion:reduce){.section:before,.section:after,.origin .massive,.principles>div,.steps article,.logo,.button{transform:none!important;transition:none}}
