.elg-contact-page {
  color: var(--elg-white);
  background: var(--elg-ink);
}

.elg-contact-hero {
  position: relative;
  z-index: 1;
  height: 840px;
  margin-top: -80px;
  overflow: hidden;
  color: var(--elg-white);
  background: var(--elg-navy-mid);
  isolation: isolate;
}

.elg-contact-hero__art,
.elg-contact-hero__backdrop,
.elg-contact-hero__shade,
.elg-contact-hero__grid {
  position: absolute;
}

.elg-contact-hero__art,
.elg-contact-hero__backdrop,
.elg-contact-hero__shade {
  inset: 0;
}

.elg-contact-hero__art {
  overflow: hidden;
  pointer-events: none;
}

.elg-contact-hero__backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.elg-contact-hero__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 27, 42, 0.85) 0%, rgba(17, 45, 69, 0.85) 100%);
}

.elg-contact-hero__grid {
  z-index: 2;
  display: block;
  max-width: none;
  opacity: 0.3;
}

.elg-contact-hero__grid img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.elg-contact-hero__grid--vertical {
  top: 0;
  left: calc(50% - 633.75px);
  width: 1267.5px;
  height: 880px;
}

.elg-contact-hero__grid--horizontal {
  top: 173.58px;
  left: 50%;
  width: 1440px;
  height: 629.725px;
  transform: translateX(-50%);
}

.elg-contact-hero__glow {
  position: absolute;
  z-index: 3;
  top: 58px;
  left: calc(50% - 26px);
  width: 1171px;
  height: 1112px;
  max-width: none;
  pointer-events: none;
}

.elg-contact-hero__container {
  position: relative;
  z-index: 4;
  height: 100%;
}

.elg-contact-hero__row {
  height: 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 30px;
}

.elg-contact-hero__content-column {
  flex: 1 1 688px;
  max-width: 688px;
}

.elg-contact-hero__form-column {
  flex: 1 1 482px;
  max-width: 482px;
}

.elg-contact-hero__content,
.elg-contact-hero__copy,
.elg-contact-hero__intro,
.elg-contact-hero__form-card,
.elg-contact-hero__form-heading,
.elg-contact-hero__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.elg-contact-hero__content {
  width: 100%;
  gap: 40px;
}

.elg-contact-hero__copy {
  width: 100%;
  gap: 30px;
}

.elg-contact-hero__intro {
  width: 100%;
  gap: 30px;
}

.elg-contact-hero__eyebrow,
.elg-contact-hero__title,
.elg-contact-hero__description,
.elg-contact-hero__form-eyebrow,
.elg-contact-hero__form-title,
.elg-contact-hero__form-description,
.elg-contact-hero__note {
  margin: 0;
}

.elg-contact-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-contact-hero__eyebrow picture,
.elg-contact-hero__eyebrow img {
  width: 50px;
  height: 1px;
  flex: 0 0 50px;
}

.elg-contact-hero__title {
  width: 100%;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 90px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 80px;
}

