.contact-page {
  background: var(--ivory);
}

.contact-page .button--red {
  background: var(--red-dark);
}

.contact-page .button--red:hover {
  background: #aa141f;
}

.contact-hero {
  position: relative;
  min-height: 640px;
  height: 76svh;
  max-height: 720px;
  overflow: hidden;
  color: #fff;
  background: var(--ink-deep);
}

.contact-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%);
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.contact-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
}

.contact-hero__media img,
.contact-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__media img {
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.78) contrast(1.02);
}

.contact-hero__veil {
  background: linear-gradient(90deg, var(--ink-deep) 0%, rgba(6,23,19,.66) 13%, rgba(6,23,19,.09) 52%), linear-gradient(0deg, rgba(6,23,19,.38), transparent 42%);
}

.contact-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 96px;
}

.contact-hero__content {
  width: 56%;
  max-width: 735px;
}

.contact-hero h1 {
  max-width: 720px;
  margin: 0;
  font: 500 clamp(62px, 5.6vw, 96px)/.93 Manrope, sans-serif;
  letter-spacing: -.058em;
}

.contact-hero__lead {
  max-width: 650px;
  margin: 26px 0 30px;
  color: #d8e1de;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.62;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero__actions .button {
  min-width: 220px;
}

.contact-hero__markers {
  display: flex;
  gap: clamp(22px, 3.2vw, 48px);
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.2);
  list-style: none;
}

.contact-hero__markers li {
  display: grid;
  gap: 5px;
}

.contact-hero__markers span {
  color: #aab8b3;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-hero__markers strong {
  font-size: 12px;
  font-weight: 500;
}

.contact-routing {
  padding: 84px 0 96px;
  background: var(--sand);
}

.contact-routing__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: end;
  margin-bottom: 46px;
}

.contact-routing__head h2 {
  max-width: 820px;
}

.contact-routing__head > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-routing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cdd2cd;
  border-left: 1px solid #cdd2cd;
}

.contact-route {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 27px 28px 25px;
  border-right: 1px solid #cdd2cd;
  border-bottom: 1px solid #cdd2cd;
  background: rgba(255,255,255,.46);
  transition: color .24s ease, background .24s ease, transform .24s ease;
}

.contact-route__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--red-dark);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-route h3 {
  max-width: 300px;
  margin: 48px 0 14px;
  font: 500 27px/1.18 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.contact-route p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  transition: color .24s ease;
}

.contact-route small {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #d4d8d4;
  font-size: 12px;
  font-weight: 600;
}

.contact-route:hover,
.contact-route:focus-visible {
  color: #fff;
  background: var(--ink);
  transform: translateY(-4px);
}

.contact-route:hover p,
.contact-route:focus-visible p {
  color: #bdc9c4;
}

.contact-route:hover small,
.contact-route:focus-visible small {
  border-color: rgba(255,255,255,.18);
}


.contact-main {
  padding: 120px 0 132px;
  background: var(--ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 125px);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 125px;
}

.contact-aside h2 {
  max-width: 530px;
  font-size: clamp(42px, 4vw, 60px);
}

