/* contact.css: the Contact page's own parts. */

/* ---------- the header: the words on white above the team's work ---------- */
.ctc-hero { padding-block: var(--space-5) 0; }
.ctc-hero__head { display: grid; justify-items: center; gap: 12px; max-width: 760px; margin: 0 auto var(--space-4); text-align: center; }
.ctc-hero__head h1 { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.25rem); line-height: 1.02; }
.ctc-hero__head p { color: var(--c-ink-soft); font-size: 1.1875rem; }
.ctc-hero__stage { position: relative; height: 520px; border-radius: var(--radius-xl); overflow: hidden; background: var(--c-line); }
.ctc-hero__stage > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 40%; }
.ctc-hero__slot { left: 24px; bottom: 24px; width: 400px; height: 280px; display: flex; align-items: flex-end; }
.ctc-hero__slot > [data-scene] { width: 100%; height: auto; }
@media (max-width: 860px) {
  .ctc-hero__head { justify-items: start; text-align: left; }
  .ctc-hero__stage { height: 520px; border-radius: var(--radius-l); }
  .ctc-hero__stage > img { object-position: 74% 0; }
  .ctc-hero__slot { left: 8px; right: 8px; bottom: 8px; width: auto; }
}

/* ---------- the form ---------- */
.ctc-form { padding-block: var(--section-y); }
.ctc-form__box { box-sizing: border-box; max-width: 780px; margin-inline: auto; padding: clamp(22px, 3.4vw, 44px); border: 1.5px solid var(--c-line); border-radius: var(--radius-xl); background: var(--c-paper); box-shadow: var(--shadow-m); }
.ctc-form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: var(--space-3); }
.ctc-form__head h2 { font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.75rem); }
.ctc-marks { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ctc-marks li { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-paper-alt); color: var(--c-ink-soft); font: 800 1rem/1 var(--font-display); }
.ctc-marks li[aria-current="step"] { background: var(--c-brand); color: var(--c-on-brand); }
.ctc-marks li[data-kit-past] { background: var(--c-found); color: var(--c-ink); }
.ctc-step { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ctc-step legend { padding: 0; margin-bottom: 14px; font: 700 1.1875rem/1.3 var(--font-ui); color: var(--c-ink); }
.ctc-needs { display: flex; flex-wrap: wrap; gap: 10px; }
.ctc-need { position: relative; display: block; cursor: pointer; }
.ctc-need input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ctc-need span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border: 1.5px solid var(--c-line); border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font: 700 1.0625rem/1.2 var(--font-ui); }
.ctc-need span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--tone); }
.ctc-need:hover span { border-color: var(--tone); }
.ctc-need[data-kit-on] span { border-color: var(--tone); background: var(--tone); color: var(--tone-ink); }
.ctc-need[data-kit-on] span::before { background: var(--tone-ink); }
.ctc-need input:focus-visible + span { outline: 3px solid var(--c-brand-text); outline-offset: 2px; }
.ctc-needs .ctc-error { flex-basis: 100%; }
.ctc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ctc-field { display: grid; gap: 6px; min-width: 0; }
.ctc-field label { font: 700 var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink); }
.ctc-field input, .ctc-field textarea { box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font: 500 1.0625rem/1.35 var(--font-ui); }
.ctc-field textarea { resize: vertical; }
.ctc-field input:focus-visible, .ctc-field textarea:focus-visible { outline: 3px solid var(--c-brand-text); outline-offset: 1px; border-color: var(--c-brand); }
.ctc-field[data-kit-invalid] input, .ctc-field[data-kit-invalid] textarea { border-color: var(--c-booked); }
.ctc-error { margin: 0; color: var(--c-booked); font: 600 var(--fs-small)/1.3 var(--font-ui); }
.ctc-next { justify-self: start; }
.ctc-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ctc-back { min-height: 48px; padding: 0 12px; border: 0; background: none; color: var(--c-ink); font: 700 var(--fs-ui)/1 var(--font-ui); cursor: pointer; }
.ctc-back:hover { color: var(--c-brand-text); }
.ctc-back:focus-visible { outline: 3px solid var(--c-brand-text); outline-offset: 2px; }
@media (max-width: 640px) {
  .ctc-fields { grid-template-columns: minmax(0, 1fr); }
  .ctc-need, .ctc-need span { width: 100%; box-sizing: border-box; }
}

/* ---------- the quicker way ---------- */
.ctc-skip { padding-block: 0 var(--section-y); }
.ctc-skip__ground { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: var(--space-5); align-items: center; padding: clamp(18px, 3vw, 40px); }
.ctc-skip__slot { position: relative; height: 580px; }
.ctc-skip__slot [data-scene] { height: 100%; }
.ctc-skip__words { display: grid; justify-items: start; gap: 14px; }
.ctc-skip__words h2 { font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.75rem); }
.ctc-skip__words > p { color: var(--c-ink-soft); font-size: 1.0625rem; line-height: 1.5; }
.ctc-skip__stop { top: 8px; left: 8px; right: auto; }
@media (max-width: 960px) {
  .ctc-skip__ground { grid-template-columns: minmax(0, 1fr); padding-bottom: 66px; }
  .ctc-skip__words { order: -1; }
  .ctc-skip__slot { height: 700px; }
  .ctc-skip__stop { top: auto; left: auto; bottom: 12px; right: 12px; }
}
