.header-brand,
.header-links span,
.header-links a {
	cursor: pointer;
}

.show-project-1.project-page {
	max-width: 1180px;
	margin-bottom: 64px;
	padding: 86px 40px 70px;
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
		linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
		var(--paper);
	background-size: 42px 42px;
}

.site-footer {
	max-width: 1180px;
}

.show-project-1.project-page--cinematic .project-page__content {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	grid-template-areas:
		"header hero"
		"overview overview"
		"showcase showcase"
		"extras extras";
	gap: 28px;
}

.show-project-1 .foe-hero-copy {
	grid-area: header;
	align-self: center;
	padding: 0;
	border: none;
}

.show-project-1 .project-page__info {
	align-items: flex-start;
	text-align: left;
	gap: 18px;
}

.show-project-1 .foe-kicker {
	margin: 0;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #8e3b46;
}

.show-project-1 .project-page__header h2 {
	max-width: 9ch;
	font-size: clamp(42px, 7vw, 84px);
	line-height: 0.92;
	letter-spacing: -0.04em;
}

.show-project-1 .project-page__summary {
	max-width: 34rem;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink-mid);
}

.show-project-1 .foe-hero-button {
	margin: 8px 0 0;
	min-height: 42px;
	padding: 13px 18px;
	border-color: var(--ink);
	border-radius: 8px;
	background: var(--ink);
	color: var(--paper);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.show-project-1 .foe-hero-button:hover {
	background: transparent;
	color: var(--ink);
}

.show-project-1 .foe-prototype-hint {
	margin: -6px 0 0;
	max-width: 26rem;
}

.show-project-1 .foe-hero-visual {
	grid-area: hero;
	position: relative;
	min-height: clamp(360px, 46vw, 540px);
	height: auto;
	padding: clamp(18px, 3vw, 34px);
	border: 1px solid var(--ink);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(139, 59, 70, 0.16), transparent 42%),
		linear-gradient(315deg, rgba(38, 111, 92, 0.12), transparent 38%),
		var(--paper-2);
	box-shadow: 10px 10px 0 var(--ink);
	overflow: visible;
}

.show-project-1 .foe-hero-visual__main {
	width: 92%;
	height: auto;
	max-height: 390px;
	object-fit: contain;
	margin: 24px 0 0 auto;
	filter: drop-shadow(0 24px 24px rgba(17, 17, 17, 0.18));
}

.show-project-1 .foe-hero-visual__phone {
	position: absolute;
	left: clamp(10px, 3vw, 34px);
	bottom: clamp(-18px, -2vw, -10px);
	width: min(28%, 150px);
	height: auto;
	max-height: 72%;
	object-fit: contain;
	padding: 10px;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--paper);
	box-shadow: 7px 7px 0 var(--ink);
}

.show-project-1 .foe-overview-panel {
	grid-area: overview;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
	gap: 28px;
	align-items: start;
	margin-top: 18px;
	padding: 26px;
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	background: rgba(247, 245, 240, 0.82);
}

.show-project-1 .foe-overview-panel__intro {
	max-width: 44rem;
}

.show-project-1 .project-page__label {
	margin-bottom: 12px;
	font-size: 21px;
	font-weight: 500;
}

.show-project-1 .project-overview__intro {
	font-size: 15px;
	line-height: 1.85;
	color: var(--ink-mid);
}

.show-project-1 .project-overview__meta {
	gap: 0;
	border: 1px solid var(--rule);
	background: var(--paper);
}

.show-project-1 .project-overview__row {
	grid-template-columns: 5.5rem 1fr;
	gap: 12px;
	padding: 16px;
	border-top: none;
	border-bottom: 1px solid var(--rule);
}

.show-project-1 .project-overview__row:last-child {
	border-bottom: none;
}

.show-project-1 .project-overview__label {
	color: #266f5c;
	font-weight: 500;
}

.show-project-1 .project-overview__value {
	color: var(--ink);
}

.show-project-1.project-page--cinematic .project-showcase {
	grid-area: showcase;
	display: grid;
	gap: 34px;
	margin-top: 10px;
}

.show-project-1.project-page--cinematic .project-section {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
	grid-template-areas: "media body";
	gap: 26px;
	align-items: center;
	padding: 0;
	border: none;
	background: transparent;
	overflow: visible;
}

.show-project-1.project-page--cinematic .project-section--reverse {
	grid-template-areas: "body media";
	grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
}

.show-project-1 .project-section__media {
	grid-area: media;
	width: 100%;
	height: clamp(310px, 38vw, 460px);
	min-height: 0;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--paper-2);
	box-shadow: 8px 8px 0 var(--ink);
}

.show-project-1 .project-section__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.show-project-1 .project-section__media--foe-case {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(38, 111, 92, 0.14), transparent 48%),
		var(--paper-2);
}

.show-project-1 .project-section__media--foe-case img {
	width: auto;
	max-width: 74%;
	height: 92%;
	padding: 0;
	object-fit: contain;
	filter: drop-shadow(0 16px 16px rgba(17, 17, 17, 0.16));
}

.show-project-1 .project-section__media--foe-timeline img {
	object-position: center 22%;
}

.show-project-1 .project-section__media--foe-outcome {
	background:
		linear-gradient(315deg, rgba(139, 59, 70, 0.13), transparent 46%),
		var(--paper-2);
}

