@font-face {
    font-family: VisioFontHeavy;
    src: url('../styles/Fonts/founders-grotesk-x-condensed-web-bold.eot'); /* IE9 Compat Modes */
    src: url('../styles/Fonts/founders-grotesk-x-condensed-web-bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../styles/Fonts/founders-grotesk-x-condensed-web-bold.woff2') format('woff2'), /* Super Modern Browsers */
         url('../styles/Fonts/founders-grotesk-x-condensed-web-bold.woff') format('woff'); /* Pretty Modern Browsers */
}

@font-face {
    font-family: FoundersGroteskSemiboldItalic;
    src: url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.eot?v=20260206-22');
    src: url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.eot?#iefix&v=20260206-22') format('embedded-opentype'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.woff2?v=20260206-22') format('woff2'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.woff?v=20260206-22') format('woff'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.otf?v=20260206-22') format('opentype');
    font-style: italic;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "FoundersGrotesk-SemiboldItalic";
    src: url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.eot?v=20260206-22');
    src: url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.eot?#iefix&v=20260206-22') format('embedded-opentype'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.woff2?v=20260206-22') format('woff2'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.woff?v=20260206-22') format('woff'),
         url('/styles/Fonts/FoundersGrotesk-SemiboldItalic.otf?v=20260206-22') format('opentype');
    font-style: italic;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: VisioFont;
    src: url('../styles/Fonts/founders-grotesk-mono-web-regular.eot'); /* IE9 Compat Modes */
    src: url('../styles/Fonts/founders-grotesk-mono-web-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../styles/Fonts/founders-grotesk-mono-web-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../styles/Fonts/founders-grotesk-mono-web-regular.woff') format('woff'); /* Pretty Modern Browsers */
}

body {
    font-family: VisioFont !important;
    text-align: center;
    cursor: url("../images/cursor.png"), auto !important;
    max-width: 100%;
  }

@media(max-width: 767px) {
    .frame {
        padding-top: 15px;
        padding-bottom: 20px;
        /* padding-left: 5%;
        padding-right: 5%; */
        /* margin-right: auto;
        margin-left: auto; */
        text-align: center;
        overflow: hidden;
    }
}

@media(min-width: 768px) {
    .frame {
        padding-bottom: 20px;
        /* padding-left: 5%;
        padding-right: 5%; */
        /* margin-right: auto;
        margin-left: auto; */
        text-align: center;
    }
}

.red {
    color: #ffffff;
    background-color: #ff0000;

}

.grey {
    color: #000000;
    background-color: #F1ECE8;
}

.frame .toppadding {
    padding-top: 5%;
}

H2 {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    font-size: 2.4em;
    letter-spacing: 0.05em;
    padding-top: 20px;
    padding-bottom: 15px;
    text-align: center
  }

H3 {
font-family: VisioFontHeavy !important;
text-transform: uppercase;
font-size: 2.4em;
letter-spacing: 0.05em;
padding-top: 15px;
text-align: left;
}

@media(max-width: 767px) {
    .bodybox {
        position: static;
        padding-top: 5px;
        padding-bottom: 10px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .bodybox img {
        width: 100%;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 5% !important;
    }
}

@media(min-width: 768px) {

    .bodybox {
        padding-top: 5px;
        padding-bottom: 20px;
        padding-left: 20%;
        padding-right: 20%;
    }
}

@media(min-width: 768px) {
    .bodybox img {
        width: 100%;
        max-width: 100%;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 5% !important;
    }
}

.legalbox {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 0px;
    padding-left: 10%;
    padding-right: 10%;

}
.legalbox:last-of-type {
    padding-bottom: 0 !important;
}

/* .bodyboxtop {
    padding-top: 80px;
    padding-bottom: 60px;
    padding-left: 30%;
    padding-right: 30%;

} */

.bodyheader {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 2%;
    padding-right: 2%;
}

.frameheader {
    padding-top: 60px;
    padding-bottom: 35px;
    padding-left: 2%;
    padding-right: 2%;
}

.no_image {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 2%;
    padding-right: 2%;
}

.themes {
    /* padding-top: 25px; */
    word-spacing: 15px;
    padding-bottom: 30px;
    /* padding-left: 30px;
    padding-right: 30px; */
    margin-right: auto;
    margin-left: auto;
}

@media(max-width: 767px) {
  .themes {
    word-spacing: normal;  /* poistetaan pakotus */
    line-height: 2em;      /* lisätään väliä riveille */
    display: block;        /* varmistetaan, että saa rivittyä */
    text-align: center;
  }

  .themes span {
    display: block;        /* pakottaa aina riville */
    margin: 8px 0;
  }
}

.mainpagelinks a {
    color: #000000;
}

.mainpagelinks a:hover {
    color: #000000;
}

.frame.red .bodybox p {
    letter-spacing: -0.06em;
}

.headerpadding {
    padding-top: 100px;
}

.form {
    padding-top: 20px;
    padding-bottom: 40px;
    padding-right: 20%;
    padding-left: 20%;
    /* margin-right: auto;
    margin-left: auto; */
}

.button{
    margin-bottom: 20px;
}

.contact {
    padding-bottom: 40px;
    width: 15.7em;
}

.contact-page .bodybox img {
    width: 486px;
    height: auto;
    max-width: 100%;
}

.contact-page .frame.red.contact-person {
    padding-top: 0;
    padding-bottom: 40px;
}

.contact-page .frame.red.contact-person .singlephoto {
    position: relative;
    display: inline-block;
}

.contact-page .frame.red.contact-person .singlephoto::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
}

.contact-page .frame.red.contact-person .singlephoto img {
    width: 620px;
    max-width: 90%;
    height: auto;
}

.contact-page .form .submit {
    margin-bottom: 12px;
}

.fullframe {
    background-color: #ff0000;
    padding: 5%;
}

/* --- Mobiili: footer --- */
@media(max-width: 767px) {
  .footer {
    background-color: #ff0000;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
  }

  .footer .legal {
    font-size: 0.9rem;
    margin-top: 8px;
  }
}

/* --- Desktop: footer --- */
@media(min-width: 768px) {
  .footer {
    background-color: #ff0000;
    color: #fff;
    text-align: center;
    padding: 30px 10px 40px 10px;
    padding-bottom: 30px;
    position: relative;
  z-index: 1;
  }

  .footer .socialicons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

.footer .socialicons a img {
    width: auto !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    display: inline-block !important;
    object-fit: contain !important;
    margin: 0 15px;
    transition: transform 0.2s ease;
}

@media (max-width: 767px) {
  .footer .socialicons a img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}

  .footer .socialicons a img:hover {
    transform: scale(1.1);
  }

  .footer .legal {
    font-size: 0.8rem;
    margin-top: 20px;
    padding-bottom: 40px;
  line-height: 1.4;   /* riviväli pienemmäksi */
    color: #000;
  }

  .footer .legal a:hover {
    color: #ff0000;
  }
}

