:root {
  color-scheme: dark;
  --bg: #03040c;
  --bg-2: #070916;
  --panel: rgba(7, 12, 26, 0.78);
  --panel-hard: #090d1d;
  --text: #f6f8ff;
  --muted: #9aa8c9;
  --line: rgba(88, 221, 255, 0.24);
  --hot: #ff4fd8;
  --cyan: #36e9ff;
  --green: #91ff8f;
  --amber: #ffd36b;
  --violet: #8767ff;
  --red: #ff486a;
  --shadow: rgba(0, 0, 0, 0.58);
  --max: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(54, 233, 255, 0.1), transparent 24rem),
    linear-gradient(122deg, transparent 0 48%, rgba(135, 103, 255, 0.12) 48% 48.35%, transparent 48.35%),
    linear-gradient(64deg, transparent 0 62%, rgba(255, 79, 216, 0.1) 62% 62.25%, transparent 62.25%),
    repeating-linear-gradient(90deg, rgba(54, 233, 255, 0.035) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(255, 255, 255, 0.018) 44px 45px),
    var(--bg);
  overflow-x: hidden;
  text-shadow: 0 0 0.75rem rgba(54, 233, 255, 0.12);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.noise-field,
.scanlines,
.crt-glass {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise-field {
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  image-rendering: pixelated;
  mix-blend-mode: screen;
}

.scanlines {
  z-index: 20;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 79, 216, 0.04) 0,
      rgba(255, 79, 216, 0.04) 1px,
      rgba(54, 233, 255, 0.034) 1px,
      rgba(54, 233, 255, 0.034) 2px,
      rgba(145, 255, 143, 0.026) 2px,
      rgba(145, 255, 143, 0.026) 3px
    );
  opacity: 0.16;
}

.crt-glass {
  z-index: 19;
  border: 10px solid rgba(0, 0, 0, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.05)),
    radial-gradient(ellipse at center, transparent 0 58%, rgba(0, 0, 0, 0.42) 100%);
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.88),
    inset 0 0 220px rgba(54, 233, 255, 0.08);
  opacity: 0.52;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 18;
  content: "";
  pointer-events: none;
  background: rgba(54, 233, 255, 0.014);
  animation: crt-flicker 5.5s steps(1, end) infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(54, 233, 255, 0.38);
  background:
    linear-gradient(90deg, rgba(54, 233, 255, 0.08), transparent 32%, rgba(135, 103, 255, 0.1)),
    rgba(3, 4, 12, 0.8);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 10px 36px rgba(0, 0, 0, 0.58),
    0 0 32px rgba(54, 233, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(54, 233, 255, 0.7),
    0 0 18px rgba(135, 103, 255, 0.34);
}

.marquee-score {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  text-shadow:
    0 0 8px rgba(54, 233, 255, 0.68),
    0 0 18px rgba(135, 103, 255, 0.42);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.6rem);
  align-items: center;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a,
.nav-tab-link {
  position: relative;
  padding: 0.6rem 0;
}

.nav-tab-link {
  border: 0;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  background: transparent;
  cursor: pointer;
}

.site-nav a::after,
.nav-tab-link::after {
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.nav-tab-link:hover,
.nav-tab-link:focus-visible,
.nav-tab-link.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.nav-tab-link:hover::after,
.nav-tab-link:focus-visible::after,
.nav-tab-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: 88svh;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
  transform: scale(1.018);
}

.banner-video,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-video {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  filter: contrast(1.34) saturate(0.92) brightness(0.72) hue-rotate(16deg);
  image-rendering: pixelated;
}

.hero.no-video .banner-video {
  opacity: 0;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0.82;
  image-rendering: pixelated;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-media::before {
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 0 62%, rgba(0, 0, 0, 0.62) 100%),
    repeating-linear-gradient(90deg, rgba(255, 79, 216, 0.06) 0 2px, rgba(54, 233, 255, 0.07) 2px 4px, rgba(145, 255, 143, 0.04) 4px 6px, transparent 6px 14px);
  mix-blend-mode: screen;
  opacity: 0.48;
}

.hero-media::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 4, 12, 0.8) 0%, rgba(3, 4, 12, 0.28) 48%, rgba(3, 4, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 4, 12, 0.05) 0%, #03040c 96%);
}

