/* === RESET & VARIABLES === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f5f2ed;
  --bg2: #eae5dc;
  --bg3: #ddd8ce;
  --ink: #1e1c1a;
  --ink2: #4a4642;
  --ink3: #8a8680;
  --wine: #7a3040;
  --wine-dim: #a05060;
  --wine-pale: #ecdde0;
  --line: rgba(30,28,26,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* === NAV === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.5rem;
  border-bottom: 0.5px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(245,242,237,0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

/* CSS monogram fallback / standalone logo mark */
.nav-monogram {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 3px;
  transition: opacity 0.25s;
}

.nav-monogram::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--wine), transparent);
}

.logo-f-g,
.logo-f-c {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--ink);
}

.logo-f-slash {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.95rem;
  font-weight: 300;
  color: var(--wine);
  line-height: 1;
  transform: rotate(5deg);
  display: inline-block;
  margin: 0 0.06rem;
}

.nav-logo:hover .nav-monogram {
  opacity: 0.6;
}

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--wine);
}

.nav-center {
  display: flex;
  /* Issue 9 fix: more breathing room between items */
  gap: 2.8rem;
  list-style: none;
  align-items: center;
}

.nav-center a {
  font-family: 'Space Mono', monospace;
  /* Issue 9 fix: slightly larger for readability, less cramped letter-spacing */
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.25s;
  font-weight: 700;
  /* Explicit active-indicator affordance */
  position: relative;
  padding-bottom: 2px;
}

/* Animated underline on hover — reinforces link affordance */
.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-center a:hover { color: var(--wine); }
.nav-center a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 0.5px solid var(--line);
  background: transparent;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink2);
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.lang-btn:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.lang-flag { font-size: 1rem; line-height: 1; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink2);
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 2.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* grain texture atmosférico */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}


.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-right::after { display: none; }

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--wine);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.hero-name span {
  color: var(--wine);
  display: block;
}

.hero-tagline {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink2);
  margin: 1.8rem 0 2.8rem;
  line-height: 1.7;
  border-left: 3px solid var(--wine);
  padding-left: 1.2rem;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--wine);
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  width: fit-content;
}

.hero-cta:hover { background: #5e1e2c; }
.hero-cta .cta-arrow { display: inline-block; transition: transform 0.25s ease; }
.hero-cta:hover .cta-arrow { transform: translateX(5px); }

/* === FILM REEL === */
.reel {
  height: 2.6rem;
  background: var(--wine);
  border-top: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 2.5rem;
}

.reel-track {
  display: flex;
  gap: 1.4rem;
  padding: 0 1rem;
  animation: filmroll 22s linear infinite;
  white-space: nowrap;
  align-items: center;
  flex-shrink: 0;
}

.reel-hole {
  width: 9px;
  height: 13px;
  border-radius: 2px;
  background: rgba(245,242,237,0.12);
  border: 0.5px solid rgba(245,242,237,0.3);
  flex-shrink: 0;
}

.reel-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.85);
  flex-shrink: 0;
}

@keyframes filmroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SECTION LABEL === */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--wine-dim);
  max-width: 70px;
  opacity: 0.4;
}

/* === WORKS === */
.works { padding: 5.5rem 2.5rem; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  grid-auto-flow: row dense;
}

/* Featured card: cols 1-2, rows 1-2 */
.work-card.featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.work-card.featured .work-img {
  aspect-ratio: unset;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  background: var(--bg);
}

.work-card.featured .work-body {
  border-left: 3px solid var(--wine);
}

/* Row 3 cards (4th, 5th, 6th): landscape frame fits Fallen and Vamos */
.work-card:nth-child(4) .work-thumb,
.work-card:nth-child(5) .work-thumb,
.work-card:nth-child(6) .work-thumb {
  aspect-ratio: 3 / 4;
}

