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

:root {
  --cyan:    #00d4ff;
  --magenta: #d63aff;
  --violet:  #7b3fff;
  --dark:    #06040f;
  --dark2:   #0c0820;
  --dark3:   #130d2b;
  --offwhite:#e8e4f8;
  --muted:   #6a5f8b;
  --accent:  #00d4ff;
  --font-display: 'Bebas Neue', sans-serif;
  /* Titulares / hero: Montserrat medium + tracking moderado (el logo va bold ~200 en marca) */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Space Mono', monospace;
  --shell-max: 1440px; /* ancho máximo para evitar ultra-wide “aireado” */
}

html, body {
  height: 100%;
  background: var(--dark);
  color: var(--offwhite);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100%;
}

/* Defensa anti-overflow: si una palabra/URL es más ancha que su contenedor,
   que rompa en cualquier punto antes de empujar el layout hacia la derecha */
.descriptor,
.newsletter-copy,
.contact-line,
.about-page-body,
.headline-seo,
.release-blurb,
.footer-copy {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Imágenes/SVG/iframes nunca exceden su contenedor */
img, svg, video, iframe { max-width: 100%; }

/* GRAIN */
body::before {
  content: '';
  position: fixed;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

/* AMBIENT GLOW BG */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(214,58,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0,212,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(123,63,255,0.10) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* WAVE BG */
.wave-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 260px;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* Language switch (ES | EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(232, 224, 248, 0.78);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 10px;
  min-height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.lang-switch button > * { pointer-events: none; }
.lang-switch .sep {
  color: rgba(232, 224, 248, 0.35);
  letter-spacing: 0.12em;
  pointer-events: none;
  user-select: none;
}
.lang-switch button[aria-pressed="true"] {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.32) inset;
  background: rgba(0, 212, 255, 0.06);
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page {
  /* En PC: 3 filas que ocupan exactamente la ventana → header arriba,
     contenido al medio y footer al pie. Sin scroll de página.
     El scroll vive solo dentro del iframe Ditto. */
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  position: relative;
  z-index: 1;
  width: 100%;
  gap: 0;
}
@media (min-width: 920px) {
  html, body { overflow: hidden; }
  .page {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }
  .main-with-sidebar { overflow: hidden; min-height: 0; }
  /* main NO debe tener overflow hidden: recortaba el borde animado de la foto
     (que vive en ::after con inset: -2px, justo en el borde izquierdo) */
  main { min-height: 0; }
}

/* ─── HEADER (ancho pantalla; 3 columnas: marca | nav centrado | idioma) ─── */
.site-header {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.site-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

.header-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--offwhite);
  text-shadow: 0 0 28px rgba(0,212,255,0.22);
  white-space: nowrap;
}

.logo-svg {
  display: block;
  /* Logo horizontal (aspect ~7.22:1): bajamos altura para ancho similar/leve más largo */
  height: clamp(24px, 2.7vw, 42px);
  width: auto;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.22))
    drop-shadow(0 0 22px rgba(0, 212, 255, 0.14));
  animation: logoHeartbeat 3.8s ease-in-out infinite;
  will-change: filter;
}

/* Latido sutil del logo (lub-dub y descanso) */
@keyframes logoHeartbeat {
  0% {
    filter:
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 22px rgba(0, 212, 255, 0.14));
  }
  10% {
    filter:
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.5))
      drop-shadow(0 0 36px rgba(0, 212, 255, 0.32));
  }
  22% {
    filter:
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.28))
      drop-shadow(0 0 26px rgba(0, 212, 255, 0.18));
  }
  32% {
    filter:
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.42))
      drop-shadow(0 0 32px rgba(0, 212, 255, 0.26));
  }
  42% {
    filter:
      drop-shadow(0 0 9px rgba(255, 255, 255, 0.24))
      drop-shadow(0 0 24px rgba(0, 212, 255, 0.15));
  }
  100% {
    filter:
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 22px rgba(0, 212, 255, 0.14));
  }
}

