/* site\assets\css\pages\contact.css: Contact (src\pages\contact.mjs). Places and sizes its parts; the bands, frames,
   footage, doors, the form and its fields are design\components.css's. */

/* ---------- hero: a corner card: the strategist waving hello on a call, full bleed; the words in a solid forest card
   low at the left; the message answered in glass over the calm wall above it ---------- */
.conh { position: relative; display: flex; align-items: flex-end; min-height: max(660px, calc(100svh - var(--header-h, 72px))); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.conh__footage { inset: -1px; }
.conh__footage > video, .conh__footage > img { object-position: 60% 35%; max-width: none; }
.conh__stop { z-index: 6; top: 20px; right: 20px; }
.conh__in { position: relative; z-index: 2; width: 100%; }
.conh__card { display: grid; justify-items: start; gap: 1.1rem; width: min(100%, 540px); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--c-ink); box-shadow: var(--shadow-l); }
.conh__title { font-size: var(--fs-h1); line-height: 1.04; }
.conh__line { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-on-ink-soft); }
.conh__doors { display: grid; justify-items: start; gap: 1rem; margin-top: .25rem; }
.conh__msg { color: var(--c-on-ink); }
/* the message card over the empty wall, left of the strategist and above the words */
.conh .conh__stage { top: 8%; left: max(var(--gutter), calc((100% - var(--max-w)) / 2 + 380px)); width: 320px; }
@media (max-width: 1099px) { .conh .conh__stage { left: auto; right: 4%; top: 5%; width: 290px; } .conh__footage > video, .conh__footage > img { object-position: 30% 35%; } }
@media (max-width: 759px) {
  /* the phone: the clip as a strip with her face, the message standing on its foot, then the words */
  .conh { display: block; min-height: 0; padding: 0 0 2rem; background: var(--c-ink); }
  .conh__footage { position: relative; inset: auto; height: 300px; }
  .conh__footage > video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
  .conh__footage > video, .conh__footage > img { object-position: 74% 30%; }
  /* the stage holds the card at its fullest (with its booked chip), so the words under it never move */
  .conh .conh__stage { position: relative; inset: auto; width: auto; margin: -150px var(--gutter) 0; height: 264px; }
  .conh__stop { top: 16px; right: 16px; }
  .conh__in { margin-top: 1rem; }
  .conh__card { padding: 0; box-shadow: none; background: none; }
}

/* ---------- form: how we answer at the left; the kit's form in its white card at the right ---------- */
.conf__in { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.conf__side { display: grid; justify-items: start; gap: 1.5rem; }
.conf__side .head { margin-bottom: 0; }
.conf__ways { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.conf__ways li { display: flex; align-items: flex-start; gap: .9rem; }
.conf__ways li > span:last-child { display: grid; gap: .15rem; font-size: var(--fs-lead); }
.conf__ways b { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--c-ink-soft); }
.conf__ways a { font-weight: 700; color: var(--c-brand-text); }
.conf__ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-brand-light); color: var(--c-brand-text); }
.conf__svg { width: 20px; height: 20px; }
.conf__note { font-size: var(--fs-small); color: var(--c-ink-soft); }
.conf__form { border: 1px solid var(--c-line); box-shadow: var(--shadow-l); }
.conf__wants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.conf__msg { min-height: 120px; resize: vertical; line-height: 1.5; }
@media (min-width: 1000px) { .conf__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
@media (max-width: 479px) { .conf__wants { grid-template-columns: minmax(0, 1fr); } }

/* ---------- skip: two framed photos side by side, each scene in glass over its blank device, its door under it ---------- */
.cs__ways { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 3.5rem) 2rem; }
.cs__way { display: grid; align-content: start; gap: 1.3rem; min-width: 0; }
.cs__media { position: relative; height: 540px; }
.cs__footage { inset: -1px; }
.cs__footage > img { object-position: 50% 50%; }
.cs__stop { z-index: 6; }
/* each scene centered on its device's screen: the laptop's at 54% across, the phone's at 55% across and 48% down */
.cs .cs__stage--cal { top: 52%; left: 54.5%; width: min(400px, 76%); translate: -50% -50%; }
.cs .cs__stage--chat { top: 48%; left: 55%; width: 360px; translate: -50% -50%; }
.cs__words { display: grid; justify-items: start; gap: .7rem; }
.cs__title { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); line-height: 1.2; }
.cs__line { color: var(--c-ink-soft); }
@media (min-width: 1000px) { .cs__ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1099px) and (min-width: 1000px) { .cs .cs__stage--chat { width: 330px; } }
@media (max-width: 759px) {
  .cs__media { height: auto; padding-top: var(--peek); }
  .cs__footage { inset: -1px -1px auto; height: calc(var(--peek) + var(--over) + 1px); }
  .cs .cs__stage { position: relative; inset: auto; translate: none; }
  .cs .cs__stage--cal { width: auto; margin: 0 10px 10px; min-height: 280px; }
  .cs .cs__stage--chat { width: min(320px, 90%); margin: 0 auto 12px; min-height: 440px; }
  .cs__stop { top: 12px; right: 12px; }
}
