.contact-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--edge-r) clamp(2rem, 5vw, 4rem) var(--edge);
}

.contact-hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.contact-hero__photo { margin: 0; min-width: 0; order: 2; }
.contact-hero__photo picture,
.contact-hero__photo img { display: block; width: 100%; }
.contact-hero__photo img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(244,240,232,.22);
}
.contact-hero__photo figcaption {
  margin-top: .65rem;
  color: var(--on-ink-2);
  font-size: .78rem;
  line-height: 1.45;
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  order: 1;
}
.contact-hero .kicker { color: var(--ember); }
.contact-hero .h-display { max-width: 9ch; }
.contact-hero__offer {
  max-width: 34ch;
  color: var(--on-ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.45;
}
.contact-hero__cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.contact-hero__links { color: var(--on-ink-2); font-size: .95rem; }
.contact-hero__links a { color: var(--paper); text-underline-offset: .2em; }

.contact-lead { background: var(--shell); border-bottom: 1px solid var(--line); }
.contact-lead .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.contact-lead__copy { max-width: 64ch; }
.contact-lead .lede { margin-top: .9rem; }
.contact-lead__links { margin-top: 1.25rem; }
.contact-lead__links a { color: var(--gulf); font-weight: 600; }
.contact-lead__hours {
  border-left: 2px solid var(--ember);
  padding: .15rem 0 .15rem 1.25rem;
  display: grid;
  gap: .75rem;
}

.contact-form {
  margin-top: var(--s3);
  display: grid;
  gap: var(--s2);
  max-width: 42rem;
  scroll-margin-top: 6rem;
}
.contact-form fieldset { border: 0; display: grid; gap: .65rem; padding: 0; }
.contact-form legend,
.inquiry-row label { font-weight: 600; font-size: .9375rem; }
.inquiry-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1rem;
}
.inquiry-topics label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--ink-2);
}
.inquiry-topics input { width: 20px; height: 20px; accent-color: var(--ember-ink); }
.inquiry-row { display: grid; gap: .35rem; }
.inquiry-row label span { font-weight: 400; color: var(--ink-2); }
.inquiry-row input,
.inquiry-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(32,39,37,.55);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: .75rem;
}
.inquiry-row textarea { resize: vertical; min-height: 9rem; }
.inquiry-row input:focus-visible,
.inquiry-row textarea:focus-visible { outline: 3px solid var(--ember-ink); outline-offset: 2px; }
.inquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inquiry-submit { min-height: 48px; }

@media (min-width: 761px) and (max-width: 959px) {
  .contact-columns { grid-template-columns: minmax(0, 1fr); }
  .contact-columns > .card { max-width: 42rem; }
}
@media (min-width: 960px) {
  .contact-columns { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .contact-columns > .card { position: sticky; top: 6rem; }
}
@media (max-width: 760px) {
  .contact-hero { padding-top: 1rem; }
  .contact-hero__inner { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
  .contact-hero__photo { order: 1; }
  .contact-hero__photo img { aspect-ratio: 2 / 1; }
  .contact-hero__copy { order: 2; gap: .65rem; }
  .contact-hero .h-display { max-width: 18ch; font-size: clamp(2rem, 8vw, 2.5rem); }
  .contact-hero__offer { max-width: 31ch; font-size: 1.06rem; }
  .contact-hero__cta { width: min(100%, 22rem); }
  .contact-lead .inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-lead__hours { padding-left: 1rem; }
  .inquiry-topics { grid-template-columns: 1fr; }
  .inquiry-submit { scroll-margin-bottom: 5rem; }
}
@media (max-width: 400px) {
  .nw { white-space: nowrap; }
  .contact-hero__links { font-size: .9rem; }
}

.contact-hero a:focus-visible{outline:3px solid var(--paper);outline-offset:3px}

/* The inquiry is already the primary action while a visitor is editing it.
   Remove the redundant fixed bar during form focus so native keyboard scrolling
   can expose the complete field without custom scroll margins or JavaScript. */
@media(max-width:760px){.contact-page:has(.contact-form:focus-within) .mobile-bar{display:none}}
