.contact-page {
  overflow: clip;
}
.contact-page [id] {
  scroll-margin-top: 115px;
}
.contact-page h2 {
  font-size: clamp(32px, 3.5vw, 47px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.8px;
}
.contact-page p:not(.eyebrow) {
  line-height: 1.8;
}
.contact-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #153a55;
  padding: 30px 0 75px;
  min-height: 480px;
}
.contact-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/contact-hero.webp?v=2026.10.22.5") center 52% / cover;
}
.contact-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #061b2bef, #061b2bab 58%, #061b2b38);
}
.contact-breadcrumb {
  display: flex;
  gap: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #c1cfd9;
  margin-bottom: 38px;
}
.contact-hero h1 {
  font-size: clamp(42px, 4.8vw, 67px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1.2px;
}
.contact-hero-copy {
  color: #d0dce4;
  font-size: 17px;
  max-width: 550px;
  margin-top: 23px;
}
.contact-hero .btn {
  margin-top: 29px;
}
.contact-opportunities .section-heading {
  gap: 35px;
  align-items: flex-end;
}
.contact-opportunities-copy {
  max-width: 300px;
  font-size: 15px;
}
.contact-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.contact-type-card {
  display: flex;
  flex-direction: column;
  padding: 29px 25px;
  background: #f3f6f5;
  border: 1px solid #dfe6e8;
  border-bottom: 3px solid #d4dfe4;
  min-width: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.contact-type-card:hover,
.contact-type-card.is-selected {
  background: #eaf1f4;
  border-bottom-color: var(--orange);
}
.contact-type-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-type-top > span {
  font-size: 23px;
  color: #7a93a3;
}
.contact-type-card h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  min-height: 86px;
  letter-spacing: -0.3px;
}
.contact-type-card p {
  font-size: 14px;
  color: #748692;
  line-height: 1.65;
  margin-top: auto;
}
.contact-form-section {
  background: #f2f5f3;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 65px;
  align-items: start;
}
.contact-form-panel h2 {
  margin-bottom: 20px;
}
.contact-form-intro {
  font-size: 15px;
  max-width: 560px;
}
.contact-preview-note {
  margin: 23px 0 28px;
  padding-left: 14px;
  border-left: 2px solid #e9a478;
  font-size: 14px;
  color: #778b96;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 20px;
}
#contactForm label {
  display: block;
  min-width: 0;
}
#contactForm label > span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 9px;
  color: #294b61;
}
#contactForm input,
#contactForm select,
#contactForm textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #cbd8df;
  border-radius: 0;
  background: #fff;
  color: #173d58;
  padding: 13px 14px;
  line-height: 1.5;
  font-size: 15px;
  min-height: 49px;
}
#contactForm select {
  padding-right: 26px;
}
#contactForm textarea {
  resize: vertical;
  min-height: 155px;
}
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: 2px solid #ff701e80;
  outline-offset: 2px;
  border-color: var(--orange);
}
.contact-message {
  margin-top: 23px;
}
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 27px;
}
.contact-submit-row small {
  font-size: 14px;
  color: #83949d;
}
#contactResult {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  color: #3b6179;
}
.contact-information {
  background: #153a55;
  color: #fff;
  padding: 38px 33px 32px;
  border-top: 3px solid var(--orange);
}
.contact-information h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.4px;
}
.contact-information h2 span {
  color: #b5c9d7;
}
.contact-information .eyebrow {
  font-size: 14px;
  letter-spacing: 1.3px;
}
.contact-information ul {
  padding: 0;
  list-style: none;
  margin: 32px 0;
}
.contact-information li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 25px 0;
  border-top: 1px solid #ffffff22;
  min-width: 0;
}
.contact-information li > div {
  min-width: 0;
}
.contact-information .contact-icon {
  width: 26px;
  height: 26px;
}
.contact-information small {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #a9c0d0;
  display: block;
  line-height: 1.6;
}
.contact-information li p {
  color: #edf3f6;
  font-size: 16px;
  margin-top: 10px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.contact-pending {
  display: block;
  color: #9cb5c7;
  font-size: 14px;
  margin-top: 7px;
}
.contact-region-note {
  border-top: 1px solid #ffffff22;
  padding-top: 22px;
}
.contact-region-note p {
  color: #c9d8e1;
  font-size: 14px;
  margin-top: 9px;
}
.contact-image-note {
  padding-top: 18px;
  padding-bottom: 18px;
}
.contact-image-note p {
  font-size: 14px;
  color: #8196a3;
}
.contact-page ~ footer .footer-grid {
  grid-template-columns: 1.8fr 0.7fr 1fr 0.9fr;
  gap: 45px;
}
.contact-page ~ footer .footer-brand p {
  font-size: 14px;
  line-height: 1.9;
}
@media (max-width: 1000px) {
  .contact-type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .contact-type-card h3 {
    min-height: 0;
    margin-bottom: 18px;
  }
  .contact-type-card p {
    margin-top: 0;
  }
  .contact-layout {
    gap: 30px;
    grid-template-columns: 1.2fr 1fr;
  }
  .contact-information {
    padding: 32px 25px;
  }
  .contact-information h2 {
    font-size: 27px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-page ~ footer .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
  }
}
@media (max-width: 750px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-fields {
    grid-template-columns: 1fr 1fr;
  }
  .contact-information {
    padding: 34px 30px;
  }
  .contact-opportunities .section-heading {
    display: block;
  }
  .contact-opportunities-copy {
    margin-top: 22px;
    max-width: none;
  }
}
@media (max-width: 650px) {
  .contact-hero {
    padding: 25px 0 65px;
    min-height: 480px;
  }
  .contact-breadcrumb {
    font-size: 14px;
    margin-bottom: 35px;
  }
  .contact-hero .eyebrow {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .contact-hero h1 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }
  .contact-hero-copy {
    font-size: 15px;
  }
  .contact-hero .image-caption {
    font-size: 14px;
    max-width: 90%;
  }
  .contact-page h2 {
    font-size: 33px;
    line-height: 1.2;
  }
  .contact-type-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .contact-type-card {
    padding: 23px;
  }
  .contact-type-top {
    margin-bottom: 20px;
  }
  .contact-type-card h3 {
    font-size: 26px;
    line-height: 1.2;
    min-height: 0;
    margin-bottom: 12px;
  }
  .contact-type-card p {
    font-size: 14px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form-intro {
    font-size: 14px;
  }
  .contact-preview-note {
    font-size: 14px;
  }
  #contactForm input,
  #contactForm select,
  #contactForm textarea {
    font-size: 16px;
    min-height: 50px;
  }
  .contact-information {
    padding: 29px 25px;
  }
  .contact-information h2 {
    font-size: 29px;
  }
  .contact-information li {
    gap: 15px;
  }
  .contact-submit-row {
    gap: 20px;
  }
  .contact-submit-row .btn {
    font-size: 14px;
  }
  .contact-image-note p {
    font-size: 14px;
  }
  .contact-page ~ footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* Compact contact form spacing */
#contactForm {
  margin-top: 25px;
}
#contactForm .contact-fields {
  gap: 14px 18px;
}
#contactForm label {
  margin: 0;
}
#contactForm label > span {
  margin-bottom: 7px;
}
#contactForm .contact-message {
  margin-top: 16px;
}
#contactForm .contact-submit-row {
  margin-top: 20px;
}
#contactResult:empty {
  display: none;
}
@media (max-width: 650px) {
  #contactForm {
    margin-top: 22px;
  }
  #contactForm .contact-fields {
    gap: 14px;
  }
}
.contact-page ~ footer .footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 650px) {
  .contact-type-card h3 {
    font-size: 22px;
  }
}
@media (max-width: 650px) {
  .contact-page ~ footer .footer-grid {
    gap: 10px;
  }
}
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#contactForm button:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 650px) {
  .contact-type-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 650px) {
  .contact-page h2,
  .contact-information h2 {
    font-size: 30px;
  }
}
