*, *::before, *::after{box-sizing: border-box;  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth;}

html,
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

body{
  overflow-x: hidden;
}

@font-face {
  font-family: "Satoshi";
  src: url("../font/Satoshi/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../font/Satoshi/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../font/Satoshi/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fonts */ /* Nav dropdowns may cause some errors*/
:root {
  --default-font: "Satoshi", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Satoshi", sans-serif;
  --nav-font: "Satoshi", sans-serif;


  --h1fontSize:48px!important;
  --h1fontWeight:700!important;

  --h2fontSize:34px!important;
  --h2fontWeight:600!important;

  --h3fontSize:24px!important;
  --h3fontWeight:400!important;

  --h4fontSize:20px!important; /* Navbar use */
  --h4fontWeight:500!important;
  --h4fontWeightactive:500!important;

  --p1fontSize:17px!important;
  --p1fontWeight: 500!important;

  --p2fontSize:12px!important;
  --p2fontWeight: 400!important;

}

@media (max-width: 1199px){
  :root {  
    --h1fontSize:40px!important;
    --h1fontWeight:990!important;

    --h2fontSize:24px!important;
    --h2fontWeight:990!important;

    --h3fontSize:18px!important;

    --h4fontSize:16px!important;
    --h4fontWeight:400!important;

    --p1fontSize:15px!important;
    --p1fontWeight:450!important;
    --p2fontSize:10px!important;  
  }
}


@media (max-width: 740px)  {
  :root {  
    --h1fontSize:40px!important;
    --h1fontWeight:990!important;

    --h2fontSize:16px!important;
    --h2fontWeight:990!important;

    --h3fontSize:14px!important;

    --h4fontSize:16px!important;
    --h4fontWeight:400!important;

    --p1fontSize:14px!important;
    --p1fontWeight:450!important;
    --p2fontSize:10px!important;  
  }
}

h1{
  font-size: var(--h1fontSize);
  font-weight:var(--h1fontWeight);
}

h2{
  font-size: var(--h2fontSize);
  font-weight: var(--h2fontWeight);
}

h3{
  font-size: var(--h3fontSize);
  font-weight: var(--h3fontWeight);
}

h1,
h2,
h3 {
  text-transform: uppercase;
}

h4{
  font-size: var(--h4fontSize);
  font-weight: var(--h4fontWeight);
}

p{
  font-family: var( --nav-font);
  font-size: var(--p1fontSize);
  font-weight: var(--p1fontWeight);
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  background-color: black;
  color: white;

}

.preload .desktopHero,
.preload .mobileHero,
.preload .videoGrid,
.preload .videoGridmobile {
  display: none !important;
}


a {
 text-decoration: none;
 transition: 0.3s;
}

a:hover {

 text-decoration: none;
}


:root {
  --primary-color: #ffffff;
  --secondary-color: #b10c0c;
  --third-color: #669BBC; /*paleturquoise*/
  --fourth-color: #003049;
  --fifth-color: #780000;
}


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: black; /* Background color for the entire website, including individual sections */
  --default-color: white; /* Default color used for the majority of the text content across the entire website */
  --default-color-washed: grey;
  --heading-color: white; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0046FF; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #0046FF; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  ----wb-star-bg-black: #010101;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: var(--primary-color);  /* The default color of the main navmenu links */
  --nav-color-scrolled: #ececec; 
  --nav-hover-color: var(--fifth-color); 
  --nav-color: var(--primary-color); 
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: black; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: black; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: var(--default-color); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #3368fc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */ 
}


.light-background {
  --background-color: #f4f8fb;
  --surface-color: #FD022C;
  --default-color: black; 
  --heading-color: #FD022C;
  color: black;
}

.dark-background {
  --background-color: black;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: black;
  --contrast-color: #ffffff;
  color: white;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* changes the highlight color */
::selection {
  background-color: yellow; /* Highlight background color */
  color: #1a1a1a; /* Text color during highlight */
}

::-moz-selection {
  background-color: yellow; /* For Firefox */
  color: #1a1a1a;
}


.unclickable {
  pointer-events: none;
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: var(--default-color-washed);
  background-color: black;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 997;
  padding: 10px 0;
}

/* Hidden state: translate the inner header shell out of view when scrolling */
.header.header-hidden .header-shell {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.has-split-hero:not(.split-hero-complete) #header .header-shell {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
  z-index: 995;
}

body.has-split-hero.split-hero-complete #header .header-shell {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 997;
}

body.has-split-hero .main {
  margin-top: 0;
}

body.has-split-hero:not(.split-hero-complete) .msfullscreen-video-container {
  z-index: 1000;
}

body.has-split-hero.split-hero-complete .msfullscreen-video-container {
  z-index: 4;
}

/* Center nav positioning - must be absolute within fixed header */
.center-nav {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Dropdown styles - apply to all screen sizes */
.navmenu .dropdown-menu {
  display: none !important;
  background-color: var(--nav-dropdown-background-color);
  border: none;
  border-radius: 10px;
  padding: 8px;
  min-width: 280px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  z-index: 1000;
}

.navmenu .dropdown-menu.show {
  display: block !important;
}

.navmenu .dropdown-item {
  color: var(--nav-dropdown-color);
  border-radius: 6px;
  white-space: normal;
}

.navmenu .dropdown-item:hover,
.navmenu .dropdown-item:focus {
  color: var(--nav-dropdown-hover-color);
  background-color: rgba(255, 255, 255, 0.08);
}


  .center-nav {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  .header p {
  margin: 0;
  padding: 0;
 }
  .navmenu {
    padding: 0;
  }
  .navmenu > ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 17px; /* Add this line */
  }
  .header a,
  .header a:focus {
    color: var(--nav-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .header a:hover{
    color: var(--default-color-washed);
  }
  
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .mobile-nav {
    display: none;
  }


  .hamburger{
    display: none;
  }



/* Navmenu - Mobile 
@media (max-width: 1199px) {

  .header {
    max-width: 100dvw;
    z-index: 11010;
  }

  .header p {
    margin: 0;
     padding: 0;
     color: white;
  } 

  .navmenu {
    padding: 0;
    display: none;
  }


  .mobile-nav ul {
    width: min(92vw, 28rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav li {
    width: 100%;
  }

  .mobile-nav a,
  .mobile-nav a:focus {
    display: inline-flex;
    align-items: center;
    width: 100%;
    color: #f4f8ff;
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus {
    color: #ffffff;
    transform: translateX(0.25rem);
  }
  
  .header {
    height: 50px; 
    padding: 10px 0;
  }
  
  .mobile-nav {
    --mobile-nav-blue: var(--accent-color, #0046ff);
    position: fixed;
    z-index: 11000;
    inset: 0;
    display: block;
    width: 100%;
    height: var(--mobile-nav-viewport-height, 100vh);
    height: var(--mobile-nav-viewport-height, 100lvh);
    min-height: 100dvh;
    overflow: hidden;
    padding-top: 5.25rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background:
      radial-gradient(circle at 0 0, rgba(0, 70, 255, 0.36), transparent 28%),
      linear-gradient(180deg, rgba(3, 8, 20, 0.96), rgba(4, 10, 24, 0.9));
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
  }

  .mobile-nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.22s ease;
  }

  .mobile-nav__circle {
    position: absolute;
    top: -2vmax;
    left: -2vmax;
    z-index: 0;
    width: 150vmax;
    height: 150vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), var(--mobile-nav-blue) 42%, rgba(0, 70, 255, 0.92) 76%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 90px rgba(0, 70, 255, 0.42);
    transform: scale(0);
    transform-origin: 0 0;
    transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    pointer-events: none;
  }

  .mobile-nav.active .mobile-nav__circle {
    transform: scale(1) !important;
  }
  

  .center-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100lvh - 5.25rem - env(safe-area-inset-bottom, 0px));
    padding: 1.5rem;
    z-index: 1;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  .mobile-nav.active .center-nav {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .mobile-nav.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav.active li:nth-child(1) { transition-delay: 50ms; }
  .mobile-nav.active li:nth-child(2) { transition-delay: 95ms; }
  .mobile-nav.active li:nth-child(3) { transition-delay: 140ms; }
  .mobile-nav.active li:nth-child(4) { transition-delay: 185ms; }
  .mobile-nav.active li:nth-child(5) { transition-delay: 230ms; }
  .mobile-nav.active li:nth-child(6) { transition-delay: 275ms; }
  .mobile-nav.active li:nth-child(7) { transition-delay: 320ms; }
  .mobile-nav.active li:nth-child(8) { transition-delay: 365ms; }
  .mobile-nav.active li:nth-child(9) { transition-delay: 410ms; }

  #header .nav-icon-left,
  #header .nav-icon-left > button,
  #header #hamburger {
    position: relative;
    z-index: 11020;
  }


}
*/
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);

  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 0;
}


.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  background-color: var(--surface-color);
  border: none;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: var(--p1fontSize);
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: var(--p1fontSize);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: var(--p1fontSize);
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: var(--p2fontSize);
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: var(--h4fontSize);
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: var(--p2fontSize);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: black;
  transition: all 0.6s ease-out;
}
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 30px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: var(--h1fontSize);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: var(--p1fontSize);
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

.navLogo{
  width: 50px;
  height: 50px;
}


.mobileHero{
  display: none;
}

.desktopHero{
  display: none;
}

/* Legacy landing video hero styles kept for rollback.
.landing-video-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.landing-video-hero__media {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.landing-video-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
  padding: 24px;
}

.landing-video-hero__overlay h1 {
  margin: 0;
}

.landing-video-hero__overlay p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 500;
}
*/

.msfullscreen-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: none;
  z-index: 4;
  touch-action: manipulation;
}

