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

:root {
  --color-bg-dark: #040201;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-body: "Silabarium Text", sans-serif;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
  --layout-width: min(100%, 56rem);
  --text-tagline: clamp(1rem, 1.6vw, 1.5rem);
  --text-nav: clamp(0.8rem, 1.28vw, 1.2rem);
  --text-body: clamp(1rem, 1.7vw, 1.5625rem);
  --text-title: clamp(4rem, 8.9vw, 8rem);
  --text-section: clamp(2.5rem, 4.4vw, 4rem);
  --radius-pill: 57px;
  --border: 3px solid var(--color-white);
  --glass-blur: 20px;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-section-bg: rgba(4, 2, 1, 0.62);
  --content-frame-width: min(80%, 44.8rem);
  --hero-vh: 100vh;
}

@font-face {
  font-family: "Silabarium Text";
  src: url("/assets/fonts/HelveticaNeue-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silabarium Text";
  src: url("/assets/fonts/HelveticaNeue-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silabarium Text";
  src: url("/assets/fonts/HelveticaNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silabarium Text";
  src: url("/assets/fonts/HelveticaNeue-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.3;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

/* —— Hero backdrop (fixed behind hero + iframe) —— */

.hero-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("/assets/hero.jpg") 30% center / cover no-repeat;
  background-color: #1a1a1a;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-backdrop.is-ended {
  opacity: 0;
  visibility: hidden;
}

main {
  position: relative;
  z-index: 1;
}

/* —— Hero stage —— */

.hero-stage {
  position: relative;
  z-index: 1;
}

/* Desktop fallback / gradient layer (image lives on .hero-backdrop) */
.hero-stage::before {
  display: none;
}

/* Sin capa glass en el hero: el blur aparece solo al entrar a música */

.hero-stage > * {
  position: relative;
}

.hero-stage > .hero {
  z-index: 2;
}

.hero-stage > .album {
  z-index: 3;
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--page-padding);
  text-align: center;
  isolation: isolate;
}

/* —— Site nav —— */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: clamp(1.5rem, 3vw, 2.625rem) var(--page-padding) 0;
  pointer-events: none;
  visibility: hidden;
}

.nav {
  position: relative;
  left: 50%;
  width: min(100%, 75rem);
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 6rem);
  flex-wrap: wrap;
  font-size: var(--text-nav);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-nav.is-hero .nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav.is-hero {
  visibility: visible;
  pointer-events: auto;
}

/* Si scrolleás dentro del hero, la nav puede ocultarse */
.site-nav.is-hero.is-scrolled:not(.is-temp-visible) .nav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-nav.is-hero.is-scrolled:not(.is-temp-visible) {
  pointer-events: none;
}

.site-nav.is-hero.is-temp-visible .nav,
.site-nav.is-reveal.is-temp-visible .nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav.is-hero.is-temp-visible,
.site-nav.is-reveal.is-temp-visible {
  visibility: visible;
  pointer-events: auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.35s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-nav.is-scrolled.is-hero {
  padding-bottom: clamp(0.825rem, 2.2vw, 1.1rem);
}

.site-nav.is-reveal {
  visibility: visible;
  padding: 0 var(--page-padding);
  pointer-events: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-nav.is-reveal::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(2.5rem, 6vh, 4rem);
  z-index: 0;
  pointer-events: auto;
}

.site-nav.is-reveal .nav {
  position: relative;
  z-index: 1;
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(1.1rem, 2.75vw, 1.65rem);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 769px) {
  .site-nav {
    padding-top: clamp(0.875rem, 1.75vw, 1.5rem);
  }

  .site-nav.is-reveal .nav {
    padding-top: clamp(0.75rem, 1.5vw, 1.125rem);
    padding-bottom: clamp(0.825rem, 1.65vw, 1.2375rem);
  }

  .hero__logo {
    width: min(90vw, 42rem);
    aspect-ratio: 595.276 / 184.548;
  }
}

@media (hover: hover) {
  .site-nav.is-reveal:hover,
  .site-nav.is-reveal:focus-within {
    pointer-events: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  }

  .site-nav.is-reveal:hover::before,
  .site-nav.is-reveal:focus-within::before {
    pointer-events: none;
  }

  .site-nav.is-reveal:hover .nav,
  .site-nav.is-reveal:focus-within .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) {
  .site-nav.is-reveal::before {
    pointer-events: none;
  }
}

.nav__link,
.hero__tagline {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3;
}

.nav__link {
  position: relative;
  cursor: pointer;
}

.nav__link:hover {
  opacity: 0.75;
}

.hero__title {
  margin: 0;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: min(92vw, 42rem);
  height: auto;
  aspect-ratio: 595.276 / 184.548;
  margin: 0 auto;
}

.hero__footer {
  position: absolute;
  bottom: clamp(2rem, 6vw, 5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--content-frame-width));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  font-size: var(--text-tagline);
}

.hero__tagline {
  margin: 0;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.9rem);
  width: 100%;
  max-width: var(--content-frame-width);
  margin-inline: auto;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.3rem, 4.255vw, 3.91rem);
  height: clamp(2.3rem, 4.255vw, 3.91rem);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0) 72%
  );
  border: none;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 2px 10px rgba(0, 0, 0, 0.12);
  overflow: visible;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.social__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
  transition: filter 0.3s ease;
}

