.l4d-contact-page {
  --he-contact-ink: #17352c;
  --he-contact-muted: #60736c;
  --he-contact-green: #315f4c;
  --he-contact-sage: #dfe9df;
  --he-contact-cream: #f7f4ec;
  --he-contact-line: rgba(23, 53, 44, .14);
  color: var(--he-contact-ink);
  background: #fff;
  font-family: inherit;
}

.l4d-contact-page *,
.l4d-contact-page *::before,
.l4d-contact-page *::after { box-sizing: border-box; }

.he-contact-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.he-contact-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(58px, 8vw, 92px);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.7), transparent 27%),
    linear-gradient(135deg, #e9f0e7, #f7f4ec 64%);
}

.he-contact-kicker {
  margin: 0 0 13px;
  color: var(--he-contact-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.he-contact-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.he-contact-hero .he-contact-shell > p:last-child {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--he-contact-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.he-contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 80px);
  padding-block: clamp(62px, 9vw, 112px);
  align-items: start;
}

.he-contact-details { padding: 12px 0; }
.he-contact-details h2,
.he-contact-form-card h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.he-contact-details > p:not(.he-contact-kicker) { color: var(--he-contact-muted); line-height: 1.7; }
.he-contact-details dl { margin: 38px 0 0; border-top: 1px solid var(--he-contact-line); }
.he-contact-details dl div { padding: 20px 0; border-bottom: 1px solid var(--he-contact-line); }
.he-contact-details dt { margin-bottom: 5px; color: var(--he-contact-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.he-contact-details dd { margin: 0; line-height: 1.6; }
.he-contact-details a { color: var(--he-contact-green); font-weight: 700; text-decoration: none; }
.he-contact-details a:hover { text-decoration: underline; }

.he-contact-form-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--he-contact-line);
  border-radius: 28px;
  background: var(--he-contact-cream);
  box-shadow: 0 24px 70px rgba(23, 53, 44, .09);
}

.he-contact-form { display: grid; gap: 18px; margin-top: 30px; }
.he-contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.he-contact-form label { display: grid; gap: 8px; color: var(--he-contact-ink); font-size: 14px; font-weight: 700; }
.he-contact-form label small { color: var(--he-contact-muted); font-size: inherit; font-weight: 400; }
.he-contact-form input,
.he-contact-form textarea {
  width: 100%;
  border: 1px solid var(--he-contact-line);
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--he-contact-ink);
  font: inherit;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.he-contact-form input { min-height: 50px; padding: 10px 14px; }
.he-contact-form textarea { min-height: 165px; padding: 14px; resize: vertical; }
.he-contact-form input:focus,
.he-contact-form textarea:focus { border-color: var(--he-contact-green); box-shadow: 0 0 0 3px rgba(49, 95, 76, .12); }
.he-contact-form button {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 25px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--he-contact-green);
  color: #fff;
  font: inherit;
  font-weight: 800;
}
.he-contact-form button:hover { background: var(--he-contact-ink); }
.he-contact-form button:disabled { cursor: wait; opacity: .72; }
.he-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.he-contact-notice { margin: 24px 0 0; padding: 14px 17px; border-radius: 12px; line-height: 1.55; }
.he-contact-notice.is-success { border: 1px solid #a9c6ad; background: #edf6ed; color: #204b2b; }
.he-contact-notice.is-error { border: 1px solid #d9aaa5; background: #fff0ed; color: #7a2921; }

@media (max-width: 900px) {
  .he-contact-shell { width: min(100% - 28px, 1160px); }
  .he-contact-layout { grid-template-columns: 1fr; }
  .he-contact-field-row { grid-template-columns: 1fr; }
  .he-contact-form-card { border-radius: 20px; }
  .he-contact-form button { width: 100%; }
}

/* Shared responsive guardrails: contain unpredictable CMS content. */
.l4d-contact-page { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.l4d-contact-page :where(img,video,canvas,iframe) { max-width:100%; }
.l4d-contact-page :where(input,select,textarea) { max-width:100%; }
