:root {
  --blue: #1f5c90;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

.roboto-main {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body {
  background: #dfe8ef;
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.contact-area {
  position: absolute;
  top: 25%;
  left: 3.1%;
  width: 41%;
}

.contact-content {
  width: 100%;
}

h1,
p {
  margin: 0;
}

h1,
.role,
.contacts a {
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
}

h1 {
  font-size: clamp(2rem, 3.05vw, 3.25rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.role {
  margin-top: .24em;
  font-size: clamp(1.7rem, 2.65vw, 2.9rem);
  line-height: 1;
  font-style: italic;
  font-weight: 300;
}

.contacts {
  display: grid;
  gap: .16em;
  margin-top: clamp(1.9rem, 4.7vh, 3rem);
  font-size: clamp(1.42rem, 2.2vw, 2.45rem);
  line-height: 1.18;
  font-weight: 300;
}

.contacts a,
.social a {
  color: inherit;
  text-decoration: none;
}

.contacts a {
  width: fit-content;
}

.contacts a:nth-child(2),
.contacts a:nth-child(3) {
  font-weight: 400;
}

.social {
  display: flex;
  gap: .76rem;
  align-items: center;
  margin-top: clamp(1.8rem, 4.6vh, 3rem);
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.2rem, 2.8vw, 3rem);
  height: clamp(2.2rem, 2.8vw, 3rem);
}

.social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contacts a:hover,
.contacts a:focus-visible,
.social a:hover,
.social a:focus-visible {
  opacity: .78;
}

@media (max-width: 900px) {
  .hero-image {
    object-position: 52% center;
  }

  .contact-area {
    top: 12.2%;
    left: 6.2%;
    width: 70%;
  }

  h1 {
    font-size: clamp(1.85rem, 7.8vw, 3rem);
    white-space: normal;
  }

  .role {
    font-size: clamp(1.6rem, 6.8vw, 2.45rem);
  }

  .contacts {
    margin-top: 1.6rem;
    font-size: clamp(1.22rem, 5.2vw, 1.95rem);
  }

  .social {
    margin-top: 1.6rem;
  }

  .social a {
    width: clamp(2rem, 7.2vw, 2.7rem);
    height: clamp(2rem, 7.2vw, 2.7rem);
  }
}
