/* =========================================================================
   Gymnase — main theme stylesheet
   Shared/common styles. Page-template colour overrides live in
   css/page-templates.css.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Design tokens & base
   ------------------------------------------------------------------------- */
:root {
--clr-red: #DB2822;
--clr-blue: #0275D4;
--clr-sky: #B3DAF4;
--clr-background: #FFFEF3;
--clr-beige: #FFECBB;
}

*{
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}

body{
	background-color:var(--clr-background);
	margin-bottom: 0 !important;
}
body.of_hidden{
	overflow: hidden;
}

.hide_on_desktop {
	display: none;
}
html.loading {
    overflow: hidden;
}
.d_flex{
	display: flex;
	height: 100%;
}
.jc_sp_btw{
	justify-content: space-between;
}
.ai_center{
	align-items: center;
}
.jc_center{
	justify-content: center;
}

/* -------------------------------------------------------------------------
   Header & navigation
   ------------------------------------------------------------------------- */
.page-template-default #sticky_header:hover{
	border-color: var(--clr-blue) !important;
}

#sticky_header nav {
	background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s ease-in-out;
}

#sticky_header nav:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.page-template-default  #sticky_header nav:hover ul{
	border-color: var(--clr-blue) !important;
}
.page-template-default #sticky_header nav a{
	transition: all 0.3s;
}
.page-template-default #sticky_header nav:hover a,
.page-template-default #sticky_header.is-active nav a{
	color: var(--clr-blue);
}
.page-template-default #sticky_header nav:hover .header_hamburger .line,
.page-template-default #sticky_header.is-active nav .header_hamburger .line{
	background-color: var(--clr-blue) !important;
}
.page-template-default #sticky_header.is-active,
.page-template-default #sticky_header.is-active nav ul{
	border-color: var(--clr-blue) !important;
}

#menu_links {
	display:flex;
	position: relative;
    /* right: calc(-100% - 20px); */
	max-width: 0;
	height: 100%;
    -webkit-transition: max-width 0.5s ease-out;
    transition: max-width 0.5s ease-out;
}

#menu_links.shown {
    /* right: 0; */
	/* max-width: 500px; */
	max-width: 800px;
}

/* -------------------------------------------------------------------------
   Home banner
   ------------------------------------------------------------------------- */
.header_banner_container {
	height:100vh;
	background-color:#FFECBB;
	z-index: 2;
    position: relative;
	margin-top:-70px;
}

.header_banner_container canvas{
	position: absolute;
	top:0;
	z-index: 3;
	touch-action: auto; /* Let the browser decide if scroll or touch interaction should happen */
    pointer-events: auto; /* Important to allow interaction */
}

.sec_gym_banner {
	height: calc(100vh - 60px);
	overflow: hidden;
	background-color: #FFECBB;
	position: relative;
	z-index: 1;
}
.div_gym_banner{
	display: flex;
	justify-content: center;
	height: 100%;
	flex-direction: column;
	position: relative;
}
.div_gym_banner > div{
	width: 100%;
	display: flex;
	justify-content: center;
}
.div_gym_banner .banner_logo_div{
	position: relative;
	/* border-top: 3px solid var(--clr-blue); */
}

.div_gym_banner .banner_logo_div .logo_top_line{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--clr-blue);
	clip-path: inset(0 var(--clip-right, 50%) 0 var(--clip-left, 50%));
  	transition: clip-path 2s ease;
}
.div_gym_banner .banner_logo_div .logo_mid_lines{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: inset(0 var(--clip-right, 50%) 0 var(--clip-left, 50%));
  	transition: clip-path 2s ease;
}
.div_gym_banner .banner_logo_div .logo_mid_lines:before,
.div_gym_banner .banner_logo_div .logo_mid_lines:after{
	content: '';
	position: absolute;
	left: 0;
	top: 32px;
	width: 100%;
	height: 3px;
	background-color: var(--clr-sky);
	clip-path: inset(0 var(--clip-right, 50%) 0 var(--clip-left, 50%));
  	transition: clip-path 2s ease;
}
.div_gym_banner .banner_logo_div .logo_mid_lines:after{
	top: auto;
	bottom: 32px;
}
.div_gym_banner .banner_studio_web{
	width: 100%;
	max-width: 640px;
	display: flex;
	justify-content: space-between;
}
.div_gym_banner .banner_gym_logo{
	position: relative;
	display: block;
	/* margin-top: -3px; */
}
.div_gym_banner .banner_gym_logo:before{
	content: '';
	position: absolute;
	left: 0;
	top: calc(50% - 1px);
	transform: translateY(-50%);
	width: calc(100% - 0px);
	aspect-ratio: 1;
	border: 3px solid var(--clr-red);
	border-radius: 50%;
	clip-path: inset(var(--clip-top, 50%) 0 var(--clip-bottom, 50%) 0);
  	transition: clip-path 1s ease;
}
.div_gym_banner .banner_gym_logo:after{
	content: '';
	position: absolute;
	left: 0;
	top: calc(50% - 4px);
	width: 100%;
	height: 3px;
	background-color: var(--clr-red);
	clip-path: inset(0 var(--clip-right, 50%) 0 var(--clip-left, 50%));
	transition: clip-path 1s ease;
}
.div_gym_banner img,
.div_gym_banner svg{
	width: 100%;
	position: relative;
	z-index: 9;
}
.banner_logo_div .circle_lr_lines{
	position: absolute;
	left: 0;
	top: calc(50% - 5px);
	width: 100%;
}

/* side lines*/
.banner_logo_div .circle_lr_lines:before,
.banner_logo_div .circle_lr_lines:after{
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3px;
	/* height: 460px; */
	height: 50vh;
	background-color: var(--clr-red);
	clip-path: inset(var(--clip-bottom, 100%) 0 0 0);
	transition: clip-path 1.5s ease;
	transition-delay: 3s;
}
.banner_logo_div .circle_lr_lines:after{
	left: auto;
	right: 0;
}
.div_gym_banner .studio_web_div{
	border: solid transparent;
	border-width: 3px 0;
	position: relative;
}
.div_gym_banner .studio_web_div:before,
.div_gym_banner .studio_web_div:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--clr-red);
	clip-path: inset(0 var(--clip-right, 50%) 0 var(--clip-left, 50%));
  	transition: clip-path 2s ease;
}
.div_gym_banner .studio_web_div:after{
	top: auto;
	bottom: 0;
}
.studio_text, .web_text {
  overflow: hidden; 
  display: inline-block;
}
.studio_text span, .web_text span {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(0);
}
.div_gym_banner p{
	font-size: 20px;
	font-family: ppneuemontrealregular;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
	padding: 0 25px;
	margin-bottom: 0;
}
.div_gym_banner .div_half_circle{
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1340px;
	/* height: 820px; */
	height: 85vh;
	min-height: 700px;
	border: solid var(--clr-blue);
	border-width: 0 3px 3px;
	border-radius: 0 0 820px 820px;
	clip-path: inset(var(--clip-top, 100%) 0 0 0);
	transition: clip-path 2s ease;
}
.banner_running_text{
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;

}
.banner_running_text marquee{
	font-size: 34px;
	font-family: ppneuemontrealregular;
}


.sec_studio_web {
	position: relative;
	z-index: 2;
	background-color: #FFFEF3;
	/* height:auto; */
	/* height: 100vh; */
	overflow: hidden; 

}
.div_studio_web{
	position: relative;
	/* height: 100%; */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.div_header_white{
	position: sticky;
	top: 0;
	border: solid var(--clr-blue);
	border-width: 3px 0;
/*	padding: 0 30px;*/
	z-index: 5;
	transition: background-color 0.5s;
	height: 70px;
}

#sticky_header {
	transition: background-color 0.5s;
	z-index: 100;
}

#sticky_header.is-active {
	background-color: #FFFEF3;
	color:var(--clr-blue);
}

#sticky_header.is-active #menu_links_toggle,
#sticky_header.is-active #menu_language {
	color: var(--clr-blue) !important;
}

.page-template-default .div_header_white.is-active {
	border-top: solid 3px var(--clr-blue);
    border-bottom: solid 3px var(--clr-blue);
}

.page-template-default #sticky_header.is-active a {
	color:var(--clr-blue);
}
.page-template-default #menu_links_toggle:hover,
.page-template-default #menu_language:hover{
	color:var(--clr-blue);
}
.div_header_white #menu_links_toggle,
.div_header_white #menu_language{
	outline: none;
}

.header_hide_mobile{
	display: flex;
    align-items: center;
	overflow-x: hidden;
}

.header_show_mobile, 
.btn_show_mobile{
	display: none;
}

.main_header{
	border: solid var(--clr-blue);
	border-width: 3px 0;
}

.div_header_white > div, .div_main_header > div{
	padding: 0 30px;
}
.div_header_white > div:first-child, .div_main_header > div:first-child{
	border-right: 2px solid var(--clr-blue);
}
.div_header_white.is-active > div:first-child, .div_main_header > div:first-child{
	border-right: 2px solid var(--clr-blue);
}
.div_header_white.is-active > div:last-child, .div_main_header > div:last-child{
	border-left: 2px solid var(--clr-blue);
}
.div_main_header > div:last-child{
	padding-left: 50px;
}
.div_header_white ul, .header_transparent ul, .div_main_header ul{
	padding: 0;
	list-style: none;
	display: flex;
	gap: 20px;
	margin:0;
	height: 100%;
}
.div_header_white ul li, .header_transparent ul li, .div_main_header ul li{
	padding: 20px;
	display: flex;
    flex-direction: row;
	align-items: center;
}
.div_header_white ul {
	border-left: 3px solid #0275D4;
}

