html,
body {
  overflow-x: clip;
}

body {
  min-width: 320px;
  background: var(--pearl-light);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--rose);
  color: var(--ink-deep);
}

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

a,
button,
input,
select,
textarea {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--rose-soft);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-4);
}

h3 {
  font-size: var(--step-2);
}

p {
  max-width: 68ch;
}

strong {
  font-weight: 600;
}

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

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

.section {
  position: relative;
  padding-block: clamp(5.5rem, 10vw, 10rem);
}

.section--compact {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section--pearl {
  background: var(--pearl);
}

.section--light {
  background: var(--pearl-light);
}

.section--rose {
  background: var(--rose);
}

.section--dark {
  background: var(--ink-deep);
  color: var(--white);
}

.section--blue {
  background: var(--blue-charcoal);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.section--blue .eyebrow,
.page-hero .eyebrow {
  color: var(--rose-soft);
}

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

.script-accent {
  color: var(--rose-deep);
  font-family: var(--font-subtitle);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.8;
}

.lede {
  color: var(--text-muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

.section--dark .lede,
.section--blue .lede,
.page-hero .lede {
  color: var(--text-light-muted);
}

.kicker-number {
  color: var(--rose-deep);
  font-family: var(--font-title);
  font-size: clamp(4rem, 8vw, 8rem);
  font-variant-numeric: lining-nums;
  line-height: 0.8;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
