:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-deep: #000000;
  --ink: #f7f8f7;
  --muted: #a9b0b5;
  --soft: #dce4ea;
  --line: rgba(220, 228, 234, 0.18);
  --line-strong: rgba(220, 228, 234, 0.42);
  --metal: #172536;
  --metal-soft: #6f879b;
  --chrome: #eef3f5;
  --panel: rgba(2, 3, 5, 0.78);
  --max: 1220px;
  --pad: clamp(20px, 5vw, 72px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: Bahnschrift, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .cursor-core {
  opacity: 0 !important;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.22;
}

body::after {
  z-index: -3;
  background:
    radial-gradient(circle at 48% 18%, rgba(124, 149, 169, 0.16), transparent 34%),
    linear-gradient(118deg, transparent 0%, rgba(31, 52, 73, 0.34) 42%, transparent 62%),
    #020202;
}

img,
video,
canvas,
picture {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
.button,
.eyebrow,
.section-kicker,
.tag-row,
summary,
figcaption {
  text-transform: uppercase;
}

h2 {
  max-width: 13ch;
  font-size: 3.8rem;
  line-height: 0.92;
  font-weight: 900;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.1;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.62rem;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(18px);
}

.nav-name {
  color: var(--chrome);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero-poster,
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 71px);
  padding: clamp(34px, 5vw, 72px) var(--pad);
  overflow: hidden;
}

.hero-poster {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.08fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 620px;
}

.signal-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.signal-canvas.compact {
  opacity: 0.54;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 49%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 49%, transparent 50%);
  background-size: 18px 18px;
  mix-blend-mode: screen;
  opacity: 0.34;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: center;
  max-width: 620px;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  color: var(--chrome);
  font-size: 0.9rem;
  font-weight: 900;
}

.poster-title {
  position: relative;
  max-width: 12ch;
  margin-top: 14px;
  color: var(--ink);
  font-size: 5.2rem;
  line-height: 0.78;
  font-weight: 950;
  font-stretch: condensed;
  overflow-wrap: anywhere;
}

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

.theme-home .poster-title {
  max-width: none;
  white-space: nowrap;
}

.theme-home .hero-copy .eyebrow,
.poster-title.artist-name {
  text-transform: none;
}

.glitch-title::before {
  color: var(--metal-soft);
  transform: translate(2px, -1px);
  clip-path: polygon(0 0, 100% 0, 100% 36%, 0 42%);
  animation: glitch-scan 3.8s infinite steps(2, end);
}

.glitch-title::after {
  color: var(--chrome);
  transform: translate(-2px, 2px);
  clip-path: polygon(0 58%, 100% 48%, 100% 100%, 0 100%);
  animation: glitch-scan 4.6s infinite steps(2, end) reverse;
}

.hero-lede {
  max-width: 560px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 1.35rem;
  line-height: 1.42;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  font-stretch: condensed;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--chrome);
  background: rgba(220, 228, 234, 0.11);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.button.primary:hover {
  border-color: var(--chrome);
  background: var(--chrome);
}

.text-link {
  color: var(--chrome);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--metal-soft);
}

.hero-figure {
  position: relative;
  z-index: 1;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: center;
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.22);
  clip-path: polygon(4% 0, 100% 0, 100% 94%, 96% 100%, 0 100%, 0 6%);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-figure::before,
.portrait-stack::before,
.wide-frame::before {
  position: absolute;
  inset: -1px;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(220, 228, 234, 0.34), transparent 18%, transparent 78%, rgba(74, 94, 114, 0.34)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 6px);
  mix-blend-mode: screen;
  opacity: 0.46;
  pointer-events: none;
}

.hero-figure::after {
  position: absolute;
  right: 12%;
  bottom: 0;
  left: 34%;
  z-index: 3;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--chrome), transparent);
  box-shadow: 0 0 16px rgba(238, 243, 245, 0.56);
  pointer-events: none;
}

.hero-figure picture {
  display: block;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 1px solid rgba(220, 228, 234, 0.22);
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.1) contrast(1.08);
}

