:root {
  --ink: #08090b;
  --ink-2: #111317;
  --paper: #f4efe6;
  --paper-2: #ebe3d5;
  --line-dark: rgba(244, 239, 230, 0.14);
  --line-light: rgba(8, 9, 11, 0.13);
  --text-dark: #f8f3e9;
  --muted-dark: rgba(248, 243, 233, 0.68);
  --text-light: #101114;
  --muted-light: rgba(16, 17, 20, 0.64);
  --acid: #ccff47;
  --cyan: #59f2d6;
  --coral: #ff6b57;
  --lilac: #caa6ff;
  --radius: 8px;
  --site-max: 1800px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-dark);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--acid), var(--cyan), var(--coral));
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 79;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(204, 255, 71, 0.18), rgba(89, 242, 214, 0.08) 34%, transparent 68%);
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.section-dark {
  background: var(--ink);
  color: var(--text-dark);
}

.section-light {
  background: var(--paper);
  color: var(--text-light);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 90;
  width: min(var(--site-max), calc(100% - 32px));
  height: 62px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 9, 11, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(204, 255, 71, 0.42);
  border-radius: 10px;
  background: #020303;
  box-shadow:
    0 0 18px rgba(204, 255, 71, 0.24),
    inset 0 0 10px rgba(204, 255, 71, 0.12);
  font-family: var(--font-display);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 34px);
}

.roll-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  height: 20px;
  color: rgba(248, 243, 233, 0.76);
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
}

.roll-link span {
  display: block;
  transition: transform 0.35s ease;
}

.roll-link::after {
  content: attr(href);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--acid);
  content: attr(data-label);
}

.roll-link:hover span {
  transform: translateY(-100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button {
  gap: 10px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.button svg,
.icon-button svg,
.tab svg {
  width: 18px;
  height: 18px;
}

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

.button.ghost {
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 230, 0.05);
}

.section-light .button.ghost {
  color: var(--text-light);
  border-color: var(--line-light);
  background: rgba(8, 9, 11, 0.04);
}

.button.small {
  min-height: 42px;
  padding: 0 14px;
}

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

.icon-button {
  position: relative;
  width: 42px;
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 230, 0.05);
}

.icon-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--text-dark);
  background: rgba(8, 9, 11, 0.9);
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-button:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.menu-toggle {
  display: none;
}

.menu-fallback {
  display: none;
  font-size: 12px;
  font-weight: 900;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 96px 24px 32px;
  background: rgba(8, 9, 11, 0.96);
  transform: translateY(-100%);
  transition: transform 0.36s ease;
}

.mobile-panel a {
  border-bottom: 1px solid var(--line-dark);
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 12vw, 72px);
  font-weight: 700;
}

.menu-open .mobile-panel {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - var(--site-max)) / 2)) 34px;
  border-bottom: 1px solid var(--line-dark);
}

#signalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.58) 48%, rgba(8, 9, 11, 0.8) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.1), rgba(8, 9, 11, 0.98));
}

.hero-scan {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 82%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(920px, 54vw);
  padding-bottom: 54px;
}

.cinema-hero {
  position: absolute;
  right: max(24px, calc((100vw - var(--site-max)) / 2));
  bottom: 42px;
  z-index: 1;
  width: min(58vw, 1060px);
  pointer-events: none;
}

.cinema-beam {
  position: absolute;
  left: 6%;
  right: 6%;
  top: -28px;
  height: 56px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 64%),
    linear-gradient(90deg, transparent, rgba(248, 243, 233, 0.14), transparent);
  filter: blur(8px);
  opacity: 0.75;
}

.cinema-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(248, 243, 233, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(89, 242, 214, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(202, 166, 255, 0.18), transparent 36%),
    #08090b;
  box-shadow:
    inset 0 0 0 1px rgba(8, 9, 11, 0.78),
    inset 0 -70px 90px rgba(0, 0, 0, 0.4),
    0 34px 110px rgba(0, 0, 0, 0.44);
}

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

.cinema-screen::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.74), transparent 16%, transparent 78%, rgba(8, 9, 11, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px);
  opacity: 0.48;
}

.cinema-screen::after {
  z-index: 3;
  border: 10px solid rgba(0, 0, 0, 0.62);
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.74);
}

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

.cinema-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 28px;
}

.cinema-fallback span {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(89, 242, 214, 0.08));
  transform: scaleY(0.72);
  transform-origin: bottom;
  animation: cinemaPulse 4.8s ease-in-out infinite;
}

.cinema-fallback span:nth-child(2) { animation-delay: -0.8s; }
.cinema-fallback span:nth-child(3) { animation-delay: -1.6s; }
.cinema-fallback span:nth-child(4) { animation-delay: -2.4s; }
.cinema-fallback span:nth-child(5) { animation-delay: -3.2s; }

