/* ==========================================================================
   Ángel "Papote" Alvarado y el Grupo Esencia — single page
   Mobile first. Breakpoint principal: 992px (lg de Bootstrap 5).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --color-red: #880f0f;
  --color-cream: #f4f3eb;
  --color-ink: #000;
  --color-rule: rgba(0, 0, 0, .35);
  --color-rule-inverse: rgba(244, 243, 235, .35);

  --font-display: "Encode Sans Condensed", "Arial Narrow", sans-serif;
  --font-body: "B612", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* 50px sobre el frame de 440px del diseño móvil, tope 50px en desktop */
  --gutter: clamp(24px, 11.36vw, 50px);
  --section-padding: 96px;
  --stack-gap: 40px;
  --content-max: 1512px;
  --body-column: 696px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Header / hero
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--color-red);
  color: var(--color-cream);
}

.site-header__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 30px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Se mantiene por encima del panel (z-index 1045) para que las rayas
   se conviertan en X en el mismo sitio al abrir el menú */
.nav-toggle {
  position: relative;
  z-index: 1046;
  width: 41px;
  height: 41px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 32px;
  height: 3px;
  background-color: currentColor;
  transition: background-color .15s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: currentColor;
  transition: transform .25s ease;
}

.nav-toggle__bars::before {
  top: -10px;
}

.nav-toggle__bars::after {
  top: 10px;
}

.nav-toggle.is-open .nav-toggle__bars {
  background-color: transparent;
}

.nav-toggle.is-open .nav-toggle__bars::before {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars::after {
  transform: translateY(-10px) rotate(-45deg);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 -10px;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding: 10px;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-cream);
  opacity: .7;
}

.site-brand {
  display: block;
  margin-top: 35px;
  width: 340px;
  max-width: 100%;
}

/* Entrada del logo al cargar la página */
@keyframes brand-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-brand__logo {
  width: 100%;
  height: auto;
  animation: brand-reveal .9s cubic-bezier(.22, .61, .36, 1) .15s both;
}

/* --------------------------------------------------------------------------
   4. Iconos sociales
   -------------------------------------------------------------------------- */
.social-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list__link {
  display: inline-flex;
  color: var(--color-cream);
  transition: opacity .2s ease;
}

.social-list__link:hover,
.social-list__link:focus-visible {
  color: var(--color-cream);
  opacity: .7;
}

/* El icono se pinta como máscara y toma el color de currentColor. La clase
   que elige cuál (.icon-youtube, .icon-facebook…) va en el <li>, y en
   WordPress sale del campo «Clases CSS» de cada elemento del menú. */
.social-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-youtube .social-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814ZM9.545 15.568V8.432L15.818 12l-6.273 3.568Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814ZM9.545 15.568V8.432L15.818 12l-6.273 3.568Z'/%3E%3C/svg%3E");
}

.icon-facebook .social-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073Z'/%3E%3C/svg%3E");
}

.icon-instagram .social-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0Zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03Zm0 3.678a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324ZM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm7.846-10.405a1.44 1.44 0 1 1-2.88 0 1.44 1.44 0 0 1 2.88 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0Zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03Zm0 3.678a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324ZM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm7.846-10.405a1.44 1.44 0 1 1-2.88 0 1.44 1.44 0 0 1 2.88 0Z'/%3E%3C/svg%3E");
}

.icon-spotify .social-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0Zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.66.301 1.02Zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2Zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0Zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.66.301 1.02Zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2Zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3Z'/%3E%3C/svg%3E");
}

.icon-apple-music .social-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 0h-11A6.5 6.5 0 0 0 0 6.5v11A6.5 6.5 0 0 0 6.5 24h11a6.5 6.5 0 0 0 6.5-6.5v-11A6.5 6.5 0 0 0 17.5 0Zm-.86 4.63c.4-.08.76.23.76.64v9.4a2.62 2.62 0 0 1-2.05 2.56l-.6.13c-1.13.24-2.05-.5-2.05-1.5 0-.84.6-1.56 1.5-1.76l.98-.21c.47-.1.79-.44.79-.9V8.5l-5.28 1.12v7.36a2.62 2.62 0 0 1-2.05 2.56l-.6.13c-1.13.24-2.05-.5-2.05-1.5 0-.84.6-1.56 1.5-1.76l.98-.21c.47-.1.79-.44.79-.9V7.42c0-.5.35-.94.85-1.05l6.53-1.74Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 0h-11A6.5 6.5 0 0 0 0 6.5v11A6.5 6.5 0 0 0 6.5 24h11a6.5 6.5 0 0 0 6.5-6.5v-11A6.5 6.5 0 0 0 17.5 0Zm-.86 4.63c.4-.08.76.23.76.64v9.4a2.62 2.62 0 0 1-2.05 2.56l-.6.13c-1.13.24-2.05-.5-2.05-1.5 0-.84.6-1.56 1.5-1.76l.98-.21c.47-.1.79-.44.79-.9V8.5l-5.28 1.12v7.36a2.62 2.62 0 0 1-2.05 2.56l-.6.13c-1.13.24-2.05-.5-2.05-1.5 0-.84.6-1.56 1.5-1.76l.98-.21c.47-.1.79-.44.79-.9V7.42c0-.5.35-.94.85-1.05l6.53-1.74Z'/%3E%3C/svg%3E");
}

