.front-page h1,
.front-page h2,
.front-page h3,
.front-page h4,
.front-page h5,
.front-page h6,
.front-page .h1,
.front-page .h2,
.front-page .h3,
.front-page .h4,
.front-page .h5,
.front-page .h6,
.front-page .h7 {
  text-transform: uppercase;
}

.front-page main {
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 234, 183, 0.18), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(242, 221, 209, 0.16), transparent 28%),
    linear-gradient(180deg, #fffefb 0%, #ffffff 38%, #fffdf9 100%);
}

.info-card {
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: 2.15rem 2.3rem 1.35rem;
  border-radius: var(--ka-radius-xl);
  box-shadow: var(--ka-shadow);
}

.info-card h2 {
  margin-bottom: 1rem;
  color: var(--ka-green);
  font-size: clamp(2.375rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 0.95;
}

.info-card p {
  min-height: 5.8rem;
  margin-bottom: 1.2rem;
  color: var(--ka-muted);
  font-size: 1rem;
  line-height: 1.35;
}

.info-card-mark {
  background:
    radial-gradient(circle at 18% 16%, rgba(252, 252, 250, 0.95), transparent 46%),
    linear-gradient(135deg, var(--ka-white-tint) 0%, #e2efbc 52%, #edf6dc 100%);
}

.info-card-stald {
  background:
    radial-gradient(circle at 82% 18%, rgba(252, 252, 250, 0.46), transparent 40%),
    linear-gradient(135deg, #faf3ef 0%, var(--ka-pig) 55%, #f1e4dc 100%);
}

.icon-row {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 5.8rem;
  margin-top: auto;
}

.icon-row img {
  width: 3rem;
  height: auto;
}

.icon-row-mark img {
  width: 9rem;
}

.icon-row-stable {
  align-items: flex-end;
  justify-content: center;
  gap: 1.45rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.icon-item:first-child img {
  width: 3.25rem;
}

.icon-item:nth-child(2) img {
  width: 3rem;
}

.icon-item:nth-child(3) img {
  width: 4.1rem;
}

.card-link {
  align-self: center;
  margin-top: 1.35rem;
  color: rgba(31, 36, 31, 0.82);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.career-section {
  color: #fff;
  background: var(--ka-dark);
}

.tall-photo {
  max-width: 23rem;
}

.small-photo {
  width: 7.5rem;
}

.crop-career-main {
  height: 33rem;
  object-position: center 42%;
}

.crop-career-side {
  height: 8rem;
  object-position: center 47%;
}

.career-copy h2 {
  max-width: 12ch;
  margin-bottom: 2rem;
  color: var(--ka-lime);
  font-size: clamp(2.375rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.02;
}

.career-copy p {
  max-width: 26rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.35;
}

.career-video {
  display: flex;
  align-items: end;
  gap: 1.5rem;
  justify-content: end;
}

.mini-play {
  position: absolute;
  inset: 0;
}

.mini-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
}

.mini-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.8rem solid white;
}

.cta-ribbon-wrap {
  position: relative;
  margin-top: 0;
  min-height: 22rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.wave-top-left {
  position: absolute;
  left: -9rem;
  top: 0.15rem;
  width: min(30rem, 55vw);
  pointer-events: none;
}

.cta-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: clamp(2rem, 8vw, 8rem);
  padding: 1.9rem 1.5rem;
  border-radius: 0 0 2.5rem 0;
  color: var(--ka-green);
  background:
    linear-gradient(90deg, rgba(216, 234, 183, 0) 0%, rgba(216, 234, 183, 0.65) 55%, #cde38d 100%);
}

.cta-ribbon a:last-child {
  margin-right: 2.75rem;
}

.social-head h2 {
  margin-bottom: 1rem;
  color: var(--ka-green);
  font-size: clamp(2.375rem, 4vw, 2.75rem);
  font-weight: 700;
}

.social-head p {
  max-width: 22rem;
  color: var(--ka-text);
  font-size: 1rem;
  line-height: 1.35;
}

.facebook-link img {
  width: 3.2rem;
  height: 3.2rem;
}

@media (min-width: 992px) {
  .facebook-link {
    margin-right: 80px;
  }
}

.feed-card img {
  height: 18rem;
}

.crop-feed-1 {
  object-position: center 71%;
}

.crop-feed-2 {
  object-position: center 74%;
}

.crop-feed-3 {
  object-position: center 76%;
}

.history-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 30%, rgba(242, 221, 209, 0.55), transparent 24%),
    linear-gradient(135deg, #fffefb 10%, #faf4ed 48%, #f4e4da 100%);
}

.wave-history {
  position: absolute;
  left: -7rem;
  top: 2rem;
  width: min(26rem, 42vw);
  pointer-events: none;
}

.history-copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
}

.history-icon {
  width: 4.25rem;
  margin-bottom: 2rem;
}

.history-copy p {
  max-width: 28rem;
  color: var(--ka-green);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .career-video {
    justify-content: start;
  }

  .wave-history {
    width: 16rem;
    left: -5rem;
  }
}

@media (max-width: 767.98px) {
  .info-card p {
    max-width: none;
    min-height: auto;
  }

  .info-card {
    min-height: auto;
  }

  .tall-photo {
    max-width: none;
  }

  .crop-career-main {
    height: 24rem;
  }

  .cta-ribbon {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 0;
  }

  .cta-ribbon-wrap {
    min-height: auto;
  }

  .wave-top-left {
    display: none;
  }

  .wave-history {
    display: none;
  }

  .history-copy {
    padding-top: 11rem;
  }
}