/* Respeta a quien tiene reduced motion: deja el glow estático */
@media (prefers-reduced-motion: reduce) {
  .logo-svg { animation: none; }
}

.header-actions {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .lang-switch {
  margin-left: 0;
}

.logo-lockup[data-nav],
.header-brand.logo-lockup[data-nav] {
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
/* El SVG y demás hijos del logo no roban el click — todo el lockup es clickeable */
.logo-lockup[data-nav] > *,
.logo-lockup[data-nav] svg,
.logo-lockup[data-nav] svg * {
  pointer-events: none;
}
.logo-lockup[data-nav]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
  border-radius: 4px;
}
.logo-lockup.is-active .logo-name {
  text-shadow: 0 0 28px rgba(0, 212, 255, 0.35);
}

.logo-lockup.is-active .logo-svg,
.header-brand.logo-lockup.is-active .logo-svg {
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.35));
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav--desktop {
  flex-wrap: nowrap;
  flex: none;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
  min-width: 0;
}
.site-nav-btn {
  appearance: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 224, 248, 0.82);
  padding: 10px 14px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(106, 95, 139, 0.65);
  background: rgba(6, 4, 15, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
/* Cualquier hijo del botón (texto, span, svg) no debe robar el evento al botón */
.site-nav-btn > * { pointer-events: none; }
.site-nav-btn:hover {
  border-color: rgba(0, 212, 255, 0.35);
  color: #fff;
}
.site-nav-btn.is-active {
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--cyan);
}

/* CTA Subscribe — botón pintado con jerarquía */
.site-nav-btn--cta {
  color: #ffffff;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.45) 0%,
    rgba(214, 58, 255, 0.55) 30%,
    rgba(214, 58, 255, 0.55) 100%);
  border-color: transparent;
  font-weight: 700;
  letter-spacing: 0.2em;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.18), 0 0 36px rgba(214, 58, 255, 0.12);
}
.site-nav-btn--cta:hover {
  color: #ffffff;
  filter: brightness(1.08);
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.32), 0 0 44px rgba(214, 58, 255, 0.22);
}
.site-nav-btn--cta.is-active {
  color: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Hamburger toggle (visible solo en móvil) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(106, 95, 139, 0.65);
  background: rgba(6, 4, 15, 0.45);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle > * { pointer-events: none; }
.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Drawer del menú móvil (queda en una "barra aparte") */
.site-nav--mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  background: rgba(6, 4, 15, 0.55);
  backdrop-filter: blur(8px);
}
.site-nav--mobile .site-nav-btn {
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
}

.main-views {
  width: 100%;
}
.view-panel {
  padding: 12px 0 56px;
  max-width: min(560px, 100%);
}
.view-bio .view-panel {
  max-width: min(88ch, 100%);
}