#landingVideoHeroSplit {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mstop-slice,
.msbottom-slice {
  position: absolute;
  width: 100%;
  height: calc(50% + 1px);
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
}

.msfullscreen-video-container.is-split-ready .mstop-slice,
.msfullscreen-video-container.is-split-ready .msbottom-slice {
  opacity: 1;
  visibility: visible;
}

.mstop-slice {
  top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.msbottom-slice {
  top: calc(50% - 1px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mscanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ms-slice-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
  color: #fff;
  text-align: center;
  text-shadow: none;
  padding-inline: clamp(10px, 2vw, 24px);
}

.ms-slice-copy-top {
  align-items: flex-end;
  padding-bottom: clamp(2px, 0.6vw, 8px);
}

.ms-slice-copy-bottom {
  align-items: flex-start;
  padding-top: clamp(2px, 0.6vw, 8px);
}

.ms-slice-copy h1 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 4rem);
  line-height: 1.1;
}

.ms-slice-copy p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
}

.msvideo-source {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.msvideo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}

.msfullscreen-video-container.is-split-ready .msvideo-fallback {
  opacity: 0;
  visibility: hidden;
}

.ms-hero-mobile-control {
  position: absolute;
  right: clamp(12px, 4vw, 20px);
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 6;
  display: none;
  align-items: center;

  min-height: 36px;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.35);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ms-hero-mobile-control:hover,
.ms-hero-mobile-control:focus-visible {
  opacity: 1;
  background: rgba(14, 14, 14, 0.5);
  transform: translateY(-1px);
}

.ms-hero-mobile-control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.ms-hero-mobile-control__icon {
  width: 10px;
  height: 10px;
  display: inline-block;
  position: relative;
}

.ms-hero-mobile-control__label {
  line-height: 1;
}

.ms-hero-mobile-control[data-state='start'] .ms-hero-mobile-control__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.ms-hero-mobile-control[data-state='stop'] .ms-hero-mobile-control__icon::before,
.ms-hero-mobile-control[data-state='stop'] .ms-hero-mobile-control__icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
}

.ms-hero-mobile-control[data-state='stop'] .ms-hero-mobile-control__icon::before {
  left: 1px;
}

.ms-hero-mobile-control[data-state='stop'] .ms-hero-mobile-control__icon::after {
  right: 1px;
}

@media (max-width: 1199px) {
  #landingVideoHeroSplit.ms-mode-mobile .ms-hero-mobile-control {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  #landingVideoHeroSplit .ms-hero-mobile-control {
    display: inline-flex;
  }
}

