/*!
Theme Name: Cecile
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cecile
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Cecile is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* --- Variables & Reset --- */
:root {
	--color-bg: #DBDBDB;
	--color-text: #292524;
	/* stone-800 */
	--color-text-muted: #958977;
	/* stone-500 */
	--color-text-light: #a8a29e;
	/* stone-400 */
	--color-border: #a8a29e;

	/* Mobile Menu Colors */
	--color-menu-bg: #57534e;
	/* Dark Gray */
	--color-menu-accent: #b0a696;
	/* Beige */
	--color-menu-text: #e7e5e4;
	/* Light Gray */

	--font-serif: "Montserrat", serif;
	--font-sans: "Work Sans", sans-serif;

	--sidebar-width: 320px;
	--mobile-header-height: 120px;
}

* {
	box-sizing: border-box;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	margin: 0;
	font-family: var(--font-sans);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

button {
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
ul,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

/* --- View Transitions API --- */
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.6s;
	mix-blend-mode: normal;
}

.app-container {
	display: flex;
	width: 100%;
	position: relative;
	flex-direction: column;
	min-height: calc(100vh - 320px);
	margin: auto;
	padding: 0 98px;
}

.img-wrapper::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	/*background: #0000004a;*/
	top: 0;
	left: 0;
	z-index: 1;
}

@media (min-width: 1024px) {
	.app-container {
		flex-direction: row;

		overflow: hidden;
	}



	#desktop-project-list.is-open {
		max-height: var(--dropdown-height);
	}


	#desktop-project-list li:first-of-type {
		padding: 10px 0 0;
	}
}

/* --- Mobile Header (Visible < 1024px) --- */
.mobile-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 2rem;
	padding-bottom: 1rem;
	background-color: var(--color-bg);
	position: relative;
	z-index: 60;
	transition: background-color 0.3s;
}

@media (min-width: 1024px) {
	.mobile-header {
		display: none;
	}
}

.mobile-brand-title {
	font-family: var(--font-serif);
	font-size: 1.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
	cursor: pointer;
}

.mobile-brand-subtitle {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.mobile-socials {
	display: flex;
	gap: 0.75rem;
}

.social-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #9ca3af;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: background-color 0.2s;
}

.social-circle:hover {
	background-color: var(--color-text-muted);
}