@media(max-width: 767px) {
    .header {
        text-align: center;
        display: block;
        /* position: -webkit-sticky;
        position: sticky; */
        top: 0;
        z-index: 10;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .header img {
        width: 200px !important;
        height: auto !important;
    }
}
@media(min-width: 768px) {
    .header {
        /* padding-top: 2%; */
        padding-bottom: 2%;
        margin-bottom: 0%;
        display: block;
        z-index: 10000;
    }
}

.header .red {
    background-color: #ff0000;
}

.header .grey {
    background-color: #F1ECE8;
}

@media(max-width: 767px) {
    .videoheader img {
        /* display: none; */
        background-color: #ff0000;
        /* background-color: #ff0000; */
        /* position: absolute; */
        right: 0;
        bottom: 50;
        /* width: 10%; */
        max-width: 100%;
        /* height: 10%; */
        z-index: 0;
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
  .videoheader img {
    max-width: 100% !important;
  }
}

@media(min-width: 768px) {
    .videoheader img {
        display: inline-block;
        background-color: #ff0000;
        /* background-color: #ff0000; */
        /* position: absolute; */
        right: 0;
        bottom: 50;
        /* width: 10%;
        height: 10%; */
        z-index: 0;
        padding-bottom: 40px;
    }
}

img.center {
    display: block;
    margin: 0 auto;
}

.legal {
    color: #000;
    padding-top: 10px;
}

.legal a,
.legal a:link,
.legal a:visited {
    color: #000 !important;
    text-decoration: none;
}

.legal a:hover {
    color: #050005;
}


@media(min-width: 768px) {
    .navbar {
        font-family: VisioFontHeavy !important;
        text-transform: uppercase;
        background-color: #ff0000;
        text-align: center;
        position: fixed;
        bottom: 0px;
        width: 100%;
        z-index: 30000;
    }

    .nav-item {
        margin-left: 20px;
        margin-right: 20px;
    }

    .nav-item,
    .nav-link {
        font-family: VisioFontHeavy !important;
        text-transform: uppercase;
        font-size: 1.4rem;
        letter-spacing: 0.05rem;
        /* margin-left: 20px;
        margin-right: 20px; */
        color: white;
    }
    .nav-item.active {
        padding: 8px;
        color: #EFFF13;
    }
}

@media(max-width: 767px) {
    .navbar {
        position:fixed; top:0; left:0; z-index:1030;
        width: 100%;
     }
     .navbar-collapse {
        transition: none !important;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ff0000;
        color: #fff;
        font-family: VisioFontHeavy !important;
        padding-top: 156px;
        z-index: 30000;
     }

     .navbar-collapse .nav-item,
     .navbar-collapse .nav-item a {
         color: #fff;
         font-size: 3rem;
         text-transform: uppercase;
     }

     .navbar-collapse .nav-item.active,
     .navbar-collapse .nav-item a:hover {
         color: #EFFF13;
     }

     .navbar-toggler {
        color: #000;
        position:fixed; top:0; right:0; z-index:1030;
         z-index: 30001;
     }
  }

@media (max-width: 767px) {
  .navbar-toggler {
    width: 78px;
    height: 52px;
    padding: 0;
    background: transparent;
    border: none;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler .hamburger-bars {
    width: 72px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-toggler .hamburger-bars span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000;
    border-radius: 3px;
  }

  .navbar-light .navbar-toggler-icon {
    display: none;
  }
}

@media (max-width: 767px) {
  .navbar-toggler {
    padding: 10px 12px;
    width: 52px;
    height: 52px;
  }

  .navbar-light .navbar-toggler-icon {
    width: 48px !important;
    height: 42px !important;
    background-size: 48px 42px !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PHBhdGggc3Ryb2tlPSJyZ2JhKDAsMCwwLDEpIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSIzLjQiIGQ9Ik00IDdoMjJNNCAxNWgyMk00IDIzaDIyIi8+PC9zdmc+") !important;
  }
}



a:hover, a:focus {
    color: #EFFF13
   }

/* .gray {
    background-color: #F1ECE8;
    color: #000000;
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 0px;
} */

@media(max-width: 767px) {
    .contactfooter {
        /* font-size: 3rem; */
        /* padding: 50px; */
        padding-top: 50px;
        padding-bottom: 40px;
        background-color: #ffffff;
        color: #000000;
    }
}

@media(min-width: 768px) {
    .contactfooter {
        /* font-size: 5vmax; */
        /* padding: 50px; */
        padding-top: 80px;
        padding-bottom: 80px;
        background-color: #ffffff;
        color: #000000;
    }
}



@media(max-width: 767px) {
    .footeremail a {
        color: #000 !important;
        font-family: VisioFontHeavy !important;
        text-transform: uppercase;
        /* font-size: 3rem; */
        max-width: 90%;
        padding-top: 30px;
    }
}

@media(min-width: 768px) {
    .footeremail a {
        color: #000 !important;
        font-family: VisioFontHeavy !important;
        text-transform: uppercase;
        font-size: 3rem;
        padding-top: 30px;
        max-width: 90%;
    }
}



.people_email a {
    color: #000 !important;
}

/* 
@media(max-width: 767px) {
    .footeremail a {
        color: #000 !important;
        font-size: 0.8em;
        padding-top: 30px;
    }
} */

.footeremail a:hover {
    color: #EFFF13;
}

.footeremail img {
  width: 50px;   /* sama koko kaikilla sivuilla */
  height: auto;
  display: inline-block;
  margin-top: 20px; /* väli sähköpostin jälkeen */
  transition: filter 0.3s ease-in-out;
}

.footeremail img:hover {
  filter: brightness(0) saturate(100%) invert(86%) sepia(92%) saturate(503%) hue-rotate(7deg) brightness(106%) contrast(104%);
}

.socialicons {
    padding-top: 20px;
    white-space: nowrap;
}

.socialicons a {
    display: inline-block;
    padding-right: 10px;
}

.bodyboxframe {
    padding-top: 15%;
    padding-bottom: 5%;
    margin-right: 0;
    margin-left: 0;
    background-color: #ff0000;
    color: #000000;
    width: 75%;
}

.embed-responsive {
    padding-top: 40px;
    padding-bottom: 40px;
    width: 70%;
    margin: auto;
}

.checkbox {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    text-align: left;
}

.form-check {
    padding: 0;
}

.submit_haat {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    width: 40%;
    font-size: 1.4em;
    color: #fff;
    background-color: #fff;
    border: #000000;
    border-radius: 0px !important;
}

.submit {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    width: 40%;
    font-size: 1.7em;
    color: #000;
    background-color: #fff;
    border: 2px solid #000000;
    border-radius: 0px !important;
    padding: 12px 24px;
    display: inline-block;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.submit:hover {
    background-color: #EFFF13;
    font-family: VisioFontHeavy !important;
    color: #000;
    transform: scale(1.1);
}

.submit:focus,
.submit:active {
    outline: none !important;
    box-shadow: none !important;
}

.submit:hover,
.submit:focus {
    background-color: #EFFF13 !important;
    border-color: #000000;
}

input::placeholder {
    text-transform: uppercase;
    color: #fff !important;
    font-size: 1.2em;
}

input::-webkit-input-placeholder {
    text-transform: uppercase;
    color: #fff !important;
    font-size: 1.2em;
}

input::-webkit-input {
    text-transform: uppercase;
    color: #fff !important;
    font-size: 1.2em;
}

input::-ms-input-placeholder {
    text-transform: uppercase;
    color: #fff !important;
}

input {
    font-family: VisioFontHeavy !important;
    border: none !important;
    border-radius: 0px !important;
    border-bottom: 2px solid #fff !important;
    padding: 5px 10px !important;
    outline: none !important;
    background-color: #ff0000 !important;
    font-size: 1.2em !important;
    letter-spacing: 0.1em !important;
    color: #fff !important;
    box-shadow: none !important;
}

haat_input {
    font-family: VisioFontHeavy !important;
    border: none !important;
    border-radius: 0px !important;
    border-bottom: 2px solid #fff !important;
    padding: 5px 10px !important;
    outline: none !important;
    background-color: #ffffff !important;
    font-size: 1.2em !important;
    letter-spacing: 0.1em !important;
    color: #000 !important;
    box-shadow: none !important;
}

.formmessage {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    font-size: 1.4em;
    color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;

}

.formmessage.error {
    color: #ff0000;
}

.formheader {
    font-family: VisioFontHeavy !important;
    text-transform: uppercase;
    font-size: 1.4em;
    text-align: left;
    letter-spacing: 0.1em !important;
}

.contact-page .bodyheader {
  background: linear-gradient(90deg, #EFFF13 0%, #F7F2EE 50%, #EFFF13 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutHeaderWave 20s ease-in-out infinite;
}

.form-check {
    padding-left: 15px;
    text-align: left;
}

.form-check:last-of-type {
    margin-bottom: 25px;
}

/* .form-control {
    border: none;
    border-radius: 0px;
    border-bottom: 2px solid #000000;
    padding: 5px 10px;
    outline: none;
    background-color: #ff0000;
  }
  
.form-control:focus {
    border: none;
    border-radius: 0px;
    border-bottom: 2px solid #000000;
    padding: 5px 10px;
    outline: none;
    background-color: #ff0000;
  } */

textarea {
    background-color: #ffffff;
    border-radius: 0px !important;
  }
  

.videocontainer {
    position: relative;
    /* width: 70%; */
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    /* margin-left: auto;
    margin-right: auto; */
    max-width: 100%;
    overflow: auto;
}

.frontpagevideo {
    position: relative;
    width: 70%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.frontpagevideo {
    max-height: 600px;
    margin-bottom: 10px;
}

.videocontainerfrontpage {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 25%;
    margin-right: 25%;
}

/* .cover {
    margin-left: auto;
    margin-right: auto;
    } */

.cover a {
    display: block;
}

.cover img {
    width: 100%;
    height: auto;
}

.overlay {
    display: none;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 0px;
    left: 0px;
    /* left: 15%; */
}

.overlay img {
    width: 100%;
    height: auto;
}

@media(min-width: 960px) {
    .videocontainer:hover .overlay { display: block; }
}

/* Overlay-text for new video thumbnails */
.overlay.overlay-text {
    background: transparent;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay.overlay-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ff0000;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.overlay.overlay-text .overlay-label {
    font-family: "FoundersGroteskX-Condensed-Bold", VisioFontHeavy, VisioFont !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 5.6rem;
    color: #ffffff;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

@media(min-width: 960px) {
    .videocontainer:hover .overlay.overlay-text { display: flex; }
}

.videocontainer.extra-video {
    margin-top: 32px;
}

.videocontainer.extra-video-left {
    margin-top: 54px;
}

.embedvideo {
    display: none;
    max-width: 100%;
    margin: 0px auto;
    z-index: 20002;
    width: 100%;
    height: 100%;
}

.embedvideo > div {
    /* position: relative; */
    padding-bottom: 75%;
    height: 0;
}

/* YouTube upotus täyttämään videokortti */
.embedvideo > div {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 (YouTube) */
  height: 0;
}

.embedvideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.iframe {
    width: 100%;
}

/* 
.embedvideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */


.carouselcontainer {
    position: relative;
    width: 100%;
    height: auto;
}

.carouselcontainer.full {
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100vh;
    max-height: 100vw;
    z-index: 9001;
    /* position: fixed;
    padding: 3%;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    z-index: 9000; */
}

.carouselcontainer.full .owl-carousel {
    /* position: relative;
    top: 10%;
    left: 10%;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    max-height: 100%;
    z-index: 9001; */
    position: fixed;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100vh;
    max-height: 100vw;
    z-index: 9001;
  
}

.carouselcontainer.full .owl-height,
.carouselcontainer.full .owl-stage-outer,
.carouselcontainer.full .owl-stage {
    max-height: 80% !important;
    margin-left: auto;
    margin-right: auto;
    align-content: center;
    /* max-width: 80% !important; */
}

.carouselcontainer.full .owl-nav {
    position: absolute;
    top: 50%;
}

.carouselcontainer.full .owl-nav button,
.carouselcontainer.full .owl-nav button span {
    width: 50px;
    height: 50px;
    font-size: 50px;
    font-weight: bold;
    line-height: 50px;
    color: #ffffff;
}

.carouselcontainer.full .owl-nav button {
    vertical-align: middle;
}

.carouselcontainer.full .owl-nav button span {
    display: inline-block;
    vertical-align: baseline;
}

#carousel-data { display: none; }

.slick-next {
    right: 10px;
    z-index: 900;
}

.slick-next,
.slick-prev {
    font-size: 40px;
    line-height: 40px;
    width: 40px;
    height: 40px;
}

.slick-arrow::before,
.slick-arrow::after {
    font-size: 40px;
    line-height: 40px;
    color: #ff0000;
}

/* .slick-arrow::before {
    
} */

.slick-prev {
    left: 10px;
    z-index: 900;
}

@media(min-width: 960px) {
    .carousel .slick-arrow {
        display: none !important;
    }
}
.carousel:hover .slick-arrow {
    display: inline-block !important;
}

.mediadescription {
    font-family: VisioFontHeavy !important;
    font-size: 20px;
    text-transform: uppercase;
    text-align: left;
    margin-top: -10px;
    padding-bottom: 10px;
}

.mediadescription_second {
    font-family: VisioFont !important;
    font-size: 14px;
    text-align: left;
    margin-top: -10px;
    padding-bottom: 10px; 
}

.mediadescription_second.tornava-desc {
    font-size: 13px;
    letter-spacing: -0.06em;
}



/* =====================================================
   HÄÄSIVU – KOMPAKTI, YKSI SELKEÄ PAKETTI
   ===================================================== */

/* Perustekstit */

.wedding_main {
  font-family: VisioFont;
  text-align: center;
  font-size: 16px;
  margin: 0 auto;
  padding-bottom: 0;
  max-width: 50rem;
}

@media (max-width: 767px) {
  .wedding_main {
    max-width: 90%;
  }
}

/* Pääotsikko: esim. "Videokuvauspaketit" */

.wedding_header {
  font-family: VisioFontHeavy;
  text-transform: uppercase;
  font-size: 2.4em;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0 auto 20px auto;
  text-align: center;
  max-width: 18ch;
}

/* HERO / INTRO -osio */

.frame.grey.wedding-hero {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
}

.wedding_intro_title {
  font-family: VisioFontHeavy;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0;
}

.wedding_intro_header {
  font-family: VisioFontHeavy;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 10px auto 12px auto;
  max-width: 40ch;
}

.wedding_intro_text {
  font-family: VisioFont;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 14px auto;
  max-width: 40rem;
}

/* Hero-kuva – TÄMÄ on se kohta joka tappaa ylimääräisen kolon */

.wedding-hero-img {
  margin: 0;
  padding: 0;
}

.wedding-hero-img .row,
.wedding-hero-img .col-lg-12 {
  margin: 0;
  padding: 0;
}

.wedding_header_image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 8px auto;
}

/* Videonappi heti kuvan alle */

.wedding-video-button-row {
  margin: 4px 0 12px 0;
  padding: 0;
}

.wedding-video-button-row .allvideos {
  width: 50%;
  margin: 4px auto;
}

@media (max-width: 767px) {
  .wedding-video-button-row .allvideos {
    width: 100%;
  }
}

/* Hinta-korttien väli vähän pienemmäksi (Bootstrapin py-5 on iso) */


/* HENRI-ESITTELY (kuva + teksti) */

.wedding-about {
  max-width: 900px;
  margin: 24px auto 16px auto;
  padding: 24px 20px;
  background-color: #F1ECE8;
}

.wedding-about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.wedding-about-photo {
  flex: 0 0 500px;
  text-align: center;
}

.wedding-about-photo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto 8px auto;
}

.wedding-about-text {
  flex: 1 1 280px;
  max-width: 480px;
  text-align: left;
}

.wedding-about-text h3 {
  font-family: VisioFontHeavy;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  margin: 0 0 8px 0;
}

.wedding-about-text p {
  font-family: VisioFont;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.wedding-about-highlight {
  margin-top: 6px;
}

.wedding-about-separator {
  height: 0;
  margin: 0;
  padding: 0;
}

/* INFO + VARAAMINEN */

.wedding-info-block {
  max-width: 900px;
  margin: 24px auto 16px auto;
  padding: 24px 20px;
  background-color: #F1ECE8;
}

.wedding-info-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.wedding-info-item {
  flex: 1 1 260px;
  text-align: left;
}

.wedding-info-title {
  font-family: VisioFontHeavy;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.wedding-info-item p {
  font-family: VisioFont;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ */

.wedding-faq {
  max-width: 900px;
  margin: 24px auto 24px auto;
  padding: 0 20px 10px 20px;
  text-align: left;
}

.faq-title {
  font-family: VisioFontHeavy;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
}

.faq-item {
  border-top: 1px solid #d4d4d4;
}

.faq-item:last-of-type {
  border-bottom: 1px solid #d4d4d4;
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
  margin: 0;
}

.faq-question {
  font-family: VisioFontHeavy;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.faq-toggle {
  flex: 0 0 auto;
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
}
.faq-toggle::before { content: "+"; }
.faq-item input:checked + label .faq-toggle::before { content: "×"; }

.faq-answer {
  font-family: VisioFont;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 0 0 10px 0;
}

/* WhatsApp hääsivulla: vihreä → punainen hover */

.whatsapp-link.whatsapp-link--wedding img {
  filter: none;
  width: 150px;
  height: auto;
  margin: 20px auto 0 auto;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-link.whatsapp-link--wedding:hover img {
  filter: hue-rotate(-90deg) saturate(250%) brightness(1.1);
  transform: scale(1.05);
}

/* Mobiilitiivistys */

@media (max-width: 767px) {

  .frame.grey.wedding-hero {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .wedding_intro_header {
    font-size: 1.7rem;
    margin-left: 5%;
    margin-right: 5%;
  }

  .wedding_intro_text {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10px;
  }

  .wedding-about,
  .wedding-info-block,
  .wedding-faq {
    margin: 20px auto;
    padding: 20px 16px;
  }

  .wedding-about-inner {
    flex-direction: column;
    align-items: center;
  }

  .wedding-about-text {
    text-align: center;
    max-width: 100%;
  }

  .wedding-info-inner {
    flex-direction: column;
  }
}


.wedding-hero-img {
  text-align: center;
}

.wedding_header_image {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.btn-primary {
  background-color: #ff0000;
  border-color: #ff0000;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #da0101;
  border-color: #da0101;
}


.rounded-lg {
  border-radius: 0rem !important;
}

.text-small {
  font-size: 0.9rem !important;
}

/* Hääpaketit: leveämmät palstat + tiiviimpi kirjainväli (ei otsikot/hinnat) */
.wedding-packages .bg-white {
  padding-left: 3rem;
  padding-right: 3rem;
}

/* Hopea + Kulta hieman kapeammaksi */
.wedding-packages .col-lg-4:nth-child(1) .bg-white,
.wedding-packages .col-lg-4:nth-child(2) .bg-white {
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

/* Hääpaketit: lisää palstojen väliä */
.wedding-packages {
  column-gap: 20px;
  row-gap: 20px;
}

@media (min-width: 992px) {
  .wedding-packages-container {
    max-width: 1320px;
  }

  .wedding-packages {
    flex-wrap: nowrap;
  }

  .wedding-packages > [class*="col-"] {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }

  /* Hopea + Kulta kapeammaksi, Timantti leveämmäksi */
  .wedding-packages > .col-lg-4:nth-child(1),
  .wedding-packages > .col-lg-4:nth-child(2) {
    flex: 0 0 calc((100% - 40px) / 3 - 20px);
    max-width: calc((100% - 40px) / 3 - 20px);
  }

  .wedding-packages > .col-lg-4:nth-child(3) {
    flex: 0 0 calc((100% - 40px) / 3 + 40px);
    max-width: calc((100% - 40px) / 3 + 40px);
  }
}

/* Hääpaketit: punainen varjo (korvaa harmaan) */
.wedding-packages .shadow {
  box-shadow: 0 0.4rem 0.9rem rgba(255, 0, 0, 0.4) !important;
}

.wedding-packages .text-small,
.wedding-packages .bundlesmall {
  letter-spacing: -0.1em;
}

/* Hääpaketit: yksittäiset rivit 1px pienemmiksi */
.wedding-packages .wedding-packages-small {
  font-size: calc(0.9rem - 1px) !important;
}

/* Rivivälit: Hopea/Kulta väljempi, Timantti tiiviimpi */
.wedding-packages-loose .mb-3 {
  margin-bottom: 0.9rem !important;
}

.wedding-packages-tight .mb-3 {
  margin-bottom: 0.45rem !important;
}

/* Timantti: peruslistan fontti 1px isommaksi */
.wedding-packages-tight .text-small {
  font-size: calc(0.9rem + 1px) !important;
}

.custom-separator {
  width: 5rem;
  height: 6px;
  border-radius: 0rem;
}

.bundletitle {
  font-family: VisioFont !important;
  letter-spacing: 0.1em;
  text-align: center;
}

.bundleprize {
  font-family: VisioFontHeavy !important;
  text-align: center;
  font-size: 3rem !important;
  margin-bottom: -10px;
}

.bundlesmall {
  font-family: VisioFont !important;
  font-size: 0.7rem !important;
}

/* jos haluat saman kuin ennen, tämä saa jäädä globaaliksi */
.text-uppercase {
  font-family: VisioFont !important;
  letter-spacing: 0.2em;
  text-align: right;
}

/* ============================================
   HÄÄSIVU – TÄSMÄKORJAUKSET
   ============================================ */

/* 1) Elokuvamaiset häävideot... – enemmän tilaa alle */
.wedding_intro_text:first-of-type {
  margin-bottom: 22px;  /* isompi hengitys ekalle tekstille */
}

/* 2) "Videolla välittyy..." – vähemmän tilaa ennen kuvaa */
.wedding_intro_text:last-of-type {
  margin-bottom: 6px;   /* pienempi väli, ettei kuva karkaa liian alas */
}

/* 3) Hero-kuva VARMASTI keskelle */
.wedding-hero-img {
  text-align: center;
  margin-top: 4px;
}

.wedding-hero-img img {
  display: block;
  margin: 0 auto 8px auto;  /* keskitys ja pieni hengitys alle */
}

/* 4) "Suosittelemme varaamaan..." -kohdan alle vähän lisää */
.wedding-info-block {
  margin-bottom: 28px;  /* kasvattaa väliä ennen seuraavaa blokkia */
}

/* 5) "Katso kaikki videot" -boksin jälkeen lisää tilaa */
.wedding-video-button-row {
  margin-bottom: 28px;
}

/* 6) Hopea / Kulta / Timantti – fontit isommiksi ja rouheammiksi
   (oletus: nämä ovat .text-uppercase -elementtejä hääpaketti-osiossa) */
.wedding_main .text-uppercase {
  font-family: VisioFontHeavy !important;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-align: center;
}

/* 7) "sis. alv" alla oleva viiva punaiseksi (ei enää sininen) */
.bg-primary {
  background-color: #ff0000 !important;
}

/* 8) Sun oma kuva isommaksi (vasemman puolen boksi oli jo iso, nyt myös kuva kasvaa) */
.wedding-about-photo img {
  max-width: 420px;   /* voit säätää 380–480px välillä maun mukaan */
}



/* ============================================
   HÄÄSIVU – TÄSMÄKORJAUS 2.0
   ============================================ */

/* 1) LISÄÄ VÄLIÄ:
   "Elokuvamaiset häävideot, ... hetket, jotka tapahtuvat vain kerran."
   JA
   "Hääpäivä on täynnä pieniä yksityiskohtia..." väliin
*/
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_header {
  margin-bottom: 24px !important;
}

/* varmistetaan, ettei eka tekstiblokki itse lisää turhaa väliä alle */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_text {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

/* 2) VÄHEMMÄN VÄLIÄ "Videolla välittyy..." ja videoiden/kuvan väliin
   – eli kiristetään video-blokin marginit pieniksi
*/
.wedding-double-hero {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.wedding-double-hero .double-hero-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wedding-double-hero .hero-video {
  max-height: 180px;
  height: auto;
}

/* Lisäksi kuvan yläreunan margini tiukemmaksi */
.container.wedding-hero-img {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 4px !important;
}

.container.wedding-hero-img .row,
.container.wedding-hero-img .col-lg-12 {
  margin: 0;
  padding: 0;
}

.wedding_header_image {
  display: block;
  margin: 0 auto 8px auto !important;
  width: 100%;
  max-width: 1200px;
}

/* 3) LISÄÄ VÄLIÄ "Suosittelemme varaamaan..." -tekstin JÄLKEEN
   ennen "Katso kaikki videot" -nappia
*/
.container.wedding_subsection .wedding_intro_text {
  margin-bottom: 26px !important;
}

/* Napin ympärille myös vähän enemmän hengitystä */
.wedding-video-button-row {
  margin-top: 4px !important;
  margin-bottom: 32px !important;
}

/* 4) HOPEA / KULTA / TIMANTTI – selkeästi isompi ja Heavy-fontti */
.bundletitle {
  font-family: VisioFontHeavy !important;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  margin-bottom: 6px;
}

/* Varmistetaan, että hinnat ja "sis. alv" pysyy tyylissä */
.bundleprize {
  font-family: VisioFontHeavy !important;
  font-size: 3rem !important;
}

.bundlesmall {
  font-family: VisioFont !important;
  font-size: 0.8rem !important;
}

/* 5) "sis. alv" alla oleva viiva varmasti punainen */
.custom-separator.bg-primary {
  background-color: #ff0000 !important;
}

/* 6) SUN KUVA + TEKSTI: isompi kuva, leveämpi tekstipalsta */
.wedding-about {
  max-width: 1000px;
}

.wedding-about-inner {
  gap: 32px;
}

.wedding-about-photo {
  flex: 0 0 380px;
}

.wedding-about-photo img {
  max-width: 380px !important;
  width: 100%;
  height: auto;
}

/* Tekstille enemmän leveyttä, ettei palsta ole niin korkea */
.wedding-about-text {
  flex: 1 1 380px;
  max-width: 560px;
}


/* Headerin ja "Hääpäivä on..." -tekstin väliä lisää */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_header {
  margin-bottom: 32px !important;
}

/* "Videolla välittyy..." tekstin ja hero-video/kuvan väli vielä tiukemmaksi */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_text {
  margin-bottom: 4px !important;
}

/* Double-hero -videot kiinni tekstiin ja kuvaan */
.wedding-double-hero {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Hero-kuvakontin margini pois ylhäältä */
.container.wedding-hero-img {
  margin-top: 0 !important;
}

/* Tilaa "Videokuvauspaketit" -otsikon yläpuolelle */
.wedding_header {
  margin-top: 48px;
}

/* Hopea, Kulta, Timantti – isommaksi ja näyttäväksi */
.bundletitle {
  font-family: "Playfair Display", VisioFontHeavy, serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-align: center;
  margin-bottom: 8px;
}

/* "Kaikkiin paketteihin..." kappaleelle ylä- ja alapaddingia */
.py-5 + .row .wedding_main {
  margin-top: 36px;
  margin-bottom: 24px;
}

/* "Kaikki paketit ovat muokattavissa..." yläpuolelle vähän tilaa */
.py-5 + .row + .row .travelcost {
  margin-top: 18px;
  margin-bottom: 8px;
}

/* Koko blokki leveämmäksi */
.wedding-about {
  max-width: 1100px;
}

/* Kuva isommaksi */
.wedding-about-photo img {
  max-width: 430px !important;
  width: 100%;
  height: auto;
}

/* Tekstipalsta leveämmäksi, ettei tule liian korkea tolppa */
.wedding-about-text {
  flex: 1 1 420px;
  max-width: 620px;
}



/* ============================================
   HÄÄSIVU – FIX 3.0
   ============================================ */

/* 1) "Videolla välittyy..." JA VIDEO+KUVA – väli minimiin */
.frame.grey.wedding-hero .wedding_intro_text {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Double-hero -videot KIINNI tekstiin */
.wedding-double-hero {
  margin-top: -8px !important;   /* jos menee liian tiukaksi, vaihda -8 -> -4 */
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Hero-kuva heti videoiden perään, ei ylimääräistä tyhjää */
.container.wedding-hero-img {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 2) HOPEA / KULTA / TIMANTTI – isommaksi ja näyttävämmäksi */
.bundletitle {
  font-family: VisioFontHeavy !important;   /* käytetään sun omaa "heavyä" */
  font-size: 1.8rem !important;            /* selvästi isompi */
  text-transform: uppercase;
  letter-spacing: 0.25em !important;       /* klassinen, leveä kirjainväli */
  text-align: center;
  margin-bottom: 10px;
}


/* HEADER / HERO -VÄLIN KORJAUS */
.frame.header.grey {
  padding-bottom: 10px;      /* aiempaa pienempi väli logon alle */
}

.frame.grey.wedding-hero {
  padding-top: 10px;         /* myös tämän alku tiiviimmäksi */
  margin-top: 0;
}



/* Elokuvamaiset häävideot… -otsikon ja leipätekstin väli isommaksi */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_header {
  margin-bottom: 40px !important;
}

/* Varmistetaan että intro-leipäteksti ei lisää ylimääräistä kuoppaa */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_text {
  margin-bottom: 8px !important;
}


/* Tilaa ennen "Tunnelmallista videokuvausta – juuri…" -otsikkoa */
.container.wedding_subsection .wedding_intro_header {
  margin-top: 60px !important;   /* isompi hengitys yläreunaan */
}


/* Kavennetaan otsikkoa, jotta "juuri" menee toiselle riville */
.container.wedding_subsection .wedding_intro_header {
  max-width: 22ch;               /* aiempaa kapeampi palsta */
  margin-left: auto;
  margin-right: auto;
}



/* Lisää tilaa tekstin ja "Katso kaikki videot" -napin väliin */
.container.wedding_subsection .wedding_intro_text {
  margin-bottom: 40px !important;
}

.wedding-video-button-row {
  margin-top: 8px !important;
  margin-bottom: 32px !important;
}



/* Hopea / Kulta / Timantti – klassinen serif-fontti ja isompi koko */
.bundletitle {
  font-family: "Playfair Display", VisioFontHeavy, serif !important;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-align: center;
  margin-bottom: 10px;
}


/* Väli VISIO-gifin ja hääotsikon välistä pienemmäksi */
.frame.header.grey {
  padding-bottom: 10px !important;
}


/* Lisää tilaa Elokuvamaiset-häävideot -otsikon alle */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_header {
  margin-bottom: 40px !important;
}

/* Piilotetaan välissä oleva double-hero -videoblokki, jotta kuva nousee ylemmäs */
.wedding-double-hero {
  display: none !important;
}

/* Varmistetaan, että hero-kuvakontilla ei ole turhaa marginaalia */
.container.wedding-hero-img {
  margin-top: 8px !important;
}


/* Toisen otsikon leveys niin, että
   "Tunnelmallista videokuvausta –"
   mahtuu yhdelle riville */
.container.wedding_subsection .wedding_intro_header {
  max-width: 28ch !important;
}


/* Lisää väliä tekstin ja napin väliin */
.container.wedding_subsection .wedding_intro_text {
  margin-bottom: 40px !important;
}

/* Nappi saa olla vähän irti ympäristöstä */
.wedding-video-button-row {
  margin-top: 0 !important;
  margin-bottom: 36px !important;
}



/* Bundle-titlet: isompi ja vähän tiiviimpi */
.bundletitle {
  font-family: "Playfair Display", VisioFontHeavy, serif !important;
  font-size: 1.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;  /* pienempi väli */
  text-align: center;
  margin-bottom: 10px;
}


/* Henri-esittely: eri fontti, pehmeämpi tarinallinen fiilis */
.wedding-about-text p {
  font-family: "Playfair Display", serif !important;
  font-size: 1.02rem;
  line-height: 1.7;
}


/* 1) Lisää hieman väliä "Videolla välittyy..." -lauseen ja kuvan väliin */
.frame.grey.wedding-hero > .container:first-of-type .wedding_intro_text {
  margin-bottom: 20px !important;   /* oli aiemmin tosi pieni arvo */
}

.container.wedding-hero-img {
  margin-top: 12px !important;      /* pieni hengitys ennen kuvaa */
}


/* 2) Tunnelmallista videokuvausta – juuri teidän tyyliin.
      -> otsikolle enemmän leveyttä, jotta se mahtuu kahdelle riville,
      mutta ei katko "Tunnelmallista videokuvausta" kahtia
*/
.container.wedding_subsection .wedding_intro_header {
  max-width: 30ch !important;   /* leveämpi kuin aiemmin */
}


/* 3) Lisää reilusti tilaa tekstin ja napin väliin
      ("kesäviikonloput täyttyvät nopeasti." -> ennen "Katso kaikki videot")
*/
.container.wedding_subsection .wedding_intro_text {
  margin-bottom: 64px !important;   /* selvästi isompi väli */
}

.wedding-video-button-row {
  margin-top: 0 !important;
}


/* 4) HOPEA / KULTA / TIMANTTI – isommaksi, kirjaimet lähemmäs */
.bundletitle {
  font-size: 2rem !important;      /* suurempi teksti */
  letter-spacing: 0.06em !important; /* vähemmän väliä kirjainten väliin */
}


/* Levennetään ensimmäisen tekstiosan leveys */
.frame.grey.wedding-hero .wedding_intro_text:nth-of-type(1) {
  max-width: 120ch !important;   /* enemmän leveyttä, vähemmän rivejä */
}


/* Levennetään videokuvaus-intro -teksti */
.container.wedding_subsection .wedding_intro_text:nth-of-type(1) {
  max-width: 120ch !important;
}



/* Lisää reilusti tilaa ennen punaista nappia */
.container.wedding_subsection .wedding_intro_text:nth-of-type(2) {
  margin-bottom: 60px !important;
}


/* Pakettien otsikot suuremmiksi ja tiiviimmiksi */
.bundletitle {
  font-size: 2.3rem !important;        /* selkeästi isompi */
  letter-spacing: 0.03em !important;   /* kirjaimet lähemmäs toisiaan */
}


/* Levennetään molempia pitkää tekstikappaletta (ylä- ja ala-intro) */
@media (min-width: 768px) {
  .frame.grey.wedding-hero .wedding_intro_text,
  .container.wedding_subsection .wedding_intro_text {
    max-width: 60rem !important;  /* voit testata esim. 56–70rem välillä */
  }
}



/* KATSO KAIKKI VIDEOT – isompi ja kaikki kirjaimet isoina */
.wedding-video-button-row .allvideos button,
.wedding-video-button-row .allvideos a button {
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-family: VisioFontHeavy !important;
}


.wedding-video-button-row .allvideos a.btn-primary {
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-family: VisioFontHeavy !important;
}


/* HOPEA / KULTA / TIMANTTI – 10% pystysuuntainen skaalakorotus */
.bundletitle {
    font-family: VisioFontHeavy !important;
    font-size: 1.4rem !important;
    letter-spacing: 0.12em !important;  /* vähemmän väliä */
    display: inline-block;
    transform: scaleY(1.10);           /* vain korkeus */
    transform-origin: center;
}


/* HOPEA / KULTA / TIMANTTI – lopullinen versio */
.wedding_main .bundletitle {
    font-family: "Playfair Display", VisioFontHeavy, serif !important;
    font-size: 2.1rem !important;      /* isompi kuin perus */
    letter-spacing: 0.06em !important; /* kirjaimet lähempänä toisiaan */
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    transform: scaleY(1.10);           /* 10% lisää korkeutta */
    transform-origin: center;
}



/* KATSO KAIKKI VIDEOT – isompi, kaikki caps, ronski otsikkolook */
.allvideos .btn,
.allvideos a,
.allvideos button {
    font-family: VisioFontHeavy !important;
    font-size: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
}


/* --- Hääpakettien HOPEA / KULTA / TIMANTTI -otsikot --- */
.bg-white .bundletitle {
    font-family: "Playfair Display", VisioFontHeavy, serif !important;
    font-size: 2.2rem !important;        /* selvästi isompi */
    letter-spacing: 0.05em !important;   /* kirjaimet lähemmäs toisiaan */
    text-transform: uppercase !important;
    text-align: center;
    display: inline-block;
    transform: scaleY(1.10);             /* noin +10 % korkeutta */
    transform-origin: center;
}


/* --- "KATSO KAIKKI VIDEOT" -nappi --- */
a.allvideos {
    font-family: VisioFontHeavy !important;
    font-size: 1.6rem !important;         /* reilusti isompi */
    text-transform: uppercase !important; /* muuttaa tekstin VISUAALISESTI ISOILLE */
    letter-spacing: 0.14em !important;    /* vähän väliä, nappimainen fiilis */
    text-align: center;
}


/* Lisää väliä "Tunnelmallista videokuvausta – juuri teidän tyyliin." alle */
.wedding_subsection .wedding_intro_header {
    margin-bottom: 48px !important;
}


/* 🔥 PUNAINEN + MUSTA TEKSTIVARJO – valitut otsikot */

.wedding_intro_header,
.wedding-about-text h3,
.wedding-info-title,
.faq-title,
.contactfooter h4 {
    color: #ff0000 !important;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.35);
}

/* Ensimmäisen hero-otsikon force override (varmasti mukana) */
.frame.grey.wedding-hero .wedding_intro_header:first-of-type {
    color: #ff0000 !important;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.35);
}


/* 🔥 PUNAINEN + TERÄVÄ MUSTA SHADOW – kaikki pyydetyt otsikot */

.wedding_intro_header,
.wedding-about-text h3,
.wedding-info-title,
.faq-title,
.contactfooter h4,
.wedding_header {  /* Tämä lisää Videokuvauspaketit-otsikon */
    color: #ff0000 !important;
    text-shadow: 0px 1.5px 2px rgba(0,0,0,0.25); /* pienehkö ja terävämpi */
}

/* Varmistetaan että hero-otsikko ottaa myös uuden tyylin */
.frame.grey.wedding-hero .wedding_intro_header:first-of-type {
    color: #ff0000 !important;
    text-shadow: 0px 1.5px 2px rgba(0,0,0,0.25);
}



.wedding-about-text p {
    color: #EFFF13 !important;  /* Visio huomio */
}


.visio-red {
    color: #FF0000 !important;   /* Visio punainen */
    text-shadow: 0px 1px 2px rgba(0,0,0,0.25);  /* sama moderni terävä shadow */
}

/* Henri-blokin tausta punaiseksi */
.wedding-about {
    background-color: #ff0000 !important;   /* Visio punainen */
    color: #ffffff !important;              /* default-tekstit valkoisiksi */
}

/* Henri-blokin kappaletekstit valkoiseksi */
.wedding-about-text p {
    color: #ffffff !important;
}

/* Otsikko “Moi, olen Henri” valkoiseksi */
.wedding-about-text h3 {
    color: #ffffff !important;
}

/* Jos haluat, että tuossa ensimmäisen kappaleen sisällä “Visio Creative” erottuu keltaisena */
.wedding-about-text .visio-yellow {
    color: #EFFF13 !important;              /* Visio huomio – keltainen */
}

/* Jos haluat vielä pienen, elegantin tekstivarjon */
.wedding-about-text h3,
.wedding-about-text p {
    text-shadow: 0px 1px 2px rgba(0,0,0,0.25);
}




/* 1) Kaikki leipätekstit 10% tiiviimmiksi */
.wedding_intro_text,
.wedding_main,
.wedding-info-item p,
.faq-answer {
    letter-spacing: -0.09em !important;
}

/* 2) Mutta EI tiivistystä Henri-esittelyn tekstille */
.wedding-about-text p {
    letter-spacing: normal !important;
}

/* Kavennettu leveys tälle yhdelle tekstille */
.wedding_header + .wedding_main {
    max-width: 42rem !important;   /* testaa 36–48rem väliltä, 42 on hyvä aloitus */
    margin-left: auto !important;
    margin-right: auto !important;
}


/* FAQ-kysymysten fonttikoko isommaksi ja painavammaksi */
.faq-question {
    font-size: 1.35rem !important;     /* kasvata/arvot 1.3–1.5rem jos haluat vielä isommaksi */
    font-family: VisioFontHeavy !important;
    letter-spacing: 0.02em;            /* kevyt tiivistys */
}

/* Plus-merkin koko isommaksi */
.faq-toggle {
    font-size: 1.8rem !important;    
}


/* Etusivun WhatsApp-logo normaaliksi */
.whatsapp-link img {
  width: 40px;
  height: auto;
}

/* Footerin some-ikonit yhtenäiseksi */
/* Social-ikonit: pehmeä vilkkuminen (vain opacity) + porrastus */
.footer .socialicons a img {
  animation: socialPulse 36s linear infinite;
  opacity: 1;
  filter: none !important;
  will-change: opacity;
}

@keyframes socialPulse {
  0%   { opacity: 1; }
  40%  { opacity: 1; }
  50%  { opacity: 0; }
  80%  { opacity: 0; }
  90%  { opacity: 1; }
  100% { opacity: 1; }
}

/* Porrastus + hieman eri kestoa, jotta rytmi ei synkkaa */
.footer .socialicons a:nth-child(1) img { animation-delay: 7s;  animation-duration: 36s; }
.footer .socialicons a:nth-child(2) img { animation-delay: 19s; animation-duration: 38s; }
.footer .socialicons a:nth-child(3) img { animation-delay: 3s;  animation-duration: 35s; }
.footer .socialicons a:nth-child(4) img { animation-delay: 27s; animation-duration: 40s; }

@media (prefers-reduced-motion: reduce) {
  .footer .socialicons a img { animation: none; }
}

/* Etusivun "Me Visio Creativessa..." -teksti kapeammaksi */
.frontpage-intro {
  max-width: 45rem;      /* voit testata 36–46rem välillä maun mukaan */
  margin: 0 auto 1.5rem; /* keskitys + pieni ala-tyhjä */
  line-height: 1.7;
}

/* Etusivun VISIO / CREATIVE -puhutteleva sana */
.first-word {
  color: #1a1a1a;
  text-transform: uppercase;      /* varmuuden vuoksi ISOLLA */
  font-family: "FoundersGrotesk-SemiboldItalic", FoundersGroteskSemiboldItalic, VisioFont;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.09em;         /* 50% tiukempi */
  font-size: 1.73em;
  display: inline-block;
  line-height: 1;
  transform: scaleY(1.56) translateY(4px);
  transform-origin: bottom;
  vertical-align: baseline;
  will-change: transform;
}

.first-word--visio {
  font-size: 1.25em;
  text-transform: none;
}

.first-word--creative {
  font-size: 1.24em;
  text-transform: none;
}

.first-word--visiocreative {
  font-size: 1.225em;
}

.first-word--sand {
  color: #1a1a1a;
}

.first-word--yellow {
  color: #EFFF13;
}

.themes span {
  color: #ff0000;
}

.about-page .bodyheader {
  color: #EFFF13;
}

.about-page .bodyheader {
  background: linear-gradient(90deg, #EFFF13 0%, #F7F2EE 50%, #EFFF13 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutHeaderWave 20s ease-in-out infinite;
}

@keyframes aboutHeaderWave {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Etusivun "Tosi Hyvä Tuotantoyhtiö" -tekstipalsta */
.frontpage-intro {
  max-width: 96rem;              /* kapeampi palsta, helpompi lukea */
  margin: 0 auto 2rem;           /* keskitys */
  line-height: 1.7;
  letter-spacing: -0.08em;        /* kirjaimet  ~50% lähempänä kuin oletus-bodybox */
}

/* WhatsApp-ikonin peruskoko (kaikki sivut) */
.whatsapp-link img {
  width: 150px;
  height: auto;
}

/* Hääsivun oma WhatsApp-nappi – pysyy isona ja näyttävänä */
.whatsapp-link.whatsapp-link--wedding img {
  width: 150px !important;
  height: auto;
}


/* ABOUT-SIVUN HERO-TEKSTI */

.about-page .hero-content {
  text-align: center;
  padding: 20px 8% 10px;
}

/* "Me Visio Creativessa..." -kappale */
.about-page .frontpage-intro {
  max-width: 46rem;        /* kavennetaan palstaa */
  margin: 0 auto 2rem;     /* keskitys */
  line-height: 1.7;
  letter-spacing: 0.03em;  /* vähän tiiviimpi kirjainväli, mutta ei liikaa */
}


/* ABOUT-SIVUN KUVIEN KOKO – 60% LEVEYS */
.about-page .bodybox img {
    width: 60% !important;
    max-width: 60% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* ETUSIVUN LOGOT – max 3 / rivi */
.index-page .logo-row,
.home-page .logo-row,
body:not(.about-page) .logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
    margin-bottom: 35px;
}

.index-page .logo-row img,
.home-page .logo-row img,
body:not(.about-page) .logo-row img {
    width: 120px !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* Mobiilille 2 per rivi */
@media (max-width: 767px) {
    .index-page .logo-row img,
    .home-page .logo-row img,
    body:not(.about-page) .logo-row img {
        width: 90px !important;
    }
}


.client-logos {
  margin-top: 60px; /* Lisää väliä otsikon jälkeen */
  margin-bottom: 60px;
}

.client-logos .logo-row {
  display: flex;
  justify-content: center; /* Logot keskitettyinä */
  flex-wrap: wrap;
  gap: 25px; /* Logot lähempänä toisiaan */
  margin-bottom: 20px;
}

.client-logos img {
  max-width: 120px; /* Logojen koko maltilliseksi */
  height: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease-in-out;
}

.client-logos img:hover {
  opacity: 1;
}


/* ============================
   LOGORIVI – FADE CAROUSEL
   ============================ */

.client-logos-rotator {
  margin-top: 44px;
  margin-bottom: 16px;
  text-align: center;
}

.client-logos-rotator .client-logos-title {
  font-family: VisioFontHeavy;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 22px;
  color: #EFFF13;
  background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 35%, #EFFF13 55%, #F4FF6A 65%, #1a1a1a 85%, #1a1a1a 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoWave 18s linear infinite;
  animation-delay: var(--logo-wave-delay, 0s);
  display: inline-block;
  transform: scaleY(1.25);
  transform-origin: bottom;
  will-change: background-position;
}

@media (max-width: 767px) {
  .client-logos-rotator .client-logos-title {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    transform: scaleY(1.05);
  }
}

/* Yksi rivillinen logoja, keskitettynä */
.client-logos-rotator .logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
  opacity: 1;
  transition: opacity 0.45s ease-in-out;
}

/* Fade-out ja fade-in tilat */
.client-logos-rotator .logo-strip.is-fading-out {
  opacity: 0;
}

.client-logos-rotator .logo-strip.is-fading-in {
  opacity: 1;
}

/* Logojen peruslook */
.client-logos-rotator .logo-strip img {
  max-width: 120px;
  height: auto;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

/* Hover-efekti */
.client-logos-rotator .logo-strip img:hover {
  transform: scale(1.06);
  filter: grayscale(0);
  opacity: 1;
}

/* Mobiililla vähän pienempi ja tiiviimpi */
@media (max-width: 767px) {
  .client-logos-rotator .logo-strip {
    gap: 18px;
  }

  .client-logos-rotator .logo-strip img {
    max-width: 90px;
  }
}

/* =========================================
   LOGORIVI – RANDOM BLUR FADE SWAP
   ========================================= */

.client-logos-rotator .logo-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.client-logos-rotator .logo-strip img {
  width: 150px;
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  transition: opacity 3.2s ease-in-out;
  opacity: 1;
  filter: none;
}

.client-logos-rotator .logo-strip img.fading-out {
  opacity: 0;
}

.client-logos-rotator .logo-strip img.fading-in {
  opacity: 1;
}

.client-logos-rotator .logo-strip img:hover {
  transform: none !important;
  filter: none !important;
}

@media (min-width: 768px) {
  .client-logos-rotator {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .client-logos-rotator .logo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    grid-auto-rows: auto;
    gap: 6px 92px;
    align-items: center;
    padding-left: 0.5%;
    padding-right: 0.5%;
    align-content: start;
  }

  .client-logos-rotator .logo-strip img {
    width: 100%;
    max-width: none;
    height: 70px;
    object-fit: contain;
    justify-self: center;
  }

  /* per-logo koot määritellään myöhemmin */

  /* Desktop: logo-kohtaiset koot */
  .client-logos-rotator .logo-strip img[src*="Farmari"] { height: 72px !important; }
  .client-logos-rotator .logo-strip img[src*="ProAgria"] { height: 52px !important; }
  .client-logos-rotator .logo-strip img[src*="oma_sp"] { height: 80px !important; }
  .client-logos-rotator .logo-strip img[src*="verge"],
  .client-logos-rotator .logo-strip img[src*="verge1"] { height: 138px !important; }
  .client-logos-rotator .logo-strip img[src*="seinajoki"] { height: 84px !important; }
  .client-logos-rotator .logo-strip img[src*="peab"] { height: 78px !important; }
  .client-logos-rotator .logo-strip img[src*="seamk"] { height: 70px !important; }
  .client-logos-rotator .logo-strip img[src*="eepee"] { height: 74px !important; }
  .client-logos-rotator .logo-strip img[src*="adidas"],
  .client-logos-rotator .logo-strip img[src*="adidas1"] { height: 88px !important; }
  .client-logos-rotator .logo-strip img[src*="valio"] { height: 84px !important; }
  .client-logos-rotator .logo-strip img[src*="mtv31"] { height: 86px !important; }
  .client-logos-rotator .logo-strip img[src*="atria"] { height: 71px !important; }
  .client-logos-rotator .logo-strip img[src*="intoseinajoki"] { height: 75px !important; }
  .client-logos-rotator .logo-strip img[src*="Forsfood"] { height: 68px !important; }
  .client-logos-rotator .logo-strip img[src*="KM"] { height: 46px !important; }
  .client-logos-rotator .logo-strip img[src*="humana"] { height: 56px !important; }
  .client-logos-rotator .logo-strip img[src*="nodeon"] { height: 68px !important; }
  .client-logos-rotator .logo-strip img[src*="poppankki"] { height: 70px !important; }
  .client-logos-rotator .logo-strip img[src*="yrittajat1"] { height: 78px !important; }

  .client-logos-rotator .logo-strip img[src*="sokos1.png"],
  .client-logos-rotator .logo-strip img[data-logo*="sokos1.png"] {
    height: 92px !important;
    width: auto !important;
    max-width: none !important;
  }
  .client-logos-rotator .logo-strip img[src*="genelec"],
  .client-logos-rotator .logo-strip img[src*="genelec1"] { height: 145px !important; }
  .client-logos-rotator .logo-strip img[src*="epl2"],
  .client-logos-rotator .logo-strip img[data-logo*="epl2"] {
    height: 132px !important;
    width: auto !important;
    max-width: none !important;
  }
  .client-logos-rotator .logo-strip img[src*="areena"],
  .client-logos-rotator .logo-strip img[src*="areena1"],
  .client-logos-rotator .logo-strip img[src*="areena2"] { height: 150px !important; }
  .client-logos-rotator .logo-strip img[src*="hyvaep"] { height: 80px !important; }
  .client-logos-rotator .logo-strip img[src*="kaiko"] { height: 72px !important; }
  .client-logos-rotator .logo-strip img[src*="kyro1"] { height: 96px !important; }
  .client-logos-rotator .logo-strip img[src*="provinssi2"] { height: 175px !important; }
  .client-logos-rotator .logo-strip img[src*="visign2"] { height: 108px !important; }
  .client-logos-rotator .logo-strip img[src*="palloliitto"] { height: 96px !important; }
  .client-logos-rotator .logo-strip img[src*="Kaverit"],
  .client-logos-rotator .logo-strip img[src*="kaverit"] { height: 50px !important; }
  .client-logos-rotator .logo-strip img[src*="BayernCar"],
  .client-logos-rotator .logo-strip img[src*="bayerncar"] { height: 40px !important; }
  .client-logos-rotator .logo-strip img[src*="ideapark1"] { height: 106px !important; }
  .client-logos-rotator .logo-strip img[src*="Asr"],
  .client-logos-rotator .logo-strip img[src*="asr"] { height: 62px !important; }
  .client-logos-rotator .logo-strip img[src*="sjk_logo_visio"] { height: 78px !important; }
  .client-logos-rotator .logo-strip img[src*="yrittajat1"] { height: 78px !important; }

  /* Desktop: yhtenäinen logokoko kaikille */
  .client-logos-rotator .logo-strip img {
    height: 96px !important;
  }

  /* Desktop: näytä 10 logoa (5x2) */
  .client-logos-rotator .logo-strip img:nth-child(n+11) {
    display: none;
  }
}

@keyframes logoWave {
  0% { background-position: 120% 50%; }
  100% { background-position: -20% 50%; }
}


/* Mobile */
@media (max-width: 767px) {
  .client-logos-rotator .logo-strip img {
    max-width: 110px;
  }
}


.client-logos-rotator {
  margin-bottom: 20px !important; /* vähentää väliä ennen Ota yhteyttä -osiota */
}

.attention-line {
  width: 100%;
  height: 4px;
  background-color: #EFFF13; /* Visio huomio keltainen */
  margin: 0 auto 15px auto; /* ylemmäksi ei lisää turhaa väliä */
}

.attention-line {
  width: 100%;
  height: 24px;                /* aiemmin tosi ohut → nyt kunnon bändi */
  background-color: #EFFF13;   /* Visio huomio -keltainen */
  margin: 0;                   /* ei ylimääräistä väliä ylös/alas */

}


/* Etusivun "Tosi Hyvä Tuotantoyhtiö" -blocki: poista ylimääräinen hiekkapadding alaosasta */
.frame.grey.toppadding {
  padding-bottom: 0;
}




/* Pakotetaan punainen tausta "Ota yhteyttä" -osiolle */
.frame.red {
  background-color: #ff0000 !important;
}

/* Logo-osion tausta täysin valkoinen */
.client-logos-rotator-wrapper {
  background-color: #ffffff !important;
  padding-top: 40px;
  padding-bottom: 0;
}

/* Keltainen huomio-viiva suoraan logojen alle */
.attention-line {
  width: 100%;
  height: 25px;
  background-color: #EFFF13; /* Visio huomio -keltainen */
  margin: 0;
  padding: 0;
}

/* Ota yhteyttä -osion tausta VALKOINEN */
.frame.red.contact-section-fix {
  background-color: #ffffff !important;
}

/* Koska .frame.red muuta punaiseksi, tämä ylikirjoittaa sen vain Ota yhteyttä -blokissa */
.contact-section-fix h4,
.contact-section-fix .email-link,
.contact-section-fix .whatsapp-link {
  color: #000 !important;
}





.attention-line {
  width: 100%;
  height: 22px;
  background-color: #EFFF13;
  margin: 0;
}




.contactfooter {
  background-color: #F1ECE8 !important;
}


.attention-line {
  width: 100%;
  height: 25px;
  background-color: #EFFF13;
  margin: 0;
  padding: 0;
}


/* Ota yhteyttä -osion tausta VALKOINEN koko alueelta */
.contact-section-fix {
  background-color: #F1ECE8 !important;
}

.contact-simple {
  padding: 40px 8%;
  text-align: center;
}

.contact-simple h4 {
  letter-spacing: 0.038em;
  margin-bottom: 24px;
}

.contact-simple .footeremail a {
  font-size: 1.35em;
  color: #000 !important;
  font-family: VisioFont !important;
}

.contact-simple .whatsapp {
  margin-top: 24px;
}

.contact-split {
  padding: 40px 6%;
  text-align: left;
}

.contact-split-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-left {
  flex: 0 0 360px;
  text-align: center;
}

.contact-photo {
  width: 540px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.contact-title {
  font-family: VisioFontHeavy !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  margin-top: 6px;
  font-size: 1.1em;
}

.contact-right {
  flex: 0 0 320px;
  text-align: center;
  line-height: 1.6;
}

.contact-right .footeremail a {
  color: #ff0000 !important;
  font-size: 1.35em;
  font-family: VisioFont !important;
}

.contact-name {
  font-family: VisioFont !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  margin-bottom: 2px;
  text-align: center;
  font-size: 1.45em;
  color: #ff0000;
}

.contact-right h4 {
  letter-spacing: 0.038em;
  margin-bottom: 24px;
}

.contact-right .footeremail {
  margin-bottom: 24px;
}

.contact-right .whatsapp {
  margin-top: 24px;
}

.contact-title-line {
  width: 320px;
  max-width: 82%;
  height: 4px;
  margin: 36px auto 30px;
  display: none !important;
  background: #ff0000;
  opacity: 1;
  animation: contactLineColor 28s ease-in-out infinite;
}

@keyframes contactLineColor {
  0% { background-color: #ff0000; opacity: 1; }
  30% { background-color: #ff0000; opacity: 1; }
  40% { opacity: 0; }
  42% { background-color: #EFFF13; opacity: 0; }
  60% { background-color: #EFFF13; opacity: 1; }
  70% { opacity: 0; }
  72% { background-color: #ffffff; opacity: 0; }
  90% { background-color: #ffffff; opacity: 1; }
  100% { background-color: #ff0000; opacity: 1; }
}

@media (max-width: 767px) {
  .contact-split {
    padding: 28px 6%;
  }

  .contact-split-inner {
    flex-direction: column;
    gap: 20px;
  }

  .contact-left,
  .contact-right {
    flex: 1 1 auto;
    text-align: center;
  }

  .contact-photo {
    width: 260px;
  }
}

/* =========================================
   Mobiili (iPhone 16/17 ~390–430px)
   ========================================= */
@media (max-width: 767px) {
  .header img {
    width: 160px;
    height: auto;
  }

  .videoheader img {
    max-width: 85%;
    padding-bottom: 20px;
  }

  .bodybox {
    padding-left: 6%;
    padding-right: 6%;
  }

  .first-word {
    font-size: 1.05em;
    transform: scaleY(1.35) translateY(2px);
  }

  .frontpage-intro {
    max-width: 90%;
    margin-bottom: 1.5rem;
  }

  .client-logos-rotator .logo-strip img {
    width: 120px;
    height: 48px;
  }

  .client-logos-rotator .logo-strip img[data-logo*="ideapark"],
  .client-logos-rotator .logo-strip img[data-logo*="sjk"],
  .client-logos-rotator .logo-strip img[data-logo*="valio"],
  .client-logos-rotator .logo-strip img[data-logo*="adidas"],
  .client-logos-rotator .logo-strip img[data-logo*="aidas"],
  .client-logos-rotator .logo-strip img[data-logo*="mtv3"],
  .client-logos-rotator .logo-strip img[data-logo*="intoseinajoki"],
  .client-logos-rotator .logo-strip img[src*="ideapark"],
  .client-logos-rotator .logo-strip img[src*="sjk"],
  .client-logos-rotator .logo-strip img[src*="valio"],
  .client-logos-rotator .logo-strip img[src*="adidas"],
  .client-logos-rotator .logo-strip img[src*="aidas"],
  .client-logos-rotator .logo-strip img[src*="mtv3"],
  .client-logos-rotator .logo-strip img[src*="intoseinajoki"] {
    width: 220px !important;
    height: 88px !important;
  }

  .client-logos-rotator .logo-strip img[data-logo*="Kaverit"],
  .client-logos-rotator .logo-strip img[data-logo*="kaverit"],
  .client-logos-rotator .logo-strip img[src*="Kaverit"],
  .client-logos-rotator .logo-strip img[src*="kaverit"] {
    width: 60px !important;
    height: 24px !important;
  }

  .contact-split {
    padding: 28px 6%;
  }

  .contact-photo {
    width: 240px;
  }

  .contact-title {
    margin-bottom: 24px;
  }
}

/* =====================================================
   Mobiili-override logot (pakotettu aivan loppuun)
   ===================================================== */
@media (max-width: 430px) {
  .client-logos-rotator .logo-strip img {
    width: 140px !important;
    height: 56px !important;
    max-width: 140px !important;
  }

  .client-logos-rotator .logo-strip img[src*="ideapark"],
  .client-logos-rotator .logo-strip img[src*="sjk"],
  .client-logos-rotator .logo-strip img[src*="valio"],
  .client-logos-rotator .logo-strip img[src*="adidas"],
  .client-logos-rotator .logo-strip img[src*="aidas"],
  .client-logos-rotator .logo-strip img[src*="mtv3"],
  .client-logos-rotator .logo-strip img[src*="intoseinajoki"] {
    width: 220px !important;
    height: 88px !important;
    max-width: 220px !important;
  }

  .client-logos-rotator .logo-strip img[src*="Kaverit"],
  .client-logos-rotator .logo-strip img[src*="kaverit"] {
    width: 60px !important;
    height: 24px !important;
    max-width: 60px !important;
  }
}



/* LOGO-FOOTER: vähemmän tilaa logojen ja keltaisen viivan väliin */
.logos-footer {
  padding-top: 40px;   /* vähän hengitystä otsikon yläpuolelle */
  padding-bottom: 10px;/* pieni väli logojen alle, EI 80px */
  background-color: #ffffff; /* sama valkoinen tausta kuin logoilla */
}

/* Logoblokin oma marginaali pois – viiva heti perään */
.client-logos-rotator {
  margin-bottom: 0 !important;
}

/* Keltainen viiva kiinni logoblokin perään */
.attention-line {
  margin-top: 0;
  margin-bottom: 0;
}



/* KOKO LOGOBLOKKI VALKOISEKSI – peittää harmaan alleen */
.logo-frame {
  background-color: #ffffff !important;  /* valkoinen pohja logojen ympärille */
  padding-top: 20px;                     /* vähän tilaa otsikon yläpuolelle */
  padding-bottom: 0;                     /* ei ylimääräistä tyhjää viivan ja logojen väliin */
}

/* Logojen oma “footer” – pieni hengitys alle, ei jättimarginaalia */
.logo-frame .contactfooter {
  padding-top: 0;
  padding-bottom: 10px;
  background-color: #ffffff !important;
}

/* Logokarusellin alareuna kiinni keltaiseen viivaan */
.client-logos-rotator {
  margin-bottom: 0 !important;
}

/* Keltainen bändi heti logoblokin perään */
.attention-line {
  width: 100%;
  height: 25px;
  background-color: #EFFF13;
  margin: 0;
  padding: 0;
}

/* Lisää valkoista tilaa logojen alle ennen keltaista viivaa */
.logo-frame {
  padding-bottom: 30px !important;
}

/* Varmistaa ettei mikään muu override nollaa marginaaleja */
.client-logos-rotator {
  margin-bottom: 8px !important; 
}

@media (max-width: 767px) {
  .client-logos-rotator .logo-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 18px;
  }
}

/* =====================================================
   Mobiili-override logot (pakotettu aivan loppuun)
   ===================================================== */
@media (max-width: 430px) {
  .client-logos-rotator .logo-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
    align-items: center !important;
    grid-auto-rows: 100px !important;
    align-content: start !important;
    height: 320px !important;
    min-height: 320px !important;
  }

  .client-logos-rotator .logo-strip img:nth-child(n+10) {
    display: none;
  }

  .client-logos-rotator .logo-strip img {
    width: 100% !important;
    height: 72px !important;
    max-width: 100% !important;
    justify-self: center;
  }

  .client-logos-rotator .logo-strip img[src*="EPLiitto"],
  .client-logos-rotator .logo-strip img[src*="epliitto"],
  .client-logos-rotator .logo-strip img[src*="sokoshotels"],
  .client-logos-rotator .logo-strip img[src*="sokoshotels_logo_visio"] {
    height: 82px !important;
  }

  .client-logos-rotator .logo-strip img[src*="ideapark"] {
    height: 77px !important;
  }

  .client-logos-rotator .logo-strip img[src*="genelec"] {
    height: 77px !important;
  }

  .client-logos-rotator .logo-strip img[src*="palloliitto"] {
    height: 77px !important;
  }

  .client-logos-rotator .logo-strip img[src*="Kaverit"],
  .client-logos-rotator .logo-strip img[src*="kaverit"] {
    height: 67px !important;
  }

  .client-logos-rotator .logo-strip img[src*="BayernCar"],
  .client-logos-rotator .logo-strip img[src*="bayerncar"] {
    height: 47px !important;
  }

  .client-logos-rotator .logo-strip img[src*="kyro1"],
  .client-logos-rotator .logo-strip img[src*="visign1"],
  .client-logos-rotator .logo-strip img[src*="EPLiitto"],
  .client-logos-rotator .logo-strip img[src*="epliitto"],
  .client-logos-rotator .logo-strip img[src*="kaiko"],
  .client-logos-rotator .logo-strip img[src*="sokoshotels"],
  .client-logos-rotator .logo-strip img[src*="sokoshotels_logo_visio"],
  .client-logos-rotator .logo-strip img[src*="hyvaep"],
  .client-logos-rotator .logo-strip img[src*="areena"],
  .client-logos-rotator .logo-strip img[src*="provinssi"],
  .client-logos-rotator .logo-strip img[src*="genelec"],
  .client-logos-rotator .logo-strip img[src*="provinssi"] {
    height: 118px !important;
  }

  .client-logos-rotator .logo-strip img[src*="BayernCar"],
  .client-logos-rotator .logo-strip img[src*="bayerncar"],
  .client-logos-rotator .logo-strip img[src*="ideapark"],
  .client-logos-rotator .logo-strip img[src*="Asr"],
  .client-logos-rotator .logo-strip img[src*="asr"],
  .client-logos-rotator .logo-strip img[src*="sjk_logo_visio"] {
    height: 60px !important;
  }

  /* Mobile: logo-kohtaiset koot */
  .client-logos-rotator .logo-strip img[src*="Farmari"] { height: 72px !important; }
  .client-logos-rotator .logo-strip img[src*="ProAgria"] { height: 62px !important; }
  .client-logos-rotator .logo-strip img[src*="oma_sp"] { height: 74px !important; }
  .client-logos-rotator .logo-strip img[src*="verge1"] { height: 95px !important; }
  .client-logos-rotator .logo-strip img[src*="seinajoki"] { height: 70px !important; }
  .client-logos-rotator .logo-strip img[src*="peab"] { height: 74px !important; }
  .client-logos-rotator .logo-strip img[src*="seamk"] { height: 72px !important; }
  .client-logos-rotator .logo-strip img[src*="eepee"] { height: 72px !important; }
  .client-logos-rotator .logo-strip img[src*="adidas"],
  .client-logos-rotator .logo-strip img[src*="adidas1"] { height: 74px !important; }
  .client-logos-rotator .logo-strip img[src*="valio"] { height: 52px !important; }
  .client-logos-rotator .logo-strip img[src*="mtv3"],
  .client-logos-rotator .logo-strip img[src*="mtv31"] { height: 78px !important; }
  .client-logos-rotator .logo-strip img[src*="atria"] { height: 68px !important; }
  .client-logos-rotator .logo-strip img[src*="intoseinajoki"] { height: 56px !important; }
  .client-logos-rotator .logo-strip img[src*="Forsfood"] { height: 70px !important; }
  .client-logos-rotator .logo-strip img[src*="KM"] { height: 42px !important; }
  .client-logos-rotator .logo-strip img[src*="humana"] { height: 58px !important; }
  .client-logos-rotator .logo-strip img[src*="nodeon"],
  .client-logos-rotator .logo-strip img[src*="nodeon1"] { height: 66px !important; }
  .client-logos-rotator .logo-strip img[src*="poppankki"] { height: 70px !important; }
  .client-logos-rotator .logo-strip img[src*="yrittajat"],
  .client-logos-rotator .logo-strip img[src*="yrittajat1"] { height: 72px !important; }

  .client-logos-rotator .logo-strip img[src*="sokoshotels"],
  .client-logos-rotator .logo-strip img[src*="sokos1"] { height: 128px !important; }
  .client-logos-rotator .logo-strip img[src*="genelec"],
  .client-logos-rotator .logo-strip img[src*="genelec1"] { height: 132px !important; }
  .client-logos-rotator .logo-strip img[src*="epl2"],
  .client-logos-rotator .logo-strip img[src*="epliitto"] { height: 136px !important; }
  .client-logos-rotator .logo-strip img[src*="areena2"] { height: 155px !important; }
  .client-logos-rotator .logo-strip img[src*="hyvaep"] { height: 122px !important; }
  .client-logos-rotator .logo-strip img[src*="kaiko"],
  .client-logos-rotator .logo-strip img[src*="kaiko1"] { height: 100px !important; }
  .client-logos-rotator .logo-strip img[src*="kyro1"] { height: 126px !important; }
  .client-logos-rotator .logo-strip img[src*="provinssi2"] { height: 145px !important; }
  .client-logos-rotator .logo-strip img[src*="visign2"] { height: 130px !important; }
  .client-logos-rotator .logo-strip img[src*="palloliitto"] { height: 78px !important; }
  .client-logos-rotator .logo-strip img[src*="Kaverit"],
  .client-logos-rotator .logo-strip img[src*="kaverit"] { height: 100px !important; }
  .client-logos-rotator .logo-strip img[src*="BayernCar"],
  .client-logos-rotator .logo-strip img[src*="bayerncar"] { height: 30px !important; }
  .client-logos-rotator .logo-strip img[src*="ideapark"],
  .client-logos-rotator .logo-strip img[src*="ideapark1"] { height: 84px !important; }
  .client-logos-rotator .logo-strip img[src*="Asr"],
  .client-logos-rotator .logo-strip img[src*="asr"] { height: 52px !important; }
  .client-logos-rotator .logo-strip img[src*="sjk_logo_visio"] { height: 48px !important; }/* Poistettu mobiiliviiva CSS:stä (käytetään SVG/HTML) */
}

/* =====================================================
   Desktop: lukitaan logorivin korkeus ja riviväli
   (tasaamaan headerin kokoa ja tuomaan rivit lähemmäs)
   ===================================================== */
@media (min-width: 768px) {
  .client-logos-rotator {
    max-width: 1200px !important;
    contain: layout paint;
  }

  .client-logos-rotator .logo-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    row-gap: 0 !important;
    column-gap: 90px !important;
    align-items: center !important;
    justify-items: center !important;
    align-content: start !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    overflow: hidden !important;
    contain: layout paint;
  }

  .client-logos-rotator .logo-strip img {
    display: block !important;
    width: 180px !important;
    height: 90px !important;
    object-fit: contain !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  .logo-frame {
    padding-bottom: 6px !important;
  }

  .client-logos-rotator {
    margin-bottom: 6px !important;
  }
}

/* Desktop final lock: override old per-logo !important heights */
@media (min-width: 768px) {
  .client-logos-rotator .logo-strip img[src] {
    width: 180px !important;
    height: 90px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}





















  *
  * ==========================================
  * FOR DEMO PURPOSES
  * ==========================================
  *
  */
  
  /*
  body {
    background: #00B4DB;
    background: -webkit-linear-gradient(to right, #0083B0, #00B4DB);
    background: linear-gradient(to right, #0083B0, #00B4DB);
    color: #514B64;
    min-height: 100vh;
  }
  */
 

@import url("site-mobile.css?v=20260206-8");

/* STEP VISIO 002 - homepage hero */
body.visio-index-page {
  margin: 0;
  background: #ff0000;
}

.visio-home-hero {
  --visio-red: #ff0000;
  --visio-yellow: #efff13;
  --visio-sand: #f1ece8;
  --visio-black: #050505;
  --visio-white: #ffffff;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 2.6vw, 34px) clamp(18px, 4.8vw, 72px) clamp(52px, 6vw, 96px);
  background:
    radial-gradient(circle at 82% 24%, rgba(239, 255, 19, 0.12), rgba(239, 255, 19, 0) 18rem),
    linear-gradient(145deg, #090909 0%, #0e0505 42%, #210000 100%);
  color: var(--visio-white);
  font-family: VisioFont, Helvetica, Arial, sans-serif;
  text-align: left;
}

.visio-home-hero::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  z-index: -3;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(255, 0, 0, 0.78), rgba(255, 0, 0, 0) 34%),
    radial-gradient(ellipse at 74% 58%, rgba(255, 0, 0, 0.58), rgba(255, 0, 0, 0) 30%),
    linear-gradient(120deg, #000000, #ff0000 46%, #120000 68%, #000000);
  filter: blur(22px) saturate(1.15);
  opacity: 0.72;
  transform: translate3d(0, 0, 0) scale(1.08);
  animation: visioHeroWaveDrift 22s ease-in-out infinite alternate;
}

.visio-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.visio-hero-wave {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: -2;
  width: min(86vw, 1080px);
  aspect-ratio: 2.2;
  border-radius: 999px;
  background:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(255, 255, 255, 0) 1px 16px),
    linear-gradient(100deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.42), rgba(0, 0, 0, 0.2));
  filter: blur(0.4px);
  opacity: 0.38;
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: visioHeroLineDrift 18s ease-in-out infinite alternate;
}

.visio-hero-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, 1440px);
  margin: 0 auto;
}

.visio-hero-brand {
  color: var(--visio-white);
  font-family: VisioFontHeavy, VisioFont, Impact, sans-serif;
  font-size: clamp(1.12rem, 1.1vw + 0.92rem, 1.95rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.visio-hero-brand:hover,
.visio-hero-brand:focus-visible {
  color: var(--visio-white);
  text-decoration: none;
}

.visio-hero-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.8rem, 0.22vw + 0.76rem, 0.98rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.visio-hero-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.visio-hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 2px;
  background: var(--visio-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease, background-color 220ms ease;
}

.visio-hero-links a:hover,
.visio-hero-links a:focus-visible {
  color: var(--visio-white);
}

.visio-hero-links a:hover::after,
.visio-hero-links a:focus-visible::after {
  transform: scaleX(1);
  background: var(--visio-yellow);
}

.visio-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
  gap: clamp(26px, 5vw, 78px);
  width: min(100%, 1440px);
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  padding-top: clamp(52px, 8vh, 94px);
}

.visio-hero-copy {
  max-width: 980px;
}

.visio-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(18px, 2.3vw, 32px);
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.78rem, 0.24vw + 0.74rem, 0.98rem);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visio-hero-eyebrow::before {
  content: "";
  width: 0.68rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--visio-yellow);
  box-shadow: 0 0 22px rgba(239, 255, 19, 0.26);
}

.visio-hero-word {
  position: relative;
  width: min-content;
  margin: 0;
  color: var(--visio-white);
  font-family: VisioFontHeavy, Impact, Haettenschweiler, sans-serif;
  font-size: clamp(7.4rem, 22vw, 22rem);
  font-weight: 900;
  line-height: 0.69;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08),
    0 34px 86px rgba(0, 0, 0, 0.46);
}

.visio-hero-word::before {
  content: "";
  position: absolute;
  left: 0.05em;
  right: -0.12em;
  top: 0.1em;
  bottom: 0.02em;
  z-index: -1;
  background:
    linear-gradient(92deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.88), rgba(0, 0, 0, 0.22), rgba(255, 0, 0, 0.64)),
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 20px);
  background-size: 180% 100%, 100% 100%;
  filter: blur(18px);
  opacity: 0.82;
  transform: skewX(-8deg);
  animation: visioWordEnergy 16s ease-in-out infinite alternate;
}

.visio-hero-main-copy {
  max-width: 760px;
  margin: clamp(24px, 3vw, 40px) 0 0;
  color: var(--visio-white);
  font-family: VisioFontHeavy, VisioFont, Impact, sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 3.85rem);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.visio-hero-support-copy {
  max-width: 690px;
  margin: clamp(18px, 2vw, 26px) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.98rem, 0.45vw + 0.9rem, 1.18rem);
  line-height: 1.56;
  letter-spacing: 0.01em;
}

.visio-capability-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.38rem 0.52rem;
  max-width: 760px;
  margin-top: clamp(18px, 2.5vw, 34px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 0.34vw + 0.86rem, 1.08rem);
  line-height: 1.35;
}

.visio-capability-rotator {
  position: relative;
  display: inline-grid;
  min-width: 8.2rem;
  color: var(--visio-yellow);
  font-family: VisioFontHeavy, VisioFont, Impact, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visio-capability-rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translate3d(0, 0.5rem, 0);
  animation: visioCapabilityCycle 18s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.visio-capability-rotator span:nth-child(1) { animation-delay: 0s; }
.visio-capability-rotator span:nth-child(2) { animation-delay: 3s; }
.visio-capability-rotator span:nth-child(3) { animation-delay: 6s; }
.visio-capability-rotator span:nth-child(4) { animation-delay: 9s; }
.visio-capability-rotator span:nth-child(5) { animation-delay: 12s; }
.visio-capability-rotator span:nth-child(6) { animation-delay: 15s; }

.visio-capability-final {
  color: var(--visio-white);
}

.visio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(24px, 3.4vw, 48px);
}

.visio-hero-cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  color: var(--visio-white);
  font-family: VisioFontHeavy, VisioFont, Impact, sans-serif;
  font-size: clamp(0.94rem, 0.2vw + 0.9rem, 1.08rem);
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 200ms ease, color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.visio-hero-cta--primary {
  background: var(--visio-red);
  box-shadow: 0 0 0 1px var(--visio-red) inset;
}

.visio-hero-cta--secondary {
  background: transparent;
  box-shadow: 0 -2px 0 var(--visio-red) inset;
}

.visio-hero-cta:hover,
.visio-hero-cta:focus-visible {
  color: var(--visio-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.visio-hero-cta--primary:hover,
.visio-hero-cta--primary:focus-visible {
  background: var(--visio-white);
  color: var(--visio-black);
  box-shadow: 0 0 0 1px var(--visio-white) inset;
}

.visio-hero-cta--secondary:hover,
.visio-hero-cta--secondary:focus-visible {
  color: var(--visio-yellow);
  box-shadow: 0 -2px 0 var(--visio-yellow) inset;
}

.visio-hero-tv {
  position: relative;
  justify-self: end;
  width: min(27vw, 330px);
  min-width: 220px;
  transform: rotate(2deg) translateY(2vh);
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.42));
}

.visio-hero-tv::before {
  content: "LIVE FEED";
  position: absolute;
  left: -0.9rem;
  top: 12%;
  z-index: 2;
  padding: 0.34rem 0.48rem;
  background: var(--visio-yellow);
  color: var(--visio-black);
  font-family: VisioFontHeavy, VisioFont, Impact, sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.06em;
  transform: rotate(-4deg);
}

.visio-hero-tv img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes visioHeroWaveDrift {
  0% {
    transform: translate3d(-2.4%, -1.4%, 0) scale(1.08) rotate(-1deg);
    background-position: 0% 50%;
  }
  100% {
    transform: translate3d(2.2%, 1.6%, 0) scale(1.12) rotate(1deg);
    background-position: 100% 50%;
  }
}

@keyframes visioHeroLineDrift {
  0% {
    opacity: 0.25;
    transform: translate(-51%, -50%) rotate(-6deg) scaleX(0.98);
  }
  100% {
    opacity: 0.44;
    transform: translate(-49%, -50%) rotate(-3deg) scaleX(1.04);
  }
}

@keyframes visioWordEnergy {
  0% {
    opacity: 0.58;
    background-position: 0% 50%, 0 0;
    transform: skewX(-9deg) translate3d(-1%, 0, 0);
  }
  100% {
    opacity: 0.86;
    background-position: 100% 50%, 22px 0;
    transform: skewX(-5deg) translate3d(1.5%, 0, 0);
  }
}

@keyframes visioCapabilityCycle {
  0%, 7% {
    opacity: 0;
    transform: translate3d(0, 0.45rem, 0);
  }
  13%, 24% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  31%, 100% {
    opacity: 0;
    transform: translate3d(0, -0.35rem, 0);
  }
}

@media (max-width: 980px) {
  .visio-home-hero {
    min-height: auto;
  }

  .visio-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visio-hero-tv {
    justify-self: center;
    width: min(54vw, 300px);
    min-width: 190px;
    transform: rotate(1.5deg);
  }
}

@media (max-width: 680px) {
  .visio-home-hero {
    padding: 18px 18px 44px;
  }

  .visio-hero-nav {
    align-items: flex-start;
    gap: 16px;
  }

  .visio-hero-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 16px;
    font-size: 0.72rem;
  }

  .visio-hero-inner {
    padding-top: 58px;
  }

  .visio-hero-word {
    font-size: clamp(6.1rem, 31vw, 9rem);
  }

  .visio-hero-main-copy {
    font-size: clamp(1.5rem, 8vw, 2.7rem);
  }

  .visio-capability-line {
    display: grid;
    gap: 0.34rem;
  }

  .visio-hero-actions {
    align-items: stretch;
  }

  .visio-hero-cta {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-home-hero::before,
  .visio-hero-wave,
  .visio-hero-word::before,
  .visio-capability-rotator span {
    animation: none !important;
  }

  .visio-capability-rotator span {
    opacity: 0;
    transform: none;
  }

  .visio-capability-rotator span:first-child {
    opacity: 1;
  }
}

/* STEP VISIO 003 - atmospheric VISIO hero */
.visio-home-hero--signals {
  min-height: 100svh;
  padding: clamp(16px, 2vw, 30px) clamp(18px, 5vw, 78px) clamp(44px, 5.8vw, 86px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 0, 0, 0.46), rgba(255, 0, 0, 0) 31rem),
    radial-gradient(circle at 82% 74%, rgba(241, 236, 232, 0.18), rgba(241, 236, 232, 0) 28rem),
    radial-gradient(circle at 58% 42%, rgba(255, 0, 0, 0.16), rgba(255, 0, 0, 0) 24rem),
    linear-gradient(145deg, #000000 0%, #100000 43%, #050505 100%);
  color: #ffffff;
}

.visio-home-hero--signals::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 0, 0, 0) 12%, rgba(255, 0, 0, 0.3) 34%, rgba(241, 236, 232, 0.09) 49%, rgba(255, 0, 0, 0.16) 68%, rgba(0, 0, 0, 0) 84%),
    radial-gradient(ellipse at 52% 50%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 48%);
  filter: blur(16px);
  transform: translate3d(-2%, -1%, 0) scale(1.08) rotate(-2deg);
  animation: visioAtmosphereDrift 28s ease-in-out infinite alternate;
}

.visio-home-hero--signals::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 31rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02) 46%, rgba(0, 0, 0, 0.28));
}

.visio-ambient-wave {
  position: absolute;
  inset: -16%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.44;
  background:
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0 38px, rgba(255, 255, 255, 0.055) 39px 40px, rgba(255, 0, 0, 0.08) 41px 42px, rgba(255, 255, 255, 0) 43px 92px),
    radial-gradient(circle at 50% 44%, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0) 34rem);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0) 78%);
  transform: rotate(-5deg) translate3d(0, 0, 0);
  animation: visioAmbientLines 32s linear infinite;
}

.visio-home-hero--signals .visio-hero-nav {
  position: relative;
  z-index: 10;
  width: min(100%, 1440px);
  margin: 0 auto;
  color: #ffffff;
}

.visio-home-hero--signals .visio-hero-brand,
.visio-home-hero--signals .visio-hero-links a {
  color: rgba(255, 255, 255, 0.86);
}

.visio-home-hero--signals .visio-hero-links a::after {
  background: #ff0000;
}

.visio-signal-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1440px);
  min-height: calc(100svh - 86px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: clamp(28px, 4.5vw, 72px) 0 0;
}

.visio-home-hero--signals .visio-hero-eyebrow {
  position: relative;
  z-index: 5;
  margin: 0 0 clamp(10px, 1.7vw, 22px);
  color: rgba(255, 255, 255, 0.72);
  font-family: VisioFont, monospace !important;
  font-size: clamp(0.72rem, 0.5vw + 0.62rem, 0.98rem);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.visio-signal-stage {
  position: relative;
  z-index: 3;
  width: min(94vw, 1180px);
  min-height: clamp(18.5rem, 42vw, 38rem);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.visio-signal-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.visio-home-hero--signals .visio-hero-word {
  position: relative;
  z-index: 4;
  margin: 0;
  color: #ffffff;
  font-family: VisioFontHeavy, Impact, sans-serif !important;
  font-size: clamp(6.4rem, 18vw, 18.2rem);
  line-height: 0.68;
  letter-spacing: -0.068em;
  text-shadow:
    0 0 34px rgba(255, 0, 0, 0.2),
    0 18px 70px rgba(0, 0, 0, 0.42);
  transform: translate3d(0, 0, 0);
  animation: visioWordBreathe 8.5s ease-in-out infinite;
}

.visio-home-hero--signals .visio-hero-word::before {
  content: "";
  position: absolute;
  inset: -0.18em -0.08em -0.22em;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 0, 0, 0.34), rgba(255, 0, 0, 0.09) 42%, rgba(255, 0, 0, 0) 70%),
    radial-gradient(ellipse at 46% 52%, rgba(241, 236, 232, 0.16), rgba(241, 236, 232, 0) 55%);
  filter: blur(24px);
  opacity: 0.8;
  transform: scaleX(1.04);
  animation: visioWordGlow 9s ease-in-out infinite alternate;
}

.visio-signal {
  --angle: 0deg;
  --label-rotate: 0deg;
  --line: clamp(110px, 18vw, 290px);
  --delay: 0s;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--line);
  height: 1px;
  opacity: 0;
  transform-origin: left center;
  transform: rotate(var(--angle)) scaleX(0.3);
  animation: visioSignalLine 19s ease-in-out infinite;
  animation-delay: var(--delay);
}

.visio-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 0, 0, 0.62), rgba(255, 255, 255, 0));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
}

.visio-signal::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.72);
  transform: translate3d(0, -50%, 0);
}

.visio-signal > span {
  position: absolute;
  left: calc(100% + clamp(0.55rem, 1vw, 0.9rem));
  top: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-family: VisioFontHeavy, Impact, sans-serif !important;
  font-size: clamp(0.68rem, 0.42vw + 0.58rem, 0.94rem);
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.34);
  transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  animation: visioSignalWord 19s ease-in-out infinite;
  animation-delay: var(--delay);
}

.visio-signal--video {
  --angle: -15deg;
  --label-rotate: 15deg;
  --line: clamp(128px, 19vw, 310px);
  --delay: 0s;
}

.visio-signal--photo {
  --angle: 19deg;
  --label-rotate: -19deg;
  --line: clamp(134px, 20vw, 326px);
  --delay: 2.25s;
}

.visio-signal--audio {
  --angle: -52deg;
  --label-rotate: 52deg;
  --line: clamp(98px, 15vw, 245px);
  --delay: 4.5s;
}

.visio-signal--music {
  --angle: 56deg;
  --label-rotate: -56deg;
  --line: clamp(98px, 15vw, 250px);
  --delay: 6.75s;
}

.visio-signal--graphics {
  --angle: -126deg;
  --label-rotate: 126deg;
  --line: clamp(110px, 18vw, 286px);
  --delay: 9s;
}

.visio-signal--ai {
  --angle: 134deg;
  --label-rotate: -134deg;
  --line: clamp(96px, 16vw, 246px);
  --delay: 11.25s;
}

.visio-signal--marketing {
  --angle: -164deg;
  --label-rotate: 164deg;
  --line: clamp(116px, 19vw, 304px);
  --delay: 13.5s;
}

.visio-signal--content {
  --angle: 162deg;
  --label-rotate: -162deg;
  --line: clamp(108px, 18vw, 286px);
  --delay: 15.75s;
}

.visio-home-hero--signals .visio-hero-main-copy {
  position: relative;
  z-index: 5;
  width: min(760px, 92vw);
  margin: clamp(8px, 1.2vw, 14px) auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: VisioFont, monospace !important;
  font-size: clamp(1rem, 0.75vw + 0.86rem, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-transform: none;
}

.visio-home-hero--signals .visio-hero-actions {
  position: relative;
  z-index: 5;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 42px);
  gap: clamp(12px, 1.4vw, 20px);
}

.visio-home-hero--signals .visio-hero-cta {
  border-radius: 999px;
  padding: 0.86rem 1.18rem 0.78rem;
  min-width: 9.2rem;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
}

.visio-home-hero--signals .visio-hero-cta--primary {
  border-color: rgba(255, 0, 0, 0.72);
  background: rgba(255, 0, 0, 0.74);
  box-shadow: 0 16px 42px rgba(255, 0, 0, 0.2);
}

.visio-home-hero--signals .visio-hero-cta--secondary:hover,
.visio-home-hero--signals .visio-hero-cta--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

@keyframes visioAtmosphereDrift {
  0% {
    transform: translate3d(-2.4%, -1.2%, 0) scale(1.08) rotate(-2deg);
    opacity: 0.82;
  }
  100% {
    transform: translate3d(2.2%, 1.4%, 0) scale(1.13) rotate(2deg);
    opacity: 1;
  }
}

@keyframes visioAmbientLines {
  0% {
    transform: rotate(-5deg) translate3d(-2%, 0, 0) scale(1.02);
  }
  100% {
    transform: rotate(-5deg) translate3d(2%, -1%, 0) scale(1.05);
  }
}

@keyframes visioWordBreathe {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -0.018em, 0) scale(1.012);
  }
}

