:root {
  --black: #090909;
  --black-2: #10100f;
  --panel: #151513;
  --panel-2: #1a1916;
  --silver: #c8c5be;
  --silver-soft: #8f8c85;
  --ivory: #f0ede6;
  --gold: #b98a45;
  --gold-bright: #d1a35d;
  --line: rgba(211, 205, 193, .14);
  --line-strong: rgba(211, 205, 193, .28);
  --header-h: 82px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(185, 138, 69, .06), transparent 28rem),
    linear-gradient(180deg, #080808 0%, #0d0d0c 100%);
  color: var(--ivory);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, input[type="range"] { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ivory);
  color: #000;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(7, 7, 7, .87);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.brand { text-decoration: none; text-transform: uppercase; letter-spacing: .22em; }
.brand-name { display: block; font-size: .93rem; font-weight: 600; }
.brand-role { display: block; margin-top: .2rem; color: var(--gold); font-size: .58rem; letter-spacing: .48em; }
.header-right { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.8rem); }
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  text-decoration: none;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  transition: border-color .2s ease, background .2s ease;
}
.language-switch:hover, .language-switch:focus-visible { border-color: var(--gold); background: rgba(185,138,69,.08); }
.nav a {
  position: relative;
  padding: .5rem 0;
  color: #d8d5cf;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .12em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .22s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav a:focus-visible, .language-switch:focus-visible, .button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 6vw, 7rem);
}
.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .69rem;
  font-weight: 600;
}
.hero h1,
.section-heading h2,
.contact-copy h2 {
  font-family: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
}
.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: .86;
  letter-spacing: -.035em;
}
.hero-role {
  margin: 1.65rem 0 0;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: clamp(.9rem, 1.4vw, 1.25rem);
}
.hero-text {
  max-width: 34rem;
  margin: 2.2rem 0 0;
  color: #c4c0b8;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.3rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(90deg, #8d652f, #ba8b49); color: white; }
.button-primary:hover { background: linear-gradient(90deg, #9d7438, #c69a58); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.button-secondary:hover { border-color: var(--gold); }
.hero-photo { position: relative; min-height: 650px; }
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, transparent 28%, transparent 72%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: grayscale(1) contrast(1.04); }

.featured-project {
  padding: clamp(2.25rem, 4.8vw, 5rem) clamp(1rem, 4.5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}
.featured-project-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
}
.featured-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}
.featured-native-video,
.featured-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-native-video {
  z-index: 1;
  opacity: 0;
  background: #000;
  transition: opacity .35s ease;
}
.featured-video-poster {
  z-index: 2;
  pointer-events: none;
  filter: saturate(.72) brightness(.72) contrast(1.05);
  transform: scale(1.01);
  transition: opacity .4s ease, transform .8s ease, filter .4s ease;
}
.featured-video-shade {
  position: absolute;
  z-index: 3;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--black) 0%,
      rgba(9,9,9,.93) 5%,
      rgba(9,9,9,.72) 14%,
      rgba(9,9,9,.34) 27%,
      rgba(9,9,9,.06) 42%,
      rgba(9,9,9,.02) 61%,
      rgba(9,9,9,.30) 78%,
      rgba(9,9,9,.72) 91%,
      var(--black) 100%),
    linear-gradient(180deg,
      var(--black) 0%,
      rgba(9,9,9,.72) 8%,
      rgba(9,9,9,.20) 23%,
      transparent 42%,
      transparent 65%,
      rgba(9,9,9,.30) 82%,
      var(--black) 100%);
  transition: opacity .4s ease;
}
.featured-project-copy {
  position: absolute;
  z-index: 4;
  left: clamp(1.4rem, 6.5vw, 6.5rem);
  top: clamp(1.6rem, 9vw, 7rem);
  width: min(32rem, 48%);
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(0,0,0,.85);
  transition: opacity .3s ease, transform .4s ease;
}
.featured-project-copy .eyebrow {
  margin-bottom: .9rem;
}
.featured-project-copy h2 {
  margin: 0;
  font-family: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.featured-play-button {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: clamp(58px, 6vw, 78px);
  height: clamp(58px, 6vw, 78px);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(209,163,93,.72);
  border-radius: 50%;
  background: rgba(7,7,7,.56);
  color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(0,0,0,.22), 0 12px 45px rgba(0,0,0,.42);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .3s ease;
}
.featured-play-button:hover,
.featured-play-button:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--gold-bright);
  background: rgba(9,9,9,.76);
  outline: none;
}
.featured-play-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(209,163,93,.24), 0 12px 45px rgba(0,0,0,.42);
}
.featured-play-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}
.featured-video.is-playing .featured-native-video { opacity: 1; }
.featured-video.is-playing .featured-video-poster,
.featured-video.is-playing .featured-video-shade,
.featured-video.is-playing .featured-project-copy,
.featured-video.is-playing .featured-play-button {
  opacity: 0;
  pointer-events: none;
}
.featured-video.is-playing .featured-video-poster { transform: scale(1.025); }

