:root {
  --paper: #f5e8e4;
  --cream: #fcfcfc;
  --ink: #221f20;
  --brown: #5c3724;
  --slate: #221f20;
  --red: #eb2229;
  --red-deep: #c91e24;
  --red-border: #b71c21;
  --shadow: rgba(0, 0, 0, 0.75);
  --line: rgba(0, 0, 0, 0.9);
  --line-soft: rgba(0, 0, 0, 0.14);
  --content: 80rem;
  --measure: 43rem;
  --body-font: "Nunito Sans", Arial, sans-serif;
  --title-font: "Ultra", Georgia, serif;
  --shadow-card: 4px 4px 2px var(--shadow);
  --shadow-box: 4px 4px 4px 0 rgba(0, 0, 0, 1);
  --paper-texture-filter: grayscale(1) contrast(1.08) brightness(1.09);
  --paper-texture-blend-mode: luminosity;
  --paper-texture-opacity: 0.64;
  --space-fluid-sm: clamp(1.5rem, 3vw, 2.75rem);
  --space-fluid-md: clamp(2rem, 4vw, 4rem);
  --space-fluid-lg: clamp(3rem, 6vw, 5rem);
  --space-fluid-xl: clamp(4rem, 7vw, 6rem);
  --text-fluid-sm: clamp(1.1rem, 2vw, 1.4rem);
  --text-fluid-md: clamp(1.3rem, 3vw, 1.6rem);
  --text-fluid-lg: clamp(1.5rem, 4vw, 1.9rem);
  --text-fluid-xl: clamp(2rem, 5vw, 3.4rem);
  --text-fluid-display: clamp(2.5rem, 7vw, 4.75rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--paper);
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

a:hover {
  text-decoration-color: var(--red);
}

strong {
  font-weight: 700;
}

.page {
  position: relative;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 60;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  background: var(--cream);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

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

.section {
  position: relative;
  scroll-margin-top: 0;
}

.section__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: var(--space-fluid-lg);
}

@media (min-width: 48rem) {
  .section__inner {
    width: min(calc(100% - 3rem), var(--content));
    padding-block: var(--space-fluid-xl);
  }
}

.section__heading-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.section__heading-row--wide {
  align-items: center;
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
}

.section__heading-row--center {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section__heading-row--light {
  color: var(--cream);
}

.section__title {
  margin: 0;
  font-family: var(--title-font);
  font-size: var(--text-fluid-xl);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 18ch;
  font-weight: 400;
}

.section__title--large {
  font-size: var(--text-fluid-display);
  max-width: 20ch;
}

.section__title--wide {
  max-width: 40rem;
}

.section__title--light {
  color: var(--cream);
}


.prose {
  font-size: 1.125rem;
  line-height: 1.75;
  font-variation-settings: "wdth" 100;
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--narrative {
  color: var(--slate);
}

.prose--perspective {
  color: var(--ink);
  line-height: 1.6;
}

.display-head {
  margin: 0;
  font-family: var(--title-font);
  font-size: var(--text-fluid-xl);
  line-height: 1.08;
  color: var(--slate);
}

.display-head--intro {
  max-width: none;
}


@media (min-width: 64rem) {
  .prose {
    font-size: 1.5rem;
  }

  .display-head {
    max-width: none;
  }
}

@media (max-width: 47.999rem) {
  html {
    scroll-padding-top: 0;
  }

  .section {
    scroll-margin-top: 0;
  }
}