/* ─── BIO CAROUSEL (track horizontal con scroll) ── */
.bio-carousel {
  --bio-slide-size: 160px;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.bio-carousel[hidden] { display: none; }

.bio-carousel-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.bio-carousel-track {
  list-style: none;
  margin: 0;
  padding: 0 4px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bio-carousel-track::-webkit-scrollbar { display: none; }

.bio-carousel-track li {
  position: relative;
  flex: 0 0 auto;
  width: var(--bio-slide-size);
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(6, 4, 15, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  list-style: none;
}
.bio-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.bio-carousel-track li:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Caption por foto, visible solo en hover (desktop) */
.bio-slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 8px 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.bio-slide-caption:empty { display: none; }
@media (hover: hover) {
  .bio-carousel-track li:hover .bio-slide-caption,
  .bio-carousel-track li:focus-within .bio-slide-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.bio-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(6, 4, 15, 0.6);
  color: var(--offwhite);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  z-index: 2;
  padding: 0;
}
.bio-carousel-nav[hidden] { display: none; }
.bio-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.bio-carousel-nav:not(:disabled):hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.bio-carousel-nav:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.bio-carousel-prev { left: -10px; }
.bio-carousel-next { right: -10px; }

.bio-carousel-dots { display: none; }

@media (max-width: 639px) {
  .bio-carousel { --bio-slide-size: 140px; }
}

/* ─── LIGHTBOX ───────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 4, 15, 0.88);
  backdrop-filter: blur(8px);
  animation: lightboxFade 200ms ease both;
}
.lightbox[hidden] { display: none; }
@keyframes lightboxFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.lightbox-img {
  pointer-events: auto;
  display: block;
  max-width: 96vw;
  max-height: calc(92vh - 70px);
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  background: rgba(6, 4, 15, 0.6);
  cursor: zoom-out;
}
.lightbox-caption {
  pointer-events: auto;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(232, 224, 248, 0.92);
  text-align: center;
  max-width: 80ch;
  line-height: 1.5;
  padding: 0 12px;
  min-height: 0;
}
.lightbox-caption:empty { display: none; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(6, 4, 15, 0.6);
  color: var(--offwhite);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  z-index: 1;
}
.lightbox-close:hover,
.lightbox-nav:not(:disabled):hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.lightbox-close {
  top: 18px;
  right: 18px;
  transform: none;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-nav:disabled { opacity: 0.35; cursor: default; }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 20px; }
}

body.lightbox-open {
  overflow: hidden;
}
.view-contact .view-panel {
  max-width: 100%;
}

/* ─── VISTA RELEASES (la sidebar pasa a ser el contenido principal) ─── */
.view-releases .view-panel {
  max-width: 100%;
  padding: 12px 0 6px;
  text-align: center;
}
.view-releases .view-panel-title {
  margin-bottom: 0;
}

@media (min-width: 920px) {
  body.is-view-releases .main-with-sidebar {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 6px 0;
  }
  body.is-view-releases main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 0;
  }
  body.is-view-releases .release-sidebar {
    grid-column: 1 / -1;
    padding-top: 0;
    align-self: stretch;
    min-height: 0;
    justify-content: center;
  }
  body.is-view-releases .release-sidebar-inner {
    max-width: min(820px, 100%);
    margin: 0 auto;
    max-height: 100%;
    height: 100%;
  }
}

@media (max-width: 919px) {
  body.is-view-releases .release-sidebar-inner {
    margin: 0 auto;
    max-width: min(820px, 100%);
  }
}
.view-contact-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.view-contact-panel > .view-panel-title {
  margin-bottom: 28px;
}
.view-contact-panel > .links-section {
  margin-top: 0;
  padding: 18px 20px 20px;
  border-radius: 14px;
  background: rgba(28, 26, 40, 0.88);
  border: 1px solid rgba(106, 95, 139, 0.45);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}
.view-contact-panel > .links-section + .links-section {
  margin-top: 20px;
}
.view-contact-panel .links-label {
  margin-bottom: 14px;
  color: rgba(232, 224, 248, 0.95);
}
.view-contact-panel .newsletter--contact {
  margin-bottom: 8px;
}
.view-panel-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(26px, 4.5vw, 42px);
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--magenta);
  text-shadow:
    0 0 18px rgba(214, 58, 255, 0.55),
    0 0 36px rgba(214, 58, 255, 0.3),
    0 0 60px rgba(214, 58, 255, 0.15);
  margin: 0 0 22px;
  text-transform: uppercase;
}
.about-page-body.descriptor p {
  margin: 0 0 14px;
}
.about-page-body.descriptor p:last-child {
  margin-bottom: 0;
}

/* ─── MAIN + SIDEBAR (releases debajo del header, en columnas) ─── */
.main-with-sidebar {
  flex: 1; /* empuja el footer al pie de la ventana */
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(420px, 34vw);
  gap: 18px 32px;
  align-items: stretch; /* sidebar comparte alto con la columna del main */
  min-height: 0;
}


main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  min-width: 0;
  min-height: 0;
}

