@layer projects {
  @scope (.scope.under-kv) to (.scope) {
    :scope {
      aspect-ratio: 1260 / 350;
      display: grid;
      place-content: center;
      position: relative;
    }

    ._main {
      text-align: center;
    }

    ._slug {
      color: var(--color-accent);
      font-family: var(--font-futura);
      font-size: var(--font-size-300);
      letter-spacing: 0.4em;
      line-height: 1;
      text-align: inherit;
      text-transform: uppercase;
    }

    ._title {
      display: grid;
      font-size: var(--font-size-500);
      font-weight: var(--font-weight-regular);
      gap: calc(24 * var(--px-to-rem));
      letter-spacing: 0.15em;
      line-height: 1.6;
      margin: 0;
      padding-top: calc(24 * var(--px-to-rem));
    }

    ._title::after {
      background: var(--color-accent);
      content: '';
      height: 1px;
      margin-inline: auto;
      width: calc(120 * var(--px-to-rem));
    }

    ._description {
      font-family: var(--font-noto-sans);
      font-size: var(--font-size-50);
      font-weight: var(--font-weight-light);
      letter-spacing: 0.15em;
      line-height: 2;
      padding-top: calc(24 * var(--px-to-rem));
      text-align: inherit;
    }

    ._image {
      height: 100%;
      inset: 0;
      position: absolute;
      width: 100%;
      z-index: -1;
    }

    img {
      height: 100%;
    }

    @media (width <= 767px) {
      :scope {
        aspect-ratio: 402 / 236;
      }

      ._slug {
        font-size: var(--font-size-100);
      }

      ._title {
        font-size: var(--font-size-400);
        gap: calc(12 * var(--px-to-rem));
        padding-top: calc(12 * var(--px-to-rem));
      }

      ._title::after {
        width: calc(80 * var(--px-to-rem));
      }

      ._description {
        padding-top: calc(12 * var(--px-to-rem));
      }
    }
  }
}