.hero-figure {
  position: absolute;
  right: max(24px, calc((100vw - var(--site-max)) / 2));
  bottom: 34px;
  z-index: 1;
  width: min(34vw, 430px);
  margin: 0;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(244, 239, 230, 0.035);
  overflow: hidden;
}

.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.1);
}

.hero-figure figcaption {
  padding: 12px 14px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-light .eyebrow,
.section-light .section-kicker {
  color: #4d6a00;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(74px, 13vw, 186px);
  line-height: 0.82;
  font-weight: 700;
}

h2 {
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.94;
  font-weight: 700;
}

h3 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted-dark);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(690px, 100%);
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.hero-meta > div {
  padding: 18px;
  background: rgba(8, 9, 11, 0.56);
  backdrop-filter: blur(10px);
}

.meta-value {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
}

.meta-label {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: #0d0f12;
}

.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  color: rgba(248, 243, 233, 0.78);
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 48px);
  font-weight: 700;
  white-space: nowrap;
}

.ticker-track span:nth-child(2n) {
  color: var(--cyan);
}

.ticker-track span:nth-child(3n) {
  color: var(--coral);
}

.intro,
.work,
.releases,
.music-room,
.about-me,
.gallery,
.systems,
.creator-os,
.capabilities,
.process,
.proof,
.faq,
.site-footer {
  padding: clamp(72px, 10vw, 132px) max(24px, calc((100vw - var(--site-max)) / 2));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p,
.intro-grid > p {
  color: var(--muted-light);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.direction-grid article {
  position: relative;
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    var(--paper);
}

.direction-grid article::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--acid), var(--cyan));
  opacity: 0.82;
}

.direction-grid span {
  color: #536900;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
}

.direction-grid h3 {
  max-width: 360px;
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 44px);
}

.direction-grid p {
  max-width: 460px;
  margin: 0;
  color: var(--muted-light);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.52;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

.about-copy {
  display: grid;
  align-content: end;
  min-height: 520px;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(135deg, rgba(8, 9, 11, 0.06), transparent 44%),
    rgba(255, 255, 255, 0.38);
  padding: clamp(24px, 4vw, 44px);
}

.about-copy span {
  color: #536900;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h3 {
  max-width: 720px;
  margin: 18px 0;
  font-size: clamp(32px, 4vw, 66px);
  line-height: 0.94;
}

.about-copy p {
  max-width: 620px;
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.6;
}

.about-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.about-signals strong {
  border: 1px solid var(--line-light);
  background: rgba(8, 9, 11, 0.04);
  padding: 9px 11px;
  font-size: 12px;
  text-transform: uppercase;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr 0.92fr;
  grid-auto-rows: 180px;
  gap: 10px;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line-light);
  filter: grayscale(0.08) contrast(1.05);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.about-gallery img:hover {
  transform: scale(1.018);
  filter: grayscale(0) contrast(1.08);
}

.about-gallery img:nth-child(1) {
  grid-row: span 2;
}

.about-gallery img:nth-child(4) {
  grid-column: span 2;
}

.about-gallery img:nth-child(6) {
  grid-column: span 2;
}

.about-site {
  background: var(--paper);
  color: var(--text-light);
}

.about-site .cursor-glow {
  background: radial-gradient(circle, rgba(89, 242, 214, 0.12), rgba(204, 255, 71, 0.08) 34%, transparent 68%);
}

.about-site .brand-mark {
  border-color: rgba(89, 242, 214, 0.42);
  background: #020303;
  box-shadow:
    0 0 18px rgba(89, 242, 214, 0.2),
    inset 0 0 10px rgba(204, 255, 71, 0.12);
}

.about-hero,
.about-stats,
.about-manifesto,
.about-capabilities,
.about-gallery-page,
.about-stack,
.about-experience,
.about-contact {
  padding: clamp(72px, 10vw, 132px) max(24px, calc((100vw - var(--site-max)) / 2));
}

.about-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  padding-top: 132px;
  border-bottom: 1px solid var(--line-light);
}

.about-hero-copy {
  padding-bottom: clamp(8px, 4vw, 48px);
}

.about-hero h1 {
  max-width: 8ch;
  color: var(--text-light);
  font-size: clamp(78px, 12vw, 176px);
}

.about-hero p {
  max-width: 760px;
  color: var(--muted-light);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.42;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-portrait {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.42);
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(244, 239, 230, 0.36);
  pointer-events: none;
  mix-blend-mode: screen;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: min(72svh, 760px);
  object-fit: cover;
  object-position: center 36%;
  filter: saturate(0.92) contrast(1.06);
}

.about-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-portrait strong {
  color: var(--text-light);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line-light);
  background: var(--line-light);
}