.work-card {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover { background: var(--wine-pale); }

.work-card:hover .work-year,
.work-card:hover .work-type,
.work-card:hover .work-dir { color: var(--ink2); }

/* All images: contain with page background — no cropping */
.work-thumb,
.work-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: var(--bg);
  object-position: center;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.work-card:hover .work-thumb,
.work-card:hover .work-img { transform: scale(1.03); }

.work-body { padding: 1.2rem 1.5rem 1.5rem; flex-shrink: 0; }


.work-year {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--ink3);
  margin-bottom: 0.6rem;
}

.work-title {
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.work-card.featured .work-title { font-size: 2rem; margin-bottom: 0.7rem; }

.work-type {
  font-style: italic;
  font-size: 1rem;
  color: var(--ink3);
}

.work-dir {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--ink3);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.work-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wine);
  transition: width 0.4s ease;
}

.work-card:hover .work-bar { width: 100%; }

/* === PLAYER === */
.player-section {
  padding: 5.5rem 2.5rem;
  background: var(--ink);
  color: var(--bg);
}

.player-section .section-label { color: var(--wine-dim); }
.player-section .section-label::after { background: var(--wine-dim); }

.tracks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 0;
}

.track-group-label {
  grid-column: 1 / -1;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine-dim);
  padding: 1.4rem 0.8rem 0.5rem;
  border-top: 0.5px solid rgba(245,242,237,0.1);
}
.track-group-label:first-child { border-top: none; padding-top: 0; }

/* SC links removed from player section */

.track-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: start;
  gap: 1rem;
  padding: 1.1rem 0.8rem;
  border-bottom: 0.5px solid rgba(245,242,237,0.07);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 4px;
}

.track-item:hover { background: rgba(245,242,237,0.05); }
.track-item.active { background: rgba(122,48,64,0.22); }

.play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0.5px solid rgba(245,242,237,0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.track-item:hover .play-btn,
.track-item.active .play-btn {
  background: var(--wine);
  border-color: var(--wine);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent rgba(245,242,237,0.65);
  margin-left: 2px;
}

.track-item.active .play-icon,
.track-item:hover .play-icon {
  border-color: transparent transparent transparent #fff;
}

.pause-icon { display: flex; gap: 3px; align-items: center; }
.pause-bar { width: 3px; height: 10px; background: #fff; border-radius: 1px; }

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

.track-title {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bg);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.track-film {
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245,242,237,0.65);
  margin-top: 0.35rem;
  line-height: 1.65;
  white-space: normal;
}

.track-item.active .track-film { color: rgba(245,242,237,0.85); }

/* Inline progress bar per track */
.track-progress-wrap {
  width: 100%;
  height: 2px;
  background: rgba(245,242,237,0.1);
  border-radius: 2px;
  margin-top: 0.7rem;
  display: none;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 0.45rem;
  position: relative;
}
.track-item.active .track-progress-wrap { display: block; }
.track-progress-fill {
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
  pointer-events: none;
}
.track-progress-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine-dim);
  pointer-events: none;
}

.track-item.active .track-film { color: var(--wine-dim); }

.track-duration {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink3);
  white-space: nowrap;
}

/* .now-playing removed — replaced by inline per-track progress bars */

/* === BIO === */
.bio {
  padding: 5.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  border-top: 0.5px solid var(--line);
}

.bio-left { position: sticky; top: 5.5rem; }

.bio-portrait-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg2);
  border: 0.5px solid var(--line);
  overflow: hidden;
}

.bio-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.bio-credential {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 0.5px solid rgba(122,48,64,0.35);
  background: var(--wine-pale);
}

.cred-inst {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.cred-role {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink2);
  margin-top: 0.4rem;
  line-height: 1.55;
}

.bio-text {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--ink2);
  font-weight: 300;
}

.bio-text p + p { margin-top: 1.5rem; }
.bio-text em { color: var(--wine); font-style: italic; }

.bio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border-top: 0.5px solid var(--line);
}

.bio-stat {
  background: var(--bg);
  padding: 2rem 1rem 1.8rem;
  text-align: center;
  border-right: 0.5px solid var(--line);
}

