.contact-us-page
  main
  .sp-field
  :is(input, select, textarea):is(:focus, :focus-visible) {
  border: 1px solid var(--sp-orange);
  outline: none;
  box-shadow: none;
}
.sp-contact-hero {
  max-width: 1300px;
  display: grid;
  grid-template-columns: 520px 680px;
  gap: 54px;
  margin: 126px auto 0;
}
.sp-contact-hero__copy {
  padding-top: 89px;
}
.sp-page img.sp-contact-photo {
  display: block;
  width: 522px;
  height: 580px;
  object-fit: contain;
  margin: 0 0 53px -31px;
}
.sp-contact-hero h1 {
  font-size: 40px;
  line-height: 50px;
  color: #666;
  margin-bottom: 30px;
}
.sp-contact-hero__copy p {
  font-size: 18px;
  line-height: 24px;
  max-width: 480px;
  margin-bottom: 26px;
}
.sp-contact-hero__copy strong {
  color: var(--sp-navy);
}
.sp-contact-card {
  min-height: 1166px;
  background: #f0fbff;
  border-radius: 34px;
  box-shadow: 0 0 55px #00000015;
  padding: 63px 100px 100px;
  scroll-margin-top: 25px;
}
.sp-contact-card h2 {
  text-align: center;
  line-height: 50px;
  margin-bottom: 40px;
}
.sp-contact-card .sp-field {
  margin-bottom: 24px;
}
.sp-contact-card .sp-field textarea {
  height: 110px;
}
.sp-contact-card .sp-field:has(textarea) {
  margin-bottom: 22px;
}
.sp-contact-card .sp-check {
  margin-bottom: 41px;
  white-space: nowrap;
}
.sp-contact-card .sp-button {
  display: flex;
  width: 260px;
  margin: auto;
}
.sp-pathways {
  max-width: 1205px;
  margin: 161px auto 0;
  text-align: center;
}
.sp-pathways > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: 74px;
}
.sp-pathways article {
  border: 1px solid #ccc;
  border-radius: 28px;
  min-height: 371px;
  padding: 44px 40px 16px;
}
.sp-pathway-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 121px;
  height: 121px;
  margin: 0 auto 22px;
  background: #fff0e0;
  border-radius: 50%;
}
.sp-page .sp-pathway-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.sp-pathways h3 {
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
}
.sp-pathways h3::after {
  content: "";
  display: block;
  width: 37px;
  height: 3px;
  background: #ffe0c0;
  margin: 14px auto 15px;
}
.sp-pathways p {
  font-size: 16px;
  line-height: 22px;
}
.contact-us-page .sp-steps {
  border-top: 1px solid #ddd;
  margin-top: 101px;
  padding-top: 73px;
}
.contact-us-page .sp-steps > div {
  gap: 160px;
}
.contact-us-page .sp-steps h3 {
  font-size: 18px;
}
.sp-contact-ready {
  position: relative;
  width: min(1022px, calc(100% - 48px));
  height: 345px;
  margin: 15px auto 82px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-page img.sp-contact-ready__mountains {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sp-contact-ready > div {
  position: relative;
  padding-top: 4px;
}
.sp-contact-ready h2 {
  margin-bottom: 44px;
}
.sp-contact-ready .sp-button {
  width: 260px;
}
@media (max-width: 1599px) {
  .sp-contact-hero {
    width: calc(100% - 96px);
    grid-template-columns: 43% 52%;
    gap: 5%;
  }
  .sp-contact-card {
    padding: 60px 55px 80px;
  }
  .sp-contact-card .sp-check {
    white-space: normal;
  }
  .sp-pathways {
    width: calc(100% - 96px);
  }
  .sp-pathways > div {
    gap: 24px;
  }
  .sp-pathways article {
    padding: 35px 24px;
  }
}
@media (max-width: 1199px) {
  .sp-contact-card {
    padding: 48px 32px;
  }
  .sp-pathways > div {
    grid-template-columns: 1fr 1fr;
  }
  .contact-us-page .sp-steps > div {
    gap: 50px;
  }
}
@media (max-width: 991px) {
  .sp-contact-hero {
    margin-top: 50px;
    width: calc(100% - 64px);
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .sp-contact-hero__copy {
    padding-top: 25px;
  }
  .sp-page img.sp-contact-photo {
    width: 100%;
    height: auto;
    margin: 0 0 35px;
  }
  .sp-contact-card {
    min-height: 0;
    padding: 40px 24px;
  }
  .sp-contact-card h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 40px;
  }
  .sp-contact-card .sp-field {
    margin-bottom: 28px;
  }
  .sp-contact-card .sp-check {
    font-size: 14px;
  }
  .sp-contact-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }
  .sp-pathways {
    margin-top: 80px;
  }
  .sp-contact-ready {
    margin-bottom: 45px;
  }
}
@media (max-width: 767px) {
  .sp-contact-hero {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    margin-top: 25px;
    gap: 45px;
  }
  .sp-contact-hero__copy {
    padding-top: 0;
  }
  .sp-page img.sp-contact-photo {
    max-width: 430px;
    margin: 0 auto 30px;
  }
  .sp-contact-hero__copy p {
    max-width: none;
  }
  .sp-contact-card {
    padding: 38px 24px;
    border-radius: 24px;
  }
  .sp-contact-card h2 {
    font-size: 30px;
  }
  .sp-contact-card .sp-field textarea {
    height: 140px;
  }
  .sp-pathways {
    width: calc(100% - 40px);
    margin-top: 65px;
  }
  .sp-pathways > div {
    gap: 18px;
    margin-top: 35px;
  }
  .sp-pathways article {
    padding: 28px 16px;
  }
  .sp-pathways p {
    font-size: 16px;
    line-height: 22px;
  }
  .sp-pathway-icon {
    width: 100px;
    height: 100px;
  }
  .contact-us-page .sp-steps {
    margin-top: 60px;
    padding-top: 45px;
  }
  .contact-us-page .sp-steps > div {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-contact-ready {
    height: auto;
    min-height: 300px;
    margin: 30px auto;
  }
  .sp-contact-ready h2 {
    margin-bottom: 28px;
  }
}
@media (max-width: 399px) {
  .sp-pathways > div {
    grid-template-columns: 1fr;
  }
  .sp-pathways article {
    min-height: 0;
  }
  .sp-contact-card {
    padding: 35px 20px;
  }
}

@media (min-width: 1401px) {
  .sp-page img.sp-contact-photo {
    margin-left: -33px;
    margin-bottom: 47px;
  }
  .sp-contact-hero h1 {
    margin-bottom: 24px;
  }
  .sp-contact-ready > div {
    position: absolute;
    top: 121px;
    width: 100%;
    padding: 0;
  }
  .sp-contact-ready h2 {
    margin-bottom: 32px;
  }
  .sp-contact-ready .sp-button {
    transform: translateX(-11px);
  }
}

@media (min-width: 1600px) {
  .sp-contact-card {
    border-radius: 29px;
  }
  .sp-contact-card .sp-button,
  .sp-contact-ready .sp-button {
    width: 257px;
    height: 53px;
  }
  .sp-pathways article {
    border-radius: 25px;
  }
  .sp-contact-card .sp-button {
    transform: translate(-0.5px, -1.78125px);
  }
  .sp-contact-ready .sp-button {
    transform: translate(-11.5px, 0.21875px);
  }
  .sp-contact-card :is(input, select):not([type="checkbox"]) {
    width: 477px;
    transform: translate(1px, 1.21875px);
  }
  .sp-contact-card #firstName {
    transform: translate(1px, -0.78125px);
  }
  .sp-contact-card #phone {
    transform: translate(1px, 3.21875px);
  }
  .sp-contact-card #program {
    transform: translate(1px, 2.21875px);
  }
  .sp-contact-card #lastName {
    transform: translate(1px, 0.21875px);
  }
  .sp-contact-card #email {
    transform: translate(1px, 0.21875px);
  }
  .sp-contact-card .sp-field textarea {
    width: 479px;
    height: 108px;
    margin-bottom: 2px;
    transform: translateY(3.21875px);
  }
  .sp-contact-card .sp-check input {
    transform: translateY(1.71875px);
  }
  .sp-pathways {
    min-height: 493px;
  }
  .sp-pathways > div {
    width: 1201.012px;
    position: relative;
    left: 1.5px;
    grid-template-columns: repeat(4, 264.646px);
    gap: 47.476px;
  }
  .sp-pathways article {
    height: 368.005px;
    min-height: 368.005px;
    position: relative;
    top: 2.21375px;
    padding-top: 40.005px;
  }
  .sp-pathway-icon {
    position: relative;
    left: 0.177px;
    top: 1px;
  }
  .sp-page .sp-pathways article:nth-child(1) .sp-pathway-icon img,
  .sp-page .sp-pathways article:nth-child(4) .sp-pathway-icon img {
    width: 57px;
    height: 48px;
  }
  .sp-page .sp-pathways article:nth-child(2) .sp-pathway-icon img {
    width: 62px;
    height: 62px;
  }
  .sp-page .sp-pathways article:nth-child(3) .sp-pathway-icon img {
    width: 52px;
    height: 40px;
  }
  .contact-us-page .sp-steps article:nth-child(1) {
    transform: translateX(5.5px);
  }
  .contact-us-page .sp-steps article:nth-child(2) {
    transform: translateX(16px);
  }
  .contact-us-page .sp-steps article:nth-child(3) {
    transform: translateX(-15.5px);
  }
  .contact-us-page .sp-steps article > img {
    position: relative;
    top: -6.78125px;
  }
  .contact-us-page .sp-steps article:nth-child(1) > img {
    left: -11.5px;
  }
  .contact-us-page .sp-steps article:nth-child(2) > img {
    left: -13px;
  }
  .contact-us-page .sp-steps article:nth-child(3) > img {
    left: -13.5px;
  }
  .contact-us-page .sp-steps h3 {
    color: #194680;
    position: relative;
    top: -11px;
  }
  .contact-us-page .sp-steps article > p {
    color: #6d6d6d;
    position: relative;
    top: -21px;
  }
  .sp-contact-card {
    position: relative;
    isolation: isolate;
    background: transparent;
    box-shadow: none;
  }
  .sp-contact-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: 1px;
    top: 2.21875px;
    width: 676px;
    height: 1162px;
    border-radius: 29px;
    background: #f0fbff;
    box-shadow: 0 3px 65px #bebebe85;
  }
  .sp-pathways h3 {
    line-height: 22px;
  }
  .sp-pathway-label {
    position: relative;
    top: -3px;
  }
  .sp-pathways h3::after {
    width: 34px;
    height: 2px;
    background: var(--sp-orange);
    margin-top: 7.515625px;
    margin-bottom: 10.5px;
  }
}