.about-stats > div {
  min-height: 184px;
  display: grid;
  align-content: space-between;
  padding: clamp(18px, 2.6vw, 34px);
  background: var(--paper);
}

.about-stats .meta-value {
  color: var(--text-light);
  font-size: clamp(42px, 6vw, 82px);
}

.about-stats p {
  max-width: 280px;
  margin: 0;
  color: var(--muted-light);
  font-weight: 700;
  line-height: 1.35;
}

.about-manifesto {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 110px);
  border-bottom: 1px solid var(--line-dark);
}

.about-sticky-title {
  position: sticky;
  top: 118px;
  align-self: start;
}

.about-sticky-title h2,
.gallery-head h2,
.about-capabilities h2,
.about-stack h2,
.about-experience h2,
.about-contact h2 {
  max-width: 860px;
}

.about-manifesto-copy {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
}

.about-manifesto-copy p {
  margin: 0;
  color: var(--muted-dark);
  font-size: clamp(24px, 3.4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.about-service-list {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 5vw, 58px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.about-service-list article {
  display: grid;
  grid-template-columns: 92px minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  padding: clamp(24px, 4vw, 48px) 0;
  border-top: 1px solid var(--line-light);
}

.about-service-list article:first-child {
  border-top: 0;
}

.about-service-list span {
  color: #536900;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.about-service-list h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
}

.about-service-list p {
  margin: 0;
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.55;
}

.about-gallery-page {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.gallery-head {
  max-width: 960px;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.76fr;
  grid-auto-rows: minmax(180px, 24vw);
  gap: 10px;
}

.about-editorial-grid img {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  filter: saturate(0.92) contrast(1.08);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.about-editorial-grid img:hover {
  transform: scale(1.012);
  filter: saturate(1.06) contrast(1.08);
}

.about-editorial-grid img:nth-child(1) {
  grid-row: span 2;
}

.about-editorial-grid img:nth-child(2) {
  grid-column: span 2;
}

.about-editorial-grid img:nth-child(4) {
  grid-column: span 2;
}

.about-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.about-stack-grid article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
    var(--paper);
}

.about-stack-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 46px;
  color: #2b7067;
}

.about-stack-grid h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.about-stack-grid p {
  margin: 0;
  color: var(--muted-light);
  line-height: 1.55;
}

.about-timeline {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 5vw, 58px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.about-timeline article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 62px);
  padding: clamp(24px, 4vw, 48px) 0;
  border-top: 1px solid var(--line-dark);
}

.about-timeline article:first-child {
  border-top: 0;
}

.about-timeline time {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
}

.about-timeline h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 54px);
}

.about-timeline p {
  max-width: 820px;
  margin: 0;
  color: var(--muted-dark);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
}

.about-contact h2 {
  margin-bottom: 0;
}

.about-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

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

.section-head.compact {
  display: block;
  max-width: 900px;
}

.filter-group,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter,
.tab {
  min-height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: rgba(248, 243, 233, 0.76);
  background: transparent;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.tab.active {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
}

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

.work-card {
  display: grid;
  min-height: 520px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 230, 0.035);
  overflow: hidden;
  transition: transform 0.35s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.work-card.large {
  grid-column: span 2;
}

.work-card.is-hidden {
  display: none;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 255, 71, 0.55);
}

.work-visual {
  min-height: 330px;
  border-bottom: 1px solid var(--line-dark);
  background: #101216;
}

.visual-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(204, 255, 71, 0.22);
}

.visual-stage p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 700;
}

.bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bars span {
  width: 14px;
  height: 110px;
  background: linear-gradient(180deg, var(--cyan), var(--acid));
  transform-origin: center;
  animation: pulse 1.2s ease-in-out infinite;
}

.bars span:nth-child(2n) { animation-delay: 0.15s; background: linear-gradient(180deg, var(--coral), var(--lilac)); }
.bars span:nth-child(3n) { animation-delay: 0.28s; }

.visual-code {
  display: grid;
  align-items: center;
  padding: clamp(18px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(204, 255, 71, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(204, 255, 71, 0.08) 1px, transparent 1px),
    #0c0f12;
  background-size: 28px 28px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  color: #dfffe7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(15px, 1.75vw, 22px);
  line-height: 1.55;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--line-dark);
}

.visual-grid span {
  background: #111318;
  transition: background 0.3s ease;
}

.visual-grid span:nth-child(3n) { background: var(--acid); }
.visual-grid span:nth-child(4n) { background: var(--coral); }
.visual-grid span:nth-child(5n) { background: var(--cyan); }

.work-card:hover .visual-grid span {
  background: #f4efe6;
}

.visual-wave {
  display: grid;
  place-items: center;
  padding: 28px;
  background: #101216;
}

.visual-wave svg {
  width: 100%;
  height: auto;
  max-width: 520px;
}

