.contact-page {
  background: #fbf8f1;
  color: #4e2c17;
}

.contact-page .nav {
  background: #fbf8f1;
}

.contact-page .nav-links .active {
  color: #fff !important;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible {
  outline: 3px solid #b7833f;
  outline-offset: 5px;
}

.contact-skip {
  position: absolute;
  top: -70px;
  left: 20px;
  z-index: 30;
  padding: 12px 20px;
  background: #fff8ea;
  color: #4e2c17;
}

.contact-skip:focus {
  top: 12px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 8vw, 115px);
  width: min(100% - 96px, 1240px);
  margin: auto;
  padding: 56px 0 75px;
}

.contact-hero-copy {
  max-width: 510px;
  animation: contact-arrive .8s both;
}

.contact-kicker {
  margin: 0 0 18px;
  color: #9c6a2c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  color: #432817;
  font: 400 clamp(48px, 5.5vw, 76px)/1.04 Georgia, "Times New Roman", serif;
}

.contact-hero h1 em,
.contact-section-heading h2 em {
  color: #a66f30;
  font-weight: 400;
}

.contact-hero-copy>p:not(.contact-kicker) {
  max-width: 440px;
  margin: 23px 0 28px;
  color: #806c58;
  font-size: 15px;
  line-height: 1.8;
}

.contact-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  padding: 0 22px;
  background: #805125;
  color: #fff8ec;
  text-decoration: none;
  font-size: 13px;
  transition: background .2s, transform .2s;
}

.contact-primary-link:hover {
  transform: translateY(-2px);
  background: #603a1c;
}

.contact-primary-link span {
  font-size: 18px;
}

.contact-hero-image {
  position: relative;
  margin: 0;
  min-width: 0;
  animation: contact-arrive .8s .12s both;
}

.contact-hero-image img {
  display: block;
  width: 100%;
  height: clamp(270px, 32vw, 430px);
  object-fit: cover;
  object-position: 66% center;
}

.contact-hero-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 13px 17px;
  background: #fbf8f1;
  color: #745536;
  font: 400 13px Georgia, serif;
}

.contact-quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - 96px, 1240px);
  margin: 0 auto;
  padding: 26px 0 30px;
  border-top: 1px solid #dfd2bf;
  border-bottom: 1px solid #dfd2bf;
}

.contact-quick-info>div {
  min-width: 0;
  padding: 0 30px;
  border-left: 1px solid #dfd2bf;
}

.contact-quick-info>div:first-child {
  padding-left: 0;
  border-left: 0;
}

.contact-info-label {
  display: block;
  margin-bottom: 9px;
  color: #9b7c5a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-quick-info a,
.contact-quick-info p {
  margin: 0;
  color: #54351e;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-quick-info a:hover {
  color: #9c6a2c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-locations {
  width: min(100% - 96px, 1240px);
  margin: auto;
  padding: 90px 0 82px;
  scroll-margin-top: 24px;
}

.contact-section-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 32px;
}

.contact-section-heading .contact-kicker {
  margin-bottom: 13px;
}

.contact-section-heading h2 {
  margin: 0;
  color: #432817;
  font: 400 clamp(38px, 4.3vw, 58px)/1.08 Georgia, "Times New Roman", serif;
}

.contact-section-heading>p {
  max-width: none;
  margin: 0;
  color: #806c58;
  font-size: 13px;
  line-height: 1.8;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(190px, .9fr);
  min-width: 0;
  border: 1px solid #e3d7c5;
  background: #fffdf8;
}

.contact-location>img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: 67% center;
}

.contact-location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 27px 24px;
}

.contact-location-number {
  color: #a17849;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
}

.contact-location h3 {
  margin: 13px 0 10px;
  color: #4a2b17;
  font: 400 27px/1.15 Georgia, "Times New Roman", serif;
}

.contact-location-copy p {
  margin: 0;
  color: #806c58;
  font-size: 12px;
  line-height: 1.7;
}

.contact-location-copy a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 23px;
  color: #815222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.contact-location-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-location-copy a span {
  font-size: 16px;
}

.contact-location-note {
  margin: 18px 0 0;
  color: #8b765f;
  font-size: 11px;
  line-height: 1.6;
}

.contact-enquiry {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  width: min(100% - 96px, 1240px);
  margin: 0 auto;
  padding: 0 0 48px;
}

.contact-enquiry-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 45px);
}

.contact-enquiry-copy p {
  margin: 20px 0;
  color: #806c58;
  line-height: 1.8;
}

