/* ============================================================
   Grace & Truth Church — Base resets & typographic defaults
   ============================================================ */

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

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

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

/* ---- Headings: display serif ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-600, 600);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); font-weight: 600; }
h2 { font-size: var(--text-h2); font-weight: 600; }
h3 { font-size: var(--text-h3); font-weight: 600; }
h4 { font-size: var(--text-h4); font-weight: 600; }

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

a {
  color: var(--text-brand);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--accent-strong); }

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

hr {
  border: none;
  border-top: var(--border-width) solid var(--border-subtle);
  margin: var(--space-6) 0;
}

img { max-width: 100%; display: block; }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-xs);
}

/* ============================================================
   Utility helpers (optional, prefixed gt-)
   ============================================================ */

.gt-eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-accent);
}

.gt-display {
  font-family: var(--font-display);
  font-size: var(--text-display-1);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}

.gt-display-2 {
  font-family: var(--font-display);
  font-size: var(--text-display-2);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--text-strong);
}

.gt-lead {
  font-size: var(--text-lead);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
}

.gt-scripture {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-h3);
  line-height: var(--leading-snug);
  color: var(--text-strong);
}

.gt-container {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gt-rule-accent {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  margin: var(--space-4) 0;
}
