/* GLOBAL STYLES */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-variant-ligatures: none;
	-webkit-font-variant-ligatures: none;
	font-feature-settings: "liga" 0, "clig" 0;
}

body {
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: transparent;
	color: #000;
	padding-bottom: 40px;
}

.title {
	text-align: left;
	font-size: 90px;
	font-family: 'Akzidenz Grotesk Light Bold', sans-serif;
	font-weight: bold;
	margin: 20px 75px 50px;
	color: black;
}

.line-and-text {
	margin: 0 75px;
	font-family: 'Akzidenz Grotesk Roman', sans-serif;
	font-size: 18px;
	color: black;
	line-height: 1.6;
}

.line-and-text p {
	margin-bottom: 18px;
}

.image-container {
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.image-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 30px;
	margin: 40px 75px;
}

.image-row img {
	width: 100%;
	height: auto;
	border-radius: 5px;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-link:hover img {
	transform: scale(1.02);
	cursor: zoom-in;
}

.info-grid {
	margin: 0 75px 50px;
}

.info-grid dl {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 40px;
	font-family: 'Akzidenz Grotesk Roman', sans-serif;
	font-size: 18px;
	color: black;
}

.info-grid dt {
	font-family: 'Akzidenz Grotesk Light Bold', sans-serif;
	font-size: 18px;
}

.info-grid dd {
	margin: 0;
	font-weight: normal;
}

/* TYPOGRAPHY */
@font-face {
	font-family: 'Akzidenz Grotesk Italic';
	src: url('../fonts/Akzidenz Grotesk Italic.woff2') format('woff2');
	font-style: italic;
}
@font-face {
	font-family: 'Akzidenz Grotesk Light Bold Italic';
	src: url('../fonts/Akzidenz Grotesk Light Bold Italic.woff2') format('woff2');
	font-style: italic;
font-weight: bold;
}
@font-face {
	font-family: 'Akzidenz Grotesk Light Bold';
	src: url('../fonts/Akzidenz Grotesk Light Bold.woff2') format('woff2');
	font-weight: bold;
}
@font-face {
	font-family: 'Akzidenz Grotesk Light Italic';
	src: url('../fonts/Akzidenz Grotesk Light Italic.woff2') format('woff2');
	font-style: italic;
}
@font-face {
	font-family: 'Akzidenz Grotesk Light';
	src: url('../fonts/Akzidenz Grotesk Light.woff2') format('woff2');
}
@font-face {
	font-family: 'Akzidenz Grotesk Roman';
	src: url('../fonts/Akzidenz Grotesk Roman.woff2') format('woff2');
	font-weight: bold;
}

/* BACK BUTTON */
.back-x {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	font-size: 24px;
	font-weight: bold;
	line-height: 40px; /* <-- match the height */
	text-align: center;
	text-decoration: none;
	color: black;
	z-index: 1000;
	background-color: white;
	border-radius: 50%;
	transition: background 0.3s;
	user-select: none;
}

.back-x:hover {
	background-color: #eee;
}

/* LIGHTBOX STYLES */
.lightbox {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,1);
	justify-content: center;
	align-items: center;
	padding: 5vh 5vw;
}
.lightbox-content {
	max-width: 95%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* LIGHTBOX ARROWS */
.arrow {
	position: absolute;
	top: 50%;
	font-size: 48px;
	color: #000;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2100;
	user-select: none;
	transition: background 0.3s;
}
.arrow.left {
	left: 20px;
}
.arrow.right {
	right: 20px;
}

/* Improve lightbox arrows for mobile */
@media (max-width: 768px) {
	/* smaller arrows */
	.arrow {
		font-size: 32px;        
		width: 36px;
		height: 36px;
		background: rgba(255, 255, 255, 0.7); /* semi-transparent background */
		color: #000;
		top: auto;
		bottom: 20px;           /* move to bottom instead of middle */
		transform: none;        /* remove vertical centering */
	}
	.arrow.left {
		left: 20%;
	}
	.arrow.right {
		right: 20%;
	}

	.title {
		font-size: 14vw; /* x% of viewport width */
		white-space: normal;
		margin: 20px 30px 40px; /* match .line-and-text margins */
	}

	.line-and-text {
		margin: 0 30px 40px;
		font-size: 16px;
	}

	.image-row {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 0 30px 40px;
	}

	.image-row img {
		max-width: 100%;
	}

	.image-container {
		height: 60vh;
	}

	.info-grid {
		margin: 0 30px 40px;
	}

	.info-grid dl {
		grid-template-columns: 1fr;
		gap: 10px 0;
		font-size: 16px;
	}
}


/* TOP OF PROJECT VIDEO CONTAINER */
.video-container {
	height: 50vh; /* Adjust to show some text below */
	max-height: 75vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.video-container video,
.video-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

