/* One layout and one hover treatment for selected work, project walls, and archives. */
body.sh-wall-layout-editorial .wall,
body.sh-wall-layout-editorial .archive-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: clamp(20px, 4vw, 46px);
	gap: var(--sh-gallery-gap-user, clamp(8px, 1.2vw, 16px));
	width: 100%;
}


body.home.sh-wall-layout-editorial .wall {
	gap: var(--sh-work-gap-user, clamp(8px, 1.2vw, 16px));
}

body.single-sh_project.sh-wall-layout-editorial .wall {
	gap: var(--sh-project-gap-user, clamp(8px, 1.2vw, 16px));
}

body.sh-wall-layout-editorial .wall-row {
	display: contents;
}

body.sh-wall-layout-editorial .wall-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	grid-column: span 4;
	grid-row: span 6;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	aspect-ratio: auto;
	margin: 0;
	overflow: visible;
}

body.sh-wall-layout-editorial .wall-frame {
	position: relative;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: var(--sh-gs-box-bg, #151515);
}

body.sh-wall-layout-editorial .wall-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 480ms cubic-bezier(.2, .7, .2, 1);
}

body.sh-wall-layout-editorial .wall-frame::after {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	border: 1px solid #991520;
	content: "";
	opacity: 0;
	pointer-events: none;
	transition: opacity 480ms cubic-bezier(.2, .7, .2, 1);
	z-index: 1;
}

body.home.sh-wall-layout-editorial .work-gallery[data-wall-mode="link"] .wall-cell {
	gap: 9px;
}

body.home.sh-wall-layout-editorial .wall-card-meta {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 2px;
	min-height: 42px;
}

body.home.sh-wall-layout-editorial .wall-card-category {
	color: var(--muted, #aaa);
	font-size: var(--sh-fs-micro, 12px);
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.home.sh-wall-layout-editorial .wall-card-title {
	margin: 0;
	color: var(--text, #f5f5f5);
	font-size: var(--sh-fs-gallery-card-title-responsive-user, var(--sh-fs-gallery-card-title-user, var(--sh-fs-card-title, 17px)));
	font-weight: 500;
	line-height: 1.4;
}

body.sh-wall-layout-editorial .archive-card {
	display: flex;
	flex-direction: column;
	grid-column: span 4;
	grid-row: span 6;
	min-width: 0;
	min-height: 0;
	height: 100%;
	color: inherit;
}

body.sh-wall-layout-editorial .archive-card-frame {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: auto;
	margin: 0;
	overflow: hidden;
	background: var(--sh-gs-box-bg, #151515);
}

body.sh-wall-layout-editorial .archive-card-frame img {
	display: block;
	flex: 1 1 auto;
	width: 100%;
	height: auto;
	min-height: 0;
	object-fit: cover;
	outline: 1px solid transparent;
	outline-offset: -1px;
	transition: filter 480ms cubic-bezier(.2, .7, .2, 1), outline-color 480ms cubic-bezier(.2, .7, .2, 1);
}

body.sh-wall-layout-editorial .archive-card-meta {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 4px;
	position: static;
	align-items: flex-start;
	margin: 0;
	padding: 10px 0 0;
	background: transparent;
	color: inherit;
	text-align: start;
	opacity: 1;
	pointer-events: auto;
	transition: none;
}

body.sh-wall-layout-editorial .archive-card-title {
	color: var(--text, #f5f5f5);
	font-size: var(--sh-fs-gallery-card-title-responsive-user, var(--sh-fs-gallery-card-title-user, var(--sh-fs-archive-name, 17px)));
	line-height: 1.45;
}

body.sh-wall-layout-editorial .archive-card-sub {
	justify-content: flex-start;
	color: var(--muted, #aaa);
	font-size: var(--sh-fs-micro, 12px);
}

@media (hover: hover) and (pointer: fine) {
	body.sh-wall-layout-editorial .wall-cell:hover .wall-frame::after,
	body.sh-wall-layout-editorial .wall-cell:focus-visible .wall-frame::after {
		opacity: 1;
	}

	body.home.sh-wall-layout-editorial .work-gallery.sh-bent-wall .wall-cell:hover img,
	body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall .wall-cell:hover img,
	body.sh-wall-layout-editorial .archive-card:hover .archive-card-frame img {
		filter: brightness(1.08);
		transform: none;
		outline-color: #991520;
	}
}

body.sh-wall-layout-editorial .wall-cell:focus-visible .wall-frame::after {
	opacity: 1;
}

body.home.sh-wall-layout-editorial .work-gallery.sh-bent-wall .wall-cell:focus-visible img,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall .wall-cell:focus-visible img,
body.sh-wall-layout-editorial .archive-card:focus-visible .archive-card-frame img {
	filter: brightness(1.08);
	transform: none;
	outline-color: #991520;
}

body.sh-wall-layout-editorial .wall-frame-no,
body.sh-wall-layout-editorial .wall-hint,
body.sh-wall-layout-editorial .wall-close {
	display: none;
}

/* A deliberate rhythm across photo walls and the project index. */
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="0"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n + 1) { grid-column: span 7; grid-row: span 8; }
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="1"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n + 2) { grid-column: span 5; grid-row: span 6; }
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="2"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n + 3) { grid-column: span 4; grid-row: span 6; }
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="3"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n + 4) { grid-column: span 5; grid-row: span 7; }
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="4"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n + 5) { grid-column: span 7; grid-row: span 8; }
body.sh-wall-layout-editorial .wall-cell[data-editorial-index="5"],
body.sh-wall-layout-editorial .archive-card:nth-child(6n) { grid-column: span 5; grid-row: span 6; }

@media (max-width: 900px) {
	body.sh-wall-layout-editorial .wall,
	body.sh-wall-layout-editorial .archive-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-rows: clamp(20px, 5vw, 38px);
	}

	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="0"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 1) { grid-column: span 4; grid-row: span 7; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="1"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 2) { grid-column: span 2; grid-row: span 5; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="2"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 3) { grid-column: span 2; grid-row: span 5; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="3"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 4) { grid-column: span 4; grid-row: span 6; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="4"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 5) { grid-column: span 3; grid-row: span 5; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="5"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n) { grid-column: span 3; grid-row: span 5; }
}

