/* ============================================================
   HARMONIA — Base / reset
   Global element defaults built on the token layer.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* —— Headings: classical serif —— */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); line-height: var(--leading-snug); }
h4 { font-size: var(--text-lg); line-height: var(--leading-snug); }

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

a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--gold-700); }

hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: var(--space-6) 0;
}

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

::selection { background: var(--gold-100); color: var(--ink-900); }

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

/* ============================================================
   Utility primitives — small, optional helpers
   ============================================================ */

/* Eyebrow / overline label — the signature small-caps lockup */
.h-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent-strong);
}

/* Inscriptional caps lockup, echoes the wordmark */
.h-lockup {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: var(--tracking-logo);
  font-weight: var(--weight-regular);
}

/* Thin gold rule, often paired with an eyebrow */
.h-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  border: 0;
}

.h-container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
