

:root {
  
  --bg: #FFFFFF;
  --text: #111111;
  --text-muted: #666666;
  --border-color: #000000;

  --font-main: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-regular: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --pad-lg: 2rem;
  
  --pad-md: 1.5rem;
  
  --pad-sm: 1rem;
  
  --pad-xs: 0.5rem;

  --line: 1px solid var(--border-color);

  --color-bg: var(--bg);
  --color-text: var(--text);
  --color-border: var(--border-color);
  --font-body: var(--font-main);
  --font-mono: var(--font-main);
  --font-tech: var(--font-main);
  --border: var(--line);
}

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

.mono {
  font-family: var(--font-main);
  font-variant-numeric: tabular-nums;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-weight: var(--font-regular);
  font-size: 1.0625rem;
  
  line-height: 1.55;
  letter-spacing: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  text-transform: none;
  
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-transform: none;
}

h1 {
  font-weight: var(--font-bold);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 {
  font-weight: var(--font-bold);
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h3 {
  font-weight: var(--font-semibold);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.label-mono {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-semibold);
  letter-spacing: 0;
  color: var(--text-muted);
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--color-border);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-bottom: var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
}

.site-title {
  font-size: 1.125rem;
  font-weight: var(--font-semibold);
  font-family: var(--font-main);
  letter-spacing: -0.01em;
}

.site-title a {
  border-bottom: none;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.875rem;
  
  font-weight: var(--font-semibold);
  text-transform: none;
  letter-spacing: 0;
  padding-bottom: 2px;
}

.nav-link.active {
  border-bottom: 1px solid var(--color-border);
}

.nav-link:hover {
  border-bottom-color: var(--color-border);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown .nav-link {
  cursor: pointer;
  display: block;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  text-transform: none;
  letter-spacing: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-dropdown:hover .nav-link {
  border-bottom-color: var(--color-border);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  right: -2rem;
  min-width: 200px;
  background-color: var(--color-bg);
  border: var(--border);
  border-right: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: var(--border);
  white-space: nowrap;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background-color: #f5f5f5;
  border-bottom-color: var(--color-border);
}

.site-main {
  padding-top: 51px;
  padding-bottom: 40px; 
  min-height: calc(100vh - 40px);
  box-sizing: border-box;
}

.page-section {
  width: 100%;
  border-bottom: var(--border);
  background-color: var(--color-bg);
}

.page-section:has(.work-grid) {
  border-bottom: none;
}

.section-header {
  padding: var(--pad-lg);
  border-bottom: var(--border);
}

.section-header:not(:first-of-type) {
  border-top: var(--border);
}

.section-label {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  display: block;
  text-transform: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-color);
  border-bottom: var(--border);
}

.project-cell {
  background-color: var(--color-bg);
  min-width: 0;
}

.project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-bottom: none;
}

.project-link:hover {
  border-bottom: none;
}

.project-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f5f5f5;
  width: 100%;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.project-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  border-top: var(--border);
  padding: var(--pad-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-link:hover .project-overlay,
.project-cell.active .project-overlay {
  opacity: 1;
  visibility: visible;
}

.project-description {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}

.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f5f5f5;
  width: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.project-meta {
  padding: 0.85rem 1.25rem;
  border-top: var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.project-category {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: var(--font-regular);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--border-color);
  border-bottom: var(--border);
}

.work-cell {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  cursor: pointer;
  min-width: 0;
}

.work-cell:hover {
  background-color: #fafafa;
}

.work-cell-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f5f5f5;
  width: 100%;
}

.work-cell-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-cell-preview {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  border-top: var(--border);
  padding: var(--pad-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.work-cell:hover .work-cell-preview {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.work-cell-preview-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}

.work-cell-meta {
  padding: 0.85rem 1.25rem;
  border-top: var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-cell-title {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  text-transform: none;
}

.work-cell-category {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-regular);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.work-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.work-modal.active {
  display: flex;
}

.work-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.work-modal-content {
  position: relative;
  background-color: var(--color-bg);
  border: var(--border);
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.work-modal-close {
  width: 36px;
  height: 36px;
  background: var(--color-bg);
  border: var(--border);
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: var(--font-regular);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--color-text);
  text-transform: none;
  line-height: 1;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.work-modal-close:hover {
  background-color: #f5f5f5;
  color: #000;
}

.work-modal-scroll {
  overflow-y: auto;
  padding: 2rem;
}

.work-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border);
  padding: 1.5rem 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.work-modal-header-left {
  flex: 1;
}

.work-modal-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.work-modal-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.25rem;
}

.work-modal-meta {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-regular);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.work-modal-description {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  width: 100%;
}

.work-modal-details {
  margin-bottom: 1.5rem;
  width: 100%;
}

.work-modal-details p {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.work-modal-details p:last-child {
  margin-bottom: 0;
}

.work-modal-credits {
  padding: 0.5rem 0 0 0;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  color: var(--text-muted);
  background-color: transparent;
  border: none;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.work-modal-credits p {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.work-modal-credits p:last-child {
  margin-bottom: 0;
}

.work-modal-media {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.work-media-item {
  width: 100%;
}

.work-media-item img {
  width: 100%;
  height: auto;
  display: block;
}

.work-media-embed {
  width: 100%;
  height: 300px;
  border: none;
}

.work-media-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
}

.work-media-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.work-media-link {
  display: block;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  text-decoration: none;
  text-transform: none;
  border: var(--border);
  transition: background-color 0.2s;
}

.work-media-link:hover {
  background-color: #f5f5f5;
}

.work-modal-bottom-links {
  width: 100%;
  margin-top: 1.5rem;
}

.work-media-item--audio-table {
  width: 100%;
  margin-top: 0.5rem;
}

.work-audio-table {
  display: flex;
  flex-direction: column;
  border: var(--border);
  background-color: var(--color-bg);
  width: 100%;
  box-sizing: border-box;
}

.work-audio-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: var(--border);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.12s ease;
  user-select: none;
}

.work-audio-row:last-child {
  border-bottom: none;
}

.work-audio-row:hover {
  background-color: #f7f7f7;
}

[data-theme="dark"] .work-audio-row:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.work-audio-num {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 1.25rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.work-audio-row-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.75;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.work-audio-row:hover .work-audio-row-play {
  opacity: 1;
  transform: scale(1.15);
}

.work-audio-row-title {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-medium, 500);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.work-media-audio {
  width: 100%;
  margin: 0.5rem 0 0.25rem 0;
}

.work-media-caption {
  padding: 0.5rem 0 0 0;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  line-height: 1.6;
  color: var(--text-muted);
  background-color: transparent;
  border: none;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.work-media-caption strong,
.work-media-caption .caption-title {
  font-size: 0.9375rem;
  
  font-weight: var(--font-semibold);
  color: var(--color-text);
  display: block;
  margin-bottom: 0.2rem;
}

.work-media-caption .caption-section-title {
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.2rem;
}

.modal-nav {
  width: 36px;
  height: 36px;
  border: var(--border);
  background-color: var(--color-bg);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: var(--font-regular);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1;
}

.modal-nav:hover {
  background-color: #f5f5f5;
  color: #000;
}

.modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #999;
}

.modal-nav:disabled:hover {
  background-color: var(--color-bg);
  color: #999;
}

.modal-nav-prev,
.modal-nav-next {
  position: relative;
  z-index: 20;
}

.bio-text {
  padding: var(--pad-lg);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 1400px;
}

.bio-text p {
  margin-bottom: 1rem;
}

.artist-bio {
  padding: var(--pad-lg);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 1400px;
}

.artist-bio p {
  margin-bottom: 1.5rem;
}

.discography-list {
  list-style: none;
  padding: 0;
}

.discography-item {
  display: grid;
  grid-template-columns: 120px minmax(300px, 1.5fr) minmax(200px, 1fr) minmax(180px, 1fr) auto;
  gap: 2rem;
  padding: 1.25rem var(--pad-lg);
  border-bottom: var(--border);
  align-items: baseline;
}

.discography-year {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.discography-title {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  line-height: 1.55;
  color: var(--color-text);
}

.discography-album,
.discography-label {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-regular);
  color: var(--text-muted);
}

.discography-links {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.streaming-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  color: var(--color-text);
  text-decoration: none;
  border: none;
  background-color: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
  line-height: 1;
  opacity: 0.85;
  cursor: pointer;
}

.streaming-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.streaming-icon:hover {
  opacity: 1;
  background-color: transparent;
  color: var(--color-text);
  border: none;
  transform: translateY(-1px);
}

.streaming-icon--play {
  margin-right: 0.15rem;
}

.media-track-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  margin-right: 0.35rem;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.7;
}

.media-track-play-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.sets-player {
  padding: 2rem;
}

.soundcloud-embed {
  width: 100%;
  height: 300px;
  border: var(--border);
}

.sets-list {
  list-style: none;
  padding: 0;
}

.set-item {
  display: grid;
  grid-template-columns: 140px 1fr 200px;
  gap: 2rem;
  padding: 1.25rem var(--pad-lg);
  border-bottom: var(--border);
  align-items: baseline;
}

.set-date {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.set-venue {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  line-height: 1.55;
  color: var(--color-text);
}

.set-item--playable {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.set-item--playable:hover {
  background-color: var(--color-hover);
}

.set-play-badge {
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: right;
  transition: color 0.15s ease;
}

.set-item--playable:hover .set-play-badge {
  color: #000;
}

.set-venue-link {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.set-venue-link:hover {
  opacity: 0.6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.set-link-icon {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.set-city,
.set-event {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-regular);
  color: var(--text-muted);
}

.set-city {
  text-align: right;
}

.set-duration {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.media-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.media-category-header {
  list-style: none;
  padding: 3.5rem var(--pad-lg) 1rem var(--pad-lg);
  border-bottom: var(--border);
  background-color: var(--color-bg);
}

.media-category-header:first-child {
  padding-top: 2rem;
}

.media-category-heading {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
}

.media-item {
  border-bottom: var(--border);
}

.media-row-main {
  display: grid;
  grid-template-columns: 48px minmax(100px, 1.1fr) minmax(130px, 1.4fr) minmax(80px, auto);
  gap: 1rem;
  padding: 1.1rem var(--pad-md);
  align-items: baseline;
  cursor: default;
}

.media-year-badge {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.media-item--grouped .media-row-main {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.media-item--grouped .media-row-main:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.media-client {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.media-title-col {
  min-width: 0;
}

.media-title {
  font-size: 1.0625rem;
  font-weight: var(--font-semibold);
  line-height: 1.55;
  color: var(--color-text);
}

.media-badge {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: var(--font-regular);
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.media-toggle-icon {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
  display: inline-block;
  vertical-align: middle;
}

.media-role {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  
  font-weight: var(--font-regular);
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.45;
}

.media-category {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.media-group-details {
  padding: 0.75rem var(--pad-md) 1.25rem calc(var(--pad-md) + 48px + 1rem);
  background-color: rgba(0, 0, 0, 0.015);
  border-top: 1px dashed var(--border-color);
}

.media-tracklist-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
}

.media-track-subitem {
  font-size: 0.875rem;
  color: var(--color-text);
}

.media-track-name a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.media-track-year {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-right: 0.25rem;
}

.media-track-collab {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.media-track-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

@media (max-width: 1024px) {
  .media-group-details {
    padding-left: var(--pad-lg);
  }
}

.page-section--contact {
  border-bottom: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: calc(100vh - 91px); 
}

.contact-column-left {
  border-right: var(--border);
  display: flex;
  flex-direction: column;
}

.contact-column-right {
  display: flex;
  flex-direction: column;
}

.contact-container--subgrid {
  grid-template-rows: auto 1fr;
}

.contact-container--subgrid .contact-column-left {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}

.contact-container--subgrid .contact-column-right {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}

.contact-block {
  display: flex;
  flex-direction: column;
  border-bottom: var(--border);
}

.contact-block:has(> ul > li:last-child:is(.set-item, .discography-item)) {
  border-bottom: none;
}

.contact-block:last-child {
  border-bottom: none;
}

.contact-block-header {
  padding: var(--pad-lg);
  border-bottom: var(--border);
  margin-bottom: 0;
}

.contact-block-body {
  padding: var(--pad-lg);
  flex: 1;
}

.contact-block-title {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0;
}

.contact-column-left .contact-block:last-child {
  flex: 1;
}

.contact-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.contact-main-email-link {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  word-break: break-all;
}

.contact-email-templates {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-templates-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact-templates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.contact-template-tag {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--color-text);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  background-color: var(--color-bg);
  transition: all 0.2s ease;
}

.contact-template-tag:hover {
  background-color: #000;
  color: #fff;
}

.contact-bookings-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact-bookings-note a {
  color: var(--color-text);
  text-decoration: underline;
}

.contact-meta-table {
  width: 100%;
  border-collapse: collapse;
}

.contact-meta-table tr {
  border-bottom: 1px solid #eeeeee;
}

.contact-meta-table tr:last-child {
  border-bottom: none;
}

.contact-meta-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  vertical-align: top;
}

.contact-meta-label {
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  width: 130px;
}

.contact-meta-val {
  font-weight: var(--font-regular);
  color: var(--color-text);
}

.contact-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.contact-link-item {
  border-bottom: 1px solid #eeeeee;
}

.contact-link-item:last-child {
  border-bottom: none;
}

.contact-external-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  font-weight: var(--font-regular);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-external-link:hover {
  border-bottom-color: var(--color-text);
}

.contact-link-arrow {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.service-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-items-list li {
  font-size: 1rem;
  font-weight: var(--font-regular);
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.service-items-list li::before {
  content: "—";
  color: var(--text-muted);
  font-weight: 300;
}

.service-category-group {
  margin-bottom: 1.5rem;
}

.service-category-group:last-child {
  margin-bottom: 0;
}

.service-category-title {
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-color);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  text-decoration: none;
  background-color: transparent;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.cv-download-btn:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.requests-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: var(--border);
}

.request-item-card {
  display: block;
  padding: var(--pad-md) var(--pad-lg);
  border-bottom: var(--border);
  text-decoration: none;
  color: var(--color-text);
  transition: background-color 0.15s ease;
}

.request-item-card:last-child {
  border-bottom: none;
}

.request-item-card:hover {
  background-color: #fafafa;
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.request-card-title {
  font-size: 1rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
}

.request-card-action {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--text-muted);
}

.request-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.about-compact-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compact-contact-row {
  display: flex;
  align-items: baseline;
  font-size: 0.9375rem;
}

.compact-contact-row .contact-meta-label {
  width: 100px;
  flex-shrink: 0;
}

.compact-contact-link {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.compact-contact-link:hover {
  color: var(--text-muted);
}

.compact-contact-val {
  color: var(--color-text);
}

.compact-contact-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eeeeee;
}

.compact-contact-cta {
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.compact-contact-cta:hover {
  color: var(--text-muted);
  border-color: var(--text-muted);
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .contact-container--subgrid {
    grid-template-rows: auto;
  }

  .contact-container--subgrid .contact-column-left,
  .contact-container--subgrid .contact-column-right {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    grid-row: auto;
  }

  .contact-column-left {
    border-right: none;
    border-bottom: var(--border);
  }

  .contact-container:has(.set-block--upcoming) {
    display: flex;
    flex-direction: column;
  }

  .contact-container:has(.set-block--upcoming) .contact-column-left {
    display: contents;
  }

  .contact-container:has(.set-block--upcoming) .contact-column-right {
    display: contents;
  }

  .set-block--upcoming {
    order: 1;
    border-bottom: var(--border);
  }

  .set-block--recordings {
    order: 2;
    border-bottom: var(--border);
  }

  .set-block--past {
    order: 3;
    border-bottom: none;
  }

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

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

  .set-item {
    grid-template-columns: 100px 1fr 150px;
  }

  .media-row-main {
    grid-template-columns: 44px minmax(90px, 1fr) minmax(110px, 1.3fr) auto;
    gap: 0.75rem;
    padding: 1rem var(--pad-sm);
  }
}

@media (max-width: 768px) {
  .site-header {
    display: contents;
  }

  .header-inner {
    display: contents;
  }

  .site-title {
    font-size: 1.0625rem;
    padding: 0.85rem 1rem;
    background-color: var(--color-bg);
  }

  .desktop-nav-text {
    display: none;
  }

  .main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    padding: 0.65rem 1rem;
    border-top: var(--border);
    border-bottom: var(--border);
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem;
    overflow: visible;
  }

  .site-main {
    padding-top: 0;
  }

  .dropdown-menu {
    right: 0;
    left: auto;
    transform: none;
    min-width: 180px;
    top: calc(100% + 0.65rem);
    border: var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .section-header {
    padding: var(--pad-md) var(--pad-sm);
  }

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

  .project-cell {
    border-right: none;
  }

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

  .work-cell {
    border-right: none;
  }

  .work-modal {
    padding: 1rem;
  }

  .work-modal-content {
    max-height: 90vh;
  }

  .work-modal-scroll {
    padding: 1.5rem;
  }

  .work-modal-title {
    font-size: 1.5rem;
  }

  .work-modal-meta {
    font-size: 0.8125rem;
  }

  .set-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem var(--pad-sm);
  }

  .discography-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem var(--pad-sm);
  }

  .media-item {
    padding: 0;
  }

  .media-row-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1.1rem var(--pad-sm);
  }

  .media-row-main .media-year-badge {
    margin-bottom: 0.1rem;
  }

  .media-row-main .media-client {
    font-size: 1.0625rem;
    font-weight: var(--font-semibold);
  }

  .media-row-main .media-title-col {
    width: 100%;
  }

  .media-row-main .media-title {
    font-size: 0.9375rem;
    font-weight: var(--font-regular);
    color: var(--color-text);
  }

  .media-row-main .media-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
  }

  .media-row-main .media-category {
    display: none;
  }

  .media-group-details {
    padding: 0.75rem var(--pad-sm) 1.25rem var(--pad-sm);
  }

  .media-tracklist-inline {
    flex-direction: column;
    gap: 0.5rem;
  }

  .media-year-group {
    padding: 2rem var(--pad-sm) 0.5rem var(--pad-sm);
    font-size: 1.125rem;
  }

  .bio-text {
    font-size: 1rem;
    padding: var(--pad-md) var(--pad-sm);
  }

  .artist-name {
    font-size: 2rem;
  }

  .artist-bio {
    padding: var(--pad-md) var(--pad-sm);
    font-size: 1rem;
  }
}

.music-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-top: var(--border);
  z-index: 150;
  font-family: var(--font-main);
  height: 40px;
  box-sizing: border-box;
  transition: height 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.music-bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1.5rem;
  height: 40px;
  min-height: 40px;
  flex-shrink: 0;
}

.music-bar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.music-bar-btn {
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.music-bar-btn--play {
  width: 24px;
  height: 24px;
  font-size: 1.125rem;
}

.music-bar-btn--skip {
  width: 24px;
  height: 24px;
  font-size: 1rem;
}

.music-bar-btn:hover {
  opacity: 0.6;
  transform: scale(1.08);
}

.music-bar-trackinfo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  height: 100%;
}

.music-bar-thumb-wrap {
  width: 40px;
  height: 100%;
  flex-shrink: 0;
  border: none;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-bar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-bar-marquee {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
}

.music-bar-marquee.is-overflowing {
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
}

.music-bar-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  will-change: transform;
}

.music-bar-marquee.is-overflowing .music-bar-marquee-track {
  animation: music-bar-marquee-loop var(--marquee-duration, 10s) linear infinite;
}

.music-bar-marquee:hover .music-bar-marquee-track {
  animation-play-state: paused;
}

@keyframes music-bar-marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--marquee-distance, -100%));
  }
}

.music-bar-marquee-content,
.music-bar-marquee-clone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.music-bar-title {
  font-size: 0.9375rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  white-space: nowrap;
}

.music-bar-artist {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.music-bar-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-left: 1px solid #ddd;
  padding-left: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.music-bar-meta-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.music-bar-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 68px;
  text-align: right;
  flex-shrink: 0;
}

.music-bar-volume {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.music-bar-vol-btn {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.music-bar-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 2px;
  background: #ccc;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.15s ease;
}

.music-bar-vol-slider:hover {
  background: #000;
}

.music-bar-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  background: #000;
  cursor: pointer;
  border-radius: 50%;
}

.music-bar-vol-slider::-moz-range-thumb {
  width: 8px;
  height: 8px;
  background: #000;
  cursor: pointer;
  border-radius: 50%;
  border: none;
}

.music-bar-streaming-dropdown {
  position: relative;
  display: inline-block;
}

.music-bar-stream-btn {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.01em;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
  line-height: 1;
  text-decoration: none;
}

.music-bar-sc-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--color-text);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.music-bar-sc-direct svg {
  width: 18px;
  height: 18px;
}

.music-bar-stream-btn:hover,
.music-bar-streaming-dropdown.active .music-bar-stream-btn {
  opacity: 0.6;
}

.music-bar-arrow {
  font-size: 0.8125rem;
  display: inline-block;
  transition: transform 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.music-bar-streaming-dropdown.active .music-bar-arrow {
  transform: rotate(180deg);
}

.music-bar-streaming-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background-color: var(--color-bg);
  border: 1px solid var(--border-color);
  min-width: 140px;
  display: none;
  flex-direction: column;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.music-bar-streaming-dropdown.active .music-bar-streaming-menu {
  display: flex;
}

.music-bar-streaming-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s ease, color 0.1s ease;
}

.music-bar-streaming-link:last-child {
  border-bottom: none;
}

.music-bar-streaming-link:hover {
  background: #000;
  color: #fff;
}

.music-bar-stream-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.music-bar-progress-container {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: height 0.15s ease, top 0.15s ease;
  z-index: 10;
}

[data-theme="dark"] .music-bar-progress-container {
  background-color: rgba(255, 255, 255, 0.12);
}

.music-bar:hover .music-bar-progress-container,
.music-bar-progress-container:hover {
  height: 6px;
  top: -5px;
}

.music-bar-progress-bar {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  background-image: linear-gradient(to right, var(--color-text) var(--progress-val, 0%), transparent var(--progress-val, 0%));
  outline: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: block;
}

.music-bar-progress-bar::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
  height: 100%;
}

.music-bar-progress-bar::-moz-range-track {
  background: transparent;
  border: none;
  height: 100%;
}

.music-bar-progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
  opacity: 0;
}

.music-bar-progress-container:hover .music-bar-progress-bar::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text);
  opacity: 1;
}

.music-bar-progress-bar::-moz-range-thumb {
  width: 0;
  height: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}

.music-bar-progress-container:hover .music-bar-progress-bar::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text);
  opacity: 1;
}