.social-list--header {
  margin-left: auto;
}

.social-list--menu {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   5. Menú móvil (offcanvas)
   -------------------------------------------------------------------------- */
.mobile-menu {
  background-color: var(--color-red);
  color: var(--color-cream);
  max-width: 22rem;
}

/* Deja libre la esquina donde queda la X del toggle */
.mobile-menu .offcanvas-header {
  min-height: 101px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__link {
  display: block;
  width: fit-content;
  padding: 10px 0;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--color-cream);
  opacity: .7;
}

/* --------------------------------------------------------------------------
   6. Foto de portada
   -------------------------------------------------------------------------- */
.hero-photo {
  aspect-ratio: 440 / 310;
  overflow: hidden;
}

/* Acercamiento y alejamiento continuo, muy lento */
@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   7. Secciones
   -------------------------------------------------------------------------- */
.section__inner {
  position: relative;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: var(--section-padding) var(--gutter);
}

/* Filete separador entre secciones, alineado con la caja de contenido */
.section--divided .section__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--color-rule);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Pestañas Historia breve / Trayectoria: se ven como títulos de sección
   y la activa lleva el filete debajo */
.tab-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tab-nav__button {
  min-width: 165px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

.tab-nav__button + .tab-nav__button {
  margin-top: 16px;
}

.tab-nav__button.is-active {
  border-bottom-color: var(--color-rule);
}

.tab-nav__button:not(.is-active) {
  opacity: .45;
}

.tab-nav__button:not(.is-active):hover,
.tab-nav__button:not(.is-active):focus-visible {
  opacity: .75;
}

.section__body {
  margin-top: var(--stack-gap);
}

/* Bloques de texto corrido */
.prose {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
}

.prose p {
  margin: 0 0 1.35em;
}

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

/* --------------------------------------------------------------------------
   8. Carousel de fotos (tira a sangre)
   -------------------------------------------------------------------------- */
.photo-carousel {
  position: relative;
}

/* Sin scroll-snap: el desplazamiento automático avanza pixel a pixel
   y el snap lo devolvería al punto de anclaje en cada fotograma */
.photo-carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-carousel__track::-webkit-scrollbar {
  display: none;
}

.photo-carousel__item {
  flex: 0 0 68vw;
  aspect-ratio: 302 / 381;
}

.photo-carousel__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.photo-carousel__trigger:hover .photo-carousel__image,
.photo-carousel__trigger:focus-visible .photo-carousel__image {
  transform: scale(1.06);
}

.album-card__cover:hover .album-card__image {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   9. Flechas de carousel: fila alineada a la derecha bajo la tira
   -------------------------------------------------------------------------- */
.carousel-nav {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 16px var(--gutter) 0;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

/* Dentro de una columna que ya tiene su propio margen lateral */
.carousel-nav--flush {
  padding-inline: 0;
}

.carousel-nav__button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
}

.carousel-nav__button:hover,
.carousel-nav__button:focus-visible {
  opacity: .55;
}

.carousel-nav__button:disabled {
  opacity: .35;
  cursor: default;
}

.carousel-nav[hidden] {
  display: none;
}

.carousel-nav__icon {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   10. Modal de foto ampliada
   -------------------------------------------------------------------------- */
.photo-modal__dialog {
  max-width: min(900px, calc(100vw - 2rem));
}

.photo-modal__content {
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  overflow: hidden;
}

.photo-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  margin-inline: auto;
}

/* Círculo blanco con borde y aspa en color vino */
.photo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  background-color: #fff;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease;
}

.photo-modal__close:hover,
.photo-modal__close:focus-visible {
  background-color: var(--color-red);
  color: #fff;
}

.photo-modal__close-icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   11. Integrantes
   -------------------------------------------------------------------------- */
.members-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.members-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-rule);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
}

.members-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

/* El nombre no se parte: cuando falta espacio quien envuelve es el rol */
.members-list__name {
  flex: 1 0 auto;
}

.members-list__role {
  flex: 0 1 auto;
  text-align: right;
}

/* --------------------------------------------------------------------------
   12. Discografía
   -------------------------------------------------------------------------- */
.discography {
  position: relative;
}

