:root {
  --black: #010302;
  --black-2: #030806;
  --panel: #06100a;
  --panel-2: #08180d;
  --green: #58ff63;
  --green-hot: #9aff8d;
  --green-dim: #1e7d2c;
  --green-dark: #0b3b13;
  --white: #efffed;
  --muted: #89a88d;
  --line: rgba(88, 255, 99, .24);
  --header-height: 86px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 26px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -20%, rgba(40, 255, 65, .09), transparent 35%),
    linear-gradient(180deg, #010302, #020604 55%, #010302);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

::selection {
  color: #001503;
  background: var(--green);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: .8rem 1rem;
  color: #001503;
  background: var(--green);
  font-weight: 900;
}

.skip-link:focus { top: 1rem; }

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

.crt-overlay,
.screen-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.crt-overlay {
  z-index: 999;
  opacity: .22;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.018) 0,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
}

.crt-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,0,0,.18) 0,
      rgba(255,0,0,.18) 1px,
      rgba(0,255,0,.18) 1px,
      rgba(0,255,0,.18) 2px,
      rgba(0,0,255,.18) 2px,
      rgba(0,0,255,.18) 3px
    );
  background-size: 3px 100%;
}

.screen-vignette {
  z-index: 998;
  box-shadow:
    inset 0 0 160px rgba(0,0,0,.82),
    inset 0 0 28px rgba(0,0,0,.95);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(1, 5, 2, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 35px rgba(0,0,0,.35);
}

.brand {
  display: block;
  width: clamp(260px, 34vw, 430px);
  height: 60px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter:
    invert(1)
    sepia(1)
    saturate(9)
    hue-rotate(65deg)
    brightness(1.25)
    drop-shadow(0 0 8px rgba(88,255,99,.4));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.main-nav a::before {
  content: "[";
  margin-right: .2rem;
  color: transparent;
}

.main-nav a::after {
  content: "]";
  margin-left: .2rem;
  color: transparent;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--green);
  text-shadow: 0 0 10px rgba(88,255,99,.55);
}

.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav a:focus::before,
.main-nav a:focus::after {
  color: var(--green);
}

.menu-button {
  display: none;
  width: 46px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  color: var(--green);
  background: #020704;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  transition: .25s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding:
    calc(var(--header-height) + clamp(3rem, 7vw, 7rem))
    clamp(1.2rem, 5vw, 5rem)
    clamp(5rem, 8vw, 8rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: var(--header-height) 0 0;
  z-index: -2;
  background:
    linear-gradient(rgba(88,255,99,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,255,99,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  right: -10rem;
  top: 15%;
  border-radius: 50%;
  background: rgba(42,255,66,.09);
  filter: blur(110px);
}

.terminal-status {
  position: absolute;
  top: calc(var(--header-height) + 1rem);
  left: clamp(1.2rem, 5vw, 5rem);
  right: clamp(1.2rem, 5vw, 5rem);
  display: flex;
  justify-content: space-between;
  color: var(--green-dim);
  font-size: .66rem;
  letter-spacing: .12em;
}

.terminal-tag {
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-shadow: 0 0 12px rgba(88,255,99,.52);
}

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

h1, h2, h3 {
  font-family: "Arial Black", Impact, sans-serif;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(4.4rem, 9vw, 9rem);
  line-height: .82;
  letter-spacing: -.065em;
  text-shadow:
    3px 0 rgba(88,255,99,.16),
    -2px 0 rgba(255,255,255,.08);
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--green);
  filter: drop-shadow(0 0 8px rgba(88,255,99,.3));
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .9;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: .9rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .92;
  letter-spacing: -.04em;
}

.hero-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions,
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.crt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid var(--green-dim);
  color: var(--green);
  background: rgba(3, 18, 7, .62);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  box-shadow:
    inset 0 0 14px rgba(88,255,99,.035),
    0 0 0 rgba(88,255,99,0);
  transition: .22s ease;
}

.crt-button:hover,
.crt-button:focus {
  color: #001903;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(88,255,99,.3);
  transform: translateY(-2px);
}

.crt-button.primary {
  color: #001903;
  background: var(--green);
  border-color: var(--green);
}

.crt-button.primary:hover {
  background: var(--green-hot);
}

.boot-log {
  display: grid;
  gap: .25rem;
  margin-top: 2.5rem;
  color: var(--green-dim);
  font-size: .7rem;
  text-transform: uppercase;
}

.screen-frame {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(88,255,99,.5);
  background: #020804;
  box-shadow:
    inset 0 0 50px rgba(88,255,99,.05),
    0 0 80px rgba(29,255,49,.08);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.screen-frame::before,
.screen-frame::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--green);
}

.screen-frame::before {
  top: -7px;
  left: -7px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.screen-frame::after {
  right: -7px;
  bottom: -7px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.screen-bar,
.screen-footer,
.terminal-window-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--green);
  font-size: .66rem;
  letter-spacing: .1em;
}

.screen-bar {
  padding: 0 0 .8rem;
}

.screen-footer {
  padding: .8rem 0 0;
}

.screen-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.03;
  border: 1px solid rgba(88,255,99,.25);
  background: #000;
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    saturate(1.1)
    contrast(1.08)
    brightness(.86);
}

.screen-image::after,
.release-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,0,0,.025), rgba(0,255,0,.015), rgba(0,0,255,.025)),
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.25) 2px 4px);
  mix-blend-mode: screen;
}

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 4rem);
}

.section + .section {
  border-top: 1px solid rgba(88,255,99,.12);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.release-grid {
  display: grid;
  gap: 2rem;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(88,255,99,.04), transparent 30%),
    rgba(3, 10, 5, .88);
  box-shadow: inset 0 0 55px rgba(88,255,99,.025);
  overflow: hidden;
}

