/* ==========================================================================
   Base typography & global element styles
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-dark);
  background-color: var(--color-background);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: var(--lh-tight);
  font-weight: 700;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }

p {
  color: var(--color-dark);
}

.lede {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

main {
  display: block;
}

/* ==========================================================================
   Hero (homepage) — editorial split: text first, image second
   ========================================================================== */

.hero {
  padding-block: var(--space-2xl) var(--space-xl);
  background-color: var(--color-background);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__content {
  max-width: 34rem;
}

.hero h1 {
  font-size: var(--fs-4xl);
  margin-block: var(--space-sm) var(--space-md);
}

.hero__lede {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero__media {
  position: relative;
}

.hero__media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  background: linear-gradient(0deg, rgba(66, 38, 39, 0.88) 0%, rgba(66, 38, 39, 0) 100%);
  color: var(--color-background);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
}

.hero__media-caption span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-blush);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Founder / split sections
   ========================================================================== */

/* Dark Brown rather than Burgundy: this label sits on the peach/rose
   --section--alt background, where Burgundy measures 3.72:1 — under the
   4.5:1 AA text minimum (a pre-existing gap, not introduced by this pass;
   Dark Brown measures 7.73:1 on the same background). */
.split__eyebrow {
  color: var(--color-dark);
}

.split__body p + p {
  margin-top: var(--space-sm);
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--color-dark);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
  margin-block: var(--space-md);
}

/* ==========================================================================
   Final CTA band
   ========================================================================== */

.cta-band {
  background-color: var(--color-dark);
  color: var(--color-background);
  text-align: center;
}

.cta-band h2 {
  color: var(--color-background);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.cta-band .btn-row {
  justify-content: center;
}

/* ==========================================================================
   Trusted-by section
   ========================================================================== */

.trusted-by {
  text-align: center;
}

/* ==========================================================================
   Miscellaneous utility classes
   ========================================================================== */

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-xs { margin-top: var(--space-xs); }
.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;
}