@media (max-width: 560px) {
	body.sh-wall-layout-editorial .wall,
	body.sh-wall-layout-editorial .archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(26px, 12vw, 54px);
		gap: clamp(8px, 2vw, 12px);
	}

	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="0"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 1) { grid-column: span 2; grid-row: span 6; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="1"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 2) { grid-column: span 1; grid-row: span 5; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="2"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 3) { grid-column: span 1; grid-row: span 4; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="3"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 4) { grid-column: span 2; grid-row: span 6; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="4"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n + 5) { grid-column: span 1; grid-row: span 5; }
	body.sh-wall-layout-editorial .wall-cell[data-editorial-index="5"],
	body.sh-wall-layout-editorial .archive-card:nth-child(6n) { grid-column: span 1; grid-row: span 4; }

	body.home.sh-wall-layout-editorial .wall-card-meta { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	body.sh-wall-layout-editorial .wall-frame img,
	body.sh-wall-layout-editorial .archive-card-frame img,
	body.sh-wall-layout-editorial .wall-frame::after {
		transition: none;
	}
}


/* Retire the legacy image-title overlay on the editorial layout. */
body.sh-wall-layout-editorial .wall-cap { display: none !important; }


/* Higher-priority editorial rules retire the legacy wall styling. */
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	grid-auto-rows: clamp(20px, 4vw, 46px) !important;
	align-items: stretch !important;
	columns: initial !important;
}
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall { gap: var(--sh-work-gap-user, clamp(8px, 1.2vw, 16px)) !important; }
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall { gap: var(--sh-project-gap-user, clamp(8px, 1.2vw, 16px)) !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell {
	position: relative !important; display: flex !important; flex-direction: column !important;
	grid-column: span 4 !important; grid-row: span 6 !important; width: auto !important; height: auto !important;
	min-width: 0 !important; min-height: 0 !important; margin: 0 !important; overflow: visible !important; aspect-ratio: auto !important;
}
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell > .wall-frame,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell > .wall-frame {
	position: relative !important; display: block !important; flex: 1 1 auto !important;
	width: 100% !important; height: 100% !important; min-height: 0 !important; overflow: hidden !important;
}
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell > .wall-frame > img,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell > .wall-frame > img {
	position: absolute !important; inset: 0 !important; display: block !important; width: 100% !important; height: 100% !important;
	object-fit: cover !important; filter: none !important; transform: none !important; outline: 1px solid transparent !important; outline-offset: -1px !important;
	transition: filter 480ms cubic-bezier(.2, .7, .2, 1), outline-color 480ms cubic-bezier(.2, .7, .2, 1) !important;
}
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell::after,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell::after,
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell .wall-cap,
body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell .wall-cap { display: none !important; }

body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"] { grid-column: span 7 !important; grid-row: span 8 !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"] { grid-column: span 5 !important; grid-row: span 6 !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"] { grid-column: span 4 !important; grid-row: span 6 !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"] { grid-column: span 5 !important; grid-row: span 7 !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"] { grid-column: span 7 !important; grid-row: span 8 !important; }
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"] { grid-column: span 5 !important; grid-row: span 6 !important; }

@media (hover: hover) and (pointer: fine) {
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell:hover > .wall-frame::after,
	body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell:hover > .wall-frame::after { opacity: 1 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell:hover > .wall-frame > img,
	body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell:hover > .wall-frame > img { filter: brightness(1.08) !important; transform: none !important; outline-color: #991520 !important; }
}
@media (max-width: 900px) {
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall,
	body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-auto-rows: clamp(20px, 5vw, 38px) !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"] { grid-column: span 4 !important; grid-row: span 7 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"] { grid-column: span 2 !important; grid-row: span 5 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"] { grid-column: span 2 !important; grid-row: span 5 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"] { grid-column: span 4 !important; grid-row: span 6 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"] { grid-column: span 3 !important; grid-row: span 5 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"] { grid-column: span 3 !important; grid-row: span 5 !important; }
}
@media (max-width: 560px) {
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall,
	body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: clamp(26px, 12vw, 54px) !important; gap: clamp(8px, 2vw, 12px) !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="0"] { grid-column: span 2 !important; grid-row: span 6 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="1"] { grid-column: span 1 !important; grid-row: span 5 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="2"] { grid-column: span 1 !important; grid-row: span 4 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="3"] { grid-column: span 2 !important; grid-row: span 6 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="4"] { grid-column: span 1 !important; grid-row: span 5 !important; }
	body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"], body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall > .wall > .wall-cell[data-editorial-index="5"] { grid-column: span 1 !important; grid-row: span 4 !important; }
}


/* Natural-aspect asymmetric option: keep the existing editorial rhythm without cropping photographs. */
body.sh-wall-layout-editorial-natural .wall,body.sh-wall-layout-editorial-natural .archive-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-rows:clamp(20px,4vw,46px)!important;gap:var(--sh-gallery-gap-user,clamp(8px,1.2vw,16px))!important;width:100%!important;}
body.home.sh-wall-layout-editorial-natural .wall{gap:var(--sh-work-gap-user,clamp(8px,1.2vw,16px))!important;}
body.single-sh_project.sh-wall-layout-editorial-natural .wall{gap:var(--sh-project-gap-user,clamp(8px,1.2vw,16px))!important;}
body.sh-wall-layout-editorial-natural .wall-row{display:contents!important;}
body.sh-wall-layout-editorial-natural .wall-cell{display:flex!important;flex-direction:column!important;grid-column:span 4;grid-row:span 6;min-width:0!important;min-height:0!important;margin:0!important;}
body.sh-wall-layout-editorial-natural .wall-frame{position:relative!important;display:block!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;background:#111!important;}
body.sh-wall-layout-editorial-natural .wall-frame>img,body.sh-wall-layout-editorial-natural .archive-card-frame>img{width:100%!important;height:100%!important;object-fit:contain!important;background:#111!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="0"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+1){grid-column:span 7!important;grid-row:span 8!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="1"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+2){grid-column:span 5!important;grid-row:span 6!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="2"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+3){grid-column:span 4!important;grid-row:span 6!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="3"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+4){grid-column:span 5!important;grid-row:span 7!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="4"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+5){grid-column:span 7!important;grid-row:span 8!important;}
body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="5"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n){grid-column:span 5!important;grid-row:span 6!important;}
@media(max-width:900px){body.sh-wall-layout-editorial-natural .wall,body.sh-wall-layout-editorial-natural .archive-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:clamp(20px,5vw,38px)!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="0"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+1){grid-column:span 4!important;grid-row:span 7!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="1"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+2),body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="2"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+3){grid-column:span 2!important;grid-row:span 5!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="3"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+4){grid-column:span 4!important;grid-row:span 6!important;}}
@media(max-width:560px){body.sh-wall-layout-editorial-natural .wall,body.sh-wall-layout-editorial-natural .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(26px,12vw,54px)!important;gap:clamp(8px,2vw,12px)!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="0"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+1){grid-column:span 2!important;grid-row:span 6!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="1"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+2){grid-column:span 1!important;grid-row:span 5!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="2"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+3){grid-column:span 1!important;grid-row:span 4!important;}body.sh-wall-layout-editorial-natural .wall-cell[data-editorial-index="3"],body.sh-wall-layout-editorial-natural .archive-card:nth-child(6n+4){grid-column:span 2!important;grid-row:span 6!important;}}

