#swup:has(> .unk-view-project) {
	position: relative;
	z-index: 10;
	display: block;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	padding: 0;
}

body[data-template="single-project"] .unk-header .unk-header__part {
	display: none;
}

body[data-template="single-project"] .unk-footer {
	display: none;
}

.unk-view-project {
	position: relative;
	z-index: 0;
	min-height: 100vh;
	min-height: 100svh;
	color: var(--unk-color-text);
	isolation: isolate;
}

.unk-document--js .unk-view-project--entrance-pending [data-project-entrance],
.unk-document--js
	.unk-view-project--entrance-pending
	[data-project-entrance-bullet] {
	opacity: 0;
	visibility: hidden;
}

.unk-document--js .unk-view-project--entrance-pending,
.unk-document--js .unk-view-project--entrance-active {
	pointer-events: none;
}

.unk-view-project__entrance-word,
.unk-view-project__entrance-char {
	display: inline-block;
}

.unk-view-project::before {
	content: "";
	position: fixed;
	z-index: -1;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.unk-view-project__hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
}

.unk-view-project__top,
.unk-view-project__bottom {
	z-index: 3;
	left: 0;
	width: 100%;
	max-width: none;
}

.unk-view-project__top {
	position: fixed;
	top: var(--unk-space-lg);
}

.unk-view-project__bottom {
	position: absolute;
	bottom: var(--unk-space-lg);
}

.unk-view-project__pagination {
	position: absolute;
	z-index: 4;
	bottom: calc(100% + var(--unk-space-xs));
	left: 50%;
	max-width: min(50vw, calc(100vw - (2 * var(--unk-space-md))));
	transform: translateX(-50%);
}

.unk-view-project__close,
.unk-view-project__grid-control {
	text-align: right;
}

.unk-view-project__logo {
	display: flex;
	justify-content: flex-start;
	mix-blend-mode: difference;
}

.unk-view-project__control,
.unk-view-project__grid-trigger {
	color: inherit;
	font: inherit;
	text-decoration: none;
	text-transform: inherit;
}

.unk-view-project__grid-trigger {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.unk-view-project__trigger-icon {
	display: inline-flex;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
}

.unk-view-project__trigger-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.unk-view-project__control:hover,
.unk-view-project__control:focus-visible,
.unk-view-project__grid-trigger:hover,
.unk-view-project__grid-trigger:focus-visible {
	color: var(--unk-color-accent);
}

.unk-view-project__gallery-next:focus-visible {
	outline: 1px solid var(--unk-color-accent);
	outline-offset: 0.2em;
	box-shadow: none;
}

.unk-view-project__navigation {
	position: absolute;
	z-index: 3;
	inset: 50% 0 auto;
}

.unk-view-project__control--previous,
.unk-view-project__control--next {
	position: absolute;
	transform: translateY(-50%);
}

.unk-view-project__control--previous {
	left: var(--unk-space-md);
	text-align: left;
}

.unk-view-project__control--next {
	right: var(--unk-space-md);
	text-align: right;
}

.unk-view-project__gallery-controller {
	display: contents;
}

.unk-view-project__gallery {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: calc(100vw - 12rem);
	height: 72vh;
	height: 72svh;
}

.unk-view-project__slides,
.unk-view-project__slide {
	display: grid;
	place-items: center;
	max-width: 100%;
	max-height: inherit;
}

.unk-view-project__slide,
.unk-view-project__grid-item {
	margin: 0;
}

.unk-view-project__slide[hidden] {
	display: none;
}

.unk-view-project__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.unk-view-project__image-placeholder {
	width: min(
		100%,
		var(--unk-image-placeholder-natural-width),
		var(--unk-image-placeholder-gallery-width)
	);
	overflow: visible;
}

.unk-view-project__gallery-next {
	position: absolute;
	z-index: 2;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	touch-action: pan-y;
}

.unk-view-project__identity {
	position: sticky;
	z-index: 3;
	top: var(--unk-space-lg);
	width: 100%;
	min-height: 0.875rem;
	margin-top: calc(0px - var(--unk-space-lg) - 0.875rem);
	text-align: center;
	pointer-events: none;
}

.unk-view-project__caption {
	max-width: 50%;
	margin: 0;
	margin-inline: auto;
	font: inherit;
	text-transform: inherit;
}

.unk-view-project__grid-section {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--unk-space-xl) + 0.875rem + var(--unk-space-md))
		var(--unk-space-md) var(--unk-space-3xl);
}

