:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --panel-2: #111111;
  --ink: #f1eadb;
  --muted: #9b968e;
  --slime: #9df10b;
  --slime-hot: #caff26;
  --pink: #ff1493;
  --purple: #7e2f9f;
  --yellow: #e9ff2f;
  --line: rgba(241, 234, 219, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(157, 241, 11, .06), transparent 31rem),
    radial-gradient(circle at 86% 22%, rgba(255, 20, 147, .055), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--pink); color: #000; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5,5,5,.88), rgba(5,5,5,.3), transparent);
  backdrop-filter: blur(6px);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(5,5,5,.9);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}

.mini-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(157,241,11,.18);
}

nav { display: flex; gap: clamp(14px, 2.6vw, 34px); }
nav a {
  position: relative;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .15em;
  color: #d7d0c5;
}
nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: -7px;
  background: var(--slime);
  transition: right .18s ease;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.hero {
  min-height: 100svh;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.signal,
.section-kicker,
.project-status,
.tiny-note {
  color: var(--slime);
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
}

.signal { margin: 0 0 22px; opacity: .85; }

.logo-glitch {
  position: relative;
  width: min(1080px, 100%);
  isolation: isolate;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.65));
}
.logo { width: 100%; }
.logo-ghost {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.logo-glitch.glitching .logo-ghost-a {
  opacity: .24;
  transform: translate(-5px, 1px);
  filter: hue-rotate(75deg) saturate(1.8);
  clip-path: inset(18% 0 58% 0);
}
.logo-glitch.glitching .logo-ghost-b {
  opacity: .18;
  transform: translate(6px, -1px);
  filter: hue-rotate(240deg) saturate(1.7);
  clip-path: inset(58% 0 17% 0);
}

.tagline {
  margin: 20px 0 4px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.5rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.tagline span { color: var(--slime); text-shadow: 2px 2px 0 var(--purple); }
.hero-copy { margin: 14px auto 0; max-width: 620px; color: var(--muted); }

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.button {
  min-width: 190px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--slime); color: #070707; border-color: var(--slime); }
.button-primary:hover { background: var(--slime-hot); }
.button-secondary:hover { border-color: var(--pink); color: var(--pink); }

.signal-toggle {
  margin-top: 34px;
  appearance: none;
  border: 0;
  border-bottom: 1px dashed rgba(241,234,219,.25);
  background: transparent;
  color: #77736d;
  padding: 6px 2px;
  font: inherit;
  font-size: .64rem;
  letter-spacing: .12em;
  cursor: pointer;
}
.signal-toggle:hover { color: var(--slime); }

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.project-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  min-height: 390px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(157,241,11,.07), transparent 38%),
    linear-gradient(315deg, rgba(255,20,147,.05), transparent 36%),
    var(--panel);
  overflow: hidden;
}
.project-copy { padding: clamp(28px, 5vw, 70px); align-self: center; }
.project-status { display: flex; align-items: center; gap: 8px; }
.project-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slime);
  box-shadow: 0 0 12px var(--slime);
}
.project-card h2,
.studio h2,
.contact h2 {
  margin: 18px 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  line-height: .95;
  letter-spacing: .035em;
}
.project-card h2 { font-size: clamp(3.2rem, 8vw, 7.4rem); }
.project-copy p { max-width: 670px; color: #c3bdb2; }
.project-note { color: var(--pink) !important; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.project-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.project-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 4px 5px);
  pointer-events: none;
}
.project-mark img {
  width: min(72%, 310px);
  border-radius: 50%;
  filter: saturate(.9) contrast(1.05);
  opacity: .68;
}
.project-mark-copy {
  position: absolute;
  bottom: 22px;
  right: 24px;
  text-align: right;
  color: var(--pink);
  font-size: .66rem;
  letter-spacing: .2em;
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.studio h2 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.studio-copy { padding-top: 24px; color: #bbb4aa; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.studio-copy p + p { margin-top: 28px; }

.contact { text-align: center; }
.contact h2 { font-size: clamp(3.6rem, 10vw, 9rem); color: var(--slime); text-shadow: 3px 3px 0 var(--purple); }
.contact > p { color: var(--muted); }
.social-grid {
  width: min(860px, 100%);
  margin: 42px auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.social-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: .1em;
  font-size: .72rem;
  background: rgba(255,255,255,.01);
  transition: color .15s ease, background .15s ease;
}
.social-grid a:hover, .social-grid a:focus-visible { color: #050505; background: var(--slime); }
.social-grid span { font-size: 1rem; }
.email-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--pink);
  text-underline-offset: 6px;
  letter-spacing: .07em;
}
.tiny-note { margin-top: 20px !important; color: #66625d !important; }

footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #6f6a63;
  font-size: .64rem;
  letter-spacing: .08em;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #aaa49b; }
.footer-brand img { width: 28px; height: 28px; border-radius: 50%; }
footer p { margin: 0; text-align: right; }

.scanlines,
.screen-noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
}
.scanlines {
  opacity: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.035) 4px, rgba(0,0,0,.08) 5px);
  transition: opacity .2s ease;
}
.screen-noise {
  opacity: 0;
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,0,80,.01) 0 1px, rgba(0,255,140,.008) 1px 2px, transparent 2px 4px);
  mix-blend-mode: screen;
}
body.crt-on .scanlines { opacity: .5; }
body.crt-on .screen-noise { opacity: .6; animation: noiseShift .13s steps(2) infinite; }
body.crt-on { text-shadow: .4px 0 rgba(255,20,147,.35), -.4px 0 rgba(90,255,120,.26); }
body.crt-on main { animation: crtBreathe 4.8s ease-in-out infinite; }

.crt-boot {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
  animation: bootAway 1.55s ease forwards;
}
.boot-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 24px white;
  animation: bootDot .65s ease forwards;
}
.boot-line {
  width: 0;
  height: 2px;
  background: white;
  box-shadow: 0 0 18px rgba(255,255,255,.9);
  animation: bootLine .5s .5s ease forwards;
}

@keyframes bootDot {
  0% { transform: scale(0); opacity: 0; }
  45% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(.2); opacity: .9; }
}
@keyframes bootLine {
  0% { width: 0; opacity: 1; }
  75% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}
@keyframes bootAway {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes noiseShift {
  0% { transform: translate(0,0); }
  25% { transform: translate(1px,-1px); }
  50% { transform: translate(-1px,1px); }
  75% { transform: translate(1px,1px); }
  100% { transform: translate(0,0); }
}
@keyframes crtBreathe {
  0%, 100% { filter: brightness(1) contrast(1); }
  50% { filter: brightness(.985) contrast(1.015); }
}

@media (max-width: 820px) {
  .site-header { height: 62px; }
  .mini-brand span { display: none; }
  nav { gap: 14px; }
  nav a { font-size: .62rem; }
  .hero { padding-top: 98px; }
  .project-card { grid-template-columns: 1fr; }
  .project-mark { border-left: 0; border-top: 1px solid var(--line); min-height: 240px; }
  .studio { grid-template-columns: 1fr; gap: 12px; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}

@media (max-width: 520px) {
  .hero { width: min(100% - 20px, var(--max)); }
  .section, footer { width: min(100% - 28px, var(--max)); }
  .signal { letter-spacing: .09em; }
  .tagline { font-size: clamp(1.34rem, 8vw, 2.2rem); }
  .hero-actions { width: 100%; }
  .button { width: 100%; }
  .social-grid { grid-template-columns: 1fr; }
  .project-copy { padding: 28px 22px; }
  .contact h2 { font-size: clamp(2.7rem, 15vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .crt-boot { display: none; }
}
