/**
 * =============================================================================
 *
 * Staff section
 *
 * =============================================================================
 */
@layer projects {
  @scope (.scope.staff) to (.scope) {
    :scope {
      display: grid;
      justify-items: center;
      padding-block: calc(100 * var(--px-to-rem));
    }

    ._inner {
      inline-size: var(--content-width);
    }

    ._slug {
      color: var(--color-accent);
      font-family: var(--font-futura);
      font-size: var(--font-size-50);
      letter-spacing: 0.2em;
      line-height: calc(16 * var(--px-to-rem));
      text-align: inherit;
      text-transform: uppercase;
    }

    ._title {
      font-size: var(--font-size-400);
      font-weight: var(--font-weight-medium);
      letter-spacing: 1px;
      line-height: 1.6;
      padding-top: calc(4 * var(--px-to-rem));
    }

    ._main {
      display: grid;
      gap: calc(32 * var(--px-to-rem));
      grid-template-columns: repeat(4, 1fr);
      padding-top: calc(40 * var(--px-to-rem));
    }

    ._cta {
      display: none;
    }

    ._empty {
      text-align: center;
    }

    @media (width <= 767px) {
      :scope {
        padding-block: calc(50 * var(--px-to-rem)) 0;
      }

      :scope:not(:first-of-type) {
        padding-top: calc(34 * var(--px-to-rem));
      }

      ._slug {
        line-height: 1;
      }

      ._main {
        gap: calc(24 * var(--px-to-rem)) calc(12 * var(--px-to-rem));
        grid-template-columns: repeat(2, 1fr);
        padding-top: calc(24 * var(--px-to-rem));
      }
    }
  }
}

/**
 * =============================================================================
 *
 * CTA section
 *
 * =============================================================================
 */
@layer projects {
  @scope (.scope.staff-cta) to (.scope) {
    :scope {
      display: none;
      justify-items: center;
      padding-block: calc(40 * var(--px-to-rem)) calc(50 * var(--px-to-rem));
    }

    ._inner {
      inline-size: var(--content-width);
    }

    @media (width <= 767px) {
      :scope {
        display: grid;
      }
    }
  }
}

/**
 * =============================================================================
 *
 * About section
 *
 * =============================================================================
 */
@layer projects {
  @scope (.scope.about) to (.scope) {
    :scope {
      display: grid;
      justify-items: center;
      padding-block: calc(100 * var(--px-to-rem));
      position: relative;
    }

    :scope::before {
      aspect-ratio: 1 / 1;
      background: #f7f2f2;
      border-radius: 100%;
      content: '';
      filter: blur(140px);
      height: 80%;
      inset: 0;
      margin: auto;
      position: absolute;
      width: auto;
      z-index: -1;
    }

    ._inner {
      inline-size: var(--content-width);
    }

    ._heading {
      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 {
      font-size: var(--font-size-500);
      font-weight: var(--font-weight-regular);
      line-height: 1.6;
      padding-top: calc(24 * var(--px-to-rem));
    }

    ._main {
      --_line-height: 2;
      --_font-size: var(--font-size-50);
      display: grid;
      font-size: var(--_font-size);
      gap: calc(var(--_font-size) * var(--_line-height));
      line-height: var(--_line-height);
      padding-top: calc(24 * var(--px-to-rem));
      text-align: center;
    }

    ._main p {
      text-align: inherit;
      word-break: keep-all;
    }

    @media (width <= 767px) {
      :scope {
        padding-block: calc(80 * var(--px-to-rem));
      }

      :scope::before {
        bottom: calc(80 * var(--px-to-rem));
        height: auto;
        top: auto;
        width: 70%;
      }

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

      ._title {
        font-size: calc(22 * var(--px-to-rem));
        font-weight: var(--font-weight-medium);
      }

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