@font-face {
  font-family: "Uncut Sans";
  src: url("./assets/fonts/Uncut-Sans-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("./assets/fonts/Uncut-Sans-Semibold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --background: #121111;
  --foreground: #ffffff;
  --accent: #dbff55;
  --page-padding: clamp(28px, 7.78vw, 112px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Uncut Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.hero {
  isolation: isolate;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 720px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--background);
}

.hero__background {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    url("./assets/images/background-pattern.png") 0 0 / 18.2px 18.2px repeat,
    linear-gradient(238deg, #161616 0%, rgb(0 0 0 / 80%) 50%, #000000 100%);
  background-blend-mode: screen, normal;
}

.hero__background::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 0%, rgb(0 0 0 / 12%) 68%, rgb(0 0 0 / 38%) 100%);
  content: "";
}

.availability {
  position: absolute;
  z-index: 5;
  top: clamp(52px, 12.45vh, 112px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.16px;
  line-height: 20px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.availability__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 12px rgb(140 255 46 / 50%);
}

.hero__name {
  position: absolute;
  z-index: -1;
  top: 59%;
  left: 50%;
  width: max-content;
  margin: 0;
  color: #ffffff;
  font-size: clamp(156px, 17.78vw, 256px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.hero__portrait {
  position: absolute;
  z-index: 1;
  bottom: clamp(-290px, -26.33vh, -168px);
  left: 50%;
  width: min(63.82vw, 919px);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

.hero__footer {
  position: absolute;
  z-index: 4;
  right: var(--page-padding);
  bottom: clamp(48px, 7.55vh, 68px);
  left: var(--page-padding);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.intro {
  display: flex;
  width: 320px;
  max-width: 27vw;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.intro__text {
  margin: 0;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.contact-link span {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 16px;
  align-items: center;
  border-radius: 6px;
  background: #ffffff;
  color: #171717;
  font-size: 20px;
  letter-spacing: -0.05em;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-link img {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 180ms ease;
}

.contact-link:hover span,
.contact-link:focus-visible span {
  background: var(--accent);
}

.contact-link:hover img,
.contact-link:focus-visible img {
  transform: translate(2px, -2px);
}

.contact-link:focus-visible {
  border-radius: 7px;
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.hero__role {
  display: flex;
  margin: 0;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  font-size: clamp(48px, 5.56vw, 80px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-align: right;
  white-space: nowrap;
  mix-blend-mode: exclusion;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 700px;
  }

  .hero__portrait {
    width: min(73vw, 800px);
    bottom: -22vw;
  }

  .hero__footer {
    bottom: 44px;
  }

  .intro {
    max-width: 31vw;
  }
}

@media (max-width: 760px) {
  :root {
    --page-padding: 24px;
  }

  .hero {
    min-height: 760px;
    max-height: none;
  }

  .availability {
    top: 32px;
    font-size: 13px;
  }

  .hero__name {
    top: 42%;
    font-size: clamp(84px, 27vw, 156px);
  }

  .hero__portrait {
    bottom: -4%;
    width: min(152vw, 650px);
  }

  .hero__footer {
    top: 78px;
    right: var(--page-padding);
    bottom: 28px;
    left: var(--page-padding);
    align-items: stretch;
    flex-direction: column-reverse;
    justify-content: space-between;
    gap: 24px;
  }

  .intro {
    z-index: 3;
    width: 100%;
    max-width: 285px;
  }

  .intro__text {
    font-size: 18px;
  }

  .contact-link span {
    min-height: 34px;
    padding: 7px 14px;
    font-size: 18px;
  }

  .contact-link img {
    width: 26px;
    height: 26px;
  }

  .hero__role {
    align-self: flex-end;
    font-size: clamp(34px, 10.5vw, 56px);
    line-height: 0.98;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 720px;
  }

  .hero__portrait {
    bottom: 0;
    width: 164vw;
  }

  .hero__name {
    top: 40%;
  }

  .hero__footer {
    bottom: 22px;
  }

  .intro {
    max-width: 260px;
  }

  .intro__text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link span,
  .contact-link img {
    transition: none;
  }
}
