/* base.css — apply the design tokens to plain HTML elements. This is the
   project's default look; pages and components build on top of it. */

body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-body);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3 {
  font-family: var(--font-headline);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-h1); font-weight: var(--weight-bold); }
h2 { font-size: var(--text-h2); font-weight: var(--weight-semibold); }

p { max-width: var(--measure); }

/* Links use black text with a gold underline — the accent, used sparingly. */
a {
  color: var(--color-text);
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.15em;
}

/* Reusable caption style (small, uppercase, tracked) per the brand spec. */
.caption {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
}

/* Visually-hidden: hidden on screen but still announced by screen readers.
   Used for things like "(opens in a new tab)" on external links. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
