.portfolio-single,
.portfolio-archive {
	color: #e6e6e6;
	background: #1e1e1e;
}

.portfolio-archive.max-width {
	max-width: 1440px;
	padding-right: 40px;
	padding-left: 40px;
}

.portfolio-banner {
	position: relative;
	min-height: 803px;
	overflow: hidden;
	background: #111;
}

.portfolio-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(30, 30, 30, 0.08), rgba(30, 30, 30, 0.06)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0) 72%);
	pointer-events: none;
}

.portfolio-banner::after {
	content: "";
	position: absolute;
	left: -539px;
	bottom: -782px;
	z-index: 1;
	width: 1623px;
	height: 739px;
	background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, #1e1e1e 100%);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	transform: rotate(40.21deg);
	transform-origin: center;
	pointer-events: none;
}

.portfolio-banner__media {
	position: absolute;
	inset: 0;
}

.portfolio-banner__media::after {
	display: none;
}

.portfolio-banner__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.portfolio-banner__breadcrumbs {
	position: absolute;
	top: 84px;
	left: 40px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100% - 80px);
	border-radius: 41px;
	padding: 8px 20px;
	color: #e7e7e7;
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	text-transform: uppercase;
	background: rgba(30, 30, 30, 0.3);
}

.portfolio-banner__breadcrumbs a,
.portfolio-banner__breadcrumbs span {
	display: inline-flex;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.portfolio-banner__breadcrumbs span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.portfolio-banner__breadcrumbs a {
	transition: color .2s ease;
}

.portfolio-banner__breadcrumbs a:hover {
	color: #f2ceb5;
}

.portfolio-banner__breadcrumb-arrow {
	position: relative;
	flex: 0 0 12px;
	width: 12px;
	height: 24px;
}

.portfolio-banner__breadcrumb-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1px;
	width: 10px;
	height: 10px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.portfolio-banner__content {
	position: absolute;
	top: 493px;
	left: 40px;
	z-index: 2;
	display: flex;
	width: 478px;
	max-width: calc(100% - 80px);
	flex-direction: column;
	align-items: flex-start;
	padding-top: 0;
	padding-bottom: 0;
}

.portfolio-banner__subtitle,
.portfolio-section__eyebrow {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	text-transform: uppercase;
	color: #f2ceb5;
}

.portfolio-banner__title {
	width: 336px;
	max-width: 100%;
	margin: 0;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 36px;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-banner__description {
	width: 293px;
	max-width: 100%;
	margin-top: 20px;
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-banner__description p,
.portfolio-section p {
	margin-top: 0;
}

.portfolio-banner__description > :last-child {
	margin-bottom: 0;
}

.portfolio-banner__button {
	margin-top: 30px;
}

/* Case layout grid + sticky TOC sidebar moved to assets/css/components/case-toc.css */

.portfolio-section {
	padding: 30px 40px 40px;
}

.portfolio-section__title {
	max-width: 760px;
	margin: 0 0 30px;
	color: #f2ceb5;
	font-size: 36px;
	font-weight: 300;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-project-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-project-info__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.portfolio-project-info__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-project-info__features {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	box-shadow: none;
}

.portfolio-project-info__feature {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	border-radius: 61px;
	padding: 10px 14px 12px;
	color: #e7e7e7;
	background: #1e1e1e;
}

.portfolio-project-info__feature-icon {
	display: inline-flex;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	align-items: center;
	justify-content: center;
	opacity: 0.5;
}

.portfolio-project-info__feature-icon img {
	display: block;
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.portfolio-project-info__feature-value {
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	white-space: nowrap;
}

.portfolio-project-info__blocks,
.portfolio-materials__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.portfolio-materials {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-materials__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-materials__grid {
	column-gap: 40px;
	row-gap: 28px;
}

.portfolio-project-info__block,
.portfolio-materials__item {
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.portfolio-review {
	background: transparent;
	box-shadow: none;
}

.portfolio-project-info__block h3,
.portfolio-materials__item h3 {
	position: relative;
	display: inline-block;
	margin: 0 0 14px;
	padding-bottom: 2px;
	color: #f2ceb5;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-project-info__block h3::after,
.portfolio-materials__item h3::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #f2ceb5;
	transform: scaleY(0.3);
	transform-origin: bottom;
}

.portfolio-project-info__block,
.portfolio-materials__item,
.portfolio-floor__content,
.portfolio-video__description,
.portfolio-review__text {
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-materials__text > :last-child {
	margin-bottom: 0;
}

/* Carousel/grid gallery (.media-gallery) moved to assets/css/components/gallery.css */

.portfolio-object-gallery {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-object-gallery__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-object-gallery__media {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.portfolio-object-gallery__swiper {
	overflow: hidden;
	height: auto;
	width: 100%;
}

.portfolio-object-gallery__swiper .swiper-slide {
	height: auto;
}

.portfolio-object-gallery__main {
	position: relative;
	display: block;
	overflow: hidden;
	/* Fixed stage so the slide height never changes between landscape and
	 * portrait images (keeps the page from shifting on slide change). */
	aspect-ratio: 935 / 523;
	width: 100%;
	background: #1E1E1E;
}

.portfolio-object-gallery__main img {
	display: block;
	width: 100%;
	height: 100%;
	/* Landscape photos fill the full width of the stage. */
	object-fit: cover;
	object-position: center;
	transition: transform .3s ease;
}

/* Portrait photos are centered with dark letterbox side areas. */
.portfolio-object-gallery__main--portrait img {
	object-fit: contain;
}

.portfolio-object-gallery__main:hover img {
	transform: scale(1.03);
}

.portfolio-object-gallery__thumbs-swiper {
	--portfolio-thumb-height: 132px;
	overflow: hidden;
	height: var(--portfolio-thumb-height);
	max-width: 100%;
}

.portfolio-object-gallery__thumb.swiper-slide {
	--portfolio-thumb-ratio: 1.7778;
	display: block;
	flex: 0 0 auto;
	width: clamp(92px, calc(var(--portfolio-thumb-ratio) * var(--portfolio-thumb-height)), 280px);
	aspect-ratio: var(--portfolio-thumb-ratio);
	overflow: hidden;
	background: #000;
	height: 100%;
	opacity: 0.7;
	transition: opacity .2s ease;
	cursor: pointer;
}

.portfolio-object-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-object-gallery__thumb:hover,
.portfolio-object-gallery__thumb.swiper-slide-thumb-active {
	opacity: 1;
}

.portfolio-object-gallery__nav {
	position: absolute;
	z-index: 2;
	/* Span the main stage only (top edge down to just above the thumbs row:
	 * thumb height 132px + media gap 10px) so the arrows stay vertically
	 * centered on the image regardless of the stage's fluid height. */
	top: 0;
	bottom: 142px;
	right: -30px;
	left: -30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.portfolio-object-gallery__arrow.glass-button,
.portfolio-related__arrow.glass-button {
	--glass-size: 40px;
	padding: 0;
}

.portfolio-object-gallery__arrow {
	pointer-events: auto;
}

.portfolio-object-gallery__arrow--prev .glass-button__content img,
.portfolio-related__arrow--prev .glass-button__content img {
	transform: scaleX(-1);
}

.portfolio-object-gallery__arrow.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.portfolio-video {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-video__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-video__frame {
	position: relative;
	width: 100%;
}

.portfolio-video__link {
	position: relative;
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 9;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	border: 0;
	color: inherit;
	background: #d9d9d9;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
}

.portfolio-video__iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.portfolio-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: rgba(30, 30, 30, 0.7);
	transform: translate(-50%, -50%);
}

.portfolio-video__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 26px solid #e7e7e7;
	transform: translate(-36%, -50%);
}

.portfolio-video__link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-review__video {
	position: relative;
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 9;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: #d9d9d9;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
}

.portfolio-review__video img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-review__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: rgba(30, 30, 30, 0.7);
	transform: translate(-50%, -50%);
}

.portfolio-review__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 26px solid #e7e7e7;
	transform: translate(-36%, -50%);
}

.portfolio-floors {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.portfolio-floor {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-floor__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-floor__content {
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-floor__content h2,
.portfolio-floor__content h3,
.portfolio-floor__content h4 {
	position: relative;
	display: inline-block;
	margin: 0 0 14px;
	padding-bottom: 2px;
	color: #f2ceb5;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-floor__content h2::after,
.portfolio-floor__content h3::after,
.portfolio-floor__content h4::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #f2ceb5;
	transform: scaleY(0.3);
	transform-origin: bottom;
}

.portfolio-floor-pretitle {
	position: relative;
	display: inline-block;
	margin: 0 0 14px;
	padding-bottom: 2px;
	color: #f2ceb5;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-floor-pretitle::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #f2ceb5;
	transform: scaleY(0.3);
	transform-origin: bottom;
}

.portfolio-floor__content p {
	margin: 0 0 30px;
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-floor__content .media-gallery {
	position: relative;
	margin: 30px 0px 30px;
}

/* .portfolio-floor__content .media-gallery__swiper {
	padding-right: 30px;
	padding-left: 30px;
} */

.portfolio-floor__content .media-gallery__item {
	aspect-ratio: 226.25 / 320;
}

.portfolio-floor__content .media-gallery--hero-main .media-gallery__item {
	aspect-ratio: 16 / 9;
}

.portfolio-floor__content .media-gallery--full-width .media-gallery__item {
	aspect-ratio: 1360 / 613;
}

.portfolio-floor__content .media-gallery__nav--prev {
	left: -30px;
}

.portfolio-floor__content .media-gallery__nav--next {
	right: -30px;
}

.portfolio-floor__content > :last-child {
	margin-bottom: 0;
}

.portfolio-review {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.3);
}

.portfolio-review__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-review__text {
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-review__text p {
	margin: 0 0 20px;
}

.portfolio-review__text > :last-child {
	margin-bottom: 0;
}

.portfolio-review__noted {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.portfolio-review__noted h3 {
	position: relative;
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding-bottom: 2px;
	color: #f2ceb5;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-review__noted h3::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #f2ceb5;
	transform: scaleY(0.3);
	transform-origin: bottom;
}

.portfolio-review__pros {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.portfolio-review__pros li {
	display: inline-flex;
	align-items: center;
	border-radius: 61px;
	padding: 10px 14px 12px;
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	background: #1e1e1e;
}

.portfolio-related {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #1e1e1e;
}

.portfolio-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.portfolio-related__title {
	width: 100%;
	max-width: none;
	margin: 0;
}

.portfolio-related__nav {
	display: flex;
	flex: 0 0 auto;
	gap: 14px;
}

.portfolio-related__arrow--disabled {
	opacity: 0.35;
	pointer-events: none;
}

.portfolio-related__body {
	position: relative;
	width: 100%;
}

.portfolio-related__grid.swiper {
	margin-top: -5px;
	margin-left: -40px;
	margin-right: -40px;
	padding: 5px 40px 5px;
}

.portfolio-related__grid .swiper-slide {
	display: flex;
	height: auto;
}

.portfolio-related__grid .portfolio-card {
	width: 100%;
	height: 100%;
}

.portfolio-related__side-nav {
	position: absolute;
	z-index: 2;
	top: 323px;
	right: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.portfolio-related__side-arrow {
	pointer-events: auto;
}

.portfolio-card {
	display: flex;
	min-height: 686px;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	background: #1e1e1e;
	box-shadow: 0 0 5px rgba(242, 206, 181, .2);
}

.portfolio-card__image {
	display: block;
	aspect-ratio: 1500 / 1060;
	overflow: hidden;
	background: #111;
}

.portfolio-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-card__title {
	margin: 0;
	color: #f2ceb5;
	font-size: 20px;
	font-weight: 300;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-card__title a {
	color: inherit;
	text-decoration: none;
}

.portfolio-card__summary {
	color: #e6e6e6;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-card__content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 30px 24px;
}

.portfolio-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-top: auto;
	padding: 0 30px 24px;
	border-top: 0;
}

.portfolio-card__meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #e7e7e7;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.portfolio-card__meta-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	object-fit: contain;
	opacity: .6;
}

@media (max-width: 1023px) {
	.portfolio-banner {
		min-height: 620px;
	}

	.portfolio-banner::after {
		left: -680px;
		bottom: -640px;
	}

	.portfolio-banner__breadcrumbs {
		top: 70px;
		left: 20px;
		max-width: calc(100% - 40px);
		gap: 10px;
		border-radius: 28px;
		padding: 7px 14px;
		font-size: 12px;
	}

	.portfolio-banner__breadcrumb-arrow {
		flex-basis: 9px;
		width: 9px;
		height: 18px;
	}

	.portfolio-banner__breadcrumb-arrow::before {
		width: 7px;
		height: 7px;
	}

	.portfolio-banner__content {
		top: auto;
		bottom: 60px;
		left: 20px;
		width: 360px;
		max-width: calc(100% - 40px);
	}

	.portfolio-banner__title {
		width: auto;
		font-size: 28px;
	}

	.portfolio-banner__description {
		width: 300px;
		font-size: 13px;
	}

	.portfolio-project-info__features,
	.portfolio-project-info__blocks,
	.portfolio-materials__grid {
		grid-template-columns: 1fr;
	}

	.portfolio-section {
		padding: 30px 20px;
	}

	/* Blocks span the full viewport width (the section padding supplies the
	 * 20px gutter), so drop the desktop case-body gutter on mobile. */
	.portfolio-single .case-body.max-width {
		padding-right: 0;
		padding-left: 0;
	}

	.portfolio-single .case-body {
		padding-top: 0;
		padding-bottom: 40px;
	}

	.portfolio-section__title {
		margin-bottom: 20px;
		font-size: 20px;
	}

	/* Mobile: the sticky desktop sidebar becomes an inline "Содержание" block
	 * shown right after the hero (Figma node 265-12619). */
	.portfolio-single .toc-sidebar {
		display: block;
	}

	.portfolio-single .toc-sidebar__sticky {
		position: static;
		gap: 20px;
		padding: 30px 20px;
	}

	.portfolio-single .toc-sidebar__nav {
		gap: 30px;
		padding: 0;
		border-radius: 0;
		background: transparent;
	}

	.portfolio-single .toc-sidebar__title {
		padding: 0;
	}

	.portfolio-single .toc-sidebar__link {
		min-height: 0;
		gap: 20px;
		padding: 0;
		border-radius: 0;
		color: #e7e7e7;
		background: transparent;
		opacity: 0.7;
		transition: opacity .2s ease;
	}

	.portfolio-single .toc-sidebar__link::before {
		content: "";
		flex: 0 0 8px;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #e7e7e7;
		transition: background .2s ease;
	}

	.portfolio-single .toc-sidebar__link:hover,
	.portfolio-single .toc-sidebar__link.is-active {
		background: transparent;
		opacity: 1;
	}

	.portfolio-single .toc-sidebar__link.is-active::before {
		background: #f2ceb5;
	}

	/* The "Обсудить проект" CTA lives in the drawer on mobile, not inline. */
	.portfolio-single .toc-sidebar__cta {
		display: none;
	}

	.portfolio-related__head {
		min-height: auto;
	}

	/* Match the .swiper specificity so these actually override the desktop
	 * bleed (-40px / 40px). On mobile the section gutter is 20px, so the grid
	 * bleeds 20px to sit edge-to-edge without overflowing the viewport. */
	.portfolio-related__grid.swiper {
		margin-right: -20px;
		margin-left: -20px;
		padding-right: 20px;
		padding-left: 20px;
	}

	.portfolio-related__side-nav {
		display: none;
	}

	.portfolio-related__grid .portfolio-card {
		min-height: 0;
	}

	.portfolio-card__content,
	.portfolio-card__meta {
		padding-right: 20px;
		padding-left: 20px;
	}

	.portfolio-project-info__features {
		gap: 10px;
	}

	.portfolio-project-info__feature {
		max-width: 100%;
	}

	.portfolio-project-info__feature-value {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.portfolio-project-info__blocks {
		gap: 24px;
	}

	.portfolio-object-gallery__swiper {
		height: auto;
	}

	.portfolio-object-gallery__thumbs-swiper {
		--portfolio-thumb-height: 86px;
	}

	.portfolio-object-gallery__thumb {
		width: clamp(72px, calc(var(--portfolio-thumb-ratio) * var(--portfolio-thumb-height)), 180px);
	}

	/* Object gallery arrows stay on mobile too (Figma 265-12702): centered on
	 * the main image, clearing the mobile thumb strip (86px + 10px gap). */
	.portfolio-object-gallery__nav {
		bottom: 96px;
		right: -20px;
		left: -20px;
	}

	.portfolio-video__play,
	.portfolio-review__play {
		width: 72px;
		height: 72px;
	}

	.portfolio-video__play::before,
	.portfolio-review__play::before {
		border-top-width: 11px;
		border-bottom-width: 11px;
		border-left-width: 19px;
	}

	/* .portfolio-floor__content .portfolio-gallery {
		margin-right: -10px;
		margin-left: -10px;
	} */

	/* .portfolio-floor__content .portfolio-gallery__swiper {
		padding-right: 10px;
		padding-left: 10px;
	} */

	/* Floor gallery arrows stay on mobile (Figma 265-12702 / 265-12735):
	 * 40px glass circles centered on the image's left/right edges. The desktop
	 * -30px offset would overflow the 20px gutter, so pull in to -20px. */
	.portfolio-floor__content .media-gallery__nav--prev {
		left: -20px;
	}

	.portfolio-floor__content .media-gallery__nav--next {
		right: -20px;
	}

	.portfolio-banner {
		min-height: 560px;
	}

	.portfolio-banner__breadcrumbs {
		overflow: hidden;
	}

	.portfolio-banner__breadcrumbs a,
	.portfolio-banner__breadcrumbs span {
		max-width: 120px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.portfolio-banner__content {
		bottom: 40px;
	}

	.portfolio-banner__title {
		font-size: 24px;
	}

	.portfolio-banner__description {
		width: auto;
	}

	.portfolio-banner__button {
		width: 100%;
	}

}

/* Portfolio archive page */
.portfolio-archive {
	overflow: hidden;
	padding: 0;
	color: #e6e6e6;
	background: #1e1e1e;
}

.portfolio-archive-projects__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.portfolio-archive .navigation.pagination {
	margin-top: 40px;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.portfolio-archive .page-numbers {
	display: inline-flex;
	min-width: 36px;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(231, 231, 231, 0.18);
	color: inherit;
	text-decoration: none;
}

.portfolio-archive .page-numbers.current,
.portfolio-archive .page-numbers:hover {
	border-color: rgba(242, 206, 181, 0.8);
	color: #f2ceb5;
}

.portfolio-archive__empty {
	padding: 60px 0;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 16px;
	text-align: center;
}

@media (max-width: 1023px) {
	.portfolio-archive-projects {
		padding-bottom: 40px;
	}

	.portfolio-archive-projects__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
	}

	.portfolio-archive-projects .portfolio-archive-filters {
		justify-content: flex-start;
		gap: 14px 18px;
	}
	
	.portfolio-archive-projects .portfolio-archive-filters {
		width: 100%;
		flex-direction: column;
	}
}

.portfolio-archive-projects {
	padding-top: 30px;
	padding-bottom: 60px;
	background: #1e1e1e;
}

.portfolio-archive-projects .portfolio-archive-filters {
	display: block;
	width: min(100% - 80px, 1360px);
	margin: 0 auto 30px;
	padding: 0;
	border: 0;
	background: transparent;
}

.portfolio-archive-filters__tabs {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(231, 231, 231, 0.3);
}

.portfolio-archive-projects .portfolio-archive-filters__tab {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	padding: 0 10px 18px;
	border: 0;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 20px;
	line-height: normal;
	text-align: center;
	text-transform: uppercase;
	background: transparent;
	cursor: pointer;
	transition: color .2s ease;
}

.portfolio-archive-projects .portfolio-archive-filters__tab::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	background: #f2ceb5;
	opacity: 0;
	transform: scaleY(0.3);
	transform-origin: bottom;
	transition: opacity .2s ease;
}

.portfolio-archive-projects .portfolio-archive-filters__tab:hover,
.portfolio-archive-projects .portfolio-archive-filters__tab--active {
	color: #f2ceb5;
}

.portfolio-archive-projects .portfolio-archive-filters__tab--active::after {
	opacity: 1;
	transform: scaleY(1.3);
}

.portfolio-archive-filters__line {
	display: none;
}

.portfolio-archive-projects__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 0;
}

.portfolio-archive-project {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #1e1e1e;
	box-shadow: 0 0 5px rgba(242, 206, 181, 0.2);
}

.portfolio-archive-project::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(#f2ceb5, #f2ceb5) top left / 100% 0.3px no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) top right / 0.3px 100% no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) bottom left / 100% 0.3px no-repeat,
		linear-gradient(#f2ceb5, #f2ceb5) top left / 0.3px 100% no-repeat;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease-in-out;
}

.portfolio-archive-project:hover::before {
	opacity: 1;
}

.portfolio-archive-project[hidden] {
	display: none;
}

.portfolio-archive-project__image {
	display: block;
	aspect-ratio: 1500 / 1060;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #171717;
}

.portfolio-archive-project__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.portfolio-archive-project:hover .portfolio-archive-project__image img {
	transform: scale(1.02);
}

.portfolio-archive-project__image:empty {
	background:
		linear-gradient(135deg, rgba(242, 206, 181, 0.15), rgba(0, 0, 0, 0)),
		#171717;
}

.portfolio-archive-project__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 30px 24px;
}

.portfolio-archive-project__title {
	margin: 0;
	color: #f2ceb5;
	font-weight: 300;
	font-size: 20px;
	line-height: normal;
	text-transform: uppercase;
}

.portfolio-archive-project__title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.portfolio-archive-project__title a:hover {
	color: #e7e7e7;
}

.portfolio-archive-project__desc {
	margin-top: 12px;
	color: #e7e7e7;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
}

.portfolio-archive-project__props {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-top: auto;
	padding-top: 24px;
}

.portfolio-archive-project__prop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.portfolio-archive-project__prop-icon {
	display: flex;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	align-items: center;
	justify-content: center;
	opacity: 0.5;
}

.portfolio-archive-project__prop-icon img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.portfolio-archive-project__prop-value {
	color: #e7e7e7;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	white-space: nowrap;
}

.portfolio-archive-more {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.portfolio-archive-more a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	gap: 12px;
	padding: 10px 20px;
	border-radius: 5px;
	color: #e7e7e7;
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	text-decoration: none;
	text-transform: uppercase;
	background: rgba(242, 206, 181, 0.05);
	box-shadow: 0 0 5px rgba(242, 206, 181, 0.16);
	transition: color .2s ease, background .2s ease;
}

.portfolio-archive-more a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.portfolio-archive-more a:hover {
	color: #f2ceb5;
	background: rgba(242, 206, 181, 0.09);
}

@media (max-width: 1023px) {
	.portfolio-archive-projects .portfolio-archive-filters {
		width: min(100% - 30px, 1360px);
		margin-bottom: 20px;
	}

	.portfolio-archive-filters__tabs {
		gap: 5px;
		padding: 5px;
		border: 0;
		border-radius: 15px;
		background: rgba(0, 0, 0, 0.3);
	}

	.portfolio-archive-projects .portfolio-archive-filters__tab {
		flex: 1 1 0;
		padding: 14px 12px;
		border-radius: 10px;
		color: #f2ceb5;
		font-size: 14px;
		text-transform: unset;
	}

	.portfolio-archive-projects .portfolio-archive-filters__tab::after {
		display: none;
	}

	.portfolio-archive-projects .portfolio-archive-filters__tab--active {
		background: #000;
	}

	.portfolio-archive-projects__list {
		grid-template-columns: 1fr;
	}

	.portfolio-archive-projects {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.portfolio-archive-project__content {
		padding: 18px 18px 22px;
	}

	.portfolio-archive-project__title {
		font-size: 18px;
	}

	.portfolio-archive-project__prop-value {
		white-space: normal;
	}
}
