/* Black Craft — Dimension Disrupt
   Quirky toon dark-fantasy. Purple void + toxic green + arcane violet */

:root {
  --bg: #120821;
  --bg-2: #190d2c;
  --bg-3: #221038;
  --ink: #efe9f5;
  --ink-2: #c8bcd8;
  --muted: #8a7ca0;
  --green: #6ef07e;
  --green-deep: #2faa45;
  --violet: #a96bff;
  --violet-deep: #6a35c4;
  --magenta: #ff5cc8;
  --rule: rgba(239, 233, 245, 0.10);
  --paper-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.91  0 0 0 0 0.96  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--paper-noise);
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.display { font-family: 'Lilita One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.mono { font-family: 'Space Mono', 'Courier New', monospace; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(18,8,33,0.9), transparent);
  backdrop-filter: blur(4px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lilita One', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
}
.nav-brand .mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-radius: 50%;
  color: var(--bg);
  box-shadow: 0 0 18px rgba(110, 240, 126, 0.4);
  transition: transform 0.4s;
}
.nav-brand:hover .mark {
  transform: rotate(20deg) scale(1.05);
}
.nav-brand .mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 36px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 38% at 30% 36%, rgba(169, 107, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 52% 36% at 70% 50%, rgba(110, 240, 126, 0.16), transparent 70%),
    radial-gradient(ellipse 72% 38% at 50% 44%, rgba(106, 53, 196, 0.25), transparent 72%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
}
.hero-logo {
  position: relative;
  display: inline-block;
  max-width: min(980px, 92vw);
  width: 100%;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 0 rgba(0,0,0,0.5)) drop-shadow(0 0 80px rgba(169, 107, 255, 0.35));
  animation: logo-bob 6s ease-in-out infinite;
  transition: transform 0.3s;
}
.hero-logo:hover {
  animation-play-state: paused;
  transform: scale(1.02) rotate(-1deg);
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes logo-bob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-12px) rotate(0.4deg); }
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hero h1 {
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.9;
  margin: 0 0 8px;
  letter-spacing: 0.005em;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  display: inline-block;
  text-shadow:
    0 0 30px rgba(169, 107, 255, 0.35),
    4px 4px 0 var(--violet-deep);
}
.hero h1 .accent-word {
  display: inline-block;
  color: var(--green);
  text-shadow:
    0 0 30px rgba(110, 240, 126, 0.5),
    4px 4px 0 var(--green-deep);
}

.hero-subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 32px auto 36px;
  line-height: 1.5;
}
.hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(0,0,0,0.3);
}
.tag.green { border-color: rgba(110, 240, 126, 0.4); color: var(--green); }
.tag.violet { border-color: rgba(169, 107, 255, 0.4); color: var(--violet); }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Lilita One', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  position: relative;
  border-radius: 999px;
}
.btn-primary {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 4px 0 var(--green-deep), 0 0 24px rgba(110, 240, 126, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--green-deep), 0 0 32px rgba(110, 240, 126, 0.5);
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--green-deep);
}
.btn-ghost {
  border: 1.5px solid var(--rule);
  color: var(--ink);
  background: rgba(0,0,0,0.2);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: rgba(169, 107, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.scroll-cue .pulse {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

/* ============ MAGIC PARTICLES ============ */
.particles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: drift linear infinite;
  opacity: 0;
}
.particle.green {
  background: var(--green);
  box-shadow: 0 0 12px var(--green), 0 0 24px rgba(110, 240, 126, 0.5);
}
.particle.violet {
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet), 0 0 24px rgba(169, 107, 255, 0.5);
}
.particle.tiny { width: 3px; height: 3px; }
.particle.large { width: 10px; height: 10px; filter: blur(1.5px); }

@keyframes drift {
  0%   { transform: translate(0, 100vh) scale(0.6); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(20px, 50vh) scale(1); }
  90%  { opacity: 0.8; }
  100% { transform: translate(-30px, -20vh) scale(0.8); opacity: 0; }
}

/* Bubbling potion sparkles — concentrated in pockets */
.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: bubble 3s ease-in infinite;
  opacity: 0;
}
.spark.v {
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}
@keyframes bubble {
  0%   { transform: translateY(0) scale(0.5); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(-80px) scale(1.2); opacity: 0; }
}

