body.home-page {
  background: var(--color-mc-blue-dark);
}

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 20px 20px;
}

.home-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 126px;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    180deg,
    rgb(31 49 101 / 54%) 0%,
    rgb(55 91 170 / 30%) 69.7115%,
    rgb(32 54 115 / 0%) 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
}

.home-hero__bg {
  position: relative;
  z-index: -3;
  object-fit: cover;
  object-position: center center;
}

.home-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: brightness(1.01) contrast(1.08) saturate(1.1) hue-rotate(-12deg);
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(0deg, rgb(30 59 132 / 30%), rgb(30 59 132 / 30%)),
    linear-gradient(
      180deg,
      rgb(86 119 203 / 22%) 0%,
      rgb(56 102 195 / 18%) 43%,
      rgb(31 80 178 / 24%) 100%
    );
}

.home-hero__shape {
  position: absolute;
  z-index: 1;
  height: auto;
  opacity: 1;
  filter: saturate(1.28) brightness(1.08);
  will-change: transform;
}

.home-hero__shape--left {
  top: 154px;
  left: 287px;
  width: 795px;
  height: 634px;
}

.home-hero__shape--right {
  top: 184px;
  left: 650px;
  width: 821px;
  height: 691px;
  opacity: 1;
}

.home-hero__dot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.home-hero__dot--cyan {
  top: 286px;
  left: 223px;
  width: 150px;
  height: 150px;
  background: rgb(72 191 221 / 88%);
}

.home-hero__dot--teal {
  top: 452px;
  right: auto;
  left: 1411px;
  width: 150px;
  height: 150px;
  background: rgb(89 183 179 / 72%);
}

.home-hero__dot--gold {
  top: 242px;
  left: 1328px;
  width: 75px;
  height: 75px;
  background: var(--color-mc-gold);
}

.home-hero h1 {
  position: absolute;
  z-index: 3;
  top: 392px;
  left: 502px;
  max-width: 770px;
  color: var(--color-mc-white);
  font-size: clamp(7rem, 11.01vw, 180px);
  font-weight: 600;
  line-height: 0.85;
  white-space: nowrap;
}

.home-feature {
  padding-top: 24px;
  margin-bottom: 40px;
}

.home-feature__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 24px;
  justify-content: end;
  align-items: start;
}

.home-feature-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--color-mc-white);
  background: var(--color-mc-blue-deep);
  border-radius: 20px;
  text-decoration: none;
  height: 100%;
}

.home-feature h3 {
  padding: 9% 12% 0;
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
}

.home-feature-card img:not(.home-feature-card__bg) {
  position: relative;
  z-index: 1;
}

.home-feature-card .mc-button {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
}

.home-feature-card:focus-visible {
  outline: 2px solid var(--color-mc-teal);
  outline-offset: 0;
}

.home-feature-card__bg {
  position: absolute;
  z-index: 0;
  max-width: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.home-feature-card:hover .home-feature-card__bg,
.home-feature-card:focus-visible .home-feature-card__bg {
  opacity: 1;
}

.home-feature-card--h1 .home-feature-card__bg {
  width: 100%;
  top: 10%;
  right: 7%;
}

.home-feature-card--h2 .home-feature-card__bg {
  width: 100%;
  bottom: 18%;
  right: 10%;
}

.home-feature-card--h3 .home-feature-card__bg {
  width: 150%;
  bottom: -24%;
  left: -24%;
  z-index: 3;
}

.home-feature-card--join h3 {
  padding: 0 0 0 60px;
}

.home-feature-card__join-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
  filter: saturate(0.58) brightness(1.05) contrast(1.04);
}

.home-feature-card--join::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgb(204 219 255 / 16%) 0%,
      rgb(218 229 255 / 12%) 46%,
      rgb(232 239 255 / 34%) 100%
    ),
    linear-gradient(0deg, rgb(31 52 118 / 16%), rgb(31 52 118 / 16%));
  content: "";
}

.home-feature-card__title {
  position: absolute;
  bottom: 88px;
  left: 40px;
  z-index: 3;
  color: var(--color-mc-blue-dark);
  line-height: 1.125;
}

/* career */
.home-careers {
  position: relative;
  overflow: hidden;
  background: url(home/home-join-image.jpg) center 58% / cover no-repeat;
  border-radius: 20px;
  padding: 8% 5% 5% 5%;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
}

.home-careers__panel {
  display: grid;
  gap: 12px;
}

