/* ============================================================
   HELEA — BASE ELEMENT STYLES & UTILITY PRIMITIVES
   Minimal resets + a few brand-level helpers usable directly
   in markup (.helea-eyebrow, .helea-container, etc.)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1);  font-weight: var(--fw-black);   line-height: var(--lh-heading); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2);  font-weight: var(--fw-bold);    line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
h3 { font-size: var(--fs-h3);  font-weight: var(--fw-bold);    line-height: var(--lh-snug);    letter-spacing: var(--ls-heading); }
h4 { font-size: var(--fs-h4);  font-weight: var(--fw-semibold);line-height: var(--lh-snug); }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--helea-red); color: #fff; }

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

/* ---- Layout helpers ---- */
.helea-container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.helea-container--narrow { max-width: var(--container-narrow); }

.helea-section { padding-block: var(--section-y); }
.helea-section--compact { padding-block: var(--section-y-compact); }

/* ---- Eyebrow / kicker: uppercase label with red tick ---- */
.helea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-strong);
}
.helea-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--helea-red);
}
.helea-eyebrow--muted { color: var(--text-muted); }

/* ---- Lead paragraph ---- */
.helea-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

/* ---- Display heading utility ---- */
.helea-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
}
