/* Contact. The header: a real photo of a tidy desk, a person's answer playing on the laptop's own screen, the words in a
   solid box low on the picture. --pw is the width the photo is drawn at: everything in the header counts from it, so the
   screen stays centered and clear of the box at every width. */
.cth { --pw: 108vw; position: relative; padding: 0 var(--gutter) clamp(1.5rem, 3vw, 2.5rem); background: var(--c-paper); }
.cth__media { position: relative; height: calc(var(--pw) * .405); margin-inline: calc(var(--gutter) * -1); overflow: clip; background: var(--c-paper-alt); }
.cth__photo { position: absolute; left: calc(50% - var(--pw) * .5344); top: calc(var(--pw) * -.15); width: var(--pw); margin: 0; }
.cth__photo img { display: block; width: 100%; height: auto; max-width: none; }
.cth__in { position: relative; z-index: 4; width: 100%; max-width: var(--max-w); margin: calc(var(--pw) * -.045) auto 0; }
.cth__box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 1.25rem clamp(2rem, 4vw, 4rem); padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.5rem, 3.4vw, 3rem); border-radius: var(--radius-l); background: var(--c-ink); color: var(--c-on-ink); box-shadow: var(--shadow-l); }
.cth__title { margin: 0; font: 400 var(--fs-h1) / var(--lh-tight) var(--font-display); letter-spacing: var(--tracking-display); }
.cth__title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .5em; border-radius: 2px; background: var(--c-brand); }
.cth__line { margin: .9rem 0 0; font-size: calc(var(--fs-body) * 1.06); color: var(--c-on-ink-soft); }
.cth__go { display: grid; justify-items: start; gap: 1rem; }
.cth .cta-row { margin: 0; }
.cth .cta-row__note { color: var(--c-on-ink-soft); }
.cth__tel { font: 400 1.25rem/1 var(--font-display); color: var(--c-on-ink); text-decoration: none; }
.cth__tel:hover { color: var(--c-brand-on-ink); }
.stop--cth { left: calc(50% + var(--pw) * .274); top: calc(var(--pw) * .042); }
.cth__photo .screen { outline: 1px solid transparent; }

/* the form on the paper, how we answer beside it */
.ctf__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cf { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-l); background: var(--c-card); box-shadow: var(--shadow-m); }
.cf__marks { display: flex; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.cf__marks li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 400 .95rem/1 var(--font-display); color: var(--c-ink-soft); background: var(--c-paper-alt); }
.cf__marks li[aria-current="step"], .cf__marks li[data-kit-past] { background: var(--c-brand); color: var(--c-on-brand); }
.cf__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.cf__legend { padding: 0; margin-bottom: 1rem; font: 400 var(--fs-h3) / 1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.cf__choices { display: grid; gap: .6rem; margin-bottom: 1.25rem; }
.cf__choice { position: relative; display: block; cursor: pointer; }
.cf__choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cf__choice span { display: flex; align-items: center; min-height: 58px; padding: .5rem 1.1rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); font: 700 1.08rem/1.25 var(--font-ui); transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.cf__choice:hover span { border-color: var(--c-brand); }
.cf__choice input:checked + span { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.cf__choice input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.cf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; margin-bottom: .9rem; }
.cf__field { display: grid; gap: .35rem; }
.cf__field label { font: 700 1rem/1.2 var(--font-ui); }
.cf__field input, .cf__field textarea { width: 100%; min-height: 52px; padding: .7rem .9rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font: 400 1.05rem/1.35 var(--font-text); }
.cf__field textarea { resize: vertical; }
.cf__field input:focus-visible, .cf__field textarea:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 1px; }
.cf__field[data-kit-invalid] input, .cf__field[data-kit-invalid] textarea { border-color: var(--c-brand-text); }
.cf__error { margin: 0; font-size: var(--fs-small); font-weight: 700; color: var(--c-brand-text); }
.cf__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.cf__back { min-height: 48px; padding: 0 1rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: none; color: var(--c-ink); font: 700 1rem/1 var(--font-ui); cursor: pointer; }
.cf__back:hover { border-color: var(--c-brand); }

/* how we answer: three things landing in turn along the orange rule */
.ans { position: relative; padding-top: clamp(0rem, 6.5vw, 5.75rem); }
.ans__line { position: relative; display: grid; gap: 1.75rem; }
.ans__step { position: relative; margin: 0; padding-left: 2.25rem; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.ans__step::before { content: ""; position: absolute; left: 3px; top: .35em; width: 13px; height: 13px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 24%, transparent); }
.ans__step:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 1.4em; bottom: -1.65rem; width: 3px; border-radius: 2px; background: var(--c-brand); transform-origin: 50% 0; transform: scaleY(var(--kit-in, 1)); }
.ans__step b { display: block; font: 400 var(--fs-h3) / 1.25 var(--font-display); letter-spacing: var(--tracking-display); }
.ans__step span { display: block; margin-top: .3rem; color: var(--c-ink-soft); }
.stop--ans { right: 0; top: clamp(0rem, 6.5vw, 5.75rem); }
.ans__reach { display: grid; gap: .5rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font: 700 1.1rem/1.3 var(--font-ui); }
.ans__reach a { color: var(--c-ink); }

/* the chat is quicker */
.cts__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.cts__top .head { margin: 0; }
.cts__cta { margin: 0; flex-direction: column; align-items: flex-start; gap: .6rem; }
.cts__frame { position: relative; height: clamp(600px, 50vw, 660px); overflow: hidden; border-radius: var(--radius-l); background: var(--c-ink); box-shadow: var(--shadow-m); }
.cts__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 100% 36%; }
.cts__frame .cts__scene { position: absolute; left: 1.25rem; top: 50%; translate: 0 -50%; width: min(640px, 53%); height: 560px; }
.stop--cts { right: .9rem; top: .9rem; }

/* the screen's design: the wide one reads from here up; under it the narrow one, with its bigger words */
@media (max-width: 1000px) {
  .cth__photo .screen { width: 600px !important; height: 375px !important; }
  .cth__box { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .ctf__in { grid-template-columns: minmax(0, 1fr); }
  .ans { padding-top: 0; }
  .stop--ans { top: 0; }
  .cts__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .cth { --pw: min(184.6vw, 1000px); }
  .cth__media { height: calc(var(--pw) * .43); }
  .cth__title { font-size: min(var(--fs-h1), 7.9vw); }
  .cth__photo { top: calc(var(--pw) * -.12); }
  .stop--cth { left: auto; right: .5rem; top: .35rem; width: 34px; height: 34px; }
  .cf__grid { grid-template-columns: minmax(0, 1fr); }
  .cts__frame { height: 760px; }
  .cts__video { height: 460px; object-position: 62% 50%; }
  .cts__frame .cts__scene { left: 50%; top: auto; bottom: .5rem; translate: -50% 0; width: min(346px, 100% - 1rem); height: 650px; }
  .stop--cts { top: .35rem; right: .5rem; width: 34px; height: 34px; }
}
