.km-home {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(16px, 2vw, 32px);
  background: #111;
  color: #fff;
  font-family: var(--km-font-family);
}

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

.km-home-background {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #111;
}

.km-home-background::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
  content: "";
}

.km-home-background-image,
.km-home-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

.km-home-main {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.km-home-projects {
  display: flex;
  align-items: flex-end;
  height: 48svh;
  max-height: 100%;
  overflow: auto;
}

.km-home-project-list {
  width: 100%;
  padding-block: 0.08em;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
}

.km-home-project {
  color: rgb(255 255 255 / 25%);
  text-decoration: none;
}

.km-home-project.is-active,
.km-home:not(.km-home-ready) .km-home-project:hover,
.km-home:not(.km-home-ready) .km-home-project:focus-visible {
  color: #fff;
}

.km-home-project:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.km-home-empty {
  margin: 0;
}

@media (max-width: 600px) {
  .km-home-projects {
    height: 64svh;
  }
}