/* Hamburger / Close Button */
.menu-toggle {
	position: absolute;
	top: 2rem;
	right: 1.5rem;
	width: 30px;
	height: 30px;
	z-index: 70;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-line {
	position: absolute;
	width: 24px;
	height: 2px;
	background-color: var(--color-text);
	transition: transform 0.3s, opacity 0.3s;
}

.menu-line.top {
	transform: translateY(-6px);
}

.menu-line.bottom {
	transform: translateY(6px);
}

/* Hamburger Animation State */
.menu-toggle.is-active .menu-line.top {
	transform: rotate(45deg);
}

.menu-toggle.is-active .menu-line.middle {
	opacity: 0;
}

.menu-toggle.is-active .menu-line.bottom {
	transform: rotate(-45deg);
}


/* --- Mobile Menu Overlay --- */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--color-menu-bg);
	z-index: 50;
	padding-top: 150px;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: 2rem;
	display: flex;
	flex-direction: column;

	opacity: 0;
	pointer-events: none;
	transform: translateY(-20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.mobile-menu-section {
	margin-bottom: 2rem;
}

.mobile-menu-heading {
	font-family: var(--font-sans);
	font-weight: bold;
	font-size: 1.5rem;
	color: var(--color-menu-accent);
	margin-bottom: 1rem;
}

.mobile-nav-item {
	display: block;
	font-family: var(--font-sans);
	font-size: 1rem;
	color: var(--color-menu-text);
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
	width: 100%;
}

.mobile-nav-item.active {
	color: white;
	font-weight: bold;
}

.mobile-menu-footer {
	margin-top: auto;
	text-align: center;
	color: var(--color-menu-text);
	font-size: 0.875rem;
}

.mobile-menu-footer p {
	margin-bottom: 0.25rem;
}


/* --- Desktop Sidebar --- */
.sidebar {
	display: none;
	width: var(--sidebar-width);

	padding: 0 3rem 0 0;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	z-index: 20;
	overflow-y: auto;
	width: 30%;
}

@media (min-width: 1024px) {
	.sidebar {
		display: flex;
	}
}

.brand-title {
	font-family: var(--font-serif);
	font-size: 2.25rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.brand-subtitle {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--color-text-muted);
	margin-bottom: 4rem;
}

.nav-section {
	margin-bottom: 0.5rem;
}

.nav-heading {
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 700;
	color: #958977;

}

.nav-btn {
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: #958977;
	transition: all 0.3s ease;
	padding-left: 0;
	border-left: 2px solid transparent;
	margin-bottom: 9px;
	display: block;
	border-bottom: 1px solid #9589773d;
	padding-bottom: 9px;
	width: 100%;
	text-align: left;
	font-size: 16px;
	max-width: 196px;

}

.nav-btn:hover {
	color: var(--color-text);
}

.nav-btn.active {
	color: var(--color-text);

}




.sidebar-footer {
	font-size: 16px;
	color: #000;
	padding-top: 100px;
}

.sidebar-footer p {
	padding-bottom: 8px;
}

.social-icons-desktop {
	display: flex;
	gap: 1rem;
	margin-top: 3px;
}


.icon-link {
	color: white;
	background-color: var(--color-text-muted);
	border-radius: 9999px;
	transition: background-color 0.2s;
	width: 23px;
	height: 23px;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.icon-link:hover {
	background-color: var(--color-text);
}

/* Sidebar Preview Widget */
.sidebar-preview-widget {
	margin-top: 2rem;
	width: 100%;
}

.sidebar-preview-img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 2px;
	margin-bottom: 0.5rem;
	transition: opacity 0.3s ease;
}

.sidebar-preview-controls {
	display: flex;
	gap: 0.5rem;
}

.preview-arrow {
	font-size: 1.2rem;
	color: var(--color-text-muted);
	transition: color 0.2s;
	padding: 0 0.5rem;
}

.preview-arrow:hover {
	color: var(--color-text);
}


/* --- Main Content --- */
.main-content {
	flex: 1;
	position: relative;
	height: 100%;
	overflow: hidden;
}

.acl-left {
	font-size: 18px;
	color: #958977;
	font-weight: 500;
	line-height: 1.5;
	font-family: var(--font-serif);
}

.site-footer {
	padding-bottom: 15px;
}

.acl-left p {
	padding-bottom: 23px;
}

.acl-left {
	width: 45%;
}

.acl-right {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 11;
}

.acl-right img {
	width: auto;
	object-fit: contain;
	object-position: right;
	height: 100vh;
}
body.page-template-about .header-menu ul li:first-of-type a {
	color: #fff;
}

body.page-template-about .header-menu ul li a:hover,
body.page-template-about .header-menu ul li a.active {
	color: #fff;
}

@media (max-width: 1023px) {
	.main-content {
		height: auto;
		overflow-y: auto;
	}
}

/* --- Gallery View --- */
.gallery-container {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	padding: 0 1rem 4rem 1rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.gallery-container::-webkit-scrollbar {
	display: none;
}

/* 
 */


.custom-site-header .header-content-wrapper {
	display: flex;
	justify-content: space-between;
}

.custom-site-header {
	padding: 87px 98px 60px 98px;
}

.hamburger-menu {
	display: none;
}

.header-logo img {
	width: 327px;
	max-width: 100%;
}

.header-menu a {
	color: #958977;
	font-size: 14px;
	padding-bottom: 12px;
	display: inline-block;
	transition: color 0.2s;
}

.header-menu ul li:first-of-type a {
	color: #000;
}

.header-content-wrapper {

	margin: auto;
}

@media (min-width: 1024px) {
	.gallery-container {
		padding: 0;
		display: flex;
		align-items: start;
		/* Center grid vertically if content is short */
		justify-content: end;
	}
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding-bottom: 2rem;
}

@media (min-width: 1480px) {
	.sidebar {
		width: 20%;
	}

}

/* Tablet Grid (600px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
	.gallery-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

/* --- DESKTOP 3-COLUMN LAYOUT --- */
/* Layout: 3 equal cols. Middle col has 2 stacked images. Side cols have 1 tall image. */
@media (min-width: 1024px) {
	.gallery-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/* The row height is determined by the content or aspect ratios */
		grid-auto-rows: minmax(100px, auto);
		gap: 12px;
		padding-bottom: 0;
		width: 100%;

		/* Max width to prevent overly stretched images */
		align-items: stretch;
	}

	/* Classes assigned via JS */

	/* Left Column: Spans 2 rows, Portrait */
	.gallery-item.pos-0 {
		grid-column: 1;
		grid-row: span 2;
		aspect-ratio: 3/4;
	}

	/* Middle Top: Spans 1 row, Landscape */
	.gallery-item.pos-1 {
		grid-column: 2;
		grid-row: span 1;
		aspect-ratio: 3/2;
	}

	/* Middle Bottom: Spans 1 row, Landscape */
	.gallery-item.pos-2 {
		grid-column: 2;
		grid-row: span 1;
		aspect-ratio: 3/2;
	}

	/* Right Column: Spans 2 rows, Portrait */
	.gallery-item.pos-3 {
		grid-column: 3;
		grid-row: 1 / span 2;
		aspect-ratio: 3/4;
	}

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

.gallery-item {
	position: relative;
	cursor: pointer;
	opacity: 0;
	/* Default mobile aspect ratio */
	aspect-ratio: 1 / 1;
}

/* Masonry layout for mobile */
@media (max-width: 768px) {
	.gallery-item {
		display: inline-block;
		width: 100%;
		margin-bottom: 10px;
		break-inside: avoid;
		aspect-ratio: auto;
		/* Allow natural image aspect ratio */
	}
}

@media (min-width: 1024px) {

	/* Reset aspect ratio for desktop since specific classes handle it */
	.gallery-item {
		aspect-ratio: unset;
	}
}

.img-wrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #e7e5e4;
	position: relative;
}

/* Mobile masonry: allow natural height */
@media (max-width: 768px) {
	.img-wrapper {
		height: auto;
	}
}

.gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

/* Mobile masonry: allow natural height */
@media (max-width: 768px) {
	.gallery-img {
		height: auto;
		display: block;
	}
}

.gallery-item:hover .gallery-img {
	transform: scale(1.05);
}

.hover-label {
	position: absolute;
	top: 30%;
	left: 36px;
	color: #fff;
	font-size: 20px;
	letter-spacing: 0;
	opacity: 0;
	transition: opacity 0.3s;
	max-width: 220px;
}

.gallery-item:hover .hover-label {
	opacity: 1;
	z-index: 1;
}

.gallery-item.stagger-item:hover .img-wrapper::before {
	background: #0006;
}

.img-wrapper::before {
	transition: background 0.3s ease;
}

/* --- Detail View --- */
.detail-view {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background-color: var(--color-bg);
}

@media (min-width: 1024px) {
	.detail-view {
		flex-direction: row;
	}
}

.detail-media {
	width: 100%;
	height: 40vh;
	position: relative;
	overflow: hidden;
	background-color: #e7e5e4;
}

@media (min-width: 1024px) {
	.detail-media {
		width: 66.666%;
		height: 100%;
	}
}

.detail-img-full {
	width: 100%;
	/* height: 100%; */
	height: 550px;
	object-fit: contain;
	object-position: right;
}

.close-btn-mobile {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
	padding: 0.5rem;
	border-radius: 50%;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1024px) {
	.close-btn-mobile {
		display: none;
	}
}

.detail-content {
	width: 100%;
	height: auto;
	padding: 2rem;
	overflow-y: auto;
	background-color: var(--color-bg);
	flex: 1;
	display: flex;
	flex-direction: column;
}

@media (min-width: 1024px) {
	.detail-content {
		width: 33.333%;
		height: 100%;
		padding: 3rem;
		padding-top: 0rem;
	}
}

.back-btn {
	display: none;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--color-text-light);
	margin-bottom: 2rem;
	transition: color 0.2s;
}