#sticky_header .home_whistle {
	border-left: none;
}
.div_header_white a, .header_transparent a, .div_main_header a{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
}

#menu_links_toggle:visited,
.home #menu_links_toggle:active,
#menu_language:visited,
#menu_language:focus {
	color: var(--clr-blue);
}

.div_header_white a:visited {
	color:var(--clr-blue);
}

.div_header_white a:hover:after, .header_transparent a:hover:after, .div_main_header a:hover:after{
	width: 100%;
}

/* -------------------------------------------------------------------------
   Studio / manifesto section
   ------------------------------------------------------------------------- */
.txt_studio_web{
	padding: 50px 30px 250px 20px;
	word-break: break-word;
}

.txt_studio_web .manifesto_text_inner{
	font-size: 75px;
	line-height: 1.2; /* Or try other proportional values */
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	max-width: 1600px;
	margin: 0 auto;
	font-weight: unset;
	white-space: normal;
}

.highlight-text {
	position: relative;
	z-index: 1; /* ensures it's above the highlight bar */
  }
  
  .highlight-bar {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0%;
	background: yellow;
	z-index: 0; /* below the text span but above -1 weirdness */
  }

.highlight-target-souple {
	position: relative;
	display: inline-block;
	z-index: 1;
  }
  
  /* This sets up the invisible yellow background initially */
  .highlight-target-souple::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-color: yellow;
	z-index: -1;
	transform: scaleY(0);             /* <- collapsed initially */
	transform-origin: bottom;
	transition: transform 2s ease;  /* <- animates when changed */
  }

  .highlight-target-agile span {
	z-index:0;
  }
  
  /* This class triggers the animation */
  .highlighted::before {
	transform: scaleY(1);             /* <- grows upward on trigger */
  }

  .highlight-target-agile {
	overflow: hidden;
	position: relative;
  }

  .manifesto_text_inner div{
	z-index:1;
  }

.btn_studio_web{
	font-size: 24px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	border: 2px solid var(--clr-blue);
	border-radius: 50px;
	display: inline-block;
	text-align: center;
	margin-top: 40px;
	max-width: 256px;
	padding: 20px;
	text-decoration: none;
}

.red_whistle{
	position: absolute;
	top: 90px;
	right: 60px;
}

.sec_tab_mob_gym{
	position: relative;
}
.header_transparent{
	position: sticky;
	top: 0;
	border-bottom: solid #fff;
	border-width: 3px 0;
/*	padding: 0 30px;*/
	z-index: 1;
    height: 70px;
}
.header_transparent > div:first-child{
	border-right: 3px solid #fff;
	padding: 0 30px;
}
.header_transparent > div:last-child{
	border-left: 3px solid #fff;
	padding-left: 50px;
	padding-right: 30px;
}
.header_transparent a,
.header_transparent a:visited{
	color: #fff;
	position: relative;
}
.header_transparent a:after{
	background-color: #fff;
}
.header_transparent .menu_icon:before, .div_main_header .menu_icon:before{
	content: '=';
	/*	content: '×';*/
	font-size: 44px;
	display: inline-block;
	font-family: auto;
	position: absolute;
	left: -28px;
	top: 50%;
	transform: translateY(-50%);
}
.div_main_header .header_title{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	text-transform: uppercase;
}
.div_tab_mob_gym .div_img_bg{
	position: relative;
	height:100vh;
}
.div_tab_mob_gym .div_img_bg img{
	width: 100%;
	height:100vh;
	object-fit: cover;
}
.gym_logo_overlay{
	color: #fff;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: max-content;
}

.gym_logo_overlay svg:first-child{
	margin-right: 80px;
}

.gym_logo_overlay svg:last-child{
	margin-left: 80px;
}

.div_tab_mob_gym .div_tablet_content p,
.div_tab_mob_gym .div_mobile_content p{
	color: #fff;
	font-size: 20px;
	font-family: ppneuemontrealregular;

	position: absolute;
	top: 25%;
	right: 12%;
	text-shadow: 0 0 10px #777;
	z-index: 1;
}
.div_tab_mob_gym .div_mobile_content p{
	top: 28%;
	left: 20%;
}

.sec_all_links{
	/* margin-top: -4px; */
	position: relative;
	z-index: 1;
	background-color: var(--clr-beige);
}

.div_studio_web .div_project_link {
	height:138px;
	align-items: center;
}

.bounce-container {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 300px; /* base height */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	will-change: height;
}
  
.line {
	height: 3px;
	width: 100%;
	background: var(--clr-blue);
	flex-shrink: 0;
}
  