/* Pomelli reference layout: 13/8 opening pair, then three equal columns and a full-width frame. */
body.sh-wall-layout-pomelli .wall,body.sh-wall-layout-pomelli .archive-grid{display:grid!important;grid-template-columns:repeat(21,minmax(0,1fr))!important;grid-auto-rows:clamp(18px,2vw,30px)!important;gap:clamp(16px,2.2vw,32px)!important;width:100%!important;}
body.home.sh-wall-layout-pomelli .wall{gap:clamp(16px,2.2vw,32px)!important;}
body.single-sh_project.sh-wall-layout-pomelli .wall{gap:clamp(16px,2.2vw,32px)!important;}
body.sh-wall-layout-pomelli .wall-row{display:contents!important;}
body.sh-wall-layout-pomelli .wall-cell{display:flex!important;flex-direction:column!important;grid-column:span 7!important;grid-row:span 8!important;min-width:0!important;min-height:0!important;margin:0!important;}
body.sh-wall-layout-pomelli .wall-frame,body.sh-wall-layout-pomelli .archive-card-frame{position:relative!important;display:block!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important;border:1px solid #222!important;background:#080808!important;transition:border-color .3s cubic-bezier(.22,.61,.36,1) .04s!important;}
body.sh-wall-layout-pomelli .wall-frame>img,body.sh-wall-layout-pomelli .archive-card-frame>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:brightness(.85) contrast(1.1)!important;transform:none!important;outline:0!important;transition:filter .4s cubic-bezier(.22,.61,.36,1) .08s!important;}
body.sh-wall-layout-pomelli .wall-frame::after{content:none!important;display:none!important;}
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="0"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+1){grid-column:span 13!important;grid-row:span 10!important;}
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="1"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+2){grid-column:span 8!important;grid-row:span 10!important;}
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="2"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+3),body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="3"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+4),body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="4"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+5){grid-column:span 7!important;grid-row:span 8!important;}
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="5"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n){grid-column:span 21!important;grid-row:span 7!important;}
@media(hover:hover) and (pointer:fine){body.sh-wall-layout-pomelli .wall-cell:hover>.wall-frame,body.sh-wall-layout-pomelli .archive-card:hover .archive-card-frame{border-color:#800000!important;}body.sh-wall-layout-pomelli .wall-cell:hover>.wall-frame>img,body.sh-wall-layout-pomelli .archive-card:hover .archive-card-frame>img{filter:brightness(1) contrast(1.15)!important;}}
@media(max-width:900px){body.sh-wall-layout-pomelli .wall,body.sh-wall-layout-pomelli .archive-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-rows:clamp(18px,3.2vw,34px)!important;gap:clamp(12px,2vw,20px)!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="0"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+1){grid-column:span 8!important;grid-row:span 8!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="1"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+2){grid-column:span 4!important;grid-row:span 8!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="2"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+3),body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="3"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+4),body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="4"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+5){grid-column:span 4!important;grid-row:span 6!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="5"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n){grid-column:span 12!important;grid-row:span 7!important;}}
@media(max-width:560px){body.sh-wall-layout-pomelli .wall,body.sh-wall-layout-pomelli .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(24px,8vw,40px)!important;gap:clamp(8px,2vw,12px)!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="0"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+1){grid-column:span 2!important;grid-row:span 6!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="1"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+2){grid-column:span 1!important;grid-row:span 5!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="2"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+3){grid-column:span 1!important;grid-row:span 4!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="3"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n+4){grid-column:span 2!important;grid-row:span 6!important;}body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="5"],body.sh-wall-layout-pomelli .archive-card:nth-child(6n){grid-column:span 2!important;grid-row:span 5!important;}}

