:root {
  color-scheme: dark;
  --bg: #040507;
  --panel: rgba(11, 18, 26, 0.78);
  --panel-strong: rgba(13, 22, 31, 0.94);
  --acid: #baff16;
  --acid-soft: rgba(186, 255, 22, 0.58);
  --cyan: #00d9ff;
  --blue: #254cff;
  --magenta: #ff2bbf;
  --red: #ff223f;
  --text: #eef7ff;
  --muted: #8ea2aa;
  --line: rgba(186, 255, 22, 0.2);
  --line-blue: rgba(0, 217, 255, 0.24);
  --shadow-acid: 0 0 18px rgba(186, 255, 22, 0.54), 0 0 52px rgba(186, 255, 22, 0.22);
  --shadow-pink: 0 0 28px rgba(255, 43, 191, 0.45), 0 0 82px rgba(255, 43, 191, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 43, 191, 0.18), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(0, 217, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #030407 0%, #081018 46%, #050507 100%);
  color: var(--text);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(2, 4, 7, 0.86), rgba(2, 4, 7, 0.34));
  border-bottom: 1px solid rgba(186, 255, 22, 0.14);
  backdrop-filter: blur(16px);
}

.sigil {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(186, 255, 22, 0.2), rgba(0, 217, 255, 0.04) 62%, rgba(0, 0, 0, 0.8));
  box-shadow: var(--shadow-acid);
  overflow: hidden;
}

.sigil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    sepia(1)
    saturate(8)
    hue-rotate(33deg)
    brightness(1.45)
    contrast(1.6)
    drop-shadow(0 0 10px rgba(186, 255, 22, 0.62));
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--acid);
  text-shadow: var(--shadow-acid);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 70px) 70px;
  isolation: isolate;
}

.vortex-canvas,
.hero-grid,
.scanlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vortex-canvas {
  z-index: -3;
}

.hero-grid {
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(186, 255, 22, 0.2) 49% 51%, transparent 52% 100%),
    radial-gradient(circle at center, transparent 0 38%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.88) 100%);
  opacity: 0.7;
}

.scanlines {
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  opacity: 0.18;
}

.hero-copy {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
  transform: translateY(18px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 217, 255, 0.55);
}

.neon-title {
  position: relative;
  margin: 0;
  color: var(--acid);
  font-size: clamp(54px, 12vw, 154px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(186, 255, 22, 0.86),
    0 0 28px rgba(186, 255, 22, 0.48),
    0 0 72px rgba(186, 255, 22, 0.28);
}

.neon-title::before,
.neon-title::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  opacity: 0.5;
  pointer-events: none;
}

.neon-title::before {
  color: var(--magenta);
  transform: translate(-3px, 2px);
  clip-path: polygon(0 7%, 100% 0, 100% 31%, 0 40%);
  animation: glitch-a 4.8s infinite steps(1);
}

.neon-title::after {
  color: var(--cyan);
  transform: translate(3px, -1px);
  clip-path: polygon(0 62%, 100% 54%, 100% 88%, 0 78%);
  animation: glitch-b 5.6s infinite steps(1);
}

