html {
  background: var(--color-bg);
  color: var(--color-text);
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
}

body {
  overflow-x: hidden;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--color-moss);
  color: var(--color-light);
}

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

h1 {
  font-size: var(--text-display);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h1 em,
h2 em {
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

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

.section {
  position: relative;
  padding-block: var(--section-space);
}

.eyebrow,
.section-index {
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--color-moss);
}

.eyebrow--light,
.section-index--light {
  color: var(--color-light-muted);
}

.section-index {
  color: var(--color-muted);
}

.lead {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.75fr);
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: clamp(3.75rem, 7vw, 7rem);
}

.section-heading .section-index {
  margin-bottom: var(--space-lg);
}

.section-heading .eyebrow {
  margin-bottom: var(--space-sm);
}

.section-heading__copy {
  max-width: 31rem;
  justify-self: end;
}

.section-heading__copy > * + * {
  margin-top: var(--space-sm);
}

.placeholder-note {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 2;
  max-width: calc(100% - 2rem);
  padding: 0.35rem 0.55rem;
  background: var(--color-header-glass);
  color: var(--color-text);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: calc(var(--z-modal) + 1);
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--color-light);
  color: var(--color-text);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.noscript-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: calc(var(--header-height) + 1rem) var(--gutter) 1rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
}