/* Hero - Desktop */
@media (min-width: 1200px) {
  
section,
.section {
  overflow: clip;
}

.desktopHero{
  display: flex;
  align-items: stretch;
 /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.desktopHero video{
  width: 100%;
}


.heroContent{
  display: flex;
  flex-direction: row;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 100px 100px;
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.mobileHero{
  display: none;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}


.personalDescription{
 
 width: 100%;
  text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 100px;

    color: white;
}

.personalDescription h2 {
  margin-bottom: 0;
}


.personalDescription .shiny-cta{
  margin-top: 0.25rem;
  width: fit-content;
  align-self: flex-end;
}

.personalDescription .shiny-cta span{
  color: white;
}
}


@media (max-width: 1199px) {



  .desktopHero{
    display: none;
  }

    /* Legacy mobile hero sizing kept for rollback.
    .landing-video-hero {
      min-height: 75vh;
    }

    .landing-video-hero__media {
      height: 75vh;
    }
    */

    .msfullscreen-video-container {
      height: 90vh;
    }

    .ms-slice-copy h1 {
      font-size: clamp(1.2rem, 8vw, 2.2rem);
    }

    .ms-slice-copy p {
      font-size: clamp(0.9rem, 4.2vw, 1.1rem);
    }
    

      section,
    .section {
      overflow: clip;
    }

    .mobileHero{
      display: block;
      height: 100vh;
      width: 100%;
     /* position: relative; */
      border: 2px solid red; 
  
    }

    .mobileHeroFallback {

       border: 2px solid red; 

      display: none;
      width: 100%;
      height: auto;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }
    

    .heroVideo{  
    width: 100%;
    }

    .heroVideo video{
      width: 100%;
    }



.heroContent{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 20px 20px;
  width: 100vw;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}


.personalDescription{
 
 width: 100%;
  text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;

    color: white;
}

.personalDescription .about-me{
  font-weight: 300;
  font-size: 0.95rem; 
  max-width: 640px;
  padding-top: 5px ;
}


.personalDescription .shiny-cta{
  margin-top: 0.25rem;
  width: auto;
}

.personalDescription .shiny-cta span{
 
  color: white;
}
}

  /* Responsive: center personalDescription on small viewports */
  @media (max-width: 767px) {
    .personalDescription {
      text-align: center;
      padding-right: 0;
      align-items: center;
      padding-top:20px;
    }

    .personalDescription .shiny-cta{
      width: auto;
      margin-left: 0;
      margin-right: 0;
    }
  }

@media(min-width: 678px){
  
.heroContent{
  display: flex;
  flex-direction: row;
  grid-template-rows: 50vw 50vw;
  gap: 0px;
  padding: 100px 100px;
}

.personalImg{
  width: 100%;
}

.personalImg img{
  box-shadow: none;

}

}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/



.section-title {
  text-align: center;

  position: relative;
}

.section-title h2 {
  font-size: var(--h2fontSize);
  font-weight: var(--h2fontWeight);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}





/*--------------------------------------------------------------
# CTA BTN
--------------------------------------------------------------*/



:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: blue;
  --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;

  padding: 1.25rem 2.5rem;

  font-family: inherit;
  font-size: 2rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

  &::before,
  &::after,
  span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

/* Dots pattern */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.shiny-cta {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent,
    --gradient-shine;

  &,
  &::before,
  &::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);

  &,
  &::before,
  &::after {
    animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@media (max-width: 679px) {
  .shiny-cta {
    padding: 1rem 2rem;
    font-size: 1.5rem!important;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}




/*--------------------------------------------------------------
# Gradient Background glb
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

.glb-card {
  position: relative;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.glb-card:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 34%, rgba(255, 255, 255, 1) 89%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.3;
  filter: blur(.5px);
  mix-blend-mode: hard-light;
}

.glb-card .noise {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: 0.1;
}

.glb-card .glb-content {
  position: relative;
  z-index: 2;
  text-shadow: -3px 0px 2px rgba(0, 0, 0, 0.1);
}

.backgroundglowSection{
  background-color: rgba(0, 0, 0, 0.);
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

/* Position the gradient background properly */
.gradient-bg {
    position: fixed; /* Make it stick to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100; /* Make sure it's in the background */
    overflow: hidden; /* Avoid overflowing */
}

/* Ensure subsequent sections are positioned correctly on top */


.gradient-bg .svgBlur {
  display: none;
}

.gradient-bg .noiseBg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.gradient-bg .g1,
.gradient-bg .g2,
.gradient-bg .g3,
.gradient-bg .g4,
.gradient-bg .g5,
.gradient-bg .interactive {
  position: absolute;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
}

.gradient-bg .g1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  animation: moveVertical 30s ease infinite;
  opacity: 1;
}

.gradient-bg .g2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}

.gradient-bg .g3 {
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
  opacity: 1;
}

.gradient-bg .g4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.gradient-bg .g5 {
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
  opacity: 1;
}

.gradient-bg .interactive {
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
}





/*--------------------------------------------------------------
# Gradient Background glb
--------------------------------------------------------------*/


.imageVideoBlur {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 8px;

  }
  




/* Wrapper for the image and text overlay */
.media-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  transition: all 0.5s ease;
}

.service-img {
  width: 100%;
  height: auto; /* Keeps the aspect ratio correct on smaller screens */
  filter: brightness(0.75); /* Darkens the image initially */
  transition: filter 0.5s ease;
}

/* Brighten image on hover */
.media-wrapper:hover .service-img {
  filter: brightness(1);
}

/* Text overlay */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%; /* To ensure the text doesn’t go out of bounds */
  z-index: 2;
  
}



@media (max-width: 576px) {
  .overlay-text {
    width: 100%;
    padding: 0 10px;
  }

}


.gradient-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust the height of the gradient if needed */
  pointer-events: none;
  background: linear-gradient(to top, black, transparent);
}

@media (max-width: 768px) {
  .gradient-bottom {
    display: none;
  }
}


@media (min-width: 1200px) {

.zSzoom {  
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
  background-color: #000;
  color: #fff;
  position: relative;

  position: absolute;
  z-index: 5;

}


.zSzoom-section {
  height: 101vh;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0px;
  bottom: 0px;
  will-change: transform;
}



.contact-panel {
  position: absolute;
  z-index: 500;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw; /* optional: prevents stretching beyond viewport */
  overflow: hidden; /* hide any accidental overflow */

  height: 50vh;
  display: flex;
  justify-content: space-between; /* pushes items apart */
  align-items: center;

  padding: 1rem 15rem; /* optional: adds spacing from edges */
  color: rgb(255, 255, 255);
  text-shadow: rgb(0, 0, 0) 1px 0 20px;
}


.imprint{
  text-align: right;
}


.zSzoom canvas{
  transform: translateY(15vh);
  filter: invert(1);
  opacity: 0.8;
}

}

