@font-face{font-family:Barlow;src:url('assets/barlow-800.ttf') format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:Sora;src:url('assets/sora-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Sora;src:url('assets/sora-600.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{color-scheme:dark;--paper:#f1f0ed;--muted:#a5a5a7;--red:#d63836;--line:rgba(255,255,255,.14)}
*{box-sizing:border-box}
html{background:#0b0c0d;overflow-x:clip}
body{margin:0;color:var(--paper);font-family:Sora,Arial,sans-serif;-webkit-font-smoothing:antialiased;isolation:isolate;overflow-x:clip}
body::before{content:'';position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent 15%,#922321 50%,transparent 85%);z-index:5}
.scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;isolation:isolate}
.world,.vignette,.grain{position:absolute;inset:0;pointer-events:none;z-index:-3}
.grain{position:fixed}
/* The city and CJ are independent layers: only the artwork moves. */
.world{top:70px;background:#151617 url('assets/survival-city.png') center top / cover no-repeat;mask-image:linear-gradient(to bottom,transparent,#000 65px);animation:city-drift 24s ease-in-out infinite alternate;transform-origin:center}
.character-stage{position:absolute;inset:90px 0 0;pointer-events:none;z-index:-2;overflow:hidden;mask-image:linear-gradient(#000 65%,transparent 100%)}
.survivor{position:absolute;left:-2vw;bottom:-4%;width:auto;height:106%;max-width:46vw;object-fit:contain;object-position:left bottom;transform-origin:50% 88%;animation:survivor-breathe 5.5s ease-in-out infinite;filter:brightness(.86) saturate(.72)}
.haze{position:absolute;inset:25% -10% 0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 22% 75%,#a3aab614,transparent 48%),radial-gradient(ellipse at 75% 85%,#b7bfc010,transparent 42%);animation:haze-drift 16s ease-in-out infinite alternate}
.vignette{z-index:-1;background:linear-gradient(180deg,rgba(6,7,8,.35) 0%,transparent 30%,rgba(6,7,8,.12) 60%,#0b0c0d 99%),linear-gradient(90deg,transparent 16%,rgba(5,6,7,.58) 40%,rgba(5,6,7,.65) 62%,rgba(5,6,7,.1))}
.grain{z-index:3;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.91' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.site-shell{max-width:1800px;margin:auto;min-height:100svh;padding:0 5%;display:flex;flex-direction:column}
.masthead{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}
.wordmark{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:1.8px;font-weight:600}
.wordmark strong{font-weight:600;color:#939395;margin-left:5px}
.header-logo{width:44px;height:44px;object-fit:contain;flex-shrink:0}
.server-status{font-family:monospace;font-size:10px;letter-spacing:1.4px;color:#bababc;display:flex;align-items:center;gap:9px}
.status-light{width:5px;height:5px;background:var(--red);box-shadow:0 0 12px #d6383677;border-radius:50%}
main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 0 28px}
.hero{text-align:center;width:100%;max-width:850px;animation:arrive .9s ease-out backwards}
.emblem-wrap{width:150px;height:142px;margin:0 auto 13px;position:relative}
.emblem{width:100%;height:100%;position:relative;object-fit:contain;filter:drop-shadow(0 4px 12px #0005)}
.eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;font-family:monospace;font-size:10px;font-weight:400;letter-spacing:3px;color:#b7b7b8;margin:0 0 17px}
.eyebrow span{height:1px;width:25px;background:#8b8b8c;opacity:.6}
h1{margin:0;font-weight:800;text-shadow:0 5px 30px #0005}
.protocol{display:block;font-family:Sora,Arial,sans-serif;font-size:19px;letter-spacing:12px;font-weight:600;padding-left:12px;line-height:1.5}
.scavenge{display:block;font-family:Barlow,'Arial Narrow',Impact,sans-serif;font-size:clamp(76px,10.8vw,148px);line-height:.97;letter-spacing:1px;background:linear-gradient(180deg,#fff 20%,#d7d7d6 85%,#999 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.launch-status{display:flex;align-items:center;justify-content:center;gap:17px;margin:25px 0 23px}
.launch-status p{margin:0;font-family:monospace;font-weight:600;font-size:12px;color:#ef7370;letter-spacing:6px;padding-left:6px}
.status-line{width:42px;height:1px;background:linear-gradient(90deg,transparent,#a94240)}
.status-line:last-child{transform:rotate(180deg)}
.tagline{font-size:17px;letter-spacing:-.45px;margin:0 0 13px;color:#c3c3c5;line-height:1.6;font-weight:400}
.tagline strong{font-weight:600;color:var(--paper)}
.description{font-size:12px;line-height:1.85;margin:0;color:#a4a4a8;font-weight:400}
.discord-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:var(--paper);color:#151617;text-decoration:none;padding:21px 27px;margin-top:29px;min-height:62px;min-width:290px;font-size:11px;font-weight:600;letter-spacing:1px;border:1px solid #fff9;border-radius:3px;box-shadow:0 6px 35px #0004;transition:background .2s,transform .2s,box-shadow .2s}
.discord-button:hover{background:#fff;transform:translateY(-3px);box-shadow:0 8px 40px #ffffff1c}
.discord-button:active{transform:translateY(0)}
.discord-button:focus-visible{outline:2px solid #ef7370;outline-offset:7px}
.discord-icon{width:23px;height:23px}.arrow{width:19px;height:19px;margin-left:11px;transition:transform .2s}.discord-button:hover .arrow{transform:translateX(3px)}
.invite-note{display:flex;align-items:center;justify-content:center;gap:9px;font-size:9px;color:#929295;margin:16px 0 0}
.signal{display:flex;align-items:flex-end;gap:2px;height:10px}.signal i{width:2px;height:4px;background:#929295}.signal i:nth-child(2){height:7px}.signal i:nth-child(3){height:10px}
.atmosphere-caption{display:flex;justify-content:center;align-items:center;gap:25px;margin-top:48px;font-family:monospace;font-size:9px;letter-spacing:3px;color:#9a9a9c}
.atmosphere-caption span+span:before{content:'+';color:#8c3534;margin-right:25px}
footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);min-height:68px;gap:15px;color:#808084;font-size:9px}
footer p{margin:0}footer p:last-child{font-family:monospace;font-size:9px;letter-spacing:1.3px}.footer-symbol{color:#9a403f;font-size:21px}.mobile-break{display:none}
@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes survivor-breathe{0%,100%{transform:translate3d(0,0,0) scale(1) rotate(-.2deg)}50%{transform:translate3d(0,-5px,0) scale(1.014,1.009) rotate(.2deg)}}
@keyframes city-drift{from{transform:scale(1.015) translate3d(-3px,0,0)}to{transform:scale(1.045) translate3d(3px,-3px,0)}}
@keyframes haze-drift{from{transform:translate3d(-2%,0,0);opacity:.5}to{transform:translate3d(3%,-2%,0);opacity:1}}
.motion-paused .survivor,.motion-paused .world,.motion-paused .haze{animation-play-state:paused}
@media(min-height:950px) and (min-width:901px){main{padding-top:35px;padding-bottom:35px}.emblem-wrap{width:174px;height:170px;margin-bottom:22px}.atmosphere-caption{margin-top:65px}}
@media(max-width:900px){
  .scene{position:absolute;bottom:auto;height:600px}
  .site-shell{padding:0 6%;min-height:100svh}
  .masthead{height:72px;min-height:72px;gap:12px}
  .wordmark{font-size:9px;letter-spacing:1px;gap:10px}
  .wordmark strong{display:block;margin:4px 0 0}
  .header-logo{width:36px;height:36px}
  .server-status{font-size:8px;letter-spacing:.5px;gap:6px;white-space:nowrap}
  .world{position:absolute;top:72px;height:500px;bottom:auto;background-position:center top;mask-image:linear-gradient(transparent,#000 40px,#000 45%,transparent 100%)}
  .character-stage{position:absolute;top:78px;left:0;right:0;bottom:auto;height:280px;mask-image:linear-gradient(#000 55%,transparent 100%)}
  .survivor{width:250px;max-width:none;height:auto;left:calc(50% - 125px);top:0;bottom:auto;object-fit:contain;filter:brightness(.95) saturate(.72);transform-origin:50% 65%}
  .vignette{position:absolute;height:530px;bottom:auto;background:linear-gradient(180deg,#090a0b33,transparent 42%,#0b0c0d 94%)}
  .haze{position:absolute;inset:170px 0 auto;height:200px;opacity:.5}
  main{flex:1;justify-content:flex-start;padding:240px 0 24px}
  .hero{max-width:520px}
  .emblem-wrap{width:74px;height:74px;margin:0 auto 12px}
  .eyebrow{font-size:9px;letter-spacing:1.4px;gap:9px;margin-bottom:13px}
  .eyebrow span{width:18px}
  .protocol{font-size:13px;letter-spacing:7px;padding-left:7px}
  .scavenge{font-size:clamp(60px,17vw,100px);letter-spacing:0;line-height:1.05}
  .launch-status{margin:17px 0 18px}
  .launch-status p{font-size:11px;letter-spacing:4px}
  .tagline{font-size:15px;line-height:1.65;margin-bottom:11px;letter-spacing:-.3px}
  .mobile-break{display:block}.desktop-break{display:none}
  .description{max-width:330px;margin:auto;font-size:12px;line-height:1.8;color:#b1b1b5;text-wrap:pretty}
  .discord-button{display:flex;width:100%;max-width:340px;min-width:0;min-height:60px;margin:23px auto 0;padding:18px 20px;font-size:11px;gap:13px}
  .invite-note{font-size:9px;line-height:1.6;margin-top:13px;gap:7px}
  .atmosphere-caption{gap:13px;font-size:9px;letter-spacing:1.3px;margin-top:30px}
  .atmosphere-caption span+span:before{margin-right:13px}
  footer{min-height:100px;flex-wrap:wrap;justify-content:center;gap:2px 14px;padding:12px 0 18px}
  footer p{font-size:9px;text-align:center}footer p:last-child{width:100%;font-size:8px;letter-spacing:1px}
}
@media(max-width:359px){
  .site-shell{padding:0 5%}.wordmark{font-size:8px;gap:6px}.header-logo{width:30px;height:34px}.server-status{font-size:7px;letter-spacing:0;gap:5px}
  main{padding-top:224px}.character-stage{height:260px}.survivor{width:232px;left:calc(50% - 116px)}
  .eyebrow{font-size:8px;letter-spacing:1px}.tagline{font-size:14px}.description{font-size:11px}.invite-note{font-size:8px}.atmosphere-caption{font-size:8px;gap:10px}.atmosphere-caption span+span:before{margin-right:10px}
}
@media(prefers-reduced-motion:reduce){.hero{animation:none}.discord-button,.arrow{transition:none}.survivor,.world,.haze{animation:none}}