.scroll-cue {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 40;
  display: block;
  width: clamp(88px, 9vw, 136px);
  height: 32px;
  color: var(--chrome);
  text-decoration: none;
  opacity: var(--scroll-cue-opacity, 1);
  transform: translateX(-50%);
  animation: scroll-cue-pulse 2.6s ease-in-out infinite;
  pointer-events: auto;
  transition: opacity 160ms ease;
  will-change: opacity, transform;
}

.scroll-cue svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(238, 243, 245, 0.26));
  overflow: visible;
}

.scroll-cue path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.signal-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3f3f3;
  color: #020202;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 38px;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-size: 1.02rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-shell,
.project-block,
.download-deck,
.contact-terminal {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 128px) var(--pad);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
}

.section-kicker {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 900;
}

.section-kicker span {
  color: var(--metal-soft);
  font-size: 2.4rem;
  line-height: 1;
}

.section-kicker p {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.section-copy p,
.bio-copy p,
.project-copy p {
  max-width: 730px;
  margin-top: 20px;
  font-size: 1.05rem;
}

.stat-grid {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-grid article {
  min-height: 156px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  color: var(--ink);
  font-size: 3.1rem;
  line-height: 0.9;
  font-weight: 950;
}

.stat-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

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

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

.teaser-card,
.skill-grid article,
.timeline-grid article,
.info-columns article {
  position: relative;
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  overflow: hidden;
}

.teaser-card {
  min-height: 390px;
  align-content: end;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.teaser-card img,
.teaser-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
  transition: transform 520ms ease, filter 520ms ease;
}

.teaser-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.82) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 5px);
}

.teaser-card span,
.teaser-card strong {
  position: relative;
  z-index: 1;
}

.teaser-card span {
  color: var(--chrome);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.teaser-card strong {
  margin-top: 4px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.teaser-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.24) contrast(1.12);
}

.cinema-band {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cinema-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(0.74);
}

.cinema-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.16) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 80px);
}

.cinema-band > div {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  padding: clamp(44px, 8vw, 92px) var(--pad);
}

.cinema-band h2 {
  max-width: 12ch;
  margin-top: 12px;
}

.cinema-band .button {
  margin-top: 28px;
}

.contact-terminal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact-terminal h2 {
  margin-top: 12px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--chrome);
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

.portrait-stack {
  position: relative;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.portrait-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  object-position: center top;
}

.portrait-stack figcaption {
  margin-top: 10px;
  color: var(--chrome);
  font-size: 0.82rem;
  font-weight: 900;
}

.bio-copy {
  display: grid;
  gap: 16px;
}

.timeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

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

.about-focus-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(111, 135, 155, 0.1), transparent 48%),
    var(--panel);
}

.about-focus-grid span {
  color: var(--metal-soft);
  font-size: 0.82rem;
  font-weight: 950;
}

.about-focus-grid h3 {
  margin-top: 26px;
  color: var(--ink);
}

.about-focus-grid p {
  margin-top: 12px;
  color: var(--soft);
}

.timeline-grid article,
.skill-grid article,
.info-columns article {
  padding: 22px;
}

.timeline-grid span {
  color: var(--metal-soft);
  font-size: 1.9rem;
  font-weight: 950;
  line-height: 1;
}

.timeline-grid h3,
.skill-grid h3,
.info-columns h3 {
  margin-top: 20px;
  color: var(--ink);
}

.info-columns h3 {
  margin-bottom: 22px;
}

.timeline-grid p,
.skill-grid p {
  margin-top: 12px;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 48px);
}

.split-panel h2 {
  max-width: 16ch;
}

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

.info-columns.certification-only {
  grid-template-columns: minmax(280px, 620px);
}

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

.download-deck {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-deck h2 {
  margin-top: 12px;
  max-width: 11ch;
}

.download-deck .download-actions {
  justify-content: flex-end;
}

.projects-hero {
  min-height: 660px;
}

.anchor-rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, var(--max));
  margin: 34px auto 0;
}

.anchor-rail a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.anchor-rail a:hover {
  border-color: var(--chrome);
  color: var(--chrome);
}

