/* Company profile: loaded only on the company page. */
.hiro-company {
  --hiro-company-navy: #101a4d;
  --hiro-company-gold: #b88b42;
  max-width: 920px;
  margin: 0 auto 64px;
  color: #273044;
  font-size: 16px;
  line-height: 1.75;
}

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

.hiro-company__intro {
  margin-bottom: 30px;
  padding: 30px 36px;
  border-left: 4px solid var(--hiro-company-gold);
  background: #f5f7fb;
}

.hiro-company__eyebrow,
.hiro-company__section-label {
  margin: 0 0 8px;
  color: #956b30;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
}

.hiro-company__lead {
  margin: 0;
  color: var(--hiro-company-navy);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
}

.hiro-company__summary {
  margin: 12px 0 0;
  color: #566074;
  font-size: 14px;
}

.hiro-company__panel {
  margin-top: 22px;
  padding: 32px 38px 38px;
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 26, 77, .055);
}

.hiro-company__section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.hiro-company__section-number {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--hiro-company-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
}

#bmd .hiro-company__section-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hiro-company-navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.hiro-company__section-label {
  margin-bottom: 2px;
}

.hiro-company__timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 0 0 16px;
  padding: 0 0 0 34px;
  border-left: 2px solid #e0d1b9;
  list-style: none;
}

.hiro-company__timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0 0 30px;
  list-style: none;
}

.hiro-company__timeline li:last-child {
  padding-bottom: 0;
}

.hiro-company__timeline li::before {
  position: absolute;
  top: 10px;
  left: -43px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--hiro-company-gold);
  border-radius: 50%;
  background: #fff;
  content: '';
}

.hiro-company__year {
  color: var(--hiro-company-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.hiro-company__year span {
  margin-left: 2px;
  font-size: 14px;
}

.hiro-company__event h3 {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: none;
  color: #222b3d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.hiro-company__event p {
  margin: 0;
  color: #647086;
  font-size: 14px;
  line-height: 1.6;
}

.hiro-company__facts {
  margin: 0;
  border-top: 1px solid #e3e7ef;
}

.hiro-company__facts > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 6px;
  border-bottom: 1px solid #e3e7ef;
}

.hiro-company__facts dt,
.hiro-company__facts dd {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.hiro-company__facts dt {
  color: #667088;
  font-size: 14px;
  font-weight: 700;
}

.hiro-company__facts dd {
  color: #202a40;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .hiro-company {
    margin-bottom: 42px;
    font-size: 15px;
  }

  .hiro-company__intro {
    margin-bottom: 18px;
    padding: 22px 20px;
  }

  .hiro-company__panel {
    margin-top: 16px;
    padding: 24px 20px 28px;
  }

  .hiro-company__section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hiro-company__section-number {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  #bmd .hiro-company__section-heading h2 {
    font-size: 20px !important;
  }

  .hiro-company__timeline {
    margin-left: 9px;
    padding-left: 23px;
  }

  .hiro-company__timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 24px;
  }

  .hiro-company__timeline li::before {
    left: -32px;
  }

  .hiro-company__year {
    font-size: 22px;
  }

  .hiro-company__facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 13px 0;
  }
}

/* The company page's contact panel replaces its legacy image banners. */
#bmd .hiro-company-contact {
  max-width: 920px;
  margin: 0 auto 32px;
  overflow: hidden;
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  background: #fff;
  color: #202a40;
  text-align: left;
  box-shadow: 0 12px 32px rgba(16, 26, 77, .07);
}

#bmd .hiro-company-contact *,
#bmd .hiro-company-contact *::before,
#bmd .hiro-company-contact *::after {
  box-sizing: border-box;
}

#bmd .hiro-company-contact :where(p, h2, h3) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  letter-spacing: .02em;
}

#bmd .hiro-company-contact__header {
  display: grid;
  grid-template-columns: 56% 44%;
  border-top: 4px solid #c5a366;
  background: #101a4d;
}

#bmd .hiro-company-contact__copy {
  align-self: center;
  min-width: 0;
  padding: 32px;
}

#bmd .hiro-company-contact__photos {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  background: #c5a366;
}

#bmd .hiro-company-contact__photo {
  min-height: 190px;
  background-image: url('../images/company-campus.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

#bmd .hiro-company-contact__photo--second {
  background-position: right center;
}

#bmd .hiro-company-contact__eyebrow {
  margin-bottom: 14px;
  color: #e7cea1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

#bmd .hiro-company-contact h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

#bmd .hiro-company-contact__intro {
  margin-top: 14px;
  color: #e0e5f0;
  font-size: 15px;
  line-height: 1.9;
}

#bmd .hiro-company-contact__eyebrow span,
#bmd .hiro-company-contact h2 span {
  display: inline-block;
}

#bmd .hiro-company-contact__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 28px;
}

#bmd .hiro-company-contact__choice {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid #e1e5ed;
  border-radius: 8px;
  background: #fff;
}

#bmd .hiro-company-contact__choice--materials {
  border-color: #e6d7bc;
  background: #fcf9f3;
}

#bmd .hiro-company-contact__label {
  margin-bottom: 8px;
  color: #686450;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

#bmd .hiro-company-contact h3 {
  color: #101a4d;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

#bmd .hiro-company-contact__description {
  margin: 10px 0 22px;
  color: #586174;
  font-size: 14px;
  line-height: 1.85;
}

#bmd .hiro-company-contact__action {
  margin-top: auto;
}

#bmd .hiro-company-contact a.hiro-company-contact__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid #101a4d;
  border-radius: 6px;
  color: #101a4d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

#bmd .hiro-company-contact a.hiro-company-contact__button--primary {
  border-color: #d9bc83;
  background: #ead1a0;
}

#bmd .hiro-company-contact a.hiro-company-contact__button--secondary {
  background: #fff;
}

#bmd .hiro-company-contact a.hiro-company-contact__button:hover {
  box-shadow: 0 3px 10px rgba(16, 26, 77, .15);
}

#bmd .hiro-company-contact a.hiro-company-contact__button:focus-visible {
  outline: 3px solid #a97727;
  outline-offset: 3px;
}

#bmd .hiro-company-contact__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 28px;
  border-top: 1px solid #e5e8ee;
  background: #f6f7fa;
}

#bmd .hiro-company-contact__phone p {
  color: #586174;
  font-size: 13px;
  line-height: 1.6;
}

#bmd .hiro-company-contact__phone .hiro-company-contact__number {
  color: #101a4d;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 600px) {
  #bmd .hiro-company-contact__header {
    display: flex;
    flex-direction: column;
  }

  #bmd .hiro-company-contact__copy {
    padding: 26px 22px;
  }

  #bmd .hiro-company-contact__photos {
    order: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 2px;
  }

  #bmd .hiro-company-contact__photo {
    min-height: 0;
    aspect-ratio: 196 / 110;
  }

  #bmd .hiro-company-contact h2 {
    font-size: 24px !important;
  }

  #bmd .hiro-company-contact__choices {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  #bmd .hiro-company-contact__choice {
    padding: 20px;
  }

  #bmd .hiro-company-contact__phone {
    flex-direction: column;
    gap: 4px;
    padding: 20px;
  }
}
