/* JD designs — Base element defaults.
   Light, optional resets so specimen cards & kits pick up brand defaults.
   Token files hold the variables; this applies a few sensible globals. */

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); font-weight: var(--fw-bold); line-height: var(--lh-tight); }
h2 { font-size: var(--text-h2); }
h3 { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--text-h3); line-height: var(--lh-snug); letter-spacing: 0; }

p { margin: 0 0 var(--space-2); text-wrap: pretty; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* Brand utility: uppercase tagline / eyebrow label */
.label {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* The one place Dancing Script is allowed outside the logo: a rare flourish */
.script {
  font-family: var(--font-script);
  font-weight: var(--fw-semibold);
}

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