/* =====================================================================
   NECROBYTE STUDIO · shared stylesheet
   ===================================================================== */

:root {
  --void:        #0a0710;
  --void-2:      #110c1a;
  --surface:     #1a1326;
  --surface-2:   #241a34;
  --bone:        #ede4d3;
  --bone-dim:    #a89e88;
  --ash:         #5a5466;
  --phosphor:    #d4a843;
  --phosphor-hi: #f5c860;
  --phosphor-dim:#8c6f2c;
  --blood:       #c4302b;

  --accent:      var(--phosphor);
  --accent-hi:   var(--phosphor-hi);
  --accent-dim:  var(--phosphor-dim);
  --accent-rgb:  212,168,67;
  --grid:        rgba(212,168,67,0.05);

  --f-display: 'Pixelify Sans', monospace;
  --f-body:    'VT323', monospace;
  --f-hud:     'Silkscreen', monospace;

  --max: 1280px;
}

body[data-accent="midnight"] {
  --accent:     #6ea3d4;
  --accent-hi:  #9bc4ef;
  --accent-dim: #3a5a78;
  --accent-rgb: 110,163,212;
  --grid:       rgba(110,163,212,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 22px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
::selection { background: var(--accent); color: var(--void); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border: 2px solid var(--void); }

/* ---------- atmosphere ---------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .35; pointer-events: none; }
/* castle hall parallax */
#castle { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(1.08); transform-origin: 50% 40%; transition: opacity 1.8s ease, transform 2.6s cubic-bezier(.2,.7,.2,1); }
body.lit #castle { opacity: 1; transform: none; }
#castle .cl, #castle .cl-near { position: absolute; top: 0; background-repeat: repeat; image-rendering: pixelated; will-change: transform; }
#castle .cl { left: -60px; right: -60px; }
#castle .cl-far { opacity: .9; }
#castle .cl-arcade { opacity: .9; }
#castle .cl-mid { opacity: .7; }
#castle .cl-near-l { left: -20px; }
#castle .cl-near-r { right: -20px; transform-origin: center; scale: -1 1; }
#castle .cl-fog { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background: radial-gradient(ellipse 30% 40% at 20% 70%, rgba(120,110,150,.10), transparent 70%),
              radial-gradient(ellipse 25% 35% at 60% 80%, rgba(120,110,150,.08), transparent 70%),
              radial-gradient(ellipse 30% 30% at 90% 65%, rgba(120,110,150,.09), transparent 70%);
  animation: fogDrift 70s linear infinite alternate; }
#castle .cl-fog-2 { bottom: auto; top: 10%; height: 50%; opacity: .6; animation-duration: 95s; animation-direction: alternate-reverse; }
@keyframes fogDrift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
#castle canvas.gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; image-rendering: pixelated; }
#castle.is-3d::after { background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(10,7,16,.45), rgba(10,7,16,.25) 70%, rgba(10,7,16,.55)); transition: background .6s; }
body.scrolled #castle.is-3d::after { background: rgba(10,7,16,.62); }
#castle::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 75% 70% at 50% 45%, rgba(10,7,16,.55), rgba(10,7,16,.2) 70%, rgba(10,7,16,.6)); }
@media (max-width: 900px) { #castle .cl-near { display: none; } }
.fx-scanlines {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
}
.fx-vignette { position: fixed; inset: 0; z-index: 9997; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.6) 100%); }
.fx-flicker { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: rgba(var(--accent-rgb),.02); animation: flicker 9s infinite; }
@keyframes flicker { 0%,96%,100% { opacity: 0; } 97% { opacity: 1; } 98% { opacity: 0; } 99% { opacity: .6; } }