@media (max-width: 1199px){
  
  .contact-panel {
    margin-top: 20%;
    position: absolute;
    z-index: 500;
    box-sizing: border-box;
   width: 99vw;
    max-width: 99vw; /* optional: prevents stretching beyond viewport */
    overflow: hidden; /* hide any accidental overflow */
  
 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes items apart */

  
    padding: 1rem 5rem; /* optional: adds spacing from edges */
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 1px 0 20px;
  }
  
  .contact{
    color: white;
  }
  
  .imprint{
    text-align: right;
  }
  
  
  .zSzoom canvas{
    max-width: 99%;
    transform: translateY(15vh);
    filter: invert(1);
  }
  
}


@media (max-width: 768px) {

  .zSzoom {  
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    background-color: #000;
    color: #fff;
    position: relative;
  
    position: absolute;
    z-index: 5;
  
  }
  
  
  .zSzoom-section {
    height: 101vh;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0px;
    bottom: 0px;
    will-change: transform;
  }
  
  
  
  .contact-panel {
    margin-top: 20%;
    position: absolute;
    z-index: 500;
    box-sizing: border-box;
   width: 99vw;
    max-width: 99vw; /* optional: prevents stretching beyond viewport */
    overflow: hidden; /* hide any accidental overflow */
  
 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes items apart */

  
    padding: 1rem 5rem; /* optional: adds spacing from edges */
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 1px 0 20px;
  }
  
  .contact{
    color: white;
  }
  
  .imprint{
    text-align: right;
  }
  
  
  .zSzoom canvas{
    max-width: 99%;
    transform: translateY(15vh);
    filter: invert(1);
  }
  
  }
/******************************

videoGrid

**************************/

.videoGrid{
  display: none;
}

.videoGridmobile{
  display: none;
}

@media (min-width: 769px) {

.videoGridmobile{  
  display: none;
}

.videoGrid{
scale: 0.9;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;

}


.videoRow1 {
  display: flex;
  align-items: stretch;
  height: 41.5vw; /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.videoRow2{
  display: flex;
  align-items: stretch;
  height: 56.5vw; /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}



.videocolum1{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 90vw;
  overflow: hidden;
  gap: 2rem;
}




.videocolum1{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 69vw; 
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.videocolum1 video {
  height: 50%;
  width: auto;
  display: block;
}

.videoRow3{
  display: flex;
  align-items: stretch;
  height: 63vw;   /* or any fixed height you want */
  width: 100%;
  overflow: hidden;
  gap: 2rem;
}

.video-el {
  height: 100%;
  width: auto;
  flex-shrink: 1;
  flex-grow: 0;
 }

}




@media (max-width: 768px) {
  .videoGrid{ display: none;}

  .videoGridmobile{  
  scale: 0.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;  
  width: 100vw;
  }
    
  .videoRow1 {
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }
  
  .videoRow2{
    display: flex;
    align-items: stretch;
    height: 90vw; /* or any fixed height you want */
      width: 100%;
    overflow: hidden;
    gap: 2rem;
  }   
  
  .videoRow3{
    display: flex;
    align-items: stretch;
    height:90vw;   /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }

  .videoRow4{
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }
     
  
  .videocolum1 video {
    height: 100%;
    width: auto;
    display: block;
  }
  


  .videoRow5{
    display: flex;
    align-items: stretch;
    height: 57vw; /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }


  .videoRow6{
    display: flex;
    align-items: stretch;
     /* or any fixed height you want */
    width: 100%;
    overflow: hidden;
    gap: 2rem;
  }

  
  .video-el {
    height: 100%;
    width: auto;
    flex-shrink: 1;
    flex-grow: 0;
   }
  
  }
  
  






/* *****

Hamburger

**** */

a{
  text-decoration: none;
}



/* GRID */


.six { width: 49.2%; }


/* COLUMNS */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.col:first-of-type {
  margin-left: 0;
}


/* ALL */

.row .three{
  padding: 80px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
}

.hamburger .line{
  width: 20px;
  height: 2px;
  background-color: #ecf0f1;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

/* SIX */

#hamburger-6.is-active{
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#hamburger-6.is-active .line:nth-child(2){
  width: 0px;
}

#hamburger-6.is-active .line:nth-child(1),
#hamburger-6.is-active .line:nth-child(3){
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

#hamburger-6.is-active .line:nth-child(1){
  -webkit-transform: translateY(7px);
  -ms-transform: translateY(7px);
  -o-transform: translateY(7px);
  transform: translateY(7px);
}

#hamburger-6.is-active .line:nth-child(3){
  -webkit-transform: translateY(-7px) rotate(90deg);
  -ms-transform: translateY(-7px) rotate(90deg);
  -o-transform: translateY(-7px) rotate(90deg);
  transform: translateY(-7px) rotate(90deg);
}



/* about */
.video-container {
  position: relative;
  max-width: 100%;
  width: 90%;
  margin: auto;
}

.about-vid {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Overlay Play Button */
.overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  padding: 0;
  line-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(12,12,12,0.08));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.overlay-icon {
  width: 40%;
  height: 40%;
  display: block;
}

.overlay-play.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.95);
}

.video-start-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  /* Sit above the controls bar (z-index ~3) and the overlay-play button */
  z-index: 12;
}

.video-start-loader.is-active {
  opacity: 1;
}

.video-start-loader__ring {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.88);
  animation: video-loader-spin 0.75s linear infinite;
  box-sizing: border-box;
}

@keyframes video-loader-spin {
  to { transform: rotate(360deg); }
}

/* Ambient videos should hide the controls shell even if it is active. */
.dynamic-video-controls-wrap.no-play-btn .controls-bar,
.dynamic-video-controls-wrap.no-play-btn .overlay-play {
  display: none !important;
}

