/* ========================================
   Noah Histeria — Styles
   ======================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-white);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* --- Custom Properties --- */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Typographic scale */
  --text-display: clamp(3rem, 7.5vw, 5.75rem);
  --text-page-title: clamp(2.2rem, 6vw, 4rem);
  --text-h2: 1.05rem;
  --text-h3: 0.75rem;
  --text-body: clamp(0.95rem, 1.2vw, 1.0625rem);
  --text-body-sm: 0.92rem;
  --text-ui: 0.75rem;
  --text-ui-sm: 0.68rem;
  --text-btn: 0.65rem;

  /* Spacing scale (multiples of 4px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 56px;
  --space-11: 72px;
  --space-12: 96px;

  /* Layout */
  --max-w: 1200px;
  --gutter: var(--space-7);
  --section-py: clamp(var(--space-10), 7vw, var(--space-12));
}

/* --- Base Typography --- */
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
}

.section-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: clamp(28px, 4vw, var(--space-9));
}

.section-title--light { color: var(--color-white); }
.section-title--right { text-align: right; }
.section-title--center { text-align: center; }

/* --- Reusable Components --- */

/* Link with underline + animated arrow */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}
.link-underline__text {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}
.link-underline__icon {
  display: block;
  width: clamp(40px, 6vw, 58px);
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.link-underline:hover { opacity: 0.65; }
.link-underline:hover .link-underline__icon { transform: translateX(6px); }
.link-underline--left .link-underline__icon { order: -1; }
.link-underline--left:hover .link-underline__icon { transform: translateX(-6px); }

/* Body text (bio, store descriptions) */
.body-text {
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 400;
  max-width: 38rem;
}
.body-text p { margin-bottom: 1.25em; }
.body-text p:last-child { margin-bottom: 0; }

/* Prose (album detail expanded content) */
.prose {
  font-size: var(--text-body-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.prose h3 {
  font-size: var(--text-h3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: clamp(var(--space-7), 4vw, var(--space-9));
  margin-bottom: var(--space-2);
  padding-top: clamp(var(--space-6), 3vw, var(--space-7));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}
.prose h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.prose p { margin-bottom: 10px; }
.prose ul {
  padding-left: 18px;
  margin: var(--space-2) 0 10px;
}
.prose li { margin: 6px 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main {
  background-color: var(--color-white);
}

.section {
  padding: var(--section-py) 0;
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ========================================
   Navbar — transparente, texto oscuro; visible solo arriba del todo
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-3) 0;
  background: transparent;
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
}

.navbar.navbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.navbar__links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.navbar__links a {
  font-size: var(--text-ui);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-black);
  padding: 4px 0;
  position: relative;
  transition: opacity 0.3s;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-black);
  transition: width 0.3s var(--ease);
}

.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar__links a:hover { opacity: 0.8; }

.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: absolute;
  right: var(--gutter);
}

.contact__lang-switcher {
  display: flex;
  gap: 6px;
}

.contact__lang-switcher button {
  font-size: var(--text-btn);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 2px;
  transition: color 0.3s var(--ease);
}

.contact__lang-switcher button.active { color: var(--color-black); }

.contact__lang-switcher button:hover { color: rgba(0, 0, 0, 0.75); }

.navbar__toggle { display: none; }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: -20px;
  z-index: 0;
  will-change: transform;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Biography — referencia: dos columnas, fotos apiladas, rotación ligera, sin sombra
   ======================================== */
.bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.bio .section-title {
  margin-bottom: clamp(36px, 5vw, var(--space-10));
}

.bio__text { color: inherit; }

.bio__images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1.2vw, 10px);
  width: 100%;
}

.bio__img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 520px);
  margin: 0;
  transform: none;
  aspect-ratio: 1 / 1;
}

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

/* Rectas (sin inclinación) */
.bio__img-wrap--1 {
  align-self: flex-end;
}

.bio__img-wrap--2 {
  align-self: flex-start;
}

/* ========================================
   Shows — referencia: título centrado, filas en mayúsculas, botón píldora blanco
   ======================================== */
.shows .section-title {
  margin-bottom: clamp(var(--space-8), 6vw, var(--space-11));
}

.shows__list {
  margin-top: 0;
}

.show-item {
  display: grid;
  grid-template-columns: minmax(5.25rem, auto) minmax(0, 1fr) minmax(0, 1.15fr) auto;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  padding: clamp(14px, 2vw, 22px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: clamp(0.7rem, 1.05vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.show-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.show-item__date {
  font-weight: 700;
  font-size: clamp(0.85rem, 1.2vw, var(--text-h2));
  letter-spacing: 0.04em;
}

.show-item__city,
.show-item__venue {
  font-weight: 400;
  color: var(--color-white);
}

.show-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 11px clamp(22px, 2.5vw, var(--space-7));
  min-height: var(--space-8);
  font-size: var(--text-btn);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), opacity 0.25s;
  text-align: center;
  white-space: nowrap;
}

.show-item__btn--available {
  background: var(--color-white);
  color: var(--color-black);
}

.show-item__btn--available:hover {
  filter: brightness(0.96);
  transform: scale(1.02);
}

.show-item__btn--sold {
  background: transparent;
  color: var(--color-white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  cursor: default;
}

/* ========================================
   Media — Collage recto (grid)
   ======================================== */
.media__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
  justify-items: stretch;
  margin: var(--space-9) 0;
}

.media__img-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  aspect-ratio: 1 / 1;
}

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

