/* ARLEA connected contact experience */
.arlea-redesign .ar-contact-system {
  --ar-contact-accent: #52677d;
  position: relative;
  isolation: isolate;
  min-height: 780px;
  overflow: hidden;
  padding: clamp(108px, 10vw, 156px) 0 clamp(70px, 7vw, 104px);
  background: var(--ar-navy);
  color: #f4f3ef;
}

.arlea-redesign .ar-contact-media,
.arlea-redesign .ar-contact-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arlea-redesign .ar-contact-media {
  z-index: -3;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.45) contrast(1.08);
}

.arlea-redesign .ar-contact-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 20, 36, .96) 0%, rgba(5, 20, 36, .86) 45%, rgba(5, 20, 36, .58) 100%),
    linear-gradient(0deg, rgba(5, 20, 36, .78) 0%, rgba(5, 20, 36, .08) 68%);
}

.arlea-redesign .ar-contact-inner {
  position: relative;
  z-index: 1;
}

.arlea-redesign .ar-contact-heading {
  max-width: 790px;
}

.arlea-redesign .ar-contact-heading .ar-section-label {
  display: flex;
  align-items: center;
  gap: 18px;
}

.arlea-redesign .ar-contact-heading .ar-section-label::after {
  width: 42px;
  height: 1px;
  background: rgba(219, 225, 230, .32);
  content: "";
}

.arlea-redesign .ar-contact-heading h2 {
  margin: 26px 0 20px;
  color: #f4f3ef;
  font-family: var(--ar-font-display);
  font-size: clamp(48px, 5.8vw, 82px);
  font-weight: 300;
  letter-spacing: -.042em;
  line-height: .99;
  text-transform: uppercase;
}

.arlea-redesign .ar-contact-heading h2 span,
.arlea-redesign .ar-contact-statement p span {
  color: var(--ar-contact-accent);
}

.arlea-redesign .ar-contact-heading > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(226, 231, 234, .7);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.75;
}

.arlea-redesign .ar-contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 1.65fr);
  margin-top: clamp(42px, 5vw, 68px);
  border-top: 1px solid rgba(215, 222, 227, .26);
  border-left: 1px solid rgba(215, 222, 227, .26);
}

.arlea-redesign .ar-contact-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 28px 28px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(215, 222, 227, .26);
  border-bottom: 1px solid rgba(215, 222, 227, .26);
  border-radius: 0;
  background: rgba(7, 24, 43, .28);
  color: #f4f3ef;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.arlea-redesign .ar-contact-card::after {
  position: absolute;
  inset: auto 28px 0;
  height: 2px;
  background: var(--ar-contact-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .3s ease, transform .3s ease;
}

.arlea-redesign .ar-contact-card-number {
  position: absolute;
  top: 28px;
  right: 26px;
  color: rgba(219, 225, 230, .36);
  font-size: 9px;
  letter-spacing: .16em;
}

.arlea-redesign .ar-contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(82, 103, 125, );
  border-radius: 50%;
  color: #52677d;
}

.arlea-redesign .ar-contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.arlea-redesign .ar-contact-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
}

.arlea-redesign .ar-contact-card-copy strong {
  color: #f4f3ef;
  font-family: var(--ar-font-display);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 300;
  letter-spacing: .025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.arlea-redesign .ar-contact-card-copy > span {
  overflow-wrap: anywhere;
  color: rgba(219, 225, 230, .67);
  font-size: 12px;
  line-height: 1.5;
}

.arlea-redesign .ar-contact-arrow {
  margin-top: auto;
  color: rgba(244, 243, 239, .82);
  font-size: 22px;
  font-weight: 300;
  transition: transform .3s ease;
}

.arlea-redesign .ar-contact-project-card {
  justify-content: center;
  padding: 34px 48px;
  background: rgba(7, 24, 43, .66);
}

.arlea-redesign .ar-contact-project-card .ar-contact-card-copy {
  gap: 8px;
  margin-top: 0;
}

.arlea-redesign .ar-contact-project-card .ar-contact-card-copy strong {
  font-size: clamp(23px, 2vw, 31px);
  letter-spacing: .01em;
}

.arlea-redesign .ar-contact-project-corner {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 17px;
  height: 17px;
  border-top: 2px solid var(--ar-contact-accent);
  border-left: 2px solid var(--ar-contact-accent);
}

.arlea-redesign .ar-contact-project-action {
  display: flex;
  width: min(100%, 260px);
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(219, 225, 230, .4);
  color: #f4f3ef;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}

.arlea-redesign .ar-contact-card:hover {
  z-index: 1;
  background: rgba(15, 39, 63, .78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  transform: translateY(-3px);
}

.arlea-redesign .ar-contact-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.arlea-redesign .ar-contact-card:hover .ar-contact-arrow {
  transform: translateX(5px);
}

.arlea-redesign .ar-contact-project-card:hover .ar-contact-project-action {
  background: #f4f3ef;
  color: var(--ar-ink);
}

.arlea-redesign .ar-contact-card:focus-visible {
  z-index: 2;
  outline: 2px solid #f4f3ef;
  outline-offset: -5px;
}

.arlea-redesign .ar-contact-statement {
  --ar-contact-accent: #52677d;
  position: relative;
  min-height: clamp(126px, 11vw, 172px);
  overflow: hidden;
  border-bottom: 1px solid var(--ar-line);
  background: var(--ar-paper);
  color: var(--ar-ink);
}

.arlea-redesign .ar-contact-statement .shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  place-items: center;
}

.arlea-redesign .ar-contact-statement p {
  margin: 0;
  font-family: var(--ar-font-display);
  font-size: clamp(19px, 2.15vw, 31px);
  font-weight: 300;
  letter-spacing: .22em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.arlea-redesign .ar-contact-statement-lines {
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    radial-gradient(75% 140% at 15% 100%, transparent 61%, rgba(37, 59, 83, .18) 61.5%, transparent 62%),
    radial-gradient(70% 130% at 85% 0%, transparent 65%, rgba(37, 59, 83, .14) 65.5%, transparent 66%);
}

@media (max-width: 1180px) {
  .arlea-redesign .ar-contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arlea-redesign .ar-contact-project-card {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .arlea-redesign .ar-contact-system {
    min-height: 0;
    padding: 94px 0 66px;
  }

  .arlea-redesign .ar-contact-media {
    object-position: 62% center;
  }

  .arlea-redesign .ar-contact-overlay {
    background: linear-gradient(90deg, rgba(5, 20, 36, .96), rgba(5, 20, 36, .76));
  }

  .arlea-redesign .ar-contact-heading h2 {
    margin-top: 22px;
    font-size: clamp(42px, 13vw, 66px);
  }

  .arlea-redesign .ar-contact-copy-break {
    display: none;
  }

  .arlea-redesign .ar-contact-card-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .arlea-redesign .ar-contact-card,
  .arlea-redesign .ar-contact-project-card {
    min-height: 224px;
    padding: 26px;
  }

  .arlea-redesign .ar-contact-project-card {
    min-height: 260px;
  }

  .arlea-redesign .ar-contact-statement p {
    max-width: 330px;
    letter-spacing: .14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arlea-redesign .ar-contact-card,
  .arlea-redesign .ar-contact-card::after,
  .arlea-redesign .ar-contact-arrow,
  .arlea-redesign .ar-contact-project-action {
    transition: none;
  }
}