.home-careers__copy,
.home-careers__panel {
  position: relative;
  z-index: 2;
}

.home-careers__panel .mc-eyebrow {
  position: absolute;
  top: -45px;
}

.home-careers__panel h3 {
  margin-bottom: 16px;
}

.home-career__item {
  color: var(--color-mc-blue-dark);
  font-size: var(--font-size-m);
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 0;
  background: var(--color-mc-gray-light2);
  border-radius: 20px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}

.home-career__item strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: var(--font-size-s);
    line-height: 1.125;
    font-weight: 500;
}

.home-career__item:hover,
.home-career__item:focus-visible {
  background-color: var(--color-mc-white);
  text-decoration: none !important;
}

.home-career__item:focus-visible {
  outline: 2px solid var(--color-mc-teal);
  outline-offset: 0;
}

.home-career__action {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 40px;
}

.home-career__action > .mc-button:last-child {
  grid-column: 2;
}

.home-career__action .home-career__item {
  grid-template-columns: auto 1fr;
  gap: 8px;
  min-height: 80px;
}

.home-careers__count {
  color: var(--color-mc-teal);
  line-height: 1;
}

/* animation */
/* @media (prefers-reduced-motion: no-preference) { */
  .home-hero__shape,
  .home-hero__dot {
    animation: home-hero-drift 8s ease-in-out infinite;
  }

  .home-hero__shape--left,
  .home-hero__dot--cyan {
    animation-delay: -1.1s;
  }

  .home-hero__shape--right,
  .home-hero__dot--teal {
    animation-delay: -2.4s;
  }

  .home-hero__dot--gold {
    animation-delay: -3.2s;
  }
/* } */

@keyframes home-hero-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 20px, 0);
  }
}

@media (max-width: 1700px) {
  .home-hero__shape--left {
    top: 8.912vw;
    left: 16.609%;
    width: 46.007%;
    height: 36.69vw;
  }

  .home-hero__shape--right {
    top: 10.648vw;
    left: 37.616%;
    width: 47.512%;
    height: 39.988vw;
  }

  .home-hero__dot--cyan {
    top: 16.551vw;
    left: 12.905%;
    width: 8.681vw;
    height: 8.681vw;
  }

  .home-hero__dot--teal {
    top: 26.157vw;
    left: 81.655%;
    width: 8.681vw;
    height: 8.681vw;
  }

  .home-hero__dot--gold {
    top: 14.005vw;
    left: 76.852%;
    width: 4.34vw;
    height: 4.34vw;
  }

  .home-hero h1 {
    top: 22.685vw;
    left: 29.051%;
    max-width: 44.56%;
    font-size: 11.01vw;
  }
}

@media (min-width: 1301px) {
  .join-job__layout {
    font-size: var(--font-size-s);
    margin-top: 60px;
  }

  .home-career__item strong {
    font-size: var(--font-size-m);
  }
}

@media (max-width: 1100px) {
  .home-feature__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feature-card--join {
    grid-column: 1 / -1;
    height: 320px;
  }

  .home-careers {
    grid-template-columns: 1fr;
    gap: 96px;
  }
}

@media (max-width: 1100px) {
  .home-feature-card--join .home-feature-card__title {
    text-align: right;
    padding-right: clamp(6.25rem, 14.5vw, 10rem);
    bottom: 76px;
  }

  .home-feature-card--h3 .home-feature-card__bg {
      width: 50%;
      bottom: -30%;
      left: auto;
      right: -15%;
      transform: rotate(-33deg);
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .home-feature-card--join {
    height: clamp(220px, 28vw, 320px);
  }
}

@media (max-width: 700px) {
  .home-hero__shape,
  .home-hero__dot {
    animation: none;
    will-change: auto;
  }

  .home-feature {
    padding: 24px 0;
    margin-bottom: 0;
  }

  .home-feature-card {
    max-width: 380px;
    margin-inline: auto;
  }

  .home-feature-card--h3 .home-feature-card__bg {
    width: 340px;
    bottom: -70px;
    left: auto;
    right: 0;
    transform: translateX(12%) rotate(-33deg);
  }

  .home-careers {
    padding: 36px 24px 24px 24px;
  }

 .home-career__action {
    grid-template-columns: 1fr;
  }

  .home-career__action .mc-button {
    justify-self: end;
  }

  .home-feature__grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card .mc-button {
    right: 24px;
    bottom: 24px;
  }
}

@media (hover: none) {
  .home-feature-card__bg {
    transition: opacity 0.5s;
  }
}
