:root {
  --contact-ink: #172329;
  --contact-deep: #0d172a;
  --contact-paper: #faf8f3;
  --contact-cream: #f1ece3;
  --contact-sage: #dfe4df;
  --contact-gold: #c2a778;
  --contact-line: rgba(23, 35, 41, .18);
}

* { box-sizing: border-box; }
body.contact-page { margin: 0; background: var(--contact-paper); color: var(--contact-ink); font-family: var(--sans); font-weight: 300; line-height: 1.9; }
.contact-page a { color: inherit; }
.contact-page main { overflow: hidden; }

.contact-hero {
  display: block;
  min-height: 720px;
  padding: clamp(80px, 9vw, 130px) clamp(40px, 7vw, 110px);
  background:
    radial-gradient(circle at 8% 20%, rgba(194, 167, 120, .14), transparent 28%),
    var(--contact-paper);
}

.contact-intro { width: 100%; max-width: 1180px; margin: 0 auto; }
.contact-eyebrow, .contact-form-kicker { margin: 0 0 24px; color: #667671; font-size: 11px; font-weight: 500; letter-spacing: .28em; }
.contact-intro h1 { margin: 0 0 34px; font: 400 clamp(42px, 4.6vw, 68px)/1.5 var(--serif); letter-spacing: .045em; white-space: nowrap; }
.contact-intro > p:not(.contact-eyebrow) { max-width: 820px; margin: 0; color: #52605c; font-size: 18px; line-height: 2.05; }
.contact-details { display: grid; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--contact-line); }
.contact-details div { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: baseline; }
.contact-details span { color: #71807b; font-size: 14px; letter-spacing: .1em; }
.contact-details strong, .contact-details a { font-size: 16px; font-weight: 400; }
.contact-details a { width: fit-content; color: #8a6841; text-decoration: underline; text-underline-offset: 5px; }

.contact-form-panel { align-self: center; padding: clamp(38px, 5vw, 68px); background: #fff; border: 1px solid var(--contact-line); box-shadow: 0 28px 70px rgba(23, 35, 41, .08); }
.contact-form-panel h2 { margin: 0 0 38px; font: 500 clamp(30px, 3vw, 42px)/1.5 var(--serif); letter-spacing: .05em; }
.contact-form-kicker { color: #9a784f; }
.contact-field { margin-bottom: 26px; }
.contact-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.contact-field label span { color: #9a5c4a; }
.contact-field input, .contact-field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(23, 35, 41, .24); border-radius: 0; background: #fbfaf7; color: var(--contact-ink); font: 400 16px/1.7 var(--sans); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-field textarea { min-height: 180px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #87908d; opacity: 1; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #9a784f; outline: 0; background: #fff; box-shadow: 0 0 0 3px rgba(194, 167, 120, .2); }
.contact-botcheck { position: absolute; left: -9999px; opacity: 0; }
.contact-privacy { margin: -2px 0 24px; color: #71807b; font-size: 11px; line-height: 1.8; }
.contact-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 54px; padding: 14px 20px; border: 1px solid var(--contact-deep); background: var(--contact-deep); color: #fff; cursor: pointer; font: 500 14px var(--sans); letter-spacing: .1em; transition: background .2s, transform .2s; }
.contact-submit:hover { background: #263653; transform: translateY(-2px); }
.contact-submit:focus-visible { outline: 3px solid var(--contact-gold); outline-offset: 3px; }
.contact-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.contact-status { min-height: 28px; margin: 18px 0 0; font-size: 13px; font-weight: 400; }
.contact-status.is-success { color: #466655; }
.contact-status.is-error { color: #9a4f45; }

.contact-next { padding: 100px 8vw 115px; background: var(--contact-sage); }
.contact-next h2 { max-width: none; margin: 0; font: 400 clamp(32px, 4vw, 52px)/1.55 var(--serif); letter-spacing: .05em; white-space: nowrap; }
.contact-next-links { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 55px; border-top: 1px solid var(--contact-line); border-left: 1px solid var(--contact-line); }
.contact-next-links a { position: relative; display: grid; min-height: 180px; padding: 35px; border-right: 1px solid var(--contact-line); border-bottom: 1px solid var(--contact-line); text-decoration: none; transition: background .25s, transform .25s; }
.contact-next-links a:hover { background: rgba(255,255,255,.42); transform: translateY(-4px); }
.contact-next-links span { font: 500 24px var(--serif); letter-spacing: .04em; }
.contact-next-links small { margin-top: 12px; color: #5f6c68; font-size: 13px; }
.contact-next-links b { position: absolute; right: 30px; bottom: 28px; font-weight: 400; }

@media (max-width: 900px) {
  .contact-hero { grid-template-columns: 1fr; gap: 58px; min-height: 0; padding: 82px 7vw 95px; }
  .contact-intro { max-width: 700px; }
  .contact-intro h1, .contact-next h2 { white-space: normal; }
  .contact-form-panel { width: 100%; max-width: 700px; }
}

@media (max-width: 580px) {
  .contact-hero { gap: 45px; padding: 66px 22px 80px; }
  .contact-intro h1 { font-size: 38px; }
  .contact-intro > p:not(.contact-eyebrow) { font-size: 16px; }
  .contact-details div { grid-template-columns: 1fr; gap: 2px; }
  .contact-details span { font-size: 13px; }
  .contact-details strong, .contact-details a { font-size: 15px; }
  .contact-form-panel { padding: 32px 22px; }
  .contact-field input, .contact-field textarea { font-size: 16px; }
  .contact-submit { min-height: 52px; }
  .contact-next { padding: 80px 22px 90px; }
  .contact-next-links { grid-template-columns: 1fr; margin-top: 40px; }
  .contact-next-links a { min-height: 160px; padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after { scroll-behavior: auto; transition: none; }
}
