.gp-store-edition {
	--stock: #f5f0e6;
	--ink: #1c1c19;
	--cover: #dfd4bf;
	--cover-ink: #171714;
	--accent: #b32d24;
	background: var(--stock);
	color: var(--ink);
	font: 400 1rem/1.5 var(--gp-sans);
}
.gp-store-wrap {
	width: min(100%, 1430px);
	margin-inline: auto;
	padding-inline: clamp(18px, 4vw, 72px);
}
.gp-store-cover {
	background: var(--cover);
	color: var(--cover-ink);
	border-bottom: 3px solid var(--accent);
}
.gp-store-cover__rail {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 43px;
	border-bottom: 1px solid currentColor;
	font: 500 0.72rem/1.35 var(--gp-mono);
}
.gp-store-cover__rail a,
.gp-store-cover__range {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-height: 44px;
	color: inherit;
	text-underline-offset: 0.23em;
}
.gp-store-cover__rail > span {
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.gp-store-poster {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--poster, var(--cover));
}
.gp-store-poster__frame {
	position: relative;
	display: grid;
	align-items: center;
	width: min(100%, 1536px);
	margin-inline: auto;
	min-height: clamp(300px, 28vw, 425px);
	padding: clamp(22px, 3vw, 48px) max(4vw, calc((100% - 1320px) / 2));
}
.gp-store-poster__art {
	position: absolute;
	inset: 0 0 0 auto;
	width: 58%;
	height: 100%;
	object-fit: cover;
}
.gp-store-poster__name {
	z-index: 1;
	position: relative;
	margin: 0;
	max-width: 54%;
	font: 700 clamp(5rem, 8.8vw, 9.15rem)/1.04 var(--gp-display);
	letter-spacing: -0.025em;
	color: var(--cover-ink);
}
.gp-store-poster__name img {
	display: block;
	width: 100%;
	height: auto;
}
.gp-store-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 12px;
}
.gp-store-intro p {
	max-width: 62ch;
	margin: 0;
	font: 400 clamp(0.96rem, 1.17vw, 1.12rem)/1.46 var(--gp-sans);
}
.gp-store-cover__range {
	flex: none;
	font-weight: 650;
}
.gp-store-piece:hover h3,
.gp-store-piece:focus-visible h3 {
	text-decoration: underline;
	text-underline-offset: 0.14em;
}
.gp-store-range {
	padding-block: clamp(20px, 2.6vw, 40px) clamp(30px, 4vw, 65px);
}
.gp-store-range__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 15px;
	margin: 0 0 clamp(14px, 1.5vw, 22px);
}
.gp-store-range__heading h2 {
	margin: 0;
	font: 600 clamp(1.65rem, 2.9vw, 2.8rem)/1.2 var(--gp-sans);
	letter-spacing: -0.025em;
}
.gp-store-range__heading > span {
	font: 500 0.79rem/1.35 var(--gp-mono);
}
.gp-store-shelf {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 42px) clamp(12px, 1.7vw, 25px);
}
.gp-store-shelf--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gp-store-shelf li {
	margin: 0;
	min-width: 0;
}
.gp-store-piece {
	height: 100%;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid #a8a298;
}
.gp-store-piece__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.23;
	background: #eae5db;
	overflow: hidden;
}
.gp-store-piece__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.gp-store-piece__image.is-fit img {
	object-fit: cover;
	object-position: 50% 36%;
	mix-blend-mode: normal;
}
.gp-store-piece h3 {
	font: 600 clamp(1rem, 1.45vw, 1.4rem)/1.27 var(--gp-sans);
	margin: 10px 0 5px;
	color: inherit;
}
.gp-store-piece__line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-top: auto;
	padding-bottom: 10px;
	font: 500 0.82rem/1.4 var(--gp-mono);
}
.gp-store-piece__action {
	font: 500 0.83rem/1.4 var(--gp-sans);
}
.gp-store-story {
	padding-bottom: 2rem;
}
.gp-store-edition :is(a, summary):focus-visible {
	outline: 3px solid #186ac4;
	outline-offset: 3px;
}
.gp-store-cover :is(a, summary):focus-visible {
	outline-color: currentColor;
}

/* Archive presswork: the original web mark and an enlarged factory panel. */
.gp-store-edition--liveleak {
	--cover: #e9dfce;
	--accent: #a72120;
	--poster: #191a18;
}
.gp-store-edition--liveleak .gp-store-poster__name {
	width: clamp(240px, 37vw, 550px);
}
.gp-store-edition--liveleak
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__art {
	width: 53%;
	object-position: 50% 22%;
	clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}
.gp-store-edition--liveleak
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__frame::before {
	content: '';
	position: absolute;
	inset: 0 0 0 45.5%;
	background: #b32624;
	clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}

