/* contact.css: the Contact page's own placing and sizing (plan.md, Contact), with the tokens of system.css only. */

/* ---------- hero: a full-width photo that moves, a full-height paper column over its right side ---------- */
.ct-hero { --ct-col: calc(max(var(--gutter), (100% - var(--max-w)) / 2) + 548px); position: relative; min-height: clamp(620px, calc(100svh - var(--masthead-h) - 6px), 760px); overflow: hidden; background: var(--c-paper-alt); }
.ct-hero__media { position: absolute; left: 0; top: 0; bottom: 0; right: var(--ct-col); overflow: clip; }
.ct-hero__pic { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; max-width: none; object-fit: cover; object-position: 66% 50%; }
.ct-hero__stop { position: absolute; top: 18px; right: 18px; z-index: 3; }
.ct-hero__col { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; width: var(--ct-col); padding: 40px max(var(--gutter), calc((100% - var(--max-w)) / 2)) 36px 44px; background: var(--c-paper); box-shadow: var(--shadow-l); }
.ct-hero__col::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-left: 1px solid var(--c-ink); border-right: 2px solid var(--c-ink); }
.ct-hero__title { font-size: var(--fs-h1); line-height: 1.06; text-wrap: balance; }
.ct-hero__line { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--c-ink-soft); }
.ct-hero__line a { font-weight: 600; white-space: nowrap; }
.ct-person { margin-top: 26px; align-items: center; }
.ct-person__name { font-size: 1.625rem; line-height: 1.15; }
.ct-hero__mail { margin-top: 16px; font-size: 1rem; color: var(--c-ink-soft); }
.ct-hero__mail a { font-weight: 600; word-break: break-word; }

/* the message and the reply, over the plain shirt above the hands */
.ct-talk { position: absolute; left: clamp(16px, 5vw, 72px); top: clamp(28px, 6vh, 56px); z-index: 2; display: grid; justify-items: start; gap: 10px; width: min(400px, calc(100% - 96px)); }
.ct-talk [data-kit-at] { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.ct-talk__msg { max-width: 92%; padding: 13px 17px; border-radius: 16px; box-shadow: var(--shadow-m); font: 500 1.0625rem/1.3 var(--font-ui); }
.ct-talk__msg--out { justify-self: end; background: var(--c-brand); color: var(--c-on-brand); }
.ct-talk__msg--in { background: var(--c-card); color: var(--c-ink); }
.ct-talk__msg--in b { display: block; margin-bottom: 2px; font-size: .9375rem; color: var(--c-brand-text); }
.ct-talk__sent { justify-self: end; margin-top: -4px; padding: 2px 10px; border-radius: 999px; background: var(--c-card); color: var(--c-ink); font: 600 .875rem/1.4 var(--font-ui); }
@media (max-width: 1100px) {
  .ct-hero { --ct-col: 52%; }
  .ct-hero__col { padding: 32px var(--gutter) 28px 34px; }
}
@media (max-width: 860px) {
  .ct-hero { min-height: 0; overflow: visible; }
  .ct-hero__media { position: relative; right: auto; height: 340px; }
  .ct-hero__pic { top: -10%; height: 120%; object-position: 58% 50%; }
  .ct-talk { top: 14px; left: 14px; width: calc(100% - 76px); gap: 8px; }
  .ct-hero__stop { top: 14px; right: 14px; }
  .ct-hero__col { position: relative; width: auto; padding: 30px var(--gutter) 34px; box-shadow: none; }
  .ct-hero__col::before { left: 0; right: 0; bottom: auto; width: auto; height: 6px; border: 0; border-top: 1px solid var(--c-ink); border-bottom: 2px solid var(--c-ink); }
  .ct-person .person__face { width: 72px; height: 72px; }
  .ct-person a { font-size: .9375rem; }
}

/* ---------- form: the words and the hours beside the card ---------- */
.ct-form__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ct-form__card { padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-m); }
.ct-choice--wide { grid-column: 1 / -1; }
.ct-choice--wide span { min-height: 52px; }
.ct-hours { display: grid; gap: 6px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--c-ink); }
.ct-hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.ct-hours dt { font-weight: 600; }
.ct-hours dd { margin: 0; color: var(--c-ink-soft); }
@media (max-width: 860px) {
  .ct-form__in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- skip: the words beside a framed photo with the plan's sheet on the van's door ---------- */
.ct-skip__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ct-skip__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.ct-skip__go p { font-size: var(--fs-small); color: var(--c-ink-soft); }
.ct-skip__frame { position: relative; margin: 0; height: clamp(460px, 40vw, 540px); overflow: hidden; border-radius: var(--radius-m); background: var(--c-paper-alt); }
.ct-skip__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.ct-skip__stop { position: absolute; top: 14px; right: 14px; z-index: 3; }
/* the owner on the left, the plan on the plain wall at her right, her phone clear under it */
.ct-skip__frame .ct-skip__scene { position: absolute; z-index: 2; right: 14px; top: 62px; width: min(400px, 57%); }
@media (max-width: 960px) { /* from 860: up to about 950 px the two columns squeezed the plan until the frame cut it */
  .ct-skip__in { grid-template-columns: minmax(0, 1fr); }
  .ct-skip__frame { height: auto; overflow: visible; background: none; padding-top: 270px; }
  .ct-skip__pic { height: 440px; bottom: auto; border-radius: var(--radius-m); object-position: 53% 50%; }
  .ct-skip__frame .ct-skip__scene { position: relative; right: auto; top: auto; width: 100%; }
}
