body.page-template-page-about {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
}

.page-template-page-about > .km-header,
.page-template-page-about > .km-about-page {
  grid-area: 1 / 1;
}

.page-template-page-about > .km-header {
  z-index: 1;
  align-self: start;
  pointer-events: none;
}

.page-template-page-about .km-header a {
  pointer-events: auto;
}

body.page-template-page-about > .km-about-page {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38.5%;
  gap: clamp(16px, 2vw, 32px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: calc(clamp(16px, 2vw, 32px) + clamp(18px, 2vw, 28px) + 1rem)
    clamp(16px, 2vw, 32px) clamp(16px, 2vw, 32px);
  font-family: var(--km-font-family);
}

.km-about-page__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.km-about-page__image {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}

.km-about-page__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.km-about-page__content {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  max-width: clamp(240px, 26vw, 380px);
  padding-top: calc(4 * clamp(18px, 2vw, 28px) + 24px);
  color: #999;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.1;
}

.km-about-page__content p {
  margin: 0;
}

.km-about-page__content p + p {
  margin-top: 0.8em;
}

.km-about-page__content p:empty {
  display: none;
}

.km-about-page__content a {
  color: #000;
}

@media (max-width: 600px) {
  body.page-template-page-about {
    display: block;
  }

  .page-template-page-about > .km-header {
    pointer-events: auto;
  }

  body.page-template-page-about > .km-about-page {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0 clamp(16px, 2vw, 32px) clamp(16px, 2vw, 32px);
  }

  .km-about-page__image img {
    position: static;
    display: block;
    height: auto;
  }

  .km-about-page__content {
    align-self: flex-start;
    max-width: 100%;
    padding-top: 0;
  }
}