/* ============ EYES (in shadow) — each animates on its own schedule ============ */
.eye {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform-origin: center;
  aspect-ratio: 1 / 1;
}
/* Static fallback (eye 2 / eye 3 until frames land) — CSS-driven fake blink */
.eye .eye-png {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform-origin: center;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.85));
  animation:
    eye-fade var(--fade-dur, 14s) var(--fade-delay, 0s) infinite ease-in-out,
    eye-blink var(--blink-dur, 5.5s) var(--blink-delay, 0s) infinite ease-in-out;
}
/* Sprite version — stacked frames, JS-driven opacity & frame swap */
.eye .eye-sprite {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.85));
}
.eye .eye-sprite img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  visibility: hidden;
}
.eye .eye-sprite img.on { visibility: visible; }
@keyframes eye-blink {
  0%, 88%, 94%, 100% { transform: scaleY(1); }
  91%                { transform: scaleY(0.05); }
}

/* ============ SECTIONS ============ */
section {
  position: relative;
  padding: 140px 36px;
  z-index: 3;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label.violet { color: var(--violet); }
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.section-title {
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--ink);
}
.section-title .pop-g { color: var(--green); }
.section-title .pop-v { color: var(--violet); }
.section-lede {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.5;
  margin: 0 0 60px;
}

/* ============ GAME SECTION ============ */
.game-section {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 100%);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 60px 0;
}
.pillar {
  padding: 36px 28px;
  position: relative;
  background: rgba(0,0,0,0.25);
  border: 1.5px solid var(--rule);
  border-radius: 24px;
  transition: all 0.3s;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent 60%, currentColor 90%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 24px;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: currentColor;
  box-shadow: 0 0 30px currentColor;
}
.pillar.p-green { color: var(--green); }
.pillar.p-violet { color: var(--violet); }
.pillar.p-magenta { color: var(--magenta); }

.pillar-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: currentColor;
  margin-bottom: 24px;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: currentColor;
  filter: drop-shadow(0 0 8px currentColor);
}
.pillar h3 {
  font-family: 'Lilita One', sans-serif;
  font-size: 28px;
  margin: 0 0 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.pillar p {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 100px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.feature-list li:first-child { border-top: 1px solid var(--rule); }
.feature-list .num {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.feature-list .copy h4 {
  font-family: 'Lilita One', sans-serif;
  font-size: 22px;
  margin: 0 0 4px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.feature-list .copy p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Placeholder image */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(169,107,255,0.06) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1.5px solid var(--rule);
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.placeholder::before, .placeholder::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--green);
  opacity: 0.6;
  border-radius: 4px;
}
.placeholder::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.placeholder::after { bottom: 10px; right: 10px; border-left: none; border-top: none; border-color: var(--violet); }

.keyart-placeholder {
  aspect-ratio: 4/5;
  width: 100%;
}

/* ============ STUDIO SECTION ============ */
.studio-section {
  background: var(--bg-2);
}
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
  margin-top: 50px;
}
.member {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
}
.member-portrait {
  grid-row: 1 / span 4;
  grid-column: 1;
  aspect-ratio: 3/4;
  width: 180px;
  margin-bottom: 0;
  position: relative;
}
.member-portrait .frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  opacity: 0.8;
  border-radius: 4px;
}
.member.violet .member-portrait .frame-corner { border-color: var(--violet); }
.fc-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 12px; }
.fc-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; border-top-right-radius: 12px; }
.fc-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; border-bottom-left-radius: 12px; }
.fc-br { bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 12px; }

