/* =========================================================
   CAREERS PAGE — HERO
   ========================================================= */

.iki-hero {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: clamp(420px, 68vh, 720px);
  padding: clamp(140px, 18vh, 220px) 0 clamp(60px, 8vw, 110px);

  background-color: #ffffff;
  background-image:
    url("../../assets/hero image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* even white wash across the whole image, fading to pure white at the
   bottom so it blends into the next (white) section */
.iki-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.62) 55%,
    rgba(255, 255, 255, 0.86) 78%,
    rgba(255, 255, 255, 1) 94%,
    #ffffff 100%
  );
}

.iki-hero .iki-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;

  padding: 0 24px 55px;

  text-align: center;
}

/* ---------- Subtitle (kicker) ---------- */

.iki-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 120%;
  letter-spacing: 0px;

  color: #000000;

  margin: 0 0 10px;
}

/* ---------- Title ---------- */

.iki-hero-title {
  margin: 0 auto;

  max-width: 1500px;

  font-family: "Geist", "Inter", sans-serif;
  font-size: 53px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0px;

  color: #000000;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .iki-hero .iki-wrap {
    padding: 0 24px 40px;
  }

  .iki-hero-title {
    font-size: 42px;
  }

  .iki-hero-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 820px) {
  .iki-hero {
    min-height: clamp(340px, 54vh, 480px);
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iki-hero-title {
    transition: none;
  }
}