.button-container {
	flex-grow: 1;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
  
.bounce-button {
	width: 600px;
	height: calc(100% + 6px);
	border-radius: 100px;
	border: none;
	transition: border-radius 0.3s, color 0.3s ease;
	font-size: 32px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	text-decoration: none;
	text-transform: uppercase;
	border: 3px solid var(--clr-blue);
	background-color: transparent;
	position: relative;
	overflow: hidden;
	z-index: 1;
	cursor: pointer;
	background-clip: padding-box;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.bounce-button:visited{
	color: var(--clr-blue);
}

/* Directional fill (Osmo button-046 style): a full-size wrap scaled from
   the pointer position, holding an oversized circle. Animated in
   main_script.js; the button's overflow:hidden does the clipping. */
.btn-fill {
	position: absolute;
	inset: 0;
	display: block;
	transform: scale(0);
	transform-origin: 0 0;
	will-change: transform;
	pointer-events: none;
	z-index: -1;
}
.btn-fill__circle {
	position: absolute;
	display: block;
	inset: 0 auto auto 0;
	width: 220%;
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background-color: var(--clr-blue);
}

.div_video_bg {
	height: 100vh;
    width: 100vw;
	display: block;
}

.div_video_bg img {
	width: 100%;
    object-fit: cover;
    height: 100%;
}



/* Optional: subtle color change on hover */
.bounce-button:hover {
	color: var(--clr-background);
}

.div_all_links .div_project_link,
.div_studio_web .div_project_link{
	max-width: 100%;
	display: flex;
	justify-content: center;
	text-transform: uppercase;
	text-align: center;
	/* height:140px; */
	align-items: center;
}
.div_all_links .div_project_link a,
.div_studio_web .div_project_link a{
	font-size: 32px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	border: 3px solid var(--clr-blue);
	border-radius: 75px;
	padding: 48px 20px;
	display: inline-block;
	width: 574px;
	text-decoration: none;
	height: calc(100% + 0px);
}

.div_studio_web .div_project_link a {
	width:620px;
	padding:0;
	height: calc(100% + 6px);
	display: flex;
    align-items: center;
	padding-left: 70px;
    padding-right: 70px;
}

.div_all_links a,
.div_all_links .infinite-scroller ul li div,
.endlessTextLoop ul li div{
	display: block;
	width: 100%;
	text-align: center;
	font-size: 62px;
	font-family: ppneuemontrealbook;
	text-decoration: none;
	padding: 10px;
	text-transform: uppercase;
	white-space: nowrap;
}

.main_footer{
	background-color: #000;
	position: relative;
	z-index: 1;
	height:535px;
	overflow: hidden;
}

.div_footer .sentence{
	color: #fff;
	font-size: 64px;
	text-align: center;
	font-family: ppneuemontrealbook;
}
.div_footer .div_btn_footer a{
	color: #fff;
	font-size: 20px;
	font-family: ppneuemontrealbook;
	background-color: transparent;
	border: 3px solid #fff;
	border-radius: 40px;
	padding: 20px 0px;
}
.div_footer p{
	color: #fff;
	font-size: 24px;
	font-family: ppneuemontrealbook;
	align-self: center;
	margin-bottom: 0;
}

.div_footer a,
.div_footer a:visited{
	color: #fff;
	font-size: 24px;
	font-family: ppneuemontrealbook;
	align-self: center;
	text-decoration: none;
}

.div_footer .div_btn_footer{
	max-width: 750px;
	margin: 0 auto;
	padding: 40px 0 60px;
	gap: 80px;
}
.div_footer .div_logo_footer{
	padding: 50px;
	border-top: 3px solid #fff;
	align-items: center;
}
.div_footer .div_logo_footer div{
	color: #fff;
}
.div_footer .div_logo_footer > a{
	display: flex;
}

.social_icon svg {
	width:60px;
	height:60px;
}

/* -------------------------------------------------------------------------
   Dropdown / mobile menu
   ------------------------------------------------------------------------- */
.sec_drop_menu{
	background-color:#FFFEF3;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: scroll;
	/* transform: translateY(-100%); */
	transition: opacity 0.5s;
	z-index: 11;
	opacity: 0;
	top: 83px;
	visibility: hidden;
}

.close_icon {
	display: none;;
}
.sec_drop_menu.show_menu{
	/* transform: translateY(0); */
	opacity: 1;
	visibility: visible;
}
.div_drop_menu .div_header_white{
	border: solid var(--clr-blue);
	border-width: 3px 0;
}
.div_header_white .close_icon:before{
	content: '×';
font-size: 32px;
display: inline-block;
font-family: auto;
position: absolute;
left: -28px;
top: 50%;
transform: translateY(-50%);
}
.drop_nav_menu{
	max-width: 1440px;
	margin: 0 auto;
}
.drop_nav_menu ul{
	padding: 0;
	list-style: none;
	display: flex;
    flex-direction: column;
}
.drop_nav_menu ul li{
	padding: 10px 0;
	padding-left: 0!important;
}
.drop_nav_menu ul li a{
	font-size: 70px!important;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	padding: 0 50px;
	border-radius: 100px;
	text-decoration: none;
	padding-left:0!important;
}
.drop_nav_menu ul li a:hover{
	color: #fff;
	background-color: var(--clr-blue);
}

.drop_social_links{
	border-top: 2px solid var(--clr-blue);
}
.drop_social_links > div{
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px 0;
	display: flex;
	gap: 100px;
}
.drop_social_links a,
.drop_social_links a:visited {
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	text-decoration: none;
} 

.drop_social_links a:first-child{
	margin-left: 50px;
}

.sec_drop_menu {
	clip-path: circle(0% at 92% 0%);
	transition: opacity 0.4s ease,
	            clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0s linear 0.7s;
	will-change: opacity, clip-path;
}
.sec_drop_menu.show_menu {
	clip-path: circle(150% at 92% 0%);
	transition: opacity 0.4s ease,
	            clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.drop_nav_menu ul li {
	opacity: 0;
	transform: translateY(48px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sec_drop_menu.show_menu .drop_nav_menu ul li {
	opacity: 1;
	transform: translateY(0);
}
.sec_drop_menu.show_menu .drop_nav_menu ul li:nth-child(1) { transition-delay: 0.22s; }
.sec_drop_menu.show_menu .drop_nav_menu ul li:nth-child(2) { transition-delay: 0.30s; }
.sec_drop_menu.show_menu .drop_nav_menu ul li:nth-child(3) { transition-delay: 0.38s; }
.sec_drop_menu.show_menu .drop_nav_menu ul li:nth-child(4) { transition-delay: 0.46s; }
.sec_drop_menu.show_menu .drop_nav_menu ul li:nth-child(5) { transition-delay: 0.54s; }
@media (prefers-reduced-motion: reduce) {
	.sec_drop_menu,
	.sec_drop_menu.show_menu,
	.drop_nav_menu ul li,
	.sec_drop_menu.show_menu .drop_nav_menu ul li {
		clip-path: none;
		transform: none;
		transition: opacity 0.3s ease;
	}
}




/* -------------------------------------------------------------------------
   Projects listing & single-project pages
   ------------------------------------------------------------------------- */
.sec_project_list{
	padding: 200px 30px 100px;
	position: relative;
}
.div_project_list{
/*	display: flex;*/
/*	flex-wrap: wrap;*/
/*	justify-content: space-between;*/
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 100px;
	max-width: 1440px;
	margin: 0 auto;
}

#menu_links_toggle {
	text-transform: uppercase!important;
}

#projects_overlay_title {
	pointer-events: none;
}

.div_project_list h1, .div_project_title h1{
	position: fixed;
	left: 85px;
	top: 25px;
	font-size: 105px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	font-weight: unset;
	line-height: 1.2;
	z-index:99;
	transition: opacity 0.3s ease;
}
.div_project_list > div{
	/* width: calc(33.33% - 60px); */
	aspect-ratio: 1 / 0.73;
	border-radius: 25px;
	object-fit:cover;
	overflow: hidden;
}

.div_project_list video {
	height:100%;
	width:100%;
	object-fit: cover;
}

.div_project_list div img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.div_project_list .proj_climato{
	background-color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}
.div_project_list .proj_climato img{
	width: 100%;
	max-width: 174px;
}
.sec_project_title{
	position: relative;
}
.div_project_title{
	display: flex;
	justify-content: end;
	margin: 0 auto;
}
.div_project_title img{
	width: 70%;
}

.sec_project_desc{
	padding: 60px 0 0 0px;
}
.div_project_desc{
	display: flex;
}
.div_project_desc .proj_desc_left{
	width: 30%;
	padding-left: 12%;
}

.proj_desc_left ul {
	margin-left:0;
}

.proj_desc_left p {
	margin-bottom:0;
}

.div_project_desc .proj_desc_left p,
.sec_portfolio_img .project_description p,
.sec_portfolio_img .project_description li
{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	line-height:20px;
}
.div_project_desc .proj_desc_left ul{
	padding: 0;
	list-style: none;
	margin-bottom: 50px;
}
.div_project_desc .proj_desc_left ul li{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
}
.div_project_desc .proj_desc_left .project_website_link{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	border: 2px solid var(--clr-blue);
	border-radius: 40px;
	padding: 12px 25px;
	text-decoration: none;
	display: inline-block;
	margin-top: 10px;
	/* no transition: hover colors snap instantly (no fade), and the
	   elastic pulse (main_script.js) owns the transform */
	transition: none;
}

.div_project_desc .proj_desc_left a {
	color: var(--clr-blue);
	text-decoration: none;
}

.div_project_desc .proj_desc_left a:hover {
	color: #FFFEF3;
	background-color: var(--clr-blue);
	transition: all .5s ease-out;
}

/* the website button must not fade - colors snap, the pulse does the motion */
.div_project_desc .proj_desc_left a.project_website_link:hover {
	transition: none;
}

/* Collaborator links: no highlight - the name slides right and an arrow
   (pointing top-right) springs in from the left. */
.collab-link,
.div_project_desc .proj_desc_left a.collab-link {
	position: relative;
	display: inline-block;
	color: var(--clr-blue);
	text-decoration: none;
}
.collab-link:hover,
.div_project_desc .proj_desc_left a.collab-link:hover {
	color: var(--clr-blue);
	background-color: transparent;
}
.collab-link__arrow {
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.8em;
	height: 0.8em;
	opacity: 0;
	transform: translate(-0.7em, -50%);
	/* overshoot bezier = the little bounce on arrival */
	transition: transform 0.5s cubic-bezier(0.34, 2, 0.5, 1), opacity 0.2s ease-out;
}
.collab-link__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}
.collab-link__name {
	display: inline-block;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.collab-link:hover .collab-link__name {
	transform: translateX(1.1em);
}
.collab-link:hover .collab-link__arrow {
	opacity: 1;
	transform: translate(0, -50%);
}
@media (prefers-reduced-motion: reduce) {
	.collab-link__arrow,
	.collab-link__name { transition: opacity 0.2s ease-out; }
	.collab-link:hover .collab-link__name { transform: none; }
	.collab-link:hover .collab-link__arrow { transform: translate(-1em, -50%); }
}

.div_project_desc .proj_desc_right{
	width: 70%;
}
.div_project_desc .proj_desc_right p{
	font-size: 20px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
}
.div_project_desc .proj_desc_right h3{
	font-size: 44px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	max-width: 890px;
	position: relative;
	z-index: 1;
	line-height: 1.2;
	margin-top: -10px;
}
.div_project_desc .proj_desc_right > div{
	text-align: right;
	margin-top: -100px;
}

.project_description.hide_on_desktop {
	width: 60vw;
	margin-right: -20px;
	justify-self: end;
	margin-bottom: 30px;
    margin-top: 30px;
}

.project_description.hide_on_desktop ul{
	margin: 0;
    padding: 0;
    list-style: none;
}

.project_description.hide_on_desktop a{
	text-decoration: none;
	color: var(--clr-blue);
}

.project_description.hide_on_desktop p {
	margin-bottom:0px;
	margin-top:30px;
}

.proj_desc_right img {
    width: 40vw;
	/* max-height: 500px; */
    object-fit: contain;
}

.img_twothirds {
	width:66vw;
}

.project_snippets {
    display: flex;
    gap: 0;
}

.project_snippets video {
    width: 33.3333%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1; /* Optional: control aspect ratio */
	border: 2px var(--clr-blue) solid;
}

.project_snippets video:first-child,
.project_snippets video:nth-child(2) {
	border-right:none;
}

.portfo_imgs{
	/* padding-bottom: 120px; */
}
.portfo_imgs img{
	width: 100%;
	aspect-ratio: 2.4 / 1;
    object-fit: cover;
}

.project_big_website_link {
	font-size: 105px;
    color: var(--clr-blue);
    font-family: ppneuemontrealregular;
    font-weight: unset;
    line-height: 1.2;
	padding-bottom: 100px;
    padding-top: 100px;
	display: flex;
    align-items: center;
    justify-content: center;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #FFFEF3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader img{
	width:250px;
	height:auto;
	object-fit: contain;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.img_full_reveal {
  visibility: hidden;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.img_full_reveal img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.portfo_imgs .img_full{
	aspect-ratio: 2.4/1;
    width: 100vw;
}
.portfo_imgs .img_full video{
	object-fit: cover;
    width: 100%;
    height: 100%;
}
.div_prev_next{
	border: solid var(--clr-blue);
	border-width: 3px 0;
	min-height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.div_prev_next:before{
	content: '';
	position: absolute;
	left: calc(50% - 2px);
	top: 0;
	width: 3px;
	height: 100%;
	background-color: var(--clr-blue);
}
.div_prev_next a,
.div_prev_next a:visited{
	font-size: 32px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	flex: 1;
	text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index:2;
}

.header_transparent.blue_bg{
	background-color: var(--clr-blue);
}
.blue_bg .header_title{
	color: #fff;
	font-size: 20px;
	font-family: ppneuemontrealregular;
	text-transform: uppercase;
	align-self: center;
}

.sec_servc_accord{
	background-color: var(--clr-blue);
	position: relative;
	height: calc(100% + 300px);
    width: 100%;
}
.div_servc_accord .red_whistle{
	top: 35px;
}
.div_servc_accord h2{
	color: #fff;
	font-size: 40px;
	font-family: ppneuemontrealregular;
	padding: 30px;
	height:unset;
}

.serv_accordion {
	margin: 0;
	padding: 0;
	list-style: none;
}
.serv_accordion .accordion-item .div_panel{
	border-bottom: 2px solid #fff;
	margin-top: -2px;
}
.serv_accordion .accordion-title {
	color: #fff;
	font-size: 80px;
	font-family: ppneuemontrealbook;
	text-transform: uppercase;
	cursor: pointer;
	padding: 20px 55px 10px 30px;
	position: relative;
	font-weight: unset;
	display: flex;
	justify-content: space-between;
}

.accordion-icon {
	stroke: white;
	height: 100%;
    width: 100%;
}

.accordion-icon path {
	transition: stroke 0.3s ease;
}

.accordion-title:hover .accordion-icon {
	fill:white;
}

.accordion-title:hover .accordion-icon path{
	stroke: var(--clr-blue);
}

.serv_accordion .accordion-item:first-child .accordion-title{
	border-top: 2px solid #fff;
}
.serv_accordion .accordion-item .accordion-title{
	border-bottom: 2px solid #fff;
}
.serv_accordion .div_panel {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 0;
	position: relative;
}
.serv_accordion .div_panel:after{
	content: '';
	position: absolute;
	top: 0px;
	left: 80%;
	width: 2px;
	height: 100%;
	background-color: #fff;
}

.serv_accordion .accordion-panel {
	color: #fff;
	font-size: 28px;
	font-family: ppneuemontrealbook;
	padding: 30px 30px 50px 30px;
	width: 80%;
	margin-bottom: 0;
	font-weight: unset;
	flex: 1;
	box-sizing: border-box;
}

.serv_accordion .accordion-panel span{
	display: block;
	font-size: 50px;
	font-family: ppneuemontrealbook;
	font-weight:unset;
}

.accordion-icon-wrapper {
	transition: transform 0.4s ease;
	position: relative; /* or absolute, if you're positioning it manually */
	z-index: 99;
	pointer-events: auto;
}
.accordion-title:hover .accordion-icon path {
	stroke: var(--clr-blue);
}

.accordion-item.is-active .accordion-icon-wrapper {
	transform: rotate(90deg);
}

/* -------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------- */
.sec_contact_form{
	background-color: var(--clr-blue);
	padding-top: 70px;
}

.div_contact_form form > div,
.div_contact_form form > p,
.div_contact_form form > span,
.wpcf7-form-control-wrap{
	border-bottom: 2px solid #fff!important;
	text-align: center;
	width: 100%;
    display: block;
	margin-bottom:0;
}

.div_contact_form form br {
	display:none;
}

.div_contact_form form input[type='text'],
.div_contact_form form input[type='number'],
.div_contact_form form input[type='email'],
.div_contact_form form input[type='tel'],
.div_contact_form form label,
.div_contact_form h2{
	background-color: transparent;
	border: none;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
	color: #fff;
	font-size: 64px;
	font-family: ppneuemontrealregular;
	margin-bottom: -20px;
	padding-top: 20px;
}

.div_contact_form h2 {
	padding-bottom:20px;
	margin: auto;
}

.div_contact_form form input[name='text-message'] {
	font-size: 20px;
	min-height:300px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}

.div_contact_form form input:focus, .div_contact_form form textarea:focus{
	border: none;
	outline: none;
}
.div_contact_form form textarea{
	color: #fff;
	font-size: 20px;
	font-family: ppneuemontrealregular;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	background-color: transparent;
	border: none;
	min-height: 300px;
	padding: 20px 0;
}
::placeholder{
	color: #fff;
}

.wpcf7-not-valid-tip {
	display:none!important;
}

.div_contact_form form input[type='submit']{
	color: #fff;
	font-size: 20px;
	font-family: ppneuemontrealregular;
	border: 2px solid #fff;
	border-radius: 40px;
	min-width: 320px;
	padding: 20px;
	background-color: transparent;
	cursor: pointer;
	height: 75px;
	transition: all 0.3s;
	margin-bottom: -2px;
    margin-top: -2px;
}

.div_contact_form form input[type='submit']:hover{
	color: var(--clr-blue);
	background-color: white;
}

.div_contact_form .div_email{
	max-width: 1440px;
	margin: 0 auto;
	padding: 80px 30px;
}
.div_contact_form .div_email a{
	color: #fff;
	font-size: 64px;
	font-family: ppneuemontrealregular;
	text-decoration: none;
	word-break: break-all;
}

/* -------------------------------------------------------------------------
   Workout game
   ------------------------------------------------------------------------- */
#workout_game #dumbbells{
	position: relative;
	bottom:-400px;
	cursor: grab;
	height: fit-content;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
   Header hamburger & misc components
   ------------------------------------------------------------------------- */
.header_hamburger {
	padding-right: 10px;
	z-index:5;
}

.header_hamburger .line{
	width: 30px;
	height: 2px;
	background-color: #fff;
	display: block;
	margin: 8px auto;
	-webkit-transition: transform 0.3s ease-in-out, width 0.3s ease-out, background-color 0.3s ease-out;
	-o-transition: transform 0.3s ease-in-out, width 0.3s ease-out, background-color 0.3s ease-out;
	transition: transform 0.3s ease-in-out, width 0.3s ease-out, background-color 0.3s ease-out;
}
.header_hamburger:hover{
	cursor: pointer;
}  

.header_hamburger.is-active .line:nth-child(1),
.header_hamburger.is-active .line:nth-child(3) {
  width: 15px;
}

.header_hamburger.is-active .line:nth-child(1) {
  -webkit-transform: translate(-8px, 4px) rotate(-45deg);
  -ms-transform: translate(-8px, 4px) rotate(-45deg);
  -o-transform: translate(-8px, 4px) rotate(-45deg);
  transform: translate(-8px, 4px) rotate(-45deg);
}

.header_hamburger.is-active .line:nth-child(3) {
  -webkit-transform: translate(-8px, -4px) rotate(45deg);
  -ms-transform: translate(-8px, -4px) rotate(45deg);
  -o-transform: translate(-8px, -4px) rotate(45deg);
  transform: translate(-8px, -4px) rotate(45deg);
}

.div_header_white.is-active ul li:last-child {
	border-color: #fff;
}

.project-thumbnail h2 {
	display:none;
}

.header_for_mobile {
	display: flex;
    align-items: center;
    overflow-x: hidden;
}

.animated-footer {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sentence-container {
    position: relative;
    height: 200px; /* Match font-size or adjust */
    overflow: hidden;
}

.sentence span {
    display: inline-block;
    letter-spacing: -0.2em;
}

.sentence:first-child {
	top:50%;
	position: relative;
}

.sentence:not(:first-child) {
    position: relative;
    left: 0;
    top: 0;
}

.ripple-button,
.ripple-button-black {
	position: relative;
	display: inline-block;
	padding: 1em 2em;
	width: 600px;
	border-radius: 100px;
	border: 3px solid var(--clr-blue);
	background-color: transparent;
	font-size: 32px;
	color: var(--clr-blue);
	font-family: ppneuemontrealregular;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease;
  }
  
  .ripple-button .btn-fill__circle {
	background-color: var(--clr-blue);
  }

  .ripple-button-black .btn-fill__circle {
	background-color: black;
  }
  
  .ripple-button:hover {
	color: var(--clr-beige)!important;
  }

  .ripple-button-black:hover {
	color:white!important;
	border-color: black!important;
  }
  

  .project-thumbnail {
	position: relative;
	overflow: hidden;
	clip-path: circle(0% at 50% 50%);
	opacity: 0;
	transition: clip-path 1s ease, opacity 1s ease;
	height: 100%;
    width: 100%;
	border-radius: 25px;
}

.project-thumbnail::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--thumb-url);
	background-size: cover;
	filter: url(#duotone-bluewhite);
	pointer-events: none;
	z-index: 2;
	opacity: 1;
	transition: opacity 0.4s ease;
}

.project-thumbnail:hover::after {
	opacity: 0;
}

.project-thumbnail.hide-overlay::after {
	opacity: 0;
}

.project-thumbnail video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: translateY(4px);
}

.parallax-img-wrapper {
    will-change: transform;
    transition: transform 0.1s ease-out;
}
  
.btn-11 {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	height:100%;
	margin: 0;
	text-transform: uppercase;
	color: #b3d9ff;
	overflow: hidden;
	background: transparent;
	text-align: center;
	z-index:3;
  }
  
  .btn-11::before,
  .btn-11::after {
	  content: '';
	  position: absolute;
	  top: 50%;
	  width: 20px;
	  height: 20px;
	  background-size: cover;
	  background-repeat: no-repeat;
	  background-position: center;
	  border-radius: 50%;
	  transform: translateY(-50%);
	  z-index: -1;
  }
  
  .btn-11::before {
	left: -20px;
	transform: translate(-50%, -50%);
  }
  
  .btn-11::after {
	right: -20px;
	transform: translate(50%, -50%);
  }
  
  @keyframes criss-cross-left {
	0% {
	  left: -20px;
	  width: 40px;
	  height: 40px;
	}
	50% {
	  left: 50%;
	  width: 40px;
	  height: 40px;
	}
	100% {
	  left: 50%;
	  width: 120%;
	  height: 500%;
	}
  }
  
  @keyframes criss-cross-right {
	0% {
	  right: -20px;
	  width: 40px;
	  height: 40px;
	}
	50% {
	  right: 50%;
	  width: 40px;
	  height: 40px;
	}
	100% {
	  right: 50%;
	  width: 120%;
	  height: 500%;
	}
  }
  
.btn-11:hover {
	color: #e6f2ff; /* lighter tint */
}

.btn-11:hover::before {
	animation: criss-cross-left 1.5s both alternate;
}

.btn-11:hover::after {
	animation: criss-cross-right 1.5s both alternate;
}

.invert_black {
	transition: all 0.3s ease;
}

.invert_black:hover {
	color:black!important;
	background-color: white!important;
	transition: all 0.3s ease;
}

.project-thumbnail h2,
.div_project_list h2{
	color: #0275D4;
	font-family: ppneuemontrealregular;
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: 40px; /* 100% */
	margin-bottom: -55px;
	z-index: 2;
	position: relative;
	display: block;
}

.div_project_list h2 {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.footer_gif {
	position: relative;
	z-index: 100;
	pointer-events: none;
	width:300px;
	height:auto;
	left: 70%;
}
.footer_gif,
.footer_gif img {
    background: transparent;
}


.div_footer .div_btn_footer .footer_spacejam_link {
	border:none;
	font-size: 30px;
	width: 70%;
}

.div_btn_footer a {
	width:50%;
}

.flip_btn {
	position: relative;
	display: inline-block;
	transform-style: preserve-3d;
	transition: transform 0.6s;
}

.flip_btn.clicked {
	transform: rotateY(180deg);
}

.flip_btn span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.flip_front {
	z-index: 2;
}

.flip_back {
	transform: rotateY(180deg);
}

.div_footer .div_btn_footer .flip_btn {
	height:70px;
}

#cmplz-manage-consent .cmplz-manage-consent {
	display: none;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media only screen and (max-width: 1660px){

	.div_project_list h1, .div_project_title h1 {
		left: 30px;
		font-size: 96px;
	}
	.serv_accordion .accordion-title, .serv_accordion .accordion-panel span {
		font-size: 110px;
	}
	.serv_accordion .accordion-title:after {
		top: calc(50% - 40px);
		width: 80px;
		height: 80px;
	}
	.serv_accordion .accordion-panel {
		font-size: 42px;
	}

	.div_contact_form form input[type='submit'],
	.div_contact_form form input[type='text'],
	.div_contact_form form input[type='email'],
	.div_contact_form form input[type='tel'],
	.div_contact_form form label{
		padding-left: 30px;
		padding-right: 30px;
	}

	.div_contact_form h2 {
		padding-left: 30px;
	}

	.div_contact_form form textarea,
	.div_contact_form form input[name='text-message']{
		padding-left:30px;
		padding-right:30px;
	}

}

@media only screen and (max-width: 1440px){
	.sec_gym_banner{
		/* height: 720px; */
	}
	.div_gym_banner .banner_studio_web{
		max-width: 540px;
	}
	.div_gym_banner svg{
		height: 130px;
	}
	.div_gym_banner .div_half_circle{
		width: 1100px;
	 height: 800px;
	}
	.div_studio_web h2 {
		font-size: 68px;
		line-height: 80px;
	}

	.div_tab_mob_gym .div_img_bg h2{
		font-size: 200px;
	}
	.div_all_links a, .div_footer .sentence{
		font-size: 50px;
	}
	.sec_project_list{
		padding-top: 150px;
	}
	.div_project_list{
		gap: 40px;
	}
	.div_project_list h1, .div_project_title h1 {
		font-size: 72px;
	}
	.red_whistle.proj_pg {
		top: 50px;
		right: 30px;
	}
	.div_project_title img{
		max-width: 980px;
	}
	.serv_accordion .accordion-title{
		font-size: 96px;
	}
	.serv_accordion .accordion-panel span {
		font-size:36px;
	}
	.serv_accordion .accordion-title:after {
		top: calc(50% - 36px);
		width: 72px;
		height: 72px;
	}
	.serv_accordion .accordion-panel {
		font-size: 36px;
	}
	.div_contact_form h2, .div_contact_form form input[type='text'],
	.div_contact_form form input[type='number'], .div_contact_form .div_email a{
		font-size: 58px;
	}
	.drop_nav_menu ul li a{
		font-size: 82px;
	}

	.project_big_website_link {
		font-size: 75px;
		padding-bottom: 50px;
    	padding-top: 50px;
	}
}


@media only screen and (max-width: 1200px){
	.sec_gym_banner {
		/* height: 650px; */
	}
	.div_gym_banner .banner_studio_web {
		max-width: 420px;
	}
	.div_gym_banner svg{
		height: 120px;
	}
	.div_gym_banner .div_half_circle {
		width: 890px;
		height: 950px;
	}
	.project-thumbnail::after {
		filter:none;
	}
	.div_project_list {
    	grid-template-columns: repeat(2, 1fr);
	}
	.sentence:first-child {
    	top: 40%;
	}
	.banner_running_text marquee{
		font-size: 30px;
	}
	.div_header_white > div, .div_main_header > div {
		padding: 0 20px;
	}
	.div_header_white ul li, .header_transparent ul li, .div_main_header ul li{
		padding: 15px;
	}
	.div_studio_web h2 {
		font-size: 56px;
	}
	.div_all_links .div_project_link a{
		font-size: 28px;
		width: 500px;
		padding: 40px 20px;
	}
	.div_all_links a, .div_footer .sentence3 {
		font-size: 38px;
	}

	.div_tab_mob_gym .div_tablet_content p,
	.div_tab_mob_gym .div_mobile_content p{
		font-size: 18px;

		/*top: 200px;
		right: 12%;*/
	}

	.sec_project_list{
		padding-top: 120px;
	}
	.div_project_list{
		gap: 30px;
	}
	.div_project_list h1, .div_project_title h1 {
		font-size: 56px;
	}
	.red_whistle {
		right: 25px;
	}
	.red_whistle.proj_pg {
		top: 30px;
		right: 20px;
	}
	.div_project_title img {
		max-width: 800px;
	}
	.div_prev_next a{
		font-size: 28px;
	}
	.serv_accordion .accordion-title, .serv_accordion .accordion-panel span {
		font-size: 76px;
	}
	.serv_accordion .accordion-title:after {
		top: calc(50% - 32px);
		width: 64px;
		height: 64px;
	}
	.serv_accordion .accordion-panel {
		font-size: 30px;
	}
	.div_contact_form h2, .div_contact_form form input[type='text'],
	.div_contact_form form input[type='number'], .div_contact_form .div_email a{
		font-size: 52px;
	}
	.div_contact_form form textarea{
		min-height: 250px;
	}
	.wpcf7-spinner {
		display:none!important;
	}
	.drop_nav_menu ul li a {
		font-size: 64px;
	}

	.div_project_desc .proj_desc_left {
   		 padding-left: 5%;
	}

	.div_video_bg {
    	height: 60vh;
	}

	.div_project_list h2 {
		opacity: 1;
		visibility: visible;
	}
}


@media only screen and (max-width: 960px){

	.sec_project_desc {
		padding: 50px 20px 0 20px;
	}

	.sentence:first-child {
        top: 30%;
    }
	.sec_gym_banner {
		/* height: 450px; */
	}
	.div_gym_banner .banner_studio_web {
		max-width: 330px;
	}
	.div_gym_banner svg{
		height: 110px;
	}
	.div_gym_banner .div_half_circle {
		width: 600px;
		height: 790px;
	}
	.div_gym_banner p {
		font-size: 18px;
	}
	.banner_running_text marquee {
		font-size: 24px;
	}
	.red_whistle {
		top: 60px;
	}
	.txt_studio_web .manifesto_text_inner {
		font-size: 55px;
	}
	.div_studio_web h2 {
		font-size: 48px;
		line-height:60px;
	}
	.div_tab_mob_gym .div_img_bg h2 {
		font-size: 125px;
	}
	.div_all_links a, .div_footer .sentence {
		font-size: 44px;
	}
	.div_all_links .div_project_link a {
		font-size: 24px;
		width: 354px;
		padding: 30px 20px;
	}
	.div_header_white > div:first-child, .div_header_white > div:last-child{
		padding: 0 15px;
	}
	.div_header_white > div:last-child{
		padding-left: 35px;
	}
	.div_main_header > div:first-child, .div_main_header > div:last-child {
		padding: 0 25px;
	}
	.div_main_header > div:last-child {
		padding-left: 45px;
	}
	.div_header_white ul{
		gap: 10px;
	}
	.div_header_white ul li{
		padding: 15px;
	}
	.header_transparent ul li, .div_main_header ul li {
		padding: 15px;
	}
	.div_header_white a{
	font-size: 17px;
	}
	.header_transparent a, .div_main_header a{
		font-size: 18px;
	}
	.div_tab_mob_gym .div_tablet_content {
		/* margin-top: -55px; */
	}
	.sec_project_list{
		padding-top: 100px;
	}
	.div_project_list{
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
	.div_project_list h1, .div_project_title h1 {
		font-size: 42px;
	}
	.red_whistle {
		max-width: 60px;
	}
	.project-thumbnail img{
		border-radius: 15px;
		height: 220px;
	}

	.div_project_title img {
		max-width: 550px;
	}
	.div_project_desc{
		display: grid;
	}

	.proj_desc_right {
		grid-area:1;
	}
	.proj_desc_left {
		grid-area:2;
	}
	.div_project_desc .proj_desc_left, .div_project_desc .proj_desc_right{
		width: 100%;
	}
	.div_project_desc .proj_desc_left{
		display: flex;
		gap: 30px;
		justify-content: space-between;
		position: relative;
	}
	.div_project_desc .proj_desc_left > div{
		flex: 1;
	}
	.div_project_desc .proj_desc_left ul{
		margin: 0;
	}
	.div_project_desc .proj_desc_left a{
		position: absolute;
		left: 0;
		bottom: 0;
	}
	.div_project_desc .proj_desc_right h3{
		font-size: 32px;
	}
	.div_project_desc .proj_desc_right img{
		width: 100%;
		max-width: 370px;
	}
	.div_prev_next{
		min-height: 120px;
	}
	.div_prev_next a {
		font-size: 24px;
	}
	.serv_accordion .accordion-title, 
	.serv_accordion .accordion-panel span {
		font-size: 52px;
	}
	.serv_accordion .accordion-title:after {
		top: calc(50% - 24px);
		width: 48px;
		height: 48px;
		right: 30px;
	}
	.serv_accordion .accordion-panel {
		font-size: 24px;
	}
	.div_contact_form h2, .div_contact_form form > div{
		padding-left: 30px;
		padding-right: 30px;
	}
	.div_contact_form h2, 
	.div_contact_form form input[type='text'],
	.div_contact_form form input[type='number'],
	.div_contact_form form input[type='email'],
	.div_contact_form .div_email a{
		font-size: 42px;
	}
	.div_contact_form form textarea{
		min-height: 200px;
	}
	.div_contact_form .div_email {
		padding: 0;
		display:flex;
		justify-content: center;
        align-items: center;
		height:70px;
	}

	.drop_nav_menu ul{
		padding: 20px;
		margin-left: 0;
	}
	.drop_nav_menu ul li {
		padding:0;
	}
	.drop_nav_menu ul li a {
		font-size: 42px;
	}
	.drop_social_links > div{
		gap: 35px;
	}
	.drop_social_links a{
		font-size: 16px;
	}
	.div_drop_menu {
		height: calc(100vh - 70px);
		display: flex;
        flex-direction: column;
        justify-content: space-between;
	}
	.drop_nav_menu ul {
		margin-bottom:0;
	}
	.hide_on_mobile {
		display:none!important;
	}

	.project_big_website_link {
        font-size: 25px;
		padding-bottom: 40px;
        padding-top: 30px;
	}
	.hide_on_desktop {
		display: unset;
	}
	.project_description.hide_on_desktop {
		display: block;
	}
	.div_prev_next {
		display: none;
	}
}

@media only screen and (max-width: 640px){

	.project-thumbnail::after {
		filter: url(#duotone-bluewhite);
	}
	.header_for_mobile {
		width: 100%;
	}
	.header_for_mobile ul{
		width: 100%;
	}

	.header_for_mobile .header_show_toggle{
		padding-left:30px;
	}

	.header_hide_mobile{
		display: none!important;
	}
	.header_show_mobile{
		display: block;
	}
	.btn_show_mobile{
		display: flex;
	}
	.div_studio_web h2 {
		font-size: 35px;
		line-height: 40px;
	}
	.txt_studio_web {
		padding-left:10px;
		padding-top:40px;
		/* height:calc(100vh - 70px); */
	}
	.page-template-default #sticky_header.is-active nav ul {
		border:none;
	}
    #sticky_header nav a {
		text-transform: capitalize;
	}
	.drop_nav_menu {
		flex: 2;
		margin: 0;
	}
	#sticky_header nav {
		height:100%;
	}
	.main_header {
		border-width: 2px 0;
	}
	.div_project_list h2 {
		opacity: 0;
		visibility: hidden;
	}
	.header_transparent{
		border-width: 2px 0;
	}
	.div_video_bg {
    	height: 30vh;
	}
	.div_studio_web .div_project_link a {
		font-size:20px;
	}
	.div_header_white > div:first-child, .div_main_header > div:first-child,
	.header_transparent > div:first-child{
		display: none;
	}
	.div_header_white > div:last-child, .div_main_header > div:last-child,
	.header_transparent > div:last-child{
		padding: 0 10px;
		width: 100%;
		border-left: none;
	}
	.div_header_white > div:last-child, .div_main_header > div:last-child, 
	.header_transparent > div:last-child {
		padding-left: 30px;
	}
	.div_header_white ul, .header_transparent ul, .div_main_header ul{
		 justify-content: space-between;
	}
	.div_header_white ul li, .header_transparent ul li, .div_main_header ul li {
		padding-left: 0px;
	}
	.div_header_white ul li:last-child, .header_transparent ul li:last-child, .div_main_header ul li:last-child {
		border-left: 2px solid var(--clr-blue);
		padding-left: 20px;
	}
	.menu_language_selector{
		border-color: var(--clr-blue);
	}
	.div_main_header ul li:last-child{
		border-color: var(--clr-blue);
	}
	.div_header_white a, .header_transparent a, .div_main_header a{
		font-size: 20px;
	}
	.div_header_white.is-active .header_hamburger .line {
		background-color: #fff;
	}

	.div_main_header .header_title, .blue_bg .header_title{
		display: none;
	}
	.header_transparent .menu_icon:before, .div_main_header .menu_icon:before{
		font-size: 36px;
	}
	.red_whistle {
		max-width: 50px;
		top: 55px;
		right: 20px;
	}

	.div_tab_mob_gym .div_img_bg h2 {
		font-size: 88px;
	}
	.div_tab_mob_gym .div_tablet_content {
		/* margin-top: -41px; */
	}
	.div_tab_mob_gym .div_tablet_content p{
		/*top: 100px;
		right: 0;*/
	}
	.div_tab_mob_gym .div_mobile_content p {
		/*top: 100px;
		left: 0;*/
	}
	.div_all_links a, .div_footer  .sentence {
		font-size: 40px;
	}
    .div_all_links .div_project_link {
		height: 150px;
	}

	.div_all_links .div_project_link a {
		font-size: 18px;
		width: 100%;
		padding: 25px 20px;
		border-radius: 106.5px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.div_footer .div_logo_footer {
		border-top: none;
		padding-top:0;
	}

	.footer_social_links {
		display:none;
	}

	.div_footer .div_btn_footer {
		padding-bottom:0;
		padding-top:0;
		gap:0;
	}

	.sentence-container {
		height: 170px;
	}
	
	.div_footer p {
		font-size: 20px;
		margin-top: 30px;
		margin-bottom: 30px;
		text-align: center;
	}
	.div_footer .div_btn_footer a{
		font-size: 18px;
		padding: 15px 35px;
	}
	.sec_project_list{
		padding-top: 30px;
	}
	.project-thumbnail a{
		position: absolute;
		top: 0;
		height: 100%;
		width: 100%;
	}
	.div_project_list{
		grid-template-columns: repeat(1, 1fr);
		gap: 60px;
	}
	.div_project_list h1, .div_project_title h1 {
		font-size: 42px;
	}
	.div_project_list h1, .div_project_title h1 {
		font-size: 32px;
		top: 60px;
	}
	.div_project_title img {
		max-width: 300px;
		margin-top: 110px;
	}
	.div_project_desc .proj_desc_left ul li{
		font-size: 18px;
		line-height: 1.5;
	}
	.div_project_desc .proj_desc_left p{
		font-size: 18px;
	}
	.div_project_desc .proj_desc_left a{
		font-size: 16px;
		padding: 10px 20px;
	}

	.sec_servc_accord {
		padding-top:0;
	}
	.project-thumbnail h2,
	.div_project_list h2 {
        top: -10px;
		margin-top:0;
		z-index: 4;
	}
	.div_project_desc .proj_desc_right h3 {
		font-size: 20px;
	}
	.div_project_desc .proj_desc_right img {
        width: 60vw;
        height: auto;
        object-fit: cover;
		/* max-height: 250px; */
        object-fit: contain;
	}

	.img_twothirds {
		width:50vw;
		height:240px;
	}
	.portfo_imgs img {
		/* max-width: 280px; */
		height:240px;
		object-fit: cover;
	}
	.div_prev_next {
		min-height: 90px;
	}
	.div_prev_next a {
		font-size: 16px;
	}
	.drop_nav_menu ul {
		justify-content: center;
		gap:30px;
	}
	.drop_nav_menu li {
		background-color: var(--clr-blue);
		color:white;
		border-radius:100px;
		justify-content: center;
	}
	.drop_nav_menu li {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	.drop_nav_menu li.show {
		opacity: 1;
		transform: translateY(0);
	}
	.div_servc_accord h2 {
		font-size: 40px;
		font-family: ppneuemontrealregular;
		padding: 20px;
	}
	.div_servc_accord .red_whistle {
		top: 16px;
	}
	.serv_accordion .accordion-title {
		font-size: 30px;
	}
	.serv_accordion .accordion-panel span {
		font-size: 20px;
	}
	.serv_accordion .accordion-title{
		padding: 14px 20px 10px 20px;
	}
	.serv_accordion .accordion-title:after {
		top: calc(50% - 18px);
		width: 36px;
		height: 36px;
		right: 20px;
	}

	.serv_accordion .accordion-panel {
		font-size: 20px;
		padding: 20px;
		/* width: calc(80% - 40px); */
		width: 100%;
		border-right:0;
	}
	.serv_accordion .div_panel:after{
		display: none;
	}

	.div_contact_form form textarea,
	.div_contact_form form input[name='text-message']{
		min-height: 150px;
		display: block;
		border-bottom:none!important;
	}

	.div_contact_form form input[type='text'],
	.div_contact_form form input[type='email'],
	.div_contact_form form input[type='tel'],
	.div_contact_form form label,
	.div_contact_form h2{
		font-size: 36px;
		min-width: 250px;
	}

	.div_contact_form .div_email a {
		font-size: 30px;
		min-width: 250px;
	}

    .div_contact_form form input[type='submit']{
		font-size:20px;
	}

	.div_contact_form form input[name='text-message'] {
		font-size: 20px;
	}

	.drop_nav_menu ul li a{
		font-size: 80px;
		padding: 0 15px;
	}
	.drop_nav_menu ul li a {
		font-size: 65px !important;
		padding-right: 30px;
        padding-left: 30px !important;
	}
	.drop_social_links > div{
		gap: 10px;
		/* padding: 30px 20px; */
		padding: 20px;
		justify-content: space-evenly;
		align-items: center;
	}
	/* .drop_social_links a{
		width: calc(50% - 20px);
	} */
	.drop_social_links a .ir{
		display: flex;
	}
	.drop_social_links a svg{
		fill: var(--clr-blue);
	}
	.drop_social_links a:first-child {
		margin-left: 0;
	}
	.sec_drop_menu{
		/* transform: translateX(-100%); */
	}
	.sec_drop_menu.show_menu{
		/* transform: translateX(0); */
	}
	.div_tab_mob_gym .div_img_bg img,
	.div_tab_mob_gym .div_img_bg {
		/* height:50vh; */
	}
	.gym_logo_overlay {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	.gym_logo_overlay svg{
		width: 20vw;
		height: 70px;
	}
	.gym_logo_overlay svg:first-child {
		margin-right:0;
	}

	.gym_logo_overlay svg:last-child {
		margin-left:0;
	}
	.div_tab_mob_gym .header_transparent {
		display:none;
	}

	#bannerLoopingText {
		position: absolute;
		bottom: 0;
	}
	.div_project_desc .proj_desc_left{
		flex-direction: column;
		width: 60vw;
		margin-left: 40vw;
	}
	.div_project_desc .proj_desc_left a {
		position:unset;
		width: 150px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#workout_game #dumbbells{
		position: relative;
		bottom: -30%;
		cursor: grab;
		/* height: fit-content; */
		height: auto;
		width: 80vw;
		object-fit: contain;
	}
	.div_btn_footer, .div_logo_footer{
		flex-direction: column;
	}

	.sec_drop_menu{
		top:68px;
		border-top: 2px solid #0275D4;
	}
	#sticky_header nav:hover {
		background-color: unset;
	}

	/* #sticky_header.is-active a {
		color:#0275D4!important;
	} */

	.drop_nav_menu li a{
		color:white!important;
	}

	#sticky_header.is-active .menu_language_selector {
		border-color:#0275D4!important;
	}

	#sticky_header.is-active .header_hamburger .line {
		background-color:#0275D4!important;
	}

	.txt_studio_web .manifesto_text_inner{
		font-size: 38px;
	}

	.portfo_imgs .img_full video{
		width:100%;
		height:100%;
	}

	.project-thumbnail + h2 {
		display: none;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.div_project_list h2.show-title {
		opacity: 1;
		visibility: visible;
	}

	.div_project_list > div {
		margin:auto;
		overflow: visible;
		width: 100%;
	}

	.accordion-icon-wrapper {
		height:60px;
		width:60px;
	}

	.serv_accordion .accordion-title {
		align-items: center;
	}

	.div_header_white ul {
		border-left: none;
	}

	.div_btn_footer a,
	.footer_spacejam_link {
		width:70%;
	}

	.div_footer .div_btn_footer .footer_spacejam_link {
		padding-left:0;
		padding-right:0;
		font-size:24px;
		padding-top: 60px;
        padding-bottom: 60px;
	}

	.sentence:first-child {
		top:30%;
	}

	.div_gym_banner .div_half_circle {
        height: 390px;
    }

	.project-thumbnail::after {
		transform: translateY(0px);
	}
	.div_project_desc .proj_desc_right > div {
		text-align: right;
		margin-top: 0px;
		width: 100vw;
		padding-top: 50px;
	}

	.img_full.img_full_reveal.mobile_img {
		aspect-ratio: unset;
	}
	.bounce-button {
		font-size: 28px;
		padding-left:20px;
		padding-right:20px;
	}
	.project_snippets video:nth-child(2) {
		display:none;
	}
	.project_snippets video {
		width:50%;
	}

}

.infinite-scroller,
.endlessTextLoop {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 1;
    height: 60px;
    background-color: #FFECBB;
    display: flex;
	z-index: 1;
}

.infinite-scroller_inner,
.endlessTextLoop_inner
 {
    display: inline-flex;
    overflow: visible;
    width: 100%;
	list-style: none;
	margin-bottom: 0;
}

.infinite-scroller_inner ul,
.endlessTextLoop_inner ul {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.infinite-scroller_inner ul li,
.endlessTextLoop_inner ul li {
    padding-right: 0.75rem;
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.infinite-scroller_inner ul li div,
.endlessTextLoop_inner ul li div,
#bannerLoopingText .endlessTextLoop_inner div {
    font-family: Arial;
    letter-spacing: -.02em;
    font-size: 35px;
    text-transform: uppercase;
    color: black;
}

#bannerLoopingText .endlessTextLoop_inner div {
	padding:5px;
}

#bannerLoopingText .endlessTextLoop_inner {
	height:60px;
}

.srvc_link{
	border-radius: 50px;
}
.txt_blu_bg_sky{
	color: var(--clr-blue)!important;
	background-color: var(--clr-sky)!important;
}
.txt_wht_bg_red{
	color: #fff!important;
	background-color: var(--clr-red)!important;
}
.txt_blue{
	color: var(--clr-blue)!important;
}
.txt_red{
	color: var(--clr-red)!important;
}
.txt_wht_bg_blu{
	color: #fff !important;
	background-color: var(--clr-blue) !important;;
}
.txt_blk_bg_sky{
	color: #000 !important; 
	background-color: var(--clr-sky)!important;
}

.sec_all_links .infinite-scroller,
.endlessTextLoop {
	height:auto;
}

.sec_all_links .infinite-scroller ul li,
.endlessTextLoop ul li {
	padding-right:0;
}

.sec_all_links .infinite-scroller ul li div,
.endlessTextLoop ul li div{
	padding:20px;
}

.sec_servc_accord canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.sec_servc_accord {
	position: relative;
	overflow: hidden;
}

.falling-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	pointer-events: none; /* so it doesn't block buttons underneath */
}

.ui-overlay {
	position: relative;
	z-index: 99;
	pointer-events: none; /* allow clicks to pass through by default */
}

.accordion-icon-wrapper {
	position: relative;
	z-index: 100;
	pointer-events: auto; /* clickable again! */
}



#workout_game {
	display: flex;
    justify-content: center;
	background-color: #FFFEF3;
	overflow: hidden;
	height:100vh;
}

#workout_game p{
	color: #0275D4;
	font-family: ppneuemontrealregular;
	font-size: 24px;
	position: absolute;
    top: 30%;
}

.services-ticker-block {
  position: relative;
  display:flex; 
  align-items:center;
  overflow-x: hidden;
}

.stb_line_single {
  position: relative;
  white-space: nowrap;
  padding: 0;
  will-change: transform;
}
.stb-item {
  padding: 0;
  font-size: 6.4rem;
  display: inline-block;
  margin-right: 10rem;

}
.stb-item:hover {
    color: #C02534;
}

.endlessTextLoop {
	position: relative;
	display:flex; 
	align-items:center;
	overflow-x: hidden;
}

.endlessTextLoop_inner {
	position: relative;
	white-space: nowrap;
	padding: 0;
	will-change: transform;
	margin-left:0;
}
.endlessTextLoop_ele {
	padding: 0;
	font-size: 6.4rem;
	display: inline-block;
	margin-right: 0;
}
.endlessTextLoop_ele div {
	padding-left:30px;
	padding-right:30px;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
}

.mwg_effect050 .container {
    position: relative;
    z-index: 1;
    height: calc(100vh - 70px);
    display: block;
}
.mwg_effect050 .real-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0, 0);
    object-fit: cover;
    will-change: transform;
}
.mwg_effect050 .medias img {
    position: absolute;
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    pointer-events: none;
    visibility: hidden;
}
.div_video_bg video {
	height: 100%;
    width: 100%;
    object-fit: cover;
}

