/* ==========================================================================
   VDN Brands — base.css
   Variables de diseño, reset, tipografía y utilidades de estructura.
   Cambia aquí los colores y fuentes para actualizar todo el sitio.
   ========================================================================== */

:root {
  /* ---- Color ---- */
  --ink: #0B0B0C;          /* fondo principal */
  --ink-2: #111113;        /* tarjetas */
  --ink-3: #151517;        /* paneles */
  --ink-4: #1A1A1D;        /* etiquetas */
  --ink-5: #232327;
  --paper: #F5F3EE;        /* texto principal / secciones claras */
  --paper-2: #EDEBE5;
  --white: #FFFFFF;
  --text-2: #C9C7C1;       /* texto secundario */
  --muted: #A09E98;        /* texto apagado */
  --muted-2: #7E7C77;
  --muted-on-light: #45443F;
  --line: rgba(245, 243, 238, 0.12);
  --line-strong: rgba(245, 243, 238, 0.22);
  --line-on-light: rgba(11, 11, 12, 0.14);
  --accent: #D4FF3F;       /* lima VDN */
  --accent-soft: rgba(212, 255, 63, 0.22);

  /* ---- Tipografía ---- */
  --font-sans: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Estructura ---- */
  --max-width: 1560px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 9vw, 140px);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: clamp(28px, 3vw, 44px);
  --radius-pill: 999px;

  /* ---- Movimiento ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p, figure, blockquote, fieldset {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Accesibilidad ---- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

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

.section {
  padding-block: var(--section-y);
}

.section--flush-top {
  padding-top: 0;
}

.section--bordered {
  border-top: 1px solid var(--line);
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--split-min, 440px), 100%), 1fr));
  gap: clamp(40px, 5vw, 80px);
}

.split--center {
  align-items: center;
}

.split--start {
  align-items: start;
}

.sticky-col {
  position: sticky;
  top: 40px;
  align-self: start;
}

/* ---- Tipografía ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--light .eyebrow {
  color: var(--muted-on-light);
}

.display {
  font-size: clamp(46px, 7.2vw, 120px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.title-xl {
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.title-lg {
  font-size: clamp(44px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.serif--accent {
  color: var(--accent);
}

.display .serif {
  font-size: 1.08em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
}