#music-bar-embed-container {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Expandable Music Bar (3x Height / Bottom Drawer) --- */
.music-bar-expand-btn {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  line-height: 1;
  flex-shrink: 0;
}

.music-bar-expand-btn:hover {
  opacity: 0.6;
  transform: scale(1.1);
}

.music-bar.is-expanded {
  height: 180px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

body.music-bar-is-expanded {
  padding-bottom: 188px;
}

.music-bar-drawer {
  width: 100%;
  height: 140px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: var(--border);
  background-color: var(--color-bg);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.music-bar-drawer::-webkit-scrollbar {
  width: 6px;
}

.music-bar-drawer::-webkit-scrollbar-track {
  background: transparent;
}

.music-bar-drawer::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

[data-theme="dark"] .music-bar-drawer {
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

[data-theme="dark"] .music-bar-drawer::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
}

.music-bar-drawer-content {
  min-height: 100%;
  padding: 0.75rem 1.5rem 1rem 1.5rem;
  box-sizing: border-box;
}

.mbd-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.mbd-art-col {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border: var(--border);
  overflow: hidden;
  background-color: #000;
  align-self: flex-start;
  margin-top: 0.15rem;
}

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

.mbd-main-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem;
}

.mbd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.mbd-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border: var(--border);
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-bg);
  transition: all 0.15s ease;
  line-height: 1;
}