/* Match the reference hover treatment on all three selectable image layouts. */
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall>.wall>.wall-cell>.wall-frame,body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall>.wall>.wall-cell>.wall-frame,body.sh-wall-layout-editorial .archive-card-frame,body.home.sh-wall-layout-editorial-natural #work .work-gallery.sh-bent-wall>.wall>.wall-cell>.wall-frame,body.single-sh_project.sh-wall-layout-editorial-natural .sh-bent-wall>.wall>.wall-cell>.wall-frame,body.sh-wall-layout-editorial-natural .archive-card-frame{box-sizing:border-box!important;border:1px solid #222!important;transition:border-color .3s cubic-bezier(.22,.61,.36,1) .04s!important;}
body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall>.wall>.wall-cell>.wall-frame>img,body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall>.wall>.wall-cell>.wall-frame>img,body.sh-wall-layout-editorial .archive-card-frame>img,body.home.sh-wall-layout-editorial-natural #work .work-gallery.sh-bent-wall>.wall>.wall-cell>.wall-frame>img,body.single-sh_project.sh-wall-layout-editorial-natural .sh-bent-wall>.wall>.wall-cell>.wall-frame>img,body.sh-wall-layout-editorial-natural .archive-card-frame>img{filter:brightness(.85) contrast(1.1)!important;transform:none!important;outline:0!important;transition:filter .4s cubic-bezier(.22,.61,.36,1) .08s!important;}
@media(hover:hover) and (pointer:fine){body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall>.wall>.wall-cell:hover>.wall-frame,body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall>.wall>.wall-cell:hover>.wall-frame,body.sh-wall-layout-editorial .archive-card:hover .archive-card-frame,body.home.sh-wall-layout-editorial-natural #work .work-gallery.sh-bent-wall>.wall>.wall-cell:hover>.wall-frame,body.single-sh_project.sh-wall-layout-editorial-natural .sh-bent-wall>.wall>.wall-cell:hover>.wall-frame,body.sh-wall-layout-editorial-natural .archive-card:hover .archive-card-frame{border-color:#800000!important;}body.home.sh-wall-layout-editorial #work .work-gallery.sh-bent-wall>.wall>.wall-cell:hover>.wall-frame>img,body.single-sh_project.sh-wall-layout-editorial .sh-bent-wall>.wall>.wall-cell:hover>.wall-frame>img,body.sh-wall-layout-editorial .archive-card:hover .archive-card-frame>img,body.home.sh-wall-layout-editorial-natural #work .work-gallery.sh-bent-wall>.wall>.wall-cell:hover>.wall-frame>img,body.single-sh_project.sh-wall-layout-editorial-natural .sh-bent-wall>.wall>.wall-cell:hover>.wall-frame>img,body.sh-wall-layout-editorial-natural .archive-card:hover .archive-card-frame>img{filter:brightness(1) contrast(1.15)!important;}}

/* The selected Pomelli intro appears only when its layout option is active. */
body.home.sh-wall-layout-pomelli #work #work-heading{display:flex!important;flex:1 1 100%!important;flex-direction:column!important;align-items:center!important;gap:14px!important;text-align:center!important;font-size:0!important;line-height:1.1!important;color:transparent!important;}
body.home.sh-wall-layout-pomelli #work #work-heading::before{content:"CURATED WORKS";display:block;font-family:var(--site-title-font,inherit);font-size:12px;line-height:1.2;font-weight:600;letter-spacing:.24em;color:#c8b8b8;text-transform:uppercase;}
body.home.sh-wall-layout-pomelli #work #work-heading::after{content:"STAGE STILLS & VISUAL WORKS";display:inline-block;padding:0 0 14px;border-bottom:1px solid #800000;font-family:var(--site-title-font,inherit);font-size:clamp(24px,4vw,52px);line-height:1.05;font-weight:700;letter-spacing:.015em;color:#fff;text-transform:uppercase;}
@media(max-width:560px){body.home.sh-wall-layout-pomelli #work #work-heading::before{font-size:10px;}body.home.sh-wall-layout-pomelli #work #work-heading::after{font-size:clamp(21px,6vw,32px);}}


/* Pomelli corrections: keep Persian copy, let the grid override gallery JS widths, and keep mobile cards inside the viewport. */
body.sh-wall-layout-pomelli .wall,
body.sh-wall-layout-pomelli .archive-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: clamp(22px, 2.4vw, 32px) !important;
  grid-auto-flow: row dense !important;
  gap: clamp(16px, 2.2vw, 32px) !important;
  width: 100% !important;
}
body.sh-wall-layout-pomelli .wall-row { display: contents !important; height: auto !important; }
body.sh-wall-layout-pomelli .wall-cell,
body.sh-wall-layout-pomelli .archive-card {
  display: flex !important; flex-direction: column !important;
  width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important;
}
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="0"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+1) { grid-area: span 12 / span 5 !important; }
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="1"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+2) { grid-area: span 12 / span 7 !important; }
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="2"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+3) { grid-area: span 10 / span 7 !important; }
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="3"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+4) { grid-area: span 10 / span 5 !important; }
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="4"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+5) { grid-area: span 12 / span 5 !important; }
body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="5"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n) { grid-area: span 12 / span 7 !important; }
body.sh-wall-layout-pomelli .wall-frame, body.sh-wall-layout-pomelli .archive-card-frame {
  position: relative !important; display: block !important; flex: 1 1 auto !important;
  width: 100% !important; height: 100% !important; min-height: 0 !important;
  box-sizing: border-box !important; overflow: hidden !important;
  border: 1px solid #242424 !important; background: #080808 !important;
  transition: border-color .76s cubic-bezier(.22,.61,.36,1) .14s, box-shadow .76s cubic-bezier(.22,.61,.36,1) .14s !important;
}
body.sh-wall-layout-pomelli .wall-frame > img, body.sh-wall-layout-pomelli .archive-card-frame > img {
  display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important;
  filter: brightness(.74) saturate(.94) !important; transform: none !important;
  transition: filter .32s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  body.sh-wall-layout-pomelli .wall-cell:hover > .wall-frame, body.sh-wall-layout-pomelli .archive-card:hover .archive-card-frame,
  body.sh-wall-layout-pomelli .wall-cell:focus-within > .wall-frame, body.sh-wall-layout-pomelli .archive-card:focus-within .archive-card-frame { border-color: #c81e28 !important; box-shadow: 0 0 0 1px rgba(200,30,40,.38) !important; }
  body.sh-wall-layout-pomelli .wall-cell:hover .wall-frame > img, body.sh-wall-layout-pomelli .archive-card:hover .archive-card-frame > img,
  body.sh-wall-layout-pomelli .wall-cell:focus-within .wall-frame > img, body.sh-wall-layout-pomelli .archive-card:focus-within .archive-card-frame > img { filter: brightness(1) saturate(1) !important; transform: none !important; }
}
body.home.sh-wall-layout-pomelli #work { background: #000 !important; padding-block: clamp(72px, 9vw, 132px) !important; }
body.home.sh-wall-layout-pomelli #work .section-head { display: block !important; width: 100% !important; margin: 0 0 clamp(36px, 5vw, 64px) !important; text-align: center !important; }
body.home.sh-wall-layout-pomelli #work .section-head > div { display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; }
body.home.sh-wall-layout-pomelli #work .about-cta, body.home.sh-wall-layout-pomelli #work .work-discipline-title { display: none !important; }
body.home.sh-wall-layout-pomelli #work #work-heading { display: block !important; width: 100% !important; font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.2 !important; color: #fff !important; text-align: center !important; padding: 0 !important; border: 0 !important; }
body.home.sh-wall-layout-pomelli #work #work-heading::before { content: none !important; display: none !important; }
body.home.sh-wall-layout-pomelli #work #work-heading::after { content: "" !important; display: block !important; width: 58px !important; height: 1px !important; margin: 18px auto 0 !important; padding: 0 !important; border: 0 !important; background: #c81e28 !important; }
@media (max-width: 900px) {
  body.sh-wall-layout-pomelli .wall, body.sh-wall-layout-pomelli .archive-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-auto-rows: clamp(20px, 3.2vw, 30px) !important; gap: clamp(12px, 2vw, 22px) !important; }
}
@media (max-width: 560px) {
  body.sh-wall-layout-pomelli .wall, body.sh-wall-layout-pomelli .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: clamp(22px, 6vw, 32px) !important; gap: clamp(8px, 2.5vw, 12px) !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="0"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+1) { grid-area: span 9 / span 2 !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="1"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+2) { grid-area: span 7 / span 1 !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="2"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+3) { grid-area: span 7 / span 1 !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="3"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+4) { grid-area: span 9 / span 2 !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="4"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n+5) { grid-area: span 7 / span 1 !important; }
  body.sh-wall-layout-pomelli .wall-cell[data-editorial-index="5"], body.sh-wall-layout-pomelli .archive-card:nth-child(6n) { grid-area: span 7 / span 1 !important; }
  body.home.sh-wall-layout-pomelli #work { padding-inline: 18px !important; }
  body.home.sh-wall-layout-pomelli #work #work-heading { font-size: clamp(24px, 7vw, 32px) !important; }
}
@media (prefers-reduced-motion: reduce) { body.sh-wall-layout-pomelli .wall-frame, body.sh-wall-layout-pomelli .wall-frame > img, body.sh-wall-layout-pomelli .archive-card-frame, body.sh-wall-layout-pomelli .archive-card-frame > img { transition: none !important; } }