@keyframes visioWordGlow {
  0% {
    opacity: 0.62;
    transform: scaleX(1.02) scaleY(0.94);
  }
  100% {
    opacity: 0.86;
    transform: scaleX(1.08) scaleY(1.02);
  }
}

@keyframes visioSignalLine {
  0%, 8% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.22);
  }
  16%, 34% {
    opacity: 0.74;
    transform: rotate(var(--angle)) scaleX(1);
  }
  48%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.92);
  }
}

@keyframes visioSignalWord {
  0%, 12% {
    opacity: 0;
    transform: translate3d(-0.25rem, -50%, 0) rotate(var(--label-rotate));
  }
  19%, 32% {
    opacity: 0.82;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  46%, 100% {
    opacity: 0;
    transform: translate3d(0.18rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@media (max-width: 980px) {
  .visio-home-hero--signals {
    min-height: 100svh;
  }

  .visio-signal-hero-inner {
    min-height: calc(100svh - 110px);
    padding-top: clamp(44px, 8vw, 82px);
  }

  .visio-signal-stage {
    width: min(96vw, 860px);
    min-height: clamp(17rem, 58vw, 32rem);
  }

  .visio-signal--marketing,
  .visio-signal--graphics {
    --line: clamp(82px, 18vw, 190px);
  }
}

@media (max-width: 680px) {
  .visio-home-hero--signals {
    padding: 16px 18px 38px;
  }

  .visio-home-hero--signals .visio-hero-nav {
    align-items: flex-start;
  }

  .visio-signal-hero-inner {
    min-height: calc(100svh - 120px);
    padding-top: 34px;
  }

  .visio-home-hero--signals .visio-hero-eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .visio-signal-stage {
    width: 100%;
    min-height: clamp(16rem, 72vw, 25rem);
  }

  .visio-home-hero--signals .visio-hero-word {
    font-size: clamp(5.8rem, 30vw, 8.4rem);
    letter-spacing: -0.072em;
  }

  .visio-signal {
    --line: clamp(66px, 25vw, 132px);
  }

  .visio-signal--marketing,
  .visio-signal--graphics,
  .visio-signal--content {
    display: none;
  }

  .visio-signal > span {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .visio-home-hero--signals .visio-hero-main-copy {
    width: min(430px, 94vw);
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .visio-home-hero--signals .visio-hero-actions {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-home-hero--signals::before,
  .visio-ambient-wave,
  .visio-home-hero--signals .visio-hero-word,
  .visio-home-hero--signals .visio-hero-word::before,
  .visio-signal,
  .visio-signal > span {
    animation: none !important;
  }

  .visio-signal {
    opacity: 0.26;
    transform: rotate(var(--angle)) scaleX(1);
  }

  .visio-signal > span {
    opacity: 0.7;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
}

/* STEP VISIO 004 - visual-first hero timing */
.visio-home-hero--signals {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 0, 0, 0.42), rgba(255, 0, 0, 0) 30rem),
    radial-gradient(circle at 80% 72%, rgba(241, 236, 232, 0.16), rgba(241, 236, 232, 0) 30rem),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.12), rgba(255, 0, 0, 0) 26rem),
    linear-gradient(145deg, #000000 0%, #0d0000 42%, #030303 100%);
}

.visio-home-hero--signals::before {
  filter: blur(22px);
  opacity: 0.9;
  animation-duration: 36s;
}

.visio-ambient-wave {
  opacity: 0.28;
  animation-duration: 44s;
}

.visio-signal-hero-inner {
  min-height: calc(100svh - 82px);
  padding-top: clamp(20px, 3.4vw, 56px);
}

.visio-signal-stage {
  width: min(96vw, 1240px);
  min-height: clamp(20rem, 43vw, 39rem);
  margin-bottom: clamp(8px, 1.5vw, 22px);
}

.visio-home-hero--signals .visio-hero-word {
  font-size: clamp(6.1rem, 17.2vw, 17rem);
  animation-duration: 10.5s;
}

.visio-home-hero--signals .visio-hero-word::before {
  opacity: 0.68;
  animation-duration: 12s;
}

.visio-signal {
  --duration: 40s;
  height: 1px;
  animation-duration: var(--duration);
  animation-timing-function: cubic-bezier(0.4, 0, 0.18, 1);
}

.visio-signal::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(241, 236, 232, 0.34), rgba(255, 0, 0, 0.48), rgba(255, 255, 255, 0));
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.13);
}

.visio-signal::after {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 13px rgba(255, 0, 0, 0.54);
}

.visio-signal > span {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.62rem, 0.36vw + 0.54rem, 0.86rem);
  letter-spacing: 0.16em;
  text-shadow: 0 0 14px rgba(255, 0, 0, 0.24);
  animation-duration: var(--duration);
  animation-timing-function: cubic-bezier(0.4, 0, 0.18, 1);
}

.visio-signal--video {
  --angle: -13deg;
  --label-rotate: 13deg;
  --line: clamp(126px, 18vw, 302px);
  --delay: 0.5s;
  --duration: 40s;
}

.visio-signal--photo {
  --angle: 21deg;
  --label-rotate: -21deg;
  --line: clamp(130px, 19vw, 318px);
  --delay: 4.0s;
  --duration: 40s;
}

.visio-signal--audio {
  --angle: -51deg;
  --label-rotate: 51deg;
  --line: clamp(94px, 14vw, 232px);
  --delay: 7.55s;
  --duration: 40s;
}

.visio-signal--music {
  --angle: 58deg;
  --label-rotate: -58deg;
  --line: clamp(96px, 14vw, 236px);
  --delay: 10.95s;
  --duration: 40s;
}

.visio-signal--graphics {
  --angle: -124deg;
  --label-rotate: 124deg;
  --line: clamp(108px, 17vw, 276px);
  --delay: 14.45s;
  --duration: 40s;
}

.visio-signal--ai {
  --angle: 135deg;
  --label-rotate: -135deg;
  --line: clamp(92px, 15vw, 236px);
  --delay: 17.85s;
  --duration: 40s;
}

.visio-signal--marketing {
  --angle: -164deg;
  --label-rotate: 164deg;
  --line: clamp(112px, 18vw, 292px);
  --delay: 21.3s;
  --duration: 40s;
}

.visio-signal--content {
  --angle: 163deg;
  --label-rotate: -163deg;
  --line: clamp(106px, 17vw, 276px);
  --delay: 24.85s;
  --duration: 40s;
}

.visio-signal--post {
  --angle: -34deg;
  --label-rotate: 34deg;
  --line: clamp(112px, 17vw, 286px);
  --delay: 28.35s;
  --duration: 40s;
}

.visio-signal--drone {
  --angle: 39deg;
  --label-rotate: -39deg;
  --line: clamp(92px, 14vw, 235px);
  --delay: 31.8s;
  --duration: 40s;
}

.visio-signal--ideas {
  --angle: -148deg;
  --label-rotate: 148deg;
  --line: clamp(100px, 16vw, 260px);
  --delay: 35.25s;
  --duration: 40s;
}

.visio-hero-copy-reveal {
  position: relative;
  z-index: 6;
  width: min(920px, 92vw);
  margin: 0 auto;
  opacity: 0;
  transform: translate3d(0, 1.15rem, 0);
  animation: visioHeroCopyReveal 1.15s cubic-bezier(0.2, 0.72, 0.2, 1) 2.1s forwards;
}

.visio-home-hero--signals .visio-hero-main-copy {
  width: min(860px, 92vw);
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(1.34rem, 1.35vw + 0.92rem, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.visio-home-hero--signals .visio-hero-support-copy {
  width: min(760px, 90vw);
  margin: clamp(14px, 1.8vw, 24px) auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: VisioFont, monospace !important;
  font-size: clamp(0.88rem, 0.5vw + 0.76rem, 1.16rem);
  line-height: 1.68;
  letter-spacing: -0.015em;
}

.visio-home-hero--signals .visio-hero-actions {
  display: none !important;
}

@keyframes visioSignalLine {
  0%, 9% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.12);
  }
  15%, 27% {
    opacity: 0.58;
    transform: rotate(var(--angle)) scaleX(1);
  }
  36%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.88);
  }
}

