.contact-page .contact-hero {
  min-height: clamp(620px, 78svh, 780px);
}

.contact-page .contact-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(150px, 18vh, 230px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 30, 61, 0) 0%, rgba(0, 30, 61, 0.44) 54%, var(--blue) 100%);
}

.contact-page .contact-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 30, 61, 0.98) 0%, rgba(0, 30, 61, 0.87) 34%, rgba(0, 30, 61, 0.34) 72%, rgba(0, 30, 61, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 30, 61, 0.04) 42%, rgba(0, 30, 61, 0.38) 70%, var(--blue) 100%);
}

.contact-page .contact-hero .hero-inner {
  width: min(1320px, calc(100% - clamp(48px, 7vw, 112px)));
  min-height: calc(clamp(620px, 78svh, 780px) - var(--header-h));
  grid-template-columns: minmax(350px, 0.76fr) minmax(540px, 1.24fr);
  gap: clamp(70px, 8vw, 138px);
  padding: clamp(70px, 7vw, 108px) 0 clamp(76px, 8vw, 116px);
}

.contact-page .contact-hero .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  transform: translateY(clamp(-34px, -4svh, -18px));
}

.contact-page .contact-hero-title {
  animation: heroSoftFade 2.2s linear 0.22s both;
}

.contact-page .contact-hero .hero-copy::after {
  content: "";
  display: block;
  width: clamp(178px, 16vw, 246px);
  height: 1px;
  margin-top: clamp(16px, 2vw, 22px);
  opacity: 0.9;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(139, 172, 71, 0.95) 0%,
    rgba(139, 172, 71, 0.5) 76%,
    rgba(139, 172, 71, 0) 100%
  );
  transform-origin: left center;
  animation: contactHeroLineIn 0.72s cubic-bezier(0.22, 0.72, 0.22, 1) 0.48s both;
}

@keyframes contactHeroLineIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

html.contact-effects-seen .contact-page .contact-hero-title,
html.contact-effects-seen .contact-page .contact-hero .hero-copy::after {
  animation: none;
}

html.contact-effects-seen .contact-page .contact-hero-title {
  opacity: 1;
}

html.contact-effects-seen .contact-page .contact-hero .hero-copy::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.contact-page .contact-team-section {
  padding-top: clamp(70px, 8vw, 112px);
}

.contact-page .benefit-tile {
  transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-page .benefit-tile img {
  width: 68px;
  height: 68px;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 180ms ease;
}

.contact-page .benefit-tile:nth-child(-n + 2) img {
  width: 74px;
  height: 74px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .benefit-tile:hover {
    border-color: rgba(139, 172, 71, 0.5);
    background: rgba(7, 44, 82, 0.38);
  }

  .contact-page .benefit-tile:hover img {
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
}

.contact-page .contact-grid--primary {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 86px);
  align-items: stretch;
}

.contact-page .person-card--primary {
  position: relative;
  padding: 28px clamp(20px, 3vw, 34px) 34px;
  border-top: 1px solid rgba(139, 172, 71, 0.42);
}

.contact-page .contact-founder {
  width: min(900px, 100%);
  margin: clamp(42px, 6vw, 72px) auto 0;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.contact-page .contact-founder__line {
  width: 64px;
  height: 1px;
  margin-top: 13px;
  background: rgba(139, 172, 71, 0.52);
}

.contact-page .contact-founder h2 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-page .contact-founder p {
  margin: 0;
  color: rgba(217, 226, 234, 0.58);
  font-size: 0.92rem;
}

.contact-page .site-footer {
  border-top: 0;
  padding-top: 0;
  padding-bottom: 42px;
}

.contact-page .site-footer::before {
  content: "";
  display: block;
  width: min(var(--max), calc(100% - 40px));
  height: 1px;
  margin: 0 auto 46px;
  background: rgba(139, 172, 71, 0.3);
}

.contact-page .footer-mark img {
  width: 116px;
  opacity: 0.22;
}

.contact-page .footer-title {
  color: rgba(139, 172, 71, 0.78);
}

.contact-page .footer-col a,
.contact-page .footer-col p {
  color: rgba(217, 226, 234, 0.56);
}

.contact-page .footer-col a {
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}

.contact-page .footer-col a:hover,
.contact-page .footer-col a:focus-visible {
  color: rgba(255, 255, 255, 0.86);
}

.contact-page .footer-social img {
  width: 28px;
  opacity: 0.58;
  transition: opacity 180ms ease, filter 180ms ease;
}

@media (max-width: 960px) {
  .contact-page .contact-hero .hero-inner {
    width: min(760px, calc(100% - clamp(40px, 8vw, 72px)));
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero .hero-copy {
    transform: none;
  }

  .contact-page .contact-grid--primary {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .contact-page .contact-hero {
    min-height: auto;
  }

  .contact-page .contact-hero .hero-inner {
    width: calc(100% - 40px);
    min-height: auto;
    padding: 92px 0 86px;
  }

  .contact-page .contact-hero .hero-copy::after {
    width: 154px;
    margin-top: 16px;
  }

  .contact-page .contact-grid--primary {
    grid-template-columns: 1fr;
  }

  .contact-page .person-card--primary {
    padding-inline: 16px;
  }

  .contact-page .contact-founder {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .contact-page .contact-founder__line {
    width: 44px;
  }

  .contact-page .site-footer::before {
    margin-bottom: 36px;
  }

  .contact-page .footer-mark img {
    width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-hero-title,
  .contact-page .contact-hero .hero-copy::after {
    opacity: 1;
    animation: none;
  }

  .contact-page .contact-hero .hero-copy::after {
    transform: scaleX(1);
  }

  .contact-page .benefit-tile,
  .contact-page .benefit-tile img {
    transition: none;
  }

  .contact-page .benefit-tile:hover img {
    transform: none;
  }
}