.show-project-1 .project-section__media--foe-outcome img {
	object-fit: contain;
	padding: 18px;
}

.show-project-1.project-page--cinematic .project-page__body {
	grid-area: body;
	position: relative;
	height: auto;
	min-height: 260px;
	padding: 28px;
	border-left: 2px solid var(--ink);
	background: rgba(247, 245, 240, 0.9);
	overflow: visible;
}

.show-project-1.project-page--cinematic .project-page__body p {
	padding-top: 16px;
	border-top: 1px solid var(--rule);
	font-size: 15px;
	line-height: 1.85;
	color: var(--ink-mid);
}

.show-project-1 .foe-section-number {
	display: inline-block;
	margin-bottom: 18px;
	font-family: var(--font-display);
	font-size: 54px;
	line-height: 0.8;
	color: rgba(17, 17, 17, 0.18);
}

.show-project-1 .project-page__extras {
	grid-area: extras;
	margin-top: 8px;
	padding-top: 30px;
	border-top: 1px solid var(--ink);
}

.show-project-1 .foe-extras-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.show-project-1 .project-page__extras-title {
	margin: 8px 0 0;
	font-size: 28px;
}

.show-project-1 .project-page__extras-hint {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ink-mid);
}

.show-project-1 .project-page__tiles {
	display: grid;
	grid-template-columns: 1.1fr 1fr 0.8fr;
	gap: 18px;
	margin-top: 0;
}

.show-project-1 .project-page__tiles .project-placeholder {
	height: 300px;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--paper-2);
	box-shadow: 5px 5px 0 var(--ink);
}

.show-project-1 .project-page__tiles .project-placeholder:nth-child(1) {
	height: 360px;
}

.show-project-1 .project-page__tiles .project-placeholder:nth-child(2) {
	margin-top: 38px;
}

.show-project-1 .project-page__tiles .project-placeholder:nth-child(3) {
	height: 360px;
}

.show-project-1 .project-page__tiles img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s var(--ease-out), filter 0.3s ease;
}

.show-project-1 .project-page__tiles .project-placeholder:hover img {
	transform: scale(1.035);
	filter: contrast(1.04);
}

.image-lightbox__dialog {
	position: relative;
	z-index: 2;
	width: min(92vw, 980px);
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#image-lightbox-img {
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--paper);
	box-shadow: 10px 10px 0 var(--ink);
}

@media (max-width: 992px) {
	.show-project-1.project-page--cinematic .project-page__content {
		grid-template-columns: 1fr;
		grid-template-areas:
			"header"
			"hero"
			"overview"
			"showcase"
			"extras";
	}

	.show-project-1 .project-page__header h2 {
		max-width: 12ch;
	}

	.show-project-1 .foe-overview-panel,
	.show-project-1.project-page--cinematic .project-section,
	.show-project-1.project-page--cinematic .project-section--reverse {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "body";
	}

	.show-project-1 .project-page__tiles {
		grid-template-columns: 1fr 1fr;
	}

	.show-project-1 .project-page__tiles .project-placeholder:nth-child(2) {
		margin-top: 0;
	}

	.show-project-1 .project-page__tiles .project-placeholder:nth-child(3) {
		grid-column: 1 / -1;
		height: 320px;
	}
}

@media (max-width: 768px) {
	.show-project-1.project-page {
		width: calc(100% - 1rem);
		margin: 0 0.5rem 48px;
		padding: 76px 18px 42px;
	}

	.header-links span,
	.header-links a {
		display: inline-flex;
		align-items: center;
		min-height: 2.25rem;
		padding: 0.2rem 0.35rem;
	}

	.show-project-1 .foe-hero-button {
		width: 100%;
		text-align: center;
	}

	.show-project-1 .foe-hero-visual {
		min-height: 330px;
		box-shadow: 6px 6px 0 var(--ink);
	}

	.show-project-1 .foe-hero-visual__main {
		width: 100%;
		margin-top: 40px;
	}

	.show-project-1 .foe-hero-visual__phone {
		width: 116px;
		left: 16px;
	}

	.show-project-1 .foe-overview-panel {
		padding: 20px 0;
		border-bottom-color: var(--rule);
		background: transparent;
	}

	.show-project-1 .project-section__media {
		height: 330px;
		box-shadow: 6px 6px 0 var(--ink);
	}

	.show-project-1.project-page--cinematic .project-page__body {
		min-height: 0;
		padding: 20px 0 0 18px;
	}

	.show-project-1 .foe-extras-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.show-project-1 .project-page__tiles {
		grid-template-columns: 1fr;
	}

	.show-project-1 .project-page__tiles .project-placeholder,
	.show-project-1 .project-page__tiles .project-placeholder:nth-child(1),
	.show-project-1 .project-page__tiles .project-placeholder:nth-child(3) {
		height: 310px;
	}
}

@media (max-width: 480px) {
	.show-project-1.project-page {
		margin-bottom: 36px;
		padding: 70px 14px 34px;
	}

	.show-project-1 .project-page__header h2 {
		font-size: 3rem;
	}

	.show-project-1 .foe-hero-visual {
		min-height: 280px;
	}

	.show-project-1 .foe-hero-visual__phone {
		width: 94px;
	}

	.show-project-1 .project-overview__row {
		grid-template-columns: 1fr;
	}
}