.unk-view-project__details {
	margin-top: 0;
	margin-bottom: var(--unk-space-xl);
	scroll-margin-top: calc(var(--unk-space-md) + 0.875rem + var(--unk-space-md));
}

.unk-view-project__detail {
	min-width: 0;
}

.unk-view-project__detail--description {
	max-width: min(100%, 768px);
}

.unk-view-project__detail dt,
.unk-view-project__detail dd,
.unk-view-project__detail dd > :first-child {
	margin-top: 0;
}

.unk-view-project__detail dt,
.unk-view-project__detail dd,
.unk-view-project__detail dd > :last-child {
	margin-bottom: 0;
}

.unk-view-project__detail dt {
	margin-bottom: var(--unk-space-md);
}

.unk-view-project__detail dd {
	font-family: var(--unk-font-family-02);
	font-size: 0.8125rem;
	font-style: normal;
	line-height: var(--unk-leading-base);
	text-transform: none;
}

.unk-view-project__grid-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--unk-space-md);
	align-items: start;
	scroll-margin-top: calc(var(--unk-space-md) + 0.875rem + var(--unk-space-md));
}

.unk-view-project__grid-item {
	min-width: 0;
}

.unk-view-project__grid-placeholder {
	display: grid;
	width: 100%;
}

.unk-view-project__grid-image {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 47.999em) {
	.unk-view-project__bottom .row,
	.unk-view-project__grid-trigger,
	.unk-view-project__identity {
		height: 0.875rem;
		line-height: 0.875rem;
	}

	.unk-view-project__top {
		top: var(--unk-space-md);
	}

	.unk-view-project__bottom {
		bottom: var(--unk-space-md);
	}

	.unk-view-project__pagination {
		max-width: calc(100vw - (2 * var(--unk-space-md)));
	}

	.unk-view-project__control--previous {
		left: var(--unk-space-md);
	}

	.unk-view-project__control--next {
		right: var(--unk-space-md);
	}

	.unk-view-project__gallery {
		width: calc(100vw - 4rem);
		height: 60vh;
		height: 60svh;
	}

	.unk-view-project__image-placeholder {
		width: min(
			100%,
			var(--unk-image-placeholder-natural-width),
			var(--unk-image-placeholder-gallery-width-mobile)
		);
	}

	.unk-view-project__identity {
		top: var(--unk-space-md);
		min-height: 0;
		margin-top: calc(0px - var(--unk-space-md) - 0.875rem);
	}

	.unk-view-project__caption {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.unk-view-project__detail--description {
		margin-bottom: var(--unk-space-lg);
	}
}

@media (min-width: 48em) {
	.unk-view-project__details {
		scroll-margin-top: calc(
			var(--unk-space-lg) + 0.875rem + var(--unk-space-md)
		);
	}

	.unk-view-project__detail--description {
		flex-basis: 50%;
		max-width: min(50%, 768px);
	}

	.unk-view-project__detail--technology {
		flex-basis: 20%;
		max-width: 20%;
		margin-left: 10%;
	}

	.unk-view-project__detail--credits {
		flex-basis: 20%;
		max-width: 20%;
		margin-left: auto;
	}

	.unk-view-project__detail--after-empty-description {
		margin-left: 60%;
	}

	.unk-view-project__grid-list {
		scroll-margin-top: calc(
			var(--unk-space-lg) + 0.875rem + var(--unk-space-md)
		);
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.unk-view-project__grid-list {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
}

@media (forced-colors: active) {
	.unk-view-project__logo {
		mix-blend-mode: normal;
	}
}
