/*
 * Poseidonea Records · tipografía candidata v4.
 * Cargar después de los estilos históricos; fuentes locales, sin @import remoto.
 * Barlow Condensed: Bold 700 / ExtraBold 800 (WOFF2 estáticos oficiales).
 * Inter: variable wght 100–900 y opsz 14–32 (WOFF2 oficial).
 * Origen CSS oficial:
 * https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:opsz,wght@14..32,100..900&display=swap
 * OFL 1.1, copias completas en assets/fonts/v4:
 * https://raw.githubusercontent.com/google/fonts/main/ofl/barlowcondensed/OFL.txt
 * https://raw.githubusercontent.com/google/fonts/main/ofl/inter/OFL.txt
 * URLs binarias, nombres internos, pesos, ejes y SHA-256: assets/fonts/v4/FUENTES.json.
 * Las fuentes se conservan sin convertir. QA visual pendiente del principal.
 */

/* Barlow Condensed · 700 · latin-ext
 * Fuente oficial: https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3jWuYMBYrp0xg.woff2 */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/v4/barlow-condensed-bold-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Barlow Condensed · 700 · latin
 * Fuente oficial: https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuYMBYro.woff2 */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/v4/barlow-condensed-bold-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow Condensed · 800 · latin-ext
 * Fuente oficial: https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3jWuYMBYrp0xg.woff2 */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/v4/barlow-condensed-extrabold-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Barlow Condensed · 800 · latin
 * Fuente oficial: https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuYMBYro.woff2 */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/v4/barlow-condensed-extrabold-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter · 100 900 · latin-ext
 * Fuente oficial: https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTcvsYwYZ8UA3J58.woff2 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/v4/inter-variable-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter · 100 900 · latin
 * Fuente oficial: https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTcviYwYZ8UA3.woff2 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/v4/inter-variable-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-ui-v4: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display-v4: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
}

body,
body.immersive {
  font-family: var(--font-ui-v4);
  font-optical-sizing: auto;
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font-family: var(--font-ui-v4);
  font-optical-sizing: auto;
}

/* Barlow queda limitado a titulares y grandes bloques de contenido. */
.ocean h1,
.immersive h1 {
  font-family: var(--font-display-v4);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.02;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.ocean h1 {
  font-size: clamp(3.5rem, 7.6vw, 7.25rem);
}

.immersive .page-title {
  font-size: clamp(2.8rem, 5.8vw, 6.25rem);
}

.immersive .artist-page h1,
.immersive .release-page h1 {
  font-size: clamp(2.75rem, 4.9vw, 5rem);
}

.ocean h2,
.immersive h2 {
  font-family: var(--font-display-v4);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.ocean h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.5rem);
}

.ocean .label h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.immersive .text-page h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
}

.immersive .text-page h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.25rem);
  line-height: 1.12;
}

/* Tarjetas, rótulos, navegación y controles conservan una anchura de lectura normal. */
.ocean h3,
.immersive h3,
.immersive .record h3,
.immersive .artist h3 {
  font-family: var(--font-ui-v4);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.24;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ocean .feature-cover strong {
  font-family: var(--font-ui-v4);
  font-weight: 700;
  letter-spacing: -.012em;
}

.ocean .hero-copy,
.immersive .artist-page > div,
.immersive .release-page > div {
  min-inline-size: 0;
}

/* El nombre aislado de Gonzalo conserva su única línea; no se toca el lockup SVG. */
.immersive .artist-page h1.gc-name {
  font-family: var(--font-ui-v4);
  font-size: clamp(1.45rem, 3.7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .ocean h1 {
    font-size: clamp(2.8rem, 11.4vw, 3.8rem);
  }

  .ocean h2 {
    font-size: clamp(2.125rem, 8.6vw, 3rem);
  }
}

@media (max-width: 650px) {
  .immersive .page-title,
  .immersive .contact .page-title {
    font-size: clamp(2.4rem, 10.5vw, 3.4rem);
  }

  .immersive .artist-page h1,
  .immersive .release-page h1 {
    font-size: clamp(2.2rem, 9.4vw, 3.1rem);
  }

  .immersive .artist-page h1.gc-name {
    font-size: clamp(1.3rem, 6.4vw, 2.5rem);
  }

  .immersive .text-page h1 {
    font-size: clamp(2.1rem, 9.2vw, 2.7rem);
  }

  .immersive .text-page h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
}

/* No se añaden transiciones, animaciones ni desplazamientos a esta capa tipográfica.
 * Las reglas existentes de prefers-reduced-motion y los indicadores de foco se conservan. */
