/* contact.css: /contact/ and the thank-you pages
   (templates/contact.html and message_submit_success.html).
   Tokens only; no hex codes. Linked from each template's head block after
   site.min.css. Marked floor (18 Nov): photos with nothing around them,
   panels by ground, "What happens next" numbered 1 to 4 (a real sequence)
   in Public Sans, no monospace. */

/* ---- Contact hero: the face of who answers (the hero's aside) ------------
   Phones and tablets: a 72 px round headshot beside the line, under the
   lead. From 992 px: a 200 px square in the hero's second column. */
.contact-person { display: flex; align-items: center; gap: var(--space-4); }
.contact-person__photo { flex: none; width: 72px; }
.contact-person__photo img { width: 72px; height: 72px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }
.contact-person__line { margin: 0; font-size: var(--fs-lead); line-height: 1.4; font-weight: 600; color: var(--color-text-heading); }
@media (min-width: 992px) {
  .contact-person { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .contact-person__photo { width: 200px; }
  .contact-person__photo img { width: 200px; height: 200px; border-radius: var(--radius-photo); }
}
/* hero(aside=…) hides an aside below 992 px; this one is a 72 px row, so it
   stays, under the lead (the H1 is still first). From 992 px it starts on
   the same line as "Call or email" below (both grids are 7 / 5). The hero
   has no buttons, so the lead needs no space under it. */
.page-contact .hero--aside .hero__lead { margin-bottom: 0; }
@media (max-width: 991.98px) {
  .page-contact .hero__aside { display: block; }
  .page-contact .hero--aside .hero__grid { row-gap: var(--space-6); }
}

/* ---- Contact: the form beside the direct line ---------------------------- */
.contact-main.band { padding-top: var(--space-7); }
@media (min-width: 992px) { .contact-main.band { padding-top: var(--space-8); } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
@media (min-width: 992px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
}

.contact-form-head { margin-bottom: var(--space-5); }
.contact-form-head h2 { margin-bottom: var(--space-3); font-size: var(--fs-h2-prose); line-height: 1.15; }
.contact-form-head__intro { max-width: 56ch; margin: 0; color: var(--color-text); }
.contact-quick { margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--color-border); color: var(--color-text); }
.contact-quick a { font-weight: 600; white-space: nowrap; }
@media (min-width: 992px) { .contact-quick { display: none; } }

.contact-grid__side { display: flex; flex-direction: column; gap: var(--space-7); }
.contact-grid__side h2 { margin-bottom: var(--space-4); }

.contact-direct__list { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--space-5); align-items: baseline; }
.contact-direct__list dt { color: var(--color-text-muted); }
.contact-direct__list dd { margin: 0; overflow-wrap: anywhere; }
.contact-direct__list dd a { display: inline-flex; align-items: center; min-height: var(--target-min); font-size: var(--fs-lead); }
.contact-direct .capacity { margin-bottom: 0; }

.contact-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.contact-steps > li { position: relative; padding-left: 40px; counter-increment: step; }
.contact-steps > li + li { margin-top: var(--space-5); }
.contact-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-sans);
  font-weight: var(--fw-figure);
  font-size: 1.5rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--color-marker);
}
.contact-steps__title { display: block; margin-bottom: var(--space-1); font-weight: 600; color: var(--color-text-heading); }
.contact-steps__text { display: block; font-size: 1rem; line-height: 1.55; color: var(--color-text); }

/* What a call covers: under the steps, inside the same panel. */
.contact-covers { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.contact-covers__title { margin: 0 0 var(--space-2); font-family: var(--font-sans); font-size: var(--fs-h4); font-weight: 600; line-height: 1.4; color: var(--color-text-heading); }
.contact-covers__text { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--color-text); }

.contact-more__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.contact-more__list > li { padding: var(--space-3) 0 var(--space-4); border-bottom: 1px solid var(--color-border); }
.contact-more__list p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }

/* ---- Thank-you pages ------------------------------------------------- */
.success-direct { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--color-border); font-size: var(--fs-body); color: var(--color-text); }
.success-direct a { white-space: nowrap; }
.success-ref { margin-top: var(--space-4); font-size: var(--fs-body); color: var(--color-text); }
.success-ref__code { font-weight: 600; font-variant-numeric: tabular-nums slashed-zero; letter-spacing: .02em; color: var(--color-text-heading); white-space: nowrap; }
