@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
	--duration: .6s;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--bg: #ffffff;
	/* menu background (white like your ref) */
	--fg: #111111;
	/* text color */
	--accent: #000000;
	/* semi-circle color */
}

*, *:before, *:after {
	box-sizing: border-box;
	font-family: "Unbounded", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
.border-0{
	border: 0 !important;
}
.studio-container{
	padding: 0px 150px 30px 150px;
}
.studio-content{
	font-size: 1.3rem;
	line-height: 1.5;
	font-weight: 300;
}
.back-icon{
	rotate: 90deg;
	height: 50px !important;
}
.back-btn{
	transition: all 0.5s ease;
}
.back-btn:hover{
	box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
	transform: translateY(-7px);
}
.image-zoom-wrapper.fullscreen .back-btn{
	display: none;
}
.image-zoom-wrapper .back-btn {
	display: flex;
	width: fit-content;
	align-items: center;
}
.roboto {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
.message-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1055;
	/* above most content; below modal if needed */
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease;
}

.message-overlay.visible {
	opacity: 1;
	pointer-events: auto;
}

.message-box {
	max-width: 90vw;
}

.message-box .alert {
	margin: 0;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
	transform: translateY(10px) scale(.98);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}

.message-overlay.visible .alert {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.contact-form .form-control{
	border-radius: 0px !important;
}
.contact-form button {
	border-radius: 0px !important;
}
.footer{
	position: relative;
	z-index: 2;
	background: #fff;
}
.footer-link{
	text-decoration: none;
	text-transform: uppercase;
	color: #000;
}
.footer-links-container{
	display: flex;
	justify-content: space-around;
}
.about-heading{
	font-weight: 200;
}
.about-content{
	white-space: pre-wrap;
	font-weight: 300;
	font-size: 1rem;
}
.contact-address{
	font-weight: 300;
}
.contact-email{
	text-decoration: none;
}
.cus-nav{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	background: transparent;
	background-color: transparent;
}
.hd-logo{
	/* margin-top: 30px; */
	background: black;
	max-width: 270px;
}
.hd-initials{
	max-width: 40px;
	margin-top: -10px;
}
.wrapper {
	max-width: 1170px;
	padding: 0 30px;
	margin-left: auto;
}
.cell {
	display: table-cell;
	vertical-align: middle;
}
@font-face {
	font-family: tradebold;
	font-style: normal;
	src: url(https://www.epicurrence.com/static/style/font/TradeGothicLTPro-Bold.woff2) format("woff2"), url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/318335/TradeGothicLTPro-Bold.woff) format("woff");
}
html, body {
	height: 100%;
}
body {
	/*font-family: "tradebold";
	text-transform: uppercase;
	background: url("https://www.epicurrence.com/static/media/img/home/camp/bg.jpg") center;
	background-size: cover;
	color: #fc581c;
	display: table;
	width: 100%;
	*/
	background-color: #ffffff;
}
.cat-sin-image{
	position: absolute;
	max-width: 60%;
	top: 50%;
	left: 90%;
	transform: translate(-90%, -50%) scale(0.75);
	transition: all 1s ease;
}
.section.active .cat-sin-image{
	transform: translate(-90%, -50%) scale(1);
	transition: all 1s ease;
}
.toggle {
	cursor: pointer;
	display: inline-block;
	margin-bottom: 60px;
	padding-bottom: 10px;
	border-bottom: 2px solid currentColor;
	letter-spacing: 1px;
	position: absolute;
	top: 330px;
	left: 30px;
	z-index: 1;
}
.sec-title {
	text-transform: uppercase;
	position: fixed;
	top: 50%;
	left: 5%;
	transform: translateY(-50%);
	z-index: 2;
}
.section:nth-of-type(3n+1) .sec-title {
	color: #FB613F; /* 1st */
}

.section:nth-of-type(3n+2) .sec-title {
	color: #01D6CF; /* 2nd */
}

.section:nth-of-type(3n+3) .sec-title {
	color: #FF3A3D; /* 3rd */
}


h1 > span.word {
	display: block;
	overflow: hidden;
	position: relative;
}
h1 > span.word + span.word {
	margin-top: -20px;
}
h1 > span.word > span {
	float: left;
	font-size: 140px;
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.05em;
	transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
	transform: translateY(100%);
}
h1 > span.word:nth-child(1) > span:nth-child(1) {
	transition-delay: 0.04s;
}
h1 > span.word:nth-child(1) > span:nth-child(2) {
	transition-delay: 0.08s;
}
h1 > span.word:nth-child(1) > span:nth-child(3) {
	transition-delay: 0.12s;
}
h1 > span.word:nth-child(1) > span:nth-child(4) {
	transition-delay: 0.16s;
}
h1 > span.word:nth-child(1) > span:nth-child(5) {
	transition-delay: 0.2s;
}
h1 > span.word:nth-child(1) > span:nth-child(6) {
	transition-delay: 0.24s;
}
h1 > span.word:nth-child(1) > span:nth-child(7) {
	transition-delay: 0.28s;
}
h1 > span.word:nth-child(1) > span:nth-child(8) {
	transition-delay: 0.32s;
}
h1 > span.word:nth-child(1) > span:nth-child(9) {
	transition-delay: 0.36s;
}
h1 > span.word:nth-child(1) > span:nth-child(10) {
	transition-delay: 0.38s;
}
h1 > span.word:nth-child(1) > span:nth-child(11) {
	transition-delay: 0.4s;
}
h1 > span.word:nth-child(1) > span:nth-child(12) {
	transition-delay: 0.42s;
}
h1 > span.word:nth-child(2) > span:nth-child(1) {
	transition-delay: 0.05s;
}
h1 > span.word:nth-child(2) > span:nth-child(2) {
	transition-delay: 0.09s;
}
h1 > span.word:nth-child(2) > span:nth-child(3) {
	transition-delay: 0.13s;
}
h1 > span.word:nth-child(2) > span:nth-child(4) {
	transition-delay: 0.17s;
}
h1 > span.word:nth-child(2) > span:nth-child(5) {
	transition-delay: 0.21s;
}
h1 > span.word:nth-child(2) > span:nth-child(6) {
	transition-delay: 0.25s;
}
h1 > span.word:nth-child(2) > span:nth-child(7) {
	transition-delay: 0.29s;
}
h1 > span.word:nth-child(2) > span:nth-child(8) {
	transition-delay: 0.33s;
}
h1 > span.word:nth-child(2) > span:nth-child(9) {
	transition-delay: 0.37s;
}
h1 > span.word:nth-child(2) > span:nth-child(10) {
	transition-delay: 0.41s;
}
h1 > span.word:nth-child(2) > span:nth-child(11) {
	transition-delay: 0.45s;
}
h1 > span.word:nth-child(2) > span:nth-child(12) {
	transition-delay: 0.49s;
}
h1 > span.word:nth-child(3) > span:nth-child(1) {
	transition-delay: 0.05s;
}
h1 > span.word:nth-child(3) > span:nth-child(2) {
	transition-delay: 0.09s;
}
h1 > span.word:nth-child(3) > span:nth-child(3) {
	transition-delay: 0.13s;
}
h1 > span.word:nth-child(3) > span:nth-child(4) {
	transition-delay: 0.17s;
}
h1 > span.word:nth-child(3) > span:nth-child(5) {
	transition-delay: 0.21s;
}
h1 > span.word:nth-child(3) > span:nth-child(6) {
	transition-delay: 0.25s;
}
h1 > span.word:nth-child(3) > span:nth-child(7) {
	transition-delay: 0.29s;
}
h1 > span.word:nth-child(3) > span:nth-child(8) {
	transition-delay: 0.33s;
}
h1 > span.word:nth-child(3) > span:nth-child(9) {
	transition-delay: 0.37s;
}
h1 > span.word:nth-child(3) > span:nth-child(10) {
	transition-delay: 0.41s;
}
h1 > span.word:nth-child(3) > span:nth-child(11) {
	transition-delay: 0.45s;
}
h1 > span.word:nth-child(3) > span:nth-child(12) {
	transition-delay: 0.49s;
}

.section.active h1 > span.word > span {
	transform: translateY(0);
}
/* .mobile-banners {
	display: none;
} */
@media (max-width: 991px) {
	h1 > span.word > span {
		font-size: 100px;
	}
	/* .mobile-banners{
		display: block;
	}
	.desktop-banners{
		display: none;
	} */
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.home-title {
	position: fixed;
	top: 50px;
	left: 50px;
	z-index: 10;
	overflow: hidden;
	height: 150px; /* Adjust based on your font size */
	width: auto;
	pointer-events: none;
}

.split-text-container {
	display: flex;
	font-size: 6rem;
	font-weight: 900;
	color: red;
	overflow: hidden;
}
.text-part {
	display: inline-block;
	position: relative;
	transform: translateY(0);
	animation-duration: 1s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

.home-title.entering .text-part.left {
	transform: translateY(-200%);
	animation-name: slide-in-left;
}

.home-title.entering .text-part.right {
	transform: translateY(200%);
	animation-name: slide-in-right;
}

.home-title:not(.entering) .text-part.left {
	transform: translateY(200%);
	animation-name: slide-out-right;
}

.home-title:not(.entering) .text-part.right {
	transform: translateY(-200%);
	animation-name: slide-out-left;
}
.home-title:not(.entering) {
	/*opacity: 0;*/
}
@keyframes slide-in-left {
	0% {
		transform: translateY(-200%);
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes slide-in-right {
	0% {
		transform: translateY(200%);
	}
	100% {
		transform: translateY(0);
	}
}
@keyframes slide-out-left {
	0% {
		transform: translateY(0%);
	}
	100% {
		transform: translateY(-200);
	}
}

@keyframes slide-out-right {
	0% {
		transform: translateY(0%);
	}
	100% {
		transform: translateY(200);
	}
}
/*.section.active .home-title {
opacity: 1;
transform: translateY(-40px);
}*/

.images {
	position: relative;
	width: 600px;
	height: 600px;
}

.images img {
	position: absolute;
	/*
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	*/
	opacity: 0;
	transition: transform 1s ease, opacity 1s ease;
	max-width: 100%;
	height: auto;
}

.section.active .images img {
	opacity: 1;
}
.archivo {
	font-family: "Unbounded", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
.section .images img:nth-child(1) {
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.5);
	max-width: 300px;
}
.section .images img:nth-child(2) {
	top: 30%;
	left: 90%;
	transform: translate(-10%, -60%) scale(0.5);
	max-width: 500px;
}
.section .images img:nth-child(3) {
	top: 80%;
	left: 100%;
	transform: translate(0%, -50%) scale(0.5);
	max-width: 400px;
}
.section .images img:nth-child(4) {
	top: 100%;
	left: 0%;
	transform: translate(-80%, -100%) scale(0.5);
	max-width: 500px;
}

/* Scatter positions */
.section.active .images img:nth-child(1) {
	transform: translate(-50%, -50%) scale(1);
}
.section.active .images img:nth-child(2) {
	transform: translate(-10%, -60%) scale(1);
}
.section.active .images img:nth-child(3) {
	transform: translate(0%, -50%) scale(1);
}
.section.active .images img:nth-child(4) {
	transform: translate(-80%, -100%) scale(1);
}

.name {
	cursor: pointer;
	letter-spacing: 0.05em;
}

.name span {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width 1s ease, opacity 1s ease;
	opacity: 0;
	vertical-align: bottom;
}

.name:hover span {
	max-width: 200px; /* Adjust if needed */
	opacity: 1;
}
.cross {
	position: relative;
	width: 30px;
	height: 30px;
	cursor:pointer;
}

.cross::before,
.cross::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: 100%;
	background-color: #000;
	transform-origin: center;
	cursor:pointer;
}

.cross::before {
	transform: rotate(45deg);
}

.cross::after {
	transform: rotate(-45deg);
}

.flip-card {
	background-color: transparent;
	width: 100%;
	height: 300px;
	perspective: 1000px;
}
.flip-card.expanded {
	height: 100vh;
	z-index: 20;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	/*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);*/
}

.flip-card:not(.expanded):hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	cursor: pointer;
}

.flip-card-front {
	background-color: #000;
	color: #000;
}

.flip-card-back {
	background-color: #000;
	color: #fff;
	transform: rotateY(180deg);
}
.back-text{
	text-align: center;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: 400;
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	/* padding: 20px; */
}

.category {
	background: #ffffff;
	border-radius: 0px;
	overflow: hidden;
	/*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
	transition: all 0.5s ease-in-out;
	position: relative;
}

.category img.cover {
	width: 100%;
	display: block;
	transition: all 0.5s ease;
	cursor: pointer;
}
.image-wrapper {
	position: relative;
	display: inline-block;
	overflow: hidden;
}
.image-wrapper img {
	width: 100%;
	display: block;
	transition: all 0.5s ease;
	cursor: pointer;
}

.image-wrapper .overlay-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	/* Text color */
	font-size: 1.2rem;
	font-weight: 300;
	text-align: center;
	opacity: 0;
	/* Hidden initially */
	transition: opacity 0.3s ease;
	pointer-events: none;
	/* Ensure clicks go through */
}

.image-wrapper:hover .overlay-text {
	opacity: 1;
	/* Show on hover */
}

.image-wrapper:hover img {
	filter: brightness(60%);
	/* Darken image on hover (optional) */
}

/*.category img.cover:hover {
transform: scale(1.3);
transition: all 0.5s ease;
}*/
.holographic-card{
	transition: all 0.5s ease;
}
.holographic-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		0deg, 
		transparent, 
		transparent 30%, 
		rgba(0,255,255,0.3)
	);
	transform: rotate(-45deg);
	transition: all 0.5s ease;
	opacity: 0;
}

.holographic-card:hover {
	transform: scale(1.05);
	/*box-shadow: 0 0 20px rgba(0,255,255,0.5);*/
	transition: all 0.5s ease;
}

.holographic-card:hover::before {
	opacity: 1;
	transform: rotate(-45deg) translateY(100%);
}

.holographic-card {
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center; /* horizontal center */
    height: 100%;          /* make sure it fills the container */
}

.holographic-card img.cover {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;  /* keeps aspect ratio */
}




.holographic-container {
	display: flex;
	align-items: center;
	/* vertical center */
	justify-content: center;
	/* horizontal center */
	height: 100%;
	/* make sure it fills the container */
}

.holographic-container img.cover {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	display: block;
	width: 100%;
	height: auto;
	/* keeps aspect ratio */
}
.holographic-container>a {
	display: block;
	/* or flex: 1 1 100%; */
	width: 100%;
}

.category.expanded img.cover {
	opacity: 0;
	height: 0;
	pointer-events: none;
}
img.cover:hover{
	opacity: .5;
}
.image-wrapper img:hover{
	opacity: 1;
}
/* .category:hover{
	box-shadow: 0 0 20px rgba(0,255,255,0.5);
} */
.category.expanded {
	grid-column: 1 / -1;
	transition: all 1s ease;
	z-index:20;
}
.category:not(.expanded) {
	/*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}
.viewer-title{
	font-weight: 200;
}
.gallery-viewer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.category.expanded .gallery-viewer {
	max-height: 100vh;
	padding: 10px 0;
	padding-top: 30px;
	/* padding-top: 70px; */
}

.carousel-wrapper {
	position: relative;
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.carousel-image {
	max-height: 100%;
	max-width: 70%;
	object-fit: contain;
	transition: transform 0.3s ease-out, opacity 0.5s ease;
	cursor: zoom-in;
	z-index: 1;
	opacity: 0;
	transform-origin: center center;
	will-change: transform;
	position: relative;
}

.carousel-image.active {
	transition: transform 0.3s ease-out, opacity 3s ease;
	opacity: 1;
}
.carousel-image.active :not(.zoomed) {
	transform: scale(1) !important;
}

.carousel-image.zoomed {
	transform: scale(1.5);
	cursor: zoom-out;
}

.nav-button {
	position: absolute;
	top: 0;
	height: 100%;
	width: 60px;
	background-color: #fff;
	color: #000;
	font-size: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	z-index: 2;
}

.nav-button.left {
	left: 0;
}
.nav-button.right {
	right: 0;
}
.close-btn {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	border: none;
	cursor: pointer;
	z-index: 3;
	font-size: 3rem;
	background: none;
}
.category.expanded .close-btn {
	display: block;
}
.counter {
	text-align: center;
	margin-top: 20px;
	font-weight: bold;
}
.project-viewer-title{
	position: relative;
	left: 50%;
	transform: translateX(-80%);
}


.project-view-img{
	transition: all 0.5s ease;
}
.project-view-img:hover {
	opacity: .5;
}


/* ===== Toggle (checkbox hack) ===== */
.nav-toggle {
	position: fixed;
	inset: 0 auto auto 0;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* ===== Semi-circle button ===== */
.semicircle {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 60px;
	/* half height = semi-circle */
	background: var(--accent);
	border-radius: 0 0 60px 60px;
	/* bottom rounded = semi */
	z-index: 1001;
	/* above everything, incl. menu */
	display: grid;
	place-items: center;
	color: #fff;
	letter-spacing: .08em;
	font-weight: 800;
	text-transform: lowercase;
	cursor: pointer;
	transition: transform .25s ease, opacity .25s ease;
	box-shadow: 0 6px 22px rgba(218, 212, 0, .30);
	user-select: none;
}

.semicircle:focus-visible {
	outline: 3px solid #7ec3ff;
	outline-offset: 3px;
}

.semicircle:hover {
	transform: translateX(-50%) scale(1.03);
}

/* Optional visual change when menu is open */
/* .nav-toggle:checked+.semicircle {
	transform: translateX(-50%) scale(1.03) rotate(180deg);
} */

/* ===== Sliding full-screen menu ===== */
.menu-panel {
	position: fixed;
	inset: 0;
	/* top/right/bottom/left:0 */
	width: 100vw;
	height: 100vh;
	background: var(--bg);
	color: var(--fg);
	z-index: 1000;
	/* sits under the button */
	transform: translateY(-100%);
	/* start fully above the page */
	transition: transform .7s cubic-bezier(.86, 0, .07, 1);
	/* transition: transform var(--duration) var(--ease); */
	display: grid;
	grid-template-rows: auto 1fr;
	/* for vertical centering group */
}

.nav-toggle:checked~.menu-panel {
	transform: translateY(0);
	/* slides in from top */
}
.nav-toggle:checked .zoom-cursor {
	display: none !important;
}
/* Hide all custom cursor bubbles when menu is open */
body:has(.nav-toggle:checked) .zoom-cursor {
	display: none !important;
}

/* If you have more cursor bubbles, give them a common class and hide too */
body:has(.nav-toggle:checked) .cursor-bubble {
	display: none !important;
}

.menu-inner {
	grid-row: 1;
		/* move to top row */
		align-self: start;
		/* stick to top */
		padding: 10rem 6vw 0;
	/* grid-row: 2; */
	/* center row */
	display: grid;
	gap: 2.25rem;
	justify-items: center;
	/* padding: 0 6vw; */
}

/* Top row of links (your: Home, Portfolio, Projects, Studio, Bio, Contact) */
.menu-primary {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-content: center;
	width: 80%;
}

.menu-primary a {
	text-decoration: none;
	color: var(--fg);
	font-weight: 400;
	font-size: clamp(18px, 2.2vw, 20px);
	letter-spacing: .06em;
	position: relative;
}

.menu-primary a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: #000;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}

.menu-primary a:hover::after {
	transform: scaleX(1);
}

/* Optional secondary grid (categories etc.) */
.menu-grid {
	display: grid;
	gap: .6rem 2.2rem;
	grid-template-columns: repeat(3, minmax(180px, 1fr));
	width: min(1100px, 92vw);
}

.menu-grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-grid li {
	padding: .2rem 0;
	font-size: clamp(18px, 2.2vw, 20px);
}

.menu-grid a {
	color: inherit;
	text-decoration: none;
}

.menu-grid a:hover {
	text-decoration: underline;
}

.menu-primary>li {
	position: relative;
}

/* horizontal dropdown */
.menu-primary .submenu {
	position: absolute;
	top: calc(100% + 2px);
	/* width: 100%; */
	/* left: 50%;
	transform: translate(-50%, -6px); */
	transform: translateY(-10px);
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: .6rem .9rem;
	padding-top: 20px;
	background: var(--bg, #fff);
	/* border-radius: 999px; */
	/* box-shadow: 0 10px 24px rgba(0, 0, 0, .15); */
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
	z-index: 2000;
}

.menu-primary .submenu a {
	text-decoration: none;
	color: var(--fg, #111);
	font-weight: 400;
	font-size: clamp(18px, 2.2vw, 20px);
}

/* show on hover of Portfolio */
.menu-primary .has-submenu:hover .submenu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
/* Fixed layer sits behind everything */
.hero-layer {
	position: fixed;
	inset: 0;
	z-index: 0;
	/* content will scroll over it */
	pointer-events: none;
	background: #fff;
	/* outside the scaled frame is white */
}

/* Slight oversize to eliminate sub-pixel side lines on some GPUs */
.hero-frame {
	position: absolute;
	top: 0;
	left: 50%;
	width: calc(100vw + 2px);
	height: 100vh;
	transform-origin: top center;
	transform: translateX(-50%);
	will-change: transform;
	backface-visibility: hidden;
	contain: paint;
	/* transition: transform .7s cubic-bezier(.86, 0, .07, 1); */
	pointer-events: auto;
}
.hero-frame.is-animating {
	transition: transform 0.9s linear;
}
.hero-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* Overlay scales with the image (inside hero-frame) */
.overlay-ti {
	position: absolute;
	inset: 0;
	background: #0000005c;
	z-index: 2;
	cursor: url('https://www.hd.thebrandstudio.in/storage/media/down_white_96_bold_extra.png') 16 16, auto;
}

.overlay-ti h1 {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 6rem;
	margin: 0;
	text-align: center;
	width: 80%;
}

/* Push content below the first viewport; then it scrolls over the fixed hero */
.hero-spacer {
	height: 100vh;
	cursor: url('https://www.hd.thebrandstudio.in/storage/media/down_white_96_bold_extra.png') 16 16, auto;
	/* transition: transform .7s cubic-bezier(.86, 0, .07, 1); */
}

/* Content naturally sits above the fixed hero */
.above-hero {
	position: relative;
	z-index: 1;
	background: #fff;
	min-height: 100vh;
}
/* Small screens */
@media (max-width: 700px) {
	.menu-grid {
		grid-template-columns: 1fr 1fr;
	}
	.grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.menu-primary {
	justify-content: center;
	/* center all rows */
	text-align: center;
	/* align text center */
	}

	.menu-primary>li {
	flex: 0 1 auto;
	/* prevent stretching */
	}
}

@media (max-width: 480px) {
	.semicircle {
		width: 96px;
		height: 48px;
		border-radius: 0 0 48px 48px;
	}

	.menu-grid {
		grid-template-columns: 1fr;
	}
}
@media (min-width: 500px) and (max-width: 1200px) {
	.menu-inner {
		padding: 5rem 6vw 0;
	}
}
@media screen and (max-width:800px) and (orientation:landscape),
screen and (max-height:300px) {

}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
	.reveal {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* Base hidden state */
.reveal {
	opacity: 0;
	transform: translate3d(0, 0, 0);
	/* will be overridden by slide variants */
	transition-property: opacity, transform;
	transition-duration: var(--reveal-speed, 700ms);
	transition-timing-function: cubic-bezier(.22, 1, .36, 1);
	/* “power1.inOut” vibe */
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

/* Visible state */
.reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) !important;
}

/* Variants — set starting transform */
.reveal[data-anim="fade"] {
	/* only opacity */
}

.reveal[data-anim="slide-up"] {
	transform: translate3d(0, 50px, 0);
}

.reveal[data-anim="slide-down"] {
	transform: translate3d(0, -24px, 0);
}

.reveal[data-anim="slide-left"] {
	transform: translate3d(40px, 0, 0);
}

.reveal[data-anim="slide-right"] {
	transform: translate3d(-40px, 0, 0);
}

/* Optional: stagger within containers */
.reveal[data-stagger] {
	/* just a marker; JS will set inline delays */
}

.magnific-img img {
	width: 100%;
	height: auto
}

.mfp-bottom-bar,
* {
	font-family: 'Unbounded', sans-serif
}

.magnific-img {
	display: inline-block;
	width: 30.3%;
	vertical-align: middle;
	margin-bottom: 4%
}

.magnific-img:not(:nth-child(3n)) {
	margin-right: 3.5%
}

/* overlay fade */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	transition: all .5s ease-out
}

.mfp-with-zoom.mfp-ready .mfp-container {
	opacity: 1
}

.mfp-with-zoom.mfp-ready.mfp-bg {
	opacity: 1
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0
}

.mfp-removing .mfp-content {
	opacity: 0;
	transform: scale(.985);
	transition: opacity .2s ease, transform .2s ease;
}

/* Magnific layout */
.mfp-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	position: fixed;
	background: rgb(255 255 255 / 90%) !important
}

.mfp-wrap {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	position: fixed;
	outline: none !important;
	-webkit-backface-visibility: hidden
}

.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	/* padding: 0 8px; */
	padding: 0px !important;
	box-sizing: border-box;
	/* ⛔ kill viewer scrollbar; keep page scrollbar */
	overflow: hidden !important;
}

.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle
}

.mfp-align-top .mfp-container:before {
	display: none
}

/* ✅ force center */
.mfp-content {
	position: relative;
	display: inline-block;
	margin: 0 auto !important;
	text-align: center !important;
	z-index: 1045;
	width: auto !important;
	max-width: 100% !important;
	opacity: 1;
	transition: opacity 0.5s ease;
	/* ensure content never grows taller than viewport */
	max-height: 100vh !important;
}

.mfp-wrap.xfade .mfp-content {
	opacity: 0;
}

.mfp-figure {
	display: inline-block;
	margin: 0 auto !important
}

/* misc */
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
	width: 100%;
	cursor: auto
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
	user-select: none
}

.mfp-hide {
	display: none !important
}

.mfp-image-holder .mfp-close {
	color: transparent !important;
	right: 25px !important;
	top: 15px !important;
	text-align: right;
	padding-right: 6px;
	width: 100%
}

.mfp-counter {
	position: absolute;
	top: 0;
	right: 0;
	color: #CCC;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap
}

/* default spacing on the raw <img> (we now transform the wrapper) */
img.mfp-img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	box-sizing: border-box;
	padding: 40px 0;
	margin: 0 auto;
	/* make sure image fits inside viewport without inner scroll */
	max-height: calc(100vh - 80px) !important;
	/* 40px + 40px padding */
}

/* custom arrows */
button.mfp-arrow:before,
button.mfp-arrow:after {
	content: none !important;
	border: none !important
}

button.mfp-arrow {
	width: 64px !important;
	height: 64px !important;
	opacity: .9 !important;
	background-image: url(https://www.hd.thebrandstudio.in/storage/media/down_black_96_bold_extra.png) !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
}


button.mfp-arrow-left {
	transform: rotate(90deg) !important;
	left: 5% !important
}

button.mfp-arrow-right {
	transform: rotate(-90deg) !important;
	right: 5% !important
}

/* show arrows/counter on hover */
.mfp-container:hover button.mfp-arrow,
.mfp-container:hover .mfp-counter {
	opacity: 1 !important
}

/* remove default figure shadow */
.mfp-figure:after {
	content: '';
	position: absolute;
	left: 0;
	top: 40px;
	bottom: 40px;
	display: block;
	right: 0;
	z-index: -1;
	box-shadow: none !important;
	background: none !important
}

/* cursors */
img.mfp-img {
	cursor: none !important
}

img.mfp-img.zoomed {
	cursor: none !important
}

/* base close visuals */
button.mfp-close {
	cursor: pointer !important
}

.mfp-close {
	width: 30px !important;
	height: 30px !important;
	cursor: pointer !important;
	background: #fff !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.mfp-close::before,
.mfp-close::after {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	right: 15% !important;
	width: 1px !important;
	height: 100% !important;
	background: #000 !important;
	transform-origin: center !important
}

.mfp-close::before {
	transform: rotate(45deg) !important
}

.mfp-close::after {
	transform: rotate(-45deg) !important
}

/* 🔒 Hide close & side arrows while ZOOMED (all screens) */
.mfp-wrap.zoomed-mode .mfp-close {
	opacity: 0 !important;
	pointer-events: none !important
}

.mfp-wrap.zoomed-mode button.mfp-arrow {
	opacity: 0 !important;
	pointer-events: none !important
}

.mfp-wrap.zoomed-mode .mfp-abc {
	opacity: 0 !important;
	pointer-events: none !important
}

/* Only the zoom wrapper gets GPU hints (so fixed close stays fixed) */
.zoom-layer {
	display: inline-block;
	position: relative;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: transform
}

.mfp-bottom-bar {
	display: none !important;
}

/* ---------- ABC BUTTON (next to close) ---------- */
.mfp-abc {
	position: fixed !important;
	top: 12px !important;
	right: 56px !important;
	/* 36 close + 8 gap + 12 page offset */
	z-index: 1065 !important;
	padding: 6px 10px !important;
	line-height: 1 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	border: 1px solid #000 !important;
	background: #fff !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	border: 0px !important;
}
.mfp-arrow-right::before{
	margin-left: auto !important;
	margin-right: 0 !important;
}
@media (max-width:796px) {
	.mfp-abc {
		top: 8px !important;
		right: 56px !important;
	}
	.footer-links-container {
		display: block;
	}
	.footer-item {
		margin-bottom: 1.5rem;
	}
}

/* ===== Fit-width viewing (un-zoomed) ===== */
.mfp-wrap.fit-width .mfp-content { max-height: none !important; }
.mfp-wrap.fit-width .mfp-container { overflow: hidden !important; } /* viewport as mask */
.mfp-wrap.fit-width img.mfp-img{
  /* width: 100vw !important;  
  height: auto !important;   */
	width: auto !important;  
	  height: 100vh !important;  
  max-height: none !important; /* allow to be taller than viewport */
  padding: 0 !important;    /* no extra white bars */
  transform: translate3d(0,0,0); /* will be updated on hover */
  transition: transform .12s ease-out; /* slight smoothing */
}


/* mobile landscape tweaks */
@media screen and (max-width:800px) and (orientation:landscape),
screen and (max-height:300px) {
	.mfp-img-mobile .mfp-image-holder {
		padding-left: 0;
		padding-right: 0
	}

	.mfp-img-mobile img.mfp-img {
		padding: 0
	}

	.mfp-img-mobile .mfp-bottom-bar {
		background: rgba(0, 0, 0, .6);
		bottom: 0;
		top: auto;
		padding: 3px 5px;
		position: fixed;
		box-sizing: border-box
	}

	.mfp-img-mobile .mfp-counter {
		right: 5px;
		top: 3px
	}

	.mfp-img-mobile .mfp-close {
		position: fixed;
		background: transparent !important
	}
}

/* 📱 Mobile layout & controls */
@media (max-width:796px) {
	.studio-container {
		padding: 10px 50px 20px 50px;
	}
	.hero-frame {
		position: relative;
		/* not fixed, so it flows naturally */
		height: auto;
		/* take image’s natural height */
	}

	.hero-frame img {
		position: relative;
		width: 100%;
		height: auto;
		/* keep aspect ratio */
		object-fit: contain;
		/* prevents cropping */
	}

	.overlay-ti {
		position: absolute;
		inset: 0;
		/* still covers the image */
		display: flex;
		align-items: center;
		justify-content: center;
		/* ensures H1 stays centered */
	}

	.hero-spacer {
		height: auto;
		/* no forced empty space below */
	}
	.hero-layer{
		position: relative;
	}
	.overlay-ti h1 {
		font-size: 2rem;
	}
	.above-hero .container{
		margin-top: 0 !important;
	}
	.magnific-img {
		display: block;
		width: 100%;
		margin-bottom: 30px
	}

	.magnific-img:not(:nth-child(3n)) {
		margin-right: 0
	}

	/* fixed close top-right, no bg */
	.mfp-image-holder .mfp-close,
	.mfp-close {
		position: fixed !important;
		top: 8px !important;
		right: 8px !important;
		width: 36px !important;
		height: 36px !important;
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		z-index: 1065 !important;
		text-indent: -9999px !important
	}

	.mfp-close::before,
	.mfp-close::after {
		content: '' !important;
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		width: 2px !important;
		height: 70% !important;
		background: #000 !important;
		transform-origin: 50% 50% !important
	}

	.mfp-close::before {
		transform: translate(-50%, -50%) rotate(45deg) !important
	}

	.mfp-close::after {
		transform: translate(-50%, -50%) rotate(-45deg) !important
	}

	body.mfp-lock-scroll {
		overflow: hidden !important;
		position: fixed !important;
		left: 0;
		right: 0;
		width: 100% !important;
	}

	button.mfp-arrow {
		display: none !important
	}

	/* bottom nav */
	.mfp-nav-bottom {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 10px;
		display: flex;
		justify-content: center;
		gap: 18px;
		z-index: 1059;
		transition: opacity .2s ease
	}

	.mfp-nav-bottom .nav-btn {
		width: 72px;
		height: 52px;
		border: 0;
		border-radius: 10px;
		background: rgba(255, 255, 255, .95);
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .12)
	}

	.mfp-nav-bottom .nav-btn::before {
		content: "";
		width: 22px;
		height: 22px;
		display: block;
		border-top: 2px solid #000;
		border-right: 2px solid #000
	}

	.mfp-nav-bottom .prev::before {
		transform: rotate(-135deg)
	}

	.mfp-nav-bottom .next::before {
		transform: rotate(45deg)
	}

	.mfp-wrap.zoomed-mode .mfp-nav-bottom {
		opacity: 0;
		pointer-events: none
	}

	.mfp-nav-bottom,
	.mfp-nav-bottom .nav-btn {
		pointer-events: auto
	}
}

@media all and (max-width:900px) {
	.mfp-arrow {
		transform: scale(.75)
	}

	.mfp-arrow-left {
		transform-origin: 0
	}

	.mfp-arrow-right {
		transform-origin: 100%
	}

	.mfp-container {
		/* padding-left: 6px;
		padding-right: 6px */
		padding: 0px !important;
	}
}

/* DESKTOP (≥797px): place the ✕ at the extreme top-right of the viewport */
@media (min-width: 797px) {
	.mfp-image-holder .mfp-close,
	.mfp-close {
		position: fixed !important;
		top: 12px !important;
		right: 12px !important;
		width: 36px !important;
		height: 36px !important;
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		z-index: 1065 !important;
		text-indent: -9999px !important;
		background: #fff !important;
		border-radius: 6px !important;
		cursor: pointer !important;
	}

	.mfp-close::before,
	.mfp-close::after {
		content: '' !important;
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		width: 1px !important;
		height: 70% !important;
		background: #000 !important;
		transform-origin: 50% 50% !important;
	}

	.mfp-close::before {
		transform: translate(-50%, -50%) rotate(45deg) !important;
	}

	.mfp-close::after {
		transform: translate(-50%, -50%) rotate(-45deg) !important;
	}
}
@media (min-width: 1600px) {
	.studio-container {
		padding: 0 100px 30px 100px;
	}
	.studio-content{
		font-size: 1.6rem;
		line-height: 1.6;
	}
}
@media (max-width: 900px) {
	.mfp-wrap.fit-width img.mfp-img {
		width: 100% !important;
		height: auto !important;
	}
}