/* ============================================================
   Finca Soluna — Base element styling & helpers
   Light, warm, airy defaults applied on top of the tokens.
   ============================================================ */

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

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-text);
  font-weight: var(--fw-light);
  font-size: var(--type-body-m);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Headlines: Marisa, uppercase, warm ink ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  margin: 0 0 var(--space-16);
}
h1 { font-size: var(--type-display-xl); }
h2 { font-size: var(--type-display-l); }
h3 { font-size: var(--type-display-m); }
h4 { font-size: var(--type-display-s); }

p { margin: 0 0 var(--space-16); max-width: var(--measure-wide); }

a { color: var(--text-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Eyebrow / spaced label ---- */
.fs-eyebrow {
  font-family: var(--font-text);
  font-weight: var(--fw-bold);
  font-size: var(--type-body-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-brand);
}

/* ---- Display-light variant (Marisa Light) ---- */
.fs-display-light { font-weight: var(--fw-light); }

/* ---- Lead paragraph ---- */
.fs-lead {
  font-size: var(--type-body-l);
  line-height: var(--leading-snug);
  color: var(--text-body);
}

/* ---- Focus visibility ---- */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
