/* ============================================================
   base.css · Tipografía base + container + utilidades
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;                 /* Manrope light por defecto (matchea original) */
  line-height: var(--lh-relaxed);
  color: var(--color-ink);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 500; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 500; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 500; }

p {
  color: var(--color-ink-3);
  font-weight: 300;
}

a { transition: color var(--transition); }
a:hover { color: var(--color-brand); }

strong, b { font-weight: 600; color: var(--color-ink); }

em, i { font-style: italic; }

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

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

strong { font-weight: 600; color: inherit; }

/* ---------- Section ---------- */
.section {
  padding-block: var(--section-py);
}

/* Anchor scroll offset · evita que el sticky header tape el contenido al saltar */
[id] { scroll-margin-top: var(--header-height); }

/* Lenis smooth scroll · estilos requeridos por la lib */
html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Eyebrow (Space Mono pequeño · "01 // FILOSOFÍA") ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-3);        /* slate-600 (#475569) · matchea original */
  display: inline-block;
}

.eyebrow--brand { color: var(--color-brand); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-brand);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- Helpers ---------- */
.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;
}

.no-scroll { overflow: hidden; }