/* Remove the separate black panel behind selected works. */
body.home.sh-wall-layout-pomelli #work {
  background: transparent !important;
}


/* Final hover frame cleanup: one subtle red 1px line only. */
body[class*="sh-wall-layout-"] .wall-cell .wall-frame,
body[class*="sh-wall-layout-"] .archive-grid .archive-card .archive-card-frame {
  border-width: 1px !important;
  box-shadow: none !important;
}
body[class*="sh-wall-layout-"] .wall-cell .wall-frame > img,
body[class*="sh-wall-layout-"] .archive-grid .archive-card .archive-card-frame > img {
  outline: none !important;
  outline-offset: 0 !important;
}


/* ==========================================================================
   v2 migration: legacy Customizer CSS moved into the theme
   ========================================================================== */
body[class*="sh-wall-layout-"] .wall-cell {
  border: 1px solid #222 ;
  border-radius: 0 ;
  box-sizing: border-box ;
  box-shadow: none ;
  transition: border-color .3s ease ;
}
body[class*="sh-wall-layout-"] .wall-cell .wall-frame {
  display: block ;
  width: 100% ;
  height: 100% ;
  line-height: 0 ;
  border: 0 ;
}
body[class*="sh-wall-layout-"] .wall-cell .wall-frame > img,
.archive-grid .archive-card .archive-card-frame > img {
  width: 100% ;
  height: 100% ;
  display: block ;
  object-fit: cover ;
  filter: brightness(.85) contrast(1.1) ;
  transform: none ;
  outline: none ;
  transition: filter .4s ease ;
}
.archive-grid .archive-card .archive-card-frame {
  border: 1px solid #222 ;
  box-shadow: none ;
  transition: border-color .3s ease ;
}
@media (hover: hover) and (pointer: fine) {
  body[class*="sh-wall-layout-"] .wall-cell:hover,
  .archive-grid .archive-card:hover .archive-card-frame {
    border-color: #800000 ;
    box-shadow: none ;
  }
  body[class*="sh-wall-layout-"] .wall-cell:hover .wall-frame > img,
  .archive-grid .archive-card:hover .archive-card-frame > img {
    filter: brightness(1) contrast(1.15) ;
    transform: none ;
    outline: none ;
  }
}

/* Hero highlight follows the reference gallery treatment. */
.hero-slide img {
  filter: brightness(.85) contrast(1.1) ;
  transform: none ;
  transition: filter .4s ease ;
}
@media (hover: hover) and (pointer: fine) {
  .hero:hover .hero-slide img {
    filter: brightness(1) contrast(1.15) ;
    transform: none ;
  }
}
@media (hover: none) and (pointer: coarse), (max-width: 1024px) {
  .hero .hero-media img {
    filter: brightness(1) contrast(1.15) ;
    transform: none ;
    transition: filter .4s ease ;
  }
}