.visual-wave path {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  stroke: var(--acid);
  animation: waveDash 3.5s ease-in-out infinite;
  stroke-dasharray: 80 24;
}

.visual-wave path:nth-child(2) {
  stroke: var(--coral);
  animation-delay: 0.4s;
}

.work-info {
  align-self: end;
  padding: 22px;
}

.work-info span,
.service-list span,
.process-rail span,
.system-copy span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.work-info h3 {
  margin-bottom: 12px;
}

.work-info p,
.release-card p,
.service-list p,
.process-rail p {
  color: var(--muted-dark);
  line-height: 1.55;
}

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

.release-card {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-light);
  color: var(--text-light);
  background:
    linear-gradient(135deg, rgba(8, 9, 11, 0.04), rgba(8, 9, 11, 0)),
    var(--paper);
}

.release-card.accent {
  background: #101216;
  color: var(--text-dark);
  border-color: var(--line-dark);
}

.release-card span,
.gallery-tile span,
.os-grid span,
.source-strip a {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-card:not(.accent) span {
  color: #4d6a00;
}

.release-card h3 {
  margin-bottom: 0;
}

.release-card:not(.accent) p {
  color: var(--muted-light);
}

.release-play {
  width: max-content;
}

.section-note {
  max-width: 440px;
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.55;
}

.music-room {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.music-site {
  background: var(--ink);
}

.music-page {
  min-height: 100svh;
  padding-top: 132px;
}

.music-page-head {
  align-items: center;
  margin-bottom: 42px;
}

.music-page-head h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(52px, 7vw, 118px);
  line-height: 0.88;
}

.music-page .section-note {
  max-width: 560px;
  font-size: 17px;
}

.music-room::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(235, 239, 244, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(143, 156, 170, 0.16), transparent 32%),
    linear-gradient(135deg, #08090b 0%, #101216 52%, #07080a 100%);
}

.music-room::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(244, 239, 230, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.music-player-shell {
  --identity-rgb: 248, 243, 233;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  align-items: stretch;
}

.music-player-shell[data-identity="night"] { --identity-rgb: 170, 215, 255; }
.music-player-shell[data-identity="vocal"] { --identity-rgb: 255, 230, 206; }
.music-player-shell[data-identity="dance"] { --identity-rgb: 210, 255, 120; }
.music-player-shell[data-identity="nostalgia"] { --identity-rgb: 255, 205, 160; }
.music-player-shell[data-identity="thelabs"] { --identity-rgb: 235, 239, 244; }
.music-player-shell[data-identity="fouru"] { --identity-rgb: 255, 205, 232; }

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 233, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(12, 14, 18, 0.58);
  backdrop-filter: blur(26px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -24px 50px rgba(255, 255, 255, 0.03),
    0 28px 90px rgba(0, 0, 0, 0.34);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 42%, transparent 58%),
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.2), transparent 24%);
  opacity: 0.55;
  transform: translateX(-18%);
}

.music-now {
  --beat: 0;
  --energy: 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(22px, 4vw, 42px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -24px 50px rgba(255, 255, 255, 0.03),
    0 28px 90px rgba(0, 0, 0, 0.34),
    0 0 calc(32px + (var(--energy) * 54px)) rgba(var(--identity-rgb), calc(0.07 + (var(--beat) * 0.16)));
}

.music-now::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(var(--identity-rgb), calc(0.02 + (var(--beat) * 0.09))), transparent),
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(255, 255, 255, calc(0.012 + (var(--energy) * 0.035))) 12px 13px);
  opacity: 0.75;
  mix-blend-mode: screen;
}

.music-now[data-identity="night"] { --identity-rgb: 170, 215, 255; }
.music-now[data-identity="vocal"] { --identity-rgb: 255, 230, 206; }
.music-now[data-identity="dance"] { --identity-rgb: 210, 255, 120; }
.music-now[data-identity="nostalgia"] { --identity-rgb: 255, 205, 160; }
.music-now[data-identity="thelabs"] { --identity-rgb: 235, 239, 244; }
.music-now[data-identity="fouru"] { --identity-rgb: 255, 205, 232; }

.music-art-wrap {
  display: grid;
  place-items: center;
}