@media (max-width: 919px) {
  .main-with-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.photo-section {
  display: block;
  padding-top: clamp(10px, 1.8vh, 20px);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
}

/* Pantallas “casi cuadradas”: evitar solapes y acercar el bloque al header */
@media (min-width: 701px) and (max-aspect-ratio: 5/4) {
  .site-header { padding-top: 20px; }
  .page { gap: 24px; }
  main { justify-content: flex-start; padding-top: 18px; }
  .photo-section { padding-top: 10px; }
}

/* ─── HEADLINE ROW: horizontal [foto | titular | bio]; vertical [foto | titular] y bio 100% abajo ─── */
.headline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3.5vw, 40px);
}
.headline-row .headline {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
.headline-seo {
  margin: 0;
  box-sizing: border-box;
}
.headline-seo.descriptor {
  padding: 12px 16px;
  font-size: clamp(11px, 1.15vw, 13px);
  letter-spacing: 0.08em;
  line-height: 1.65;
}

/*
 * Hero apilado: retrato, cuadrado, 4:3 y similar hasta < 3:2.
 * El layout en fila va después y solo aplica en viewports claramente apaisados (≥ 3:2).
 */
@media (max-aspect-ratio: 3/2) {
  .headline-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(14px, 3vw, 22px);
  }
  .headline-row .photo-frame {
    flex: 0 0 auto;
    align-self: flex-start;
  }
  .headline-row .headline {
    flex: 1 1 0;
    min-width: 0;
    align-self: center;
    text-align: left;
  }
  .headline-seo {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
    align-self: stretch;
    text-align: left;
  }
}

/* Horizontal: una sola fila — típico 16:9, 16:10, móvil apaisado ancho… */
@media (min-aspect-ratio: 3/2) {
  .headline-row {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(18px, 3vw, 44px);
  }
  .headline-row .photo-frame {
    align-self: center;
  }
  .headline-row .headline {
    flex: 0 1 auto;
    align-self: center;
  }
  .headline-seo {
    flex: 1 1 0;
    min-width: min(22ch, 26vw);
    max-width: min(52ch, 38vw);
    align-self: stretch;
  }
  .headline-seo.descriptor {
    padding: 14px 18px;
    font-size: clamp(12px, 1.15vw, 14px);
    letter-spacing: 0.055em;
    line-height: 1.72;
  }
}

.headline-row .photo-frame {
  flex: 0 0 auto;
  width: clamp(120px, 14vw, 180px);
  height: clamp(120px, 14vw, 180px);
  max-width: none;
}
.headline-row .photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-position: center;
}

/* ─── PHOTO ──────────────────────────────── */
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Glow halo behind photo */
.photo-frame::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center,
    rgba(214,58,255,0.35) 0%,
    rgba(0,212,255,0.2) 40%,
    transparent 70%);
  z-index: 0;
  filter: blur(20px);
}

.photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

/* Animated gradient border */
.photo-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  padding: 1px; /* borde fino */
  background: linear-gradient(90deg,
    rgba(0,212,255,0.95),
    rgba(214,58,255,0.95),
    rgba(123,63,255,0.95),
    rgba(0,212,255,0.95)
  );
  background-size: 300% 300%;
  animation: borderShift 12s ease-in-out infinite;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  z-index: 2;
  pointer-events: none;

  /* recorta el centro para que solo quede el borde */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes borderShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Corner marks */
.corner-tl, .corner-br {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 3;
}
.corner-tl {
  top: -10px; left: -10px;
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--cyan);
  opacity: 0.7;
}
.corner-br {
  bottom: -10px; right: -10px;
  border-right: 1px solid var(--magenta);
  border-bottom: 1px solid var(--magenta);
  opacity: 0.7;
}

/* ─── TEXT SIDE ──────────────────────────── */
.text-side {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 22px);
}

/* Recuadro contenedor de los botones LISTEN en home */
.hero-listen-card {
  width: 100%;
  background: rgba(14, 14, 24, 0.55);
  border: 0;
  box-shadow: none;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-listen-card .hero-listen-bar {
  width: auto;
  margin: 0;
  justify-content: center;
}

/* ─── ANIMATED HEADLINE ──────────────────── */
.headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--offwhite);
  text-transform: uppercase;
}