/* Reference-style lower cards: contact + closing positioning */
main#top > #contact.site.contact {
  width: min(850px, calc(100% - 8vw)) ;
  max-width: 850px ;
  margin: clamp(64px, 8vw, 112px) auto ;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 56px) ;
  box-sizing: border-box ;
  background: #14171b ;
  border: 1px solid #800000 ;
  box-shadow: 0 20px 50px rgba(128, 0, 0, .25) ;
  text-align: center ;
}
main#top > #contact .contact-intro {
  max-width: 100% ;
  margin: 0 auto 28px ;
  text-align: center ;
}
main#top > #contact .contact-intro h2 {
  margin: 0 0 24px ;
  color: #f2f2f2 ;
  font-size: clamp(1.7rem, 3vw, 2.2rem) ;
  font-weight: 700 ;
  letter-spacing: .08em ;
  text-transform: uppercase ;
}
main#top > #contact .contact-lead {
  max-width: 760px ;
  margin: 0 auto ;
  color: #b8b8b8 ;
  font-size: clamp(1rem, 1.5vw, 1.1rem) ;
  line-height: 1.8 ;
  text-align: center ;
}
main#top > #contact .home-contact-cta {
  display: inline-flex ;
  align-items: center ;
  justify-content: center ;
  gap: 12px ;
  min-height: 54px ;
  padding: 16px 40px ;
  background: #800000 ;
  color: #f2f2f2 ;
  border: 1px solid #a30000 ;
  border-radius: 0 ;
  box-shadow: none ;
  font-size: 1.05rem ;
  font-weight: 700 ;
  letter-spacing: .08em ;
  text-transform: uppercase ;
  text-decoration: none ;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease ;
}
main#top > #contact .home-contact-cta:hover,
main#top > #contact .home-contact-cta:focus-visible {
  background: #a30000 ;
  color: #fff ;
  box-shadow: 0 0 35px rgba(163, 0, 0, .6) ;
  transform: translateY(-2px) ;
}
main#top > #contact .social-links {
  justify-content: center ;
  flex-wrap: wrap ;
  gap: 18px ;
  margin-top: 36px ;
}

/* Closing “positioning” card */
main#top > section.sh-home-closing {
  width: min(1350px, calc(100% - 8vw)) ;
  max-width: 1350px ;
  margin: clamp(64px, 8vw, 112px) auto ;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 56px) ;
  box-sizing: border-box ;
  background: #14171b ;
  border: 1px solid #800000 ;
  box-shadow: 0 20px 50px rgba(128, 0, 0, .2) ;
  gap: clamp(28px, 5vw, 64px) ;
}
main#top > section.sh-home-closing .intro-copy {
  max-width: 820px ;
  color: #f2f2f2 ;
  font-size: clamp(1.55rem, 3vw, 2rem) ;
  line-height: 1.65 ;
}
main#top > section.sh-home-closing .intro-copy a {
  color: #d2a45f ;
}
main#top > section.sh-home-closing .intro-actions {
  gap: 12px ;
  justify-content: flex-start ;
  flex-wrap: wrap ;
}
main#top > section.sh-home-closing .intro-action {
  display: inline-flex ;
  align-items: center ;
  justify-content: center ;
  min-height: 50px ;
  padding: 14px 24px ;
  border: 1px solid #a30000 ;
  border-radius: 0 ;
  background: #800000 ;
  color: #f2f2f2 ;
  box-shadow: none ;
  text-decoration: none ;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease ;
}
main#top > section.sh-home-closing .intro-action:not(.intro-action-primary) {
  background: transparent ;
  border-color: #800000 ;
}
main#top > section.sh-home-closing .intro-action:hover,
main#top > section.sh-home-closing .intro-action:focus-visible {
  background: #a30000 ;
  color: #fff ;
  box-shadow: 0 0 28px rgba(163, 0, 0, .45) ;
  transform: translateY(-2px) ;
}
@media (max-width: 760px) {
  main#top > #contact.site.contact,
  main#top > section.sh-home-closing {
    width: calc(100% - 24px) ;
    margin-inline: auto ;
  }
  main#top > section.sh-home-closing {
    display: flex ;
    flex-direction: column ;
    align-items: stretch ;
    text-align: center ;
  }
  main#top > section.sh-home-closing .intro-copy {
    max-width: none ;
    text-align: center ;
  }
  main#top > section.sh-home-closing .intro-actions {
    justify-content: center ;
  }
}


/* Shared single-image Hero stays visible at mobile and tablet breakpoints. */
@media screen and (max-width: 1024px) {
  body.home .hero-track-desktop {
    display: block ;
  }
  body.home .hero-track-mobile {
    display: none ;
  }
}


/* Stack the introduction into one readable column on phones. */
@media screen and (max-width: 520px) {
  body.home .about-grid {
    grid-template-columns: minmax(0, 1fr) ;
    gap: 38px ;
  }
  body.home .about-grid > .about-identity,
  body.home .about-grid > .about-copy {
    grid-column: 1 ;
    grid-row: auto ;
    width: 100% ;
    max-width: 100% ;
  }
}


/* Stack every gallery and project layout into one mobile column. */
@media screen and (max-width: 700px) {
  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .archive-grid,
  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .wall {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) ;
    grid-auto-flow: row ;
    grid-auto-rows: auto ;
    column-count: 1 ;
    gap: clamp(18px, 4vw, 28px) ;
    width: 100% ;
    max-width: 100% ;
  }

  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .wall > .wall-row {
    display: contents ;
  }

  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .archive-grid > .archive-card,
  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .wall .wall-cell {
    grid-area: auto ;
    grid-column: auto ;
    grid-row: auto ;
    width: 100% ;
    max-width: 100% ;
    height: auto ;
    min-height: 0 ;
    margin: 0 ;
    break-inside: auto ;
  }

  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .wall .wall-frame,
  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .archive-grid .archive-card-frame {
    flex: 0 0 auto ;
    width: 100% ;
    max-width: 100% ;
    height: auto ;
    min-height: 0 ;
    aspect-ratio: auto ;
  }

  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .wall .wall-frame > img,
  body[class*="sh-wall-layout-"][class*="sh-wall-layout-"] .archive-grid .archive-card-frame > img {
    position: static ;
    display: block ;
    width: 100% ;
    max-width: 100% ;
    height: auto ;
  }
}


/* Keep the reference heading and highlight treatment across every selected-works layout. */
body.home[class*="sh-wall-layout-"] #work .section-head {
  display: block ;
  width: 100% ;
  margin: 0 0 clamp(36px, 5vw, 64px) ;
  text-align: center ;
}

body.home[class*="sh-wall-layout-"] #work .section-head > div {
  display: flex ;
  flex-direction: column ;
  align-items: center ;
  width: 100% ;
}

