.deem-contact-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(420px, 36vw, 510px);
  background: var(--deem-plum-deep);
  color: var(--deem-ivory);
}

.deem-contact-page-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  display: block;
  width: 65% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  opacity: .85;
}

.deem-contact-page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(29,12,21,.04) 0%, rgba(29,12,21,.42) 28%, rgba(29,12,21,.92) 56%, var(--deem-plum-deep) 82%);
  content: '';
  pointer-events: none;
}

.deem-contact-page-hero::after {
  position: absolute;
  z-index: -1;
  inset-block: 8% 8%;
  inset-inline-end: clamp(30px, 5vw, 90px);
  width: min(24vw, 350px);
  border: 1px solid rgba(225,189,137,.24);
  border-radius: 48% 48% 0 0;
  box-shadow: 0 0 0 13px rgba(225,189,137,.035), inset 0 0 0 13px rgba(225,189,137,.035);
  content: '';
  pointer-events: none;
}

.deem-contact-page-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: 55px;
}

.deem-contact-page-hero__copy {
  width: min(100%, 590px);
  padding-inline-end: clamp(0px, 2vw, 26px);
  animation: deem-contact-hero-arrive 650ms ease-out both;
}

.deem-contact-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 9px;
  color: var(--deem-gold-light);
  font: 700 13px/1.5 var(--deem-font-body);
  letter-spacing: .03em;
}

.deem-contact-page-hero__eyebrow span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

#content .entry-content .deem-contact-page-hero__title,
.deem-contact-page-hero__title {
  margin: 0;
  color: var(--deem-gold-light);
  background-image: linear-gradient(180deg, #fff8e5 0%, var(--deem-gold-light) 35%, #fff7e1 52%, var(--deem-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .25px rgba(255,239,204,.32);
  font-family: var(--deem-font-display);
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.18;
  text-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(13,3,8,.42));
}

.deem-contact-page-hero__ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 176px;
  margin-block: 22px 22px;
  color: var(--deem-gold);
}

.deem-contact-page-hero__ornament::before,
.deem-contact-page-hero__ornament::after { flex: 1; height: 1px; background: currentColor; content: ''; opacity: .85; }
.deem-contact-page-hero__ornament span { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }

.deem-contact-page-hero__description {
  max-width: 490px;
  margin: 0 0 28px;
  color: #eee2d8;
  font: 500 clamp(16px, 1.28vw, 19px)/1.9 var(--deem-font-body);
  text-shadow: 0 2px 8px rgba(19,4,12,.35);
}

.deem-contact-page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.deem-contact-page-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 22px;
  border: 1px solid var(--deem-gold-light);
  border-radius: 3px;
  font: 700 16px/1.25 var(--deem-font-body);
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.deem-contact-page-hero__button--primary {
  background: linear-gradient(165deg, #f1d6a7, var(--deem-gold));
  color: var(--deem-plum-deep) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.46), 0 6px 20px rgba(11,2,7,.17);
}

.deem-contact-page-hero__button--primary img { display: block; width: 19px; height: 19px; filter: brightness(.23) sepia(.28); }
.deem-contact-page-hero__button--outline { background: rgba(29,12,21,.3); color: var(--deem-gold-light) !important; }
.deem-contact-page-hero__button:hover,
.deem-contact-page-hero__button:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,2,7,.24); }
.deem-contact-page-hero__button--outline:hover,
.deem-contact-page-hero__button--outline:focus-visible { background: rgba(225,189,137,.12); }

.deem-contact-page-hero__edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,189,137,.65), transparent);
  pointer-events: none;
}

@keyframes deem-contact-hero-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767px) {
  .deem-contact-page-hero { min-height: 640px; }
  .deem-contact-page-hero__image { inset: 0 0 auto; width: 100% !important; height: 58% !important; object-position: center; }
  .deem-contact-page-hero::before { background: linear-gradient(180deg, rgba(29,12,21,.03) 0%, rgba(29,12,21,.2) 31%, rgba(29,12,21,.86) 52%, var(--deem-plum-deep) 69%); }
  .deem-contact-page-hero::after { inset-block: 6% auto; inset-inline-end: 10%; width: 56vw; height: 42%; opacity: .5; }
  .deem-contact-page-hero__inner { align-items: flex-end; padding-block: 255px 46px; }
  .deem-contact-page-hero__copy { width: 100%; padding-inline-end: 0; }
  #content .entry-content .deem-contact-page-hero__title,
  .deem-contact-page-hero__title { font-size: clamp(3.2rem, 12vw, 4.5rem); }
  .deem-contact-page-hero__ornament { margin-block: 15px 17px; }
  .deem-contact-page-hero__description { margin-bottom: 20px; font-size: 16px; line-height: 1.75; }
  .deem-contact-page-hero__button { min-height: 48px; font-size: 14px; padding-inline: 16px; }
}

@media (max-width: 380px) {
  .deem-contact-page-hero__actions { gap: 9px; }
  .deem-contact-page-hero__button { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .deem-contact-page-hero__copy { animation: none; }
  .deem-contact-page-hero__button { transition: none; }
}