#page {
	background-color:#FFFEF3;
}

.sec_servc_accord canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	pointer-events: auto; 
	z-index: 10;
}

#sticky_header .home_whistle{
	height:100%;
	justify-content: center;
    align-items: center;
	padding-left: 15px;
}

#sticky_header .home_whistle a{
	height:100%;
	display: flex;
    align-items: center;
    justify-content: center;
}

#sticky_header .home_whistle img{
	height:80%;
	transform-origin: 50% 25%;
}

@keyframes whistle-wiggle {
	0%, 100% { transform: rotate(0deg); }
	15%      { transform: rotate(-14deg); }
	30%      { transform: rotate(12deg); }
	45%      { transform: rotate(-8deg); }
	60%      { transform: rotate(5deg); }
	75%      { transform: rotate(-2deg); }
}

#sticky_header .home_whistle:hover img {
	animation: whistle-wiggle 0.7s ease-in-out;
}

#sticky_header nav > .header_hide_mobile {
	overflow: visible;
}

.div_servc_accord {
    z-index: 9;
    position: relative;
}

.cmplz-cookiebanner {
	box-shadow: none!important;
	background-color:var(--clr-beige)!important;
	border-radius: 50px!important;
	border: 1px solid var(--clr-blue)!important;
}

.cmplz-cookiebanner .cmplz-close svg path{
	fill:var(--clr-blue)!important;
}