.media-glitch {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.44;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 79, 216, 0.42) 18% 18.45%, transparent 18.45% 44%, rgba(54, 233, 255, 0.42) 44% 44.22%, transparent 44.22%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(54, 233, 255, 0.045) 24px 25px),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(135, 103, 255, 0.055) 56px 57px);
  animation: glitch-shift 4.8s steps(2, end) infinite;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  filter: drop-shadow(0 0 18px rgba(54, 233, 255, 0.18));
}

.arcade-hud {
  display: flex;
  width: min(42rem, 100%);
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(54, 233, 255, 0.72);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: 9rem;
  line-height: 0.82;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo-title {
  position: relative;
  width: min(45rem, 100%);
  max-width: none;
  aspect-ratio: 16 / 6.2;
  margin: -0.7rem auto 0.9rem;
  overflow: hidden;
  isolation: isolate;
  line-height: 1;
}

.hero-logo-title::before,
.hero-logo-title::after {
  position: absolute;
  inset: 7% 4%;
  content: "";
  pointer-events: none;
}

.hero-logo-title::before {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(44, 92, 255, 0.36), transparent 34%),
    linear-gradient(90deg, transparent 0 24%, rgba(54, 233, 255, 0.14) 48%, transparent 76%);
  filter: blur(16px);
  mix-blend-mode: screen;
}

.hero-logo-title::after {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent 0 48%, rgba(44, 92, 255, 0.24) 50%, transparent 52%);
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-logo-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.96;
  -webkit-mask-image: radial-gradient(ellipse 56% 76% at center, #000 0 32%, rgba(0, 0, 0, 0.72) 47%, transparent 68%);
  mask-image: radial-gradient(ellipse 56% 76% at center, #000 0 32%, rgba(0, 0, 0, 0.72) 47%, transparent 68%);
  filter:
    brightness(1.18)
    contrast(1.12)
    saturate(1.18)
    drop-shadow(0 0 18px rgba(54, 112, 255, 0.62))
    drop-shadow(0 0 44px rgba(54, 233, 255, 0.22));
}

.hero-copy {
  width: min(46rem, 100%);
  margin-right: auto;
  margin-bottom: 1.8rem;
  margin-left: auto;
  color: rgba(244, 244, 241, 0.82);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.05rem;
  border: 2px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(54, 233, 255, 0.4);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  color: #031016;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.2),
    0 0 28px rgba(54, 233, 255, 0.34);
  text-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.button-ghost {
  color: var(--text);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px),
    rgba(255, 255, 255, 0.04);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--hot);
  color: var(--hot);
}

.view-switcher {
  position: sticky;
  top: var(--header-height);
  z-index: 8;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(54, 233, 255, 0.22);
  background: rgba(3, 4, 12, 0.72);
  backdrop-filter: blur(18px);
}