.bio-stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: var(--wine);
  line-height: 1;
  display: block;
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 0.6rem;
  display: block;
  line-height: 1.5;
}

/* === SERVICES === */
.services {
  padding: 5.5rem 2.5rem;
  background: var(--bg2);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}

.services-inner { max-width: 1100px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  margin-top: 2.5rem;
}

.service-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1.8rem 1.4rem 1.8rem;
  border-top: 2px solid rgba(122,48,64,0.35);
  transition: border-color 0.3s, background-color 0.3s;
}
.service-item:hover { border-color: var(--wine); background-color: rgba(122,48,64,0.04); }

/* Service num / title / desc sit above the watermark */
.service-num, .service-title, .service-desc { position: relative; z-index: 1; }

/* Watermark icon — absolute top-right, blends into bg */
.service-icon {
  position: absolute;
  top: -8%;
  right: -6%;
  width: 130px;
  height: 130px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.service-item:hover .service-icon { opacity: 0.22; transform: scale(1.06); }

.service-icon-01 { background-image: url('../images/services/svc-film.png'); }
.service-icon-02 { background-image: url('../images/services/svc-music-production.png'); }
.service-icon-03 { background-image: url('../images/services/svc-orchestral.png'); }
.service-icon-04 { background-image: url('../images/services/svc-sound-design.png'); }
.service-icon-05 { background-image: url('../images/services/svc-audio-branding.png'); }
.service-icon-06 { background-image: url('../images/services/svc-guitar.png'); }

@media (max-width: 768px) {
  .service-icon { width: 90px; height: 90px; top: -4%; right: -3%; }
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--wine-dim);
  margin-bottom: 0.6rem;
  display: block;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  color: var(--ink);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--ink3);
  line-height: 1.75;
  font-style: italic;
}

/* === TESTIMONIALS CAROUSEL === */
.testimonials {
  padding: 5.5rem 2.5rem;
  background: var(--bg2);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}

.testimonials-inner { max-width: 900px; margin: 0 auto; }

.testimonials-carousel { position: relative; }

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
  width: 100%;
  padding: 2.8rem 2.5rem 2.5rem;
  border: 0.5px solid rgba(122,48,64,0.2);
  background: var(--bg);
  position: relative;
  box-sizing: border-box;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.testi-prev,
.testi-next {
  background: none;
  border: 0.5px solid rgba(122,48,64,0.35);
  color: var(--wine);
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.testi-prev:hover,
.testi-next:hover { background: var(--wine); color: #fff; border-color: var(--wine); }

.testi-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122,48,64,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.testi-dot.active { background: var(--wine); transform: scale(1.35); }

.testimonial-item::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--wine);
  opacity: 0.15;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--ink2);
  margin-bottom: 2rem;
  position: relative;
  quotes: none;
}

.testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 1.2rem;
  border-top: 0.5px solid rgba(122,48,64,0.2);
}

.testimonial-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
}

.testimonial-role {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink3);
}

.testimonial-placeholder { opacity: 0.6; }

/* === CONTACT === */
.contact {
  padding: 5.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 1.4rem;
}

.contact-heading span { color: var(--wine); }

.contact-sub {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 0.5px solid var(--wine-dim);
  padding-bottom: 0.3rem;
  transition: color 0.3s;
  word-break: break-all;
}

.contact-email:hover { color: #5e1e2c; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink2);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--line);
  transition: color 0.3s;
}

.social-link:hover { color: var(--wine); }

.social-icon {
  width: 32px;
  height: 32px;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}

.social-link:hover .social-icon {
  border-color: var(--wine);
  background: var(--wine-pale);
}

.social-icon svg { width: 14px; height: 14px; fill: currentColor; }