.elg-contact-hero__description {
  width: 572px;
  max-width: 100%;
  color: var(--elg-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.elg-contact-hero__phone {
  min-width: 337px;
  min-height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--elg-gold-bright);
  padding: 20px 30px;
  color: var(--elg-ink);
  background: linear-gradient(90deg, var(--elg-gold-bright) 0%, var(--elg-gold) 100%);
  transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.elg-contact-hero__phone:hover,
.elg-contact-hero__phone:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(212, 173, 104, 0.2);
}

.elg-has-js .elg-contact-hero__phone.elg-reveal.is-in-view:hover,
.elg-has-js .elg-contact-hero__phone.elg-reveal.is-in-view:focus-visible {
  transform: translateY(-2px);
}

.elg-contact-hero__phone:active {
  transform: translateY(1px);
}

.elg-contact-hero__phone-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-contact-hero__phone-copy span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

.elg-contact-hero__phone-copy strong {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.elg-contact-hero__phone img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.elg-contact-hero__form-card {
  width: 100%;
  min-height: 487px;
  justify-content: center;
  border: 1px solid var(--elg-border-blue);
  padding: 30px;
  background: linear-gradient(270deg, var(--elg-ink-soft) 2.34%, var(--elg-navy) 100%);
}

.elg-contact-hero__form-heading {
  width: 100%;
  gap: 30px;
}

.elg-contact-hero__form-eyebrow {
  color: var(--elg-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.elg-contact-hero__form-title {
  width: 100%;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
}

.elg-contact-hero__form-description {
  width: 100%;
  color: var(--elg-muted);
  font-size: 18px;
  line-height: 28px;
}

.elg-contact-hero__form {
  width: 100%;
  gap: 15px;
  margin-top: 31px;
}

.elg-contact-hero__fields {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.elg-contact-hero__fields label {
  min-width: 0;
}

.elg-contact-hero__fields input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--elg-border-blue);
  border-radius: 0;
  padding: 0 20px;
  color: var(--elg-white);
  background: var(--elg-navy);
  font: 400 16px/26px var(--elg-font-ui);
  appearance: none;
}

.elg-contact-hero__fields input::placeholder {
  color: var(--elg-muted);
  opacity: 1;
}

.elg-contact-hero__fields input:focus {
  border-color: var(--elg-gold-bright);
  outline: 0;
}

.elg-contact-hero__submit {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  border: 0;
  padding: 15px 30px;
  font-size: 15px;
  cursor: pointer;
}

.elg-contact-hero__submit img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.elg-contact-hero__note {
  width: 100%;
  color: var(--elg-muted);
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .elg-contact-hero {
    margin-top: -70px;
  }

  .elg-contact-hero__title {
    font-size: clamp(70px, 6.4vw, 82px);
    line-height: 0.92;
  }

  .elg-contact-hero__form-title {
    font-size: 36px;
    line-height: 44px;
  }

  .elg-contact-hero__phone {
    min-width: 315px;
  }
}

@media (max-width: 1024px) {
  .elg-contact-hero {
    height: auto;
    min-height: 0;
    margin-top: -70px;
  }

  .elg-contact-hero__art,
  .elg-contact-hero__backdrop,
  .elg-contact-hero__shade {
    min-height: 100%;
  }

  .elg-contact-hero__container {
    height: auto;
    padding-top: 150px;
    padding-bottom: 70px;
  }

  .elg-contact-hero__row {
    height: auto;
    flex-wrap: wrap;
    gap: 50px;
  }

  .elg-contact-hero__content-column,
  .elg-contact-hero__form-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .elg-contact-hero__content {
    max-width: 688px;
  }

  .elg-contact-hero__title {
    font-size: clamp(64px, 8.5vw, 82px);
    line-height: 0.92;
  }

  .elg-contact-hero__form-card {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .elg-contact-hero {
    min-height: 854px;
    margin-top: -50px;
  }

  .elg-contact-hero__backdrop {
    height: 1141px;
  }

  .elg-contact-hero__backdrop img {
    height: 1141px;
    object-position: 50% center;
  }

  .elg-contact-hero__grid--vertical {
    top: 0;
    left: calc(50% - 633.75px);
    height: 1141px;
  }

  .elg-contact-hero__grid--horizontal {
    top: 225px;
    left: -500px;
    transform: none;
  }

  .elg-contact-hero__glow {
    display: none;
  }

  .elg-contact-hero__container {
    width: min(calc(100% - 40px), 1200px);
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .elg-contact-hero__row {
    gap: 30px;
  }

  .elg-contact-hero__content {
    gap: 30px;
  }

  .elg-contact-hero__copy,
  .elg-contact-hero__intro {
    gap: 30px;
  }

  .elg-contact-hero__eyebrow {
    gap: 15px;
    font-size: 12px;
  }

  .elg-contact-hero__eyebrow picture,
  .elg-contact-hero__eyebrow img {
    width: 30px;
    flex-basis: 30px;
  }

  .elg-contact-hero__title {
    max-width: 400px;
    font-size: 60px;
    letter-spacing: -1.2px;
    line-height: 55px;
  }

  .elg-contact-hero__description {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-contact-hero__phone {
    min-width: 0;
    min-height: 0;
    padding: 20px 30px;
  }

  .elg-contact-hero__phone-copy {
    gap: 15px;
  }

  .elg-contact-hero__phone-copy span {
    font-size: 11px;
  }

  .elg-contact-hero__phone-copy strong {
    font-size: 25px;
  }

  .elg-contact-hero__phone img {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .elg-contact-hero__form-card {
    min-height: 0;
    max-width: none;
    padding: 30px;
  }

  .elg-contact-hero__form-heading {
    gap: 20px;
  }

  .elg-contact-hero__form-eyebrow {
    font-size: 12px;
  }

  .elg-contact-hero__form-title {
    font-size: 30px;
    line-height: 50px;
  }

  .elg-contact-hero__form-description {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-contact-hero__fields {
    grid-template-columns: 1fr;
  }

  .elg-contact-hero__fields input {
    font-size: 14px;
  }

  .elg-contact-hero__submit {
    font-size: 13px;
  }

  .elg-contact-hero__note {
    font-size: 11px;
  }
}

@media (max-width: 410px) {
  .elg-contact-hero__title {
    font-size: clamp(48px, 14vw, 56px);
    line-height: 0.92;
  }

  .elg-contact-hero__phone {
    width: 100%;
    padding-inline: 18px;
  }

  .elg-contact-hero__phone-copy strong {
    font-size: 22px;
  }

  .elg-contact-hero__form-card {
    padding: 24px 20px;
  }

  .elg-contact-hero__submit {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elg-contact-hero__phone {
    transition: none;
  }
}
/* California Offices */
.elg-contact-offices {
  position: relative;
  min-height: 1180px;
  overflow: hidden;
  padding: 120px 0;
  color: var(--elg-white);
  background: var(--elg-navy);
  isolation: isolate;
}

.elg-contact-offices__glow {
  position: absolute;
  z-index: 0;
  width: 1171px;
  height: 1112px;
  max-width: none;
  pointer-events: none;
}

.elg-contact-offices__glow--left {
  top: -180px;
  left: calc(50% - 1121px);
}

.elg-contact-offices__glow--right {
  top: 58px;
  left: calc(50% - 110px);
}

.elg-contact-offices__container {
  position: relative;
  z-index: 1;
}

.elg-contact-offices__heading-row {
  min-height: 158px;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 40px;
}

.elg-contact-offices__heading-column {
  flex: 0 1 750px;
  max-width: 750px;
}

.elg-contact-offices__intro-column {
  flex: 1 1 410px;
  max-width: 410px;
}

.elg-contact-offices__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.elg-contact-offices__eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-contact-offices__eyebrow img {
  width: 50px;
  height: 1px;
  flex: 0 0 50px;
}

.elg-contact-offices__title,
.elg-contact-offices__intro,
.elg-contact-office__name,
.elg-contact-office__address p,
.elg-contact-office__phone p {
  margin: 0;
}

.elg-contact-page .elg-contact-offices__title,
.elg-contact-page .elg-contact-offices__intro,
.elg-contact-page .elg-contact-office__name,
.elg-contact-page .elg-contact-office__address p,
.elg-contact-page .elg-contact-office__phone p {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.elg-contact-offices__title {
  width: 100%;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 70px;
  font-weight: 600;
  line-height: 70px;
}

.elg-contact-offices__intro {
  color: var(--elg-muted);
  font-size: 18px;
  line-height: 28px;
}

.elg-contact-offices__grid {
  margin: 50px -10px -10px;
  row-gap: 0;
}

.elg-contact-offices__card-column {
  padding: 10px;
}

.elg-contact-office {
  position: relative;
  z-index: 1;
  height: 351px;
  border: 1px solid var(--elg-border-blue);
  padding: 30px;
  background: var(--elg-navy-mid);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.elg-contact-office:hover,
.elg-contact-office:focus-within {
  z-index: 3;
  transform: translateY(-4px) scale(1.01);
  border-color: var(--elg-gold);
  box-shadow: 0 20px 44px rgba(2, 8, 13, 0.32);
}

.elg-contact-office__meta {
  height: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--elg-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-contact-office__meta span:first-child {
  color: var(--elg-gold);
}

.elg-contact-office__body {
  height: 250px;
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 30px;
}

.elg-contact-office__details {
  min-width: 0;
  flex: 1 1 255px;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 30px;
}

.elg-contact-office__name {
  width: 100%;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 45px;
}

.elg-contact-office__address,
.elg-contact-office__phone {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--elg-muted);
  font-size: 18px;
  line-height: 28px;
}

.elg-contact-office__address img,
.elg-contact-office__phone img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.elg-contact-office__address p,
.elg-contact-office__phone p {
  min-width: 0;
  flex: 1 1 auto;
}

.elg-contact-office__phone a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 180ms ease;
}

.elg-contact-office__phone a:hover,
.elg-contact-office__phone a:focus-visible {
  color: var(--elg-white);
}

.elg-contact-office__map {
  position: relative;
  width: 255px;
  height: 250px;
  flex: 0 1 255px;
  overflow: hidden;
  background: #ddecf0;
}

.elg-contact-office__map::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 220ms ease;
}

.elg-contact-office__map img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.elg-contact-office:hover .elg-contact-office__map img,
.elg-contact-office:focus-within .elg-contact-office__map img {
  transform: scale(1.035);
}

.elg-contact-office:hover .elg-contact-office__map::after,
.elg-contact-office:focus-within .elg-contact-office__map::after {
  border-color: rgba(224, 189, 121, 0.55);
}

@media (max-width: 1359px) {
  .elg-contact-offices__title {
    font-size: clamp(58px, 5.6vw, 68px);
    line-height: 1;
  }

  .elg-contact-office__name {
    font-size: 36px;
    line-height: 40px;
  }

  .elg-contact-office__address,
  .elg-contact-office__phone {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 1024px) {
  .elg-contact-offices {
    min-height: 0;
    padding: 90px 0;
  }

  .elg-contact-offices__heading-row {
    min-height: 0;
    flex-wrap: wrap;
    gap: 30px;
  }

  .elg-contact-offices__heading-column,
  .elg-contact-offices__intro-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .elg-contact-offices__heading {
    max-width: 750px;
  }

  .elg-contact-offices__intro {
    max-width: 520px;
  }

  .elg-contact-offices__grid {
    margin-top: 50px;
  }

  .elg-contact-offices__card-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .elg-contact-office__details {
    flex-basis: 50%;
  }

  .elg-contact-office__map {
    flex-basis: 50%;
    width: 50%;
  }
}

@media (max-width: 767px) {
  .elg-contact-offices {
    padding: 60px 0;
  }

  .elg-contact-offices__glow--left {
    top: -79px;
    left: -401px;
    width: 946px;
    height: 910px;
  }

  .elg-contact-offices__glow--right {
    top: 740px;
    left: -141px;
    width: 1036px;
    height: 990px;
  }

  .elg-contact-offices__heading-row {
    gap: 30px;
  }

  .elg-contact-offices__heading {
    gap: 30px;
  }

  .elg-contact-offices__eyebrow {
    font-size: 12px;
  }

  .elg-contact-offices__eyebrow img {
    width: 30px;
    flex-basis: 30px;
  }

  .elg-contact-offices__title {
    font-size: 40px;
    line-height: 45px;
  }

  .elg-contact-offices__intro {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-contact-offices__grid {
    margin: 30px 0 0;
    row-gap: 20px;
  }

  .elg-contact-offices__card-column {
    padding: 0;
  }

  .elg-contact-office {
    height: 510px;
    padding: 20px;
  }

  .elg-contact-office:has(.elg-contact-office__details--compact) {
    height: 462px;
  }

  .elg-contact-office__meta {
    height: 9px;
    font-size: 13px;
    line-height: 9px;
  }

  .elg-contact-office__body {
    height: 431px;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .elg-contact-office:has(.elg-contact-office__details--compact) .elg-contact-office__body {
    height: 383px;
  }

  .elg-contact-office__details {
    min-height: 161px;
    flex: 0 0 161px;
    align-self: stretch;
    gap: 30px;
  }

  .elg-contact-office__details--compact {
    min-height: 113px;
    flex-basis: 113px;
  }

  .elg-contact-office__name {
    font-size: 30px;
    line-height: 35px;
  }

  .elg-contact-office__address,
  .elg-contact-office__phone {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-contact-office__map {
    width: 100%;
    height: 250px;
    flex: 0 0 250px;
  }
}

@media (max-width: 390px) {
  .elg-contact-office {
    height: auto;
  }

  .elg-contact-office:has(.elg-contact-office__details--compact) {
    height: auto;
  }

  .elg-contact-office__body,
  .elg-contact-office:has(.elg-contact-office__details--compact) .elg-contact-office__body {
    height: auto;
  }

  .elg-contact-office__details,
  .elg-contact-office__details--compact {
    min-height: 0;
    flex-basis: auto;
  }

  .elg-contact-office__meta {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elg-contact-office,
  .elg-contact-office__map img,
  .elg-contact-office__map::after {
    transition: none;
  }
}
