.style-page-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ii-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--ii-fs-sm);
	line-height: var(--ii-lh-normal);
	color: var(--ii-text-tertiary);
}

.style-page-crumbs li + li::before {
	content: '/';
	margin-right: var(--ii-space-2);
	color: var(--ii-text-tertiary);
}

.style-page-crumbs a {
	color: var(--ii-text-secondary);
	letter-spacing: normal;
	text-decoration: none;
}

.style-page-crumbs a:hover {
	color: var(--ii-text-primary);
}

.style-page-crumbs a:focus-visible {
	outline: 2px solid var(--ii-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.style-hub-hero .style-page-crumbs ol {
	justify-content: center;
}

.style-page-swatch {
	display: block;
	border-radius: var(--ii-radius-full);
}

.style-hub-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--ii-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.style-hub-item {
	grid-column: span 4;
	min-width: 0;
}

.style-hub-item:nth-child(1),
.style-hub-item:nth-child(2),
.style-hub-item:nth-child(9),
.style-hub-item:nth-child(10) {
	grid-column: span 6;
}

.style-hub-card {
	position: relative;
	display: block;
	height: 100%;
	min-height: 280px;
	overflow: hidden;
	border-radius: var(--ii-radius-lg);
	background: var(--raised-panel-bg);
	letter-spacing: normal;
	text-decoration: none;
	color: #fff;
	isolation: isolate;
}

.style-hub-item:nth-child(1) .style-hub-card,
.style-hub-item:nth-child(2) .style-hub-card,
.style-hub-item:nth-child(9) .style-hub-card,
.style-hub-item:nth-child(10) .style-hub-card {
	min-height: 360px;
}

.style-hub-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 58%);
	pointer-events: none;
}

.style-hub-card:focus-visible {
	outline: 2px solid var(--ii-accent);
	outline-offset: 2px;
}

.style-hub-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.style-hub-card:hover .style-hub-img {
	transform: scale(1.04);
}

.style-hub-body {
	position: absolute;
	right: var(--ii-space-5);
	bottom: var(--ii-space-5);
	left: var(--ii-space-5);
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: var(--ii-space-1);
}

.style-hub-name {
	font-family: var(--ii-font-display);
	font-size: var(--ii-fs-xl);
	font-weight: 600;
	line-height: var(--ii-lh-tight);
	letter-spacing: -0.4px;
}

.style-hub-desc {
	max-width: 44ch;
	font-size: var(--ii-fs-sm);
	line-height: var(--ii-lh-normal);
	color: rgba(255, 255, 255, 0.85);
}

.style-hub-palette {
	position: absolute;
	top: var(--ii-space-4);
	right: var(--ii-space-4);
	z-index: 2;
	display: flex;
}

.style-hub-palette .style-page-swatch {
	width: 16px;
	height: 16px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.style-hub-palette .style-page-swatch + .style-page-swatch {
	margin-left: -4px;
}

.style-page-hero {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--ii-space-10);
	align-items: center;
}

.style-page-hero-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--ii-space-4);
	min-width: 0;
}

.style-page-hero .ii-page-hero-title {
	font-size: clamp(var(--ii-fs-3xl), 5vw, var(--ii-fs-5xl));
	text-align: left;
}

.style-page-hero .ii-page-hero-desc {
	font-size: var(--ii-fs-md);
	text-align: left;
}

.style-page-cta-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--ii-space-2);
	margin-top: var(--ii-space-2);
}

.style-page-cta {
	gap: var(--ii-space-2);
	letter-spacing: normal;
	text-decoration: none;
}

.style-page-cta:focus-visible {
	outline: 2px solid var(--ii-accent);
	outline-offset: 2px;
}

.style-page-cta-hint {
	margin: 0;
	font-size: var(--ii-fs-sm);
	line-height: var(--ii-lh-normal);
	color: var(--ii-text-tertiary);
}

.style-page-hero-media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	border-radius: var(--ii-radius-lgx);
	background: var(--raised-panel-bg);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 24px rgba(0, 0, 0, 0.05);
}

