:root {
  --paper: #fff;
  --ink: #15382f;
  --muted: #5d6c67;
  --rule: #cbd7d1;
  --surface: #d9e5df;
  --focus: #f8a36b;
}

.forest-gallery {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.forest-gallery .site-header {
  width: 100%;
  min-height: 5.5rem;
  grid-template-columns: 1fr auto;
  padding-inline: max(1.5rem, calc((100vw - 84rem) / 2));
  border: 0;
  background: #123d32;
  color: #fff;
}

.forest-gallery .home {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(16rem, 27rem) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(3rem, 7vw, 7rem) max(1.5rem, calc((100vw - 84rem) / 2));
  background: #123d32;
  color: #fff;
}

.forest-gallery .portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.forest-gallery .introduction h1 {
  max-width: 10ch;
  color: #f8a36b;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 550;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.forest-gallery .introduction p {
  max-width: 39rem;
  color: #e5eee9;
}

.forest-gallery .home-work {
  width: min(100% - 3rem, 84rem);
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: 2rem;
}

.forest-gallery .home-work-heading h2 {
  font-weight: 500;
}

.forest-gallery .client-list {
  border-color: #123d32;
}

.forest-gallery .client-section {
  display: block;
  padding-block: 2.5rem 6rem;
}

.forest-gallery .client-section:last-child {
  border-bottom: 0;
}

.forest-gallery .client-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.forest-gallery .client-heading h2 {
  font-size: clamp(2rem, 3.75vw, 3.75rem);
  font-weight: 500;
}

.forest-gallery .client-copy {
  max-width: 49rem;
}

.forest-gallery .client-period {
  margin-top: 0.75rem;
  color: #123d32;
}

.forest-gallery .client-description {
  max-width: 46rem;
  color: #4e615b;
}

.forest-gallery .carousel-controls {
  margin-top: 0;
}

.forest-gallery .video-strip {
  --video-frame-height: calc(min(18rem, 65vw) * 1.7778);
  grid-auto-columns: min(18rem, 65vw);
  column-gap: 2rem;
}

.forest-gallery .video-card {
  display: grid;
  grid-template-rows: var(--video-frame-height) auto auto;
  align-content: start;
}

.forest-gallery .video-card .embed-shell {
  align-self: center;
}

.forest-gallery .carousel-controls button {
  border-radius: 50%;
}

.forest-gallery .carousel-controls button:hover:not(:disabled) {
  background: #123d32;
  color: #fff;
}

@media (max-width: 58rem) {
  .forest-gallery .home {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .forest-gallery .portrait {
    width: min(100%, 24rem);
    min-height: 0;
  }
}

@media (max-width: 40rem) {
  .forest-gallery .home-work {
    width: min(100% - 1.5rem, 90rem);
  }

  .forest-gallery .portrait {
    width: 10rem;
  }

  .forest-gallery .site-header,
  .forest-gallery .home {
    width: 100%;
  }
}

@media (min-width: 40.01rem) and (max-width: 58rem) {
  .forest-gallery .home {
    grid-template-columns: clamp(12rem, 29vw, 18rem) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-block: clamp(3rem, 6vw, 4.5rem);
  }

  .forest-gallery .portrait {
    width: 100%;
  }

  .forest-gallery .introduction h1 {
    font-size: clamp(3.2rem, 7.2vw, 5rem);
  }

  .forest-gallery .introduction p {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
  }
}