@keyframes visioSignalWord {
  0%, 14% {
    opacity: 0;
    transform: translate3d(-0.22rem, -50%, 0) rotate(var(--label-rotate));
  }
  20%, 28% {
    opacity: 0.78;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  38%, 100% {
    opacity: 0;
    transform: translate3d(0.14rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@keyframes visioHeroCopyReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 680px) {
  .visio-signal-stage {
    min-height: clamp(17rem, 76vw, 26rem);
    margin-bottom: 12px;
  }

  .visio-home-hero--signals .visio-hero-word {
    font-size: clamp(5.35rem, 28vw, 7.8rem);
  }

  .visio-home-hero--signals .visio-hero-main-copy {
    font-size: clamp(1.12rem, 5.7vw, 1.7rem);
    line-height: 1.18;
  }

  .visio-home-hero--signals .visio-hero-support-copy {
    font-size: 0.86rem;
    line-height: 1.56;
  }

  .visio-signal--post,
  .visio-signal--drone,
  .visio-signal--ideas,
  .visio-signal--marketing,
  .visio-signal--graphics,
  .visio-signal--content {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-hero-copy-reveal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* STEP VISIO 005 - living VISIO word and stronger signals */
.visio-home-hero--signals .visio-hero-word {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  letter-spacing: -0.075em;
  opacity: 0;
  transform: translate3d(0, 0.12em, 0) scale(0.992);
  animation:
    visioWordEnter 1.05s cubic-bezier(0.18, 0.76, 0.2, 1) 0.12s forwards,
    visioWordBreathe 10.5s ease-in-out 1.2s infinite;
}

.visio-letter {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.visio-letter--v {
  animation: visioLetterDriftV 7.8s ease-in-out 1.15s infinite;
}

.visio-letter--i1 {
  animation: visioLetterDriftI1 8.7s ease-in-out 1.8s infinite;
}

.visio-letter--s {
  animation: visioLetterDriftS 9.4s ease-in-out 1.35s infinite;
}

.visio-letter--i2 {
  animation: visioLetterDriftI2 8.1s ease-in-out 2.15s infinite;
}

.visio-letter--o {
  animation: visioLetterDriftO 9.9s ease-in-out 1.55s infinite;
}

.visio-signal {
  --duration: 28s;
  animation-duration: var(--duration);
}

.visio-signal > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 0.95vw + 0.82rem, 1.78rem);
  letter-spacing: 0.105em;
  text-shadow:
    0 0 18px rgba(255, 0, 0, 0.26),
    0 0 36px rgba(255, 0, 0, 0.12);
  animation-duration: var(--duration);
}

.visio-signal::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(241, 236, 232, 0.42), rgba(255, 0, 0, 0.58), rgba(255, 255, 255, 0));
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.18);
}

.visio-signal::after {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 17px rgba(255, 0, 0, 0.62);
}

.visio-signal--video {
  --line: clamp(132px, 19vw, 320px);
  --delay: 0.3s;
  --duration: 28s;
}

.visio-signal--photo {
  --line: clamp(138px, 20vw, 336px);
  --delay: 2.45s;
  --duration: 28s;
}

.visio-signal--audio {
  --line: clamp(104px, 15vw, 250px);
  --delay: 4.85s;
  --duration: 28s;
}

.visio-signal--music {
  --line: clamp(106px, 15vw, 254px);
  --delay: 7.15s;
  --duration: 28s;
}

.visio-signal--graphics {
  --line: clamp(118px, 18vw, 292px);
  --delay: 9.5s;
  --duration: 28s;
}

.visio-signal--ai {
  --line: clamp(100px, 16vw, 246px);
  --delay: 11.85s;
  --duration: 28s;
}

.visio-signal--marketing {
  --line: clamp(126px, 20vw, 316px);
  --delay: 14.25s;
  --duration: 28s;
}

.visio-signal--content {
  --line: clamp(118px, 18vw, 292px);
  --delay: 16.65s;
  --duration: 28s;
}

.visio-signal--post {
  --line: clamp(122px, 19vw, 304px);
  --delay: 19.1s;
  --duration: 28s;
}

.visio-signal--drone {
  --line: clamp(104px, 16vw, 252px);
  --delay: 21.5s;
  --duration: 28s;
}

.visio-signal--ideas {
  --line: clamp(112px, 17vw, 270px);
  --delay: 24s;
  --duration: 28s;
}

@keyframes visioWordEnter {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.12em, 0) scale(0.992);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes visioLetterDriftV {
  0%, 100% { transform: translate3d(0, 0, 0); }
  34% { transform: translate3d(2px, -1px, 0); }
  68% { transform: translate3d(-1px, 2px, 0); }
}

@keyframes visioLetterDriftI1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  31% { transform: translate3d(-2px, 1px, 0); }
  72% { transform: translate3d(1px, -2px, 0); }
}

