:root {
  --bg: #000;
  --fg: #fff;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --body: "Inter", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  /* faint scan lines */
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter);
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 14px; letter-spacing: .5px; }
.topbar-mark img { width: 32px; height: 32px; object-fit: contain; }
.menu { display: flex; gap: 4px; }
.menu a {
  text-decoration: none; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 12px; white-space: nowrap;
}
.menu a:hover { background: #1a1a1a; }
.menu a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.menu .short { display: none; }

/* page headers (video, demo) */
.page-head { padding: clamp(48px, 8vw, 96px) var(--gutter) 0; max-width: 1200px; }
.page-head h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(36px, 10.5vw, 160px); line-height: .85; letter-spacing: -.03em; margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.lede { max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #cfcfcf; margin: 0 0 24px; }
.lede a { text-underline-offset: 4px; }

/* call to action link */
.cta {
  display: inline-block; margin-top: 12px; text-decoration: none;
  border: 2px solid var(--fg); padding: 12px 18px;
  font-family: var(--display); text-transform: uppercase; font-size: 15px; letter-spacing: 1px;
}
.cta:hover { background: var(--fg); color: var(--bg); }

/* merch: coming soon */
.coming-soon {
  min-height: calc(100vh - 160px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 48px var(--gutter);
}
.coming-soon h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(64px, 16vw, 200px); line-height: .85; letter-spacing: -.03em; margin: 0 0 24px;
}
.coming-soon .tagline { font-size: clamp(18px, 3vw, 32px); margin-bottom: 24px; }
.coming-soon .hero-logo { margin: 0 auto 16px; }

/* videos */
.video-grid { display: grid; gap: 32px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #0d0d0d; border: 1px solid var(--line); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .meta { padding: 10px 2px 0; }
.video .title { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.video .artist { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

/* hero */
.hero { padding: clamp(48px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 96px); max-width: 1200px; }
.hero-logo { width: clamp(110px, 18vw, 180px); filter: grayscale(1) contrast(1.2); margin-bottom: 16px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 16vw, 200px);
  line-height: .85;
  letter-spacing: -.03em;
  margin: 0 0 28px;
}
/* mission statement: 8-bit arcade type */
.mission {
  max-width: 720px; margin: 0 0 28px;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(10px, 1.05vw, 13px); line-height: 2.1; color: #e6e6e6;
}
.mission p { margin: 0; }
.mission .mission-prompt { color: #7a7a7a; margin-bottom: 14px; }
.cursor {
  display: inline-block; width: .7em; height: 1em; margin-left: 6px;
  background: var(--fg); vertical-align: -.15em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tagline {
  display: inline-block; margin: 0;
  background: var(--fg); color: var(--bg);
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(15px, 2vw, 22px); padding: 6px 12px;
}

/* sections */
.section { padding: clamp(40px, 7vw, 80px) var(--gutter); }
.section-title {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(24px, 4vw, 40px); margin: 0 0 28px;
}
.section-title .rule { flex: 1; height: 2px; background: var(--fg); }
.section-title .count { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }

/* release grid */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 4px;
  grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr));
}
.release a { display: block; text-decoration: none; }
.release .cover {
  aspect-ratio: 1; width: 100%; object-fit: cover;
  background: #161616;
  transition: transform .2s ease, filter .2s ease;
}
.release a:hover .cover { filter: brightness(1.15); transform: scale(1.015); }
.release .placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); color: #333; font-size: 28px;
  border: 1px solid var(--line);
}
.release .meta { padding: 10px 2px 18px; }
.release .catalog { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #666; margin: 0 0 4px; }
.release .title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.release .artist { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

/* demo form */
.demo-intro { max-width: 560px; color: #cfcfcf; line-height: 1.6; margin: 0 0 28px; }
.form { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: 15px var(--body); color: var(--fg);
  background: #0d0d0d; border: 1px solid var(--line); border-radius: 0;
  padding: 12px; outline: none; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--fg); }
.form input::placeholder, .form textarea::placeholder { color: #555; }
.form button {
  margin-top: 8px; padding: 16px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--fg); color: var(--bg);
  font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.form button:hover { background: #d9d9d9; }
.form button:disabled { opacity: .5; cursor: wait; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 700; }

/* footer */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px var(--gutter); margin-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .topbar-mark span { display: none; }
  .menu .long { display: none; }
  .menu .short { display: inline; }
}

@media (max-width: 600px) {
  .form .row { grid-template-columns: 1fr; }
  .menu { gap: 0; }
  .menu a { font-size: 11px; letter-spacing: 1px; padding: 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .release .cover { transition: none; }
  .cursor { animation: none; }
}
