/* Contact page CSS: the query form on the right of the split hero */
.ct-card { align-self: start; height: auto !important; padding: var(--s-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.ct-form__h { margin: 0 0 var(--s-5); font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-4); }
.ct-wide { grid-column: 1 / -1; }
.ct-form .field { display: grid; gap: 6px; }
.ct-form label { font-size: 14px; font-weight: 500; }
.ct-form input, .ct-form select, .ct-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgb(42 39 36 / .22); border-radius: var(--r-sm, 8px); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font-text); }
.ct-form textarea { min-height: 104px; resize: vertical; }
.ct-form [aria-invalid="true"] { border-color: #b3261e; }
.ct-form .field__error { margin: 0; color: #b3261e; font-size: 14px; }
.ct-form .btn-row { margin-top: var(--s-5); }
.ct-form .form__status { margin: var(--s-3) 0 var(--s-2); min-height: 1.4em; font-size: 14px; }
.ct-routes { max-width: none; margin-top: var(--s-5); }
@media (max-width: 1023px) { .ct-card { margin-top: var(--s-6); } }
@media (max-width: 639px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } .ct-card { padding: var(--s-4); } }
/* the contact hero holds a form, so it may run past one screen rather than squeeze it */
.ct-hero { height: auto; min-height: 100svh; }