/* The cycling word container */
.cycling-word {
  display: inline-block;
  color: var(--magenta);
  font-style: normal;
  text-shadow: 0 0 30px rgba(214,58,255,0.5);
  position: relative;
  vertical-align: bottom;
}

.cycling-word .word {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 650ms ease, filter 650ms ease;
}

.cycling-word .word-placeholder {
  visibility: hidden;
  display: inline-block;
}

.cycling-word .word.is-active {
  opacity: 1;
  filter: blur(0px);
}

.hero-listen-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 8px;
}
.hero-listen-icons.icon-row {
  gap: 10px;
}
.hero-listen-icons .icon-pill.beatport .icon-glyph {
  width: 22px;
  height: 22px;
}

.hero-spotify-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 185, 84, 0.55);
  background: rgba(29, 185, 84, 0.08);
  color: rgba(232, 224, 248, 0.95);
  font-family: var(--font-body);
  font-size: clamp(10px, 1.05vw, 12px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.hero-spotify-link:hover {
  border-color: #1ed760;
  color: #fff;
  box-shadow: 0 0 18px rgba(29, 185, 84, 0.25);
}
.hero-spotify-glyph {
  width: 18px;
  height: 18px;
}

/* ─── DESCRIPTOR ─────────────────────────── */
/* Sin max-width global: antes .descriptor { max-width: 320px } pisaba .headline-seo y dejaba todo en columna estrecha. */
.descriptor {
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.10em;
  color: rgba(232, 224, 248, 0.88);
  line-height: 1.9;
  background: rgba(14, 14, 24, 0.55);
  border: 1px solid rgba(201, 169, 110, 0.22);
  box-shadow: 0 0 0 1px rgba(6, 4, 15, 0.35) inset;
  padding: 14px 18px;
  border-radius: 10px;
}
.about-page-body.descriptor {
  max-width: 100%;
}

/* Bio: más legible que la monospace */
.view-bio .about-page-body.descriptor {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.85;
  font-size: clamp(13px, 1.25vw, 16px);
}
.view-bio .about-page-body.descriptor p {
  margin: 0 0 16px;
}
.view-bio .about-page-body.descriptor p:last-child {
  margin-bottom: 0;
}

/* Logo decorativo al final de la Bio */
.bio-logo {
  margin: 28px auto 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bio-logo img {
  display: block;
  width: 100%;
  max-width: clamp(200px, 36vw, 360px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 6px 24px rgba(0, 212, 255, 0.18))
          drop-shadow(0 6px 24px rgba(214, 58, 255, 0.14));
}
@media (max-width: 700px) {
  .bio-logo {
    margin-top: 22px;
  }
  .bio-logo img {
    max-width: clamp(180px, 70vw, 280px);
  }
}

.release-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.14em;
  color: rgba(232, 224, 248, 0.75);
  text-transform: uppercase;
  margin-bottom: -10px;
}
.release-blurb.is-typing::after {
  content: '▋';
  display: inline-block;
  margin-left: 2px;
  color: var(--cyan);
  animation: release-type-cursor 0.85s step-end infinite;
  vertical-align: baseline;
}
@keyframes release-type-cursor {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .release-blurb.is-typing::after {
    animation: none;
    opacity: 0;
  }
}

/* ─── DITTO / RELEASE SIDEBAR ────────────── */
.release-sidebar {
  align-self: stretch; /* mismo alto que la columna de main: nunca crece más */
  width: 100%;
  min-width: 0;
  display: flex;
  /* Alinea con la barra "Listen on Spotify" (= padding-top del .photo-section) */
  padding-top: clamp(10px, 1.8vh, 20px);
  padding-bottom: 6px;
  min-height: 0;
}
.release-sidebar-inner {
  background: rgba(14, 14, 24, 0.72);
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  border-radius: 14px;
  padding: 14px 14px 16px;
  backdrop-filter: blur(10px);
  width: 100%;
  height: 100%;
  /* Tope de altura para que el panel de releases no empuje al footer
     fuera de la vista en monitores estándar; el scroll lo absorbe el iframe. */
  max-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-height: 0;
}
.release-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.release-tab {
  appearance: none;
  border: 1px solid rgba(106, 95, 139, 0.75);
  background: rgba(6, 4, 15, 0.35);
  color: rgba(232, 224, 248, 0.85);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.release-tab[aria-selected="true"] {
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.18) inset;
  background: rgba(0,212,255,0.08);
  color: #fff;
}
.release-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Íconos extra opcionales (cuando el JSON trae `links`) */
.release-extras {
  margin-top: -2px;
}
.release-extras[hidden] {
  display: none;
}
.release-alt-links {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.release-alt-links.is-visible { display: flex; }
.release-alt-links .links-label {
  margin-top: 4px;
}
.release-alt-links {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 212, 255, 0.14);
}
.release-alt-links .links-row {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border: 1px solid rgba(106, 95, 139, 0.65);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(6, 4, 15, 0.25);
}
.release-alt-links .link-pill {
  flex: 1 1 50%;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 12px 10px;
}
.release-alt-links .link-pill + .link-pill {
  border-left: 1px solid rgba(106, 95, 139, 0.65);
}
.release-alt-links .links-row.has-soundcloud-only .release-alt-soundcloud {
  flex: 1 1 100%;
  border-left: 0;
}
.release-sidebar .release-label { margin-bottom: 10px; }

.release-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 4.2em;
}
.release-blurb {
  margin: 0;
  font-size: clamp(12px, 1.2vw, 13px);
  letter-spacing: 0.07em;
  line-height: 1.58;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
}