/* Floating glass bar */
.controls-bar {
  position: absolute;
  bottom: 10px;
  /* Pin to the wrapper edges so the bar can never exceed the video's width */
  left: 12px;
  right: 12px;
  width: auto;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  background: rgba(20, 7, 43, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  box-sizing: border-box;
}

.controls-bar button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  line-height: 1;
}

.controls-bar input[type="range"] {
  flex: 1 1 auto;
  min-width: 0; /* allow to shrink below intrinsic width */
  height: 4px;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: #ddd;
  margin: 0 8px;
}

.controls-bar input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}

/* Firefox */
.controls-bar input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}

/* Volume control sizing and layout */
.controls-bar .intro-volume-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.controls-bar .intro-volume-slider {
  width: clamp(36px, 8vw, 80px);
  max-width: 100px;
  height: 4px;
}

/* Quality select and fullscreen button sizing */
.controls-bar .intro-quality-select {
  background: rgba(10,10,20,0.6);
  color: #fff;
  border: none;
  padding: 4px 6px;
  font-size: 13px;
  flex: 0 0 auto;
}
.controls-bar button[aria-label="Fullscreen"] {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Compact controls for narrow videos: show Play, a short timeline (25%), and Expand only. */
.controls-bar.compact {
  padding: 4px 8px;
  gap: 8px;
  justify-content: center;
}
.controls-bar.compact .intro-volume-control,
.controls-bar.compact .intro-quality-select {
  display: none !important;
}
.controls-bar.compact input[type="range"] {
  flex: 0 0 40% !important;
  width: 40% !important;
  margin: 0 8px;
}
.controls-bar.compact button[aria-label="Play/Pause"] {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.controls-bar.compact button[aria-label="Fullscreen"] {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-left: 6px;
}

@media (max-width: 420px) {
  /* On very small viewports give the timeline more room so it's usable */
  .controls-bar.compact input[type="range"] { flex: 0 0 60%; width: 60%; }
}

/* Extra responsiveness tweaks */
@media (max-width: 600px) {
  .controls-bar {
    bottom: 6px;
    padding: 4px 8px;
    gap: 6px;
  }

  .overlay-play {
  width: 50px;
  height: 50px;
  }
}













/* ── Custom fullscreen overlay ────────────────────────────────────────── */
#video-fs-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  align-items: center;
  justify-content: center;
}

#video-fs-overlay.active {
  display: flex;
}

#video-fs-close-btn {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: auto;
  transition: background 0.2s ease;
}

#video-fs-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Wrapper sizing inside the overlay.
   100vh is the fallback for browsers without dvh support; the 100dvh
   declarations that follow win where supported and track the visual
   viewport correctly through iOS/Android browser-chrome show/hide. */
#video-fs-overlay .dynamic-video-controls-wrap,
#video-fs-overlay .intro-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: min(100vw, calc(100vh * 16 / 9));
  max-width: min(100vw, calc(100dvh * 16 / 9));
  margin: 0 !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#video-fs-overlay .dynamic-video-controls-wrap video,
#video-fs-overlay .intro-video-container video {
  width: 100%;
  height: auto;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  display: block;
  background: #000;
}

/* Forces a style recalculation on resize/orientationchange (JS toggles this
   class in _videoFsState._getOverlay()) — no rules of its own needed. */
#video-fs-overlay.video-fs-relayout {
  outline: 0 solid transparent;
}

/* Always show controls bar when inside the fullscreen overlay.
   .in-video-fs-overlay is added by JS (_videoFsState.open). Both the
   class-based selector and the #id selector are listed so either path wins. */
.dynamic-video-controls-wrap.in-video-fs-overlay .controls-bar,
.intro-video-container.in-video-fs-overlay .controls-bar,
#video-fs-overlay .dynamic-video-controls-wrap .controls-bar,
#video-fs-overlay .intro-video-container .controls-bar {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  position: absolute;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 10 !important;
  border-radius: 999px !important;
}

/* Horizontal videos: clamp control chrome so it doesn't break layout.
   Hide volume & quality, keep Play + Expand icons visible, and let the
   timeline stretch to fill the space between them. */
.dynamic-video-controls-wrap.horizontal .controls-bar,
.intro-video-container.horizontal .controls-bar {
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 6px 10px;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  box-sizing: border-box;
}

.dynamic-video-controls-wrap.horizontal .controls-bar .intro-volume-control,
.intro-video-container.horizontal .controls-bar .intro-volume-control {
  /* Horizontal videos (unexpanded) SHOULD show inline volume controls
     per the design rules: play, timeline, sound icon + slider, expand. */
  display: flex !important;
}
.dynamic-video-controls-wrap.horizontal .controls-bar .intro-quality-select,
.intro-video-container.horizontal .controls-bar .intro-quality-select {
  /* Keep quality select hidden for compact/horizontal inline layout. */
  display: none !important;
}

.dynamic-video-controls-wrap.horizontal .controls-bar input[type="range"],
.intro-video-container.horizontal .controls-bar input[type="range"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
  margin: 0 8px;
}

.dynamic-video-controls-wrap.horizontal .controls-bar button[aria-label="Play/Pause"],
.intro-video-container.horizontal .controls-bar button[aria-label="Play/Pause"] {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dynamic-video-controls-wrap.horizontal .controls-bar button[aria-label="Fullscreen"],
.intro-video-container.horizontal .controls-bar button[aria-label="Fullscreen"] {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

/* Small screens: keep timeline usable but leave icons visible */
@media (max-width: 740px) {
  .dynamic-video-controls-wrap.horizontal .controls-bar input[type="range"],
  .intro-video-container.horizontal .controls-bar input[type="range"] {
    flex: 1 1 auto !important;
    width: auto !important;
  }
}

/* Video inside the overlay must not cover the controls bar */
#video-fs-overlay .dynamic-video-controls-wrap video,
#video-fs-overlay .intro-video-container video {
  position: relative;
  z-index: 1;
}

/* Quality select in fullscreen overlay — dark glass to match controls */
#video-fs-overlay .intro-quality-select {
  background: rgba(10, 10, 20, 0.82) !important;
  color: #fff !important;
  border: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color-scheme: dark;
}

#video-fs-overlay .intro-quality-select option {
  background: #0d0d1a;
  color: #fff;
}

