/* Site-level overrides on top of the Webflow export. Keep Webflow files untouched. */

/* Hero: the WebGL canvas fills .div-hero-image with a cover crop. Webflow sizes the box
   50% x 50vh, so in tall windows the box turns square and the sides of {proof} are cut.
   Keep the box at the image's own proportions (983 x 529) and size it by whichever runs
   out first: the window width or half the window height. Wide windows get about the
   Webflow size, tall windows get a wider box, and the crop never changes. */
@media screen and (min-width: 992px) {
  .div-hero-image {
    width: min(100%, calc(50vh * 983 / 529));
    height: auto;
    aspect-ratio: 983 / 529;
  }
}

/* Contact form: the wrapper lost Webflow's .w-form class (so webflow.js stops posting
   to Webflow); keep its spacing. The honeypot field is off-screen for people, visible to bots. */
.cp-form { margin: 0 0 15px; }
.cp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
