/* reply: tier 1, custom (layout closer), home and every interior page. The contact form (posting
   to Matt's existing BerserkerMail form, the same fields and redirect as the current site) beside
   a real photo of Edge Personal Training's floor that runs the full height of the copy. The
   honeypot field is moved off screen, not hidden from the form.
   375px: one column, the photo above the copy, the button full width. */
.reply_component {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space--xhuge);
  align-items: stretch;
}

.reply_content {
  display: grid;
  gap: var(--space--small);
  align-content: center;
}

.reply_text {
  color: var(--color--text-secondary);
}

.reply_form {
  position: relative;
  display: grid;
  gap: var(--space--xsmall);
  margin-top: var(--space--small);
}

.reply_trap {
  position: absolute;
  left: -100vw;
  overflow: hidden;
}

.reply_button {
  justify-self: start;
  margin-top: var(--space--xsmall);
}

.reply_media {
  min-height: 100%;
  overflow: hidden;
}

.reply_image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image--object-position);
  border-radius: var(--image--radius);
  filter: var(--image--filter);
}

@media (max-width: 991px) {
  .reply_component {
    gap: var(--space--large);
  }
}

@media (max-width: 767px) {
  .reply_component {
    grid-template-columns: minmax(0, 1fr);
  }

  .reply_media {
    order: -1;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 479px) {
  .reply_button {
    justify-self: stretch;
  }
}

/* T3 (stage 3): the photo is a standalone image in a split, so it runs to the section's top and
   bottom and out to the right viewport edge; in one column it runs edge to edge from the
   section's top. 100cqw is the component's width (see fundamentals.css). */
.section_reply {
  overflow-x: clip;
}
.reply_component {
  container-type: inline-size;
}
.reply_media {
  margin-top: calc(-1 * var(--padding-section--large));
  margin-right: calc((100cqw - 100vw) / 2);
  margin-bottom: calc(-1 * var(--padding-section--large));
}
@media (max-width: 767px) {
  .reply_media {
    margin-left: calc((100cqw - 100vw) / 2);
    margin-bottom: 0;
  }
}