/* project design */
/* ===== responsive project section ===== */
.project-section {
  padding: clamp(12px, 3vw, 24px);
  margin-inline: auto;
  max-width: min(1200px, 94vw);
}

.project-section-design {
  padding: clamp(12px, 3vw, 24px);
  margin-inline: auto;
  max-width: min(1200px, 94vw);
}


.project-title {
  margin: 0 0 clamp(8px, 2vw, 14px);
  font-size: clamp(18px, 2.5vw, 24px);
}

.fsbf-section {
  padding-top: clamp(28px, 5vw, 56px);
  max-width: min(1700px, 97vw);
}

.fsbf-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 780;
  letter-spacing: -0.02em;
  margin-bottom: clamp(10px, 1.8vw, 18px);
}

.fsbf-subtitle {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 620;
}

.fsbf-description {
  max-width: 72ch;
  margin-top: 10px;
  margin-bottom: clamp(14px, 2.4vw, 26px);
  color: var(--default-color-washed);
}

.fsbf-intertext {
  max-width: 90ch;
  margin-top: clamp(18px, 2.4vw, 32px);
  margin-bottom: clamp(8px, 1.6vw, 16px);
  color: var(--default-color);
}

.fsbf-events-title {
  margin: 0 0 clamp(10px, 1.8vw, 20px);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 620;
  letter-spacing: -0.01em;
}

.fsbf-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr);
  gap: 0.5rem;
  align-items: stretch;
  position:relative;
  z-index:500;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;

}

.fsbf-reels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: inherit;
  width: 100%;
}

.fsbf-reel-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
  aspect-ratio: 9 / 16;
  min-height: clamp(260px, 36vw, 430px);
}

/* JS injects display:inline-block;position:relative as inline styles;
   !important overrides those so the wrapper fills the card exactly. */
.fsbf-reel-card > .dynamic-video-controls-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Force compact chrome for small reel cards (FSBF/Mustang reels etc.)
   Show: Play button, short timeline (~25%), Expand. Hide volume & quality. */
.fsbf-reel-card .controls-bar {
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 6px 8px;
  gap: 8px;
  justify-content: center;
}
.fsbf-reel-card .controls-bar .intro-volume-control,
.fsbf-reel-card .controls-bar .intro-quality-select {
  display: none !important;
}
.fsbf-reel-card .controls-bar input[type="range"] {
  flex: 0 0 25% !important;
  width: 25% !important;
  margin: 0 8px;
}
.fsbf-reel-card .controls-bar button[aria-label="Play/Pause"] {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fsbf-reel-card .controls-bar button[aria-label="Fullscreen"] {
  width: 36px;
  height: 36px;
}

.fsbf-reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fsbf-reel-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.62);
  border: none;
}