.music-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(248, 243, 233, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(140deg, rgba(var(--identity-rgb), 0.22), transparent 38%),
    linear-gradient(320deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(135deg, #161920, #090a0d);
  box-shadow: inset 0 0 70px rgba(202, 166, 255, 0.12), 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: scale(calc(1 + (var(--beat) * 0.035)));
  transition: transform 0.08s linear, box-shadow 0.1s linear;
}

.music-art::before,
.music-art::after,
.art-ring {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.music-art::before {
  inset: 18%;
  border: 1px solid rgba(248, 243, 233, 0.16);
  background: radial-gradient(circle, rgba(248, 243, 233, 0.12), transparent 60%);
}

.music-art::after {
  inset: 30%;
  background: conic-gradient(from 110deg, rgba(var(--identity-rgb), 0.95), rgba(255, 255, 255, 0.95), rgba(124, 134, 145, 0.8), rgba(var(--identity-rgb), 0.95));
  filter: blur(12px);
  opacity: 0.45;
  animation: rotateSlow 9s linear infinite;
}

.art-ring {
  inset: 10%;
  border: 18px solid rgba(248, 243, 233, 0.055);
  border-top-color: rgba(var(--identity-rgb), 0.42);
  border-right-color: rgba(255, 255, 255, 0.28);
  animation: rotateSlow 13s linear infinite reverse;
}

.art-core {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0;
}

.music-info {
  display: grid;
  align-content: center;
  min-width: 0;
}

.music-status {
  width: max-content;
  margin-bottom: 16px;
  border: 1px solid rgba(248, 243, 233, 0.26);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.9);
  background:
    linear-gradient(90deg, rgba(248, 243, 233, 0.14), transparent),
    rgba(255, 255, 255, 0.045);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.music-info h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
}

.music-info p {
  margin: 16px 0 0;
  color: var(--muted-dark);
  font-size: clamp(18px, 2vw, 24px);
}

.music-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid rgba(248, 243, 233, 0.16);
  background: rgba(248, 243, 233, 0.1);
  box-shadow: inset 0 0 48px rgba(255, 255, 255, 0.035);
}

.music-data-grid div {
  min-width: 0;
  padding: 13px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 11, 0.46);
}

.music-data-grid span,
.player-effects > span {
  display: block;
  margin-bottom: 6px;
  color: rgba(248, 243, 233, 0.44);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.music-data-grid strong {
  display: block;
  overflow: hidden;
  color: rgba(248, 243, 233, 0.88);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.music-tags span,
.track-mood {
  border: 1px solid rgba(248, 243, 233, 0.18);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.78);
  background: rgba(255, 255, 255, 0.045);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.music-visual {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  align-items: stretch;
  height: 136px;
  padding: 16px;
  border: 1px solid rgba(248, 243, 233, 0.22);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(248, 243, 233, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(248, 243, 233, 0.055) 1px, transparent 1px),
    rgba(12, 14, 18, 0.64);
  background-size: auto, 34px 100%, 100% 24px, auto;
  box-shadow: inset 0 0 0 1px rgba(8, 9, 11, 0.66), inset 0 -26px 44px rgba(0, 0, 0, 0.2);
}

.music-visual::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 243, 233, 0.38), transparent);
}

.music-visual::after {
  content: "";
  position: absolute;
  inset: 10px 16px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--identity-rgb), calc(0.16 + (var(--beat) * 0.34))), transparent);
  box-shadow: 0 calc(84px + (var(--beat) * 8px)) calc(12px + (var(--beat) * 24px)) rgba(var(--identity-rgb), calc(0.08 + (var(--beat) * 0.22)));
}

#musicWaveform {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wave-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 100%;
}

