*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
section { padding: clamp(80px, 11vw, 140px) 0; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: 20px;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--gold-soft); }
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--gold-ink); }
.on-dark .section-title em { color: var(--gold); }
.lead { color: var(--muted); max-width: 560px; font-size: 1.02rem; }
.on-dark .lead { color: #aeb9b5; }

.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;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Scrollbar discreta */
html { scrollbar-width: thin; scrollbar-color: #3b4a45 var(--bg-deep); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #3b4a45; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-ink); }

/* Entrada suave bidirecional (2.5s) */
.reveal {
  opacity: 0;
  transition: opacity 2.5s var(--ease-premium), transform 2.5s var(--ease-premium);
  will-change: opacity, transform;
}
.reveal-left { transform: translate(-60px, 15px); }
.reveal-right { transform: translate(60px, 15px); }
.reveal-up { transform: translateY(30px); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