/* Layout: 4 tiles iguales (alineadas) */
.media__grid--layout-grid .media__collage-slot--1 { grid-column: 1; grid-row: 1; }
.media__grid--layout-grid .media__collage-slot--2 { grid-column: 2; grid-row: 1; }
.media__grid--layout-grid .media__collage-slot--3 { grid-column: 1; grid-row: 2; }
.media__grid--layout-grid .media__collage-slot--4 { grid-column: 2; grid-row: 2; }

@media (max-width: 900px) {
  .media__grid {
    grid-template-columns: 1fr;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.media-section .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.media-section .section-title {
  margin-bottom: clamp(28px, 4vw, var(--space-9));
}

.media__link {
  align-self: flex-end;
  margin-top: var(--space-2);
  padding: var(--space-2) 0 0;
}

/* ========================================
   Discography page
   ======================================== */
.discography.section {
  background: var(--color-black);
  color: var(--color-white);
}

.discography__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.discography__back {
  width: fit-content;
  opacity: 1;
}

/* En "Volver" solo anima la flecha, no el texto (sin fade). */
.discography__back.link-underline:hover {
  opacity: 1;
}

.discography__title {
  font-size: var(--text-page-title);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 8px;
}

.discography__lead {
  max-width: 42rem;
  font-size: var(--text-body);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.discography__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: 18px;
}

.discography-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-3);
}

.discography-card__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.discography-card__cover:hover {
  transform: scale(1.03);
  opacity: 0.88;
}

.discography-card__body {
  display: grid;
  gap: var(--space-2);
}

.discography-card__title {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.discography-card__meta {
  font-size: var(--text-h3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.discography-card__blurb {
  font-size: var(--text-body);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.discography-card__more-btn {
  width: fit-content;
  padding: var(--space-2) 0 2px;
  border-bottom: 1px solid currentColor;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--text-btn);
  opacity: 0.9;
}


/* ========================================
   Album pages (one per record)
   ======================================== */
.album__header {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  margin-top: 10px;
}

.album__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.album__headcopy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.album__body {
  margin-top: clamp(18px, 3vw, 26px);
}

@media (max-width: 900px) {
  .album__header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .discography__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .discography__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Store — referencia: texto izquierda, cuadrado negro + logo Bandcamp derecha
   ======================================== */
.store.section {
  background-color: var(--color-white);
  color: var(--color-black);
}

.store__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.store .section-title {
  margin-bottom: clamp(28px, 4vw, var(--space-8));
}

.store__text {
  margin-bottom: clamp(var(--space-6), 3.5vw, var(--space-7));
}

.store__link {
  padding: 6px 0 0;
}
.store__link .link-underline__icon {
  filter: brightness(0);
}

.store__logo-square {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: min(100%, clamp(260px, 36vw, 440px));
  aspect-ratio: 1 / 1;
  background-color: var(--color-black);
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.store__logo-square:hover {
  opacity: 0.92;
}

.store__logo-square:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 4px;
}

.store__logo-square img {
  display: block;
  width: 52%;
  max-width: 240px;
  height: auto;
}

/* ========================================
   Contact — referencia: columna centrada, bloques apilados, redes + legal
   ======================================== */
.contact.section--dark {
  background-color: var(--color-black);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact .section-title {
  margin-bottom: clamp(var(--space-8), 7vw, var(--space-11));
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vw, 36px);
  margin-bottom: clamp(24px, 5vw, 40px);
  max-width: 32rem;
}

.contact__block h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--color-white);
}

.contact__block a {
  display: inline-block;
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), opacity 0.25s;
}

.contact__block a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3.2vw, 24px);
  margin-bottom: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 1;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-icon:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

.contact__legal {
  margin-top: clamp(18px, 4vw, 28px);
  font-size: var(--text-ui-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  font-family: var(--font);
}

.contact__lang-switcher {
  margin-top: clamp(18px, 4vw, 28px);
  justify-content: center;
}

.contact__lang-switcher button {
  color: rgba(255, 255, 255, 0.55);
}

.contact__lang-switcher button.active,
.contact__lang-switcher button:hover {
  color: var(--color-white);
}

.contact .social-icon:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

/* ========================================
   Scroll Reveal
   Uses opacity + translate (separate property)
   so it never overrides transform (rotation).
   ======================================== */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  translate: 0 0;
}

/* Collage: sin desplazamiento vertical en el reveal (el hover usa transform vía anime.js). */
.bio__img-wrap.reveal,
.media__img-wrap.reveal {
  translate: 0 0;
}

/* El orden/delay lo controla JS por sección (animations.js). */

