/* contact.css: Contact (plan.md, "Contact"). Every color, size and corner from the tokens of system.css. */

/* ---------- hero: the words and the agency's details at the left; at the right an owner writing in the evening, with
   her message, the team reading it and their reply the next morning (a kit sequence with its hold) ---------- */
.cth { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cth__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.cth__title { max-width: 12ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.25rem + 2.6vw, 4rem); line-height: 1.04; color: var(--c-on-ink); }
.cth__sweep { display: block; width: 220px; margin-top: var(--space-3); }
.cth__line { margin-top: var(--space-3); max-width: 30rem; font-size: 1.125rem; line-height: 1.6; color: var(--c-ink-soft-on-ink); }
.cth__details { display: grid; gap: 14px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.cth__details li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 1.0625rem; color: var(--c-on-ink); }
.cth__details svg { color: var(--c-brand-on-ink); }
.cth__details a { color: var(--c-on-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c-brand) 60%, transparent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.cth__details a:hover { text-decoration-color: var(--c-brand); }
.cth__frame { position: relative; height: clamp(460px, 40vw, 560px); border-radius: var(--radius-l); background: var(--c-ink-2); box-shadow: var(--shadow-l); }
/* the photo keeps the frame's corners; the cards hang over its left edge */
.cth .cth__photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-l); object-fit: cover; object-position: 0% 50%; }
.cth__cards { position: absolute; z-index: 2; left: -28px; top: 50%; width: min(300px, 46%); display: grid; gap: 10px; transform: translateY(-50%); }
.cth__cards > * { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.cth__card { display: grid; gap: 4px; margin: 0; padding: 14px 16px; border-radius: var(--radius-m); background: var(--c-ink-2); border: 1px solid var(--c-line-ink); box-shadow: var(--shadow-l); color: var(--c-on-ink); }
.cth__card small { font-size: 0.8125rem; color: var(--c-ink-soft-on-ink); }
.cth__card b { font: 700 1rem/1.35 var(--font-ui); }
.cth__card--team { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; border-color: color-mix(in srgb, var(--c-brand) 55%, transparent); }
.cth__card--team > span:last-child { display: grid; gap: 4px; }
.cth__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-ink); border: 1px solid var(--c-line-ink); }
.cth__av img { width: 22px; height: 22px; }
.cth__read { justify-self: start; margin: 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-ink) 82%, transparent); color: var(--c-on-ink); font-size: 0.8125rem; box-shadow: var(--shadow-m); }
.cth__stop { position: absolute; z-index: 3; right: var(--space-3); bottom: var(--space-3); }
@media (max-width: 1099.98px) {
  .cth__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); }
  .cth__cards { left: var(--space-3); }
}
/* phone: the photo a band (the hands and the phone in it), the cards pulled over its lower edge */
@media (max-width: 699px) {
  .cth__frame { display: flex; flex-direction: column; height: auto; background: none; box-shadow: none; }
  .cth .cth__photo { position: relative; inset: auto; height: 440px; object-position: 63% 50%; }
  .cth__cards { position: relative; left: auto; top: auto; width: auto; margin: -150px 14px 0; transform: none; }
  .cth__stop { top: var(--space-3); bottom: auto; }
}