.cmplz-title,
.cmplz-message,
.cmplz-btn {
	font-family: ppneuemontrealregular;
}

.cmplz-title,
.cmplz-message {
	color:var(--clr-blue)!important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	border-radius:50px!important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	background-color: var(--clr-blue)!important;
	color:var(--clr-beige)!important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences {
	background-color: var(--clr-beige)!important;
	color:var(--clr-blue)!important;
	border:1px solid var(--clr-blue)!important;
}

/* -------------------------------------------------------------------------
   reCAPTCHA badge
   The reCAPTCHA script loads site-wide, but the form only exists on the
   contact page. Hide the badge everywhere except the contact page — keeping
   it visible there satisfies Google's ToS attribution requirement.
   ------------------------------------------------------------------------- */
.grecaptcha-badge {
	visibility: hidden;
}

body.page-template-gymnase-contact .grecaptcha-badge {
	visibility: visible;
}

#sticky_header #menu_links {
	display: none !important;
}

.navigation {
	z-index: 500;
	pointer-events: none;
	position: fixed;
	inset: 0;
	font-size: 16px;
}
.navigation__dark-bg {
	transition: all 0.7s cubic-bezier(0.5, 0.5, 0, 1);
	opacity: 0;
	pointer-events: auto;
	visibility: hidden;
	background-color: #000;
	position: absolute;
	inset: 0;
}
[data-navigation-status="active"] .navigation__dark-bg {
	opacity: 0;
	visibility: visible;
}
.hamburger-nav {
	position: absolute;
	top: 0.35em;
	right: 0.4em;
	width: 14em;
	height: 3.5em;
	overflow: hidden;
	border-radius: 1.5em;
	color: #0275D4;
	transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-navigation-status="active"] .hamburger-nav {
	width: 24em;
}
.hamburger-nav__bg {
	transition: opacity 0.4s ease;
	background-color: #FFFEF3;
	position: absolute;
	inset: 0;
	opacity: 0;
}
[data-navigation-status="active"] .hamburger-nav__bg {
	opacity: 1;
}
.hamburger-nav__group {
	pointer-events: auto;
	position: absolute;
	top: 0;
	right: 0;
	width: 24em;
	box-sizing: border-box;
	display: flex;
	flex-flow: column;
	padding: 1em 1.875em 2em 1.875em;
}
.hamburger-nav__topbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25em;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hamburger-nav__topbar .header_show_toggle {
	display: flex;
	align-items: center;
	gap: 0.6em;
	list-style: none;
}
.hamburger-nav__topbar .menu_language_selector {
	list-style: none;
}
.hamburger-nav__topbar a {
	color: #0275D4;
	text-decoration: none;
	text-transform: uppercase;
	font-family: ppneuemontrealregular, Arial, sans-serif;
	font-size: 20px;
}
.hamburger-nav__topbar .header_hamburger .line {
	background-color: #0275D4;
}
.hamburger-nav__ul {
	display: flex;
	flex-flow: column;
	margin: 1.25em 0 0 0;
	padding: 0;
	opacity: 0;
	transition: opacity 0.45s ease;
}
[data-navigation-status="active"] .hamburger-nav__ul {
	opacity: 1;
}
.hamburger-nav__li {
	margin: 0;
	padding: 0.3em 0;
	list-style: none;
}
.hamburger-nav__a {
	color: #0275D4;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	text-transform: none;
	display: flex;
	gap: 1.5em;
}
.hamburger-nav__a[aria-current] .hamburger-nav__p {
	opacity: 0.4;
}
.hamburger-nav__p {
	white-space: nowrap;
	margin: 0;
	font-size: 3em;
}
.hamburger-nav__dot {
	transition: all 0.7s cubic-bezier(0.5, 0.5, 0, 1);
	background-color: currentColor;
	border-radius: 50%;
	flex-shrink: 0;
	width: .5em;
	height: .5em;
	transform: scale(0) rotate(0.001deg);
	opacity: 0.5;
}
.hamburger-nav__a[aria-current] .hamburger-nav__dot {
	transform: scale(1) rotate(0.001deg);
	opacity: 1;
}
.hamburger-nav:has(.hamburger-nav__a:hover) .hamburger-nav__dot {
	transform: scale(0) rotate(0.001deg);
}
.hamburger-nav .hamburger-nav__a:hover .hamburger-nav__dot {
	transform: scale(1) rotate(0.001deg);
	opacity: 0.25;
}