.view-tabs {
  display: grid;
  width: min(34rem, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 auto;
}

.view-tab {
  min-height: 2.85rem;
  border: 1px solid rgba(54, 233, 255, 0.28);
  border-radius: 6px;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(54, 233, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 22px rgba(54, 233, 255, 0.04);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.view-tab:hover,
.view-tab:focus-visible,
.view-tab.is-active {
  border-color: rgba(54, 233, 255, 0.72);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(54, 233, 255, 0.18), rgba(135, 103, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 22px rgba(54, 233, 255, 0.08),
    0 0 24px rgba(54, 233, 255, 0.16);
}

.tab-panel[hidden] {
  display: none;
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 3vw, 2rem);
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.about-section {
  padding-top: 2.75rem;
}

.about-section > .section-kicker {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - 2rem));
  height: 1px;
  content: "";
  background:
    linear-gradient(90deg, transparent, var(--cyan), transparent),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(135, 103, 255, 0.45) 12px 16px);
  transform: translateX(-50%);
}

.section-heading,
.about-grid,
.music-grid,
.resume-layout,
.contact-strip,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

h2 {
  margin-bottom: 0;
  font-size: 4.6rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.resume-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.resume-pdf-link {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid rgba(54, 233, 255, 0.42);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  background:
    linear-gradient(90deg, rgba(54, 233, 255, 0.12), rgba(145, 255, 143, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 14px rgba(54, 233, 255, 0.05),
    0 0 16px rgba(54, 233, 255, 0.08);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.resume-pdf-link:hover,
.resume-pdf-link:focus-visible {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 16px rgba(145, 255, 143, 0.08),
    0 0 20px rgba(145, 255, 143, 0.14);
}

.section-link {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--green);
}

.gallery-page-main {
  min-height: calc(100svh - var(--header-height));
  padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 4.5rem));
}

.gallery-hero {
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.gallery-heading h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(4.5rem, 14vw, 9rem);
}

.gallery-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  display: block;
  min-height: 18rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(54, 233, 255, 0.28);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  box-shadow:
    inset 0 0 22px rgba(54, 233, 255, 0.04),
    0 0 22px rgba(0, 0, 0, 0.26);
  isolation: isolate;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

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

.gallery-card-tall {
  grid-row: span 2;
}

.gallery-card::before,
.gallery-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.gallery-card::before {
  background:
    linear-gradient(180deg, transparent 34%, rgba(3, 4, 12, 0.88)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.4;
}

.gallery-card::after {
  border: 1px solid transparent;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 79, 216, 0.28), rgba(54, 233, 255, 0.24), transparent 72%) border-box;
  opacity: 0;
  transition: opacity 160ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: rgba(145, 255, 143, 0.62);
  box-shadow:
    inset 0 0 22px rgba(145, 255, 143, 0.05),
    0 0 28px rgba(54, 233, 255, 0.14);
  transform: translateY(-2px);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 1;
}

.gallery-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.12) brightness(0.76);
  transform: scale(1.02);
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: saturate(1.08) contrast(1.18) brightness(0.88);
  transform: scale(1.055);
}

.gallery-card span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
}

.gallery-card strong {
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.gallery-card small {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px) saturate(0.8);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at center, transparent 0 42%, rgba(0, 0, 0, 0.56) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 6px);
  pointer-events: none;
  opacity: 0.5;
}

.gallery-lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 68rem);
  max-height: min(82svh, 54rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 233, 255, 0.52);
  border-radius: 8px;
  background: rgba(3, 4, 12, 0.92);
  box-shadow:
    0 0 44px rgba(54, 233, 255, 0.18),
    0 0 110px rgba(0, 0, 0, 0.7);
}

.gallery-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: calc(82svh - 4rem);
  object-fit: contain;
  background: #03040c;
}

.gallery-lightbox-frame figcaption {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(54, 233, 255, 0.24);
  color: var(--text);
  background: rgba(3, 4, 12, 0.9);
}

.gallery-lightbox-frame strong,
.gallery-lightbox-frame span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-lightbox-frame span {
  color: var(--green);
}

.gallery-lightbox-close {
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  right: clamp(1rem, 4vw, 2rem);
  z-index: 2;
  display: inline-grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(54, 233, 255, 0.52);
  border-radius: 50%;
  color: var(--text);
  font: inherit;
  font-weight: 950;
  background: rgba(3, 4, 12, 0.86);
  box-shadow: 0 0 22px rgba(54, 233, 255, 0.16);
  cursor: pointer;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.8;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card,
.track-card,
.resume-panel,
.timeline-item,
.contact-strip,
.personal-copy,
.social-section {
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(54, 233, 255, 0.07), transparent 42%),
    linear-gradient(115deg, transparent 0 72%, rgba(135, 103, 255, 0.09) 72% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 10px),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.85),
    inset 0 0 36px rgba(54, 233, 255, 0.04),
    0 18px 50px var(--shadow);
  backdrop-filter: blur(12px);
}

.stat-card {
  min-height: 16rem;
  padding: 1rem;
}

.stat-card span,
.track-code,
.timeline-date {
  color: var(--hot);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin: 3.4rem 0 0.75rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
}

.stat-card p,
.track-info p,
.timeline-item p,
.resume-panel li {
  color: var(--muted);
  line-height: 1.65;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.track-card {
  position: relative;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.1rem;
  overflow: hidden;
  min-height: 13rem;
  padding: 0.85rem;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.track-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid transparent;
  background: linear-gradient(115deg, transparent 0 40%, rgba(255, 79, 216, 0.28), rgba(54, 233, 255, 0.22), transparent 72%) border-box;
  opacity: 0;
  transition: opacity 180ms ease;
}

.track-card:hover::before,
.track-card:focus-visible::before {
  opacity: 1;
}

.track-card:hover,
.track-card:focus-visible {
  border-color: rgba(54, 233, 255, 0.52);
  box-shadow: 0 0 24px rgba(54, 233, 255, 0.12);
  transform: translateY(-2px);
}

.track-card:focus-visible,
.music-more-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.feature-track {
  grid-column: 1 / -1;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr);
  min-height: 22rem;
}