/* En móvil la tira sangra hasta el borde para que asome la portada siguiente */
.discography__track {
  display: flex;
  gap: 20px;
  margin: 0 calc(var(--gutter) * -1) 0 0;
  padding: 0 var(--gutter) 0 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.discography__track::-webkit-scrollbar {
  display: none;
}

.album-card {
  flex: 0 0 100%;
  max-width: 338px;
  scroll-snap-align: start;
}

.album-card__cover {
  position: relative;
  aspect-ratio: 338 / 348;
  overflow: hidden;
}

.album-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.album-card__link {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  color: var(--color-cream);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .65));
  transition: opacity .2s ease;
}

.album-card__link:hover,
.album-card__link:focus-visible {
  color: var(--color-cream);
  opacity: .8;
}

.album-card__caption {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.album-card__title,
.album-card__year {
  display: block;
}

/* --------------------------------------------------------------------------
   13. Reconocimientos y colaboraciones
   -------------------------------------------------------------------------- */
.awards-list,
.collaborators {
  margin: 0;
  padding-left: 1.15em;
  list-style: disc outside;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
}

.awards-list__item + .awards-list__item {
  margin-top: 16px;
}

.collaborators__intro {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-red);
  color: var(--color-cream);
  font-family: var(--font-ui);
}

.site-footer__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 64px 30px;
  display: flex;
  flex-direction: column;
}

.site-footer__brand {
  width: 326px;
  max-width: 100%;
  margin-inline: auto;
}

.site-footer__logo {
  width: 100%;
  height: auto;
}

.footer-nav {
  margin-top: 64px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav__link,
.contact-block__link {
  color: var(--color-cream);
  text-decoration: none;
}

/* En bloque para que mande su interlineado y no el de la línea del <li> */
.footer-nav__link {
  display: block;
  width: fit-content;
}

.footer-nav__link:hover,
.footer-nav__link:focus-visible,
.contact-block__link:hover,
.contact-block__link:focus-visible {
  color: var(--color-cream);
  text-decoration: underline;
}

.footer-nav__link,
.contact-block__name,
.contact-block__line {
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -.4px;
}

.footer-contact {
  margin-top: 64px;
}

.contact-block__name,
.contact-block__line {
  margin: 0 0 8px;
}

.contact-block + .contact-block {
  margin-top: 36px;
}

.social-list--footer {
  margin-top: 64px;
}

/* --------------------------------------------------------------------------
   15. Tablet (>= 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .photo-carousel__item {
    flex-basis: 33.3333%;
  }

  /* A partir de aquí la discografía ya cabe en dos columnas */
  .discography__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .album-card {
    flex: initial;
    max-width: none;
  }

  .discography .carousel-nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   16. Desktop (>= 992px)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body {
    font-size: 1.25rem;
  }

  /* Header */
  .site-header__inner {
    padding: 40px var(--gutter) 65px;
  }

  .site-nav {
    width: 100%;
    padding-right: 240px;
  }

  .social-list--header {
    position: absolute;
    top: 43px;
    right: var(--gutter);
    margin-left: 0;
  }

  .site-header__inner {
    position: relative;
  }

  .site-brand {
    margin-top: 125px;
    width: 458px;
  }

  /* Foto de portada */
  .hero-photo {
    aspect-ratio: 1512 / 495;
  }

  /* Secciones a dos columnas; los separadores son solo de móvil */
  .section--divided .section__inner::before {
    content: none;
  }

  .section__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }

  .section__label {
    flex: 0 1 auto;
  }

  .tab-nav__button + .tab-nav__button {
    margin-top: 32px;
  }

  .section__body {
    flex: 0 0 auto;
    width: var(--body-column);
    max-width: 50%;
    margin-top: 0;
  }

  .prose {
    font-size: 1.25rem;
  }

  /* Carousel de fotos: 5 visibles a sangre */
  .photo-carousel__item {
    flex-basis: 20%;
  }

  /* Integrantes */
  .members-list__row {
    padding-bottom: 16px;
    margin-bottom: 16px;
    font-size: 1.25rem;
  }

  .awards-list,
  .collaborators,
  .collaborators__intro {
    font-size: 1.25rem;
  }

  /* Footer a tres columnas */
  .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    padding: 64px 0;
  }

  .site-footer__brand,
  .footer-nav,
  .footer-contact {
    flex: 1 1 33.333%;
    min-width: 0;
    margin-top: 0;
  }

  .site-footer__brand {
    width: auto;
    padding-left: 64px;
    padding-right: 47px;
    margin-inline: 0;
  }

  .footer-nav,
  .footer-contact {
    padding-left: 30px;
    padding-right: 30px;
  }

  .footer-nav__list {
    gap: 8px;
  }

  .social-list--footer {
    margin-top: 36px;
  }
}

/* --------------------------------------------------------------------------
   17. Accesibilidad
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .photo-carousel__track,
  .discography__track {
    scroll-behavior: auto;
  }

  .hero-photo__image,
  .site-brand__logo {
    animation: none;
  }
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