.about-section, .music-section, .contact-section { scroll-margin-top: var(--header-h); }

.about-section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(185,138,69,.04), rgba(255,255,255,.01) 45%, transparent 80%);
}
.about-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  column-gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}
.about-inner > .eyebrow { grid-column: 1 / -1; }
.about-inner h2 {
  margin: 0;
  font-family: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
  line-height: .98;
  font-weight: 400;
  max-width: 10ch;
}
.about-copy { max-width: 39rem; color: #aaa69f; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.about-copy p { margin: 0 0 1.2rem; }

.music-section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); }
.section-heading {
  width: min(1280px, 100%);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 460px);
  gap: 2rem;
  align-items: end;
}
.section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1; }
.section-intro { margin: 0; color: var(--silver-soft); }

.track-list {
  width: min(1280px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.track-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px 82px minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  min-height: 106px;
  padding: .7rem 1rem .7rem .5rem;
  border-bottom: 1px solid var(--line);
  outline: none;
  transition: background .18s ease, border-color .18s ease;
}
.track-row::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: .45rem;
  color: transparent;
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s ease;
  pointer-events: none;
}

html[lang="es"] .track-row::after { content: "Seleccionar y reproducir"; }
html[lang="en"] .track-row::after { content: "Select and play"; }
.track-row:hover, .track-row:focus-visible { background: rgba(255,255,255,.025); }
.track-row:focus-visible { box-shadow: inset 0 0 0 1px var(--gold); }
.track-row:hover::after, .track-row:focus-visible::after { color: rgba(200,197,190,.44); }
.track-row.is-active {
  grid-template-columns: 42px 92px minmax(170px, .7fr) minmax(360px, 1.3fr);
  background: linear-gradient(90deg, rgba(185,138,69,.08), rgba(255,255,255,.025));
  border-color: rgba(185,138,69,.34);
  cursor: default;
}
.track-row.is-active::after { display: none; }
.track-index { color: var(--gold); font-variant-numeric: tabular-nums; font-size: .78rem; text-align: right; }
.track-cover { width: 82px; height: 82px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.is-active .track-cover { width: 92px; height: 92px; }
.track-meta { min-width: 0; display: flex; flex-direction: column; gap: .28rem; }
.track-project { color: var(--ivory); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-description { color: var(--silver-soft); font-size: .78rem; line-height: 1.45; letter-spacing: .01em; }
.track-duration { color: var(--silver-soft); font-size: .78rem; font-variant-numeric: tabular-nums; }
.is-active > .track-duration { display: none; }
.active-player { display: none; }
.is-active .active-player { display: block; }

.player-shell { display: grid; gap: .7rem; }
.progress-line { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: .7rem; }
.current-time, .total-time { color: var(--silver-soft); font-size: .68rem; font-variant-numeric: tabular-nums; }
.total-time { text-align: right; }
.player-buttons { display: flex; align-items: center; gap: .65rem; }
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--silver);
}
.icon-button:hover, .icon-button:focus-visible { border-color: var(--gold); color: var(--gold-bright); outline: none; }
.icon-button.play-toggle { width: 46px; height: 46px; border-color: var(--gold); color: var(--gold-bright); }
.icon-button svg, .volume-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-button svg text { fill: currentColor; stroke: none; font-size: 5.4px; font-family: Arial, sans-serif; font-weight: 700; }
.play-icon { display: none; }
.audio-paused .pause-icon { display: none; }
.audio-paused .play-icon { display: block; }
.volume-control { margin-left: auto; display: flex; align-items: center; gap: .55rem; color: var(--silver); }
.volume-control svg { width: 18px; }