.track-art {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.54), transparent 38%),
    linear-gradient(315deg, rgba(54, 233, 255, 0.58), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(0deg, rgba(135, 103, 255, 0.14) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #11162a, #03040c);
  image-rendering: pixelated;
}

.track-art::before,
.track-art::after {
  position: absolute;
  content: "";
}

.track-art::before {
  inset: 18%;
  border: 2px solid rgba(54, 233, 255, 0.58);
  box-shadow: 0 0 22px rgba(54, 233, 255, 0.18);
}

.track-art::after {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.1) 20px 22px),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0, 0, 0, 0.32) 16px 18px);
  mix-blend-mode: overlay;
}

.mini-art.cyan {
  background:
    linear-gradient(135deg, rgba(54, 233, 255, 0.74), transparent 44%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, #11172a, #03040c);
}

.mini-art.green {
  background:
    linear-gradient(135deg, rgba(145, 255, 143, 0.58), transparent 44%),
    linear-gradient(315deg, rgba(255, 79, 216, 0.25), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, #11172a, #03040c);
}

.vinyl-ring {
  width: min(62%, 15rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, #050505 0 9%, var(--cyan) 9% 11%, transparent 11% 18%, rgba(255, 255, 255, 0.1) 18% 19%, transparent 19% 28%, rgba(255, 255, 255, 0.08) 28% 29%, transparent 29%),
    #0a0a0a;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.05),
    0 0 36px rgba(54, 233, 255, 0.2);
}

.track-code {
  position: absolute;
  right: 0.75rem;
  bottom: 0.7rem;
  z-index: 1;
}

.track-info {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 0.5rem 0.35rem;
}

.track-info h3,
.resume-panel h3,
.timeline-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.65rem;
}

.feature-track .track-info h3 {
  font-size: 3.4rem;
  line-height: 0.95;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.tag-row span {
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.music-more-link {
  display: inline-flex;
  grid-column: 1 / -1;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(145, 255, 143, 0.38);
  border-radius: 6px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(145, 255, 143, 0.14), rgba(54, 233, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 18px rgba(145, 255, 143, 0.04),
    0 0 22px rgba(54, 233, 255, 0.08);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.music-more-link:hover,
.music-more-link:focus-visible {
  border-color: var(--green);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 18px rgba(145, 255, 143, 0.08),
    0 0 28px rgba(145, 255, 143, 0.16);
}

.resume-layout {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.resume-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  padding: 1rem;
}

.skill-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.skill-list li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.skill-list li::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  content: "";
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.timeline-date {
  padding-top: 0.3rem;
  color: var(--cyan);
}

.contact-strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(120deg, rgba(255, 79, 216, 0.14), transparent 32%),
    linear-gradient(300deg, rgba(54, 233, 255, 0.12), transparent 35%),
    repeating-linear-gradient(90deg, rgba(135, 103, 255, 0.08) 0 16px, transparent 16px 32px),
    var(--panel-hard);
}

.contact-strip h2 {
  max-width: 12ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 3vw, 2rem) 2rem;
  color: rgba(244, 244, 241, 0.46);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.personal-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 0.85rem;
  margin: 0 auto 0.85rem;
}

.personal-copy,
.social-section {
  padding: clamp(1rem, 4vw, 2rem);
}

.personal-copy h3,
.social-section h3 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.personal-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.personal-focus .skill-list {
  margin-top: 0.5rem;
}

.social-section {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: start;
  margin: 0 auto;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.social-grid a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(54, 233, 255, 0.28);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(54, 233, 255, 0.12), rgba(255, 79, 216, 0.06)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 18px rgba(54, 233, 255, 0.04);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.social-grid a:hover,
.social-grid a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(54, 233, 255, 0.18);
}

.glitch-text {
  position: relative;
  text-shadow:
    0.035em 0 0 rgba(255, 79, 216, 0.78),
    -0.03em -0.02em 0 rgba(54, 233, 255, 0.76),
    0.025em 0.03em 0 rgba(145, 255, 143, 0.48),
    0 0 28px rgba(54, 233, 255, 0.22);
}

.glitch-text::before,
.glitch-text::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  content: attr(data-text);
  pointer-events: none;
}

.glitch-text::before {
  color: var(--red);
  transform: translate(0.03em, 0);
  clip-path: inset(8% 0 58% 0);
  animation: text-glitch 3.5s infinite linear alternate-reverse;
}

.glitch-text::after {
  color: var(--cyan);
  transform: translate(-0.03em, 0);
  clip-path: inset(58% 0 6% 0);
  animation: text-glitch 2.8s infinite linear alternate;
}

.site-header::before,
.site-header::after,
.section-heading::before {
  flex: 0 0 auto;
}

[data-reveal] {
  transform: translateY(20px);
  opacity: 0;
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes glitch-shift {
  0%,
  82%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.28;
  }

  84% {
    transform: translate3d(2.5%, -1%, 0);
    opacity: 0.55;
  }

  86% {
    transform: translate3d(-3%, 0.5%, 0);
    opacity: 0.35;
  }

  88% {
    transform: translate3d(1%, 1.2%, 0);
    opacity: 0.6;
  }
}

@keyframes text-glitch {
  0% {
    clip-path: inset(0 0 82% 0);
  }

  16% {
    clip-path: inset(30% 0 48% 0);
  }

  32% {
    clip-path: inset(72% 0 8% 0);
  }

  48% {
    clip-path: inset(14% 0 62% 0);
  }

  64% {
    clip-path: inset(50% 0 28% 0);
  }

  80% {
    clip-path: inset(8% 0 76% 0);
  }

  100% {
    clip-path: inset(64% 0 18% 0);
  }
}

@keyframes crt-flicker {
  0%,
  100% {
    opacity: 0.72;
  }

  18% {
    opacity: 0.62;
  }

  19% {
    opacity: 0.84;
  }

  42% {
    opacity: 0.68;
  }

  43% {
    opacity: 0.9;
  }

  72% {
    opacity: 0.64;
  }
}

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

@media (max-width: 840px) {
  .site-header {
    display: flex;
    align-items: start;
    height: auto;
    min-height: var(--header-height);
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    padding-top: 0.9rem;
    padding-bottom: 0.8rem;
  }

  .marquee-score {
    display: none;
  }

  .brand {
    align-self: center;
    margin-right: auto;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 3.35rem;
  }

  .feature-track .track-info h3 {
    font-size: 2.7rem;
  }

  .about-grid,
  .resume-layout,
  .feature-track,
  .personal-grid,
  .social-section {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .music-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 12rem;
  }

  .stat-card strong {
    margin-top: 2rem;
  }

  .resume-panel {
    position: static;
  }

  .track-card {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    min-height: 12rem;
  }

  .feature-track .track-art {
    min-height: 18rem;
  }

  .contact-strip,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

  .gallery-card-tall {
    grid-row: span 1;
  }

  .view-switcher {
    top: var(--header-height);
  }

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

@media (max-width: 560px) {
  :root {
    --header-height: 92px;
  }

  .site-nav {
    gap: 0.35rem;
  }

  .view-switcher {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--max));
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .arcade-hud {
    gap: 0.4rem;
    font-size: 0.66rem;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-copy,
  .about-copy p,
  .personal-copy p {
    font-size: 1rem;
  }

  .feature-track .track-info h3 {
    font-size: 2rem;
  }

  .track-info h3,
  .resume-panel h3,
  .timeline-item h3 {
    font-size: 1.28rem;
  }

  .section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .track-card {
    grid-template-columns: 1fr;
  }

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

  .gallery-card,
  .gallery-card-wide {
    grid-column: span 1;
  }

  .gallery-card {
    min-height: 16rem;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox-frame figcaption {
    align-items: start;
    flex-direction: column;
  }

  .gallery-lightbox-close {
    top: calc(var(--header-height) + 0.75rem);
    right: 1rem;
  }

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

  .track-art {
    min-height: 13rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 0.5rem;
    flex-direction: column;
  }
}
