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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.has-mobile-bar {
  padding-bottom: 64px;
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.75rem;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: inherit;
}

a {
  color: var(--green-mid);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

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

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-cover--portrait {
  aspect-ratio: 4 / 5;
  max-height: min(75vh, 640px);
  border-radius: 2px;
}

.home-intro__inner > div:last-child {
  overflow: hidden;
  border-radius: 2px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  width: min(780px, 88vw);
  margin: 0 auto;
}

.eyebrow,
.label {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

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

.section--dark .eyebrow {
  color: var(--green-light);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}

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

.section--light {
  background: var(--off-white);
  color: var(--text);
}

.section--light p {
  color: var(--grey-muted);
}

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

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-divider--diagonal-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
  padding-top: calc(var(--section-pad) + 4vw);
}

.section-divider--diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
  padding-bottom: calc(var(--section-pad) + 4vw);
}

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