:root {
  --bg: #0b0b0c;
  --bg-raised: #131315;
  --line: #2a2a2c;
  --fg: #f2efe9;
  --fg-dim: #b8b5ae;
  --fg-mute: #78766f;
  --accent: #e0914f;
  --accent-dim: #7a5330;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", var(--font-sans);
  --font-serif: "Newsreader", "Georgia", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  /* Each section's own content (heading, intro, grid) sits in this
     narrower column, centered within --container, rather than
     stretching edge-to-edge — text inside stays left-aligned. */
  --content-width: 1100px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; margin: 0; padding: 0; }

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

.section {
  padding: 120px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 56px;
}

/* Header */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* The translucent bar above spans the full viewport; its content is
   confined to the same centered --container strip every section uses,
   so the logo/nav line up with the page content instead of hugging the
   true screen edges on wide viewports. */
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--fg);
}

/* Scroll index */

.scroll-index {
  position: fixed;
  top: 0;
  left: 24px;
  height: 100vh;
  height: 100dvh;
  z-index: 10;
  pointer-events: none;
}

.scroll-index-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.scroll-index-marker {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
  white-space: nowrap;
  will-change: top;
}

.scroll-index-tick {
  display: block;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.scroll-index-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}

.meta-dot { color: var(--accent); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 4px 0;
  background: none;
  border: none;
  color: var(--fg-mute);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lang-toggle .lang-sep { color: var(--line); }
.lang-toggle .lang-es,
.lang-toggle .lang-en {
  transition: color 0.2s ease;
}

body.lang-es .lang-toggle .lang-es,
body.lang-en .lang-toggle .lang-en {
  color: var(--fg);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 1px;
  background: var(--fg);
  display: block;
}

/* Hero */

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(6,6,7,0.55) 55%, var(--bg) 100%),
    radial-gradient(120% 90% at 20% 15%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 100px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  font-size: clamp(56px, 13vw, 180px);
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-name .line { display: block; }
.hero-name .line-mute { color: rgba(242,239,233,0.55); }

.hero-tagline {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--fg-dim);
  margin: 0 0 56px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  width: fit-content;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Its job is done once the visitor has actually scrolled — kept out of
   the DOM's visible state well before reaching the bottom of the page,
   so it has no way to still be there if a mobile browser's rubber-band
   overscroll bounce ever peeks behind the fixed hero (reported showing
   through under CONTACT on real iOS; unreproducible in this project's
   own tooling, so removing the content entirely beats chasing it). */
.scroll-cue.is-past-hero {
  opacity: 0;
  visibility: hidden;
}

.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: cueDrop 1.8s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* Page body rides up over the fixed hero */

.page-body,
#contact {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.page-body {
  margin-top: 100vh;
  margin-top: 100dvh;
  box-shadow: 0 -40px 60px rgba(0,0,0,0.35);
}

/* About */

.about-head,
.film-head,
.records-head,
.services-head,
.clients-head {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: start;
  gap: 32px;
  max-width: var(--content-width);
  margin: 0 auto 40px;
}

.about-head-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-head .section-label { margin: 0; }

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.bio-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0;
}

.bio-text p strong {
  color: var(--fg);
  font-weight: 700;
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.about-awards {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
}

.about-links {
  display: flex;
  gap: 16px;
  max-width: var(--content-width);
  margin: 40px auto 0;
}

.about-link {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about-link:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* Film */

.film-head { margin-bottom: 20px; }

.film-head .section-label { margin: 0; }

.section-intro {
  max-width: 640px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0;
}

/* Records' intro is a long list of names, not a one-line tagline — the
   narrow 640px reading column wraps it into a tall wall of text. It
   reads better (and shorter) using the full second-column width. */
#records .section-intro {
  max-width: none;
}

.artist-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.artist-link:hover,
.artist-link:focus-visible {
  color: var(--fg);
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--content-width);
  margin: 0 auto 14px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-mute);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow:hover { border-color: var(--accent); background: var(--accent-dim); color: var(--fg); }

.carousel-arrow[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.film-grid {
  display: flex;
  gap: clamp(10px, 1.4vw, 20px);
  max-width: var(--content-width);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--fg-mute) transparent;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}

.film-grid[data-state="empty"] {
  display: block;
}

.section-profile-link {
  display: block;
  max-width: var(--content-width);
  margin: 20px auto 0;
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.section-profile-link:hover { color: var(--accent); }

.film-card {
  display: block;
  flex: 0 0 clamp(140px, 15vw, 190px);
  scroll-snap-align: start;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 190px 355px;
}

.film-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-raised);
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

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

.record-cover,
.film-cover {
  transition: border-color 0.2s ease;
}

.record-card:hover .record-cover,
.film-card:hover .film-cover {
  border-color: var(--accent);
  animation: coverPulse 1.1s ease-in-out infinite;
}

@keyframes coverPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.film-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 4px;
  line-height: 1.3;
}

.film-year {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-mute);
  margin: 0;
}

/* Records */

.records-head { margin-bottom: 20px; }

.records-head .section-label { margin: 0; }

.records-filters {
  display: flex;
  gap: 10px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-mute);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover { border-color: var(--fg-mute); color: var(--fg); }

.filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--fg);
}

.records-grid {
  display: flex;
  gap: clamp(10px, 1.4vw, 20px);
  max-width: var(--content-width);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--fg-mute) transparent;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}

/* scrollbar-color above covers Firefox; Chrome/Safari/Edge (macOS included)
   ignore it and default to a plain white/system scrollbar unless styled via
   these WebKit-only pseudo-elements instead. */
.film-grid::-webkit-scrollbar,
.records-grid::-webkit-scrollbar {
  height: 6px;
}

