.contact-page {
  --ring: var(--primary);
  padding-block: var(--section-space);
  background: #0c120c;
  color: #fafcf7;
}
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "intro form" "next form"; grid-template-rows: auto 1fr; align-items: start; gap: 40px clamp(40px, 5vw, 80px); }
.contact-intro { grid-area: intro; min-width: 0; }
.contact-kicker { display: flex; align-items: center; gap: 14px; color: var(--primary); }
.contact-kicker > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #526b3c; border-radius: 14px; background: #24351d; }
.contact-intro h1 { max-width: 9em; }
.contact-intro h1 span { color: var(--primary); }
.contact-lead { max-width: 440px; color: #bec7b4; }
.contact-direct { display: grid; justify-items: start; gap: 12px; margin-top: var(--content-space); }
.contact-direct > span { color: #bec7b4; }
.contact-direct a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 6px; font: var(--type-h5); text-decoration: underline; text-decoration-color: #647a50; text-underline-offset: 6px; }
.contact-direct a:hover { text-decoration-color: currentColor; }
.contact-next { grid-area: next; max-width: 440px; padding-top: 24px; border-top: 1px solid #3a4733; }
.contact-next h2 { margin: 0 0 16px; }
.contact-next p { color: #bec7b4; }
.contact-next a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.contact-next p + p { margin-top: 16px; }
.contact-form-panel { --ring: #50682a; grid-area: form; min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid #ced7c5; border-radius: 24px; background: #edf1e8; color: #22321e; }
.contact-form-heading { margin-bottom: 28px; }
.contact-form-heading h2 { margin: 0 0 12px; }
.contact-form-heading > p:last-child { color: #596850; }
#contact-form { position: relative; display: grid; gap: 22px; }
.contact-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.contact-field { min-width: 0; display: grid; align-content: start; gap: 9px; }
.contact-field label { font: var(--type-button); }
.contact-field label span { font: var(--type-h6); color: #596850; white-space: nowrap; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 13px 14px; border: 1px solid #b3c2a7; border-radius: 10px; background: #fafcf7; color: #22321e; font: var(--type-body); text-transform: none; }
.contact-field select { padding-right: 28px; }
.contact-field input, .contact-field select { height: max(54px, calc(1.6em + 28px)); }
.contact-field textarea { min-height: 154px; resize: vertical; }
.contact-field input:hover, .contact-field select:hover, .contact-field textarea:hover { border-color: #6a8050; }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible, .contact-submit:focus-visible, .contact-status:focus { outline: 3px solid #3f691a; outline-offset: 3px; }
.contact-field [aria-invalid="true"] { border-color: #993c2e; }
.contact-field-hint, .contact-purpose { color: #596850; }
.contact-field-hint { margin: 0; }
.contact-field-hint a { color: #3b5726; text-decoration: underline; text-underline-offset: 3px; }
.contact-submit { justify-content: space-between; width: 100%; border: 1px solid var(--primary); background: var(--primary); color: #22321e; cursor: pointer; }
.contact-submit:hover { background: #ccee69; }
.contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-status { margin: 0; color: #35452b; overflow-wrap: anywhere; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #873426; }
.contact-status[data-state="success"] { padding: 18px; border: 1px solid #93ac6b; border-radius: 12px; background: #dcff77; }
.inquiry-success { display: grid; gap: 24px; padding-block: 24px; }
.inquiry-success > .icon { width: 48px; height: 48px; }
.inquiry-success h2 { font: var(--type-h3); }
.contact-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "next"; grid-template-rows: auto; gap: 40px; }
  .contact-intro { padding-top: 0; }
  .contact-intro h1 { max-width: 13em; }
  .contact-lead, .contact-next { max-width: 620px; }
  .contact-direct { margin-top: 28px; }
}
@media (max-width: 600px) {
  .contact-form-panel { padding: 24px 20px; border-radius: 20px; }
  .contact-field-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .contact-field input, .contact-field select, .contact-field textarea { font-size: max(16px, 1em); }
  .contact-direct a { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-submit { transition: none; }
}