.style-page-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.style-page-hero-palette {
	position: absolute;
	bottom: var(--ii-space-4);
	left: var(--ii-space-4);
	z-index: 1;
	display: flex;
	gap: 6px;
	padding: 8px;
	border-radius: var(--ii-radius-full);
	background: var(--ii-bg-primary);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.style-page-hero-palette .style-page-swatch {
	width: 22px;
	height: 22px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.style-page-gallery-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 300px;
	gap: var(--ii-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.style-page-shot {
	position: relative;
	grid-column: span 5;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--ii-radius-lg);
	background: var(--raised-panel-bg);
}

.style-page-shot:nth-child(4n + 1),
.style-page-shot:nth-child(4n) {
	grid-column: span 7;
}

.style-page-shot:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.style-page-shot-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.style-page-shot-label {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: var(--ii-radius-full);
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-size: var(--ii-fs-sm);
	font-weight: 500;
	line-height: 1.4;
	color: #fff;
}

.style-page-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ii-space-4);
}

.style-page-guide-card,
.style-page-prompt {
	border-radius: var(--ii-radius-lg);
	background: var(--raised-panel-bg);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 24px rgba(0, 0, 0, 0.05);
}

.dark .style-page-guide-card,
.dark .style-page-prompt,
.dark .style-page-hero-media {
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 -20px 80px -20px #ffffff1f;
}

.style-page-guide-card {
	display: flex;
	flex-direction: column;
	gap: var(--ii-space-4);
	min-width: 0;
	padding: var(--ii-space-6);
}

.style-page-guide-title {
	margin: 0;
	font-family: var(--ii-font-display);
	font-size: var(--ii-fs-lg);
	font-weight: 600;
	line-height: var(--ii-lh-tight);
	letter-spacing: -0.3px;
	color: var(--ii-text-primary);
}

.style-page-palette-large {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--ii-space-2);
}

.style-page-palette-large .style-page-swatch {
	aspect-ratio: 1 / 1.4;
	border-radius: var(--ii-radius-md);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.style-page-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ii-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.style-page-chip {
	padding: var(--ii-space-2) var(--ii-space-3);
	border: 1px solid var(--ii-border);
	border-radius: var(--ii-radius-full);
	background: var(--ii-bg-primary);
	font-size: var(--ii-fs-sm);
	line-height: var(--ii-lh-normal);
	color: var(--ii-text-primary);
}

.style-page-prompt-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ii-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.style-page-prompt {
	min-width: 0;
	padding: var(--ii-space-5) var(--ii-space-6);
}

.style-page-prompt-text {
	margin: 0;
	font-size: var(--ii-fs-md);
	line-height: var(--ii-lh-relaxed);
	color: var(--ii-text-primary);
}

.style-page-prompt-text::before {
	content: '\201C';
	margin-right: 2px;
	color: var(--ii-text-tertiary);
}

.style-page-prompt-text::after {
	content: '\201D';
	margin-left: 2px;
	color: var(--ii-text-tertiary);
}

@media (prefers-reduced-motion: reduce) {
	.style-hub-img {
		transition: none;
	}
}

@media (max-width: 900px) {
	.style-hub-item,
	.style-hub-item:nth-child(1),
	.style-hub-item:nth-child(2),
	.style-hub-item:nth-child(9),
	.style-hub-item:nth-child(10) {
		grid-column: span 6;
	}

	.style-page-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ii-space-6);
	}

	.style-page-gallery-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: 240px;
	}

	.style-page-shot,
	.style-page-shot:nth-child(4n + 1),
	.style-page-shot:nth-child(4n) {
		grid-column: 1 / -1;
	}

	.style-page-guide-grid,
	.style-page-prompt-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.style-hub-item,
	.style-hub-item:nth-child(1),
	.style-hub-item:nth-child(2),
	.style-hub-item:nth-child(9),
	.style-hub-item:nth-child(10) {
		grid-column: 1 / -1;
	}

	.style-hub-card,
	.style-hub-item:nth-child(1) .style-hub-card,
	.style-hub-item:nth-child(2) .style-hub-card,
	.style-hub-item:nth-child(9) .style-hub-card,
	.style-hub-item:nth-child(10) .style-hub-card {
		min-height: 240px;
	}
}