.release-embed {
  width: 100%;
  flex: 1 1 auto;
  /* Sin min-height grande para que la sidebar no crezca de más; el scroll del iframe se maneja dentro */
  min-height: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(6, 4, 15, 0.8);
}

/* ─── LINKS ──────────────────────────────── */
.links-section { display: flex; flex-direction: column; gap: 12px; }
.links-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.12em;
  color: rgba(232, 224, 248, 0.80);
  text-transform: uppercase;
  margin-bottom: 2px;
}
/* En la home destacamos NEWSLETTER en cyan */
.view-home .newsletter .links-label {
  color: var(--cyan);
  opacity: 0.9;
}
.links-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Highlight inline (palabras destacadas en el blurb del hero) */
.hl {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.icon-pill {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(106, 95, 139, 0.75);
  background: rgba(6, 4, 15, 0.28);
  color: rgba(232, 224, 248, 0.92);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  --pill-accent: var(--magenta);
}
.icon-pill:hover {
  border-color: var(--pill-accent);
  color: var(--pill-accent);
  background: color-mix(in srgb, var(--pill-accent) 11%, rgba(6, 4, 15, 0.28));
  box-shadow: 0 0 12px color-mix(in srgb, var(--pill-accent) 26%, transparent);
}
.icon-pill:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.icon-glyph {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-pill.spotify { --pill-accent: #1DB954; }
.icon-pill.soundcloud { --pill-accent: #ff5500; }
.icon-pill.youtube,
.icon-pill.youtu { --pill-accent: #ff0033; }
.icon-pill.youtube-music { --pill-accent: #ff0033; }
.icon-pill.apple-music { --pill-accent: #ff2d55; }
.icon-pill.beatport { --pill-accent: #01ff95; }
.icon-pill.beatport .icon-glyph {
  width: 26px;
  height: 26px;
}
.icon-pill.instagram { --pill-accent: #E1306C; }
.icon-pill.tiktok { --pill-accent: #25F4EE; }
.icon-pill.facebook { --pill-accent: #1877F2; }

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--muted);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.10em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border-radius: 2px;
  --pill-accent: var(--magenta);
}
.link-pill:hover {
  border-color: var(--pill-accent);
  color: var(--pill-accent);
  background: color-mix(in srgb, var(--pill-accent) 11%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--pill-accent) 26%, transparent);
}
.link-pill:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.link-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Platform glows (based on href) */
.link-pill[href*="spotify.com"] { --pill-accent: #1DB954; }
.link-pill[href*="soundcloud.com"] { --pill-accent: #ff5500; }
.link-pill[href*="youtube.com"],
.link-pill[href*="youtu.be"] { --pill-accent: #ff0033; }
.link-pill[href*="music.apple.com"] { --pill-accent: #ff2d55; }
.link-pill[href*="beatport.com"] { --pill-accent: #01ff95; }
.link-pill[href*="instagram.com"] { --pill-accent: #E1306C; }
.link-pill[href*="tiktok.com"] { --pill-accent: #25F4EE; }
.link-pill[href*="facebook.com"] { --pill-accent: #1877F2; }

.contact-line {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.14em;
  color: rgba(232, 224, 248, 0.78);
}
.contact-line a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-line a:hover { color: #fff; }

/* ─── NEWSLETTER ─────────────────────────── */
.newsletter {
  margin-top: 6px;
}
.newsletter-copy {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.06em;
  color: rgba(232, 224, 248, 0.78);
  line-height: 1.45;
  max-width: none;
}
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 520px;
}
.newsletter-form .newsletter-status {
  grid-column: 1 / -1;
}
.newsletter-form input[type="email"] {
  width: 100%;
  min-width: 180px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(106, 95, 139, 0.75);
  background: rgba(6, 4, 15, 0.35);
  color: rgba(232, 224, 248, 0.95);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.10em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(232, 224, 248, 0.45);
}
.newsletter-form input[type="email"]:focus {
  border-color: rgba(0, 212, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
  background: rgba(6, 4, 15, 0.42);
}
.newsletter-btn {
  appearance: none;
  border: 1px solid rgba(0,212,255,0.55);
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(214,58,255,0.12));
  color: rgba(232, 224, 248, 0.95);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 12px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.newsletter-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0,212,255,0.22), 0 0 30px rgba(214,58,255,0.12);
  color: #fff;
}
.newsletter-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.newsletter-status {
  margin-top: 8px;
  min-height: 18px;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: rgba(232, 224, 248, 0.78);
}
.newsletter-status.is-ok { color: rgba(0, 212, 255, 0.9); }
.newsletter-status.is-warn { color: rgba(255, 215, 120, 0.95); }
.newsletter-status.is-err { color: rgba(255, 90, 125, 0.95); }

/* ─── FOOTER ─────────────────────────────── */
footer {
  width: 100%;
  max-width: var(--shell-max);
  margin: 14px auto 0;
  box-sizing: border-box;
  padding: 14px clamp(20px, 4vw, 48px) 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}
footer .footer-copy { flex: 1 1 auto; min-width: 200px; order: 1; }
footer .footer-social {
  order: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
footer .footer-social-link.icon-pill {
  width: 38px;
  height: 38px;
}
footer .footer-social-link .icon-glyph {
  width: 17px;
  height: 17px;
}
footer .footer-social-mail {
  --pill-accent: var(--cyan);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-mail-glyph {
  line-height: 1;
  opacity: 0.9;
}
footer .footer-wave {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: block;
  margin-left: auto;
  order: 3;
  height: 28px;
  width: auto;
  /* el GIF ya viene con fondo transparente y color, lo dejamos al 100% */
  opacity: 1;
}

/* Desktop: footer en flujo normal, ancho del contenedor */
@media (min-width: 920px) {
  footer {
    flex-wrap: nowrap;
    padding-top: 12px;
    padding-bottom: 14px;
    border-top: 1px solid rgba(0, 212, 255, 0.10);
  }
}

/* Misma banda que el hero apilado: poca anchura útil bajo la sidebar → footer centrado, iconos en una fila */
@media (min-width: 920px) and (max-aspect-ratio: 3/2) {
  footer {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 20px;
  }
  footer .footer-copy {
    flex: 1 1 100%;
    min-width: 0;
    text-align: center;
    order: 1;
  }
  footer .footer-social {
    order: 2;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
  }
  footer .footer-wave {
    order: 3;
    margin-left: 0;
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
  }
}

.footer-copy {
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── EQ BARS ────────────────────────────── */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  pointer-events: none;
  user-select: none;
}
.eq-bar {
  width: 3px;
  border-radius: 1px;
  animation: eq var(--d,0.8s) ease-in-out infinite alternate;
  pointer-events: none;
}
.eq-bar:nth-child(odd)  { background: var(--cyan); opacity: 0.7; }
.eq-bar:nth-child(even) { background: var(--magenta); opacity: 0.6; }
@keyframes eq {
  from { height: 4px; }
  to   { height: var(--h, 18px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1199px) {
  .site-header-row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
  }
  .header-brand {
    grid-column: 1;
  }
  .header-actions {
    grid-column: 2;
  }
  .site-nav--desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav--mobile.is-open { display: flex; }
}

/* Compactar un poco el nav desktop para que los 4 botones entren en una sola línea */
@media (min-width: 1200px) {
  .site-nav--desktop { gap: 6px; }
  .site-nav--desktop .site-nav-btn {
    padding: 8px 12px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    min-height: 34px;
  }
  .site-header-row { gap: 14px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 700px) {
  .site-header { padding: 16px 0 12px; gap: 8px; }
  .main-with-sidebar { padding: 0 16px; }
  footer { padding: 20px 16px 28px; flex-direction: column; gap: 12px; align-items: flex-start; }
  footer .footer-wave { margin-left: 0; align-self: flex-start; }
  .photo-section { padding-top: 16px; }
  .logo-svg { height: clamp(20px, 5.5vw, 30px); }
  .logo-name { font-size: clamp(26px, 7.5vw, 36px); letter-spacing: 0.05em; }
  .site-header-row { gap: 8px; padding: 0 16px; }
  /* En móvil escondemos el ecualizador para que el header entre cómodo */
  .header-actions .eq-bars { display: none; }
  .header-actions { gap: 6px; }
  .lang-switch { margin-left: 0; gap: 4px; }
  .lang-switch button {
    padding: 4px 5px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }
  .lang-switch .sep { font-size: 10.5px; }
  .nav-toggle { width: 36px; height: 36px; }
  .headline-row {
    gap: 18px;
  }
  .headline-row .headline {
    min-width: 0;
  }
  .text-side { padding-left: 0; }
  .release-sidebar {
    position: static;
    width: 100%;
    margin: 20px 0 0;
  }
  .release-sidebar-inner {
    height: auto;
  }
  .release-embed {
    flex: none;
    height: 65vh;
    min-height: 400px;
  }
  .links-row { gap: 8px; }
  .link-pill { padding: 9px 13px; }
  .newsletter-form {
    grid-template-columns: 1fr;
  }
  .newsletter-form input[type="email"] {
    min-width: 0;
  }
  .newsletter-btn {
    justify-self: start;
  }
}

/* Pantallas muy chicas (≤ 380px tipo iPhone SE / 9:18 ajustado): apretamos un poco más */
@media (max-width: 380px) {
  .site-header-row { padding: 0 12px; gap: 6px; }
  .main-with-sidebar { padding: 0 12px; }
  .logo-svg { height: clamp(18px, 5vw, 24px); }
  .lang-switch { gap: 3px; }
  .lang-switch button { padding: 3px 4px; font-size: 10px; letter-spacing: 0.1em; }
  .lang-switch .sep { font-size: 10px; }
  .nav-toggle { width: 34px; height: 34px; }
}

@media (min-width: 701px) and (max-width: 919px) {
  .site-header { padding: 24px 0 12px; }
  .main-with-sidebar { padding: 0 32px; }
  .release-sidebar {
    position: static;
    width: 100%;
    margin: 20px 0 0;
  }
  .release-sidebar-inner { height: auto; }
  .release-embed {
    flex: none;
    height: 60vh;
    min-height: 380px;
  }
}