.member-name {
  font-family: 'Lilita One', sans-serif;
  font-size: 36px;
  margin: 0 0 2px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  align-self: end;
}
.member.violet .member-name { color: var(--violet); }
.member:not(.violet) .member-name { color: var(--green); }
.member-role {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.member-bio {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.member-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.member-stats .k { color: var(--green); }
.member.violet .member-stats .k { color: var(--violet); }

/* ============ DEVLOG ============ */
.devlog-section {
  background: linear-gradient(to bottom, var(--bg-2) 0%, var(--bg) 100%);
  overflow: hidden;
}
/* keep section eyes tucked behind the content */
.devlog-section > .eye { z-index: 1; }
.devlog-section > .container { position: relative; z-index: 3; }
.devlog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.devlog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.entry {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s;
}
.entry:hover { transform: translateY(-4px); }
.entry:hover .entry-thumb {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(110, 240, 126, 0.25);
}
.entry-thumb {
  aspect-ratio: 4/3;
  margin-bottom: 18px;
  transition: all 0.3s;
}
.entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.entry-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}
.entry-meta .tag-inline {
  color: var(--violet);
}
.entry-title {
  font-family: 'Lilita One', sans-serif;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.entry-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.entry.featured .entry-title { font-size: 36px; }
.entry.featured .entry-thumb { aspect-ratio: 16/11; }

/* ============ FOOTER ============ */
footer {
  background: #0a0418;
  padding: 80px 36px 36px;
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
/* footer eyes peek from behind the columns */
footer > .eye { z-index: 1; }
.footer-inner, .footer-bottom { position: relative; z-index: 3; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand h4 {
  font-family: 'Lilita One', sans-serif;
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.footer-brand h4 .g { color: var(--green); }
.footer-brand p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  max-width: 320px;
}
.footer-col h5 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--violet); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ LORE RUNES (easter egg) ============ */
.lore-rune {
  position: absolute;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
  color: var(--violet);
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.lore-rune.green { color: var(--green); }
.lore-rune:hover {
  opacity: 1;
  transform: scale(1.4) rotate(20deg);
  filter: drop-shadow(0 0 10px currentColor);
}
.lore-rune svg { width: 100%; height: 100%; }

.lore-tooltip {
  position: fixed;
  padding: 16px 20px;
  background: #0a0418;
  border: 1.5px solid var(--violet);
  border-radius: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  max-width: 280px;
  z-index: 1000;
  pointer-events: none;
  line-height: 1.55;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 0 24px rgba(169, 107, 255, 0.3);
}
.lore-tooltip::before {
  content: "▸ FRAGMENT RECOVERED";
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 10px;
}

/* ============ GLITCH TITLE ============ */
.glitchable { position: relative; display: inline-block; }
.glitchable .ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}
.glitchable.active .ghost.r {
  opacity: 0.8;
  color: var(--violet);
  transform: translate(-4px, 1px);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-1 0.18s infinite;
  text-shadow: none;
}
.glitchable.active .ghost.c {
  opacity: 0.8;
  color: var(--green);
  transform: translate(4px, -1px);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: glitch-2 0.18s infinite;
  text-shadow: none;
}
.glitchable.active .main { animation: jitter 0.15s infinite; }
@keyframes glitch-1 {
  0%, 100% { transform: translate(-4px, 1px); }
  50% { transform: translate(-7px, 0); }
}
@keyframes glitch-2 {
  0%, 100% { transform: translate(4px, -1px); }
  50% { transform: translate(7px, 1px); }
}
@keyframes jitter {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, 1px); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .team { grid-template-columns: 1fr; gap: 36px; }
  .member { grid-template-columns: 140px 1fr; column-gap: 20px; }
  .member-portrait { width: 140px; }
  .devlog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; font-size: 11px; }
  section { padding: 90px 22px; }
}
