/* ============================================
   HEHCONSULTING — Base typography & elements
   ============================================ */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  margin: 0;
  font-weight: var(--fw-regular);
}

h1 {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-regular);
}

h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  font-weight: var(--fw-medium);
}

h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  font-weight: var(--fw-semibold);
}

h5 {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  font-weight: var(--fw-semibold);
}

h6 {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-snug);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

/* ---------- Heading helper classes ---------- */
.display-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
}

.serif-heading {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  display: inline-block;
}

/* ---------- Body text ---------- */
p {
  margin: 0;
  line-height: var(--lh-relaxed);
  color: var(--color-text);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1vw + 1.1rem, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-navy);
  margin: 0 0 var(--space-6);
}

/* ---------- Links ---------- */
a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--color-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Inline elements ---------- */
strong, b {
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
}

em, i {
  font-style: italic;
}

/* ---------- HR — luxe gold separator ---------- */
hr {
  border: none;
  height: 1px;
  background: var(--gradient-gold);
  margin: var(--space-8) auto;
  max-width: 80px;
  opacity: 0.8;
}

/* ---------- Lists ---------- */
ul, ol {
  margin: 0;
  padding-left: var(--space-5);
  line-height: var(--lh-relaxed);
}

li + li {
  margin-top: var(--space-1);
}

/* ---------- Selection ---------- */
::selection {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

/* ---------- Form base reset (deeper styling later) ---------- */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
