:root {
  color-scheme: dark;
  --void: #030306;
  --black: #08090d;
  --panel: rgba(13, 15, 20, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f5f0ec;
  --muted: #b8b3b8;
  --red: #ff2435;
  --magenta: #d44cff;
  --cyan: #65f0ff;
  --green: #4cffbd;
  --amber: #ffb15b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 36, 53, 0.13), transparent 29rem),
    linear-gradient(180deg, #030306 0%, #101016 45%, #06070a 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.signal-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(3, 3, 6, 0.86), rgba(3, 3, 6, 0));
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark-logo {
  width: clamp(4.4rem, 8vw, 6.4rem);
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(101, 240, 255, 0.32))
    drop-shadow(0 0 18px rgba(255, 36, 53, 0.22));
}

.mark-name {
  text-shadow: 0 0 16px rgba(101, 240, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.4rem);
  color: rgba(245, 240, 236, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: clamp(6rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade,
.scanlines {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media {
  background-image: url("assets/dark-veil.jpg");
  background-size: cover;
  background-position: 50% 47%;
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.05) brightness(0.8);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 6, 0.95) 0%, rgba(3, 3, 6, 0.67) 36%, rgba(3, 3, 6, 0.1) 74%),
    linear-gradient(0deg, rgba(3, 3, 6, 0.88) 0%, rgba(3, 3, 6, 0.08) 44%, rgba(3, 3, 6, 0.52) 100%);
}

.scanlines {
  z-index: -1;
  opacity: 0.28;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.1) 0,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px,
    transparent 5px
  );
  animation: scan-drift 7s linear infinite;
}

.hero-content {
  width: min(780px, 100%);
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  margin: 0;
  max-width: 12ch;
  color: var(--text);
  font-size: clamp(3.6rem, 11vw, 9.3rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 28px rgba(255, 36, 53, 0.38),
    0 0 46px rgba(101, 240, 255, 0.18);
}

h1::before,
h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
}

h1::before {
  color: var(--red);
  transform: translate(0.04em, 0);
  clip-path: inset(6% 0 62% 0);
  animation: title-glitch 5s infinite steps(1);
}

h1::after {
  color: var(--cyan);
  transform: translate(-0.035em, 0);
  clip-path: inset(64% 0 10% 0);
  animation: title-glitch 6.5s infinite steps(1) reverse;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(245, 240, 236, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
}

.hero-actions,
.final-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: #fff;
  border-color: rgba(255, 36, 53, 0.9);
  box-shadow: 0 0 32px rgba(255, 36, 53, 0.28);
}

.button.ghost {
  background: rgba(3, 3, 6, 0.48);
  color: var(--cyan);
  border-color: rgba(101, 240, 255, 0.42);
}

.release-chip {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(19rem, calc(100% - 2rem));
  padding: 1rem;
  border-left: 2px solid var(--red);
  background: rgba(5, 6, 10, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.release-chip span,
.release-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-chip strong {
  display: block;
  margin: 0.2rem 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
  text-transform: uppercase;
}

.band {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.section-grid,
.artifact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.intro-band {
  background:
    linear-gradient(180deg, rgba(3, 3, 6, 0.95), rgba(12, 14, 18, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 90px);
}

.section-copy h2,
.artifact-copy h2,
.section-heading h2,
.final-signal h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-copy p,
.artifact-copy p,
.final-signal p {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: rgba(245, 240, 236, 0.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

blockquote {
  margin: 2rem 0 0;
  padding: 1rem 0 1rem 1.2rem;
  border-left: 2px solid var(--magenta);
  color: var(--cyan);
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.art-panel {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.art-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.art-panel figcaption {
  padding: 0.75rem 0.9rem;
  color: rgba(245, 240, 236, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artifact-band {
  padding-left: 0;
  padding-right: 0;
  background: #07080d;
}

.artifact-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(18rem, 1.05fr) minmax(18rem, 0.95fr);
  align-items: stretch;
  min-height: 720px;
}

.artifact-image {
  min-height: 34rem;
  background-image:
    linear-gradient(90deg, rgba(7, 8, 13, 0), rgba(7, 8, 13, 0.46)),
    url("assets/life-as-an-artifact.jpg");
  background-size: cover;
  background-position: center;
}

.artifact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.manifesto p:first-child {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}

.transmission-band {
  background:
    linear-gradient(180deg, #07080d, #101014 52%, #050508),
    repeating-linear-gradient(0deg, rgba(101, 240, 255, 0.04) 0 1px, transparent 1px 92px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 2rem;
}

.fragment-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.fragment-card {
  min-height: 18rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background:
    linear-gradient(160deg, rgba(255, 36, 53, 0.08), transparent 42%),
    rgba(8, 9, 13, 0.92);
}

.fragment-card span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.fragment-card h3 {
  margin: 3.2rem 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1;
  text-transform: uppercase;
}

.fragment-card p {
  margin: 1rem 0 0;
  color: rgba(245, 240, 236, 0.68);
}

.final-signal {
  position: relative;
  z-index: 2;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 36, 53, 0.14), transparent 42%),
    #030306;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 240, 236, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes scan-drift {
  to {
    transform: translateY(20px);
  }
}

@keyframes title-glitch {
  0%,
  92%,
  100% {
    transform: translate(0, 0);
  }
  93% {
    transform: translate(0.05em, -0.02em);
  }
  94% {
    transform: translate(-0.04em, 0.025em);
  }
  96% {
    transform: translate(0.025em, 0.01em);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.66rem;
  }

  .hero {
    padding-top: 8rem;
    min-height: 86svh;
    align-items: end;
  }

  .hero-media {
    background-position: 45% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(3, 3, 6, 0.95) 0%, rgba(3, 3, 6, 0.24) 58%, rgba(3, 3, 6, 0.48) 100%),
      linear-gradient(90deg, rgba(3, 3, 6, 0.7), rgba(3, 3, 6, 0.1));
  }

  .release-chip {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 2rem;
  }

  .section-grid,
  .artifact-layout {
    grid-template-columns: 1fr;
  }

  .artifact-layout {
    min-height: 0;
  }

  .artifact-image {
    min-height: 72vw;
    background-image:
      linear-gradient(0deg, rgba(7, 8, 13, 0.5), rgba(7, 8, 13, 0)),
      url("assets/life-as-an-artifact.jpg");
  }

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

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .mark {
    gap: 0.65rem;
  }

  .mark-logo {
    width: 4.2rem;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 2rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .final-signal {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .fragment-card {
    min-height: 14rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@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;
  }
}
