.contact-page { background: #fff; }
.contact-hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 620px; border-bottom: 1px solid var(--line); }
.contact-intro,
.contact-direct-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contact-intro { padding: clamp(80px, 10vw, 150px) var(--pad); }
.contact-intro h1 { margin-bottom: 30px; }
.contact-intro > p:last-child { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.55; }
.contact-direct { position: relative; min-width: 0; overflow: hidden; background: #2d2925; }
.contact-direct::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(17, 15, 13, .18) 58%, rgba(17, 15, 13, .88) 100%); pointer-events: none; }
.contact-direct > img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.contact-direct:hover > img { transform: scale(1.025); }
.contact-direct-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: clamp(34px, 4vw, 62px) var(--pad); color: #fff; }
.contact-direct .eyebrow { color: rgba(255,255,255,.72); }
.contact-direct-copy > a { max-width: 100%; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.72); color: #fff; font-size: clamp(22px, 2.15vw, 34px); line-height: 1.1; letter-spacing: -.025em; text-decoration: none; overflow-wrap: anywhere; }
.contact-direct-copy > p:last-child { max-width: 36ch; margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 14px; }

.contact-content { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); padding: var(--section-pad) var(--pad); }
.company-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(34px, 4vw, 62px) clamp(34px, 4vw, 62px) 0; border: 1px solid #d8d1c5; background: #f7f6f3; box-shadow: 0 24px 70px rgba(45, 35, 25, .07); overflow: hidden; }
.company-card h2 { margin-bottom: 48px; font-size: clamp(42px, 4vw, 68px); }
.company-card dl { margin: 0; }
.company-card dl div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 20px; padding: 19px 0; border-top: 1px solid var(--line); }
.company-card dt { color: var(--muted); font-size: 13px; }
.company-card dd { margin: 0; font-size: 15px; line-height: 1.55; }
.company-card-media { flex: 1 1 auto; min-height: 430px; margin: clamp(38px, 4vw, 62px) clamp(-62px, -4vw, -34px) 0; overflow: hidden; background: #252d35; }
.company-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.company-card:hover .company-card-media img { transform: scale(1.02); }

.form-panel {
  max-width: 880px;
  width: 100%;
  border: 1px solid #d8d1c5;
  background: #f2eee7;
  box-shadow: 0 24px 70px rgba(45, 35, 25, .07);
}
.form-heading {
  margin: 0;
  padding: clamp(34px, 4vw, 58px) clamp(30px, 4.5vw, 66px) clamp(30px, 3.5vw, 48px);
  border-bottom: 1px solid #d8d1c5;
  background: #e8dfd2;
}
.form-heading .eyebrow { color: #755334; }
.form-heading h2 { max-width: 700px; margin: 0; font-size: clamp(40px, 4.3vw, 68px); }
#contact-form {
  display: grid;
  gap: clamp(38px, 4vw, 54px);
  padding: clamp(34px, 4.5vw, 66px);
}
.form-fields {
  display: grid;
  min-width: 0;
  gap: 22px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fields legend {
  width: 100%;
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 1px solid #cfc6b8;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}
#contact-form label:not(.form-honey) { display: grid; gap: 9px; color: #5f5a53; font-size: 13px; font-weight: 500; }
#contact-form label small { font-size: 11px; font-weight: 400; }
#contact-form input,
#contact-form select,
#contact-form textarea { width: 100%; border: 1px solid #bfb7aa; border-radius: 0; padding: 15px 16px; background: rgba(255,255,255,.84); color: var(--ink); font: inherit; font-size: 17px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
#contact-form select { cursor: pointer; }
#contact-form textarea { min-height: 220px; resize: vertical; }
#contact-form input:hover,
#contact-form select:hover,
#contact-form textarea:hover { border-color: #8f8577; background: #fff; }
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus { border-color: #755334; background: #fff; box-shadow: 0 0 0 3px rgba(117,83,52,.13); }
.form-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 26px; padding-top: 28px; border-top: 1px solid #cfc6b8; }
.form-actions .button { min-width: 176px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.form-actions .button:hover { border-color: #755334; background: #755334; }
.form-actions .button[disabled] { cursor: wait; opacity: .55; transform: none; }
.form-actions p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-status { min-height: 0; margin: -20px 0 0; color: var(--muted); font-size: 14px; }
.form-status:not(:empty) { min-height: 24px; padding: 14px 16px; border: 1px solid #cfc6b8; background: rgba(255,255,255,.65); }
.form-status.is-success { border-color: #aac1ae; background: #eef5ef; color: #315c3a; }
.form-status.is-error { border-color: #d6aaa3; background: #f8eeee; color: #8b3328; }
.contact-page a:focus-visible,
.contact-page button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .contact-hero,
  .contact-content { grid-template-columns: 1fr; }
  .contact-hero { min-height: auto; }
  .contact-intro,
  .contact-direct { min-height: 460px; }
  .contact-content { gap: 72px; }
  .company-card { max-width: 720px; padding-bottom: 0; }
  .company-card-media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  .contact-intro,
  .contact-direct-copy { padding-right: var(--pad); padding-left: var(--pad); }
  .contact-intro { min-height: auto; padding-top: 78px; padding-bottom: 82px; }
  .contact-direct { min-height: 430px; }
  .contact-direct-copy > a { font-size: clamp(24px, 7.2vw, 34px); }
  .contact-content { gap: 64px; }
  .company-card dl div { grid-template-columns: 1fr; }
  .company-card dl div { gap: 6px; }
  .form-heading,
  #contact-form { padding-right: 24px; padding-left: 24px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .button { width: 100%; }
}
