@font-face {
  font-family: "The Future";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://activestewardship.org/wp-content/themes/pnp-cas/fonts/the-future-regular.woff2") format("woff2");
}

@font-face {
  font-family: "The Future";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://activestewardship.org/wp-content/themes/pnp-cas/fonts/the-future-italic.woff2") format("woff2");
}

@font-face {
  font-family: "The Future";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://activestewardship.org/wp-content/themes/pnp-cas/fonts/the-future-bold.woff2") format("woff2");
}

@font-face {
  font-family: "The Future Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://activestewardship.org/wp-content/themes/pnp-cas/fonts/the-future-mono-regular.woff2") format("woff2");
}

:root {
  --seafoam: #c4edcb;
  --xanadu: #2d362f;
  --honeydew: #edf8eb;
  --mobile-menu-button-gap: 0.25rem;
  --mobile-menu-sheet-padding: 1.25rem;
  --nav-optical-offset: 5px;
  --space-1: 0.625rem;
  --space-2: 1.25rem;
  color: var(--xanadu);
  background: var(--honeydew);
  font-family: "The Future", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--honeydew);
}

body.home {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

strong {
  font-weight: 700;
}

sup {
  display: inline-block;
  font-size: 75%;
  transform: translateY(-5px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  isolation: isolate;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: var(--space-2);
  color: var(--xanadu);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  content: "";
  pointer-events: none;
}

.site-header::after {
  position: absolute;
  bottom: 0;
  left: var(--space-2);
  z-index: 2;
  display: block;
  width: calc(66.666vw - 2.5rem);
  height: 1px;
  background: transparent;
  content: "";
  transition: background-color 0.2s ease;
}

body:not(.home) .site-header {
  background: var(--honeydew);
}

.site-header.shadow {
  background: var(--honeydew);
  color: var(--xanadu);
}

.site-header.shadow::after {
  background: var(--seafoam);
}

.mark {
  display: flex;
  width: 12px;
  min-width: 12px;
  height: 20px;
  margin-right: var(--space-1);
}

.wordmark {
  display: flex;
  margin: 0 auto;
  color: inherit;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: visible;
}

.site-header.shadow .wordmark {
  opacity: 0;
  visibility: hidden;
}

.wordmark-full {
  display: block;
  width: min(381px, 38vw);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wordmark-short {
  display: none;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.header-spacer,
.nav-wrap {
  width: 33%;
}

.nav-wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding-left: var(--space-2);
}

.nav-inner {
  width: max-content;
  max-width: 100%;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46875rem;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tagline {
  display: block;
  width: var(--tagline-width, 100%);
  max-width: 100%;
  height: 0;
  margin-top: var(--space-1);
  font-family: "The Future Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: visible;
}

.site-header.shadow .tagline {
  opacity: 0;
  visibility: hidden;
}

.button-link,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 40px;
  padding: 0.5rem;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.button-link:hover,
.menu-toggle:hover {
  background: var(--seafoam);
  color: var(--xanadu);
}

body.home .button-link,
body.home .menu-toggle {
  border-color: var(--xanadu);
  color: var(--xanadu);
}

body.home .button-link:hover,
body.home .menu-toggle:hover {
  background: var(--xanadu);
  color: var(--honeydew);
}

.current .button-link {
  border-color: var(--xanadu);
  background: var(--xanadu);
  color: var(--honeydew);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.home-main,
.page-main {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  flex-direction: column;
  padding: var(--space-2);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-main {
  justify-content: flex-end;
  margin-bottom: 0;
}

.home-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.page-main > * {
  width: calc(66.666vw - 2.5rem);
  max-width: none;
  margin-right: auto;
  margin-left: 0;
}

.separator-wrap {
  margin-bottom: var(--space-2);
}

.page-separator {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--xanadu);
  border-bottom: 1px solid var(--xanadu);
  background: transparent;
}

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

.large {
  font-size: 1.5rem;
  line-height: 1.4;
}

.smallish {
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
}

.site-footer {
  width: 100%;
  padding: var(--space-2);
  background: var(--xanadu);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--honeydew);
}

.muted-while-menu {
  filter: blur(3px);
  opacity: 0.45;
  pointer-events: none;
}

body.home .muted-while-menu {
  filter: none;
  opacity: 1;
}

@media (min-width: 1100px) {
  .nav-inner {
    transform: translateY(var(--nav-optical-offset));
  }
}

@media (max-width: 1099px) {
  body.home {
    height: calc(var(--vh, 1vh) * 100);
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-header::after {
    width: calc(100% - 2.5rem);
  }

  .site-header.menu-open::before {
    height: calc(var(--mobile-menu-sheet-height, 100%) + var(--mobile-menu-sheet-padding));
    background: var(--honeydew);
  }

  body.home .site-header.menu-open::before {
    background: transparent;
  }

  .site-header.menu-open::after {
    top: calc(var(--mobile-menu-sheet-height, 100%) + var(--mobile-menu-sheet-padding) - 2px);
    bottom: auto;
    left: var(--space-2);
    width: calc(100% - 2.5rem);
    height: 2px;
    background: var(--xanadu);
  }

  body.home .site-header.menu-open::after {
    background: transparent;
  }

  .header-spacer {
    width: auto;
  }

  .wordmark {
    margin-right: auto;
    margin-left: 0;
  }

  .wordmark-full {
    display: none;
  }

  .wordmark-short {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 0.75rem;
  }

  .nav-wrap {
    align-items: flex-end;
    position: absolute;
    top: calc(100% - var(--space-2) + var(--mobile-menu-button-gap));
    right: var(--space-2);
    width: auto;
    padding-left: 0;
  }

  .primary-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--mobile-menu-button-gap);
    margin-top: 0;
  }

  .primary-menu.active {
    display: flex;
  }

  .primary-menu li {
    margin-bottom: 0;
  }

  .button-link {
    padding: 0.625rem 0.75rem;
  }

  .tagline {
    display: none;
  }

  .page-main > * {
    width: 100%;
  }
}
