:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #0d0f0b;
  --paper: #dfd6c2;
  --ink: #f1eadc;
  --muted: #b5aa96;
  --line: #39352d;
  --hot: #a9201c;
  --acid: #b8e02c;
  --cyan: #69d5c8;
  --shadow: rgba(66, 42, 26, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(105, 213, 200, 0.07), transparent 28rem),
    radial-gradient(circle at 10% 22%, rgba(169, 32, 28, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(47, 59, 32, 0.18), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(200, 255, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 242, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.crt-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.08;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255, 255, 255, 0.22) 3px),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(255, 48, 48, 0.16) 14px);
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 12px clamp(22px, 5vw, 100px);
  border-bottom: 1px solid rgba(223, 214, 194, 0.18);
  background: rgba(5, 6, 4, 0.97);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.mark {
  display: inline-grid;
  min-width: 54px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  padding: 0 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 950;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

main {
  isolation: isolate;
}

.hero,
.live-embed,
.about,
.music,
.projects,
.timeline,
.manifesto,
.links,
.contact {
  position: relative;
  width: min(100%, 1640px);
  margin: 0 auto;
  padding: clamp(54px, 6vw, 92px) clamp(22px, 5vw, 100px);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 520px);
  gap: clamp(34px, 5.5vw, 104px);
}

.hero {
  min-height: calc(100vh - 71px);
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
}

.live-embed h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.embed-frame-wrap {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 10px 10px 0 var(--shadow);
  overflow: hidden;
}

.embed-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 66vh;
  border: 0;
  background: #000;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid var(--acid);
  padding: 5px 8px 4px;
  color: var(--acid);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 100%;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  position: relative;
  margin-bottom: 22px;
  max-width: 13ch;
  font-size: clamp(3.15rem, 3.78vw, 4.95rem);
  line-height: 1.02;
  text-shadow: 2px 0 rgba(169, 32, 28, 0.9);
}

h1::after {
  display: none;
}

.title-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 6vw, 6.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.6vw, 2.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.lede {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  font-weight: 800;
}

.intro,
.copy-block p,
.project-card p,
.timeline span,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.intro {
  max-width: 720px;
}

.button-row,
.link-stack,
.placeholder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button-row a,
.link-stack a,
.project-card a,
.placeholder-list a,
.contact-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--ink);
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button-row a:hover,
.link-stack a:hover,
.project-card a:hover,
.placeholder-list a:hover,
.contact-link:hover,
.icon-grid a:hover {
  background: var(--acid);
  color: var(--bg);
  transform: translate(-2px, -2px);
}

.terminal {
  align-self: stretch;
  min-width: 0;
  min-height: 420px;
  border: 1px solid rgba(223, 214, 194, 0.18);
  background:
    linear-gradient(135deg, rgba(60, 73, 39, 0.34), transparent 42%),
    linear-gradient(rgba(105, 213, 200, 0.065) 1px, transparent 1px),
    var(--panel);
  background-size: auto, 100% 18px, auto;
  box-shadow: 16px 16px 0 var(--shadow);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

pre {
  min-height: 230px;
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  overflow: hidden;
}

code {
  color: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
}

.fingerprint {
  margin: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: "Courier New", Courier, monospace;
}

.portrait-stamp {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 20px;
  border: 1px solid rgba(223, 214, 194, 0.14);
  padding: 10px;
  background: rgba(5, 6, 4, 0.7);
}

.portrait-stamp img {
  display: block;
  width: 96px;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.35);
}

.portrait-stamp figcaption {
  margin: 0;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.fingerprint span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

.fingerprint strong {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.copy-block {
  max-width: 860px;
}

.copy-block p {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 1080px;
  margin-bottom: 34px;
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.flyer-wall {
  position: relative;
  min-height: 410px;
}

.flyer {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--bg);
  font-size: clamp(1.35rem, 3vw, 3.1rem);
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.42);
  filter: grayscale(1) contrast(1.3);
}

.flyer::after {
  position: absolute;
  inset: 9px;
  border: 1px dashed var(--bg);
  content: "";
}

.flyer-one {
  inset: 0 auto auto 0;
  width: 62%;
  height: 270px;
  transform: rotate(-4deg);
}

.flyer-two {
  right: 3%;
  top: 70px;
  width: 50%;
  height: 210px;
  background: var(--hot);
  color: var(--ink);
  transform: rotate(5deg);
}

.flyer-three {
  left: 18%;
  bottom: 0;
  width: 58%;
  height: 170px;
  background: var(--acid);
  transform: rotate(2deg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 280px;
  border: 1px solid var(--line);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 48, 48, 0.12), transparent 45%),
    rgba(16, 16, 16, 0.88);
}

.project-card.wide {
  grid-column: span 3;
  min-height: 210px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.timeline ol {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

time {
  color: var(--hot);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.manifesto {
  background:
    linear-gradient(90deg, rgba(255, 48, 48, 0.2), transparent 18%),
    var(--bg);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.manifesto-grid p {
  min-height: 210px;
  margin: 0;
  padding: 18px;
  background: var(--bg);
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 10px;
}

.icon-grid a {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(16, 16, 16, 0.78);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 1rem;
}

.placeholder-list {
  max-width: 960px;
}

.contact {
  min-height: 52vh;
}

.contact p {
  max-width: 680px;
}

@media (max-width: 980px) {
  .section-grid,
  .music-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .terminal {
    width: 100%;
    min-height: 360px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 12vw, 6.8rem);
  }

  .project-grid,
  .manifesto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.wide {
    grid-column: span 2;
  }

  .icon-grid {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    display: grid;
    gap: 12px;
    padding: 12px 16px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 1px;
    border: 1px solid var(--line);
  }

  nav a {
    display: grid;
    min-height: 38px;
    place-items: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(16, 16, 16, 0.86);
    text-align: center;
    text-decoration: none;
  }

  nav a:nth-child(3n) {
    border-right: 0;
  }

  .hero,
  .live-embed,
  .about,
  .music,
  .projects,
  .timeline,
  .manifesto,
  .links,
  .contact {
    padding: 48px 16px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 15vw, 5.6rem);
    line-height: 0.98;
    text-shadow: 2px 0 var(--hot), -1px 0 rgba(53, 242, 255, 0.45);
  }

  .title-line {
    white-space: normal;
  }

  h1::after {
    display: none;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 4rem);
    line-height: 1;
  }

  .lede {
    font-size: clamp(1.08rem, 5vw, 1.35rem);
  }

  .button-row a,
  .link-stack a,
  .placeholder-list a,
  .contact-link {
    width: 100%;
    justify-content: center;
  }

  .flyer-wall {
    min-height: 330px;
  }

  .terminal {
    min-height: 0;
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .embed-frame-wrap {
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .embed-frame-wrap iframe {
    min-height: 72vh;
  }

  pre {
    min-height: 170px;
    padding: 14px;
  }

  code {
    font-size: 0.88rem;
  }

  .portrait-stamp {
    grid-template-columns: 72px minmax(0, 1fr);
    margin: 0 14px;
  }

  .portrait-stamp img {
    width: 72px;
  }

  .fingerprint {
    margin: 14px;
  }

  .project-grid,
  .manifesto-grid,
  .icon-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.wide {
    grid-column: auto;
    min-height: 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