body.home[class*="sh-wall-layout-"] #work #work-heading {
  display: flex ;
  flex: 1 1 100% ;
  flex-direction: column ;
  align-items: center ;
  gap: 14px ;
  width: 100% ;
  margin: 0 ;
  padding: 0 ;
  border: 0 ;
  color: transparent ;
  font-size: 0 ;
  line-height: 1.1 ;
  text-align: center ;
}

body.home[class*="sh-wall-layout-"] #work #work-heading::before {
  content: "CURATED WORKS" ;
  display: block ;
  color: #c8b8b8 ;
  font-size: 12px ;
  line-height: 1.2 ;
  font-weight: 600 ;
  letter-spacing: .24em ;
  text-transform: uppercase ;
}

body.home[class*="sh-wall-layout-"] #work #work-heading::after {
  content: "STAGE STILLS & VISUAL WORKS" ;
  display: inline-block ;
  padding: 0 0 14px ;
  border-bottom: 1px solid #800000 ;
  color: #fff ;
  font-size: clamp(24px, 4vw, 52px) ;
  line-height: 1.05 ;
  font-weight: 700 ;
  letter-spacing: .015em ;
  text-transform: uppercase ;
}

body.home[class*="sh-wall-layout-"] #work .about-cta,
body.home[class*="sh-wall-layout-"] #work .work-discipline-title {
  display: none ;
}

body.home[class*="sh-wall-layout-"] #work .wall .wall-cell {
  border: 1px solid #222 ;
  border-radius: 0 ;
  box-shadow: none ;
  transition: border-color .3s ease, box-shadow .3s ease ;
}

body.home[class*="sh-wall-layout-"] #work .wall .wall-cell .wall-frame > img {
  filter: brightness(.85) contrast(1.1) ;
  transform: none ;
  transition: filter .4s ease ;
}

@media (hover: hover) and (pointer: fine) {
  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:hover,
  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:focus-visible,
  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:focus-within {
    border-color: #800000 ;
    box-shadow: none ;
  }

  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:hover .wall-frame > img,
  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:focus-visible .wall-frame > img,
  body.home[class*="sh-wall-layout-"] #work .wall .wall-cell:focus-within .wall-frame > img {
    filter: brightness(1) contrast(1.15) ;
    transform: none ;
  }
}

@media screen and (max-width: 560px) {
  body.home[class*="sh-wall-layout-"] #work #work-heading::before { font-size: 10px ; }
  body.home[class*="sh-wall-layout-"] #work #work-heading::after { font-size: clamp(21px, 6vw, 32px) ; }
}


/* v2 compatibility bridge: Pomelli declares these visual values as important.
   Keep the contract in the theme while the old Customizer layer is empty. */
body[class*="sh-wall-layout-"] .wall-cell {
  border: 1px solid #222 !important;
  box-shadow: none !important;
}
body[class*="sh-wall-layout-"] .wall-cell .wall-frame > img {
  filter: brightness(.85) contrast(1.1) !important;
  transform: none !important;
}
@media (hover: hover) and (pointer: fine) {
  body[class*="sh-wall-layout-"] .wall-cell:hover {
    border-color: #800000 !important;
    box-shadow: none !important;
  }
  body[class*="sh-wall-layout-"] .wall-cell:hover .wall-frame > img {
    filter: brightness(1) contrast(1.15) !important;
    transform: none !important;
  }
}


/* Responsive portfolio presentation: one complete image per row on phones and tablets. */
@media (max-width: 1024px) {
  body.home .wall,
  body.single-sh_project .wall {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    columns: auto !important;
    gap: clamp(14px, 3vw, 24px) !important;
    width: 100% !important;
  }

  body.home .wall > .wall-row,
  body.single-sh_project .wall > .wall-row {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body.home .wall .wall-cell,
  body.single-sh_project .wall .wall-cell {
    display: block !important;
    flex: none !important;
    grid-area: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
  }

  body.home .wall .wall-frame,
  body.single-sh_project .wall .wall-frame {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  body.home .wall .wall-frame img,
  body.single-sh_project .wall .wall-frame img,
  body.archive .archive-card-frame img,
  body.tax-sh_portfolio_category .archive-card-frame img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.archive .archive-grid,
  body.tax-sh_portfolio_category .archive-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(14px, 3vw, 24px) !important;
    width: 100% !important;
  }

  body.archive .archive-grid > .archive-card,
  body.tax-sh_portfolio_category .archive-grid > .archive-card {
    flex: none !important;
    grid-area: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body.archive .archive-grid .archive-card-frame,
  body.tax-sh_portfolio_category .archive-grid .archive-card-frame {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}


/* Shared hairline hover frame for selected work, galleries, projects, and categories. */
body[class*="sh-wall-layout-"] .wall-cell {
  border: 0 !important;
  box-shadow: none !important;
}
body[class*="sh-wall-layout-"] .wall-cell > .wall-frame,
body[class*="sh-wall-layout-"] .archive-grid .archive-card-frame {
  box-sizing: border-box !important;
  border: .5px solid #222 !important;
  box-shadow: none !important;
}
body[class*="sh-wall-layout-"] .wall-cell > .wall-frame::after {
  content: none !important;
  display: none !important;
}
@media (hover: hover) and (pointer: fine) {
  body[class*="sh-wall-layout-"] .wall-cell:hover > .wall-frame,
  body[class*="sh-wall-layout-"] .wall-cell:focus-visible > .wall-frame,
  body[class*="sh-wall-layout-"] .wall-cell:focus-within > .wall-frame,
  body[class*="sh-wall-layout-"] .archive-grid .archive-card:hover .archive-card-frame,
  body[class*="sh-wall-layout-"] .archive-grid .archive-card:focus-visible .archive-card-frame,
  body[class*="sh-wall-layout-"] .archive-grid .archive-card:focus-within .archive-card-frame {
    border-color: #c81e28 !important;
    box-shadow: none !important;
  }
}
/* Repeat each six-photo layout on desktop only. */
@media (min-width: 1025px) {
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n + 1), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n + 1) { grid-area: span 12 / span 5 !important; }
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n + 2), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n + 2) { grid-area: span 12 / span 7 !important; }
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n + 3), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n + 3) { grid-area: span 10 / span 7 !important; }
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n + 4), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n + 4) { grid-area: span 10 / span 5 !important; }
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n + 5), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n + 5) { grid-area: span 12 / span 5 !important; }
  body.single-sh_project.sh-wall-layout-pomelli .wall > .wall-cell:nth-child(6n), body.sh-wall-layout-pomelli .archive-grid > .archive-card:nth-child(6n) { grid-area: span 12 / span 7 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n + 1), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n + 1), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n + 1), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n + 1) { grid-area: span 8 / span 7 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n + 2), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n + 2), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n + 2), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n + 2) { grid-area: span 6 / span 5 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n + 3), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n + 3), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n + 3), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n + 3) { grid-area: span 6 / span 4 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n + 4), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n + 4), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n + 4), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n + 4) { grid-area: span 7 / span 5 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n + 5), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n + 5), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n + 5), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n + 5) { grid-area: span 8 / span 7 !important; }
  body.single-sh_project.sh-wall-layout-editorial .wall > .wall-cell:nth-child(6n), body.sh-wall-layout-editorial .archive-grid > .archive-card:nth-child(6n), body.single-sh_project.sh-wall-layout-editorial-natural .wall > .wall-cell:nth-child(6n), body.sh-wall-layout-editorial-natural .archive-grid > .archive-card:nth-child(6n) { grid-area: span 6 / span 5 !important; }
}

