:root {
  --bg: #f2f2ed;
  --surface: #ffffff;
  --text: #111110;
  --ink: #111110;
  --muted: #6c6c65;
  --line: #d6d6cf;
  --inverse: #f5f5f1;
  --accent: #bd5b36;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[data-theme="night"] {
  --bg: #11120f;
  --surface: #1a1b17;
  --text: #ecebe3;
  --muted: #a3a39a;
  --line: #34352f;
  --accent: #dc7954;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: color 500ms ease, background 500ms ease;
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--inverse);
  background: var(--ink);
  transform: translateY(-200%);
}

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

.site-header,
.music-section,
.profile-section,
.contact-section,
footer {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(22px, 4vw, 60px);
  min-height: 72px;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: center;
}

.studio-clock {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-clock span {
  color: var(--muted);
}

.studio-clock time {
  min-width: 54px;
  font-variant-numeric: tabular-nums;
}

.theme-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.theme-toggle:hover {
  opacity: 0.5;
}

.theme-icon {
  display: block;
  width: 17px;
  height: 17px;
}

.theme-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.theme-icon .theme-sun {
  display: none;
}

html[data-theme="night"] .theme-moon {
  display: none;
}

html[data-theme="night"] .theme-icon .theme-sun {
  display: block;
}

.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--inverse);
  background: var(--ink);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  overflow: hidden;
}

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