.contact-aside > p:not(.eyebrow) {
  max-width: 480px;
  margin: 26px 0 36px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-address {
  padding: 29px;
  color: #fff;
  background: var(--ink);
}

.contact-address > span {
  color: #e5a8ad;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-address address {
  margin: 29px 0 18px;
  font: normal 500 20px/1.5 Manrope, sans-serif;
}

.contact-address__phone {
  margin: 0 0 26px;
  font-size: 12px;
  color: #e5a8ad;
}

.contact-address__phone a {
  color: #fff;
  font-weight: 600;
}

.contact-address__phone a:hover {
  text-decoration: underline;
}

.contact-address a {
  display: inline-flex;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  color: #dce5e1;
  font-size: 12px;
  font-weight: 600;
}

.contact-caution {
  margin: 18px 0 0;
  padding: 18px 0 0 19px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--red-dark);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-panel {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 80px rgba(6,23,19,.08);
}

.contact-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.contact-panel__head h3 {
  margin: 6px 0 0;
  font: 500 clamp(29px, 3vw, 41px)/1.15 Manrope, sans-serif;
  letter-spacing: -.035em;
}

.contact-panel__head .eyebrow {
  margin-bottom: 10px;
}

.contact-panel__index {
  flex: 0 0 auto;
  color: var(--red-dark);
  font-size: 10px;
  letter-spacing: .1em;
}

.contact-form {
  padding: clamp(28px, 4vw, 46px);
}

.contact-form__intro {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 19px;
}

.contact-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.contact-field label small {
  color: #74807b;
  font-size: 10px;
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 17px;
  border: 1px solid #cbd1cd;
  border-radius: 0;
  color: var(--ink);
  background: #fbfaf7;
  font: 400 15px "DM Sans", Arial, sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field select {
  appearance: none;
  padding-right: 46px;
  background-image: linear-gradient(45deg, transparent 50%, #53615b 50%), linear-gradient(135deg, #53615b 50%, transparent 50%);
  background-position: calc(100% - 21px) 26px, calc(100% - 16px) 26px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-field textarea {
  min-height: 170px;
  padding-block: 16px;
  resize: vertical;
  line-height: 1.6;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--red-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(183,25,37,.1);
}

.contact-field__meta {
  min-height: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #737e79;
  font-size: 10px;
}

.contact-field__error {
  color: #97141e;
  font-size: 11px;
  line-height: 1.45;
}

.contact-privacy {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 2px solid var(--red-dark);
  background: var(--sand);
  color: #56625d;
  font-size: 12px;
  line-height: 1.65;
}

.contact-privacy a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-status {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.6;
}

.contact-form-status--success {
  color: #234f41;
  border-color: #b9d3c9;
  background: #e8f1ed;
}

.contact-form-status--error {
  color: #78111a;
  border-color: #e2b9bd;
  background: #faecee;
}

.contact-field [aria-invalid="true"] {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(183,25,37,.1);
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.contact-form__footer > p {
  max-width: 300px;
  margin: 0;
  color: #6d7974;
  font-size: 10px;
  line-height: 1.55;
}

.contact-form__footer .button {
  min-width: 230px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.contact-form__footer .button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.contact-standards {
  color: #fff;
  background: var(--ink);
}

.contact-standards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255,255,255,.16);
}

.contact-standard {
  min-height: 250px;
  padding: 34px 32px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.contact-standard span {
  color: #e6a6ab;
  font-size: 10px;
  letter-spacing: .1em;
}

.contact-standard h3 {
  margin: 55px 0 13px;
  font: 500 24px/1.25 Manrope, sans-serif;
}

.contact-standard p {
  margin: 0;
  color: #adbbb6;
  font-size: 14px;
  line-height: 1.65;
}

.contact-faq {
  padding: 110px 0 120px;
  background: var(--sand);
}

.contact-faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: clamp(55px, 9vw, 140px);
  align-items: start;
}

.contact-faq__intro {
  position: sticky;
  top: 130px;
}

.contact-faq__intro h2 {
  max-width: 470px;
}

.contact-faq__intro > p:not(.eyebrow) {
  max-width: 430px;
  margin: 25px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-faq__items {
  border-top: 1px solid #cbd1cc;
}

.contact-faq details {
  border-bottom: 1px solid #cbd1cc;
}

.contact-faq summary {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font: 500 19px/1.4 Manrope, sans-serif;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq summary span {
  color: var(--red-dark);
  font-size: 25px;
  font-weight: 300;
  transition: transform .2s ease;
}

.contact-faq details[open] summary span {
  transform: rotate(45deg);
}

.contact-faq details p {
  max-width: 690px;
  margin: -2px 55px 28px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.contact-page :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .contact-hero__media {
    width: 53%;
  }

  .contact-hero__content {
    width: 63%;
  }

  .contact-routing__grid,
  .contact-standards__grid {
    grid-template-columns: 1fr;
  }

  .contact-route {
    min-height: 245px;
  }

  .contact-standard {
    min-height: 210px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    min-height: 720px;
    height: 88svh;
  }

  .contact-hero__media {
    width: 100%;
    opacity: .58;
  }

  .contact-hero__veil {
    background: linear-gradient(90deg, rgba(6,23,19,.97), rgba(6,23,19,.75) 62%, rgba(6,23,19,.43)), linear-gradient(0deg, rgba(6,23,19,.8), transparent 55%);
  }

  .contact-hero__content {
    width: min(100%, 690px);
  }

  .contact-routing__head,
  .contact-layout,
  .contact-faq__layout {
    grid-template-columns: 1fr;
  }

  .contact-routing__head {
    gap: 28px;
  }

  .contact-aside,
  .contact-faq__intro {
    position: static;
  }

  .contact-address {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 690px;
    height: 100svh;
    max-height: none;
  }

  .contact-hero__inner {
    align-items: flex-start;
    padding-top: 126px;
  }

  .contact-hero__media img {
    object-position: 60% center;
  }

  .contact-hero h1 {
    font-size: clamp(50px, 14vw, 64px);
  }

  .contact-hero__lead {
    margin-block: 21px 24px;
    font-size: 15px;
  }

  .contact-hero__actions {
    width: min(100%, 310px);
  }

  .contact-hero__actions .button {
    width: 100%;
  }

  .contact-hero__markers {
    display: none;
  }

  .contact-routing {
    padding: 70px 0 76px;
  }

  .contact-main {
    padding: 80px 0 90px;
  }

  .contact-panel__head {
    align-items: flex-start;
  }

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

  .contact-field--full {
    grid-column: auto;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .contact-form__footer .button {
    width: 100%;
  }

  .contact-faq {
    padding: 80px 0 90px;
  }

  .contact-faq summary {
    min-height: 78px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-route,
  .contact-faq summary span {
    transition: none;
  }
}
