* {
  box-sizing: border-box;
}

html {
  background: #000;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: minmax(11.3dvh, auto) minmax(0, 1fr) max(24px, 9.1dvh);
  color: #000;
}

a {
  color: inherit;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.site-header {
  display: grid;
  place-items: center;
  padding: 6px 8px;
  color: #fff;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  font-weight: 700;
  line-height: 1.15;
}

.link-row a {
  text-decoration: none;
  white-space: nowrap;
}

.link-row a:hover,
.link-row a:focus-visible {
  text-decoration: underline;
}

.primary-nav {
  font-size: clamp(16px, min(3.33vw, 6.4dvh), 96px);
  transform: translateY(-0.65dvh);
}

.stage {
  --safe-edge: 23.75cqw;
  --forest-position-left: left;
  --forest-position-right: right;
  position: relative;
  isolation: isolate;
  container-type: size;
  margin-inline: 5.2vw;
  overflow: hidden;
  background: #fff;
}

.forest {
  position: absolute;
  inset-block: 0;
  width: var(--safe-edge);
  overflow: hidden;
  pointer-events: none;
}

.forest img {
  display: block;
  width: 100%;
  height: 112.5%;
  margin-top: -1cqh;
  object-fit: cover;
}

.forest-left {
  left: 0;
  max-width: 54.86cqh;
}

.forest-right {
  right: 0;
  max-width: 39.05cqh;
}

.forest-left img {
  object-position: var(--forest-position-left) top;
}

.forest-right img {
  object-position: var(--forest-position-right) top;
}

.content {
  --content-edge: min(var(--safe-edge), 54.86cqh);
  position: relative;
  height: 100%;
  padding-inline: 6px;
  margin-inline: var(--content-edge);
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home {
  --social-fit: calc((100cqw - 2 * var(--content-edge) - 14px) / 14.5);
  font-size: clamp(15px, min(3.67cqw, 7.44cqh, var(--social-fit)), 96px);
  padding-block: 5.35cqh 8px;
}

.wordmark {
  flex: none;
  width: min(100%, 60.58cqh, max(0px, calc((92cqh - 1.15em - 12px) * 521 / 630)));
  margin: 0;
  font-size: inherit;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.socials {
  padding-block: 4px;
}

.about {
  justify-content: safe center;
  padding-block: 16px;
  font-size: clamp(16px, min(2.1cqw, 5cqh), 28px);
}

.about h1 {
  margin: 0;
  font-size: clamp(24px, min(4.4cqw, 9cqh), 64px);
  line-height: 1.1;
}

.about p {
  margin: 0.75em 0 1.25em;
}

@media (min-width: 1700px) and (min-aspect-ratio: 17/10) {
  .forest-left {
    width: 27.5%;
  }
}

@media (max-aspect-ratio: 3/2) {
  .stage {
    --safe-edge: 18cqw;
    --forest-position-left: 34%;
    --forest-position-right: 60%;
  }
}

@media (max-aspect-ratio: 1/1) {
  .stage {
    --safe-edge: 12cqw;
    margin-inline: clamp(8px, 3vw, 28px);
  }

  .home {
    justify-content: safe center;
    padding-block: 12px;
    gap: 2cqh;
    font-size: clamp(15px, 4cqw, 40px);
  }
}

@media (max-width: 560px) {
  .primary-nav {
    flex-direction: column;
    gap: 0.4em;
  }

  .nav-break {
    display: none;
  }

  .primary-nav a {
    padding-block: 3px;
  }
}

@media (max-width: 315px) {
  .socials {
    flex-direction: column;
    gap: 0.6em;
  }

  .socials span {
    display: none;
  }
}