/* ---------- boot ---------- */
#boot {
  position: fixed; inset: 0; z-index: 10000; background: var(--void);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--accent);
}
#boot.done { animation: crtOff .65s forwards; pointer-events: none; }
@keyframes crtOff {
  0%   { transform: none; filter: none; opacity: 1; }
  45%  { transform: scale(1, .006); filter: brightness(4); opacity: 1; }
  75%  { transform: scale(.25, .006); filter: brightness(6); opacity: 1; }
  100% { transform: scale(0, .006); opacity: 0; visibility: hidden; }
}
.boot-inner { width: min(560px, 100% - 2rem); }
.boot-line { opacity: 0; white-space: pre; overflow: hidden; }
.boot-line .ok { color: var(--bone); }
.boot-line .hl { color: var(--accent-hi); }
.boot-line:nth-child(1) { animation: bootIn .1s .3s forwards; color: var(--bone); margin-bottom: .6rem; }
.boot-line:nth-child(2) { animation: bootIn .1s .7s forwards; }
.boot-line:nth-child(3) { animation: bootIn .1s 1.1s forwards; }
.boot-line:nth-child(4) { animation: bootIn .1s 1.5s forwards; }
.boot-line:nth-child(5) { animation: bootIn .1s 1.9s forwards; }
.boot-line:nth-child(6) { animation: bootIn .1s 2.3s forwards, blink .9s 2.3s steps(2) infinite; margin-top: 1rem; color: var(--bone); }
@keyframes bootIn { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 540px) { #boot { font-size: 18px; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 2.4rem;
  background: linear-gradient(to bottom, rgba(10,7,16,.94), rgba(10,7,16,.6) 70%, transparent);
}
.logo-mark { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--bone); letter-spacing: .05em; display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark .diamond { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px var(--accent); }
.nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav ul a { font-family: var(--f-hud); font-size: .72rem; letter-spacing: .14em; color: var(--bone-dim); transition: color .15s; }
.nav ul a:hover, .nav ul a.is-active { color: var(--accent); }
.nav ul a { white-space: nowrap; }
.nav ul a.nav-cta { color: var(--void); background: var(--accent); padding: .45rem .8rem; }
.nav ul a.nav-cta:hover { background: var(--accent-hi); color: var(--void); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--f-hud); font-size: .8rem; letter-spacing: .26em;
  color: var(--bone); padding: 1rem 1.8rem; border: 2px solid var(--accent-dim);
  background: rgba(var(--accent-rgb),.05); cursor: pointer; transition: all .15s steps(2);
}
.btn:hover { background: var(--accent); color: var(--void); border-color: var(--accent); box-shadow: 0 0 28px rgba(var(--accent-rgb),.4); }
.btn-solid { background: var(--accent); color: var(--void); border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn-ghost { border-color: var(--surface-2); color: var(--bone-dim); background: transparent; }
.btn-ghost:hover { background: var(--surface); color: var(--bone); border-color: var(--accent-dim); box-shadow: none; }
.btn-pending { border-style: dashed; border-color: var(--ash); color: var(--bone-dim); background: transparent; cursor: default; }
.btn-pending:hover { background: transparent; color: var(--bone-dim); border-color: var(--ash); box-shadow: none; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- home hero ---------- */
.hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 4rem;
}
.hero-overline { font-family: var(--f-hud); font-size: .75rem; letter-spacing: .4em; color: var(--accent); margin-bottom: 2.4rem; opacity: 0; animation: fadeUp .8s .2s steps(8) forwards; }
.hero-title {
  position: relative; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.2rem, 13vw, 11rem); line-height: .9; letter-spacing: -.02em; color: var(--bone);
  text-shadow: 0 0 24px rgba(212,168,67,.18), 0 0 80px rgba(196,48,43,.08);
  margin-bottom: 1.8rem; opacity: 0; animation: fadeUp 1s .4s steps(8) forwards;
}
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.glitch::before { color: var(--blood); animation: glitchA 6s infinite steps(1); }
.glitch::after  { color: var(--accent); animation: glitchB 6s infinite steps(1); }
@keyframes glitchA { 0%,92%,100% { transform: none; opacity: 0; } 93% { transform: translate(-3px,1px); opacity: .7; } 94% { transform: translate(2px,-2px); opacity: .7; } 95% { transform: translate(-1px,2px); opacity: .7; } }
@keyframes glitchB { 0%,92%,100% { transform: none; opacity: 0; } 93% { transform: translate(2px,-1px); opacity: .7; } 94% { transform: translate(-2px,2px); opacity: .7; } 95% { transform: translate(1px,-2px); opacity: .7; } }
.hero-tagline { font-size: 1.45rem; color: var(--bone-dim); max-width: 600px; margin-bottom: 2.8rem; opacity: 0; animation: fadeUp .8s 1.1s steps(8) forwards; }
.hero .btn-row { justify-content: center; opacity: 0; animation: fadeUp .8s 1.5s steps(8) forwards; }
.btn-start { animation: startPulse 2.4s 2.4s infinite; }
@keyframes startPulse { 0%,80%,100% { box-shadow: none; } 88% { box-shadow: 0 0 22px rgba(var(--accent-rgb),.45); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-family: var(--f-hud); font-size: .55rem; letter-spacing: .3em; color: var(--ash); animation: blink 1.6s steps(2) infinite; }

/* ---------- alpha banner ---------- */
.alpha-banner {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto 2rem; padding: 0 1.5rem;
}
.alpha-inner {
  display: grid; grid-template-columns: 300px 1fr auto; gap: 2rem; align-items: center;
  background: linear-gradient(90deg, rgba(110,163,212,.08), var(--surface) 40%);
  border: 1px solid #3a5a78; padding: 1.2rem;
}
.alpha-inner img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--surface-2); }
.alpha-tag { font-family: var(--f-hud); font-size: .65rem; letter-spacing: .28em; color: #9bc4ef; margin-bottom: .4rem; }
.alpha-tag .dot { display: inline-block; width: 8px; height: 8px; background: #6ea3d4; margin-right: .5rem; animation: blink 1.2s steps(2) infinite; }
.alpha-inner h3 { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.05; margin-bottom: .3rem; }
.alpha-inner p { color: var(--bone-dim); font-size: 1.25rem; }

/* ---------- sections ---------- */
section { position: relative; z-index: 2; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 7rem 1.5rem; }
.label {
  display: inline-block; font-family: var(--f-hud); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); padding: .35rem .7rem; border: 1px solid var(--accent-dim); background: rgba(var(--accent-rgb),.04); margin-bottom: 1.4rem;
}
.label::before { content: '◆ '; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: .98; margin-bottom: 1.6rem; max-width: 900px; }
.h2 .accent, .accent { color: var(--accent); }
.wrap p, .wrap .h2, .hero p, .pitch p, .page-head p { text-shadow: 0 2px 10px rgba(5,3,8,.9), 0 0 2px rgba(5,3,8,.8); }
.lead { font-size: 1.5rem; color: var(--bone-dim); max-width: 720px; }

/* studio */
.studio { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.studio-copy p { font-size: 1.4rem; margin-bottom: 1.2rem; }
.studio-copy p:nth-of-type(2) { color: var(--bone-dim); }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; padding-top: 2.4rem; border-top: 1px dashed var(--surface-2); }
.stat b { display: block; font-family: var(--f-display); font-size: 2rem; color: var(--accent); line-height: 1.1; margin-bottom: .3rem; }
.stat span { font-family: var(--f-hud); font-size: .6rem; letter-spacing: .2em; color: var(--bone-dim); }

/* game cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 2px solid var(--surface-2); color: inherit;
  clip-path: polygon(0 16px,16px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px));
  transition: transform .2s steps(3), border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--c, var(--accent)); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--cd, var(--accent-dim)); }
.card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 2px solid var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,19,38,.85), transparent 55%); }
.card-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-family: var(--f-hud); font-size: .6rem; letter-spacing: .22em; color: var(--c, var(--accent)); margin-bottom: .7rem; }
.card-title { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; margin-bottom: .5rem; }
.card-genre { font-family: var(--f-hud); font-size: .58rem; letter-spacing: .2em; color: var(--bone-dim); margin-bottom: 1rem; }
.card-desc { font-size: 1.2rem; color: var(--bone-dim); margin-bottom: 1.4rem; flex: 1; }
.card-link { font-family: var(--f-hud); font-size: .65rem; letter-spacing: .22em; color: var(--c, var(--accent)); }
.card-link::after { content: ' ▸'; }
.card.mc { --c: #6ea3d4; --cd: #3a5a78; }
.card.st { --c: var(--phosphor); --cd: var(--phosphor-dim); }

/* cta strip */
.cta-strip {
  max-width: var(--max); margin: 0 auto; padding: 4rem 2rem; text-align: center;
  border: 1px solid var(--surface-2); background: linear-gradient(135deg, var(--surface), var(--void-2));
}
.cta-strip h3 { font-family: var(--f-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .8rem; }
.cta-strip p { font-size: 1.3rem; color: var(--bone-dim); max-width: 580px; margin: 0 auto 2rem; }
.cta-strip .btn-row { justify-content: center; }
.cta-wrap { padding: 2rem 1.5rem 6rem; position: relative; z-index: 2; }

/* ---------- page header (games, press) ---------- */
.page-head { position: relative; z-index: 2; text-align: center; padding: 10rem 1.5rem 2rem; }
.page-head .hero-title { font-size: clamp(3rem, 10vw, 6.5rem); opacity: 1; animation: none; margin-bottom: 1.2rem; }
.page-head .lead { margin: 0 auto; }

/* ---------- game page hero ---------- */
.game-hero { position: relative; z-index: 2; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.game-hero-bg { position: absolute; inset: 0; }
.game-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 35%; animation: slowZoom 30s ease-out forwards; }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.game-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--void) 0%, rgba(10,7,16,.7) 28%, rgba(10,7,16,0) 58%, rgba(10,7,16,.05) 80%, rgba(10,7,16,.85) 100%),
              linear-gradient(to right, rgba(10,7,16,.65), transparent 55%);
}
.game-hero-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 4.5rem; }
.back-link { display: inline-block; font-family: var(--f-hud); font-size: .65rem; letter-spacing: .22em; color: var(--bone-dim); margin-bottom: 1.4rem; }
.back-link::before { content: '◂ '; }
.back-link:hover { color: var(--accent); }
.status-badge { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-hud); font-size: .65rem; letter-spacing: .26em; color: var(--accent-hi); padding: .4rem .8rem; border: 1px solid var(--accent-dim); background: rgba(10,7,16,.7); margin-bottom: 1.2rem; }
.status-badge .dot { width: 8px; height: 8px; background: var(--accent); animation: blink 1.2s steps(2) infinite; }
.game-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 9vw, 6.5rem); line-height: .9; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0,0,0,.6); margin-bottom: 1rem; }
.game-sub { font-size: 1.5rem; color: var(--bone); max-width: 640px; margin-bottom: 2rem; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

/* trailer */
.trailer { position: relative; aspect-ratio: 16/9; border: 1px solid var(--accent-dim); background: #000; overflow: hidden; box-shadow: 0 0 60px rgba(0,0,0,.6); }
.trailer img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.8); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1rem; }
.trailer-overlay .play { width: 84px; height: 84px; border: 2px solid var(--accent); display: grid; place-items: center; background: rgba(10,7,16,.6); }
.trailer-overlay .play::before { content: ''; border-left: 26px solid var(--accent); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.trailer-overlay span { font-family: var(--f-hud); font-size: .75rem; letter-spacing: .3em; color: var(--bone); }
.trailer.is-ready { cursor: pointer; }
.trailer.is-ready:hover .play { background: var(--accent); }
.trailer.is-ready:hover .play::before { border-left-color: var(--void); }
.trailer:not(.is-ready) .play { opacity: .35; }

/* pitch */
.pitch { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem; text-align: center; border-top: 1px dashed var(--surface-2); border-bottom: 1px dashed var(--surface-2); position: relative; z-index: 2; }
.pitch p { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; max-width: 940px; margin: 0 auto; }
.pitch em { font-style: normal; color: var(--accent); }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.feature { background: var(--surface); border: 1px solid var(--surface-2); border-top: 3px solid var(--accent-dim); padding: 1.8rem; transition: border-color .15s, background .15s; }
.feature:hover { border-top-color: var(--accent); background: var(--surface-2); }
.feature-num { font-family: var(--f-hud); font-size: .6rem; letter-spacing: .25em; color: var(--accent); margin-bottom: .7rem; }
.feature h3 { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; margin-bottom: .6rem; }
.feature p { font-size: 1.15rem; color: var(--bone-dim); }

/* story + details */
.story { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.story-text p { font-size: 1.4rem; line-height: 1.55; margin-bottom: 1.3rem; }
.story-text p:first-child::first-letter { font-family: var(--f-display); font-size: 3.4rem; float: left; line-height: .85; margin: .2rem .6rem 0 0; color: var(--accent); }
.chapter { padding-top: 2rem; margin-top: 2rem; border-top: 1px dashed var(--surface-2); }
.chapter:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.chapter h4 { font-family: var(--f-hud); font-weight: 400; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.chapter h4::before { content: '◆ '; }
.chapter p:first-of-type::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
blockquote { border-left: 3px solid var(--accent); padding: .5rem 1.5rem; margin: 2rem 0; font-size: 1.5rem; font-style: italic; }
.details { background: var(--surface); border: 1px solid var(--surface-2); padding: 1.8rem; position: sticky; top: 6rem; }
.details h3 { font-family: var(--f-hud); font-weight: 400; font-size: .7rem; letter-spacing: .25em; color: var(--accent); padding-bottom: .8rem; margin-bottom: 1.2rem; border-bottom: 1px dashed var(--surface-2); }
.details h3::before { content: '◆ '; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.2rem; font-size: 1.15rem; }
.details dt { font-family: var(--f-hud); font-size: .55rem; letter-spacing: .2em; color: var(--bone-dim); padding-top: .35rem; }
.details .btn { width: 100%; text-align: center; margin-top: 1.6rem; }

/* gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters button { font-family: var(--f-hud); font-size: .62rem; letter-spacing: .2em; color: var(--bone-dim); background: transparent; border: 1px solid var(--surface-2); padding: .55rem .9rem; cursor: pointer; }
.filters button:hover { color: var(--bone); border-color: var(--accent-dim); }
.filters button.on { color: var(--void); background: var(--accent); border-color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.shot { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--void-2); border: 1px solid var(--surface-2); cursor: zoom-in; padding: 0; }
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.shot:hover img { transform: scale(1.04); filter: brightness(1.12); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .55rem; font-family: var(--f-hud); font-size: .55rem; letter-spacing: .2em; color: var(--bone); text-transform: uppercase; background: linear-gradient(to top, rgba(10,7,16,.9), transparent); opacity: 0; transition: opacity .2s; text-align: left; }
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; }
.shot[hidden] { display: none; }
@media (hover: none) { .shot figcaption { opacity: 1; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 20000; display: none; align-items: center; justify-content: center; padding: 4rem 5rem; background: rgba(5,3,8,.96); }
.lightbox.open { display: flex; }
.lb-stage { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); border: 1px solid var(--accent-dim); box-shadow: 0 0 60px rgba(0,0,0,.8); image-rendering: auto; }
.lb-cap { margin-top: 1rem; font-family: var(--f-hud); font-size: .68rem; letter-spacing: .26em; color: var(--accent); text-transform: uppercase; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.6rem; color: var(--accent); background: rgba(10,7,16,.85); border: 2px solid var(--accent-dim); cursor: pointer; }
.lb-btn:hover { background: var(--accent); color: var(--void); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-family: var(--f-hud); font-size: .6rem; letter-spacing: .3em; color: var(--bone-dim); }

/* ---------- press page ---------- */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.press-card { background: var(--surface); border: 1px solid var(--surface-2); border-top: 3px solid var(--accent); padding: 2.2rem; display: flex; flex-direction: column; }
.press-card.ea { border-top-color: #6ea3d4; }
.press-card .label { align-self: flex-start; }
.press-card h2 { font-family: var(--f-display); font-size: 2rem; line-height: 1; margin-bottom: .8rem; }
.press-card p { font-size: 1.25rem; color: var(--bone-dim); margin-bottom: 1.2rem; }
.press-card ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.press-card li { font-size: 1.2rem; padding: .3rem 0 .3rem 1.4rem; position: relative; }
.press-card li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.press-card.ea li::before { color: #6ea3d4; }
.press-card.ea .btn-solid { background: #6ea3d4; border-color: #6ea3d4; }
.press-card .fine { font-size: 1.05rem; color: var(--ash); margin: 1rem 0 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--surface-2); border: 1px solid var(--surface-2); }
.fact { background: var(--void-2); padding: 1.4rem; }
.fact dt { font-family: var(--f-hud); font-size: .55rem; letter-spacing: .22em; color: var(--accent); margin-bottom: .4rem; }
.fact dd { font-size: 1.2rem; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 2px solid var(--surface-2); background: linear-gradient(to bottom, transparent, var(--void-2)); padding: 3.5rem 1.5rem 2rem; margin-top: 2rem; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot-brand p { color: var(--bone-dim); font-size: 1.15rem; margin-top: .8rem; max-width: 320px; }
.foot-col h4 { font-family: var(--f-hud); font-weight: 400; font-size: .66rem; letter-spacing: .2em; color: var(--accent); margin-bottom: .9rem; }
.foot-col a { display: block; color: var(--bone-dim); font-size: 1.2rem; margin-bottom: .35rem; word-break: break-word; }
.foot-col a:hover { color: var(--accent); }
.foot-bar { max-width: var(--max); margin: 0 auto; padding-top: 1.4rem; border-top: 1px dashed var(--surface-2); font-family: var(--f-hud); font-size: .58rem; letter-spacing: .18em; color: var(--ash); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; position: relative; z-index: 2; }
.notfound .hero-title { opacity: 1; animation: none; color: var(--blood); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .studio, .story { grid-template-columns: 1fr; gap: 2rem; }
  .details { position: static; }
  .alpha-inner { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .nav { padding: .9rem 1rem; }
  .nav ul { gap: .9rem; }
  .nav ul a { font-size: .55rem; letter-spacing: .08em; }
  .nav ul a.nav-cta { padding: .4rem .55rem; }
  .nav .hide-sm { display: none; }
  .logo-mark { font-size: 1.05rem; }
  .shot.big { grid-column: auto; grid-row: auto; }
  .lightbox { padding: 4rem .8rem 5rem; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
}
@media (max-width: 540px) {
  html, body { font-size: 18px; }
  .wrap { padding: 4.5rem 1.1rem; }
  .stats { gap: 1rem; }
  .stat b { font-size: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .logo-mark { font-size: .95rem; gap: .45rem; }
  .nav ul { gap: .7rem; }
  .btn { padding: .9rem 1.2rem; letter-spacing: .18em; }
  .logo-mark span.word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  #bg-canvas { display: none; }
}