/* ========================================
   Lightbox galería
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  isolation: isolate;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgb(0, 0, 0);
  opacity: 0.88;
  cursor: pointer;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 20;
  padding: 14px;
  color: #ffffff;
  background: transparent;
  opacity: 0.92;
  pointer-events: auto;
  transition: opacity 0.25s var(--ease);
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  opacity: 1;
}

.lightbox__close {
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
}

.lightbox__icon {
  display: block;
  flex-shrink: 0;
  max-width: none;
  width: 28px;
  height: 28px;
}

.lightbox__icon--arrow {
  width: clamp(36px, 8vmin, 52px);
  height: auto;
  aspect-ratio: 58.15 / 34.32;
}

.lightbox__nav--prev {
  left: clamp(6px, 2vw, 20px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: clamp(6px, 2vw, 20px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav[hidden] {
  display: none !important;
}

.lightbox__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(52px, 9vh, 96px) clamp(44px, 8vw, 96px);
  pointer-events: none;
}

.lightbox__img {
  max-width: min(96vw, 1680px);
  max-height: min(86vh, 1200px);
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Durante FLIP: imagen fija en viewport, por encima del escenario */
.lightbox__img.lightbox__img--flip {
  position: fixed;
  z-index: 15;
  max-width: none;
  max-height: none;
  margin: 0;
  pointer-events: none;
}

.collage-tile--lightbox,
.collage-tile--lightbox img {
  cursor: pointer;
}

.collage-tile--lightbox:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 4px;
}

.lightbox :focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

/* ========================================
   Focus Visible
   ======================================== */
:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

.section:not(.section--dark) :focus-visible {
  outline-color: var(--color-black);
}

.navbar :focus-visible {
  outline-color: var(--color-black);
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
  .bio__grid {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vw, 72px);
  }

  .bio .section-title {
    font-size: clamp(2.6rem, 10vw, 4.25rem);
  }

  .bio__images {
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 3vw, 10px);
  }

  .bio__img-wrap {
    max-width: min(100%, 360px);
  }

  .bio__img-wrap--1,
  .bio__img-wrap--2 {
    align-self: center;
  }

  .store__grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 56px);
    text-align: left;
  }

  .store__logo-square {
    width: min(100%, clamp(240px, 70vw, 380px));
    margin-inline: auto;
  }

  .show-item {
    grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding: 20px 0;
  }

}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 640px) {
  :root {
    --gutter: var(--space-5);
    --section-py: 52px;
  }

  /* Navbar mobile */
  .navbar {
    position: static;
    padding: 0;
    background: var(--color-white);
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .navbar.navbar--hidden {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .navbar__inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding-top: 18px;
    padding-bottom: 14px;
    gap: 0;
  }

  .navbar__links {
    position: static;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(22px, 6vh, 54px);
    padding: clamp(16px, 4vh, 28px) 0 10px;
    transform: none;
    transition: none;
    width: 100%;
    display: flex;
  }

  .navbar__links a {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }

  /* Animación de entrada para las opciones del hero (móvil) */
  @keyframes heroMenuIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar__links li {
    opacity: 0;
    transform: translateY(10px);
    animation: heroMenuIn 520ms var(--ease) forwards;
  }

  .navbar__links li:nth-child(1) { animation-delay: 40ms; }
  .navbar__links li:nth-child(2) { animation-delay: 120ms; }
  .navbar__links li:nth-child(3) { animation-delay: 200ms; }
  .navbar__links li:nth-child(4) { animation-delay: 280ms; }
  .navbar__links li:nth-child(5) { animation-delay: 360ms; }

  /* Hero mobile */
  .hero {
    height: 48vh;
    min-height: 48vh;
    overflow: hidden;
    background: var(--color-white);
    position: relative;
  }

  .hero__bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    background: var(--color-white);
    display: block;
    isolation: isolate;
  }

  /* Degradado blanco en el top para suavizar la transición con el fondo */
  .hero__bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(48px, 10vh, 140px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 1;
    pointer-events: none;
  }

  .hero__bg img {
    width: 100%;
    height: auto;
    object-position: center bottom;
    position: relative;
    z-index: 0;
  }

  /* Bio mobile */
  .bio__images {
    flex-direction: column;
    margin-top: 8px;
    gap: clamp(4px, 3vw, 10px);
  }

  .bio__img-wrap {
    max-width: min(100%, 300px);
  }

  /* Shows mobile */
  .shows .section-title {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    margin-bottom: 32px;
  }

  .show-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    row-gap: 10px;
    column-gap: 14px;
    align-items: start;
    padding: 20px 0;
  }

  .show-item__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.95rem;
  }

  .show-item__btn {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    padding: 9px 18px;
    min-height: 36px;
    font-size: 0.6rem;
  }

  .show-item__city {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .show-item__venue {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: left;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .media-section .section-title {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
    margin-bottom: 20px;
  }

  .media__grid {
    margin: 24px 0 32px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-items: center;
  }

  .media__img-wrap {
    width: 100%;
    max-width: 520px;
  }

  .section-title { margin-bottom: 28px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }

}