/* Preserve complete photos in the desktop Pomelli photography wall. */
@media (min-width: 1025px) {
  body.home.sh-wall-layout-pomelli #work > .work-discipline-photography .work-gallery.sh-bent-wall > .wall > .wall-cell > .wall-frame > img {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Keep the real, localized heading visible for Persian and English visitors.
   Generated English copy is not suitable for a bilingual server-rendered page. */
body.home[class*="sh-wall-layout-"] #work .section-head::before {
	content: none !important;
	display: none !important;
}

body.home[class*="sh-wall-layout-"] #work #work-heading {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: #fff !important;
	font-size: var(--sh-type-h2) !important;
	line-height: 1.2 !important;
	text-align: center !important;
}

body.home[class*="sh-wall-layout-"] #work #work-heading::before {
	content: none !important;
	display: none !important;
}

body.home[class*="sh-wall-layout-"] #work #work-heading::after {
	content: "" !important;
	display: block !important;
	width: 58px !important;
	height: 1px !important;
	margin: 18px auto 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: #c81e28 !important;
}

/* Grid-based layouts must use their assigned grid track size. The legacy wall
   script writes an inline width based on the original bent rows; that inline
   width leaves large empty tracks in editorial-natural and Pomelli grids. */
body.sh-wall-layout-editorial-natural .wall-cell,
body.sh-wall-layout-pomelli .wall-cell {
	width: auto !important;
	height: auto !important;
	align-self: stretch !important;
}

/* Shared mobile/tablet stack and transparent captions, after every layout override. */
@media (max-width: 1024px) {
  body.home .wall,
  body.single-sh_project .wall { display:flex !important; flex-direction:column !important; align-items:stretch !important; grid-template-columns:minmax(0,1fr) !important; grid-auto-rows:auto !important; columns:1 !important; column-count:1 !important; width:100% !important; max-width:100% !important; gap:var(--sh-gallery-gap-responsive,clamp(14px,3vw,24px)) !important; }
  body.home .wall > .wall-row,
  body.single-sh_project .wall > .wall-row { display:contents !important; }
  body.home .wall .wall-cell,
  body.single-sh_project .wall .wall-cell { display:block !important; flex:none !important; grid-area:auto !important; width:100% !important; max-width:100% !important; height:auto !important; min-height:0 !important; aspect-ratio:auto !important; margin:0 !important; }
  body.home .wall .wall-frame,
  body.single-sh_project .wall .wall-frame,
  body.home .wall .wall-frame > img,
  body.single-sh_project .wall .wall-frame > img { display:block !important; width:100% !important; max-width:100% !important; height:auto !important; min-height:0 !important; aspect-ratio:auto !important; object-fit:contain !important; object-position:center !important; }
}
body.home .wall-cap,
body.single-sh_project .wall-cap { background:transparent !important; color:inherit !important; font-family:var(--site-body-font,inherit) !important; }
body.home .wall-cell,
body.single-sh_project .wall-cell,
body.home .wall-frame,
body.single-sh_project .wall-frame { background:transparent !important; }
body.home .wall-cap-title,
body.single-sh_project .wall-cap-title { font-family:var(--site-title-font,inherit) !important; font-size:var(--sh-gallery-title-size,clamp(18px,2vw,32px)) !important; font-weight:var(--sh-gallery-title-weight,600) !important; line-height:1.35 !important; overflow-wrap:anywhere; }
body.home .wall-cap-place,
body.home .wall-cap-text,
body.single-sh_project .wall-cap-place,
body.single-sh_project .wall-cap-text { font-family:var(--site-body-font,inherit) !important; font-size:var(--sh-gallery-body-size,16px) !important; font-weight:var(--sh-gallery-body-weight,400) !important; line-height:1.75 !important; letter-spacing:normal !important; text-transform:none !important; }
@media (max-width: 1024px) {
  body.home .wall-row-ssr,
  body.single-sh_project .wall-row-ssr {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-auto-rows: auto !important;
  }
  body.home .wall-row-ssr .wall-cell img,
  body.single-sh_project .wall-row-ssr .wall-cell img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 1024px) {
  body.home .wall-cap,
  body.single-sh_project .wall-cap {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    padding: 8px 0 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
    color: inherit !important;
    text-align: start !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 1024px) {
  body.home .wall-cap, body.single-sh_project .wall-cap { position:static !important; inset:auto !important; display:block !important; width:100% !important; padding:8px 0 0 !important; background:transparent !important; opacity:1 !important; transform:none !important; color:inherit !important; text-align:start !important; pointer-events:auto !important; }
}
