/* =================================================================
 * STORM visual solutions — Custom CSS overrides
 * Loaded LAST — overrides template and vendor styles.
 * ================================================================= */

.tt-fullscreen-video-wrap {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.tt-fullscreen-video-wrap .tt-embed-video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.tt-fullscreen-video-wrap .tt-embed-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100vh;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: 0;
}

@media (max-width: 768px) {
	.tt-fullscreen-video-wrap {
		display: flex;
		align-items: center;
	}

	.tt-fullscreen-video-wrap .tt-embed-video-bg {
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}

	.tt-fullscreen-video-wrap .tt-embed-video-bg iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		min-width: unset;
		min-height: unset;
		transform: none;
	}
}

/* ---<< Font override: Mukta replaces Noto Serif JP >>------------ */
.font-alter {
	font-family: 'Noto Sans', sans-serif !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
#ball,
.tt-main-menu,
.ph-caption-title-ghost,
.ph-caption-subtitle,
.scroll-down-circle,
.made-with-love,
.tt-ol-menu-toggle-btn-text,
.tt-m-menu-toggle-btn-text,
.tt-ol-menu-list,
.tt-heading,
.tt-btn,
.social-buttons,
.footer-social,
.tt-ps-nav-pagination,
.tt-pc-navigation,
.tt-cc-pagination,
.tt-phc-item::before,
.tt-phc-counter,
.pli-counter,
.ttgr-cat-trigger-wrap,
.ttgr-cat-list,
.ttgr-cat-classic-nav,
.portfolio-interactive-item,
.tt-copyright,
.project-info-list,
.tt-pn-link,
.tt-pn-subtitle,
.ph-share-ghost,
.tt-search-ghost,
.tt-pagination,
.tt-scrolling-text,
#blog-list.bli-compact .bli-info::before,
.blog-interactive-item::before,
.tt-heading-subtitle {
	font-family: 'Noto Sans', sans-serif;
}
/* ----------------------------------------------------------------- */

@media (min-width: 1025px) {
	#page-header.ph-full {
		min-height: 70vh;
	}
}

.scroll-down-circle {
	display: none !important;
}

/* ---<< Logo sizing >>-------------------------------------------- */
.tt-logo img {
	max-height: 100px;
}

@media (max-width: 768px) {
	.tt-logo img {
		max-height: 80px;
	}
}
/* ----------------------------------------------------------------- */

.portfolio-film-info {
	padding: 40px 0 60px;
}

.portfolio-film-info .project-info-list {
	margin-bottom: 30px;
}

.portfolio-film-back {
	margin-top: 20px;
}

.portfolio-slider-subtitle {
	bottom: 100px;
	top: auto;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.tt-portfolio-slider .tt-psi-image {
		object-fit: contain;
		width: 100%;
		height: 100%;
	}
}

.portfolio-slider-subtitle .tt-psc-elem {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.7;
}

/* ---<< Client logo wall >>---------------------------------------- */
.tt-logo-wall > li {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding: 20px;
	box-sizing: border-box;
}
.tt-logo-wall > li img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(100%);
	transition: filter .3s, opacity .3s;
}
.tt-logo-wall > li:hover img {
	filter: none;
}
/* ----------------------------------------------------------------- */

/* ---<< Contact form field errors >>------------------------------ */
.tt-form-minimal [data-meriad-entity="form-field"].is-invalid .tt-form-control {
	border-color: #e74c3c !important;
}

.tt-form-minimal [data-meriad-entity="form-field-feedback"] {
	display: none;
	margin-top: 5px;
	font-size: 12px;
	color: #e74c3c;
	line-height: 1.4;
	list-style: none;
	padding: 0;
}

.tt-form-minimal [data-meriad-entity="form-field-feedback"].invalid-feedback {
	display: block;
}

.tt-form-minimal [data-meriad-entity="form-feedback"] {
	list-style: none;
	padding: 0;
	font-size: 13px;
	color: #e74c3c;
	line-height: 1.5;
}

.tt-turnstile-wrap {
	margin-top: 20px;
	margin-bottom: 10px;
}
/* ----------------------------------------------------------------- */

/* ---<< Video sound toggle >>------------------------------------- */
.sound-toggle {
	position: fixed;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(234, 234, 234, 0.25);
	background: rgba(0, 0, 0, 0.35);
	color: #eaeaea;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	z-index: 50;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: opacity 0.2s, background-color 0.2s, border-color 0.2s;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
	background: rgba(0, 0, 0, 0.55);
	border-color: rgba(234, 234, 234, 0.55);
	outline: none;
}

.sound-toggle:focus-visible {
	box-shadow: 0 0 0 2px rgba(234, 234, 234, 0.35);
}

.sound-toggle i { pointer-events: none; }

@media (min-width: 1025px) {
	.sound-toggle {
		right: 3.5%;
		bottom: calc(4% + 75px);
	}
}
/* ----------------------------------------------------------------- */

/* Footer copyright: op mobiel breekt de "algemene voorwaarden"-link
   netjes als gecentreerde block onder de copyright-regel. */
@media (max-width: 1024px) {
	.tt-copyright-separator {
		display: none;
	}

	.tt-copyright .tt-copyright-terms {
		display: block;
		margin-top: 4px;
	}
}
/* ----------------------------------------------------------------- */
