:root {
  --black: #030303;
  --black-2: #070707;
  --graphite: #151515;
  --graphite-2: #1d1d1d;
  --red: #ff1a1a;
  --red-hot: #ff2a2a;
  --deep-red: #7a0000;
  --white: #f2f2f2;
  --muted: #999999;
  --dim: #777777;
  --line: rgba(255, 42, 42, 0.24);
  --max: 1180px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--black);
  color: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 0, 0, 0.22), transparent 36rem),
    linear-gradient(180deg, var(--black), #090606 48%, var(--black));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

.section-shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-block: 64px 42px;
  isolation: isolate;
}

.phase-bg,
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.phase-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 760px;
  opacity: 0.54;
}

.phase-image {
  position: absolute;
  inset: -7vh -8vw;
  width: 116vw;
  height: 114vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.74;
  filter: brightness(0.58) contrast(1.14) saturate(1.12);
  mix-blend-mode: screen;
}

.grid-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.node-aura {
  animation: nodePulse 8s ease-in-out infinite;
}

.origin-node,
.mark-node,
.particles circle {
  fill: var(--red-hot);
}

.origin-node {
  animation: nodePulse 2.8s ease-in-out infinite;
}

.filament-field path,
.split-rays path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.filament-field path {
  stroke: rgba(255, 42, 42, 0.72);
  stroke-width: 1.35;
  animation: filamentDrift 11s ease-in-out infinite alternate;
}

.filament-field path:nth-child(2) {
  animation-duration: 13s;
  animation-delay: -2s;
}

.filament-field path:nth-child(3) {
  stroke: rgba(255, 255, 255, 0.34);
  animation-duration: 9s;
  animation-delay: -4s;
}

.filament-field path:nth-child(4) {
  stroke: rgba(122, 0, 0, 0.8);
  animation-duration: 15s;
}

.split-rays path {
  stroke: rgba(255, 42, 42, 0.24);
  stroke-width: 1;
  stroke-dasharray: 4 12;
}

.particles circle {
  opacity: 0.7;
  animation: particleDrift 7s ease-in-out infinite alternate;
}

.hero-noise {
  z-index: -1;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 8px
    ),
    radial-gradient(circle at center, transparent 0 34%, rgba(3, 3, 3, 0.9) 78%);
}

.hero-content {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  max-width: 860px;
  text-align: center;
}

.hero-content::before {
  position: absolute;
  inset: -34px -42px;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at center, rgba(3, 3, 3, 0.78), rgba(3, 3, 3, 0.22) 58%, transparent 74%);
}

.bp-mark {
  width: clamp(180px, 26vw, 310px);
  aspect-ratio: 15 / 11;
  margin-bottom: 8px;
}

.mark-heavy,
.mark-line {
  fill: transparent;
  stroke: var(--red-hot);
  stroke-width: 9;
  stroke-linejoin: round;
}

.mark-cut {
  fill: var(--black);
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 2;
}