.hero-subtitle {
  width: min(740px, 100%);
  margin: 28px auto 0;
  color: rgba(238, 247, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.audio-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) auto auto minmax(220px, 360px);
  gap: 16px;
  align-items: center;
  width: min(1040px, calc(100% - 28px));
  padding: 12px 14px;
  border: 1px solid rgba(186, 255, 22, 0.22);
  background:
    linear-gradient(90deg, rgba(186, 255, 22, 0.1), rgba(255, 43, 191, 0.08)),
    rgba(2, 6, 9, 0.7);
  box-shadow: 0 0 36px rgba(186, 255, 22, 0.1);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.dock-label {
  display: grid;
  gap: 4px;
  text-align: left;
}

.dock-label span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dock-label strong {
  color: var(--acid);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: var(--shadow-acid);
}

.track-switcher {
  display: flex;
  gap: 6px;
}

.track-button {
  height: 28px;
  border: 1px solid rgba(186, 255, 22, 0.22);
  background: rgba(3, 7, 10, 0.72);
  color: rgba(238, 247, 255, 0.72);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.track-button:hover,
.track-button.active {
  border-color: rgba(186, 255, 22, 0.66);
  color: var(--acid);
  box-shadow: 0 0 18px rgba(186, 255, 22, 0.18);
}

.equalizer {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 28px;
}

.equalizer span {
  width: 4px;
  height: 10px;
  background: var(--acid);
  box-shadow: var(--shadow-acid);
  animation: equalize 900ms infinite ease-in-out;
}

.equalizer span:nth-child(2) { animation-delay: 120ms; }
.equalizer span:nth-child(3) { animation-delay: 240ms; }
.equalizer span:nth-child(4) { animation-delay: 360ms; }
.equalizer span:nth-child(5) { animation-delay: 480ms; }

.audio-dock audio {
  width: 100%;
  height: 34px;
  filter: sepia(1) saturate(1.4) hue-rotate(30deg);
}

.btn {
  position: relative;
  min-width: 170px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  background: rgba(3, 7, 10, 0.72);
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(186, 255, 22, 0.65);
  box-shadow: var(--shadow-acid);
}

.btn.primary {
  background: linear-gradient(90deg, rgba(186, 255, 22, 0.25), rgba(0, 217, 255, 0.12));
  color: var(--acid);
}

.btn.secondary {
  border-color: var(--line-blue);
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 42px;
  width: min(330px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(0, 217, 255, 0.24);
  background: rgba(3, 8, 13, 0.72);
  box-shadow: 0 0 42px rgba(0, 217, 255, 0.14);
  backdrop-filter: blur(12px);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: var(--text);
  text-align: right;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 120px) 0;
}

.intro-section {
  width: min(980px, calc(100% - 40px));
  padding-top: 30px;
}

.intro-section p {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

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

.section-heading h2,
.about-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.feature-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-width: 0;
  margin-top: 34px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 43, 191, 0.1), transparent 30%),
    linear-gradient(315deg, rgba(0, 217, 255, 0.12), transparent 28%),
    var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.feature-project.reverse {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
}

.feature-project.reverse .project-media {
  order: 2;
}

.project-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 440px;
  border: 1px solid rgba(186, 255, 22, 0.2);
  background: #05090d;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.72), 0 0 48px rgba(186, 255, 22, 0.09);
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.project-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-media,
.rail-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  min-height: 600px;
  padding: 34px 22px;
}

.phone-stack .phone-shot {
  position: relative;
  height: auto;
  border: 1px solid rgba(186, 255, 22, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 34px rgba(186, 255, 22, 0.12);
  filter: saturate(1.12) contrast(1.08);
}

.phone-stack .shot-a {
  left: auto;
  width: min(188px, 30%);
  z-index: 1;
  opacity: 0.9;
  transform: rotate(-4deg);
}

.phone-stack .shot-b {
  left: auto;
  top: auto;
  width: min(235px, 38%);
  z-index: 3;
  transform: translateY(-8px);
}

.phone-stack .shot-c {
  right: auto;
  width: min(188px, 30%);
  z-index: 2;
  opacity: 0.9;
  transform: rotate(4deg);
}

.wide-media img {
  height: 100%;
  filter: saturate(1.18) contrast(1.08);
}

.project-copy {
  padding: 8px 0;
}

.project-kicker {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: var(--shadow-acid);
}

.project-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.project-copy p:not(.project-kicker),
.about-copy p {
  color: rgba(238, 247, 255, 0.76);
  font-size: 17px;
  line-height: 1.62;
}

.tag-list,
.capability-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span,
.capability-grid span {
  border: 1px solid rgba(0, 217, 255, 0.22);
  background: rgba(0, 217, 255, 0.05);
  color: rgba(238, 247, 255, 0.86);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: var(--shadow-acid);
}

.rail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.experiment-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(13, 22, 31, 0.9), rgba(4, 6, 8, 0.92));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.experiment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(186, 255, 22, 0.42);
  box-shadow: 0 0 38px rgba(186, 255, 22, 0.11);
}

.terminal-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  align-items: stretch;
  min-width: 0;
}

.terminal-image {
  aspect-ratio: 16 / 9;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #080b13;
}

.terminal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  filter: saturate(1.05) contrast(1.04);
}

.experiment-image {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.experiment-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.62)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.experiment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08);
}

.experiment-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08);
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-top: 18px;
}

.media-links .text-link {
  margin-top: 0;
}

.experiment-copy {
  padding: 24px;
}

.system-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.experiment-card h3 {
  font-size: clamp(24px, 3vw, 35px);
  margin: 0;
  color: var(--text);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.experiment-card p {
  color: rgba(238, 247, 255, 0.76);
  font-size: 16px;
  line-height: 1.58;
}

.orbit-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 217, 255, 0.18);
  background: rgba(0, 217, 255, 0.04);
}

