/* ============================================================
   BASE — element defaults built on the tokens.
   Lightweight; consumers can opt out by not relying on it.
   ============================================================ */

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-strong);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: var(--fw-semibold); letter-spacing: var(--ls-normal); }

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

a {
  color: var(--text-link);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--clay-700); text-decoration: underline; }

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

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

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

/* ---- Brand text helpers ---- */

/* The signature move: warm clay accent on a word inside ink/grey copy. */
.u-accent { color: var(--text-accent); }

/* Mono eyebrow / kicker label. */
.u-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-overline);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Editorial serif lead / value line. */
.u-lead {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--text-body);
  font-weight: var(--fw-regular);
}

/* Frosted glass panel. */
.u-glass {
  background: var(--glass-light);
  backdrop-filter: blur(var(--blur-md)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}
