@charset "utf-8";
/* CSS Document */
 /* ===== Hero slider: all classes prefixed "mzv-hero" to avoid clashes ===== */
  body { margin: 0; }

  .mzv-hero-wrap {
    --mzv-hero-height: 820px;         /* hero height */
    --mzv-hero-speed: 1100ms;          /* slide duration */
    --mzv-hero-ease: cubic-bezier(.65, 0, .35, 1);         /* general easing (dots, captions) */
    --mzv-hero-slide-ease: cubic-bezier(.76, 0, .24, 1);   /* smooth ease-in-out for the slide */
    position: relative;
    width: 100%;
    height: var(--mzv-hero-height);
    overflow: hidden;
    background: #111;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    isolation: isolate;
  }

  .mzv-hero-track {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* ===== Horizontal slide =====
     Waiting slides sit off-screen to the right (or to the left when going back).
     The active slide sits at 0. The outgoing slide is pushed off the other side. */
  .mzv-hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translate3d(100%, 0, 0);
    transition: none;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
  }
  .mzv-hero-slide.mzv-hero-from-left { transform: translate3d(-100%, 0, 0); }

  .mzv-hero-slide.mzv-hero-is-active {
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition: transform var(--mzv-hero-speed) var(--mzv-hero-slide-ease);
    z-index: 2;
  }

  .mzv-hero-slide.mzv-hero-leave-left,
  .mzv-hero-slide.mzv-hero-leave-right {
    visibility: visible;
    transition: transform var(--mzv-hero-speed) var(--mzv-hero-slide-ease);
    z-index: 1;
  }
  .mzv-hero-slide.mzv-hero-leave-left  { transform: translate3d(-100%, 0, 0); }
  .mzv-hero-slide.mzv-hero-leave-right { transform: translate3d(100%, 0, 0); }

  /* The video fills the whole space with object-fit: cover */
  .mzv-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    background: #111;
    will-change: transform;
  }

  /* Gentle slow zoom on the active slide */
  .mzv-hero-is-active .mzv-hero-video { transform: scale(1); }

  /* ===== Colour overlay (set with HEX in the HTML via data-overlay / data-overlay-opacity) =====
     These are the fallback defaults if the HTML doesn't set any. */
  .mzv-hero-wrap {
    --mzv-hero-overlay-color: #000000;   /* overlay colour (HEX) */
    --mzv-hero-overlay-opacity: 0.2;     /* 0 = none, 1 = solid colour */
  }
  .mzv-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;                          /* above the video, below the text */
    background: var(--mzv-hero-overlay-color);
    opacity: var(--mzv-hero-overlay-opacity);
    pointer-events: none;
    transition: background .6s ease, opacity .6s ease;
  }

  /* Soft top/bottom gradient so text and dots stay readable */
  .mzv-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
  }

  .mzv-hero-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: min(90%, 900px);
    text-align: center;
    transform: translate(-50%, calc(-50% + var(--mzv-hero-shift, 0px)));   /* fixed in place: no rise-up movement */
    opacity: 0;
    transition: opacity 900ms ease;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
  }

  .mzv-hero-is-active .mzv-hero-caption {
    opacity: 1;
    transition-delay: 400ms;
  }

  .mzv-hero-kicker {
    display: block;
    font-weight: 600;
    font-size: clamp(.75rem, 1.2vw, 1rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .mzv-hero-title {
    margin: 0 0 1.5rem;
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
  }

  .mzv-hero-text {
    margin: 0 auto 2rem;
    max-width: 600px;
    font-weight: 300;
    font-size: clamp(20px, 20px, 20px);
    line-height: 1.6;
  }

  .mzv-hero-btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    background: rgba(0,0,0,.2);
    transition: background .3s ease, color .3s ease;
  }
  .mzv-hero-btn:hover,
  .mzv-hero-btn:focus-visible { background: #fff; color: #111; }

  /* ===== Logo area (centred just above the slide text; position set by script) ===== */
  .mzv-hero-logo {
    --mzv-hero-logo-gap: 32px;  /* space between logo and text */
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-block;
    line-height: 0;
  }
  .mzv-hero-logo-img {
    display: block;
    height: 80px;               /* change logo size here */
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); /* keeps a light logo visible on bright images */
  }
  @media (max-width: 768px) {
    .mzv-hero-logo-img { height: 48px; }
  }

  /* ===== Mouse-follow arrow (replaces the arrow buttons) ===== */
  @media (hover: hover) and (pointer: fine) {
    .mzv-hero-wrap { cursor: none; }
    .mzv-hero-wrap a,
    .mzv-hero-wrap button { cursor: pointer; }
  }

  .mzv-hero-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;          /* centre on the pointer */
    pointer-events: none;
    will-change: transform;
  }
  /* No circle: just a large white arrow with a black glow (visible on light and dark video) */
  .mzv-hero-cursor-disc {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
  }
  .mzv-hero-cursor-is-on .mzv-hero-cursor-disc { opacity: 1; transform: scale(1); }
  .mzv-hero-cursor-is-press .mzv-hero-cursor-disc { transform: scale(.85); }

  .mzv-hero-cursor-icon {
    width: 120px;                     /* arrow size */
    height: 120px;
    overflow: visible;
    /* black glow: a tight shadow for definition + a soft wide one for the glow */
    filter: drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 0 10px rgba(0,0,0,.7));
    transition: transform .45s cubic-bezier(.65, 0, .35, 1);
  }
  /* arrow flips smoothly to point left on the left half */
  .mzv-hero-cursor-is-left .mzv-hero-cursor-icon { transform: rotate(180deg); }

  /* never show the custom arrow on touch screens */
  @media (hover: none), (pointer: coarse) {
    .mzv-hero-cursor { display: none; }
  }

  /* Hidden prev/next buttons for keyboard users: appear only when tabbed to */
  .mzv-hero-skip {
    position: absolute;
    top: 50%;
    z-index: 8;
    padding: .7rem 1.1rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font: 600 .8rem 'Montserrat', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
  }
  .mzv-hero-skip:focus-visible { opacity: 1; pointer-events: auto; outline: none; }
  .mzv-hero-skip-prev { left: 20px; }
  .mzv-hero-skip-next { right: 20px; }

  /* ===== Dots ===== */
  .mzv-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 60px;
    z-index: 5;
    display: flex;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
  }
  .mzv-hero-dot {
    position: relative;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: width .5s var(--mzv-hero-ease), background .3s ease;
  }
  .mzv-hero-dot.mzv-hero-is-active { width: 40px; }
  /* progress fill shows time until next slide */
  .mzv-hero-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
  }
  .mzv-hero-dot.mzv-hero-is-active::before {
    animation: mzv-hero-progress var(--mzv-hero-interval, 6000ms) linear forwards;
  }
  .mzv-hero-wrap.mzv-hero-is-paused .mzv-hero-dot.mzv-hero-is-active::before {
    animation-play-state: paused;
  }
  .mzv-hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

  @keyframes mzv-hero-progress { to { transform: scaleX(1); } }

  /* ===== Small screens ===== */
  @media (max-width: 768px) {
    .mzv-hero-dots { bottom: 30px; }
  }

  /* ===== Respect reduced-motion settings ===== */
  @media (prefers-reduced-motion: reduce) {
    .mzv-hero-wrap { --mzv-hero-speed: 1ms; }
    .mzv-hero-video,
    .mzv-hero-is-active .mzv-hero-video { transform: none; transition: none; }
    .mzv-hero-caption { transition: none; }
  }