.back-btn:hover {
	color: var(--color-text);
}

@media (min-width: 1024px) {
	.back-btn {
		display: flex;
	}
}

.project-subtitle {
	font-family: var(--font-sans);
	font-weight: bold;
	font-size: 0.875rem;
	color: #57534e;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.project-title {
	font-family: var(--font-serif);
	font-size: 2rem;
	line-height: 1.1;
	margin-bottom: 2rem;
}

.project-desc {
	font-size: 16px;
	line-height: 1.5;
	color: #000;
	text-align: left;
}

.project-desc p {
	margin-bottom: 1.5rem;
}

.stats-grid {
	margin-top: 0;
	padding-top: 10px;
	border-top: 1px solid #958977;
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-row {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	border-bottom: 1px solid #958977;
	padding-bottom: 0.5rem;
}

.detail-nav {
	display: none !important;
}

.stat-label {

	color: #000;
	font-size: 16px;
}

.stat-value {
	color: #000;
	font-size: 16px;
}

/* Detail Nav Arrows */
.detail-nav {
	display: flex;
	gap: 1rem;
	margin-top: auto;
	justify-content: flex-end;
	padding-top: 1rem;
}

.detail-nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	color: var(--color-text-muted);
}

.detail-nav-btn:hover {
	background-color: var(--color-text);
	color: white;
	border-color: var(--color-text);
}