.fsbf-feature {
  grid-column: 4;
  border-radius: 0;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.fsbf-feature-video {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 36vw, 430px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fsbf-section-2026 .fsbf-layout {
  display: block;
}

.fsbf-section-2026 .fsbf-reels {
  grid-column: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fsbf-section-2026 .fsbf-reel-video {
  min-height: clamp(180px, 18vw, 300px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fsbf-events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 2.15fr);
  gap: 0.5rem;
  align-items: stretch;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.5rem;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  position:relative;
  z-index:500;

}

.fsbf-events-transitions {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.fsbf-carousel {
  min-width: 0;
  display: block;
  position: relative;
  height: 100%;
}

.fsbf-carousel-viewport {
  overflow: hidden;
  border-radius: 0;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 30vw, 360px);
}

.fsbf-carousel-track {
  display: flex;
  transition: transform 300ms ease;
  will-change: transform;
  height: 100%;
}

.fsbf-carousel-item {
  flex: 0 0 100%;
  height: 100%;
}

/* Ensure JS-injected wrapper fills these containers fully */
.fsbf-carousel-item .dynamic-video-controls-wrap {
  display: block !important;
  width: 100%;
  height: 100%;
}

.geo-panel-video-container .dynamic-video-controls-wrap,
.fsbf-side-video-wrap .dynamic-video-controls-wrap,
.fsbf-followup-video-wrap .dynamic-video-controls-wrap {
  display: block !important;
  width: 100%;
}

.fsbf-carousel-video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.fsbf-carousel-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fsbf-side-video,
.fsbf-side-media {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 30vw, 360px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #101010;
}

.fsbf-side-video-wrap {
  border-radius: 0;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.fsbf-layout .playbtn-host,
.fsbf-events-layout .playbtn-host,
.balaba-showcase-video .playbtn-host{
  border-radius: 0;
}

.fsbf-carousel-arrow {
  width: clamp(36px, 3vw, 44px);
  height: clamp(36px, 3vw, 44px);
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.fsbf-carousel-arrow--prev {
  left: clamp(8px, 1.2vw, 14px);
}

.fsbf-carousel-arrow--next {
  right: clamp(8px, 1.2vw, 14px);
}

.fsbf-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .fsbf-carousel-arrow {
    transform: translateY(calc(-50% - 3px));
  }
}

.fsbf-followup-section {
  padding: 0.5rem 0;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  position:relative;
  z-index:500;
}

.fsbf-followup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
  padding-left: 0;
  padding-right: 0;
}

.fsbf-followup-left,
.fsbf-followup-right {
  min-width: 0;
}

.fsbf-followup-right {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fsbf-followup-video-wrap {
  border-radius: 0 !important;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.fsbf-followup-video {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 31vw, 380px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fsbf-followup-link {
  margin-top: clamp(10px, 1.2vw, 14px);
}

.fsbf-followup-title {
  margin: 0 0 clamp(10px, 1.3vw, 14px);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 620;
  letter-spacing: -0.01em;
}

.fsbf-bts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(8px, 0.8vw, 10px);
  flex: 1 1 auto;
  min-height: 0;
}

.fsbf-bts-grid picture {
  display: block;
  width: 100%;
  height: 100%;
}

.fsbf-bts-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
 
  background: #101010;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.fsbf-bts-vert {
  aspect-ratio: auto;
}

.fsbf-bts-hori {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.fsbf-automation-section {
  padding-top: clamp(12px, 2.3vw, 24px);
  max-width: min(1700px, 97vw);
}

.fsbf-automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: start;
}

.fsbf-automation-copy,
.fsbf-automation-media {
  min-width: 0;
}

.fsbf-automation-text {
  margin: 0;
  max-width: 55ch;
  font-size: clamp(18px, 1.9vw, 30px);
  line-height: 1.35;
  color: var(--default-color);
}

.fsbf-automation-video-wrap {

  overflow: hidden;
  background: #101010;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.fsbf-automation-video {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 30vw, 420px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fsbf-automation-link {
  margin-top: clamp(10px, 1.2vw, 14px);
}

.mustang-section {
  max-width: min(1700px, 97vw);
  padding-top: clamp(14px, 2.6vw, 30px);
}

.mustang-title {
  margin: 0 0 clamp(10px, 1.5vw, 16px);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 680;
  letter-spacing: -0.01em;
}

.mustang-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.mustang-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.mustang-photo img {
  width: 100%;
  min-height: clamp(260px, 42vw, 620px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.mustang-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #101010;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.mustang-slider-track {
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.mustang-slide {
  flex: 0 0 100%;
  margin: 0;
}

.mustang-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 42vw, 620px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.mustang-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(40px, 3.5vw, 52px);
  height: clamp(40px, 3.5vw, 52px);
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mustang-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mustang-arrow--prev {
  left: clamp(10px, 1.1vw, 16px);
}

.mustang-arrow--next {
  right: clamp(10px, 1.1vw, 16px);
}

.mustang-reels {
  margin-top: clamp(12px, 1.8vw, 22px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 14px);
}

.mustang-reel-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.mustang-reel-video {
  width: 100%;
  height: 100%;
  min-height: clamp(200px, 28vw, 420px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.mustang-reel-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: none;
}

.webseiten-section {
  max-width: 90vw;
  padding-top: clamp(22px, 3.4vw, 40px);
  padding-left: 0;
  padding-right: 0;
  margin: 0px auto;
}

.webseiten-section--spotlight {
  padding-bottom: clamp(28px, 4vw, 52px);
}

.webseiten-headline {
  margin: 0 0 clamp(12px, 1.9vw, 20px);
  font-size: clamp(30px, 4.5vw, 62px);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.webseiten-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
}

.webseiten-feature--spotlight {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 3vw, 34px);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at top left, rgba(77, 116, 255, 0.16), transparent 34%),
    #060709;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.webseiten-feature + .webseiten-feature {
  margin-top: clamp(16px, 2.2vw, 28px);
}

.webseiten-copy--spotlight {
  width: 100%;
  text-align: center;
}

.webseiten-copy--spotlight p {
  color: rgba(255, 255, 255, 0.8);
  padding-inline: 30%;
}

.webseiten-spotlight-head {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.webseiten-spotlight-head .webseiten-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: none;
}

.webseiten-kicker {
  margin: 0 0 10px;
  color: rgba(190, 212, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.webseiten-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #f5f8ff;
  text-wrap: balance;
  max-width: 12ch;
  width: 100%;
  text-align: center;
}

.webseiten-copy p {
  margin: 0;
  color: var(--default-color-washed);
  line-height: 1.55;
  font-size: clamp(15px, 1.1vw, 18px);
}

.webseiten-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.webseiten-media--fullwidth {
  width: 100%;
}

.webseiten-media--fullwidth > .dynamic-video-controls-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto;
}

.webseiten-media--fullwidth > .dynamic-video-controls-wrap > .webseiten-video,
.webseiten-media--fullwidth > .dynamic-video-controls-wrap > video.webseiten-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.webseiten-video {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 38vw, 560px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #101010;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  display: block;
}

.webseiten-video--spotlight {
  min-height: clamp(320px, 44vw, 720px);
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(247, 249, 255, 0.08), transparent 55%),
    #08090b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.webseiten-actions {
  margin-top: clamp(18px, 2.2vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.webseiten-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.webseiten-glass-nav {
  width: 100%;
  min-height: clamp(160px, 22vw, 220px);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 245, 255, 0.14), rgba(38, 19, 92, 0.35));
  border: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 1.3vw, 16px);
  padding: clamp(14px, 2vw, 20px);
}

.webseiten-glass-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.3vw, 12px) clamp(12px, 1.8vw, 18px);
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 220ms ease, transform 220ms ease;
}

.webseiten-glass-pill:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.webseiten-link {
  margin-top: clamp(10px, 1.2vw, 14px);
}

.webseiten-link--inline {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(65, 96, 255, 0.38), rgba(35, 180, 255, 0.2));
  border: 1px solid rgba(167, 197, 255, 0.3);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.webseiten-link--cta {
  margin-top: 0;
}

.cta-btn.webseiten-link--cta {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
  text-decoration: none;
}

.cta-btn.webseiten-link--cta:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

@media (max-width: 980px) {
  .webseiten-copy--spotlight p {
    padding-inline: 12%;
  }

  .webseiten-title {
    font-size: clamp(28px, 7vw, 44px);
    max-width: none;
  }

  .webseiten-video--spotlight {
    min-height: clamp(240px, 58vw, 420px);
    border-radius: 14px;
  }

  .webseiten-feature--spotlight {
    padding: 18px;
    border-radius: 18px;
  }

  .webseiten-actions .shiny-cta {
    width: min(100%, 320px);
    padding: 0.95rem 1.4rem;
    font-size: 0.98rem;
    text-align: center;
    text-decoration: none;
  }
}

@media (max-width: 600px) {
  .webseiten-feature--spotlight {
    justify-items: center;
  }

  .webseiten-copy--spotlight p {
    padding-inline: 6%;
    max-width: 40ch;
    margin-inline: auto;
  }

  .webseiten-feature--spotlight {
    padding: 14px;
    border-radius: 14px;
  }

  .webseiten-title {
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.08;
    max-width: 100%;
  }

  .webseiten-video--spotlight {
    min-height: clamp(200px, 62vw, 280px);
    border-radius: 12px;
  }

  .webseiten-actions {
    justify-content: center;
  }

  .webseiten-actions .shiny-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    text-align: center;
  }
}



.balaba-title {
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.balaba-description {
  max-width: 88ch;
  color: var(--default-color-washed);
  margin-bottom: clamp(12px, 1.7vw, 18px);
}

.balaba-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  align-items: stretch;
}