/* Original source raster painting bounds; responsive flow is retained. */
@media (min-width: 1600px) {
  .sp-page img[src="images/signup-pages/contact-photo.png"] {
    position: relative;
    width: 522px;
    height: 580px;
    max-width: none;
    transform: translate(-1px, -0.78125px);
  }
  .sp-page img[src="images/signup-pages/contact-mountains.png"] {
    position: absolute;
    width: 1022px;
    height: 345px;
    max-width: none;
    transform: translate(4px, -0.78125px);
  }
}

@media (max-width: 767px) {
  .sp-contact-hero,
  .sp-pathways {
    width: calc(100% - 2 * var(--sp-gutter));
    margin-inline: auto;
  }
  .sp-contact-hero__copy {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
  }
  .sp-contact-hero__copy p {
    max-width: 620px;
    margin-inline: auto;
  }
  .sp-page img.sp-contact-photo {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .sp-contact-card form {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .sp-contact-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .sp-contact-hero > * {
    min-width: 0;
    width: 100%;
  }
}

/* Match the approved <=991 hero centering pattern within its existing column. */
@media (max-width: 991px) {
  .sp-contact-hero__copy {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
  }
  .sp-contact-hero__copy p {
    margin-inline: auto;
  }
  .sp-page img.sp-contact-photo {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .sp-contact-card form {
    text-align: left;
  }
}

/* Approved Contact layout: compact form, natural field order and original photo. */
.contact-us-page main .sp-contact-hero {
  align-items: start;
  margin-top: 72px;
}
.contact-us-page main .sp-contact-hero__copy {
  padding-top: 0;
}
.contact-us-page main .sp-contact-hero h1 {
  margin: 0 0 24px;
}
.contact-us-page main img.sp-contact-photo {
  position: static;
  width: 100%;
  max-width: 415px;
  height: auto;
  margin: 0 0 28px;
  transform: none;
}
.contact-us-page main .sp-contact-hero__copy p {
  margin-bottom: 20px;
}
.contact-us-page main .sp-contact-card {
  min-height: 0;
  padding: 40px;
  background: #f0fbff;
  border-radius: 29px;
  box-shadow: 0 8px 28px #19468012;
}
.contact-us-page main .sp-contact-card::before {
  content: none;
}
.contact-us-page main .sp-contact-card h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 28px;
}
.contact-us-page main .sp-contact-card form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-us-page main .sp-contact-card .sp-field {
  margin: 0;
  gap: 6px;
}
.contact-us-page main .sp-contact-card .sp-field > span {
  margin: 0;
  line-height: 22px;
}
.contact-us-page
  main
  .sp-contact-card
  :is(input, select, textarea):not([type="checkbox"]) {
  width: 100%;
  margin: 0;
  transform: none;
}
.contact-us-page
  main
  .sp-contact-card
  :is(#firstName, #lastName, #email, #phone, #program) {
  transform: none;
}
.contact-us-page main .sp-contact-card textarea {
  height: 110px;
}
.contact-us-page
  main
  .sp-contact-card
  :is(.sp-field--full, .sp-check, .sp-button, .sp-status) {
  grid-column: 1 / -1;
}
.contact-us-page main .sp-contact-card .sp-check {
  margin: 0;
  white-space: normal;
}
.contact-us-page main .sp-contact-card .sp-button {
  max-width: 100%;
  transform: none;
}
.contact-us-page main .sp-pathways {
  margin-top: 90px;
}
@media (max-width: 991px) {
  .contact-us-page main .sp-contact-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 40px;
  }
  .contact-us-page main .sp-contact-hero__copy {
    width: 100%;
    max-width: 620px;
  }
  .contact-us-page main img.sp-contact-photo {
    max-width: 320px;
    margin-inline: auto;
  }
  .contact-us-page main .sp-contact-card {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}
@media (max-width: 767px) {
  .contact-us-page main .sp-contact-hero {
    margin-top: 25px;
  }
  .contact-us-page main .sp-contact-card {
    padding: 30px 24px;
    border-radius: 24px;
  }
  .contact-us-page main .sp-contact-card form {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-us-page main .sp-contact-card h2 {
    font-size: 28px;
    line-height: 36px;
  }
  .contact-us-page main .sp-pathways {
    margin-top: 65px;
  }
}
.contact-us-page .sp-required,
.contact-us-page .sp-status.sp-status--error {
  color: #b42318;
}
.contact-us-page .sp-status {
  overflow-wrap: anywhere;
}
.contact-us-page .sp-button[type="submit"] {
  position: relative;
}
.contact-us-page .sp-submit-label {
  visibility: hidden;
}
.contact-us-page .sp-submit-spinner {
  position: absolute;
  left: calc(50% - 10px);
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: sp-contact-spin .8s linear infinite;
}
@keyframes sp-contact-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-us-page .sp-submit-spinner { animation: none; }
}

.contact-us-page main .sp-contact-card .sp-required { color: #b42318; }
.contact-us-page main .sp-contact-card .sp-status { text-align: center; }
.contact-us-page main .sp-contact-card .sp-status.sp-status--error { color: #b42318; }
.contact-us-page main .sp-contact-card :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #b42318;
  outline: 2px solid #b42318;
  outline-offset: 1px;
}