/* --- Animations --- */
@keyframes fadeInUp {
	0% {
		transform: translateY(40px);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideInRight {
	0% {
		transform: translateX(50px);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.animate-content {
	animation: slideInRight 0.6s ease-out forwards;
}

.stagger-item {
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Language Switcher (Desktop) */
.lang-switcher-desktop {
	position: absolute;
	top: 3rem;
	right: 3rem;
	z-index: 30;
	display: none;
	flex-direction: column;
	text-align: right;
	font-size: 0.75rem;
	gap: 0.25rem;
}

@media (min-width: 1024px) {
	.lang-switcher-desktop {
		display: flex;
	}
}

.lang-btn {
	color: var(--color-text-light);
	transition: color 0.2s;
}

.lang-btn:hover {
	color: #57534e;
}

.lang-btn.active {
	color: var(--color-text);
	font-weight: bold;
}

/* --- Carousel Navigation --- */
.carousel-nav {
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	z-index: 10;
	text-align: center;
	justify-content: center;
	width: 200px;
}

.carousel-btn {
	background: none;
	border: none;
	color: var(--color-text);
	cursor: pointer;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	border-radius: 50%;
}

.carousel-btn:hover {
	background: rgba(0, 0, 0, 0.05);
	transform: scale(1.1);
}

.carousel-btn:active {
	transform: scale(0.95);
}

.carousel-counter {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	font-family: var(--font-sans);
	min-width: 60px;
	text-align: center;
}

/* Detail Navigation Buttons (Next/Prev Project) */
.detail-nav {
	display: flex;
	gap: 1rem;
	margin-top: auto;
	padding-top: 2rem;
}

.detail-nav-btn {
	flex: 1;
	padding: 0.75rem 1.5rem;
	background: var(--color-text-muted);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1.25rem;
	cursor: pointer;
	transition: all 0.2s;
}

.detail-nav-btn:hover {
	background: var(--color-text);
	transform: translateY(-2px);
}

.detail-nav-btn:active {
	transform: translateY(0);
}

.social-icons-desktop.in-header {
	display: none;
}

.hamburger-menu {
	display: none;
}

.custom-site-header {
	position: relative;
	z-index: 11111111;
}

@media (min-width: 1024px){
.carousel-nav {
	bottom: 0rem;
}
.detail-media {
	overflow: visible;
	padding-bottom: 80px;
	background: transparent;
}
}

@media (min-width: 1290px) and (max-width: 1680px) {
	.acl-right img {
		width: auto;
		object-fit: contain;
		object-position: right;
		height: 100vh;
	}
}

@media (min-width: 1024px) and (max-width: 1540px) {
	.acl-left {
		width: 50%;
		font-size: 18px;
	}
}

@media (max-width: 1024px) {
	.custom-site-header {
		padding: 35px 20px 20px 45px;
	}
	.detail-media {
	padding-bottom: 70px;
}
.carousel-nav {

	padding: 0;
}
.hover-label {
	font-size: 16px;
}
	.app-container {
		padding: 0;
	}

	.detail-img-full {

		height: 350px;
	}

	.gallery-container {

		padding: 0 1rem 1rem 1rem;

	}

.detail-media {
	height: auto;
	background-color: #dbdbdb;
}

	.hamburger-menu {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: end;
	}

	.hamburger-menu span {
		background-color: #707070;
		width: 18px;
		height: 2px;
		margin: 4px 0;
		transition: all 0.3s ease;
	}

	.hamburger-menu {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		cursor: pointer;
		z-index: 11;
	}

	.header-content-wrapper {
		position: relative;
	}

	.hamburger-menu span:last-child {
		width: 30px;
	}

	.social-icons-desktop.in-header {
		display: flex;
		justify-content: center;
	}

	/* 
	.app-container {

		padding: 30px 0px;
	} */

	.header-logo img {
		width: 200px;
		max-width: 100%;
		height: auto !important;
	}

	.header-menu {
		display: none;
	}

	.custom-site-header .header-content-wrapper {

		justify-content: center;
	}
}

@media (max-width: 768px) {
	.header-logo img {
		width: 155px;
	}

	.custom-site-header {
		padding: 25px 45px 25px 45px;
	}

	.social-icons-desktop.in-header {
		margin-top: 15px;
		gap: 5px;
	}

	.icon-link {
		height: 23px;
		width: 23px;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.icon-link svg {
		width: 11px;
	}

	.hamburger-menu {
		right: -30px;
	}

	.gallery-container {

		padding: 0 0 0rem 0;

	}
}

/* ========================================
   MOBILE DROPDOWN MENU
   ======================================== */

/* Mobile Dropdown Container */
.mobile-dropdown-menu {
	position: fixed;
	top: 145px;
	left: 0;
	width: 100%;
	background: #606060;
	z-index: 1111;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease-in-out;
	padding-top: 0;
	min-height: 0;

}

.header-logo .site-logo-link {
	display: block;
}

.header-logo svg {
	width: 326px;
	max-width: 100%;
}

.mobile-dropdown-menu.is-open {
	max-height: 100vh;
	min-height: calc(100vh - 145px);
}

.mobile-dropdown-content {
	padding: 2rem 45px;
}

.mobile-menu-section {
	margin-bottom: 2.5rem;
}

.mobile-dropdown-heading {
	font-family: var(--font-serif);
	font-size: 32px;
	font-weight: 400;
	color: #b0a696;
	/* Beige color from image */
	margin-bottom: 1.5rem;
	display: block;
	text-decoration: none;
}

.mobile-dropdown-heading:hover {
	color: #c4b8a8;
}

/* Project Links */
#mobile-dropdown-project-list a,
#mobile-dropdown-project-list button {
	display: block;
	font-family: var(--font-sans);
	font-size: 16px;
	color: #e7e5e4;
	/* Light gray text */
	padding: 0.75rem 0;
	border: none;
	background: none;
	text-align: left;
	width: 100%;
	cursor: pointer;
	transition: color 0.2s;
	text-decoration: none;
}

#mobile-dropdown-project-list a:hover,
#mobile-dropdown-project-list button:hover {
	color: #ffffff;
}

/* Hamburger Animation to Cross */
.hamburger-menu.is-active span:first-child {
	transform: rotate(45deg) translateY(8px);
	width: 30px;
}

.hamburger-menu.is-active span:last-child {
	transform: rotate(-45deg) translateY(-7px);
}

.footer-special p {
	color: #000000;
}

.footer-special {
	display: none;
}

.sidebar-footer .icon-link {
	width: 36px;
	height: 36px;
}

.sidebar-footer .social-icons-desktop {
	gap: 15px;
}

/* Hide on desktop */
@media (min-width: 1025px) {
	.mobile-dropdown-menu {
		display: none;
	}
}

@media (min-width: 1024px) and (max-width: 1280px) {
.acl-right img {
	width: auto;
	object-fit: contain;
	height: 100vh;
}

	.acl-left {
		font-size: 14px;

	}
}

@media (max-width: 1024px) {
	.footer-special {
		display: block;
	}

	.stats-grid {
		margin-bottom: 1rem;
	}

	.stat-row,
	.stat-label,
	.stat-value {
		font-size: 14px;
	}

	.acl-right {
		position: static;
		padding: 30px 0 0;
	}

	.about-content-wrapper {
		padding: 0 20px;
	}

	.acl-left {
		font-size: 16px;
		width: 100%;
	}

	.acl-right img {
		width: 100%;
		height: auto;
		object-fit: contain;

	}

	.header-logo svg {
		width: 250px;
		max-width: 100%;
	}
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.detail-img-full {
		height: 274px;
	}

	.gallery-grid {
		grid-template-columns: 1fr 1fr;
		display: grid;
		gap: 0;
	}
	.gallery-item.stagger-item.pos-0 {
  padding-right: 5px;
}
.gallery-item.stagger-item.pos-1 {
  padding-bottom: 5px;
}
.gallery-item.stagger-item.pos-3 {
  padding-top: 5px;
}

	.gallery-item.stagger-item.pos-0 {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.gallery-item.stagger-item.pos-1 {
		grid-column: 2;
		grid-row: 1;
	}

	.gallery-item.stagger-item.pos-2 {
		grid-column: 2;
		grid-row: 2;
	}

	.gallery-item.stagger-item.pos-3 {
		grid-column: 1 / span 3;
		grid-row: 3;
	}

	.gallery-item.stagger-item.pos-0 img {
		height: 100%;
	}

	.gallery-item.stagger-item.pos-0 .img-wrapper {
		height: 100%;
	}

	.gallery-item {
		margin: 0;
	}

	.mobile-dropdown-menu {
		padding-top: 0;
	}

	.social-icons-desktop.in-header svg {
		width: 13px !important;
	}

	.header-logo svg {
		width: 200px;
		max-width: 100%;
	}

	.mobile-dropdown-content {
		padding: 1.5rem 45px;
	}

	.mobile-dropdown-heading {
		font-size: 28px;
	}

	.project-desc {
		font-size: 14px;
		line-height: 1.5;
		color: #000;
		text-align: left;
	}

	.detail-content {

		padding: 2rem 2rem;

	}
}