.sigil {
  fill: none;
  stroke: rgba(255, 42, 42, 0.8);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.kicker,
.eyebrow,
.metadata,
.scroll-cue,
.site-footer code {
  margin: 0;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-block: 6px 0;
  font-size: clamp(5.8rem, 20vw, 15rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow:
    0 0 26px rgba(255, 42, 42, 0.46),
    0 0 74px rgba(122, 0, 0, 0.56);
}

.bel-title {
  margin-block: 14px 0;
  color: var(--red-hot);
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin-block: 24px 0;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

.hero-copy p {
  margin: 0;
}

.hero-copy p + p {
  color: var(--muted);
}

.cta-row {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.cta-row.compact {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(21, 21, 21, 0.78);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.button-primary {
  border-color: rgba(255, 42, 42, 0.82);
  background: linear-gradient(135deg, var(--deep-red), var(--red));
}

.button:hover {
  border-color: var(--red-hot);
  box-shadow: 0 0 30px rgba(255, 42, 42, 0.26);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  color: var(--dim);
  text-decoration: none;
  transform: translateX(-50%);
}

.identity,
.release,
.manifesto {
  padding-block: clamp(72px, 12vw, 136px);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.release h2 {
  margin-block: 10px 18px;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow),
.release-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.identity-card {
  min-height: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(29, 29, 29, 0.82), rgba(7, 7, 7, 0.9)),
    radial-gradient(circle at 50% 0, rgba(255, 42, 42, 0.18), transparent 60%);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.identity-card:hover {
  border-color: rgba(255, 42, 42, 0.58);
  box-shadow: 0 0 36px rgba(122, 0, 0, 0.26);
  transform: translateY(-3px);
}

.identity-card h3 {
  margin: 18px 0 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.card-visual {
  display: grid;
  height: 170px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 42, 0.18);
  background:
    linear-gradient(rgba(255, 42, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 42, 0.08) 1px, transparent 1px),
    var(--black-2);
  background-size: 28px 28px;
}

.card-visual svg {
  width: 92%;
  height: 82%;
  overflow: visible;
}

.card-visual path {
  fill: none;
  stroke: var(--red-hot);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  filter: drop-shadow(0 0 10px rgba(255, 42, 42, 0.62));
}

.card-visual circle {
  fill: var(--red-hot);
}

.terminal-line {
  color: var(--red-hot);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(0.9rem, 2vw, 1.25rem);
}

.terminal-line span,
.site-footer code span {
  display: inline-block;
  width: 0.65ch;
  height: 1.1em;
  margin-left: 2px;
  background: var(--red-hot);
  vertical-align: -0.18em;
  animation: caretBlink 1s steps(1) infinite;
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
}

.metadata {
  margin-top: 4px;
}

.cover-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 42, 0.3);
  background: #050303;
  box-shadow:
    0 0 60px rgba(122, 0, 0, 0.28),
    inset 0 0 80px rgba(255, 42, 42, 0.08);
}

.cover-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: brightness(0.66) contrast(1.12) saturate(1.05);
}

.cover-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at center, rgba(255, 42, 42, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.08), rgba(3, 3, 3, 0.66));
}

.cover-card div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  text-align: center;
}

.cover-card strong {
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 950;
  line-height: 0.8;
  text-shadow: 0 0 34px rgba(255, 42, 42, 0.68);
}

.cover-card span {
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 7vw, 80px);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-copy {
  display: grid;
  gap: 18px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1.1;
}

.manifesto-copy p {
  margin: 0;
}

.poster-lines {
  display: grid;
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 9rem);
  font-weight: 950;
  line-height: 0.82;
  text-align: right;
  text-transform: uppercase;
}

.poster-white {
  color: var(--white);
}

.poster-red {
  color: var(--red-hot);
  text-shadow: 0 0 30px rgba(255, 42, 42, 0.56);
}

.poster-gray {
  color: #656565;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding-block: 34px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--red-hot);
}

.site-footer code {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .identity-grid,
  .release,
  .manifesto,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .identity-card {
    min-height: 220px;
  }

  .cta-row {
    width: 100%;
  }

  .button {
    flex: 1 1 180px;
  }

  .cta-row.compact .button {
    flex-basis: 100%;
  }

  .poster-lines {
    text-align: left;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section-shell {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-block: 42px 36px;
  }

  .bp-mark {
    width: 180px;
  }

  .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-copy,
  .cta-row {
    width: min(100%, 360px);
  }

  .identity,
  .release,
  .manifesto {
    padding-block: 68px;
  }

  .card-visual {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
    transform-origin: center;
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes filamentDrift {
  from {
    opacity: 0.55;
    transform: translate3d(-4px, 2px, 0);
  }

  to {
    opacity: 0.92;
    transform: translate3d(5px, -3px, 0);
  }
}

@keyframes particleDrift {
  from {
    opacity: 0.35;
    transform: translateY(-8px);
  }

  to {
    opacity: 0.9;
    transform: translateY(8px);
  }
}

@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}