.mbd-link-btn:hover {
  background-color: #000;
  color: #fff;
}

[data-theme="dark"] .mbd-link-btn:hover {
  background-color: #fff;
  color: #000;
}

.mbd-link-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mbd-roles-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  line-height: 1.2;
}

.mbd-role-pill {
  font-size: 0.72rem;
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  padding: 2px 7px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.mbd-role-lbl {
  font-weight: 600;
}

.mbd-desc-box {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text);
  opacity: 0.85;
}

.mbd-desc-box p {
  margin: 0 0 0.35rem 0;
}

.mbd-desc-box p:last-child {
  margin-bottom: 0;
}

/* =========================================================================
   BACKUP: Fullscreen Player Modal Styles
   ========================================================================= */
.player-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.player-modal.active {
  display: flex;
}

.player-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.player-modal-content {
  position: relative;
  background-color: var(--color-bg);
  border: var(--border);
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.player-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border);
  padding: 1rem 1.5rem;
  flex-shrink: 0;
}

.player-modal-badge {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.player-modal-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: var(--border);
  font-family: var(--font-main);
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all 0.15s ease;
  line-height: 1;
}

.player-modal-close:hover {
  background-color: #000;
  color: #fff;
}

.player-modal-scroll {
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.player-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.player-modal-art-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.player-modal-art-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: var(--border);
  background-color: #f8f8f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-modal-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-modal-info-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-modal-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.player-modal-artist {
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.player-modal-submeta {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--border);
}