.social__link:hover {
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0) 72%
  );
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.14);
  transform: scale(1.12);
}

.social__link:hover img {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

/* —— Album —— */

.album {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(5rem, 12vh, 7rem) var(--page-padding)
    clamp(2rem, 4vw, 3rem);
  scroll-margin-top: 0;
  background-color: transparent;
}

/* Blur desde detrás del iframe → negro hacia Shows */
.album::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(4, 2, 1, 0) 0%,
    rgba(4, 2, 1, 0.2) 18%,
    rgba(4, 2, 1, 0.45) 40%,
    rgba(4, 2, 1, 0.75) 68%,
    var(--color-bg-dark) 100%
  );
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    black 55%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    black 55%
  );
}

.album__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--layout-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.album__title {
  margin: 0;
  font-size: var(--text-nav);
  line-height: 1.2;
}

.album__title-bold {
  display: block;
  font-weight: 700;
}

.album__title-light {
  display: block;
  font-weight: 400;
}

.album__spotify {
  position: relative;
  z-index: 1;
  width: 100%;
}

.album__spotify iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 12px;
}

/* —— Dark sections —— */

.dark {
  position: relative;
  z-index: 2;
  background: var(--color-bg-dark);
}

.section-title {
  margin: 0;
  font-size: var(--text-section);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

/* —— Shows —— */

.shows {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    var(--color-bg-dark) 0%,
    var(--color-bg-dark) 45%,
    transparent 72%
  );
  padding: clamp(3.4rem, 6.8vw, 6.48rem) var(--page-padding)
    clamp(2rem, 5vw, 4rem);
}

.shows__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-frame-width);
  margin: 0 auto;
}

