/* ─────────────────────────────────────────────────────────────
   Easy Peasy Media Co — Base element styles & helpers
   Light reset + brand defaults applied to bare HTML.
   ───────────────────────────────────────────────────────────── */

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

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

/* ── Headings — display serif by default ─────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-strong);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-3);
}
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }

a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px;
    text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent-ink); }

em { font-style: italic; }
strong { font-weight: var(--fw-semibold); color: var(--text-strong); }

/* ── Brand helpers (utility classes) ─────────────────────────── */

/* Eyebrow: small, wide-tracked uppercase label */
.ep-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
}

/* Display headline — the signature serif moment */
.ep-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  font-weight: var(--fw-regular);
}

/* Emphasis word inside a serif headline — italic, gold optional */
.ep-emph { font-style: italic; }
.ep-emph-gold { font-style: italic; color: var(--text-accent); }

/* Lead paragraph */
.ep-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
}

.ep-measure { max-width: var(--container-text); }

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