/* ──────────────────────────────────────────────────────────────
   Anny Edana — Base element defaults
   Light, opinionated resets so raw HTML already reads on-brand.
   ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings — soft serif, lowercase house style, light weight */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); font-weight: var(--weight-light); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0 0 1em; text-wrap: pretty; max-width: var(--content-prose); }

a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: 0.18em; transition: color var(--dur-fast) var(--ease-soft); }
a:hover { color: var(--forest-700); }

small { font-size: var(--text-xs); color: var(--text-muted); }

::selection { background: var(--sage-200); color: var(--ink-900); }

/* The handwritten voice — for asides, signatures, captions */
.handwritten { font-family: var(--accent-font); font-weight: var(--weight-500, 500); line-height: 1.2; }

/* Eyebrow / tiny label — one of the only places uppercase appears */
.eyebrow {
  font-family: var(--label-font);
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
