:root {
  --black: #0d0d0d;
  --black-soft: #121212;
  --white: #f7f7f2;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.12);
  --paper: #ece7da;
  --violet: #6b4cff;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --soft: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  transition: opacity 160ms ease;
  will-change: transform;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor-pointer {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #7c5cff, #4c36ff);
  clip-path: polygon(0 0, 100% 38%, 47% 50%, 34% 100%);
  filter: drop-shadow(0 6px 10px rgba(76, 54, 255, 0.24));
  transform: rotate(-18deg);
  transition: transform 180ms ease;
}

.cursor-label {
  position: absolute;
  left: 20px;
  top: 18px;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--violet);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(107, 76, 255, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.cursor.is-hovering .cursor-pointer {
  transform: rotate(-18deg) scale(1.22);
}

.cursor.is-hovering .cursor-label {
  background: #101010;
  transform: translate(2px, 2px);
}

.topbar {
  position: fixed;
  top: 42px;
  left: 25%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(239, 239, 232, 0.86);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px) saturate(135%);
  transform: translateX(-50%);
}

.mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(12, 12, 12, 0.78);
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: #050505;
  outline: none;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--black);
}

.hero-pane {
  position: relative;
  min-height: 100svh;
}

.hero-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(104px, 12vh, 150px) clamp(34px, 6vw, 96px) clamp(64px, 8vh, 96px);
  background: var(--black-soft);
}

.hero-copy-inner {
  width: min(100%, 620px);
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero-lead {
  max-width: 590px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 700;
  line-height: 1.22;
}

.hero-facts {
  display: flex;
  gap: clamp(44px, 7vw, 90px);
  margin: clamp(38px, 5vw, 58px) 0 0;
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.sound-card {
  display: grid;
  width: min(100%, 560px);
  min-height: 74px;
  grid-template-columns: 58px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  background: #232323;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  transition: transform 220ms var(--soft), background 220ms ease;
}

.sound-card:hover,
.sound-card:focus-within {
  background: #292929;
  outline: none;
  transform: translateY(-2px);
}

.sound-cover {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 5px;
  background: #111;
}

.sound-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sound-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.sound-copy span {
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sound-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sound-copy em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.sound-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 22px;
  color: rgba(255, 255, 255, 0.52);
}

.sound-bars i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
}

.sound-bars i:nth-child(1) { height: 7px; }
.sound-bars i:nth-child(2) { height: 13px; }
.sound-bars i:nth-child(3) { height: 18px; }
.sound-bars i:nth-child(4) { height: 9px; }

.sound-card.is-playing .sound-bars i {
  animation: soundPulse 900ms ease-in-out infinite;
}

.sound-card.is-playing .sound-bars i:nth-child(2) {
  animation-delay: 110ms;
}

.sound-card.is-playing .sound-bars i:nth-child(3) {
  animation-delay: 220ms;
}

.sound-card.is-playing .sound-bars i:nth-child(4) {
  animation-delay: 330ms;
}

@keyframes soundPulse {
  50% {
    opacity: 0.42;
    transform: scaleY(0.48);
  }
}

.sound-play {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f6f6f2;
  color: #101010;
  cursor: inherit;
}

.sound-play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #101010;
}

.sound-card.is-playing .sound-play span {
  width: 9px;
  height: 10px;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(90deg, #101010 0 34%, transparent 34% 66%, #101010 66% 100%);
}

.sound-play:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #d4c9ad;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(0.86) brightness(1.08) contrast(0.94);
  object-fit: cover;
  transform: scale(1.02);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 48%, rgba(38, 31, 20, 0.16));
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: -10%;
  z-index: 2;
  width: 120%;
  height: 120%;
  opacity: 0.42;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-profile-card {
  position: relative;
  z-index: 4;
  display: flex;
  width: clamp(220px, 20vw, 300px);
  min-height: clamp(280px, 25vw, 370px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 36px;
  background: rgba(249, 248, 241, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 36px 90px rgba(23, 19, 12, 0.32);
  color: #292929;
  text-align: center;
  backdrop-filter: blur(24px) saturate(112%);
  transform: perspective(900px) rotateX(2deg) rotateY(-5deg) translateZ(0);
}

.profile-lens {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #101010;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.22);
}

.profile-lens img {
  width: 132%;
  height: 132%;
  object-fit: cover;
}

.hero-profile-card p {
  max-width: 210px;
  margin: 44px 0 0;
  color: rgba(16, 16, 16, 0.78);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}

.profile-links {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(24px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090909;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 800;
}

.footer a {
  color: #fff;
}

@media (min-width: 1800px) {
  .hero-copy-inner {
    max-width: 650px;
  }
}

@media (max-width: 980px) {
  .topbar {
    left: 50%;
    top: 22px;
  }

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

  .hero-pane {
    min-height: auto;
  }

  .hero-copy {
    min-height: 68svh;
    padding-top: 118px;
  }

  .hero-visual {
    min-height: 56svh;
  }

  .hero-profile-card {
    transform: perspective(900px) rotateX(2deg) rotateY(-4deg);
  }
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 24px);
    justify-content: space-between;
    gap: 8px;
  }

  .nav a {
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-copy {
    min-height: 72svh;
    padding: 102px 22px 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-facts {
    gap: 24px;
  }

  .sound-card {
    grid-template-columns: 52px minmax(0, 1fr) 26px;
    gap: 12px;
  }

  .sound-cover {
    width: 52px;
    height: 52px;
  }

  .sound-bars {
    display: none;
  }

  .hero-visual {
    min-height: 52svh;
  }

  .hero-profile-card {
    width: min(76vw, 270px);
    min-height: 310px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  body.has-cursor,
  body.has-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none;
  }

  .hero-scene {
    display: none;
  }

  .hero-profile-card,
  .sound-card:hover,
  .sound-card:focus-within {
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  body.has-cursor,
  body.has-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none;
  }
}