.project-block {
  display: grid;
  gap: clamp(26px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.featured-block {
  padding-top: clamp(68px, 10vw, 142px);
}

.project-copy {
  display: grid;
  gap: 12px;
}

.project-copy h2 {
  max-width: 14ch;
}

.role-list {
  display: grid;
  max-width: 760px;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 1.05rem;
}

.role-list li {
  color: var(--soft);
  line-height: 1.45;
}

.embed-panel {
  width: fit-content;
}

.audio-panel {
  border: 0;
  background: transparent;
}

.audio-panel[open] {
  display: grid;
  width: min(100%, 760px);
  gap: 12px;
}

.hero-audio {
  margin-top: 26px;
}

.hero-audio-open {
  display: block;
  width: min(100%, 600px);
}

.project-audio {
  display: grid;
  width: 100%;
  justify-items: center;
  justify-self: stretch;
}

.project-audio[open] {
  width: 100%;
  max-width: none;
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  justify-items: stretch;
  overflow: hidden;
}

.audio-panel.project-audio[open] {
  width: 100%;
}

.project-audio .audio-frame {
  width: 100%;
  max-width: none;
}

.summary-label,
.summary-youtube {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 16px;
}

.summary-youtube {
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-youtube:hover,
.summary-youtube:focus-visible {
  background: var(--chrome);
  color: var(--bg);
  outline: none;
}

.project-audio[open] summary {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.52);
  justify-content: flex-start;
}

.audio-panel summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.54);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 950;
  font-stretch: condensed;
  list-style: none;
  text-transform: uppercase;
  animation: audio-pulse 3.8s ease-in-out infinite;
}

.audio-panel summary::-webkit-details-marker {
  display: none;
}

.audio-panel summary::before {
  align-self: stretch;
  display: grid;
  width: 34px;
  place-items: center;
  margin-right: 0;
  border-right: 1px solid var(--line-strong);
  color: var(--chrome);
  content: ">";
}

.audio-panel[open] summary {
  animation: none;
}

.audio-frame {
  position: relative;
  width: min(100%, 760px);
  height: 352px;
  border: 0;
  border-radius: 0;
  background: #000;
  overflow: hidden;
}

.audio-frame:has(iframe[height="152"]) {
  height: 152px;
}

.audio-frame:has(iframe[height="352"]) {
  height: 352px;
}

.audio-frame iframe {
  display: block;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  max-width: none;
  margin: -3px;
  border: 0;
  border-radius: 0;
  background: #000;
}

.audio-frame:has(iframe[height="152"]) iframe {
  height: calc(100% + 10px);
  margin: -5px -3px;
}

.audio-frame:has(iframe[height="152"])::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 7px;
  content: "";
  background: #1f1f1f;
  pointer-events: none;
}

.case-embed {
  grid-column: 2 / 3;
  width: 100%;
}

.case-embed[open] {
  width: 100%;
}

