:root {
  --design-width: 1728;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overscroll-behavior-y: none;
}

body {
  font-family: 'Open Sauce Two', sans-serif;
  background: #f9f4eb;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 11.058%,
    rgba(255, 255, 255, 0) 50.622%,
    rgba(0, 0, 0, 0.15) 72.115%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero__logo {
  position: absolute;
  left: clamp(20px, calc(120 / var(--design-width) * 100vw), 120px);
  top: clamp(20px, calc(56 / var(--design-width) * 100vw), 56px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
}

.hero__avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.hero__name {
  font-size: 16px;
  color: #fff;
}

.hero__role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__about {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(801 / 1086 * 100%);
  z-index: 2;
  background: #f9f4eb;
  color: #000;
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, calc(150 / var(--design-width) * 100vw), 150px);
  padding: clamp(40px, calc(100 / var(--design-width) * 100vw), 100px) clamp(20px, calc(120 / var(--design-width) * 100vw), 120px);
}

.hero__intro {
  font-family: 'Open Sauce Two', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: normal;
  flex-shrink: 0;
}

.hero__intro p {
  font-weight: 500;
}

.hero__intro p + p {
  color: rgba(0, 0, 0, 0.5);
}

.hero__description {
  font-family: 'Open Sauce Two', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  max-width: 526px;
}

@media (max-width: 900px) {
  :root {
    --mobile-design-width: 440;
    --mobile-design-height: 1086;
  }

  .hero {
    height: 100dvh;
    min-height: 100dvh;
  }

  .hero__logo {
    left: clamp(12px, calc(16 / var(--mobile-design-width) * 100vw), 16px);
    top: clamp(16px, calc(32 / var(--mobile-design-height) * 100dvh), 32px);
  }

  .hero__bg {
    object-position: 50% 40%;
    transform: translateY(-108px);
  }

  .hero__about {
    top: calc(555 / 956 * 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: clamp(40px, calc(100 / var(--mobile-design-width) * 100vw), 100px) clamp(12px, calc(16 / var(--mobile-design-width) * 100vw), 16px);
  }

  .hero__description {
    max-width: none;
  }
}