/* The title and the impossible room share one black field. */
.gp-store-edition--after-dark {
	--cover: #1c231f;
	--poster: #080a09;
	--cover-ink: #eff0df;
	--accent: #a4aa8a;
}
.gp-store-edition--after-dark .gp-store-poster__name {
	max-width: 5.45ch;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.014em;
	text-shadow: 0.035em 0.015em #83352d;
}
.gp-store-edition--after-dark
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__art {
	width: 57%;
	object-position: 50% 57%;
	mask-image: linear-gradient(90deg, transparent, #000 12%);
}

/* Briars meet the title at the centre of the burgundy field. */
.gp-store-edition--the-ruined-vow {
	--cover: #291820;
	--cover-ink: #fae9d5;
	--accent: #bca093;
}
.gp-store-edition--the-ruined-vow .gp-store-poster__name {
	max-width: 8.9ch;
	text-wrap: balance;
	font-weight: 600;
	letter-spacing: -0.018em;
}
.gp-store-edition--the-ruined-vow
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__art {
	width: 57%;
	object-position: 50% 12%;
	mask-image: linear-gradient(90deg, transparent, #000 12%);
}

/* The original red title sits on a paper slip inside the film frame. */
.gp-store-edition--cara {
	--cover: #e8ded0;
	--accent: #78191c;
	--poster: #2d1810;
}
.gp-store-edition--cara
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__art {
	width: 100%;
	object-position: 74% 47%;
}
.gp-store-edition--cara .gp-store-poster__name {
	width: clamp(270px, 38vw, 570px);
	padding: clamp(12px, 1.5vw, 24px) clamp(14px, 1.8vw, 32px);
	background: #efe6d6;
	transform: rotate(-1.3deg);
}
.gp-store-edition--cara .gp-store-poster__name img {
	mix-blend-mode: multiply;
}

/* The studio emblem is already lettered into the original ensemble artwork. */
.gp-store-edition--shogun {
	--cover: #101a20;
	--poster: #090e12;
	--cover-ink: #f9efdf;
	--accent: #b99859;
}
.gp-store-edition--shogun .gp-store-cover__rail {
	border-color: var(--accent);
}
.gp-store-edition--shogun .gp-store-poster:not(.has-custom-art) {
	background: linear-gradient(
		108deg,
		#08111a 8%,
		#1c2730 40%,
		#241c20 68%,
		#100f14 94%
	);
}
.gp-store-edition--shogun
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__art {
	inset-inline: 0;
	width: min(100%, 1000px);
	margin-inline: auto;
	object-position: 50% 42%;
	mask-image: linear-gradient(90deg, transparent, #000 13% 87%, transparent);
}
.gp-store-edition--shogun
	.gp-store-poster:not(.has-custom-art)
	.gp-store-poster__name {
	position: absolute;
}

/* WordPress featured images replace the artwork and retain a legible store title. */
.gp-store-poster.has-custom-art .gp-store-poster__art {
	width: 100%;
	object-position: center;
}
.gp-store-poster.has-custom-art .gp-store-poster__frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #151414ed, #15141480 52%, transparent);
}
.gp-store-poster.has-custom-art .gp-store-poster__name {
	color: #fff7ed;
}
@media (min-width: 701px) and (max-width: 999px) {
	.gp-store-shelf--four {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 700px) {
	.gp-store-cover__rail {
		min-height: 38px;
		font-size: 0.67rem;
	}
	.gp-store-poster__frame {
		min-height: clamp(210px, 61vw, 320px);
		padding: 18px;
	}
	.gp-store-poster__name {
		font-size: clamp(3.3rem, 13.8vw, 5.7rem);
	}
	.gp-store-edition--the-ruined-vow .gp-store-poster__name {
		max-width: 45%;
		font-size: clamp(2.9rem, 12.6vw, 5.4rem);
	}
	.gp-store-edition--the-ruined-vow
		.gp-store-poster:not(.has-custom-art)
		.gp-store-poster__art {
		width: 61%;
		object-position: 52% 33%;
	}
	.gp-store-edition--after-dark
		.gp-store-poster:not(.has-custom-art)
		.gp-store-poster__art {
		width: 59%;
	}
	.gp-store-edition--liveleak .gp-store-poster__name {
		width: 45%;
	}
	.gp-store-edition--cara .gp-store-poster__name {
		align-self: end;
		width: 52%;
		padding: 10px;
		margin-bottom: 3px;
	}
	.gp-store-edition--cara
		.gp-store-poster:not(.has-custom-art)
		.gp-store-poster__art {
		object-position: 81% 50%;
	}
	.gp-store-edition--shogun
		.gp-store-poster:not(.has-custom-art)
		.gp-store-poster__art {
		mask-image: none;
	}
	.gp-store-intro {
		display: block;
		padding-block: 12px 5px;
	}
	.gp-store-intro p {
		max-width: 47ch;
	}
	.gp-store-cover__range {
		font-size: 0.88rem;
	}

	.gp-store-shelf,
	.gp-store-shelf--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gp-store-piece__image {
		aspect-ratio: 1.05;
	}
	.gp-store-piece__line {
		font-size: 0.76rem;
	}
	.gp-store-piece__action {
		font-size: 0.75rem;
	}
}