nav {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a,
footer a {
  transition: opacity 180ms ease;
}

nav a:hover,
footer a:hover {
  opacity: 0.55;
}

.back-to-top {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.up-arrow {
  position: relative;
  width: 7px;
  height: 10px;
  border-left: 1px solid currentColor;
}

.up-arrow::before {
  position: absolute;
  top: 0;
  left: -1px;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: "";
  transform: rotate(45deg) translate(-2px, 1px);
}

.hero {
  position: relative;
  width: min(1600px, calc(100% - 32px));
  min-height: calc(100svh - 88px);
  margin: 16px auto 0;
  overflow: hidden;
  background: #34322d;
}

.hero-media {
  position: absolute;
  inset: -3%;
  overflow: hidden;
  transform: translate3d(var(--hero-x, 0%), var(--hero-y, 0%), 0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-image,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image {
  transition: opacity 700ms ease, filter 700ms ease;
}

.hero-day-image {
  z-index: 0;
  will-change: transform;
  animation: hero-drift 18s cubic-bezier(0.45, 0.05, 0.2, 1) infinite alternate;
}

.hero-night-poster {
  z-index: 1;
  opacity: 0;
}

.hero-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 700ms ease;
}

html[data-theme="night"] .hero-day-image {
  opacity: 0;
}

html[data-theme="night"] .hero-night-poster,
html[data-theme="night"] .hero-video.is-ready {
  opacity: 1;
}

html[data-theme="night"] .hero-shade {
  background: linear-gradient(180deg, rgba(4, 5, 4, 0.12) 18%, rgba(4, 5, 4, 0.74) 100%);
}

@keyframes hero-drift {
  0% {
    transform: scale(1.035) translate3d(-0.45%, -0.2%, 0);
  }

  55% {
    transform: scale(1.065) translate3d(0.3%, 0.2%, 0);
  }

  100% {
    transform: scale(1.085) translate3d(-0.15%, 0.45%, 0);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 8, 0.05) 30%, rgba(9, 9, 8, 0.76) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100svh - 88px);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 72px);
  color: var(--inverse);
}

.eyebrow {
  margin: 0;
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

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

h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3.4rem, 8.7vw, 9.4rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero-bottom {
  display: block;
  margin-top: clamp(34px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-bottom p {
  max-width: 580px;
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  line-height: 1.45;
}

.music-section,
.profile-section {
  padding: clamp(90px, 10vw, 155px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
  align-items: start;
  margin-bottom: clamp(50px, 7vw, 92px);
}

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

.section-heading h2,
.profile-main h2 {
  margin: -0.16em 0 0;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.section-intro {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.release-list {
  display: grid;
  gap: clamp(70px, 9vw, 130px);
}

.release-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.release-heading h3 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.release-heading p,
.release-index {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-index {
  align-self: start;
  margin-top: 7px;
}

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

.work-row {
  border-bottom: 1px solid var(--line);
}

.work-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: 64px minmax(0, 1fr) 54px 38px;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: padding 240ms ease, color 240ms ease;
}

.work-trigger:hover {
  padding-left: 10px;
}

.work-title {
  font-size: clamp(1.35rem, 2.4vw, 2.45rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 1;
  transition: color 180ms ease;
}

.work-trigger time,
.work-number {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-trigger time,
.work-number {
  color: var(--muted);
}

.work-trigger time {
  text-align: right;
}

.work-action {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  align-self: center;
  color: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.work-action::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
  transform: translate(-40%, -50%);
}

.work-row.is-playing .work-action::before {
  width: 9px;
  height: 10px;
  background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px, currentColor 7px 9px);
  border: 0;
  transform: translate(-50%, -50%);
}

.work-trigger:hover .work-title,
.work-trigger:focus-visible .work-title,
.work-row.is-active .work-title {
  color: var(--accent);
}

.work-trigger:hover .work-action,
.work-row.is-active .work-action {
  opacity: 0.55;
  transform: translateX(3px);
}

.line-player {
  position: sticky;
  z-index: 20;
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(180px, 1fr) minmax(170px, 0.85fr) 32px;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 16px 18px;
  color: var(--inverse);
  background: rgba(20, 20, 18, 0.97);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.line-player[hidden] {
  display: none;
}

.line-player-close {
  display: grid;
  padding: 0;
  place-items: center;
  color: var(--inverse);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  cursor: pointer;
}

.line-player-close {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  font-weight: 300;
}

.line-player-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.line-player-meta span {
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.line-player-meta span {
  color: #aaa9a2;
}

.line-player-meta strong {
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-player-progress {
  display: grid;
  gap: 6px;
}

.player-wave-control {
  width: 100%;
  padding: 7px 0;
  color: var(--inverse);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.player-wave {
  display: flex;
  width: 100%;
  height: 30px;
  gap: 2px;
  align-items: center;
}

.player-wave span {
  flex: 1 1 0;
  width: auto;
  height: var(--wave-height);
  min-height: 3px;
  background: currentColor;
  opacity: 0.38;
  transform: scaleY(0.32);
  transform-origin: center;
  transition: opacity 180ms ease;
}

.line-player.is-playing .player-wave span {
  opacity: 0.8;
  animation: player-wave 780ms ease-in-out infinite alternate;
  animation-delay: calc(var(--wave-index) * -47ms);
}

.player-wave-control:hover .player-wave span {
  opacity: 0.72;
}

@keyframes player-wave {
  0%, 100% { transform: scaleY(0.28); }
  50% { transform: scaleY(1); }
}

.line-player-progress input[type="range"] {
  height: 2px;
  background: linear-gradient(to right, var(--accent) var(--value, 0%), rgba(255, 255, 255, 0.25) var(--value, 0%));
}

.line-player-progress > div {
  display: flex;
  justify-content: space-between;
  color: #aaa9a2;
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

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

.music-card {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  color: var(--inverse);
  background: transparent;
  border: 0;
  cursor: pointer;
  perspective: 1200px;
}

.music-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.music-card:hover .music-card-inner,
.music-card:focus-visible .music-card-inner,
.music-card.is-flipped .music-card-inner {
  transform: rotateY(180deg);
}

.music-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  backface-visibility: hidden;
}

.music-card-front {
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px;
}

.music-card-front::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.76) 100%);
}

.music-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.music-card:hover .music-card-front img {
  transform: scale(1.025);
}

.card-number,
.card-project {
  position: relative;
  z-index: 1;
}

.card-project {
  max-width: 76%;
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.music-card-back {
  flex-direction: column;
  padding: clamp(18px, 2.3vw, 34px);
  color: var(--inverse);
  background: var(--ink);
  text-align: left;
  transform: rotateY(180deg);
}

.card-type,
.card-meta {
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  display: block;
  margin: auto 0 12px;
  font-size: clamp(1.35rem, 2.6vw, 2.75rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) 1fr;
  gap: clamp(30px, 5vw, 72px);
  max-height: 0;
  margin-top: 0;
  padding: 0 clamp(24px, 4vw, 58px);
  overflow: hidden;
  color: var(--inverse);
  background: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: max-height 700ms ease, margin-top 420ms ease, padding 420ms ease, opacity 300ms ease, transform 420ms ease;
}

.player.is-open {
  max-height: 850px;
  margin-top: 12px;
  padding-block: clamp(30px, 5vw, 64px);
  opacity: 1;
  transform: none;
}

.player-cover {
  width: 100%;
  aspect-ratio: 1;
  align-self: center;
  object-fit: cover;
}

.player-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.player-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--inverse);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.player-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.track-label {
  color: #aaa9a2;
}

.player h3 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.track-badge {
  flex: none;
  margin-left: 18px;
  padding: 7px 10px;
  color: #aaa9a2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-controls {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: clamp(26px, 4vw, 48px) 0 22px;
}

.play-button {
  display: grid;
  width: 70px;
  height: 70px;
  flex: none;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--inverse);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.play-button:hover {
  color: var(--inverse);
  background: var(--accent);
  transform: scale(1.03);
}

.play-button svg {
  width: 24px;
  fill: currentColor;
}

.play-button .pause-icon,
.player.is-playing .play-icon {
  display: none;
}

.player.is-playing .pause-icon {
  display: block;
}

.visualizer {
  display: flex;
  min-width: 0;
  height: 70px;
  flex: 1;
  gap: 3px;
  align-items: center;
}

.bar {
  min-width: 1px;
  height: calc(var(--level) * 1%);
  min-height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.56);
  transform-origin: center;
}

.player.is-playing .bar {
  animation: player-pulse 760ms ease-in-out infinite alternate;
  animation-delay: calc(var(--index) * -21ms);
}

@keyframes player-pulse {
  to { transform: scaleY(0.32); }
}

.timeline {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 12px;
  align-items: center;
  color: #aaa9a2;
  letter-spacing: 0.06em;
}

input[type="range"] {
  width: 100%;
  height: 2px;
  appearance: none;
  background: linear-gradient(to right, var(--inverse) var(--value, 0%), rgba(255, 255, 255, 0.25) var(--value, 0%));
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  appearance: none;
  background: var(--inverse);
  border: 0;
  border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--inverse);
  border: 0;
  border-radius: 50%;
}

.player-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  color: #aaa9a2;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  letter-spacing: 0.08em;
}

.player-footer a:hover {
  color: var(--inverse);
}

.volume-control {
  display: flex;
  gap: 10px;
  align-items: center;
}

.volume-control input {
  width: 76px;
}

.preview-note {
  margin: 18px 0 0;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.studio-section {
  padding: clamp(90px, 10vw, 155px) 0;
  color: var(--inverse);
  background: var(--ink);
}

.studio-inner {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.studio-heading {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(50px, 7vw, 92px);
}

.studio-heading h2 {
  width: min(67.5%, 920px);
  margin: -0.16em 0 0;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(116px, 11vw, 170px);
  gap: 12px;
}

.studio-grid--night {
  display: none;
}

html[data-theme="night"] .studio-grid--day {
  display: none;
}

html[data-theme="night"] .studio-grid--night {
  display: grid;
}

.studio-shot {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--inverse);
  background: #252522;
  border: 0;
  cursor: zoom-in;
  text-align: left;
}

.studio-shot--workspace {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.studio-shot--wall {
  grid-column: 8 / 13;
  grid-row: 1 / 4;
}

.studio-shot--electric {
  grid-column: 1 / 5;
  grid-row: 3 / 6;
}

.studio-shot--synth {
  grid-column: 5 / 9;
  grid-row: 3 / 6;
}

.studio-shot--detail {
  grid-column: 9 / 13;
  grid-row: 4 / 6;
}

.night-shot--lamp {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
}

.night-shot--guitars {
  grid-column: 4 / 7;
  grid-row: 1 / 5;
}

.night-shot--brass {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
}

.night-shot--corridor {
  grid-column: 7 / 10;
  grid-row: 3 / 7;
}

.night-shot--amp {
  grid-column: 10 / 13;
  grid-row: 3 / 5;
}

.night-shot--desk {
  grid-column: 1 / 7;
  grid-row: 5 / 7;
}

.night-shot--strings {
  grid-column: 10 / 13;
  grid-row: 5 / 7;
}

.studio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 350ms ease;
}

.studio-shot--workspace img {
  object-position: center 46%;
}

.studio-shot--wall img {
  object-position: center 45%;
}

.studio-shot--electric img,
.studio-shot--synth img {
  object-position: center center;
}

.studio-shot--detail img {
  object-position: 50% 46%;
}

.studio-shot:hover img,
.studio-shot:focus-visible img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.studio-lightbox {
  width: min(1400px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  color: var(--inverse);
  background: transparent;
  border: 0;
}

.studio-lightbox::backdrop {
  background: rgba(8, 8, 7, 0.94);
  backdrop-filter: blur(8px);
}

.studio-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 87vh;
  margin-inline: auto;
  object-fit: contain;
}

.studio-lightbox p {
  margin: 10px 0 0;
  color: #c8c7c0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--inverse);
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 300;
}

.privacy-dialog {
  width: min(720px, calc(100% - 32px));
  max-width: none;
  max-height: min(86vh, 820px);
  padding: clamp(30px, 5vw, 64px);
  overflow: auto;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.privacy-dialog::backdrop {
  background: rgba(7, 7, 6, 0.82);
  backdrop-filter: blur(8px);
}

.privacy-dialog h2 {
  margin: 18px 0 38px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.privacy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 300;
}

.privacy-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.privacy-copy p {
  margin: 0;
}

.privacy-copy strong {
  color: var(--text);
  font-weight: 650;
}

.privacy-date {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(60px, 8vw, 130px);
}

.profile-main .eyebrow {
  margin-bottom: 50px;
}

.about-copy {
  max-width: 760px;
  margin: 62px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.65vw, 1.5rem);
  line-height: 1.55;
}

.about-copy p:first-child {
  color: var(--text);
  font-size: 1.15em;
}

.profile-aside {
  align-self: start;
}

.profile-portrait {
  margin: 0;
  overflow: hidden;
  background: #000;
}

.profile-portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  padding: clamp(90px, 12vw, 180px) 0 clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  max-width: 8ch;
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  font-weight: 430;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.contact-mail {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1rem, 2.25vw, 2rem);
  letter-spacing: -0.025em;
  transition: opacity 180ms ease;
}

.contact-mail span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  transition: transform 180ms ease;
}

.contact-arrow::before {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: center;
}

.contact-arrow::after {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
}

.contact-mail:hover {
  opacity: 0.58;
}

.contact-mail:hover .contact-arrow {
  transform: translate(4px, -4px);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.footer-actions {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

.footer-actions button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.footer-actions button:hover {
  opacity: 0.55;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .music-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player {
    grid-template-columns: minmax(180px, 0.36fr) 1fr;
  }
}

@media (max-width: 800px) {
  .site-header,
  .music-section,
  .studio-inner,
  .profile-section,
  .contact-section,
  footer {
    width: calc(100% - 32px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    padding-block: 10px;
  }

  .header-meta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  nav {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-content: flex-end;
  }

  .hero {
    width: calc(100% - 16px);
    min-height: 78svh;
    margin-top: 8px;
  }

  .hero-copy {
    min-height: 78svh;
  }

  .hero-image {
    object-position: 52% center;
  }

  .hero-bottom,
  .section-heading,
  .profile-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .line-player {
    grid-template-columns: minmax(0, 0.8fr) minmax(150px, 1.2fr) 32px;
  }

  .line-player-progress {
    grid-column: 1 / 3;
  }

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

  .profile-section {
    gap: 70px;
  }

  .profile-aside {
    width: 100%;
  }

  .contact-section {
    gap: 54px;
  }

  .studio-heading {
    justify-content: flex-start;
  }

  .studio-heading h2 {
    width: 100%;
  }

  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(112px, 30vw, 160px);
  }

  .studio-shot--workspace {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .studio-shot--wall {
    grid-column: 1;
    grid-row: 3 / 5;
  }

  .studio-shot--electric {
    grid-column: 2;
    grid-row: 3 / 5;
  }

  .studio-shot--synth {
    grid-column: 1;
    grid-row: 5 / 7;
  }

  .studio-shot--detail {
    grid-column: 2;
    grid-row: 5 / 7;
  }

  .night-shot--lamp {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .night-shot--guitars {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .night-shot--brass {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
  }

  .night-shot--corridor {
    grid-column: 1;
    grid-row: 5 / 7;
  }

  .night-shot--amp {
    grid-column: 2;
    grid-row: 5 / 7;
  }

  .night-shot--desk {
    grid-column: 1 / 3;
    grid-row: 7 / 9;
  }

  .night-shot--strings {
    grid-column: 1 / 3;
    grid-row: 9 / 11;
  }

  .player {
    grid-template-columns: 150px 1fr;
    gap: 24px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
  }

  .wordmark {
    font-size: 0.55rem;
    letter-spacing: 0.09em;
    line-height: 1.35;
  }

  nav {
    justify-content: space-between;
    font-size: 0.61rem;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-copy {
    min-height: 72svh;
    padding: 24px 20px;
  }

  .hero-image {
    object-position: 52% center;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-bottom p {
    font-size: 0.9rem;
  }

  .music-section,
  .studio-section,
  .profile-section {
    padding-block: 86px;
  }

  .release-list {
    gap: 74px;
  }

  .release-heading {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }

  .release-heading h3 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .release-heading p,
  .release-index {
    font-size: 0.58rem;
  }

  .work-trigger {
    grid-template-columns: 30px minmax(0, 1fr) auto 32px;
    gap: 8px 10px;
    padding: 17px 0;
  }

  .work-trigger:hover {
    padding-left: 0;
  }

  .work-title {
    font-size: clamp(1.25rem, 6.3vw, 1.8rem);
  }

  .work-action {
    grid-column: 4;
    grid-row: 1;
  }

  .work-trigger time,
  .work-number {
    font-size: 0.58rem;
  }

  .line-player {
    bottom: 8px;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 10px 12px;
    margin-top: 18px;
    padding: 13px;
  }

  .player-wave-control {
    grid-column: 1 / 3;
  }

  .line-player-progress {
    grid-column: 1 / 3;
  }

  .line-player-close {
    width: 30px;
    height: 30px;
  }

  .privacy-dialog {
    padding: 28px 22px;
  }

  .privacy-dialog h2 {
    margin-bottom: 30px;
  }

  footer {
    gap: 16px;
  }

  .footer-actions {
    gap: 16px;
  }

  .studio-grid {
    gap: 8px;
  }

  .card-title {
    font-size: clamp(1.05rem, 6vw, 1.5rem);
  }

  .card-type,
  .card-meta,
  .card-action {
    font-size: 0.47rem;
  }

  .player {
    grid-template-columns: 86px 1fr;
    gap: 15px;
    padding-inline: 16px;
  }

  .player.is-open {
    padding-block: 34px 20px;
  }

  .player-cover {
    align-self: start;
  }

  .player h3 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .track-badge {
    display: none;
  }

  .play-button {
    width: 54px;
    height: 54px;
  }

  .player-controls {
    gap: 14px;
    margin-block: 24px 18px;
  }

  .visualizer {
    height: 54px;
    gap: 2px;
  }

  .volume-control span {
    display: none;
  }

  .player-footer a {
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-day-image {
    animation: none;
    transform: scale(1.04);
  }

  .hero-video {
    display: none;
  }
}