/* === SOCIAL BRAND COLORS === */
.social-instagram .social-icon {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-color: transparent;
}
.social-instagram .social-icon svg { fill: #fff; }
.social-instagram:hover .social-icon { background: linear-gradient(135deg, #6a2fa0 0%, #d41616 50%, #e0993a 100%); border-color: transparent; }

.social-whatsapp .social-icon { background: #25D366; border-color: transparent; }
.social-whatsapp .social-icon svg { fill: #fff; }
.social-whatsapp:hover .social-icon { background: #1da851; border-color: transparent; }

.social-soundcloud .social-icon { background: #FF5500; border-color: transparent; }
.social-soundcloud .social-icon svg { fill: #fff; }
.social-soundcloud:hover .social-icon { background: #cc4400; border-color: transparent; }

.social-imdb .social-icon { background: #F5C518; border-color: transparent; }
.social-imdb .social-icon svg { fill: #000; }
.social-imdb:hover .social-icon { background: #d4a914; border-color: transparent; }

.social-linkedin .social-icon { background: #0A66C2; border-color: transparent; }
.social-linkedin .social-icon svg { fill: #fff; }
.social-linkedin:hover .social-icon { background: #084e96; border-color: transparent; }

.contact-visual {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.contact-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(30,28,26,0.35));
}

/* === FOOTER === */
footer {
  padding: 1.5rem 2.5rem;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink3);
  text-transform: uppercase;
}

/* === MINI PLAYER === */
.mini-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(22,20,18,0.97);
  backdrop-filter: blur(10px);
  padding: 0.7rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 200;
  border-top: 0.5px solid rgba(122,48,64,0.4);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.mini-player.visible { transform: translateY(0); }

.mini-play {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--wine);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mini-play:hover { background: #5e1e2c; }

.mini-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.mini-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--bg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-film {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--ink3);
  font-style: italic;
}

.mini-progress-wrap {
  flex: 1;
  max-width: 280px;
  height: 3px;
  background: rgba(245,242,237,0.12);
  border-radius: 2px;
  cursor: pointer;
  padding: 8px 0; margin: -8px 0;
}
.mini-progress-fill {
  height: 3px;
  background: var(--wine);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* .mini-sc-link removed */

.mini-back {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(245,242,237,0.35);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s;
  flex-shrink: 0;
}
.mini-back:hover { color: rgba(245,242,237,0.7); }

.mini-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,242,237,0.4);
  font-size: 1.2rem;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color 0.2s;
  line-height: 1;
}
.mini-close:hover { color: rgba(245,242,237,0.85); }

@media (max-width: 768px) {
  .mini-player { padding: 0.6rem 1rem; gap: 0.8rem; }
  .mini-progress-wrap { display: none; }
}

/* === SCROLL REVEAL === */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* stagger para work cards */
  .work-card.reveal:nth-child(1) { transition-delay: 0ms; }
  .work-card.reveal:nth-child(2) { transition-delay: 80ms; }
  .work-card.reveal:nth-child(3) { transition-delay: 160ms; }
  .work-card.reveal:nth-child(4) { transition-delay: 80ms; }
  .work-card.reveal:nth-child(5) { transition-delay: 160ms; }
  .work-card.reveal:nth-child(6) { transition-delay: 240ms; }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: opacity 0.25s;
}

.footer-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--wine), transparent);
}

.footer-logo .logo-f-g,
.footer-logo .logo-f-c {
  font-size: 1.2rem;
}

.footer-logo .logo-f-slash {
  font-size: 1.45rem;
}

.footer-logo:hover {
  opacity: 0.6;
}

/* === CURSOR === */
.track-item, .work-card, .social-link, .hero-cta, .lang-btn,
.nav-center a, .nav-logo, .footer-logo { cursor: pointer; }

/* === HERO ENTRY ANIMATION === */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero-name, .hero-tagline, .hero-cta {
    opacity: 0;
    transform: translateY(18px);
    animation: heroReveal 0.7s ease forwards;
  }
  .hero-eyebrow  { animation-delay: 0.1s; }
  .hero-name     { animation-delay: 0.28s; }
  .hero-tagline  { animation-delay: 0.46s; }
  .hero-cta      { animation-delay: 0.62s; }
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* === FIX 5: FOCUS VISIBLE === */
:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }
.player-section :focus-visible { outline-color: var(--wine-dim); }

/* === FIX 8: PROGRESS TAP AREA === */
.progress-track {
  padding: 10px 0;
  margin: -10px 0;
}

/* Hero image: no animation */
.hero-right img { opacity: 1; }

/* === FIX 12: FOOTER FONT SIZE === */
.footer-copy { font-size: 0.7rem; }

.service-desc { font-style: italic; font-size: 1.05rem; line-height: 1.75; }

/* === FIX 15: FILM REEL — REDUCED MOTION + PAUSE ON HOVER === */
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
}
.reel:hover .reel-track { animation-play-state: paused; }

/* === NAV SCROLL SHADOW === */
nav.scrolled { box-shadow: 0 2px 20px rgba(30,28,26,0.08); }

/* .now-playing.is-empty removed */

/* === MIN TOUCH TARGET === */
.hero-cta { min-height: 44px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .bio-stats { grid-template-columns: repeat(2, 1fr); }
  .tracks-list { column-gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-logo img { height: 36px; }
  .nav-monogram-text { font-size: 1.55rem; }
  .nav-center { display: none; }
  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    /* Solid bg — no opacity bleed from content behind */
    background: var(--bg);
    align-items: center;
    justify-content: center;
    /* Tighter gap — items were floating too far apart on short phones */
    gap: 0;
    z-index: 99;
    padding: 6rem 2rem 4rem;
  }

  /* Each <li> becomes the tap target, not just the <a> */
  .nav-center.open li {
    width: 100%;
    max-width: 320px;
    border-bottom: 0.5px solid var(--line);
  }
  .nav-center.open li:first-child {
    border-top: 0.5px solid var(--line);
  }

  .nav-center.open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Minimum 48px tap target height */
    min-height: 56px;
    padding: 0 0.25rem;
    /* Larger, more readable type */
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    color: var(--ink);
    /* Remove the hover underline pseudo-element inside overlay */
  }
  .nav-center.open a::after { display: none; }

  /* Wine right-arrow chevron — adds affordance and luxury editorial feel */
  .nav-center.open a::before {
    content: '→';
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--wine);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
    order: 2;
  }
  .nav-center.open a:hover::before {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-center.open a:hover { color: var(--wine); }

  .nav-hamburger { display: flex; }

  /* Ensure hamburger sits above the overlay */
  .nav-hamburger { position: relative; z-index: 200; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 60vw; min-height: 240px; }
  .hero-right::after { background: linear-gradient(to bottom, transparent 40%, var(--bg)); }
  .hero-left { padding: 2.5rem 1.5rem 3rem; order: 2; }
  .hero-right { order: 1; }

  .works { padding: 3rem 1.5rem; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: unset; grid-row: unset; }
  .work-card.featured .work-img { aspect-ratio: 3 / 2; flex: unset; }
  .work-card:nth-child(4) .work-thumb,
  .work-card:nth-child(5) .work-thumb,
  .work-card:nth-child(6) .work-thumb,
  .work-thumb, .work-img { aspect-ratio: 3 / 2; }

  .player-section { padding: 3rem 1.5rem; }
  .tracks-list { grid-template-columns: 1fr; }

  .bio { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  .bio-left { position: static; }
  .bio-portrait-frame { aspect-ratio: 2/3; }
  .bio-stats { grid-template-columns: repeat(2, 1fr); }

  .services { padding: 3rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 0; }

  .testimonials { padding: 3rem 1.5rem; }
  .testimonial-item { padding: 1.8rem 1.5rem; }

  .contact { display: flex; flex-direction: column; padding: 3rem 1.5rem; gap: 0; background: var(--bg2); }
  .contact-left { display: contents; }
  .contact-top { order: 1; padding-bottom: 1.5rem; }
  .contact-visual { order: 2; display: block; aspect-ratio: 4/3; margin-bottom: 2rem; }
  .contact-bottom { order: 3; }

  footer { padding: 1.2rem 1.5rem; flex-direction: column; gap: 0.8rem; text-align: center; }
}