.transition {
	z-index: 100;
	pointer-events: none;
	position: fixed;
	inset: 0;
	overflow: clip;
}
.transition__dark {
	opacity: 0;
	background-color: #000;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
html { scrollbar-gutter: stable; }
.otgs-development-site-front-end { display: none !important; }
body.page-template-gymnase-services .hamburger-nav,
body.page-template-gymnase-contact .hamburger-nav { color: #FFFEF3; }
body.page-template-gymnase-services .hamburger-nav__topbar a,
body.page-template-gymnase-contact .hamburger-nav__topbar a { color: #FFFEF3; }
body.page-template-gymnase-services .hamburger-nav__topbar .header_hamburger .line,
body.page-template-gymnase-contact .hamburger-nav__topbar .header_hamburger .line { background-color: #FFFEF3; }
body.page-template-gymnase-services [data-navigation-status="active"] .hamburger-nav,
body.page-template-gymnase-services [data-navigation-status="active"] .hamburger-nav__topbar a,
body.page-template-gymnase-contact [data-navigation-status="active"] .hamburger-nav,
body.page-template-gymnase-contact [data-navigation-status="active"] .hamburger-nav__topbar a { color: #0275D4; }
body.page-template-gymnase-services [data-navigation-status="active"] .hamburger-nav__topbar .header_hamburger .line,
body.page-template-gymnase-contact [data-navigation-status="active"] .hamburger-nav__topbar .header_hamburger .line { background-color: #0275D4; }

.menu_language_selector { border-left-width: 0 !important; border-left-style: none !important; }

/* Endless text loop: items must keep their natural width so the JS loop
   (main_script.js) can measure and wrap them seamlessly. Without this,
   flexbox shrinks items once clones are added and gaps appear. */
.endlessTextLoop_inner {
	width: max-content;
}
.endlessTextLoop_inner > li {
	flex: 0 0 auto;
}
.endlessTextLoop_inner > li > div {
	white-space: nowrap;
}

/* While a Barba transition reveals the homepage, keep its content hidden so
   nothing flashes before the intro animations - except the banner marquee,
   which stays visible during the reveal (see js/page-transitions.js). */
[data-barba="container"].gym-prehide main > * {
	visibility: hidden !important;
}
[data-barba="container"].gym-prehide main > .header_banner_container {
	visibility: visible !important;
}
[data-barba="container"].gym-prehide main > .header_banner_container > * {
	visibility: hidden !important;
}
[data-barba="container"].gym-prehide main > .header_banner_container > .endlessTextLoop {
	visibility: visible !important;
}

/* Hamburger hover: the lines squeeze together with a slight stagger,
   hinting at the menu. Disabled while .is-active (the X morph owns the
   transforms then) - hovering the MENU label triggers it too. */
.header_hamburger:not(.is-active):hover .line:nth-child(1),
.header_show_toggle:hover .header_hamburger:not(.is-active) .line:nth-child(1) {
	transform: translateY(3px);
}
.header_hamburger:not(.is-active):hover .line:nth-child(3),
.header_show_toggle:hover .header_hamburger:not(.is-active) .line:nth-child(3) {
	transform: translateY(-3px);
	transition-delay: 0.05s;
}

/* -------------------------------------------------------------------------
   Hamburger nav: sport balls instead of dots (soccer = Accueil,
   baseball = Projets, tennis = Services, basketball = Contact).
   Same scale-in behaviour as the old dots; they spin while hovered.
   ------------------------------------------------------------------------- */
@keyframes gym-ball-spin {
	from { rotate: 0deg; }
	to { rotate: 360deg; }
}
.hamburger-nav__ball {
	transition: transform 0.7s cubic-bezier(0.5, 0.5, 0, 1), opacity 0.7s cubic-bezier(0.5, 0.5, 0, 1);
	flex-shrink: 0;
	width: 1.7em;
	height: 1.7em;
	object-fit: contain;
	transform: scale(0) rotate(0.001deg);
	opacity: 0.5;
}
.hamburger-nav__a[aria-current] .hamburger-nav__ball {
	transform: scale(1) rotate(0.001deg);
	opacity: 1;
}
.hamburger-nav:has(.hamburger-nav__a:hover) .hamburger-nav__ball {
	transform: scale(0) rotate(0.001deg);
}
.hamburger-nav .hamburger-nav__a:hover .hamburger-nav__ball {
	transform: scale(1) rotate(0.001deg);
	opacity: 1;
	animation: gym-ball-spin 1.2s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.hamburger-nav .hamburger-nav__a:hover .hamburger-nav__ball { animation: none; }
}

/* -------------------------------------------------------------------------
   Projects page: the menu window is gymnase blue with white text;
   MENU / EN and the hamburger lines switch to white while it is open.
   (!important needed: the page transition leaves inline colors on them.)
   ------------------------------------------------------------------------- */
body.page-template-gymnase-projects .hamburger-nav__bg {
	background-color: #0275D4;
}
body.page-template-gymnase-projects .hamburger-nav__a,
body.page-template-gymnase-projects .hamburger-nav__p {
	color: #FFFEF3;
}
body.page-template-gymnase-projects [data-navigation-status="active"] .hamburger-nav__topbar a {
	color: #FFFEF3 !important;
}
body.page-template-gymnase-projects [data-navigation-status="active"] .hamburger-nav__topbar .header_hamburger .line {
	background-color: #FFFEF3 !important;
}

/* No menu balls on mobile */
@media only screen and (max-width: 768px) {
	.hamburger-nav__ball {
		display: none;
	}
}

/* Mobile: hide the floating reCAPTCHA badge (attribution text required
   instead - see the note in the contact form). */
@media only screen and (max-width: 768px) {
	.grecaptcha-badge {
		visibility: hidden !important;
	}
}

/* Mobile: once content scrolls under the header, give it a solid
   background (page-appropriate color). Class set in main_script.js. */
@media only screen and (max-width: 768px) {
	#sticky_header {
		transition: background-color 0.3s ease;
	}
	#sticky_header.gym-scrolled {
		background-color: #FFFEF3;
	}
	body.page-template-gymnase-services #sticky_header.gym-scrolled,
	body.page-template-gymnase-contact #sticky_header.gym-scrolled {
		background-color: #0275D4;
	}
}

/* Mobile: slightly smaller manifesto text on the homepage */
@media only screen and (max-width: 768px) {
	body.home .txt_studio_web .manifesto_text_inner,
	body.home .div_studio_web h2 {
		font-size: 30px;
		line-height: 35px;
	}
}