@keyframes visioLetterDriftS {
  0%, 100% { transform: translate3d(0, 0, 0); }
  38% { transform: translate3d(1px, 3px, 0); }
  74% { transform: translate3d(-2px, -1px, 0); }
}

@keyframes visioLetterDriftI2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  29% { transform: translate3d(1px, -3px, 0); }
  66% { transform: translate3d(-1px, 1px, 0); }
}

@keyframes visioLetterDriftO {
  0%, 100% { transform: translate3d(0, 0, 0); }
  36% { transform: translate3d(-2px, -1px, 0); }
  70% { transform: translate3d(2px, 2px, 0); }
}

@keyframes visioSignalLine {
  0%, 6% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.1);
  }
  12%, 42% {
    opacity: 0.62;
    transform: rotate(var(--angle)) scaleX(1);
  }
  58%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.92);
  }
}

@keyframes visioSignalWord {
  0%, 10% {
    opacity: 0;
    transform: translate3d(-0.18rem, -50%, 0) rotate(var(--label-rotate));
  }
  16%, 48% {
    opacity: 0.86;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  61%, 100% {
    opacity: 0;
    transform: translate3d(0.12rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@media (max-width: 980px) {
  .visio-signal > span {
    font-size: clamp(0.82rem, 1.35vw + 0.58rem, 1.28rem);
    letter-spacing: 0.09em;
  }
}

@media (max-width: 680px) {
  .visio-home-hero--signals .visio-hero-word {
    font-size: clamp(5.1rem, 27vw, 7.45rem);
  }

  .visio-signal > span {
    font-size: clamp(0.68rem, 2.2vw + 0.42rem, 0.98rem);
    letter-spacing: 0.075em;
  }

  .visio-signal {
    --line: clamp(62px, 22vw, 122px);
  }

  .visio-signal--music,
  .visio-signal--post,
  .visio-signal--drone,
  .visio-signal--ideas,
  .visio-signal--marketing,
  .visio-signal--graphics,
  .visio-signal--content {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-home-hero--signals .visio-hero-word,
  .visio-letter,
  .visio-signal,
  .visio-signal > span {
    animation: none !important;
  }

  .visio-home-hero--signals .visio-hero-word {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .visio-letter {
    transform: none;
  }
}

/* STEP VISIO 005 - density and letter spacing refinement */
.visio-letter:not(:last-child) {
  margin-right: -0.045em;
}

@keyframes visioSignalLine {
  0%, 5% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.08);
  }
  11%, 52% {
    opacity: 0.6;
    transform: rotate(var(--angle)) scaleX(1);
  }
  72%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.9);
  }
}

@keyframes visioSignalWord {
  0%, 9% {
    opacity: 0;
    transform: translate3d(-0.18rem, -50%, 0) rotate(var(--label-rotate));
  }
  15%, 57% {
    opacity: 0.84;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(0.12rem, -50%, 0) rotate(var(--label-rotate));
  }
}

/* STEP VISIO 005 - reduced motion static composition */
@media (prefers-reduced-motion: reduce) {
  .visio-signal--marketing,
  .visio-signal--content,
  .visio-signal--post,
  .visio-signal--drone,
  .visio-signal--ideas {
    display: none;
  }

  .visio-signal {
    opacity: 0.24;
  }

  .visio-signal > span {
    opacity: 0.78;
  }
}

/* STEP VISIO 006 - hero signal polish */
body.visio-index-page {
  position: relative;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 0, 0, 0.22), rgba(255, 0, 0, 0) 34rem),
    radial-gradient(circle at 84% 72%, rgba(241, 236, 232, 0.11), rgba(241, 236, 232, 0) 32rem),
    linear-gradient(145deg, #000000 0%, #0d0000 42%, #050505 100%);
}

body.visio-index-page::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 0, 0, 0) 10%, rgba(255, 0, 0, 0.16) 32%, rgba(241, 236, 232, 0.055) 48%, rgba(255, 0, 0, 0.1) 68%, rgba(0, 0, 0, 0) 86%),
    radial-gradient(ellipse at 50% 38%, rgba(255, 0, 0, 0.13), rgba(255, 0, 0, 0) 54%);
  filter: blur(24px);
  opacity: 0.58;
  transform: translate3d(-1.5%, -0.8%, 0) scale(1.08) rotate(-2deg);
  animation: visioPageAtmosphere 48s ease-in-out infinite alternate;
}