.player-modal-section-heading {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.player-modal-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.player-modal-description p {
  margin-bottom: 0.75rem;
}

.player-modal-description p:last-child {
  margin-bottom: 0;
}

.player-modal-roles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.025);
  border: var(--border);
}

.player-modal-role-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.player-modal-role-label {
  color: var(--text-muted);
  font-weight: var(--font-regular);
  flex-shrink: 0;
}

.player-modal-role-val {
  color: var(--color-text);
  font-weight: var(--font-medium);
  text-align: right;
}

.player-modal-links-section {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: var(--border);
}

.player-modal-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.player-modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: var(--border);
  font-size: 0.8125rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-bg);
  transition: all 0.15s ease;
}

.player-modal-link-btn:hover {
  background-color: #000;
  color: #fff;
}

.player-modal-link-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .player-modal {
    padding: 0;
  }

  .player-modal-content {
    max-height: 100vh;
    height: 100vh;
    border: none;
  }

  .player-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .player-modal-art-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .player-modal-scroll {
    padding: 1.25rem;
  }

  .player-modal-title {
    font-size: 1.5rem;
  }
}

body {
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .music-bar {
    height: calc(52px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }
  .music-bar-inner {
    padding: 0 1rem;
    gap: 0.75rem;
    height: 52px;
    min-height: 52px;
  }
  .music-bar-thumb-wrap {
    width: 52px;
  }
  .music-bar-role,
  .music-bar-source-badge,
  .music-bar-volume,
  .music-bar-time {
    display: none;
  }
  .music-bar-title {
    font-size: 0.875rem;
  }
  .music-bar-artist {
    font-size: 0.75rem;
  }
  .music-bar.is-expanded {
    height: calc(200px + env(safe-area-inset-bottom, 0px));
  }
  .music-bar-drawer {
    height: 148px;
    overflow-y: auto;
  }
  .music-bar-drawer-content {
    padding: 0.75rem 1rem 1rem 1rem;
  }
  .mbd-art-col {
    width: 60px;
    height: 60px;
  }
  body.music-bar-is-expanded {
    padding-bottom: calc(208px + env(safe-area-inset-bottom, 0px));
  }
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }
}