.contact-hero {
  position: relative;
  isolation: isolate;
  background: var(--color-bg-cta, #f7f3ee);
}

.contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  transform: none;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgb(0 0 0 / 12%) 10%,
    rgb(0 0 0 / 40%) 23%,
    rgb(0 0 0 / 75%) 36%,
    #000 49%,
    #000 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgb(0 0 0 / 12%) 10%,
    rgb(0 0 0 / 40%) 23%,
    rgb(0 0 0 / 75%) 36%,
    #000 49%,
    #000 100%
  );
}

.contact-hero::before {
 content: "";
 position: absolute;
 inset: 0;
 z-index: -1;
 pointer-events: none;
}

.contact-hero__container {
  min-height: clamp(470px, 32vw, 540px);
  display: flex;
  align-items: center;
  padding-block: 58px 72px;
}

.contact-hero__copy {
  width: 46%;
  max-width: 610px;
}

.contact-hero__title {
  text-wrap: balance;
}

.contact-hero__intro {
  max-width: 360px;
  margin: 26px 0 0;
  color: var(--color-muted, #5e5852);
  text-wrap: pretty;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .contact-hero::before {
    background: 
    linear-gradient(
      90deg, 
      rgb(247 243 238 / 90%) 0%, 
      rgb(247 243 238 / 50%) 34%, 
      rgb(247 243 238 / 40%) 48%, 
      rgb(247 243 238 / 0%) 70% 74%, 
      rgba(247, 243, 238, 0) 100%
    );
  }

  .contact-hero__container::after {
    width: clamp(360px, 42vw, 520px);
    background:
    linear-gradient(
      90deg,
      rgba(247, 243, 238, 0.98) 0%,
      rgba(247, 243, 238, 0.92) 68%,
      rgba(247, 243, 238, 0.08) 100%
    );
  }

  .contact-hero__image {
    right: -100px;
  }

  .contact-hero__copy {
    max-width: 500px;
  }
  .contact-hero__intro {
    max-width: 300px;
  }
}

@media (max-width: 991.98px) {

  .contact-hero {
    background: #f7f3ee;
  }

  .contact-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(280px, 52vw, 390px);
    overflow: hidden;
  }

  .contact-hero__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% 38%;
    transform: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 30%) 4%, #000 33%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 30%) 4%, #000 33%, #000 100%);
  }

  .contact-hero::before {
    display: none;
  }

  .contact-hero__container {
   position: relative;
   z-index: 1;
   min-height: 0;
   display: block;
   padding-top: 42px;
   padding-bottom: 64px;
 }

 .contact-hero__copy {
  width: 100%;
  max-width: 540px;
}

.contact-hero__eyebrow {
  margin: 0 0 14px;
}

.contact-hero__title {
  font-size: clamp(40px, 9vw, 52px);
  line-height: 1.02;
}

