/* contact.css: the Contact page: the words and the form box at the left, overlapping the framed photo at the right with
   the new scene contact-send over its lower right (her face clear above it); then the quicker way on footage. Tokens
   of system.css only. */

.contact-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.contact-hero__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; column-gap: 0; align-items: start; }
.contact-hero__words { grid-column: 1; grid-row: 1; display: grid; gap: var(--space-2); padding: 0 var(--space-5) var(--space-5) 0; }
.contact-hero .page-title { max-width: 12ch; }
.contact-hero__frame { grid-column: 2; grid-row: 1 / span 2; position: relative; align-self: stretch; min-height: 40rem; border-radius: var(--radius-l); overflow: clip; box-shadow: var(--shadow-l); }
.contact-hero__frame .fill { object-position: 62% 30%; }
.contact-hero__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(13 27 42 / 0.45), transparent 45%); }
.contact-hero__stop { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.scene.contact-hero__scene { position: absolute; right: 1.5rem; bottom: 1.5rem; width: min(340px, 56%); height: 280px; z-index: 1; }
.contact-hero__form { grid-column: 1; grid-row: 2; position: relative; z-index: 2; margin-right: calc(-1 * clamp(2rem, 4vw, 3.5rem)); margin-bottom: var(--space-4); }
@media (max-width: 899px) {
  .contact-hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .contact-hero__words { grid-column: 1; grid-row: auto; padding: 0 0 var(--space-4); }
  .contact-hero__form { grid-column: 1; grid-row: auto; margin: 0; }
  /* the message card stays on its photo: a tall frame, her face at its top, the card over its lower part */
  .contact-hero__frame { grid-column: 1; grid-row: auto; min-height: 0; height: 34rem; margin-top: var(--space-5); }
  .contact-hero__frame .fill { object-position: 58% 12%; }
  .scene.contact-hero__scene { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  /* the quicker way: her face (a third across the clip) in view on a phone */
  .contact-skip .closeband__media .fill { object-position: 30% 35%; }
}
