/* ===========================================
   Variante B — Reset, Typography, Layout
   =========================================== */

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 140px 0;
  position: relative;
}

/* --- Display Serif --- */
.display {
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-family: 'Instrument Serif', 'Georgia', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* --- Tabular nums --- */
.tabnum {
  font-variant-numeric: tabular-nums;
}

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Eyebrow --- */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* --- Links --- */
a { color: inherit; }
a:hover { color: var(--primary); }

/* --- Hairline --- */
.hairline {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* --- Selection --- */
::selection {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--text);
}
