/* AMASO local copy: the hero showreel. It always plays (amaso/hero-video.js) and never grows beyond the centred box
   from the feedback: 72% of the viewport wide at the video's own 1.8:1, never taller than the screen minus room for the
   header. The site's own scroll animation still grows it into place (scale .4 -> 1); scale 1 is now that box.
   The box sits where the original's video started (so the headline overlap is unchanged) and, while the section
   is pinned, centred in the screen. */
:root {
  --hero-w: min(72vw, calc((100vh - 160px) * 1.8));
  --hero-h: calc(var(--hero-w) / 1.8);
}
.amaso-hero-video { pointer-events: none; } /* no click, tap or context menu reaches the video: nothing can pause it */
@media screen and (min-width: 992px) {
  .section.video .video_wrap {
    width: var(--hero-w); height: var(--hero-h); min-height: 0;
    /* same visible top at the start as the original full-screen box scaled to .4 */
    margin-top: calc(0.3 * (max(100vh, 800px) - var(--hero-h)));
  }
  .section.video .flex { top: calc((100vh - var(--hero-h)) / 2 - 0.3 * (max(100vh, 800px) - var(--hero-h))); }
}
@media screen and (max-width: 991px) {
  /* phones and tablets: the same 14% margins either side, at the video's aspect */
  .section.video .video_wrap { width: 72vw; height: auto; margin-left: auto; margin-right: auto; }
  .section.video .flex { justify-content: center; width: 100%; }
  .section.video .video_wrap .img { aspect-ratio: 1.8; height: auto; }
}

/* The top of the page is one even light beige (#e4e5de, amaso.nl's page colour, as the about section below) down to
   where the about section starts: the hero, the space around the video while it grows, the header bar (its Webflow
   colour animation is patched to the same beige in the IX bundle) and the phone header. The preloader's red covers
   open onto this beige. */
.section.light._30vh_mobile, .section.dark.video { background-color: #e4e5de; }
.navbar .cover { background-color: #e4e5de; }
@media screen and (max-width: 991px) { .navbar { background-color: #e4e5de; } }
/* small accent text on the beige: the ember (#d14121, brand palette 2026-10-20) is 3.7:1 there (AA only for large
   text), so the small labels take a deeper ember (#b3381c, 4.7:1); the wordmark and the headline stay ember (large text) */
html:not(.amaso-menu-overlay) .navbar .logo_text:not(.light),
html:not(.amaso-menu-overlay) .navbar .nav_link.mail:not(.light),
#local-time, .hero_button_wrapper .cta_link { color: #b3381c; }