.visio-home-hero--signals {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 0, 0, 0.38), rgba(255, 0, 0, 0) 30rem),
    radial-gradient(circle at 80% 72%, rgba(241, 236, 232, 0.14), rgba(241, 236, 232, 0) 31rem),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0) 28rem),
    linear-gradient(145deg, rgba(0, 0, 0, 0.94) 0%, rgba(13, 0, 0, 0.9) 42%, rgba(3, 3, 3, 0.94) 100%);
}

.visio-signal-stage {
  margin-bottom: clamp(30px, 4.6vw, 72px);
}

.visio-signal > span {
  color: rgba(255, 255, 255, 0.83);
  font-family: VisioFont, monospace !important;
  font-size: clamp(1.18rem, 1vw + 0.88rem, 1.96rem);
  font-weight: 400;
  letter-spacing: 0.068em;
  text-shadow:
    0 0 16px rgba(255, 0, 0, 0.22),
    0 0 32px rgba(255, 0, 0, 0.1);
}

.visio-signal::before {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(241, 236, 232, 0.36), rgba(255, 0, 0, 0.54), rgba(255, 255, 255, 0));
}

.visio-signal--video {
  --angle: -11deg;
  --label-rotate: 11deg;
  --line: clamp(92px, 13vw, 218px);
  --delay: -18.4s;
  --duration: 29s;
}

