:root {
  --bg: #050706;
  --panel: #0b0f0d;
  --panel-2: #101511;
  --line: rgba(194, 255, 0, 0.18);
  --text: #f2f5ee;
  --muted: #8c968e;
  --acid: #c6ff00;
  --acid-soft: #98c900;
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}
body::selection { background: var(--acid); color: #000; }
a { color: inherit; text-decoration: none; }

#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .07;
  pointer-events: none;
  z-index: -3;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: .032;
  pointer-events: none;
  z-index: 20;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.section-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 110px; }
.section-label {
  font: 600 11px/1 var(--mono);
  letter-spacing: .18em;
  color: var(--acid);
  margin-bottom: 34px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,7,6,.75);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--acid);
  font: 800 13px/1 var(--mono);
  color: var(--acid);
  transform: rotate(45deg);
}
.brand-mark > span, .brand-mark { }
.brand-mark { text-shadow: 0 0 12px rgba(198,255,0,.5); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-text { font: 700 14px/1 var(--mono); letter-spacing: .22em; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a, .footer-links a {
  font: 500 11px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--muted);
  transition: .25s ease;
}
.desktop-nav a:hover, .footer-links a:hover { color: var(--acid); }
.nav-cta {
  justify-self: end;
  border: 1px solid rgba(198,255,0,.45);
  padding: 12px 16px;
  color: var(--acid);
  font: 600 10px/1 var(--mono);
  letter-spacing: .14em;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--acid);
  font: 600 11px/1 var(--mono);
  letter-spacing: .14em;
  margin-bottom: 24px;
}
.eyebrow span { width: 38px; height: 1px; background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.hero h1, .about h2, .section-heading h2, .research h2, .contact h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .88;
}
.hero h1 { font-size: clamp(68px, 8.5vw, 138px); }
.hero .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,245,238,.48);
  text-shadow: none;
}
.hero-lead {
  max-width: 650px;
  margin: 32px 0;
  color: #aab2ac;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font: 700 11px/1 var(--mono);
  letter-spacing: .12em;
  transition: .25s ease;
}
.button.primary { background: var(--acid); color: #060806; border: 1px solid var(--acid); }
.button.primary:hover { background: transparent; color: var(--acid); box-shadow: 0 0 28px rgba(198,255,0,.16); }
.button.ghost { border: 1px solid rgba(255,255,255,.16); color: #c8cec9; }
.button.ghost:hover { border-color: rgba(198,255,0,.5); color: var(--acid); }
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
  color: #69736b;
  font: 500 9px/1 var(--mono);
  letter-spacing: .13em;
}
.status-row strong { color: #a7b0aa; font-weight: 600; }
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.scope-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring-one { width: 520px; height: 520px; animation: spin 25s linear infinite; border-style: dashed; }
.ring-two { width: 370px; height: 370px; border-color: rgba(255,255,255,.1); }
.ring-three { width: 210px; height: 210px; border-color: rgba(198,255,0,.34); box-shadow: inset 0 0 40px rgba(198,255,0,.025); }
.ring-one::before, .ring-two::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}
.ring-one::before { top: 45px; left: 90px; }
.ring-two::after { right: -4px; top: 50%; }
.crosshair { position: absolute; background: rgba(198,255,0,.12); }
.crosshair.horizontal { width: 92%; height: 1px; }
.crosshair.vertical { width: 1px; height: 92%; }
.core-logo {
  position: relative;
  z-index: 2;
  font: 800 72px/1 var(--mono);
  letter-spacing: -.15em;
  color: var(--acid);
  text-shadow: 0 0 32px rgba(198,255,0,.4);
}
.orbit-tag {
  position: absolute;
  border: 1px solid rgba(198,255,0,.28);
  background: rgba(5,7,6,.88);
  color: #8fa07f;
  padding: 7px 9px;
  font: 500 9px/1 var(--mono);
  letter-spacing: .08em;
}
.tag-one { top: 18%; right: 3%; }
.tag-two { left: 4%; top: 55%; }
.tag-three { right: 13%; bottom: 15%; }
.terminal-card {
  position: absolute;
  left: 3%;
  bottom: 7%;
  width: 270px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,10,8,.9);
  box-shadow: 0 18px 80px rgba(0,0,0,.6);
  transform: rotate(-3deg);
}
.terminal-top { height: 32px; display: flex; gap: 6px; align-items: center; padding: 0 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.terminal-top span { width: 6px; height: 6px; border-radius: 50%; background: #303830; }
.terminal-top b { margin-left: auto; font: 500 8px/1 var(--mono); color: #59625b; }
.terminal-card pre { margin: 0; padding: 16px; font: 500 10px/1.8 var(--mono); color: #778178; }
.terminal-card i { color: var(--acid); font-style: normal; }
.terminal-card span { color: #d4d9d5; }
.terminal-card b { color: var(--acid); }

.ticker { overflow: hidden; border-block: 1px solid rgba(198,255,0,.16); background: rgba(198,255,0,.025); }
.ticker-track { width: max-content; padding: 15px 0; animation: ticker 28s linear infinite; }
.ticker-track span { font: 600 10px/1 var(--mono); letter-spacing: .16em; color: #788078; margin: 0 28px; }
.ticker-track i { font-style: normal; color: var(--acid); font-size: 8px; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about h2 { font-size: clamp(54px, 7vw, 100px); }
.about-copy { max-width: 670px; }
.about-copy > p { color: #a4ada6; font-size: 18px; line-height: 1.75; margin: 0 0 22px; }
.principles { margin-top: 50px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.1); }
.principles div { padding: 22px 12px 0 0; display: flex; flex-direction: column; gap: 12px; }
.principles strong { color: var(--acid); font: 600 10px/1 var(--mono); }
.principles span { font-size: 13px; color: #c4cac5; }

.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; gap: 40px; }
.section-heading h2 { font-size: clamp(58px, 7vw, 96px); }
.section-heading p { max-width: 430px; color: var(--muted); line-height: 1.7; margin: 0 0 6px; }
/* Four equal columns for four builds. The old 1.25fr lead column existed to
   give a three-card row a focal point; with four cards an even row reads
   cleaner, and .featured still marks the flagship via its background tint. */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  overflow: hidden;
  transition: .3s ease;
}
.project-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 100%, rgba(198,255,0,.12), transparent 55%); transition: .3s; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(198,255,0,.38); }
.project-card:hover::before { opacity: 1; }
.project-card.featured { background: linear-gradient(155deg, rgba(198,255,0,.11), rgba(255,255,255,.018) 45%); }
.card-index { position: absolute; right: 18px; top: 18px; color: #3e473f; font: 600 11px/1 var(--mono); }
.card-icon { height: 105px; display: flex; align-items: center; font: 400 62px/1 var(--mono); color: var(--acid); }
/* Wraps because the columns are narrower now and a long game name plus a
   status chip no longer fit side by side at every width. */
.card-meta { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.card-meta span { border: 1px solid rgba(255,255,255,.1); padding: 5px 7px; font: 500 8px/1 var(--mono); color: #8d978f; letter-spacing: .1em; }
.card-meta span:last-child { color: var(--acid); border-color: rgba(198,255,0,.2); }
.project-card h3 { font-size: 30px; margin: 0 0 14px; letter-spacing: -.04em; }
.project-card p { color: #89928b; line-height: 1.65; font-size: 14px; min-height: 92px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tag-list span { color: #647067; font: 500 8px/1 var(--mono); letter-spacing: .1em; }
.project-card > a { position: absolute; bottom: 28px; left: 28px; right: 28px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); padding-top: 18px; font: 600 10px/1 var(--mono); color: #aab2ac; }
.project-card:hover > a { color: var(--acid); }

.research { background: #090c0a; border-block: 1px solid rgba(255,255,255,.07); }
.research-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.research h2 { font-size: clamp(58px, 7vw, 94px); }
.log-list { border-top: 1px solid rgba(255,255,255,.12); }
.log-row {
  display: grid;
  grid-template-columns: 110px 1fr 100px 24px;
  gap: 20px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: .25s ease;
}
.log-row:hover { padding-left: 12px; color: var(--acid); }
.log-date, .log-topic { font: 500 9px/1 var(--mono); color: #626c64; }
.log-title { font-size: 15px; color: #c8ceca; }
.log-arrow { color: var(--acid); }

.contact-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid rgba(198,255,0,.2);
  background: radial-gradient(circle at 84% 45%, rgba(198,255,0,.17), transparent 27%), #0b0f0c;
}
.contact-grid-bg { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(198,255,0,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(198,255,0,.18) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to left, black, transparent 75%); }
.contact-panel > *:not(.contact-grid-bg) { position: relative; z-index: 2; }
.contact h2 { font-size: clamp(62px, 8vw, 116px); }
.contact h2 span { color: var(--acid); }
.contact p { color: #8f9991; margin: 28px 0; font-size: 16px; }
.contact-code { position: absolute !important; right: 24px; bottom: 20px; color: #536057; font: 500 8px/1 var(--mono); letter-spacing: .1em; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; padding-block: 45px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-brand { transform: scale(.9); transform-origin: left center; }
.site-footer p { color: #606961; font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); color: #3d463f; font: 500 8px/1 var(--mono); letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-visual { min-height: 480px; }
  .about-grid, .research-inner { grid-template-columns: 1fr; gap: 50px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  /* Four cards divide evenly into 2x2 here. Letting .featured span the full
     width would leave a lone card on the last row. */
  .project-card.featured { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, 1240px); }
  .section-pad { padding-block: 78px; }
  .site-header { height: 68px; padding: 0 16px; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero h1 { font-size: clamp(52px, 17vw, 78px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 420px; transform: scale(.88); }
  .ring-one { width: 410px; height: 410px; }
  .ring-two { width: 300px; height: 300px; }
  .terminal-card { left: -3%; }
  .about-grid { gap: 34px; }
  .principles { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }
  .log-row { grid-template-columns: 82px 1fr 20px; gap: 12px; }
  .log-topic { display: none; }
  .contact-panel { min-height: 460px; padding: 38px 24px; }
  .contact h2 { font-size: clamp(52px, 16vw, 78px); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