.wave-bars span {
  width: 100%;
  min-width: 4px;
  border: 1px solid rgba(248, 243, 233, 0.16);
  border-radius: 0;
  height: 18%;
  background:
    linear-gradient(180deg, #ffffff 0%, #d7d9dc 42%, #8c9299 100%);
  opacity: 0.82;
  transform-origin: bottom;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 calc(8px + (var(--energy) * 16px)) rgba(248, 243, 233, calc(0.04 + (var(--energy) * 0.16)));
  transition: height 0.075s linear, opacity 0.075s linear;
}

.wave-readout {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  color: rgba(248, 243, 233, 0.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wave-readout span {
  border: 1px solid rgba(248, 243, 233, 0.12);
  border-radius: 0;
  background: rgba(8, 9, 11, 0.42);
  padding: 5px 8px;
  backdrop-filter: blur(14px);
}

.visual-mode-switch {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.visual-mode,
.room-chip {
  min-height: 28px;
  border: 1px solid rgba(248, 243, 233, 0.14);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.62);
  background: rgba(8, 9, 11, 0.46);
  padding: 0 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.visual-mode:hover,
.visual-mode:focus-visible,
.visual-mode.active,
.room-chip:hover,
.room-chip:focus-visible,
.room-chip.active {
  color: #08090b;
  border-color: rgba(248, 243, 233, 0.9);
  background: linear-gradient(180deg, #ffffff, #c9cfd6);
  outline: none;
  transform: translateY(-1px);
}

.music-now.is-paused .music-art::after,
.music-now.is-paused .art-ring {
  animation-play-state: paused;
}

.music-now.is-paused .wave-bars span {
  opacity: 0.38;
}

.music-now.is-switching .music-info {
  animation: metadataScan 0.54s ease both;
}

.music-now.is-switching .music-visual {
  animation: visualFlash 0.54s ease both;
}

.player-controls {
  grid-column: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(130px, 0.24fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.player-effects {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
}

.sound-engine {
  grid-column: 1;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(248, 243, 233, 0.12);
  padding-bottom: 12px;
}

.engine-head span,
.listening-stats span {
  color: rgba(248, 243, 233, 0.44);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engine-head strong {
  overflow: hidden;
  color: rgba(248, 243, 233, 0.92);
  font-size: 12px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.engine-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.engine-controls label {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(248, 243, 233, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.engine-controls label span {
  color: rgba(248, 243, 233, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.engine-slider {
  width: 100%;
  accent-color: #eef1f4;
}

.room-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listening-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  padding: 1px;
  background: rgba(248, 243, 233, 0.1);
}

.listening-stats div {
  min-width: 0;
  padding: 13px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 11, 0.58);
}

.listening-stats strong {
  display: block;
  margin-top: 8px;
  color: rgba(248, 243, 233, 0.94);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
}

.player-effects > span {
  margin-right: 4px;
}

.effect-chip {
  min-height: 36px;
  border: 1px solid rgba(248, 243, 233, 0.16);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.78);
  background: rgba(255, 255, 255, 0.055);
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.effect-chip:hover,
.effect-chip:focus-visible,
.effect-chip.active {
  color: #090a0d;
  border-color: rgba(248, 243, 233, 0.94);
  background: linear-gradient(180deg, #ffffff, #cfd4da);
  outline: none;
  transform: translateY(-1px);
}

.transport {
  display: inline-flex;
  gap: 10px;
}

.player-button {
  color: var(--text-dark);
  border-color: rgba(248, 243, 233, 0.2);
  background: rgba(255, 255, 255, 0.075);
}

.play-main {
  width: 54px;
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.seek-wrap,
.volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
}

.music-seek,
.volume-wrap input {
  width: 100%;
  accent-color: #eef1f4;
}

.seek-wrap {
  position: relative;
}

.waveform-timeline {
  position: absolute;
  left: 46px;
  right: 45px;
  top: 50%;
  height: 34px;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.86;
}

.waveform-timeline span {
  width: 100%;
  min-width: 2px;
  height: calc(18% + (var(--bar-height, 0.3) * 76%));
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(150, 158, 168, 0.72));
  opacity: 0.32;
}

.waveform-timeline span.is-played {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(var(--identity-rgb), 0.84));
  box-shadow: 0 0 12px rgba(var(--identity-rgb), 0.16);
}

.music-seek {
  position: relative;
  z-index: 2;
  opacity: 0.1;
}

.playlist-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 14px;
}

.playlist-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.playlist-tab {
  min-height: 34px;
  border: 1px solid rgba(248, 243, 233, 0.14);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.68);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.playlist-tab:hover,
.playlist-tab:focus-visible,
.playlist-tab.active {
  color: #090a0d;
  border-color: rgba(248, 243, 233, 0.92);
  background: linear-gradient(180deg, #ffffff, #ccd2d8);
  outline: none;
}

.track-list {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  max-height: 690px;
  overflow: auto;
  padding-right: 4px;
}

.track-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 243, 233, 0.12);
  border-radius: 0;
  color: var(--text-dark);
  background:
    linear-gradient(90deg, rgba(248, 243, 233, 0.07), transparent),
    rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.track-row:hover,
.track-row:focus-visible,
.track-row.active {
  transform: translateY(-1px);
  border-color: rgba(248, 243, 233, 0.48);
  background:
    linear-gradient(90deg, rgba(248, 243, 233, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.065);
  outline: none;
}

.track-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248, 243, 233, 0.2);
  border-radius: 0;
  color: rgba(248, 243, 233, 0.84);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
}

.track-row.active .track-index {
  color: #090a0d;
  background: linear-gradient(180deg, #ffffff, #cbd1d8);
}

.track-row strong,
.track-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-row strong {
  font-size: 15px;
}

.track-row small {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 14px;
  margin-top: 34px;
}

.gallery-feature,
.gallery-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.gallery-feature {
  grid-row: span 2;
  min-height: 520px;
  display: block;
}

.gallery-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.1);
  transition: transform 0.7s ease;
}

.gallery-feature:hover img {
  transform: scale(1.045);
}

.gallery-feature span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  color: var(--text-dark);
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.gallery-tile {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(244, 239, 230, 0.07) 1px, transparent 1px),
    #101216;
  background-size: 32px 32px;
}

.gallery-tile h3 {
  margin: 0;
}

.tile-cyan { box-shadow: inset 0 0 80px rgba(89, 242, 214, 0.12); }
.tile-acid { box-shadow: inset 0 0 80px rgba(204, 255, 71, 0.12); }
.tile-coral { box-shadow: inset 0 0 80px rgba(255, 107, 87, 0.13); }

.system-shell {
  margin-top: 34px;
  border: 1px solid var(--line-light);
}

.tabs {
  padding: 10px;
  border-bottom: 1px solid var(--line-light);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.system-display {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  min-height: 460px;
}

.system-copy {
  padding: clamp(24px, 5vw, 54px);
  border-right: 1px solid var(--line-light);
}

.system-copy span {
  color: #6f8a00;
}

.system-copy p {
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.6;
}

.terminal-window {
  display: grid;
  align-content: start;
  margin: clamp(16px, 3vw, 34px);
  border: 1px solid rgba(8, 9, 11, 0.18);
  background: #0b0d10;
  min-height: 360px;
  box-shadow: 0 26px 70px rgba(8, 9, 11, 0.18);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.14);
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.terminal-top span:nth-child(2) { background: var(--acid); }
.terminal-top span:nth-child(3) { background: var(--cyan); }

.terminal-window pre {
  padding: clamp(18px, 4vw, 36px);
}

.creator-os {
  padding-top: 0;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.os-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 24px;
  background: rgba(244, 239, 230, 0.035);
}

.os-grid strong {
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
}

.service-list {
  border-top: 1px solid var(--line-dark);
}

.service-list article {
  display: grid;
  grid-template-columns: 74px minmax(220px, 0.7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-list h3 {
  margin-bottom: 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.process-rail article {
  min-height: 330px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.process-rail span,
.process-rail p {
  color: var(--muted-light);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

blockquote {
  margin: 0;
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 6vw, 66px);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 74px);
  line-height: 1;
}

.proof-panel {
  border: 1px solid var(--line-dark);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(244, 239, 230, 0.035);
}

.proof-panel p {
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.proof-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted-dark);
  line-height: 1.55;
}

.accordion {
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}

.accordion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 16px;
  text-align: left;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-light);
  background: transparent;
  cursor: pointer;
}

.accordion-item span {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
}

.accordion-item svg {
  margin-top: 5px;
  transition: transform 0.25s ease;
}

.accordion-item p {
  grid-column: 1 / -1;
  max-width: 780px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted-light);
  line-height: 1.6;
  transition: max-height 0.28s ease;
}

.accordion-item.active p {
  max-height: 140px;
}

.accordion-item.active svg {
  transform: rotate(45deg);
}

.site-footer {
  border-top: 1px solid var(--line-dark);
}

.site-footer h2 {
  max-width: 820px;
  margin-bottom: 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.footer-copy {
  max-width: 580px;
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line-dark);
  padding: 18px;
  background: rgba(244, 239, 230, 0.035);
}

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

.contact-form label span {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--text-dark);
  background: rgba(8, 9, 11, 0.4);
  padding: 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(72px, 12vw, 160px);
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.source-strip a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0 10px;
  color: var(--muted-dark);
}

[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.reveal-enabled [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

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

.site-header[data-reveal] {
  transform: translateX(-50%) translateY(18px);
}

.site-header[data-reveal].is-visible {
  transform: translateX(-50%) translateY(0);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { transform: scaleY(0.35); opacity: 0.55; }
  50% { transform: scaleY(1.4); opacity: 1; }
}

@keyframes waveDash {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 120; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cinemaPulse {
  0%, 100% {
    opacity: 0.34;
    transform: scaleY(0.58);
  }
  50% {
    opacity: 0.82;
    transform: scaleY(1);
  }
}

@keyframes metadataScan {
  0% {
    opacity: 0.38;
    transform: translateY(10px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes visualFlash {
  0% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 34px rgba(255, 255, 255, 0.22);
  }
  100% {
    box-shadow: inset 0 0 0 1px rgba(8, 9, 11, 0.66), inset 0 -26px 44px rgba(0, 0, 0, 0.2);
  }
}

@keyframes musicBars {
  0%, 100% { transform: scaleY(0.34); opacity: 0.48; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .menu-toggle {
    display: inline-flex !important;
    color: var(--ink);
    border-color: var(--acid);
    background: var(--acid);
  }

  .header-actions .button.small {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .intro-grid,
  .system-display,
  .proof-grid,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .system-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

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

  .release-grid,
  .music-player-shell,
  .gallery-grid,
  .os-grid,
  .contact-grid,
  .about-hero,
  .about-manifesto,
  .about-contact {
    grid-template-columns: 1fr;
  }

  .work-card.large {
    grid-column: auto;
  }

  .hero-figure {
    width: min(38vw, 260px);
    opacity: 0.48;
  }

  .hero-content {
    max-width: 720px;
  }

  .cinema-hero {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 8px 0 28px;
    order: -1;
  }

  .cinema-screen {
    aspect-ratio: 16 / 9;
  }

  .about-grid,
  .music-player-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-copy {
    min-height: auto;
  }

  .about-hero {
    min-height: auto;
    align-items: start;
  }

  .about-portrait {
    order: -1;
  }

  .about-portrait img {
    height: min(68svh, 680px);
  }

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

  .about-sticky-title {
    position: static;
  }

  .about-service-list article {
    grid-template-columns: 72px 1fr;
  }

  .about-service-list p {
    grid-column: 2;
  }

  .about-editorial-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 260px;
  }

  .about-editorial-grid img:nth-child(1),
  .about-editorial-grid img:nth-child(2),
  .about-editorial-grid img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .about-contact-actions {
    justify-content: flex-start;
  }

  .gallery-feature {
    grid-row: auto;
    min-height: 420px;
  }

  .music-now,
  .player-controls,
  .player-effects,
  .sound-engine,
  .listening-stats,
  .playlist-panel,
  .track-list {
    grid-column: auto;
    grid-row: auto;
  }

  .player-controls {
    grid-template-columns: 1fr;
  }

  .listening-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .service-list article {
    grid-template-columns: 54px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .process-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 12px;
    width: calc(100% - 20px);
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 8px 0 10px;
  }

  .brand span:last-child {
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .audio-toggle {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .menu-toggle {
    display: inline-flex !important;
    position: static;
    z-index: 120;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    color: var(--ink);
    border-color: var(--acid);
    background: var(--acid);
  }

  .menu-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .menu-fallback {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 110px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .hero-copy {
    max-width: 330px;
    font-size: 18px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .meta-value {
    font-size: 32px;
  }

  .section-head {
    display: block;
  }

  .filter-group {
    margin-top: 22px;
  }

  .intro,
  .work,
  .releases,
  .music-room,
  .about-me,
  .about-hero,
  .about-stats,
  .about-manifesto,
  .about-capabilities,
  .about-gallery-page,
  .about-stack,
  .about-experience,
  .about-contact,
  .gallery,
  .systems,
  .creator-os,
  .capabilities,
  .process,
  .proof,
  .faq,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .work-card {
    min-height: auto;
  }

  .work-visual {
    min-height: 270px;
  }

  .terminal-window {
    min-height: 300px;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .hero-figure {
    display: none;
  }

  .cinema-hero {
    margin-top: 0;
  }

  .cinema-fallback {
    padding: 14px;
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .about-hero {
    padding-top: 104px;
    gap: 24px;
  }

  .about-hero h1 {
    font-size: clamp(58px, 18vw, 92px);
    line-height: 0.86;
  }

  .about-hero p {
    font-size: 18px;
  }

  .about-hero-actions,
  .about-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .about-portrait img {
    height: 430px;
  }

  .about-portrait figcaption {
    display: grid;
  }

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

  .about-stats > div {
    min-height: 142px;
  }

  .about-manifesto-copy p {
    font-size: clamp(24px, 8vw, 38px);
    line-height: 1.08;
  }

  .about-service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-service-list p {
    grid-column: auto;
  }

  .about-editorial-grid,
  .about-stack-grid,
  .about-timeline article {
    grid-template-columns: 1fr;
  }

  .about-editorial-grid {
    grid-auto-rows: 300px;
  }

  .about-stack-grid article {
    min-height: 210px;
  }

  .about-stack-grid svg {
    margin-bottom: 34px;
  }

  .about-gallery img:nth-child(1),
  .about-gallery img:nth-child(4),
  .about-gallery img:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .music-page-head h1 {
    max-width: 11ch;
    font-size: clamp(42px, 13vw, 68px);
    line-height: 0.92;
  }

  .release-card,
  .os-grid article {
    min-height: 230px;
  }

  .music-now {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .music-art {
    width: min(100%, 210px);
  }

  .music-info h3 {
    font-size: clamp(30px, 10vw, 48px);
    line-height: 0.98;
  }

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

  .music-visual {
    height: 108px;
    padding: 10px;
  }

  .player-controls,
  .player-effects,
  .sound-engine,
  .playlist-panel {
    padding: 12px;
  }

  .engine-controls,
  .listening-stats {
    gap: 8px;
  }

  .track-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .wave-bars {
    gap: 4px;
  }

  .wave-readout {
    display: none;
  }

  .visual-mode-switch {
    left: 10px;
    right: 10px;
    bottom: 8px;
  }

  .visual-mode {
    flex: 1;
    padding: 0 6px;
    font-size: 9px;
  }

  .engine-controls,
  .listening-stats {
    grid-template-columns: 1fr 1fr;
  }

  .waveform-timeline {
    left: 42px;
    right: 42px;
    height: 28px;
  }

  .track-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .track-mood {
    display: none;
  }

  .gallery-feature {
    min-height: 360px;
  }

  .footer-bottom {
    display: grid;
  }
}

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