.visio-signal--photo {
  --angle: 24deg;
  --label-rotate: -24deg;
  --line: clamp(166px, 24vw, 402px);
  --delay: -4.7s;
  --duration: 33s;
}

.visio-signal--audio {
  --angle: -58deg;
  --label-rotate: 58deg;
  --line: clamp(74px, 10vw, 176px);
  --delay: -26.2s;
  --duration: 27s;
}

.visio-signal--music {
  --angle: 51deg;
  --label-rotate: -51deg;
  --line: clamp(118px, 17vw, 284px);
  --delay: -12.9s;
  --duration: 31s;
}

.visio-signal--graphics {
  --angle: -118deg;
  --label-rotate: 118deg;
  --line: clamp(188px, 27vw, 440px);
  --delay: -7.4s;
  --duration: 35s;
}

.visio-signal--ai {
  --angle: 139deg;
  --label-rotate: -139deg;
  --line: clamp(84px, 12vw, 205px);
  --delay: -21.6s;
  --duration: 26s;
}

.visio-signal--marketing {
  --angle: -169deg;
  --label-rotate: 169deg;
  --line: clamp(148px, 22vw, 365px);
  --delay: -1.8s;
  --duration: 34s;
}

.visio-signal--content {
  --angle: 158deg;
  --label-rotate: -158deg;
  --line: clamp(108px, 15vw, 246px);
  --delay: -24.8s;
  --duration: 30s;
}

.visio-signal--post {
  --angle: -33deg;
  --label-rotate: 33deg;
  --line: clamp(204px, 28vw, 468px);
  --delay: -10.2s;
  --duration: 36s;
}

.visio-signal--drone {
  --angle: 42deg;
  --label-rotate: -42deg;
  --line: clamp(78px, 11vw, 184px);
  --delay: -30.1s;
  --duration: 28s;
}

.visio-signal--ideas {
  --angle: -146deg;
  --label-rotate: 146deg;
  --line: clamp(132px, 19vw, 310px);
  --delay: -15.7s;
  --duration: 32s;
}

.visio-home-hero--signals .visio-hero-main-copy {
  font-size: clamp(1.22rem, 1.2vw + 0.86rem, 2.05rem);
  line-height: 1.2;
}

@keyframes visioSignalLine {
  0%, 5% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.08);
  }
  10%, 49% {
    opacity: 0.58;
    transform: rotate(var(--angle)) scaleX(1);
  }
  69%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.9);
  }
}