.audio-panel.project-audio.case-embed[open] {
  width: 100%;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.cover-duo,
.media-grid {
  display: grid;
  gap: 14px;
}

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

.release-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.release-head .release-cover {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: 14px;
  align-items: start;
}

.release-cover,
.case-media figure,
.edit-media-grid figure {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

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

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

.release-videos .video-stage {
  width: 100%;
  margin: 0;
}

.video-stage.vertical video {
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  object-fit: contain;
}

.artist-work-grid {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
}

.music-case {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.case-copy {
  position: sticky;
  top: 92px;
}

.case-copy h3 {
  font-size: 2.4rem;
}

.case-artist {
  margin-top: 6px;
  color: var(--chrome);
  font-weight: 900;
  text-transform: uppercase;
}

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

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

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

.edit-projects {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
}

.edit-project {
  display: grid;
  gap: 18px;
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.edit-project h3 {
  font-size: 2.2rem;
}

.edit-project p {
  max-width: 560px;
  margin-top: 8px;
}

.case-media img,
.case-media video,
.edit-media-grid img,
.edit-media-grid video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #000;
}

.case-media img,
.edit-media-grid img {
  cursor: zoom-in;
}

.zoom-button {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: var(--chrome);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.zoom-button:hover,
.zoom-button:focus-visible {
  border-color: var(--chrome);
  background: var(--chrome);
  color: var(--bg);
  outline: none;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

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

.lightbox-frame {
  width: min(100%, 1120px);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox-frame img,
.lightbox-frame video {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  border: 1px solid var(--line-strong);
  background: #000;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 2001;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--chrome);
  cursor: pointer;
  font-weight: 900;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--chrome);
  background: var(--chrome);
  color: var(--bg);
  outline: none;
}

.cover-duo figure,
.wide-frame,
.media-grid picture,
.media-grid img,
.signal-gallery img,
.signal-gallery video,
.video-stage {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

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

figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.media-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.media-grid img,
.media-grid picture img,
.media-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-grid.portraits img {
  aspect-ratio: 4 / 5;
}

.live-grid img {
  aspect-ratio: 3 / 4;
}

.poster-grid img {
  aspect-ratio: 4 / 5;
}

.video-edit-grid img {
  aspect-ratio: 9 / 16;
}

.wide-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-stage {
  width: min(100%, 620px);
  margin: 0 auto;
}

.video-stage.wide {
  width: min(100%, 980px);
}

.video-stage.shorts-stage {
  width: min(100%, 390px);
  line-height: 0;
  border: 0;
  background: #000;
}

.video-stage video,
.video-stage iframe {
  width: 100%;
  background: #000;
}

.video-stage video {
  max-height: 78vh;
  object-fit: contain;
}

.video-stage iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid var(--line);
  display: block;
}

.video-stage.vertical iframe {
  aspect-ratio: 9 / 16;
  max-height: 78vh;
}

.video-stage.shorts-stage iframe {
  border: 0;
}

.cloudinary-figure video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #000;
  display: block;
}

.technical-deck {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.44);
}

.technical-deck summary {
  cursor: pointer;
  padding: 18px;
  color: var(--ink);
  font-weight: 900;
}

.technical-deck div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  padding: 0 18px 18px;
}

.technical-deck p {
  color: var(--soft);
  font-size: 0.94rem;
}

.split-showcase {
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.tech-block {
  width: min(100%, 1440px);
}

.signal-gallery {
  columns: 3 260px;
  column-gap: 14px;
}

.signal-gallery img,
.signal-gallery video {
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  object-fit: cover;
  display: block;
}

.is-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.cursor-core {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 22px;
  height: 22px;
  border: 1px solid var(--chrome);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 160ms ease;
  mix-blend-mode: difference;
}

.custom-cursor,
.custom-cursor * {
  cursor: none !important;
}

.custom-cursor video,
.custom-cursor video *,
.custom-cursor .video-stage,
.custom-cursor .case-media figure:has(video),
.custom-cursor .edit-media-grid figure:has(video) {
  cursor: auto !important;
}

.cursor-core.is-active {
  opacity: 1;
}

.magnetic {
  transform:
    perspective(600px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes audio-pulse {
  0%,
  100% {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 rgba(238, 243, 245, 0);
  }

  50% {
    border-color: var(--chrome);
    box-shadow: 0 0 18px rgba(238, 243, 245, 0.16);
  }
}

@keyframes scroll-cue-pulse {
  0%,
  100% {
    filter: brightness(0.72);
    transform: translateX(-50%) translateY(0);
  }

  50% {
    filter: brightness(1.18);
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes glitch-scan {
  0%,
  72%,
  100% {
    transform: translate(0, 0);
  }

  76% {
    transform: translate(7px, -2px);
  }

  80% {
    transform: translate(-4px, 2px);
  }

  84% {
    transform: translate(2px, 0);
  }
}

@media (min-width: 1280px) {
  .poster-title {
    font-size: 5.8rem;
  }
}

@media (min-width: 1600px) {
  .poster-title {
    font-size: 7.6rem;
  }
}

@media (max-width: 1040px) {
  .hero-poster {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    min-height: auto;
  }

  .hero-copy,
  .hero-figure {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-audio-open {
    width: min(100%, 760px);
  }

  .hero-figure {
    width: min(100%, 760px);
    min-height: 0;
  }

  .scroll-cue {
    bottom: 16px;
    width: min(34vw, 126px);
  }

  .hero-figure img {
    min-height: 0;
  }

  .intro-grid,
  .bio-layout,
  .split-showcase,
  .contact-terminal {
    grid-template-columns: 1fr;
  }

  .music-case {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-copy {
    position: static;
  }

  .case-copy .role-list {
    max-width: none;
  }

  .stat-grid {
    grid-column: auto;
  }

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

  .timeline-grid,
  .info-columns,
  .about-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  body {
    background-size: 48px 48px, 48px 48px, auto;
  }

  .site-nav {
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-name {
    font-size: 0.82rem;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 0.78rem;
  }

  .case-copy h3 {
    font-size: 1.8rem;
  }

  .hero-poster,
  .page-hero {
    padding-top: 42px;
  }

  .page-hero,
  .projects-hero {
    min-height: 520px;
  }

  .theme-about .page-hero {
    min-height: 340px;
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .poster-title {
    font-size: 4.25rem;
  }

  h2 {
    max-width: 12ch;
    font-size: 2.7rem;
  }

  .hero-lede {
    font-size: 1.1rem;
  }

  .hero-figure,
  .hero-figure img {
    min-height: 0;
  }

  .scroll-cue {
    bottom: 12px;
    width: min(38vw, 116px);
    height: 30px;
  }

  .section-heading,
  .download-deck {
    display: grid;
    justify-items: start;
  }

  .stat-grid,
  .about-focus-grid,
  .teaser-grid,
  .skill-grid,
  .timeline-grid,
  .info-columns,
  .release-head,
  .release-layout,
  .release-videos,
  .music-case,
  .case-media,
  .case-embed,
  .edit-media-grid,
  .edit-media-grid.two,
  .cover-duo,
  .media-grid.three,
  .media-grid.two {
    grid-template-columns: 1fr;
  }

  .case-copy {
    position: static;
  }

  .artist-work-grid {
    gap: 46px;
  }

  .artist-work-block .music-case {
    display: block;
    padding-top: 34px;
  }

  .artist-work-block .music-case + .music-case {
    margin-top: 46px;
  }

  .artist-work-block .case-copy {
    margin-bottom: 18px;
  }

  .artist-work-block .case-copy h3 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    line-height: 0.9;
  }

  .artist-work-block .case-artist {
    margin-top: 10px;
    font-size: 0.95rem;
  }

  .artist-work-block .role-list {
    gap: 0;
    margin-top: 18px;
    padding-left: 0;
    list-style: none;
  }

  .artist-work-block .role-list li {
    padding: 10px 0;
    border-top: 1px solid rgba(220, 228, 234, 0.13);
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .artist-work-block .case-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .artist-work-block .case-media figure {
    width: 100%;
  }

  .artist-work-block .case-media img,
  .artist-work-block .case-media video {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .artist-work-block .case-embed {
    width: 100%;
    margin-top: 14px;
  }

  .music-case {
    gap: 18px;
    padding-top: 30px;
  }

  .case-copy h3 {
    font-size: 2rem;
  }

  .case-copy .role-list {
    margin-top: 16px;
  }

  .case-media {
    gap: 10px;
  }

  .release-head .release-cover {
    justify-self: stretch;
    max-width: none;
  }

  .teaser-card {
    min-height: 380px;
  }

  .cinema-band {
    min-height: 500px;
  }

  .technical-deck div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-nav {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .poster-title {
    font-size: 2.45rem;
  }

  .hero-copy,
  .page-hero-copy,
  .anchor-rail {
    max-width: 340px;
  }

  .hero-lede {
    max-width: 30ch;
  }

  .theme-about .page-hero {
    min-height: 300px;
    padding-top: 18px;
    padding-bottom: 34px;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-figure,
  .hero-figure img {
    min-height: 0;
  }

  .button {
    width: 100%;
  }

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

  .anchor-rail {
    gap: 9px;
  }

  .anchor-rail a {
    padding: 8px 9px;
    font-size: 0.74rem;
  }
}

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

  .is-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .audio-panel summary {
    animation: none;
  }
}
