/*
Theme Name: Lavable Records
Theme URI: https://www.lavablerecords.com
Author: Lavable Records
Author URI: https://www.lavablerecords.com
Description: Tema oficial de Lavable Records — "Music for Unquiet Minds". Identidad monocroma (negro/blanco) con acento digital, sistema gráfico abstracto animado (Ritmo · Aguja · Órbita) y generador de carátulas. Compatible con Elementor. Basado en el Manual de Marca v1.0.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavable-records
Tags: music, dark, one-column, full-width-template, custom-logo, custom-menu, elementor, featured-images, editor-style
*/

/* ==========================================================================
   Lavable Records — Design Tokens (Manual de Marca v1.0)
   ========================================================================== */
:root {
  /* Color — solo dos colores de marca + un acento digital (nunca en impreso) */
  --lv-black: #0A0A0A;   /* Negro Lavable  */
  --lv-white: #FAFAFA;   /* Blanco Lavable */
  --lv-accent: #9184D9;  /* Acento digital: SOLO estados interactivos / web */
  --lv-accent-ink: #6b5fc7;
  --lv-line: rgba(250, 250, 250, 0.14);
  --lv-line-dark: rgba(10, 10, 10, 0.12);
  --lv-muted: rgba(250, 250, 250, 0.55);
  --lv-muted-dark: rgba(10, 10, 10, 0.55);

  /* Tipografía — Helvetica Neue por pesos */
  --lv-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --lv-w-bold: 700;      /* Títulos, nombre del sello, portadas */
  --lv-w-medium: 500;    /* Subtítulos, nombres de artistas */
  --lv-w-regular: 400;   /* Cuerpo, créditos */
  --lv-tracking: 0.08em; /* CAPS TRACKING: etiquetas, catálogo, metadatos */

  /* Ritmo espacial */
  --lv-radius: 8px;
  --lv-radius-sm: 6px;
  --lv-gutter: clamp(20px, 5vw, 72px);
  --lv-maxw: 1240px;
  --lv-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset ligero
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lv-font);
  font-weight: var(--lv-w-regular);
  color: var(--lv-white);
  background: var(--lv-black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--lv-ease); }
a:hover { color: var(--lv-accent); }
h1, h2, h3, h4 { font-weight: var(--lv-w-bold); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: var(--lv-w-medium); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: var(--lv-w-medium); }
p { margin: 0 0 1.1em; }
.eyebrow, .lv-caps {
  font-size: .72rem; letter-spacing: var(--lv-tracking);
  text-transform: uppercase; font-weight: var(--lv-w-regular);
  color: var(--lv-muted);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.lv-container { width: 100%; max-width: var(--lv-maxw); margin-inline: auto; padding-inline: var(--lv-gutter); }
.lv-section { padding-block: clamp(64px, 12vw, 140px); position: relative; }
.lv-section--light { background: var(--lv-white); color: var(--lv-black); }
.lv-section--light .eyebrow { color: var(--lv-muted-dark); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lv-accent); color: var(--lv-black); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Buttons — bordes finos, monocromo, acento sólo en interacción
   ========================================================================== */
.lv-btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .85rem; font-weight: var(--lv-w-medium); letter-spacing: .02em;
  padding: .72em 1.5em; border-radius: var(--lv-radius-sm);
  border: 1px solid currentColor; color: inherit; cursor: pointer; background: transparent;
  transition: border-color .3s var(--lv-ease), color .3s var(--lv-ease), background .3s var(--lv-ease), transform .3s var(--lv-ease);
}
.lv-btn:hover { color: var(--lv-accent); border-color: var(--lv-accent); transform: translateY(-2px); }
.lv-btn--solid { background: var(--lv-white); color: var(--lv-black); border-color: var(--lv-white); }
.lv-btn--solid:hover { background: var(--lv-accent); border-color: var(--lv-accent); color: var(--lv-black); }
.lv-btn--ghost { opacity: .7; }

/* “Reproduciendo ahora” — único lugar donde vive el acento como estado */
.lv-nowplaying { display: inline-flex; align-items: center; gap: .5em; color: var(--lv-accent); font-size: .8rem; }
.lv-nowplaying::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lv-accent);
  box-shadow: 0 0 0 0 rgba(145,132,217,.6); animation: lv-pulse 1.8s var(--lv-ease) infinite;
}
@keyframes lv-pulse { 0%{box-shadow:0 0 0 0 rgba(145,132,217,.55)} 70%{box-shadow:0 0 0 9px rgba(145,132,217,0)} 100%{box-shadow:0 0 0 0 rgba(145,132,217,0)} }

/* WordPress base */
.wp-caption, .gallery-caption { color: var(--lv-muted); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.sticky, .bypostauthor { display: block; }