.contact-hero__intro {
  max-width: 430px;
  margin-top: 20px;
}

}
@media (max-width: 479.98px) {

  .contact-hero__media {
    height: 280px;
  }

  .contact-hero__container {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .contact-hero__title {
    font-size: clamp(38px, 10vw, 44px);
  }

  .contact-hero__intro {
    font-size: 15px;
    line-height: 1.6;
  }

}

.contact-request {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: clamp(64px, 6vw, 96px);
  color: var(--color-text, #292321);
}

.contact-request__panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: #fffdfb;
  border: 1px solid #e5dcd3;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgb(58 42 30 / 5%);
}

.contact-request__main {
  min-width: 0;
  padding: clamp(32px, 3.6vw, 58px);
}

.contact-request__title,
.contact-location__title {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(38px, 3.15vw, 50px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.contact-request__intro {
  max-width: 570px;
  margin: 20px 0 30px;
  color: var(--color-muted, #5e5852);
  font-size: 16px;
  line-height: 1.7;
}

.contact-request__form {
  display: grid;
  gap: 22px;
  margin: 0;
}

.contact-request__field {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.contact-request__field label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-request__field label span {
  color: var(--color-accent, #761018);
}

.contact-request__field input,
.contact-request__field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cbbfb4;
  border-radius: 3px;
  background: #fff;
  color: var(--color-text, #292321);
  font-family: var(--font-sans, "Manrope", Arial, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-request__field input {
  min-height: 50px;
}

.contact-request__field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-request__field input:focus,
.contact-request__field textarea:focus {
  border-color: var(--color-accent, #761018);
  outline: 1px solid rgb(118 16 24 / 0%);
  outline-offset: 2px;
}

.contact-request__submit {
 width: 240px;
}

.contact-request__submit:focus-visible,
.contact-request__channel:focus-visible,
.contact-request__social a:focus-visible,
.contact-location__link:focus-visible {
  outline: 2px solid var(--color-accent, #761018);
  outline-offset: 5px;
}

.contact-request__aside {
  min-width: 0;
  padding: clamp(32px, 3.3vw, 52px);
  border-left: 1px solid #e5dcd3;
  border-radius: 0 6px 6px 0;
  background: #f7f3ee;
}

.contact-request__aside-title {
  max-width: 360px;
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(28px, 2.3vw, 35px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-request__channels {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.contact-request__channel {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  color: inherit;
  text-decoration: none;
}

.contact-request__icon,
.contact-request__social-icon {
  display: block;
  width: 28px;
  height: 28px;
  max-width: none;
  object-fit: contain;
}

.contact-request__icon {
  flex: 0 0 28px;
  margin-top: 3px;
}

.contact-request__channel > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-request__channel strong {
  font-weight: 600;
}

.contact-request__channel:hover > span > span {
  color: var(--color-accent, #761018);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-request__help {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #d9cec3;
}

.contact-request__help-title {
  margin: 0 0 17px;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}

.contact-request__help ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
}

.contact-request__help li::marker {
  color: var(--color-accent, #761018);
}

.contact-request__help p {
  margin: 20px 0 0;
  color: var(--color-muted, #5e5852);
  font-size: 14px;
  line-height: 1.7;
}

.contact-request__social {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}

.contact-request__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  color: var(--color-accent, #761018);
  transition: background-color 180ms ease;
}
.contact-request__social-icon {
  transition: transform 180ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .contact-request__social a:hover .contact-request__social-icon {
    transform: translateY(-2px);
  }
}
.contact-location {
  padding-block: clamp(56px, 5vw, 80px);
  background: #f7f3ee;
  color: var(--color-text, #292321);
}

.contact-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.contact-location__copy {
  min-width: 0;
}

.contact-location__eyebrow {
  margin: 0 0 18px 4px;
}

.contact-location__intro {
  max-width: 360px;
  margin: 22px 0 28px;
  color: var(--color-muted, #5e5852);
  font-size: 16px;
  line-height: 1.7;
}

.contact-location__address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.65;
}

.contact-location__address > svg {
  flex: 0 0 22px;
  margin-top: 3px;
  color: var(--color-accent, #761018);
}

.contact-location__address > span {
  display: grid;
  gap: 3px;
}

.contact-location__address strong {
  font-weight: 600;
}

.contact-location__address > span > span {
  color: var(--color-muted, #5e5852);
  font-size: 14px;
}

.contact-location__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  color: var(--color-accent, #761018);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.contact-location__link > span:first-child {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.contact-location__link > span:last-child {
  font-size: 23px;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-location__link:hover > span:last-child {
  transform: translateX(4px);
}

.contact-location__map {
  position: relative;
  min-width: 0;
  height: clamp(320px, 26vw, 400px);
  overflow: hidden;
  border: 1px solid #e1d8ce;
  border-radius: 6px;
  background: #e9e4dc;
}

.contact-location__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .contact-request__main,
  .contact-request__aside {
    padding: 32px;
  }

  .contact-request__title {
    font-size: 40px;
  }
}

@media (max-width: 991.98px) {
  .contact-request {
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .contact-request__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-request__main,
  .contact-request__aside {
    padding: 36px;
  }

  .contact-request__aside {
    border-top: 1px solid #e5dcd3;
    border-left: 0;
    border-radius: 0 0 6px 6px;
  }

  .contact-request__aside-title {
    max-width: none;
  }

  .contact-location__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .contact-location__intro {
    max-width: 540px;
  }

  .contact-location__map {
    height: 340px;
  }
}

@media (max-width: 575.98px) {
  .contact-request {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .contact-request__main,
  .contact-request__aside {
    padding: 28px 22px;
  }

  .contact-request__title,
  .contact-location__title {
    font-size: 36px;
    line-height: 1;
  }

  .contact-request__intro {
    margin-top: 17px;
    margin-bottom: 26px;
    font-size: 15px;
  }

  .contact-request__form {
    gap: 20px;
  }

  .contact-request__field textarea {
    min-height: 160px;
  }

  .contact-request__submit {
    justify-self: stretch;
    width: 100%;
  }

  .contact-request__aside-title {
    font-size: 30px;
  }

  .contact-request__channels {
    gap: 24px;
    margin-top: 26px;
  }

  .contact-request__channel {
    gap: 13px;
  }

  .contact-request__help {
    margin-top: 28px;
    padding-top: 24px;
  }

  .contact-request__help-title {
    font-size: 27px;
  }

  .contact-location {
    padding-block: 44px;
  }

  .contact-location__map {
    height: 290px;
  }
  .contact-request__icon, .contact-request__social-icon {
    width: 22px;
    height: 22px;
  }
  .icon-request-email{
    width: 19px;
    height: 19px;
  }
  .contact-request__social {
    gap: 0px;
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-request *,
  .contact-location * {
    transition: none;
  }
}

.contact-request__privacy {
  min-width: 0;
  color: var(--color-muted, #5e5852);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-request__privacy-details > summary {
  padding-block: 4px;
  color: var(--color-accent, #761018);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-request__privacy-details > summary:focus-visible {
  outline: 2px solid var(--color-accent, #761018);
  outline-offset: 4px;
  border-radius: 2px;
}

.contact-request__privacy-content {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #e5dcd3;
  border-radius: 4px;
  background: #f7f3ee;
  overflow-wrap: anywhere;
}

.contact-request__privacy-content p {
  margin: 0;
}

.contact-request__privacy-content p + p {
  margin-top: 10px;
}

.contact-location__map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 7px;
  border-radius: 4px 0 0;
  background: #fcfaf6;
  color: #4c3730;
  font-size: 11px;
  line-height: 1.35;
}