.film-grid::-webkit-scrollbar-track,
.records-grid::-webkit-scrollbar-track {
  background: transparent;
}

.film-grid::-webkit-scrollbar-thumb,
.records-grid::-webkit-scrollbar-thumb {
  background: var(--fg-mute);
  border-radius: 3px;
}

.film-grid::-webkit-scrollbar-thumb:hover,
.records-grid::-webkit-scrollbar-thumb:hover {
  background: var(--fg-dim);
}

.records-grid[data-state="empty"] {
  display: block;
}

.records-empty {
  color: var(--fg-mute);
  font-size: 14px;
}

.record-card {
  display: block;
  flex: 0 0 clamp(140px, 15vw, 190px);
  scroll-snap-align: start;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 190px 345px;
}

.record-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-raised);
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

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

.cover-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--fg-mute);
  background: linear-gradient(145deg, var(--bg-raised), #1c1c1f);
}

.record-artist {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 4px;
}

.record-title {
  font-size: 12px;
  color: var(--fg-mute);
  margin: 0 0 4px;
}

.record-year {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-mute);
  margin: 0;
}

/* Services */

.services-head { margin-bottom: 20px; }

.services-head .section-label { margin: 0; }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.service-block {
  flex: 1 1 320px;
  min-width: 0;
}

.service-block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  color: var(--fg);
  margin: 0 0 16px;
}

.service-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0;
}

.service-block p strong {
  color: var(--fg);
  font-weight: 700;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.services-foot {
  max-width: var(--content-width);
  margin: 40px auto 0;
}

/* Clients */

.clients-head { margin-bottom: 20px; }

.clients-head .section-label { margin: 0; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}

.client-logo img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
  filter: invert(1) opacity(0.6);
  transition: opacity 0.2s ease;
}

.client-logo img:hover { opacity: 1; filter: invert(1) opacity(1); }

@media (max-width: 900px) {
  .records-grid,
  .film-grid { gap: 12px; }

  .about-head,
  .film-head,
  .records-head,
  .services-head,
  .clients-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 520px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .records-grid,
  .film-grid {
    gap: 8px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .film-card,
  .record-card { flex-basis: 130px; }
}

/* Contact */

.contact-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: none;
}

.contact-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.95;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto 80px;
}

.contact-columns {
  display: grid;
  /* Same 360px + 32px guide as .bio-text/.section-intro/Records' list —
     column two (Clients + the form) lines up with everywhere else on
     the site that has a "body content" column, while column one
     (Redes + Address, both short text blocks) fits fine in the
     narrower 360px width. */
  grid-template-columns: 360px 1fr;
  gap: 32px;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto 100px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-block h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 600;
}

.contact-block a {
  display: block;
  font-size: 18px;
  color: var(--fg-dim);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.contact-block a:hover { color: var(--fg); }

.contact-address {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0 0 6px;
}

.contact-address-note {
  font-size: 13px;
  color: var(--fg-mute);
  margin: 6px 0 0;
}

.contact-form-wrap {
  max-width: 640px;
}

.contact-form-wrap h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 20px;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-field { flex: 1; min-width: 0; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  width: 100%;
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--fg-mute);
}

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

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2378766f' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form select:invalid { color: var(--fg-mute); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-submit {
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1a1208;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.contact-submit:hover { background: var(--fg); border-color: var(--fg); }

.contact-submit:disabled {
  cursor: default;
  opacity: 0.6;
  background: var(--accent);
  border-color: var(--accent);
}

.contact-form-status {
  margin: 0;
  font-size: 13px;
  color: var(--fg-dim);
}

.contact-form-status.is-error { color: #e0714f; }
.contact-form-status.is-success { color: var(--accent); }

@media (max-width: 520px) {
  .form-row { flex-direction: column; gap: 20px; }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-mute);
}

.site-footer p { margin: 0; }

.footer-meta {
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.footer-editor a {
  color: var(--fg-mute);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-editor a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Modals (Film / Records) */

body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover { border-color: var(--accent); color: var(--accent); }

.modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 24px;
}

.modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-panel-record {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 720px;
}

.modal-record-cover {
  flex: 0 0 clamp(160px, 30vw, 260px);
  width: clamp(160px, 30vw, 260px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.modal-info { min-width: 0; }

.modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 0 0 8px;
}

.modal-record-artist {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.modal-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-mute);
  margin: 0 0 14px;
}

.modal-role {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0 0 20px;
}

.modal-spotify-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.modal-spotify-link:hover {
  color: #1DB954;
}

@media (max-width: 620px) {
  .modal { padding: 12px; }
  .modal-panel { padding: 20px; padding-top: 56px; }
  .modal-panel-record { flex-direction: column; gap: 20px; }
  .modal-record-cover { width: 100%; flex-basis: auto; }
}

/* Audio player (floating pill, bottom-right) */

.audio-player {
  position: fixed;
  right: var(--gutter);
  bottom: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(320px, calc(100vw - 2 * var(--gutter)));
  padding: 10px 14px;
  background: rgba(19, 19, 21, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

.audio-player-toggle,
.audio-player-mute {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.audio-player-toggle:hover,
.audio-player-mute:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.audio-player-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.audio-player-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.audio-player-track {
  font-size: 12px;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */

@media (max-width: 900px) {
  .scroll-index { display: none; }

  .main-nav {
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav a {
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line);
  }

  .meta-location,
  .meta-dot,
  .meta-clock { display: none; }

  .lang-toggle { margin-left: 0; }

  .nav-toggle { display: flex; }

  .contact-columns {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 520px) {
  .section { padding: 90px var(--gutter); }
  .contact-grid { gap: 48px; }
  .hero-content { padding-bottom: 64px; }

  .audio-player {
    right: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
  }
  .audio-player-label { display: none; }
}
