.home-blocks::before {
  content: "";
  display: block;
  height: 100vw;
  max-height: 20vh;
}
.home-block {
  margin-bottom: 2rem;
}
.home-block-text {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: var(--l--global-gap);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.5em 0;
  font-weight: 300;
}
.home-block-text::after {
  content: "+";
  text-align: right;
}
.home-block .project-count {
  text-align: right;
}
.home-block-title {
  font-weight: inherit;
  font-size: 1em;
  text-transform: uppercase;
  margin: 0;
}
.home-block-subtitle {
  font-size: 1em;
  margin: 0 1em;
}
.home-block figure {
  margin-bottom: 1em;
}
.home-block img {
  aspect-ratio: 7/4;
}
.home-block ul {
  list-style: none;
  border-bottom: 1px solid;
  overflow: hidden;
  height: 0;
  transition-property: height, display;
  transition-duration: 0.6s;
  transition-behavior: allow-discrete;
}
.home-block li {
  border-top: 1px solid;
}
.home-block a {
  display: block;
  padding: 0.5rem 0.33rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-weight: 300;
  font-size: 1.33rem;
}
.home-block a:hover,
.home-block a:focus {
  background-color: var(--c--high);
}
.home-block a:focus-visible {
  outline: 2px solid;
  outline-offset: -2px;
  background-color: var(--c--highest);
}
.home-block-trigger {
  position: relative;
}
.home-block-trigger button {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  height: 100%;
  opacity: 0;
}
.home-block.open ul {
  display: block;
  height: auto;
  height: calc-size(auto, size);
  @starting-style {
    height: 0;
  }
}
.home-block li.home-block-subtitle {
  display: none;
  justify-content: space-between;
  padding: 0.33rem;
  font-size: 0.867rem;
  text-transform: uppercase;
}
@media (min-width: 40rem) {
  .home-block-text {
    font-size: 1.8rem;
  }
  .home-block a {
    font-size: 1.67rem;
  }
}
@media (min-width: 64rem) {
  body.home main {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 12.5rem);
  }
  body.home .site-header {
    margin-bottom: 2rem;
  }
  .home-blocks {
    /* min-height: 100%; */
    height: 100%;
    min-height: 53rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: var(--l--global-gap);
    /* min-height: 30em; */
    overflow: hidden;
  }
  .home-blocks::before {
    content: unset;
  }
  .home-block {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .home-block-trigger button {
    display: none;
  }
  .home-block-text {
    font-size: 0.867rem;
    display: block;
  }
  .home-block-text::after {
    content: unset;
  }
  .home-block img {
    aspect-ratio: 44/49;
  }
  .home-block figure {
    order: 1;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }
  .home-block ul {
    margin-bottom: 0;
  }
  .home-block.open ul {
    display: none;
    height: 0;
  }

  .home-block:focus-within ul,
  .home-block:hover ul {
    display: block;
    height: auto;
    height: calc-size(auto, size);
    @starting-style {
      height: 0;
    }
  }
  .home-block li.home-block-subtitle {
    display: flex;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .home-block-text .project-count {
    display: none;
  }
  .home-block a {
    padding: 0.33rem;
    font-size: 0.867rem;
  }
}