.contact-enquiry-copy a {
  color: #805125;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  min-width: 0;
}

.contact-form-field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.contact-form label {
  font-size: 13px;
  color: #54351e;
}

.contact-form label span {
  color: #806c58;
  font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dfd2bf;
  border-radius: 6px;
  background: #fffdf8;
  color: #432817;
  font: inherit;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.contact-form :is(input, select, textarea):focus-visible {
  outline: 2px solid #b7833f;
  outline-offset: 3px;
}

.contact-form-wide {
  grid-column: 1 / -1;
}

.contact-form .contact-form-note,
.contact-form .contact-form-status {
  margin: 0 0 12px;
  color: #806c58;
  font-size: 13px !important;
  line-height: 1.6;
}

.contact-form .contact-primary-link {
  border: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.contact-form .contact-form-status:empty {
  display: none;
}

.contact-form .contact-form-status:not(:empty) {
  margin: 16px 0 0;
}

@media (max-width: 980px) {
  .contact-enquiry {
    width: calc(100% - 56px);
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  .contact-enquiry {
    width: calc(100% - 48px);
    gap: 24px;
    padding-bottom: 40px;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) 180px;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 48px max(48px, calc((100vw - 1240px) / 2));
  background: #eee2d0;
}

.contact-close .contact-kicker {
  margin-bottom: 13px;
}

.contact-close h2 {
  margin: 0;
  color: #432817;
  font: 400 clamp(32px, 3.4vw, 43px)/1.15 Georgia, "Times New Roman", serif;
}

.contact-close-actions {
  display: grid;
  gap: 12px;
}

.contact-close-description p {
  margin: 0;
  color: #806c58;
  font-size: 15px;
  line-height: 1.8;
}

.contact-close-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-width: 155px;
  padding: 14px 18px;
  border: 1px solid #b99568;
  color: #624321;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.contact-close-actions a:hover {
  background: #e2d0b7;
}

.contact-close-actions span {
  font-size: 16px;
}

@keyframes contact-arrive {
  from {
    opacity: 0;
    transform: translateY(13px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .contact-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .contact-hero {
    width: calc(100% - 56px);
    gap: 38px;
  }

  .contact-quick-info,
  .contact-locations {
    width: calc(100% - 56px);
  }

  .contact-location {
    grid-template-columns: 1fr;
  }

  .contact-location>img {
    height: 230px;
    min-height: 0;
  }

  .contact-location-copy {
    min-height: 210px;
  }

  .contact-close {
    padding-inline: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  .contact-close-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 180px));
  }
}

@media (max-width: 650px) {
  .contact-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: calc(100% - 48px);
    padding: 42px 0 40px;
  }

  .contact-hero h1 {
    font-size: clamp(43px, 11vw, 58px);
  }

  .contact-hero-copy>p:not(.contact-kicker) {
    margin: 17px 0 22px;
    font-size: 14px;
  }

  .contact-hero-image img {
    height: 250px;
  }

  .contact-quick-info {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    gap: 0;
    padding: 7px 0;
  }

  .contact-quick-info>div,
  .contact-quick-info>div:first-child {
    padding: 17px 0;
    border-left: 0;
    border-bottom: 1px solid #dfd2bf;
  }

  .contact-quick-info>div:last-child {
    border-bottom: 0;
  }

  .contact-locations {
    width: calc(100% - 48px);
    padding: 62px 0;
  }

  .contact-section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .contact-section-heading h2 {
    font-size: 41px;
  }

  .contact-section-heading>p {
    margin-top: 15px;
  }

  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .contact-location {
    grid-template-columns: minmax(0, 1fr) minmax(145px, .9fr);
  }

  .contact-location>img {
    height: 100%;
    min-height: 245px;
  }

  .contact-location-copy {
    min-height: 0;
    padding: 22px 16px;
  }

  .contact-location h3 {
    font-size: 23px;
  }

  .contact-location-number {
    font-size: 8px;
  }

  .contact-close {
    display: block;
    padding: 34px 24px;
  }

  .contact-close h2 {
    font-size: 33px;
  }

  .contact-close-description {
    margin-top: 18px;
  }

  .contact-close-actions {
    margin-top: 23px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-close-actions a {
    min-width: 0;
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .contact-location {
    grid-template-columns: 1fr;
  }

  .contact-location>img {
    height: 190px;
    min-height: 0;
  }

  .contact-location-copy {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
