:root {
  --bg: #080808;
  --bg-soft: #111111;
  --panel: #0e0e0e;
  --line: #2a2a2a;
  --text: #f4f4f4;
  --muted: #9d9d9d;
  --yellow: #ffd200;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 9999;
  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='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.scanline {
  position: fixed;
  height: 110px;
  left: 0;
  right: 0;
  top: -130px;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,210,0,.018), transparent);
  animation: scan 14s linear infinite;
}
@keyframes scan { to { transform: translateY(calc(100vh + 260px)); } }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.03em;
  font-size: 1.1rem;
}

.brand-bolt {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  background: var(--yellow);
  color: #000;
  clip-path: polygon(42% 0, 100% 0, 65% 42%, 86% 42%, 20% 100%, 38% 56%, 13% 56%);
  font-size: 0;
}

.accent { color: var(--yellow); }

nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: #c4c4c4;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
}
nav a:hover { color: var(--yellow); }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding-top: 70px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.06em;
  font-weight: 950;
  max-width: 900px;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1px #8b8b8b;
  text-stroke: 1px #8b8b8b;
}

.lede {
  max-width: 720px;
  color: #c8c8c8;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 950;
  border: 1px solid var(--line);
  transition: .18s ease;
}

.button-primary {
  color: #000;
  background: var(--yellow);
  border-color: var(--yellow);
}
.button-primary:hover {
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 #fff;
}

.button-ghost:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.mark-wrap {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #030303;
  border: 1px solid #292929;
  box-shadow: 0 0 80px rgba(255,210,0,.06);
}

.mark-wrap img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255,210,0,.06));
}

.mark-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  padding-top: 10px;
  border-top: 1px solid #242424;
  color: #777;
  font: 700 .57rem/1.4 Consolas, "Courier New", monospace;
  letter-spacing: .1em;
  text-align: center;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--yellow);
  opacity: .75;
}
.corner-tl { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.corner-tr { top: 8px; right: 8px; border-top: 1px solid; border-right: 1px solid; }
.corner-bl { bottom: 8px; left: 8px; border-bottom: 1px solid; border-left: 1px solid; }
.corner-br { bottom: 8px; right: 8px; border-bottom: 1px solid; border-right: 1px solid; }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  background: var(--yellow);
  color: #000;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
  animation: ticker 30s linear infinite;
  font-weight: 950;
  font-size: .78rem;
  letter-spacing: .12em;
}
.ticker-track b { font-size: 1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-block {
  padding-top: 130px;
  padding-bottom: 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: .7fr 1fr;
  column-gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -.05em;
  text-transform: uppercase;
  line-height: .9;
}
.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-card {
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9,9,9,.75);
  position: relative;
  overflow: hidden;
  transition: .22s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid #202020;
  transform: rotate(45deg);
  transition: .22s ease;
}
.project-card:hover {
  background: #111;
  transform: translateY(-3px);
}
.project-card:hover::after { border-color: #4b4200; }

.project-card.featured {
  background:
    linear-gradient(135deg, rgba(255,210,0,.08), transparent 40%),
    #0b0b0b;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
}
.project-index {
  color: #666;
  font: 700 .72rem Consolas, monospace;
}
.status {
  color: var(--yellow);
  font: 800 .62rem Consolas, monospace;
  letter-spacing: .08em;
}
.status i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255,210,0,.6);
}
.status.muted { color: #6d6d6d; }

.project-card h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.project-card p {
  color: #aaa;
  line-height: 1.65;
  max-width: 600px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.tags span {
  padding: 6px 8px;
  border: 1px solid #303030;
  color: #8d8d8d;
  font: 700 .58rem Consolas, monospace;
  letter-spacing: .08em;
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.about h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .93;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.about-copy {
  color: #b0b0b0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}
.about-copy p + p { margin-top: 28px; }
.signature {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: .04em;
}

.footer-cta {
  padding-top: 100px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}
.footer-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.05em;
}
.footer-cta > p:last-child { color: #8f8f8f; }

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #666;
  font: 700 .66rem Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-code span { color: var(--yellow); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }
  .hero-art { justify-content: flex-start; }
  .mark-wrap { width: min(100%, 420px); }
  .section-heading,
  .about {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 28px), var(--max));
    min-height: 70px;
  }
  nav { gap: 14px; }
  nav a { font-size: .66rem; }
  .brand { font-size: .92rem; }

  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 70px;
  }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .section-block { padding-top: 90px; padding-bottom: 90px; }
  .project-card { padding: 26px; min-height: 310px; }
  .project-meta { margin-bottom: 46px; }
  footer {
    width: min(calc(100% - 28px), var(--max));
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scanline, .ticker-track { animation: none; }
  * { transition: none !important; }
}
