/* ====== PROJECT STYLES ====== */
.project-section {
	padding-bottom: var(--size-2);
}

.section-heading {
	font-family: var(--font-1);
	font-size: var(--size-2);
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-blue);
	margin: 0;
}

/* ========== PROJECT HERO ========== */
.project-page {
	padding: calc(var(--header-height) + var(--size-1)) var(--size-1) var(--size-1);
}

.project-hero{
	margin-bottom: var(--size-3);
}

.project-head {
	padding: var(--size-1) 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--size-1);
}

.project-title {
	font-family: var(--font-1);
	font-size: var(--size-2);
	font-weight: 600;
	line-height: 1;
	color: var(--color-blue);
	margin: 0;
}

.project-close {
	font-family: var(--font-1);
	font-size: var(--nav-size);
	font-weight: 400;
	color: var(--color-blue);
	background: var(--color-beige);
	padding: var(--size-0);
	border-radius: var(--size-0);
	text-decoration: none;
	white-space: nowrap;
}

.project-intro {
	font-size: var(--size-1);
	line-height: 1.6;
	max-width: 32ch;
	padding: 0;
	margin: 0;
}

.project-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: var(--size-1);
	align-items: start;
	padding-bottom: var(--size-1);
}

.meta-item {
	display: grid;
	gap: 4px;
	align-content: start;
	justify-items: start;
	text-align: left;
}

.project-subhead{
	font-family: var(--font-1);
	font-size: var(--nav-size);
	font-weight: 400;
	color: var(--color-blue);
	margin: 0;
}

.project-meta dd {
	margin: 0;
	line-height: 1.4;
}

/* ========== PROJECT GALLERY ========== */
.project-gallery {
	display: flex;
	align-items: flex-start;
	gap: var(--size-1);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--size-1);
}

.gallery-slide {
	position: relative;
	flex: 0 0 92%;
	margin: 0;
	scroll-snap-align: start;
	border-radius: var(--size-0);
	overflow: hidden;
}

.gallery-slide img {
	display: block;
	width: 100%;
	height: 450px;
	object-fit: cover;
	object-position: center;
}

.gallery-slide figcaption {
	position: absolute;
	right: var(--size-0);
	bottom: var(--size-0);
	font-family: var(--font-2);
	font-size: var(--nav-size);
	font-weight: 500;
	color: var(--color-black);
	background: var(--color-gray);
	padding-inline: calc(.5*var(--size-0));
	line-height: 1.4;
}

/* ========== PROJECT CONCEPT ========== */
.project-concept {
	font-family: var(--font-1);
	font-size: var(--size-2);
	font-weight: 600;
	color: var(--color-blue);
	margin: 0;
}

.project-page p {
	font-family: var(--font-1);
	font-size: var(--size-1);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-black);
	max-width: 34ch;
	text-wrap: pretty;
}