/* ------------------------------------------------------------------
   BAK'D — Base element defaults (built on the tokens)
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  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-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

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

/* Script accent helper */
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }

/* Menu / UI section label */
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: var(--text-sm);
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--pink-deep); }

::selection { background: var(--caramel); color: var(--ink); }

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