/* ============================================================
   Creative Projects — Base / reset / element defaults
   Opinionated defaults so bare HTML already looks on-brand.
   ============================================================ */

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-display);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-family: var(--font-text); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-normal); }

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

a { color: var(--text-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong, b { font-weight: var(--fw-semibold); color: var(--text-strong); }

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

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

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

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

/* ---- Utility: the brand eyebrow / mono label ---- */
.cp-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-regular);
}
