/* ============================================================
   Catamarca Capital — Base element styles
   Lightweight resets + sensible defaults bound to tokens.
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-roman);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-heavy); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { text-decoration: underline; }

strong, b { font-weight: var(--fw-bold); }

small { font-size: var(--fs-body-sm); }

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

:focus-visible {
  outline: var(--bw-2) solid var(--focus-ring);
  outline-offset: 2px;
}

hr {
  border: 0;
  border-top: var(--bw-hair) solid var(--border-subtle);
  margin: var(--space-8) 0;
}

/* ---------- Brand helper classes ---------- */
.cc-display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-display-l);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  text-transform: uppercase;
}

.cc-claim {
  font-family: var(--font-claim);
  font-weight: var(--fw-roman);
  color: var(--color-accent);
}

.cc-overline {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-overline);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}
