/* Who we are shares the How you can help cards in css/join.css.
   These rules only fit the illustrations on this page. */

.part-hero h1 { max-width: 18ch; }
.part-hero .part-intro { margin-top: 1.05rem; max-width: 40rem; }

.part-visual.is-phone { background: #04182c; }
.part-visual.is-phone img {
  object-fit: cover;
  object-position: 22% center;
  background: #04182c;
}

.part-visual.is-mark { background: #f7fbff; }
.part-visual.is-mark img {
  object-fit: contain;
  height: 20rem;
  padding: 1.4rem;
  background: #f7fbff;
}

.part-visual.is-glow { background: #14082e; }
.part-visual.is-glow img {
  object-fit: contain;
  background: #14082e;
}

.part-way:nth-child(5) { background: linear-gradient(180deg, #fff 0%, #f6f3ff 100%); }
.who-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.45rem 0 0;
  padding: 0.95rem 1.25rem 1.05rem;
  border-radius: 1rem;
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(13, 27, 42, 0.18);
  text-decoration: none;
}
.who-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.who-contact strong {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.who-contact:hover strong { color: #8fdfff; }

.part-close strong { max-width: 36rem; }
.part-close { margin-bottom: 3.2rem; }
.part-close a {
  display: inline-block;
  margin-top: 0.85rem;
  color: #8fdfff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  text-decoration: none;
}
.part-close a:hover { color: #fff; }

@media (max-width: 900px) {
  .part-visual.is-mark img { height: 16rem; padding: 0.8rem; }
}
