/* ============================================================
   Base typography & elements
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* Subtle living-canvas background tint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 80% -10%, rgba(198, 167, 125, 0.10), transparent 60%),
    radial-gradient(55vw 55vw at -10% 30%, rgba(167, 179, 162, 0.10), transparent 60%),
    var(--color-bg);
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
  color: var(--color-text);
  text-shadow: var(--shadow-text);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

p {
  line-height: var(--lh-relaxed);
  color: var(--color-text-soft);
}

strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Smallest readable size guard — never below 12px */
small,
.text-min {
  font-size: var(--fs-min);
}

/* Decorative eyebrow label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.7;
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--color-text-soft);
}

/* Accessibility: visually hidden but available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-sm);
  z-index: calc(var(--z-header) + 1);
  padding: var(--space-2xs) var(--space-md);
  background: var(--color-text);
  color: var(--color-surface);
  border-radius: var(--radius-pill);
  transition: top var(--dur-fast) var(--ease-soft);
}

.skip-link:focus {
  top: var(--space-sm);
}