/* ---------- the form: how the team answers at the left, the kit's form in its box at the right ---------- */
.ctf__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.ctf__how { display: grid; gap: var(--space-4); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.ctf__how li { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid var(--c-brand); }
.ctf__how b { font: 700 1.0625rem/1.35 var(--font-ui); color: var(--c-ink); }
.ctf__how span { font-size: 1rem; line-height: 1.55; color: var(--c-ink-soft); }
.cf { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-m); border: 1px solid var(--c-line-ink); background: var(--c-ink-2); color: var(--c-on-ink); box-shadow: var(--shadow-l); }
.cf__marks { display: flex; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; counter-reset: mark; }
.cf__marks li { display: flex; align-items: center; gap: 10px; font: 600 0.875rem/1 var(--font-ui); color: var(--c-ink-soft-on-ink); counter-increment: mark; }
.cf__marks li::before { content: counter(mark); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-line-ink); font: 700 0.875rem/1 var(--font-ui); } /* Bodoni's 1 reads as an I */
.cf__marks li[aria-current="step"] { color: var(--c-on-ink); }
.cf__marks li[aria-current="step"]::before, .cf__marks li[data-kit-past]::before { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.cf__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.cf__legend { padding: 0; margin-bottom: var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.15; color: var(--c-on-ink); }
.cf__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cf__choice { position: relative; display: block; cursor: pointer; }
.cf__choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cf__tile { display: grid; justify-items: start; align-content: space-between; gap: 14px; min-height: 104px; padding: 14px; border-radius: var(--radius-s); border: 1px solid var(--c-line-ink); background: color-mix(in srgb, var(--c-on-ink) 4%, transparent); transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.cf__tile svg { width: 28px; height: 28px; color: var(--c-brand-on-ink); }
.cf__tile b { font: 700 1rem/1.25 var(--font-ui); }
.cf__choice:hover .cf__tile { border-color: color-mix(in srgb, var(--c-brand) 70%, transparent); }
.cf__choice[data-kit-on] .cf__tile, .cf__choice input:checked + .cf__tile { border-color: var(--c-brand); background: color-mix(in srgb, var(--c-brand) 16%, transparent); }
.cf__choice input:focus-visible + .cf__tile { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.cf__choices .cf__error { grid-column: 1 / -1; }
.cf__field { display: grid; gap: 6px; margin-top: var(--space-3); }
.cf__label { font: 600 0.9375rem/1.3 var(--font-ui); color: var(--c-on-ink); }
.cf__opt { font-weight: 400; color: var(--c-ink-soft-on-ink); }
.cf__input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--c-line-ink); background: var(--c-ink); color: var(--c-on-ink); font: 400 1rem/1.4 var(--font-ui); }
.cf__area { min-height: 120px; resize: vertical; }
.cf__input:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 1px; border-color: var(--c-brand); }
.cf__input[aria-invalid="true"] { border-color: var(--c-brand-on-ink); }
.cf__error { margin: 4px 0 0; font-size: 0.9375rem; color: var(--c-brand-on-ink); }
.cf__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-3); }
.cf__next { margin-top: var(--space-4); }
.cf__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.cf__back { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--c-ink-soft-on-ink); font: 600 1rem/1 var(--font-ui); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cf__back:hover { color: var(--c-on-ink); }
.cf[data-kit-sending] .cf__send { opacity: 0.7; pointer-events: none; }
@media (max-width: 1099.98px) {
  .ctf__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); }
  .ctf__how { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-4); }
}
@media (max-width: 699px) {
  .ctf__how { grid-template-columns: minmax(0, 1fr); }
  .cf__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf__pair { grid-template-columns: minmax(0, 1fr); }
  .cf__send { width: 100%; }
}

/* ---------- skip the wait: the words at the left; a café owner opening up, with yourpart over the right third
   of the photo (the window and the domes), clear of her face ---------- */
.cts__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.cts__title { max-width: 13ch; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.08; color: var(--c-on-ink); }
.cts__line { margin-top: var(--space-3); font-size: 1.125rem; line-height: 1.6; color: var(--c-ink-soft-on-ink); }
.cts__cta { margin-top: var(--space-4); }
.cts__frame { position: relative; height: clamp(560px, 46vw, 620px); border-radius: var(--radius-l); overflow: clip; background: var(--c-ink-2); box-shadow: var(--shadow-l); }
/* the photo held to its right edge: her face at about 42% of the frame, well left of the scene */
.cts .cts__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; }
.cts .cts__scene { position: absolute; z-index: 2; right: var(--space-4); top: 50%; width: min(300px, 40%); transform: translateY(-50%); }
.cts__stop { position: absolute; z-index: 3; left: var(--space-3); bottom: var(--space-3); }
@media (max-width: 1099.98px) {
  .cts__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); }
}
/* phone: the photo a band (her face in its top half), the scene pulled over its lower part */
@media (max-width: 699px) {
  .cts__frame { display: flex; flex-direction: column; height: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .cts .cts__photo { position: relative; inset: auto; height: 520px; border-radius: var(--radius-l); object-position: 52% 30%; }
  .cts .cts__scene { position: relative; right: auto; top: auto; width: auto; margin: -280px 14px 0; transform: none; }
  .cts__stop { top: var(--space-3); bottom: auto; left: auto; right: var(--space-3); }
}
