/* contact.css: the form at the left, the hands answering at the right, then the chat as the quicker way. */

/* ---------- hero ---------- */
.contact-hero { background: var(--c-paper); color: var(--c-ink); padding-block: clamp(32px, 4vw, 56px) clamp(48px, 5vw, 72px); }
.contact-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-hero__left h1 { font-size: clamp(2.125rem, 1.35rem + 2.5vw, 3.375rem); }
.contact-hero__left .lede { margin-top: 14px; max-width: 34em; }
.contact-hero__stage { position: relative; overflow: hidden; min-height: 640px; border-radius: var(--radius-l); background: var(--c-ink-raised); }
.contact-hero__clip { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 60% 0; }
.contact-hero__stage .contact-hero__scene { position: absolute; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); height: 300px; }

/* the form */
.form-box { margin-top: 22px; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-paper-alt); }
.form-box__marks { list-style: none; display: flex; gap: 6px; margin: 0 0 14px; padding: 0; font: 500 var(--fs-mono)/1 var(--font-mono); }
.form-box__marks li { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-paper); color: var(--c-ink-soft); box-shadow: inset 0 0 0 1px var(--c-line); }
.form-box__marks li[aria-current="step"] { background: var(--c-ink); color: var(--c-on-ink); box-shadow: none; }
.form-box__marks li[data-kit-past] { background: var(--c-brand); color: var(--c-on-brand); box-shadow: none; }
.form-box__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-box__q { padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice:last-of-type { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__tile { display: grid; gap: 2px; height: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: var(--radius-m); background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); }
.choice__tile b { font-size: 1.0625rem; }
.choice__tile small { color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.3; }
.choice:hover .choice__tile { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.choice input:checked + .choice__tile { background: var(--c-ink); color: var(--c-on-ink); box-shadow: none; }
.choice input:checked + .choice__tile small { color: var(--c-on-ink-soft); }
.choice input:focus-visible + .choice__tile { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.form-box__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.field { display: grid; gap: 5px; margin-bottom: 12px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field input, .field textarea { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--c-ink-soft); border-radius: var(--radius-s); background: var(--c-paper); color: var(--c-ink); font: inherit; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 1px; }
.field [data-kit-invalid], .field [aria-invalid="true"] { border-color: var(--c-error); }
.form-box__error { grid-column: 1 / -1; margin: 0; color: var(--c-error); font-size: var(--fs-small); font-weight: 600; }
.form-box__end { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-box__back { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--c-brand); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 1023px) {
  .contact-hero__in { grid-template-columns: minmax(0, 1fr); }
  .contact-hero__stage { min-height: 460px; }
  .contact-hero__clip { object-position: 50% 0; }
  .contact-hero__stage .contact-hero__scene { left: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); height: 270px; }
}
@media (max-width: 479px) {
  .choices, .form-box__two { grid-template-columns: minmax(0, 1fr); }
  .form-box { padding: 16px; }
}

/* ---------- skip: the owner relaxed behind her counter, the plan on a sheet over her shelves ---------- */
.skip__in { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.skip__action { display: grid; justify-items: start; margin-top: 20px; }
.skip__action .cta-note { margin-top: 10px; }
.skip__mail { margin-top: 18px; color: var(--c-ink-soft); }
.skip__mail a { color: var(--c-brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.skip__frame { position: relative; overflow: hidden; height: 600px; border-radius: var(--radius-l); background: var(--c-ink-raised); }
.skip__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 30% 50%; }
/* the sheet lies on the plain counter, under her hands */
.skip__frame .skip__scene { position: absolute; left: 12px; bottom: 6px; width: min(440px, 58%); height: 300px; background: transparent; }
.skip__stop { top: 20px; right: 20px; }
@media (max-width: 899px) {
  .skip__in { grid-template-columns: minmax(0, 1fr); }
  .skip__frame { order: -1; height: 640px; }
  .skip__photo { object-position: 54% 50%; }
  .skip__frame .skip__scene { left: 50%; bottom: 6px; translate: -50% 0; width: min(420px, calc(100% - 16px)); height: 300px; }
}