.shows__list {
  list-style: none;
  margin-top: clamp(2rem, 5vw, 3.7rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.show {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  column-gap: clamp(0.5rem, 1.2vw, 1rem);
  row-gap: 0;
  min-height: 2.75rem;
  padding: 0.3rem clamp(0.68rem, 2.04vw, 1.36rem);
  border-radius: var(--radius-pill);
}

.show:not(.show--empty) {
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background: rgba(4, 2, 1, 0.82);
}

.show--empty {
  min-height: 2.75rem;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.show__date {
  font-size: clamp(0.8rem, 1.36vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.show__venue {
  font-size: clamp(0.8rem, 1.36vw, 1.25rem);
  letter-spacing: 0.03em;
}

.show .btn {
  min-width: 5.5rem;
  min-height: 1.25rem;
  padding: 0.1rem 0.75rem;
  font-size: clamp(0.8rem, 1.36vw, 1.25rem);
  letter-spacing: 0.03em;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-width: 9.5rem;
  min-height: 2rem;
  padding: 0.25rem 1.25rem;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-pill);
  font-size: var(--text-body);
  letter-spacing: 0.07em;
  border: 0;
  cursor: pointer;
}

.btn--glass {
  background: var(--glass-bg);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  font-size: clamp(0.7rem, 1.19vw, 1.094rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
}

.btn--glass .btn__arrow {
  width: 11.5px;
  height: 11.5px;
}

.btn__arrow {
  flex-shrink: 0;
}

.btn:hover {
  opacity: 0.85;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.btn--center {
  margin: 0 auto;
}

/* —— Bio stage (shows + bio image) —— */

.bio-stage {
  position: relative;
  z-index: 1;
  --bio-gallery-height: clamp(12rem, 28vh, 20rem);
  --bio-content-gap: 4.5vh;
  --bio-photo-width: min(83.2%, 46.592rem);
  --bio-photo-overlap-fraction: 0.4;
  --bio-photo-overlap: calc(var(--bio-photo-overlap-fraction) * var(--bio-photo-width) * 819 / 1024);
  --bio-content-overlap: 0.25;
}

.bio-stage__photo {
  z-index: 0;
  width: var(--bio-photo-width);
  margin: calc(-1 * var(--bio-photo-overlap)) auto 0;
  aspect-ratio: 1024 / 819;
  pointer-events: none;
}

.bio-stage__photo img {
  display: block;
  width: var(--bio-photo-width);
  height: auto;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-stage__photo picture {
  display: block;
  width: var(--bio-photo-width);
  margin: 0 auto;
}

.bio-stage__photo.is-visible img {
  position: fixed;
  left: 50%;
  top: clamp(7rem, 18vh, 11rem);
  transform: translateX(-50%);
  z-index: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  clip-path: inset(calc(var(--bio-photo-overlap-fraction) * 100%) 0 0 0);
}

.glass-stage {
  position: relative;
  z-index: 1;
  width: 100%;
}

.glass-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--glass-section-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 8%,
    rgba(0, 0, 0, 0.35) 16%,
    rgba(0, 0, 0, 0.58) 24%,
    rgba(0, 0, 0, 0.78) 32%,
    black 42%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 8%,
    rgba(0, 0, 0, 0.35) 16%,
    rgba(0, 0, 0, 0.58) 24%,
    rgba(0, 0, 0, 0.78) 32%,
    black 42%
  );
}

.glass-stage > * {
  position: relative;
  z-index: 1;
}

.bio {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: calc(-1 * var(--bio-content-overlap) * var(--bio-photo-width) * 819 / 1024);
}

.bio__image {
  position: relative;
  margin-top: 0;
}

.bio-gallery {
  position: relative;
  width: 100%;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.bio-gallery li {
  flex: 1 1 0;
  min-width: 0;
}

.bio-gallery__item {
  display: block;
  width: 100%;
  height: var(--bio-gallery-height);
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.bio-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.bio-gallery__item:hover img {
  transform: scale(1.08);
  filter: brightness(1.12);
}

/* —— Lightbox —— */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 2, 1, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[hidden] {
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox__image {
  max-width: min(100%, 72rem);
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--color-white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

.lightbox__nav--prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.bio__content {
  position: relative;
  z-index: 3;
  margin-bottom: var(--bio-content-gap);
  padding: clamp(7rem, 22vh, 14rem) var(--page-padding) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  text-align: center;
}

.bio__text {
  max-width: 56rem;
  font-size: clamp(0.8rem, 1.36vw, 1.25rem);
  font-weight: 100;
  line-height: 1.45;
  scroll-margin-top: clamp(5rem, 14vh, 8rem);
}

.bio__text strong {
  font-weight: 400;
}

.bio__text p {
  margin: 0 0 1em;
}

.bio__text p:last-child {
  margin-bottom: 0;
}

/* —— Contact —— */

.contact {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  padding: 17vh var(--page-padding) clamp(6rem, 12vw, 10rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.contact__form {
  width: 100%;
  max-width: var(--content-frame-width);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.contact .field {
  display: block;
}

.contact .field input {
  width: 100%;
  padding: 0.85rem clamp(1.25rem, 3vw, 2rem);
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: var(--radius-pill);
  outline: none;
  font-size: var(--text-nav);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact .field input::placeholder {
  color: var(--color-white);
  opacity: 1;
  font-weight: 300;
  text-transform: uppercase;
}

.contact__submit {
  width: 100%;
  padding: calc(0.85rem * 0.5) clamp(1.25rem, 3vw, 2rem);
  background: var(--color-white);
  color: var(--color-black);
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: var(--text-nav);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact__submit:hover {
  opacity: 0.85;
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact__feedback {
  margin: 0;
  padding: 0.85rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-white);
  border-radius: var(--radius-pill);
  text-align: center;
  font-size: var(--text-nav);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact__feedback.is-success {
  background: rgba(255, 255, 255, 0.12);
}

.contact__feedback.is-error {
  border-color: rgba(255, 255, 255, 0.85);
}

/* —— Footer —— */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-white);
  padding: 1.625rem var(--page-padding);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: var(--text-nav);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer a:hover {
  opacity: 0.75;
}

/* —— Responsive —— */

@media (max-width: 768px) {
  .hero-backdrop {
    background:
      linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
      url("/assets/hero-mobile.jpg") center top / cover no-repeat;
    background-color: #1a1a1a;
  }

  .album {
    background-color: transparent;
    isolation: auto;
    overflow: visible;
  }

  /* Mismo blur detrás del iframe → negro hacia Shows (mobile / iOS) */
  .album::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(4, 2, 1, 0) 0%,
      rgba(4, 2, 1, 0.2) 18%,
      rgba(4, 2, 1, 0.45) 40%,
      rgba(4, 2, 1, 0.75) 68%,
      var(--color-bg-dark) 100%
    );
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 12%,
      rgba(0, 0, 0, 0.85) 32%,
      black 55%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 12%,
      rgba(0, 0, 0, 0.85) 32%,
      black 55%
    );
  }

  .album__inner,
  .album__spotify,
  .album__spotify iframe {
    position: relative;
    z-index: 1;
  }

  .album__spotify iframe {
    height: min(520px, 70vh);
  }

  /* Mobile: hero a altura exacta del viewport (ver hero-fix.js) */
  .hero {
    position: relative;
    min-height: var(--hero-vh, 100vh);
    height: var(--hero-vh, 100vh);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: auto;
    background-color: transparent;
  }

  .hero::before {
    display: none;
  }

  .hero__title {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: clamp(4.5rem, 12vw, 5.5rem) var(--page-padding) 0;
    box-sizing: border-box;
  }

  .hero__logo {
    width: min(100vw, 26.25rem);
    max-width: 100%;
    height: auto;
    aspect-ratio: 595.276 / 184.548;
    flex-shrink: 0;
  }

  .hero__footer {
    position: relative;
    z-index: 1;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    flex-shrink: 0;
    width: 100%;
    padding: 1.25rem var(--page-padding) max(1.25rem, env(safe-area-inset-bottom));
    background: transparent;
    box-sizing: border-box;
  }

  .social__link {
    width: 44px;
    height: 44px;
  }

  .hero .social__link {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .hero .social__link img {
    filter: none;
  }

  .site-nav.is-scrolled.is-hero {
    padding-bottom: clamp(0.825rem, 2.2vw, 1.1rem);
  }

  .site-nav.is-reveal .nav {
    padding-bottom: clamp(0.825rem, 2.2vw, 1.1rem);
  }

  .nav {
    width: 100%;
    max-width: var(--content-frame-width);
    gap: clamp(0.35rem, 2vw, 0.75rem);
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .bio-stage {
    --bio-photo-overlap-fraction: 0;
    --bio-content-overlap: 0;
  }

  .shows {
    z-index: 2;
    background: linear-gradient(
      var(--color-bg-dark) 0%,
      var(--color-bg-dark) 38%,
      rgba(4, 2, 1, 0.55) 55%,
      transparent 72%
    );
    padding-bottom: clamp(0.5rem, 1.5vw, 0.875rem);
  }

  .bio-stage__photo {
    margin: clamp(-0.75rem, -2vw, 0) auto 0;
  }

  .bio-stage__photo img {
    display: block;
    width: var(--bio-photo-width);
    height: auto;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .bio-stage__photo.is-visible img {
    position: fixed;
    left: 50%;
    top: 50vh;
    transform: translateX(-50%);
    z-index: 0;
    clip-path: none;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .bio {
    margin-top: 0;
  }

  .contact {
    padding-top: 13.6vh;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }
}

/* Fallback CSS antes de que cargue JS (solo Safari iOS) */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    :root:not(.js-hero-fixed) {
      --hero-vh: -webkit-fill-available;
    }
  }
}
