/* ============================================================
   Grabstein's Bagels — Base / element defaults & brand utilities
   ============================================================ */

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

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

/* Display headings — condensed, tight, usually set in caps in layouts */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  margin: 0;
}

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

a { color: inherit; }

::selection { background: var(--gb-yolk); color: var(--gb-black); }

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

/* ——— Brand utility classes ——— */

/* Tracked-out caps eyebrow / kicker */
.gb-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

/* Condensed display helper */
.gb-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

/* The brand script — LOGO / wordmark ONLY */
.gb-script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Handwritten graffiti note — use sparingly */
.gb-note {
  font-family: var(--font-hand);
  font-weight: var(--fw-semibold);
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--color-ink);
  transform: rotate(-6deg);
  display: inline-block;
}

/* Signage rule — heavy black divider used to open sections */
.gb-rule {
  border: 0;
  border-top: var(--border-heavy);
  margin: 0;
}
.gb-rule--hair { border-top: var(--border-hair); }