input[type="range"] { appearance: none; height: 3px; background: rgba(255,255,255,.16); accent-color: var(--gold); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-bright); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--gold-bright); }
.seek { width: 100%; }
.volume { width: 90px; }
.noscript-note { width: min(1280px,100%); margin: 1rem auto; color: var(--gold-bright); }

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(420px, 1.3fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(145deg, #0a0a09, #11100e);
}
.contact-copy p:not(.eyebrow) { max-width: 35rem; color: #aaa69f; }
.contact-email { display: inline-block; margin-top: 1.2rem; color: var(--silver); text-decoration-color: var(--gold); text-underline-offset: .3rem; }
.contact-form { align-self: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-form label { display: block; margin-bottom: .8rem; }
.contact-form label > span { display: block; margin-bottom: .42rem; color: var(--silver-soft); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255,255,255,.025);
  color: var(--ivory);
  padding: .9rem 1rem;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,.04); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.submit-button { width: 100%; border: 0; }
.submit-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.submit-button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--silver); font-size: .86rem; }
.form-status.is-success { color: #c7b487; }
.form-status.is-error { color: #d8a59e; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.site-footer {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-brand { text-transform: uppercase; letter-spacing: .34em; font-size: .83rem; }
.footer-brand small { display: block; margin-top: .3rem; color: var(--gold); font-size: .5rem; letter-spacing: .52em; }
.site-footer p { margin: 0; color: #64615d; font-size: .72rem; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 820px; }
  .hero-copy { padding: 4.5rem 2rem; }
  .hero h1 { font-size: clamp(3.5rem, 9vw, 6rem); }
  .hero-photo { min-height: 748px; }
  .track-row.is-active { grid-template-columns: 38px 82px minmax(140px,.75fr) minmax(300px,1.25fr); }
  .contact-section { grid-template-columns: 1fr 1.35fr; gap: 3rem; padding-inline: 2rem; }
}

@media (max-width: 760px) {
  .site-header { padding-inline: 1rem; }
  .brand-name { font-size: .78rem; }
  .brand-role { font-size: .49rem; }
  .header-right { gap: .7rem; }
  .nav { gap: 1rem; }
  .nav a { font-size: .62rem; }
  .hero { min-height: auto; display: block; padding-top: var(--header-h); }
  .hero-copy { min-height: 600px; padding: 6rem 1.25rem 4rem; background: linear-gradient(90deg, rgba(5,5,5,.9), rgba(5,5,5,.55) 70%, rgba(5,5,5,.24)); }
  .hero h1 { max-width: 7ch; font-size: clamp(4rem, 18vw, 6.7rem); }
  .hero-photo { position: absolute; top: var(--header-h); right: 0; left: 0; height: 600px; min-height: 0; z-index: 0; }
  .hero-photo::before { background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,.62) 52%, rgba(8,8,8,.12) 100%), linear-gradient(0deg, #080808 0%, transparent 35%); }
  .hero-photo img { object-position: 63% 30%; }
  .hero-copy { position: relative; z-index: 3; }
  .featured-project { padding: 2.2rem 1rem; }
  .featured-project-copy { left: 1.4rem; top: 1.4rem; width: min(30rem, 58%); }
  .featured-project-copy h2 { font-size: clamp(2rem, 7vw, 3.4rem); }
  .about-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-inner h2 { max-width: 14ch; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .music-section { padding-inline: 1rem; }
  .track-row, .track-row.is-active {
    grid-template-columns: 34px 68px minmax(0,1fr) auto;
    gap: .7rem;
    min-height: 88px;
    padding-inline: .2rem .5rem;
  }
  .track-cover, .is-active .track-cover { width: 68px; height: 68px; }
  .track-row.is-active .active-player { grid-column: 2 / -1; width: 100%; padding: .5rem 0 .8rem; }
  .track-row.is-active { align-items: center; }
  .track-row.is-active .track-duration { display: none; }
  .track-project { font-size: .9rem; }
  .track-description { font-size: .72rem; }
  .player-buttons { gap: .45rem; }
  .icon-button { width: 44px; height: 44px; }
  .icon-button.play-toggle { width: 48px; height: 48px; }
  .volume { width: 64px; }
  .contact-section { grid-template-columns: 1fr; gap: 2.5rem; padding-inline: 1.25rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .nav a:first-child, .nav a:nth-child(2) { display: none; }
  .hero-copy { padding-top: 5rem; }
  .hero-text { max-width: 24rem; }
  .button { width: 100%; }
  .featured-project { padding: 1.3rem 0; }
  .featured-project-inner { width: 100%; }
  .featured-video { aspect-ratio: 16 / 10; }
  .featured-project-copy { left: 1.1rem; top: 1.1rem; width: 62%; }
  .featured-project-copy .eyebrow { margin-bottom: .55rem; font-size: .58rem; }
  .featured-project-copy h2 { font-size: clamp(1.75rem, 10vw, 2.9rem); line-height: .92; }
  .featured-play-button { width: 56px; height: 56px; }
  .featured-video-shade {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(9,9,9,.82) 8%, rgba(9,9,9,.28) 30%, transparent 52%, rgba(9,9,9,.32) 82%, var(--black) 100%),
      linear-gradient(180deg, var(--black) 0%, rgba(9,9,9,.56) 10%, transparent 32%, transparent 66%, rgba(9,9,9,.45) 88%, var(--black) 100%);
  }
  .track-row, .track-row.is-active { grid-template-columns: 28px 62px minmax(0,1fr) auto; }
  .track-cover, .is-active .track-cover { width: 62px; height: 62px; }
  .track-index { font-size: .68rem; }
  .track-row.is-active .active-player { grid-column: 1 / -1; padding-left: 2rem; }
  .progress-line { grid-template-columns: 38px 1fr 38px; gap: .45rem; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: .8rem; }
  .header-right { gap: .5rem; }
  .nav { gap: .65rem; }
  .nav a:nth-child(4) { display: none; }
  .language-switch { min-width: 34px; min-height: 34px; }
  .brand-name { font-size: .72rem; letter-spacing: .16em; }
  .brand-role { letter-spacing: .38em; }
  .hero h1 { font-size: clamp(3.65rem, 18vw, 5.2rem); }
  .track-row.is-active .active-player { padding-left: .75rem; }
  .player-buttons { gap: .3rem; }
  .volume-control { gap: .35rem; }
  .volume { width: 54px; }
}

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

.contact-email { margin-top: 1.2rem; color: var(--silver); }