.orbit-strip span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.orbit-strip p {
  margin: 0;
  color: rgba(238, 247, 255, 0.68);
  line-height: 1.45;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.about-orb {
  min-height: 420px;
  border: 1px solid rgba(186, 255, 22, 0.24);
  background:
    radial-gradient(circle, rgba(186, 255, 22, 0.2), transparent 28%),
    repeating-radial-gradient(circle, rgba(0, 217, 255, 0.28) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 50% 50%, rgba(255, 43, 191, 0.15), rgba(0, 0, 0, 0.7) 60%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.82), 0 0 70px rgba(0, 217, 255, 0.14);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.portrait-panel {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 255, 22, 0.24);
  background: #030507;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.82), 0 0 70px rgba(0, 217, 255, 0.14);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.portrait-panel::before,
.portrait-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.portrait-panel::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(186, 255, 22, 0.18), transparent 22%, transparent 72%, rgba(0, 217, 255, 0.15)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.portrait-panel::after {
  z-index: 2;
  border: 1px solid rgba(186, 255, 22, 0.36);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  box-shadow: inset 0 0 42px rgba(186, 255, 22, 0.12);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: 50% 48%;
  filter: grayscale(1) contrast(1.12) brightness(0.88);
}

.portrait-panel figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 3;
  padding: 8px 10px;
  border-left: 3px solid var(--acid);
  background: rgba(0, 0, 0, 0.58);
  color: var(--acid);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: var(--shadow-acid);
}

.capability-grid {
  margin-top: 28px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding-top: 40px;
}

.contact-copy h2 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: var(--shadow-acid);
}

.contact-copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(238, 247, 255, 0.76);
  font-size: 18px;
  line-height: 1.62;
}

.contact-panel {
  border: 1px solid rgba(186, 255, 22, 0.22);
  background:
    linear-gradient(135deg, rgba(186, 255, 22, 0.09), transparent 34%),
    rgba(2, 8, 12, 0.76);
  box-shadow: 0 0 42px rgba(186, 255, 22, 0.1);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(186, 255, 22, 0.64);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 26px rgba(186, 255, 22, 0.1);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-actions .btn {
  cursor: pointer;
  font-family: inherit;
}

.contact-status {
  min-height: 18px;
  margin: 0;
  color: rgba(238, 247, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
  color: var(--text);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.2;
}

.contact-row a {
  color: var(--acid);
  text-shadow: var(--shadow-acid);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer strong {
  margin: 0;
}

.site-footer span,
.site-footer strong {
  color: var(--acid);
  text-shadow: var(--shadow-acid);
}

.site-footer strong {
  font-size: 11px;
}

@keyframes glitch-a {
  0%, 88%, 100% { transform: translate(-3px, 2px); opacity: 0.32; }
  89% { transform: translate(9px, -2px); opacity: 0.7; }
  90% { transform: translate(-8px, 4px); opacity: 0.45; }
}

@keyframes glitch-b {
  0%, 92%, 100% { transform: translate(3px, -1px); opacity: 0.28; }
  93% { transform: translate(-10px, 1px); opacity: 0.68; }
  94% { transform: translate(7px, -4px); opacity: 0.4; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.45); opacity: 1; }
}

@keyframes equalize {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}

@media (max-width: 980px) {
  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 48px auto 0;
  }

  .feature-project,
  .feature-project.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-project.reverse .project-media {
    order: 0;
  }

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

  .terminal-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
    max-width: 230px;
    font-size: 10px;
  }

  .hero {
    padding-top: 142px;
  }

  .neon-title {
    font-size: clamp(45px, 18vw, 76px);
    line-height: 0.85;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .audio-dock {
    grid-template-columns: 1fr;
    gap: 10px;
    bottom: 8px;
  }

  .audio-dock .equalizer {
    display: none;
  }

  .project-media {
    min-height: 0;
  }

  .feature-project {
    padding: 14px;
  }

  .wide-media,
  .rail-media {
    aspect-ratio: 16 / 10;
  }

  .phone-stack {
    min-height: 430px;
    gap: 8px;
    padding: 24px 8px;
  }

  .phone-stack .shot-a {
    left: auto;
    width: 29%;
  }

  .phone-stack .shot-b {
    left: auto;
    width: 38%;
  }

  .phone-stack .shot-c {
    right: auto;
    width: 29%;
  }

  .terminal-image {
    aspect-ratio: 16 / 10;
  }

  .site-footer {
    display: grid;
  }
}

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