.release-card:nth-child(even) .release-art {
  order: 2;
}

.release-art {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #000;
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.release-card:hover .release-art img {
  transform: scale(1.035);
  filter: contrast(1.05) brightness(.9);
}

.art-scan {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(88,255,99,.11), transparent);
  animation: scan-art 5.5s linear infinite;
  pointer-events: none;
}

@keyframes scan-art {
  to { transform: translateY(780%); }
}

.release-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.catalog-id {
  margin-bottom: 1rem;
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .13em;
}

.release-copy > p:not(.catalog-id) {
  max-width: 620px;
  color: var(--muted);
}

.catalog-footer {
  margin-top: 2.5rem;
}

.roster-section {
  max-width: 1320px;
}

.roster-terminal,
.demo-console {
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(88,255,99,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,255,99,.025) 1px, transparent 1px),
    rgba(2, 9, 4, .9);
  background-size: 28px 28px;
  box-shadow:
    inset 0 0 65px rgba(88,255,99,.035),
    0 0 50px rgba(0,0,0,.35);
}

.terminal-window-bar {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roster-grid span {
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-weight: 900;
  letter-spacing: .06em;
  transition: .2s;
}

.roster-grid span:nth-child(3n) {
  border-right: 0;
}

.roster-grid span b {
  margin-right: .75rem;
  color: var(--green-dim);
}

.roster-grid span:hover {
  color: #001603;
  background: var(--green);
  text-shadow: none;
}

.roster-grid span:hover b {
  color: #001603;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-screen {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(88,255,99,.08), transparent 65%),
    #020704;
  box-shadow: inset 0 0 55px rgba(88,255,99,.06);
}

.about-screen::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(110deg, transparent 42%, rgba(88,255,99,.06) 50%, transparent 58%);
  animation: sweep 6s linear infinite;
}

@keyframes sweep {
  from { transform: translateX(-50%); }
  to { transform: translateX(50%); }
}

.ascii-mark {
  display: flex;
  justify-content: center;
  color: var(--green);
  text-shadow: 0 0 14px rgba(88,255,99,.46);
  transform: scale(.85);
}

.ascii-mark pre {
  margin: 0;
  font-size: clamp(.58rem, 1.25vw, 1rem);
  line-height: 1.15;
}

.about-copy p:not(.terminal-tag) {
  color: var(--muted);
  font-size: 1.04rem;
}

.demo-console {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: clamp(1.5rem, 5vw, 4rem);
}

.console-copy > p:not(.terminal-tag),
.form-note {
  color: var(--muted);
}

.console-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.console-list li::marker {
  color: var(--green);
}

.email-display {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green);
  border-bottom: 1px solid var(--green-dim);
  word-break: break-word;
  text-shadow: 0 0 10px rgba(88,255,99,.3);
}

.demo-form {
  display: grid;
  gap: 1rem;
}

.demo-form label {
  display: grid;
  gap: .42rem;
  color: var(--green-dim);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}

input,
textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(88,255,99,.22);
  border-radius: 0;
  outline: none;
  color: var(--green);
  background: rgba(0,5,2,.9);
  caret-color: var(--green);
  box-shadow: inset 0 0 18px rgba(88,255,99,.02);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(88,255,99,.08);
}

.form-note {
  margin: 0;
  font-size: .7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.contact-block {
  display: grid;
  gap: .65rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: rgba(3,10,5,.8);
}

.contact-block + .contact-block {
  border-left: 1px solid var(--line);
}

.contact-block span {
  color: var(--green-dim);
  font-size: .7rem;
  letter-spacing: .12em;
}

.contact-block strong {
  color: var(--green);
  font-size: clamp(.92rem, 1.7vw, 1.3rem);
  word-break: break-word;
}

.contact-block:hover {
  background: rgba(88,255,99,.07);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.social-grid a {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.social-grid a:hover {
  color: #001503;
  background: var(--green);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem clamp(1.2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--green-dim);
  font-size: .68rem;
  letter-spacing: .07em;
}

.site-footer img {
  width: 240px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  filter:
    invert(1)
    sepia(1)
    saturate(8)
    hue-rotate(65deg)
    brightness(1.1);
  opacity: .72;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 1100;
  right: 1rem;
  bottom: 1rem;
  max-width: 360px;
  padding: .9rem 1rem;
  color: #001403;
  background: var(--green);
  font-size: .75rem;
  font-weight: 900;
  transform: translateY(150%);
  transition: transform .25s;
  box-shadow: 0 0 35px rgba(88,255,99,.25);
}

.toast.show {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.config-link.is-placeholder {
  opacity: .52;
  cursor: not-allowed;
}

@media (max-width: 1000px) {
  :root { --header-height: 74px; }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: rgba(1,5,2,.98);
    transform: translateX(100%);
    transition: transform .3s;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1rem;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-screen {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .screen-frame {
    transform: none;
  }

  .release-card {
    grid-template-columns: 1fr;
  }

  .release-card:nth-child(even) .release-art {
    order: 0;
  }

  .release-art {
    min-height: auto;
    aspect-ratio: 1;
  }

  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roster-grid span:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .roster-grid span:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  h2 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .terminal-status {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .about-section,
  .demo-console,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-block + .contact-block {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 230px;
    height: 52px;
  }

  .roster-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .roster-grid span,
  .roster-grid span:nth-child(2n),
  .roster-grid span:nth-child(3n) {
    border-right: 0;
  }

  .screen-frame {
    padding: .6rem;
  }

  .screen-bar,
  .screen-footer {
    font-size: .56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
