/* Contact: places and sizes only, and the form's own fields. */
.page-contact { --ct-error: #b42318; }

/* ---------- hero, offset: the words at the upper left on their own white ground, tucked over the top left corner of
   a wide framed photo at the lower right; fastreply on the photo's open table, clear of the hands ---------- */
.ct-hero { padding: calc(var(--section-y) * 0.42) 0 calc(var(--section-y) * 0.62); }
.ct-hero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ct-hero__copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; padding: 0 clamp(2rem, 3vw, 3rem) clamp(2rem, 2.6vw, 2.75rem) 0; background: var(--c-paper); border-bottom-right-radius: var(--radius-l); }
.ct-hero__copy h1 { font-size: var(--fs-h1); max-width: 13ch; }
.ct-hero__copy .lead { margin-top: var(--space-4); max-width: 34rem; }
.ct-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); }
.ct-hero__actions .button:hover .button__arrow { transform: translateY(2px); }
.ct-hero__stage { grid-column: 4 / -1; grid-row: 2; position: relative; margin-top: -88px; }
.ct-hero__frame { aspect-ratio: 16 / 8.6; }
.ct-hero__frame img { object-position: 50% 45%; }
.ct-hero__stage > .ct-hero__scene { position: absolute; z-index: 3; left: -96px; bottom: 36px; width: min(380px, 44%); overflow: visible; }
@media (max-width: 899px) {
  .ct-hero__in { display: block; }
  .ct-hero__copy { padding: 0; background: none; }
  .ct-hero__stage { margin-top: var(--space-5); }
  .ct-hero__frame { aspect-ratio: 16 / 10; }
  .ct-hero__stage > .ct-hero__scene { left: 24px; bottom: 24px; width: min(340px, 44%); }
}
@media (max-width: 699px) {
  .ct-hero__frame { aspect-ratio: 4 / 5; }
  .ct-hero__frame img { object-position: 80% 50%; }
  /* the card grows as its chat plays: its box keeps the full card's height (222 to 249 px from 320 to 699 px wide), so
     nothing under it moves when it starts again */
  .ct-hero__stage > .ct-hero__scene { position: relative; left: auto; bottom: auto; width: auto; min-height: 252px; margin: -150px 14px 0; }
}

/* ---------- the form: a solid white box (the step markers, two steps), a person and the other ways beside it ---------- */
.ct-form__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: start; }
.ct-form__head { grid-column: 1; margin-bottom: var(--space-5); }
.ct-form__head .lead { margin-top: var(--space-3); }
.ct-form__box { grid-column: 1; grid-row: 2; padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.ct-aside { grid-column: 2; grid-row: 2; }

/* step markers: the current one solid navy, a passed one light blue with its number */
.ct-steps { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 var(--space-4); padding: 0 0 var(--space-4); list-style: none; border-bottom: 1px solid var(--c-line); }
.ct-steps li { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; font: 600 var(--fs-ui)/1.2 var(--font-ui); color: var(--c-meta); }
.ct-steps li + li::before { content: ""; width: clamp(1.5rem, 4vw, 3rem); height: 1px; background: var(--c-line-strong); margin-right: 0.15rem; }
.ct-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); background: var(--c-paper); font: 700 0.875rem/1 var(--font-ui); color: var(--c-ink); }
.ct-steps [aria-current="step"] { color: var(--c-ink); }
.ct-steps [aria-current="step"] b { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.ct-steps [data-kit-past] b { background: var(--c-brand-light); border-color: var(--c-brand-light); }

.ct-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-legend { padding: 0; margin-bottom: var(--space-4); font: 600 var(--fs-h3)/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--c-ink); }

/* the choices: the home tour's list component, solid navy once chosen */
.ct-choices { display: grid; gap: 0.6rem; }
.ct-choice { display: block; }
.ct-choice input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-choice::after { display: none; }
.ct-choice:not([data-kit-on]):hover { border-color: var(--c-brand); background: var(--c-paper-deep); }
.ct-choice:not([data-kit-on]):hover::before { transform: translateX(3px) rotate(45deg); }
.ct-choice[data-kit-on] { border-color: var(--c-brand); background: var(--c-brand); box-shadow: var(--shadow-m); }
.ct-choice[data-kit-on] strong { color: var(--c-on-brand); }
.ct-choice[data-kit-on] span { color: var(--c-brand-on-ink); }
.ct-choice[data-kit-on]::before { border-color: var(--c-on-brand); }
.ct-choice:has(input:focus-visible) { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }

.ct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.ct-actions .button:only-child { margin-left: auto; }
.ct-actions [data-kit-back] .button__arrow { order: -1; }
.ct-actions [data-kit-back]:hover .button__arrow { transform: translateX(-3px); }

/* step two: what it's about, then the fields */
.ct-about { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: calc(var(--space-2) * -1) 0 var(--space-4); padding: 0.4rem 0.85rem; border-radius: var(--radius-pill); background: var(--c-paper-deep); font: 500 var(--fs-small)/1.3 var(--font-ui); color: var(--c-meta); }
.ct-about b { font-weight: 650; color: var(--c-ink); }
.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { display: block; margin-bottom: 0.45rem; font: 600 var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink); }
.ct-field label span { font-weight: 500; color: var(--c-meta); }
.ct-field input, .ct-field textarea { display: block; width: 100%; min-height: 52px; padding: 0.8rem 1rem; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius-m); background: var(--c-paper); font: 400 var(--fs-body)/1.45 var(--font-text); color: var(--c-ink); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.ct-field textarea { min-height: 148px; resize: vertical; }
.ct-field input:hover, .ct-field textarea:hover { border-color: var(--c-accent-text); }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-brand) 14%, transparent); }
[data-kit-invalid] input, [data-kit-invalid] textarea { border-color: var(--ct-error); }
.ct-error { margin-top: 0.45rem; font: 500 var(--fs-small)/1.4 var(--font-ui); color: var(--ct-error); }
.ct-note { margin-top: var(--space-4); font: 500 var(--fs-small)/1.45 var(--font-ui); color: var(--c-meta); }
.ct-note a { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-line-strong); text-underline-offset: 3px; }
.ct-note a:hover { text-decoration-color: var(--c-brand); }
.ct-form__form[data-kit-sending] [type="submit"] { opacity: 0.7; pointer-events: none; }

/* beside it: a person, then the phone and the email on the same list component */
.ct-aside { padding-top: var(--space-2); }
.ct-aside__bars { display: flex; gap: 5px; height: 26px; margin-bottom: var(--space-3); }
.ct-aside__bars i { width: 9px; background: var(--c-brand); border-radius: 1px; }
.ct-aside__bars i + i { background: var(--c-line-strong); }
.ct-aside h3 { font-size: var(--fs-h3); }
.ct-aside h3 + p { margin-top: var(--space-2); color: var(--c-ink-soft); }
.ct-aside__or { margin: var(--space-5) 0 var(--space-3); font: 600 var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink); }
.ct-way { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; column-gap: 0.9rem; text-decoration: none; }
.ct-way + .ct-way { margin-top: 0.6rem; }
.ct-way::after { display: none; }
.ct-way:hover { border-color: var(--c-brand); background: var(--c-paper-deep); }
.ct-way:hover::before { transform: translateX(3px) rotate(45deg); }
.ct-way__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-paper-deep); color: var(--c-ink); }
.ct-way__icon svg { width: 20px; height: 20px; }
.ct-way small { display: block; font: 500 var(--fs-small)/1.3 var(--font-ui); color: var(--c-meta); }
.ct-way strong { margin-top: 0.15rem; overflow-wrap: anywhere; }

@media (max-width: 899px) {
  .ct-form__in { display: block; }
  .ct-aside { margin-top: var(--space-6); padding-top: 0; }
}
@media (max-width: 599px) {
  .ct-fields { grid-template-columns: 1fr; }
  .ct-actions { flex-direction: column-reverse; align-items: stretch; }
  .ct-actions .button { width: 100%; }
  .ct-steps li { gap: 0.5rem; font-size: var(--fs-small); }
  .ct-steps li + li::before { width: 1rem; }
}
@media (max-width: 379px) { .ct-steps li + li::before { display: none; } }

/* ---------- skip: the closing band, the realtor between showings, and the main button ---------- */
.ct-skip__actions { margin-top: var(--space-5); }
#skip .close-band__media video { object-position: 54% 30%; }

/* member fix, 23 Nov 2026: the reply time under the header's line */
.ct-hero__reply { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--space-3); padding: 0.45rem 0.85rem 0.45rem 0.6rem; border-radius: var(--radius-pill); background: var(--c-paper-alt); border: 1px solid var(--c-line); font: 600 var(--fs-small)/1.3 var(--font-ui); color: var(--c-ink); }
.ct-hero__reply svg { width: 18px; height: 18px; flex: none; color: var(--c-accent-text); }