.balaba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #101010;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.balaba-slider-track {
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.balaba-slide {
  flex: 0 0 100%;
  margin: 0;
}

.balaba-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(250px, 37vw, 560px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.balaba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(40px, 3.3vw, 50px);
  height: clamp(40px, 3.3vw, 50px);
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.balaba-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.balaba-arrow--prev {
  left: clamp(10px, 1.1vw, 16px);
}

.balaba-arrow--next {
  right: clamp(10px, 1.1vw, 16px);
}

.balaba-copy-box {
  border-radius: 14px;
  padding: clamp(14px, 1.5vw, 20px);
  background: linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  overflow: auto;
}

.balaba-copy-main {
  margin: 0 0 10px;
  color: #f0f0f0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
}


.balaba-gallery-section {
  max-width: min(1700px, 97vw);
}

.weitere-projekte-section {
  max-width: min(1700px, 97vw);
}

@media (max-width: 1080px) {
  .fsbf-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fsbf-section-2026 .fsbf-reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fsbf-feature {
    grid-column: 1 / -1;
  }

  .fsbf-feature-video {
    min-height: clamp(190px, 42vw, 360px);
  }

  .fsbf-events-layout {
    grid-template-columns: 1fr;
  }

  .fsbf-events-transitions {
    grid-template-columns: 1fr;
  }

  .fsbf-followup-layout {
    grid-template-columns: 1fr;
  }

  .fsbf-automation-layout {
    grid-template-columns: 1fr;
  }

  .mustang-gallery {
    grid-template-columns: 1fr;
  }

  .balaba-intro-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fsbf-title {
    font-size: clamp(30px, 10vw, 44px);
  }

  .fsbf-section-2026 .fsbf-reels {
    grid-template-columns: 1fr;
  }

  /* min-height removed: card locks size via aspect-ratio; video fills absolutely */

  .mustang-photo img {
    min-height: clamp(220px, 56vw, 340px);
  }

  .mustang-reel-video {
    min-height: clamp(160px, 46vw, 250px);
  }

  .balaba-slide img {
    min-height: clamp(210px, 54vw, 330px);
  }
}

/* grid — fluid columns; denser on bigger screens */
.thumb-grid {
  display: grid;
  gap: clamp(6px, 1.5vw, 12px);
  grid-template-columns: repeat(3, 1fr);              /* tiny phones */
}
@media (min-width: 480px) {
  .thumb-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .thumb-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Geo panel video: full width, no border/radius */
.geo-panel-video-container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  left: 0 !important;
  right: 0 !important;
  position: relative;
}

/* FSBF reels on mobile: use natural 2-column flow (no forced empty slots) */
@media (max-width: 640px) {
  .fsbf-reels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    justify-items: center;
    align-items: center;
  }
  .fsbf-reels > * {
    grid-column: auto;
    grid-row: auto;
  }

  .fsbf-intertext,
  .fsbf-events-title {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    padding-left: clamp(12px, 2.3vw, 24px);
    padding-right: clamp(12px, 2.3vw, 24px);
  }
}

.thumb {
  position: relative;
  display: block;
  border: none;
  padding: 0;
  background: #eee;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  min-height: 0; /* avoid flex/grid overflow */
}
.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;    /* vertical-friendly look for the grid */
  object-fit: cover;
  display: block;
}

/* video badge */
.is-video .play-badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.is-video .play-badge::before {
  content: "";
  width: clamp(34px, 7vw, 48px);
  height: clamp(34px, 7vw, 48px);
  border-radius: 50%;
  background: rgba(0,0,0,.75);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.is-video .play-badge::after {
  content: "";
  position: absolute;
  border-left: clamp(10px, 2.2vw, 14px) solid #fff;
  border-top: clamp(6px, 1.6vw, 9px) solid transparent;
  border-bottom: clamp(6px, 1.6vw, 9px) solid transparent;
  transform: translateX(2px);
}

/* show-all behavior: 9 visible by default, reveal rest when expanded */
.thumb-grid .thumb { display: block; }
.thumb-grid:not(.is-expanded) .thumb:nth-child(n+10) { display: none; }

.view-all {
  margin: clamp(10px, 2.5vw, 16px) auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
  border: 0; border-radius: 999px;
  background: #111; color: #fff;
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1;
}

.view-allblue{
   
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
  border: 0; border-radius: 999px;
  background: #380d9e; 
  color: #ffffff;
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1;

}

/* viewer (on-page fullscreen) */
.viewer {
  position: fixed; inset: 0;
  padding:
    max(10px, env(safe-area-inset-top))
    max(10px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-left));
  background: rgba(0,0,0,.92);
  display: none;
  z-index: 999;
}
.viewer.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(8px, 2vw, 12px);
}

.viewer__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.viewer__stage img,
.viewer__stage video {
  max-width: min(96vw, 1100px);
  max-height: calc(100dvh - 160px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}

.viewer__caption {
  color: #fff; opacity: .8;
  text-align: center;
  padding: 0 clamp(8px, 2vw, 16px) clamp(8px, 2vw, 16px);
  font-size: clamp(12px, 2vw, 14px);
}

/* viewer controls */
.viewer__close {
  justify-self: end;
  margin-top: 0;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 8px;
  padding: clamp(6px, 1.6vw, 10px) clamp(8px, 2vw, 12px);
  cursor: pointer;
  backdrop-filter: blur(6px);
  font-size: clamp(16px, 3vw, 20px);
}
.viewer__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 0; background: rgba(255,255,255,.12);
  color: #fff;
  width: clamp(36px, 8vw, 46px);
  height: clamp(36px, 8vw, 46px);
  border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(6px);
  font-size: clamp(18px, 4vw, 22px);
  display: grid; place-items: center;
}
.viewer__prev { left: clamp(8px, 2vw, 12px); }
.viewer__next { right: clamp(8px, 2vw, 12px); }

/* lock body when open */
body.viewer-lock { overflow: hidden; }

/* accessibility & motion prefs */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ensure nav arrows are always clickable */
.viewer__nav {
  z-index: 5;              /* lift above media */
}

.viewer__stage img,
.viewer__stage video {
  position: relative;      /* keep in flow */
  z-index: 1;              /* lower than nav */
}