@keyframes visioSignalWord {
  0%, 9% {
    opacity: 0;
    transform: translate3d(-0.1rem, -50%, 0) rotate(var(--label-rotate));
  }
  15%, 54% {
    opacity: 0.84;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  72%, 100% {
    opacity: 0;
    transform: translate3d(0.1rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@keyframes visioPageAtmosphere {
  0% {
    transform: translate3d(-1.5%, -0.8%, 0) scale(1.08) rotate(-2deg);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(1.6%, 1.1%, 0) scale(1.13) rotate(2deg);
    opacity: 0.68;
  }
}

@media (max-width: 980px) {
  .visio-signal > span {
    font-size: clamp(0.92rem, 1.45vw + 0.62rem, 1.42rem);
    letter-spacing: 0.055em;
  }
}

@media (max-width: 680px) {
  .visio-signal-stage {
    margin-bottom: clamp(24px, 7vw, 44px);
  }

  .visio-signal > span {
    font-size: clamp(0.72rem, 2.4vw + 0.44rem, 1.05rem);
    letter-spacing: 0.045em;
  }

  .visio-home-hero--signals .visio-hero-main-copy {
    font-size: clamp(1.02rem, 5.2vw, 1.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.visio-index-page::before {
    animation: none !important;
  }
}

/* STEP VISIO 006 - page atmosphere stacking */
body.visio-index-page {
  isolation: isolate;
}

body.visio-index-page::before {
  z-index: 0;
}

body.visio-index-page > * {
  position: relative;
  z-index: 1;
}

.visio-home-hero--signals {
  z-index: 2;
}

/* STEP VISIO 007 - organic randomized signal system */
.visio-signal > span {
  letter-spacing: 0.051em;
}

.visio-signal-field.is-randomized .visio-signal {
  --signal-life: 7.4s;
  opacity: 0;
  animation: none;
  transform: rotate(var(--angle)) scaleX(0.08);
}

.visio-signal-field.is-randomized .visio-signal > span {
  opacity: 0;
  animation: none;
  letter-spacing: 0.051em;
}

.visio-signal-field.is-randomized .visio-signal.is-live {
  animation: visioSignalLineRandom var(--signal-life) cubic-bezier(0.36, 0, 0.2, 1) forwards;
}

.visio-signal-field.is-randomized .visio-signal.is-live > span {
  animation: visioSignalWordRandom var(--signal-life) cubic-bezier(0.36, 0, 0.2, 1) forwards;
}

@keyframes visioSignalLineRandom {
  0%, 7% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.06);
  }
  16%, 58% {
    opacity: 0.58;
    transform: rotate(var(--angle)) scaleX(1);
  }
  78%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.9);
  }
}

@keyframes visioSignalWordRandom {
  0%, 12% {
    opacity: 0;
    transform: translate3d(-0.08rem, -50%, 0) rotate(var(--label-rotate));
  }
  21%, 62% {
    opacity: 0.84;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  81%, 100% {
    opacity: 0;
    transform: translate3d(0.08rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@media (max-width: 980px) {
  .visio-signal > span,
  .visio-signal-field.is-randomized .visio-signal > span {
    letter-spacing: 0.043em;
  }
}

@media (max-width: 680px) {
  .visio-signal > span,
  .visio-signal-field.is-randomized .visio-signal > span {
    letter-spacing: 0.034em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-signal-field.is-randomized .visio-signal,
  .visio-signal-field.is-randomized .visio-signal > span {
    animation: none !important;
  }
}

/* STEP VISIO 008 - smooth randomized signal lifecycle */
.visio-signal-field.is-randomized .visio-signal {
  --signal-life: 18s;
  --safe-start: clamp(132px, 13.5vw, 252px);
  --line-distance: clamp(76px, 15vw, 280px);
  width: var(--line);
  transform: rotate(var(--angle)) scaleX(0.04);
}

.visio-signal-field.is-randomized .visio-signal::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) var(--safe-start),
    rgba(241, 236, 232, 0.18) calc(var(--safe-start) + 10px),
    rgba(241, 236, 232, 0.38) calc(var(--safe-start) + 34px),
    rgba(255, 0, 0, 0.54) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: none;
}

.visio-signal-field.is-randomized .visio-signal::after {
  right: -1px;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.56);
}

.visio-signal-field.is-randomized .visio-signal.is-live {
  animation: visioSignalLineRandom var(--signal-life) cubic-bezier(0.28, 0, 0.18, 1) forwards;
}

.visio-signal-field.is-randomized .visio-signal.is-live > span {
  animation: visioSignalWordRandom var(--signal-life) cubic-bezier(0.28, 0, 0.18, 1) forwards;
}

@keyframes visioSignalLineRandom {
  0%, 8% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.04);
  }
  24%, 67% {
    opacity: 0.58;
    transform: rotate(var(--angle)) scaleX(1);
  }
  88%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.96);
  }
}

@keyframes visioSignalWordRandom {
  0%, 18% {
    opacity: 0;
    transform: translate3d(-0.06rem, -50%, 0) rotate(var(--label-rotate));
  }
  31%, 70% {
    opacity: 0.84;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate));
  }
  91%, 100% {
    opacity: 0;
    transform: translate3d(0.06rem, -50%, 0) rotate(var(--label-rotate));
  }
}

@media (max-width: 980px) {
  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(108px, 16vw, 182px);
  }
}

@media (max-width: 680px) {
  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(72px, 25vw, 118px);
    --line-distance: clamp(46px, 18vw, 156px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(104px, 14vw, 180px);
    width: var(--line);
  }
}

/* STEP VISIO 009 - continuous organic signal rhythm */
body.visio-index-page::before {
  opacity: 0.72;
  filter: blur(28px);
  animation-duration: 58s;
}

body.visio-index-page .frame.red {
  background-color: rgba(255, 0, 0, 0.88);
}

body.visio-index-page .frame.grey,
body.visio-index-page .grey {
  background-color: rgba(241, 236, 232, 0.88);
}

body.visio-index-page .frontpage-banner {
  background-color: rgba(0, 0, 0, 0.82);
}

body.visio-index-page .contact-section-fix {
  background-color: rgba(241, 236, 232, 0.9);
}

body.visio-index-page .footer {
  background-color: rgba(0, 0, 0, 0.88);
}

.visio-home-hero--signals::before {
  animation: visioAtmosphereDriftOrganic 42s ease-in-out infinite alternate;
}

.visio-home-hero--signals .visio-hero-word::before {
  animation: visioWordGlowOrganic 13.5s cubic-bezier(0.34, 0, 0.22, 1) infinite alternate;
}

.visio-signal > span,
.visio-signal-field.is-randomized .visio-signal > span {
  left: calc(100% + clamp(0.22rem, 0.45vw, 0.48rem));
  letter-spacing: 0.018em;
  transform-origin: left center;
}

.visio-signal-field.is-randomized .visio-signal {
  --signal-life: 12s;
  --signal-scale: 1;
  --safe-start: clamp(132px, 13.5vw, 252px);
  --line-distance: clamp(58px, 12vw, 220px);
  transform: rotate(var(--angle)) scaleX(0.035);
}

.visio-signal-field.is-randomized .visio-signal::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) var(--safe-start),
    rgba(241, 236, 232, 0.16) calc(var(--safe-start) + 8px),
    rgba(241, 236, 232, 0.38) calc(var(--safe-start) + 28px),
    rgba(255, 0, 0, 0.54) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

.visio-signal-field.is-randomized .visio-signal.is-live {
  animation: visioSignalLineRandom var(--signal-life) cubic-bezier(0.32, 0, 0.16, 1) forwards;
}

.visio-signal-field.is-randomized .visio-signal.is-live > span {
  animation: visioSignalWordRandom var(--signal-life) cubic-bezier(0.32, 0, 0.16, 1) forwards;
}

.visio-signal-field.is-randomized .visio-signal.is-live::after {
  animation: visioSignalDotPulse var(--signal-life) cubic-bezier(0.36, 0, 0.18, 1) forwards;
}

@keyframes visioSignalLineRandom {
  0%, 4% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.035);
  }
  20%, 74% {
    opacity: 0.58;
    transform: rotate(var(--angle)) scaleX(1);
  }
  94%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.96);
  }
}

@keyframes visioSignalWordRandom {
  0%, 8% {
    opacity: 0;
    transform: translate3d(-0.035rem, -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
  16%, 69% {
    opacity: 0.86;
    transform: translate3d(0, -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
  88%, 100% {
    opacity: 0;
    transform: translate3d(0.035rem, -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
}

@keyframes visioSignalDotPulse {
  0%, 13% {
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.72);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.16);
  }
  24%, 70% {
    opacity: 0.96;
    transform: translate3d(0, -50%, 0) scale(1);
    box-shadow: 0 0 17px rgba(255, 0, 0, 0.52);
  }
  44%, 54% {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1.16);
    box-shadow: 0 0 24px rgba(255, 0, 0, 0.38);
  }
  90%, 100% {
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.86);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.12);
  }
}

@keyframes visioLetterDriftV {
  0%, 100% { transform: translate3d(0, 0, 0); }
  34% { transform: translate3d(3px, -2px, 0); }
  68% { transform: translate3d(-2px, 3px, 0); }
}

@keyframes visioLetterDriftI1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  31% { transform: translate3d(-3px, 2px, 0); }
  72% { transform: translate3d(2px, -3px, 0); }
}

@keyframes visioLetterDriftS {
  0%, 100% { transform: translate3d(0, 0, 0); }
  38% { transform: translate3d(2px, 4px, 0); }
  74% { transform: translate3d(-3px, -2px, 0); }
}

@keyframes visioLetterDriftI2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  29% { transform: translate3d(2px, -4px, 0); }
  66% { transform: translate3d(-2px, 2px, 0); }
}

@keyframes visioLetterDriftO {
  0%, 100% { transform: translate3d(0, 0, 0); }
  36% { transform: translate3d(-3px, -2px, 0); }
  70% { transform: translate3d(3px, 3px, 0); }
}

@keyframes visioWordGlowOrganic {
  0% {
    opacity: 0.58;
    transform: translate3d(-0.4%, 0.3%, 0) scaleX(1.01) scaleY(0.94);
    filter: blur(25px);
  }
  42% {
    opacity: 0.82;
    transform: translate3d(0.5%, -0.2%, 0) scaleX(1.08) scaleY(1.02);
    filter: blur(30px);
  }
  100% {
    opacity: 0.7;
    transform: translate3d(-0.1%, 0.5%, 0) scaleX(1.04) scaleY(0.98);
    filter: blur(27px);
  }
}

@keyframes visioAtmosphereDriftOrganic {
  0% {
    transform: translate3d(-2.4%, -1.2%, 0) scale(1.08) rotate(-2deg);
    opacity: 0.76;
  }
  37% {
    transform: translate3d(1.4%, -0.3%, 0) scale(1.12) rotate(1deg);
    opacity: 0.98;
  }
  100% {
    transform: translate3d(2.2%, 1.4%, 0) scale(1.14) rotate(2deg);
    opacity: 0.9;
  }
}

@media (max-width: 980px) {
  .visio-signal > span,
  .visio-signal-field.is-randomized .visio-signal > span {
    left: calc(100% + 0.28rem);
    letter-spacing: 0.016em;
  }

  .visio-signal-field.is-randomized .visio-signal {
    --line-distance: clamp(48px, 11vw, 172px);
  }
}

@media (max-width: 680px) {
  .visio-signal > span,
  .visio-signal-field.is-randomized .visio-signal > span {
    left: calc(100% + 0.2rem);
    letter-spacing: 0.012em;
  }

  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(72px, 25vw, 118px);
    --line-distance: clamp(38px, 14vw, 112px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-home-hero--signals::before,
  .visio-home-hero--signals .visio-hero-word::before,
  .visio-signal-field.is-randomized .visio-signal.is-live::after {
    animation: none !important;
  }
}

/* STEP VISIO 010 - signal anchoring, smoother rhythm and page coverage */
body.visio-index-page {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 0, 0, 0.24), rgba(255, 0, 0, 0) 34rem),
    radial-gradient(circle at 88% 76%, rgba(241, 236, 232, 0.12), rgba(241, 236, 232, 0) 34rem),
    linear-gradient(145deg, #000000 0%, #0d0000 42%, #050505 100%) !important;
}

body.visio-index-page::before {
  opacity: 0.82;
  filter: blur(30px);
}

body.visio-index-page .frame.red {
  background-color: rgba(255, 0, 0, 0.76) !important;
}

body.visio-index-page .frame.grey,
body.visio-index-page .grey,
body.visio-index-page .contactfooter,
body.visio-index-page .logos-footer,
body.visio-index-page .logo-frame .contactfooter {
  background-color: rgba(241, 236, 232, 0.78) !important;
}

body.visio-index-page .contact-section-fix,
body.visio-index-page .frame.red.contact-section-fix {
  background-color: rgba(241, 236, 232, 0.82) !important;
}

body.visio-index-page .footer {
  background-color: rgba(0, 0, 0, 0.78) !important;
}

body.visio-index-page .frontpage-banner {
  background-color: rgba(0, 0, 0, 0.68) !important;
}

.visio-home-hero--signals .visio-hero-main-copy {
  font-size: clamp(1.02rem, 0.98vw + 0.76rem, 1.68rem);
  line-height: 1.26;
}

.visio-home-hero--signals .visio-hero-support-copy {
  margin-top: clamp(18px, 2.2vw, 30px);
  font-size: clamp(0.76rem, 0.34vw + 0.68rem, 0.98rem);
  line-height: 1.72;
}

.visio-signal-field.is-randomized .visio-signal {
  --signal-life: 12.2s;
  --safe-start: clamp(104px, 10.8vw, 196px);
  --line-distance: clamp(52px, 10vw, 176px);
  --label-gap: clamp(0.08rem, 0.2vw, 0.22rem);
}

.visio-signal > span,
.visio-signal-field.is-randomized .visio-signal > span {
  left: calc(100% + var(--label-gap));
  right: auto;
  text-align: left;
  letter-spacing: -0.006em !important;
  transform-origin: left center;
  --label-align-x: 0px;
  --label-enter-drift: -0.018rem;
  --label-exit-drift: 0.018rem;
}

.visio-signal.label-left > span {
  left: auto;
  right: calc(var(--label-gap) * -1);
  text-align: right;
  transform-origin: right center;
  --label-align-x: 0px;
  --label-enter-drift: 0.018rem;
  --label-exit-drift: -0.018rem;
}

.visio-signal.label-right > span {
  left: calc(100% + var(--label-gap));
  right: auto;
  text-align: left;
  transform-origin: left center;
  --label-align-x: 0px;
}

.visio-signal.label-center > span {
  left: 100%;
  right: auto;
  text-align: center;
  transform-origin: center center;
  --label-align-x: -50%;
  --label-enter-drift: 0px;
  --label-exit-drift: 0px;
}

.visio-signal-field.is-randomized .visio-signal::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) var(--safe-start),
    rgba(241, 236, 232, 0.18) calc(var(--safe-start) + 6px),
    rgba(241, 236, 232, 0.38) calc(var(--safe-start) + 24px),
    rgba(255, 0, 0, 0.52) 78%,
    rgba(255, 255, 255, 0) 100%
  );
}

@keyframes visioSignalLineRandom {
  0%, 5% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.03);
  }
  23%, 76% {
    opacity: 0.56;
    transform: rotate(var(--angle)) scaleX(1);
  }
  96%, 100% {
    opacity: 0;
    transform: rotate(var(--angle)) scaleX(0.97);
  }
}

@keyframes visioSignalWordRandom {
  0%, 13% {
    opacity: 0;
    transform: translate3d(calc(var(--label-align-x, 0px) + var(--label-enter-drift, 0px)), -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
  25%, 72% {
    opacity: 0.86;
    transform: translate3d(var(--label-align-x, 0px), -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
  93%, 100% {
    opacity: 0;
    transform: translate3d(calc(var(--label-align-x, 0px) + var(--label-exit-drift, 0px)), -50%, 0) rotate(var(--label-rotate)) scale(var(--signal-scale, 1));
  }
}

@keyframes visioSignalDotPulse {
  0%, 14% {
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.72);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.12);
  }
  28%, 72% {
    opacity: 0.94;
    transform: translate3d(0, -50%, 0) scale(1);
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.44);
  }
  48%, 58% {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1.2);
    box-shadow: 0 0 24px rgba(255, 0, 0, 0.34);
  }
  91%, 100% {
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.86);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.1);
  }
}

@keyframes visioLetterDriftV {
  0%, 100% { transform: translate3d(0, 0, 0); }
  34% { transform: translate3d(4px, -2px, 0); }
  68% { transform: translate3d(-3px, 4px, 0); }
}

@keyframes visioLetterDriftI1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  31% { transform: translate3d(-4px, 3px, 0); }
  72% { transform: translate3d(3px, -4px, 0); }
}

@keyframes visioLetterDriftS {
  0%, 100% { transform: translate3d(0, 0, 0); }
  38% { transform: translate3d(3px, 5px, 0); }
  74% { transform: translate3d(-4px, -3px, 0); }
}

@keyframes visioLetterDriftI2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  29% { transform: translate3d(3px, -5px, 0); }
  66% { transform: translate3d(-3px, 3px, 0); }
}

@keyframes visioLetterDriftO {
  0%, 100% { transform: translate3d(0, 0, 0); }
  36% { transform: translate3d(-4px, -3px, 0); }
  70% { transform: translate3d(4px, 4px, 0); }
}

@media (max-width: 980px) {
  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(92px, 14vw, 158px);
    --line-distance: clamp(42px, 9vw, 132px);
    --label-gap: 0.14rem;
  }

  .visio-signal > span,
  .visio-signal-field.is-randomized .visio-signal > span {
    letter-spacing: -0.004em !important;
  }
}

@media (max-width: 680px) {
  .visio-signal-field.is-randomized .visio-signal {
    --safe-start: clamp(58px, 21vw, 96px);
    --line-distance: clamp(36px, 12vw, 92px);
    --label-gap: 0.1rem;
  }

  .visio-home-hero--signals .visio-hero-main-copy {
    font-size: clamp(0.92rem, 4.5vw, 1.34rem);
  }

  .visio-home-hero--signals .visio-hero-support-copy {
    font-size: 0.78rem;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visio-letter {
    animation: none !important;
    transform: none !important;
  }
}
