
/* =========================================
   GLOBAL WEBSITE STYLES
   ========================================= */

body {
  min-width: 320px;
  background: var(--color-cream);
  color: var(--color-espresso);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

p {
  max-width: 68ch;
}

p + p {
  margin-top: 1rem;
}

.container {
  width: min(
    var(--container-width),
    calc(100% - var(--page-gutter) * 2)
  );
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 800px;
  margin-bottom: 22px;
}

.section-description {
  max-width: 600px;
  opacity: 0.78;
}

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

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

.surface-dark {
  background: var(--color-espresso);
  color: var(--color-cream);
}

.section-intro {
  margin-bottom: clamp(32px, 5vw, 56px);
}

a,
button {
  touch-action: manipulation;
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .section {
    padding-block: 72px;
  }
}