/* ==========================================================================
   Multicerame — the sample wall (world layer, loaded after main.css)
   Rails, plaques, wall heroes, header, showcase rail, 3D explorer,
   anniversary band, motion and browser surfaces.
   ========================================================================== */

/* Browser surfaces ------------------------------------------------------- */
html {
	scrollbar-color: var(--c-steel) var(--c-porcelain);
	accent-color: var(--c-ink);
	caret-color: var(--c-gold-deep);
}
::selection {
	background: var(--c-gold);
	color: var(--c-ink);
}
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}
::-webkit-scrollbar-track {
	background: var(--c-porcelain);
}
::-webkit-scrollbar-thumb {
	background: var(--c-steel);
	border: 3px solid var(--c-porcelain);
}
.figures .num,
.timeline .years,
.plaque__dims {
	font-variant-numeric: tabular-nums lining-nums;
}

/* Cross-page transitions: the tile morphs from its card into the product stage. */
@view-transition {
	navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 380ms;
	animation-timing-function: var(--ease-out);
}
::view-transition-group(mc-tile) {
	animation-duration: 560ms;
	animation-timing-function: var(--ease-out);
}

/* Rail and plaque --------------------------------------------------------- */
.rail-line {
	position: relative;
	height: 4px;
	background: linear-gradient(180deg, #b9bdc0 0%, var(--c-steel) 45%, #4a4d50 100%);
	box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.6);
}
.rail-line::before,
.rail-line::after {
	/* End caps bolted to the wall. */
	content: "";
	position: absolute;
	top: -4px;
	width: 10px;
	height: 12px;
	background: #6c7073;
}
.rail-line::before {
	left: 0;
}
.rail-line::after {
	right: 0;
}
.plaque {
	display: inline-grid;
	gap: 2px;
	padding: 10px 14px 11px;
	background: linear-gradient(180deg, #2a2b2e, #1d1e21);
	border: 1px solid #3a3d40;
	box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	color: var(--c-white);
	text-decoration: none;
	min-width: 0;
}
.plaque__name {
	font-weight: 600;
	font-stretch: 115%;
	font-size: var(--fs-m);
	line-height: 1.2;
}
.plaque__dims {
	color: var(--c-gold-light);
	font-size: var(--fs-xs);
	letter-spacing: 0.02em;
}
a.plaque:hover .plaque__name {
	text-decoration: underline;
	text-decoration-color: var(--c-gold);
	text-underline-offset: 0.2em;
}

/* Wall heroes on inner pages (full-bleed graphite without extra markup) --- */
.has-dark-hero .page-hero,
.has-dark-hero .article-hero {
	position: relative;
	padding-top: calc(var(--header-h) + var(--sp-7));
	padding-bottom: var(--sp-8);
	margin-bottom: var(--sp-7);
	color: var(--c-white);
	background: var(--c-wall);
	box-shadow: 0 0 0 100vmax var(--c-wall);
	clip-path: inset(0 -100vmax);
}
.has-dark-hero .page-hero::after,
.has-dark-hero .article-hero::after {
	/* The rail runs along the top of every wall, under the header. */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--header-h) + 14px);
	height: 3px;
	background: linear-gradient(180deg, #b9bdc0, var(--c-steel) 45%, #4a4d50);
	opacity: 0.55;
}
.has-dark-hero .page-hero .lead,
.has-dark-hero .page-hero .muted,
.has-dark-hero .article-hero .label {
	color: #c4c7c9;
}
.has-dark-hero .page-hero .crumbs,
.has-dark-hero .article-hero .crumbs {
	color: var(--c-mist);
}
.has-dark-hero .page-hero .crumbs li + li::before,
.has-dark-hero .article-hero .crumbs li + li::before {
	color: #4a4d50;
}
.has-dark-hero .page-hero .chip {
	background: transparent;
	border-color: #3a3d40;
	color: var(--c-white);
}
.has-dark-hero .page-hero .chip .count {
	color: var(--c-mist);
}
.has-dark-hero .page-hero .chip:hover {
	border-color: var(--c-white);
}
.has-dark-hero .page-hero .chip.is-active {
	background: var(--c-white);
	color: var(--c-ink);
	border-color: var(--c-white);
}
.has-dark-hero .page-hero .chip.is-active .count {
	color: var(--c-graphite);
}
.has-dark-hero .page-hero .search-form {
	border-bottom-color: var(--c-white);
}
.has-dark-hero .page-hero .search-form input::placeholder {
	color: #8a8e91;
}
.has-dark-hero .page-hero .btn--ghost {
	--btn-fg: var(--c-white);
	--btn-bd: rgba(255, 255, 255, 0.5);
}
.has-dark-hero .page-hero .btn:not(.btn--ghost) {
	--btn-bg: var(--c-white);
	--btn-fg: var(--c-ink);
	--btn-bd: var(--c-white);
}
.has-dark-hero .page-hero .btn:not(.btn--ghost):hover {
	--btn-bg: transparent;
	--btn-fg: var(--c-white);
}
.has-dark-hero .term-intro .format-sample__shape {
	background: var(--c-wall-2);
	border-color: var(--c-steel);
}
.page-hero__title,
.article-hero h1 {
	view-transition-name: page-title;
}

/* Hero: the sample wall --------------------------------------------------- */
.hero {
	background: var(--c-wall);
}
.hero__bg img {
	clip-path: inset(0 0 0 100%);
	transition: opacity 1200ms var(--ease-in-out), clip-path 1400ms var(--ease-in-out);
}
.hero__bg img.is-active {
	clip-path: inset(0 0 0 0);
}
.hero__rail {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--header-h) + 3vh);
	z-index: 0;
	opacity: 0.85;
}
.hero__plaques {
	position: absolute;
	right: clamp(16px, 7vw, 120px);
	bottom: clamp(110px, 16vh, 170px);
	z-index: 1;
}
.hero__plaque {
	position: absolute;
	right: 0;
	bottom: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s linear 600ms;
	white-space: nowrap;
}
.hero__plaque.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 900ms, 900ms, 0s;
}
.hero__annot {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	padding: 3px 8px;
	background: rgba(23, 24, 26, 0.75);
	border: 1px solid rgba(142, 146, 149, 0.6);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 500ms var(--ease-out);
}
.hero__annot.is-visible {
	opacity: 1;
}
@media (max-width: 899px) {
	.hero__plaques {
		display: none;
	}
	.hero__annot {
		display: none;
	}
	.hero__rail {
		top: calc(var(--header-h) + 6px);
	}
}

/* Showcase rail: slabs hang from a rail, drag to browse ----------------- */
.showcase .rail {
	position: relative;
	cursor: grab;
	scroll-snap-type: x proximity;
	padding-top: 40px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
	user-select: none;
}
.showcase .rail.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}
.showcase .rail.is-dragging a {
	pointer-events: none;
}
.showcase__rail-line {
	margin-inline: var(--gutter);
	margin-bottom: -4px;
	position: relative;
	z-index: 0;
}
.rail-item {
	position: relative;
}
.rail-item .slab::before {
	/* Two clips holding the slab to the rail above. */
	content: "";
	position: absolute;
	z-index: 2;
	left: 18%;
	right: 18%;
	/* From the slab top up to the rail: 40px of padding plus the empty part of the 120 cm stage. */
	height: calc(40px + (120 - var(--h)) * var(--px-per-cm));
	top: calc(-1 * (40px + (120 - var(--h)) * var(--px-per-cm)));
	border-left: 1px solid var(--c-steel);
	border-right: 1px solid var(--c-steel);
	pointer-events: none;
}
.rail-item .slab {
	overflow: visible;
	transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.rail-item .slab img {
	display: block;
}
.rail-item:hover .slab,
.rail-item:focus-visible .slab {
	box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 154, 63, 0.35);
}
.rail-item .slab::after {
	z-index: 3;
}
.rail-item__caption {
	gap: 6px;
}
.rail-item__caption .plaque {
	width: 100%;
}
.showcase__progress {
	position: relative;
	height: 2px;
	margin: var(--sp-6) var(--gutter) 0;
	background: #2c2e31;
}
.showcase__progress span {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--p, 20%);
	left: var(--x, 0%);
	background: var(--c-white);
	transition: left 120ms linear;
}
.showcase__hint {
	color: var(--c-mist);
	font-size: var(--fs-xs);
}

/* 3D explorer: pull a slab from the wall -------------------------------- */
.explorer {
	position: relative;
	display: grid;
	gap: var(--sp-5);
}
@media (min-width: 1100px) {
	.explorer {
		grid-template-columns: 300px minmax(0, 1fr);
		align-items: stretch;
	}
}
.explorer > * {
	min-width: 0;
}
.explorer__list {
	display: grid;
	align-content: start;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 620px;
	overflow-y: auto;
	scrollbar-color: #4a4d50 transparent;
}
@media (max-width: 1099px) {
	.explorer__list {
		display: flex;
		max-height: none;
		overflow-x: auto;
		padding-bottom: 6px;
	}
	.explorer__list li {
		flex: 0 0 auto;
	}
}
.explorer__pick {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 8px 12px 8px 8px;
	border: 1px solid #2c2e31;
	background: var(--c-wall-2);
	color: var(--c-white);
	text-align: left;
	transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.explorer__pick:hover {
	border-color: var(--c-steel);
}
.explorer__pick[aria-pressed="true"] {
	border-color: var(--c-white);
	background: #26272a;
}
.explorer__pick img {
	width: 40px;
	height: 40px;
	object-fit: cover;
}
.explorer__pick span {
	display: grid;
	line-height: 1.25;
	font-size: var(--fs-s);
	font-weight: 600;
	font-stretch: 110%;
}
.explorer__pick small {
	font-weight: 400;
	font-stretch: 100%;
	color: var(--c-mist);
	font-size: var(--fs-xs);
}
.explorer__stage {
	position: relative;
	min-height: 560px;
	background: radial-gradient(120% 90% at 50% 0%, #2a2c2f 0%, var(--c-wall) 60%);
	border: 1px solid #2c2e31;
	overflow: hidden;
	touch-action: pan-y;
}
@media (max-width: 720px) {
	.explorer__stage {
		min-height: 480px;
	}
}
.explorer__stage canvas {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	cursor: grab;
}
.explorer__stage canvas:active {
	cursor: grabbing;
}
.explorer__stage .explorer__rail {
	position: absolute;
	left: 6%;
	right: 6%;
	top: 34px;
	opacity: 0.7;
}
.explorer__fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--c-mist);
	font-size: var(--fs-s);
}
.hotspot {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	background: rgba(23, 24, 26, 0.72);
	color: var(--c-white);
	transition: opacity 300ms var(--ease-out), background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.hotspot::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55);
	animation: hotspot-pulse 2.4s var(--ease-out) infinite;
}
.hotspot svg {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease-out);
}
.hotspot:hover,
.hotspot[aria-expanded="true"] {
	background: var(--c-white);
	border-color: var(--c-white);
	color: var(--c-ink);
}
.hotspot[aria-expanded="true"] svg {
	transform: rotate(45deg);
}
.hotspot.is-hidden {
	opacity: 0;
	pointer-events: none;
}
@keyframes hotspot-pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.9;
	}
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}
.hotspot-card {
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	width: min(290px, calc(100% - 32px));
	padding: var(--sp-4) var(--sp-5) var(--sp-5);
	background: rgba(243, 243, 240, 0.97);
	color: var(--c-ink);
	box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.hotspot-card.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.hotspot-card h3 {
	font-size: var(--fs-m);
	font-stretch: 115%;
	margin-bottom: 6px;
}
.hotspot-card p {
	margin: 0;
	font-size: var(--fs-s);
	color: var(--c-graphite);
}
.hotspot-card strong {
	display: block;
	margin-bottom: 4px;
	color: var(--c-ink);
	font-size: var(--fs-l);
	font-stretch: 112%;
	font-variant-numeric: tabular-nums;
}
.explorer__hud {
	position: absolute;
	left: var(--sp-4);
	right: var(--sp-4);
	bottom: var(--sp-4);
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-3);
	pointer-events: none;
}
.explorer__hud > * {
	pointer-events: auto;
}
.explorer__light {
	display: grid;
	gap: 6px;
	min-width: min(260px, 100%);
	padding: 10px 14px;
	background: rgba(23, 24, 26, 0.8);
	border: 1px solid #3a3d40;
	color: var(--c-white);
	font-size: var(--fs-xs);
}
.explorer__light input[type="range"] {
	width: 100%;
	accent-color: var(--c-white);
}
.explorer__actions {
	display: flex;
	gap: 6px;
}
.explorer__actions button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid #3a3d40;
	background: rgba(23, 24, 26, 0.8);
	color: var(--c-white);
	font-size: var(--fs-xs);
}
.explorer__actions button:hover {
	border-color: var(--c-white);
}
.explorer__actions svg {
	width: 16px;
	height: 16px;
}
.explorer__current {
	position: absolute;
	left: var(--sp-5);
	top: var(--sp-5);
	z-index: 2;
	max-width: calc(100% - 2 * var(--sp-5));
}
.explorer__hint {
	position: absolute;
	right: var(--sp-5);
	top: var(--sp-5);
	z-index: 2;
	color: var(--c-mist);
	font-size: var(--fs-xs);
}
@media (max-width: 720px) {
	.explorer__hint {
		display: none;
	}
}

/* Anniversary band --------------------------------------------------------- */
.anniv {
	position: relative;
	overflow: hidden;
	background: var(--c-wall);
	color: var(--c-white);
	isolation: isolate;
}
.anniv__grid {
	display: grid;
	gap: var(--sp-7);
	align-items: center;
}
@media (min-width: 1000px) {
	.anniv__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}
.anniv__mark {
	position: relative;
	width: min(100%, 520px);
	justify-self: center;
}
.anniv__mark img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.anniv h2 {
	margin-top: var(--sp-4);
	font-size: var(--fs-2xl);
	font-stretch: 125%;
	font-weight: 620;
	letter-spacing: -0.02em;
	line-height: 1.02;
	max-width: 16ch;
}
.anniv p.lead {
	color: #c4c7c9;
	margin-top: var(--sp-5);
}
.milestones {
	position: relative;
	display: flex;
	gap: var(--sp-4);
	margin: var(--sp-7) 0 0;
	padding: 34px var(--gutter) 6px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--gutter);
	scrollbar-color: #4a4d50 transparent;
}
.milestones-rail {
	margin-inline: var(--gutter);
	margin-bottom: -34px;
	position: relative;
	z-index: 0;
	margin-top: var(--sp-7);
}
.milestones + .anniv__cta {
	margin-top: var(--sp-6);
}
.milestone {
	position: relative;
	flex: 0 0 min(300px, 78vw);
	scroll-snap-align: start;
	padding: var(--sp-5);
	background: var(--c-wall-2);
	border: 1px solid #2c2e31;
}
.milestone::before {
	content: "";
	position: absolute;
	left: 24px;
	top: -34px;
	height: 34px;
	border-left: 1px solid var(--c-steel);
}
.milestone .years {
	display: block;
	white-space: nowrap;
	color: var(--c-white);
	font-size: var(--fs-l);
	font-stretch: 125%;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.milestone h3 {
	margin-top: var(--sp-3);
	font-size: var(--fs-m);
	font-stretch: 110%;
	line-height: 1.3;
}
.anniv .milestones-wrap {
	margin-top: var(--sp-7);
}

/* Product page: the slab hangs on the stage, morphs from its card ------- */
.product-stage {
	background: var(--c-wall);
}
.product-stage::before {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	top: 28px;
	height: 3px;
	background: linear-gradient(180deg, #b9bdc0, var(--c-steel) 45%, #4a4d50);
	opacity: 0.7;
}
.product-stage .slab {
	view-transition-name: mc-tile;
	overflow: visible;
}
.product-stage .slab::after {
	z-index: 1;
}
.product-stage .slab::before {
	content: "";
	position: absolute;
	left: 20%;
	right: 20%;
	bottom: 100%;
	height: 200px;
	border-left: 1px solid var(--c-steel);
	border-right: 1px solid var(--c-steel);
	pointer-events: none;
	z-index: -1;
}
.product-explorer {
	margin-top: var(--sp-6);
}

/* Stores: a line network, Berrechid as the interchange ----------------- */
.network {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 0;
	margin: var(--sp-6) 0 0;
	padding: 0 0 8px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}
.network li {
	flex: none;
	white-space: nowrap;
}
/* The network is the city filter; the chip row keeps only the reset. */
.city-filter .chip[data-city]:not([data-city=""]) {
	display: none;
}
.network::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 9px;
	height: 3px;
	background: var(--c-steel);
}
.network li {
	position: relative;
	padding-top: 28px;
	margin-right: clamp(14px, 2vw, 30px);
}
.network li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--c-wall);
	border: 3px solid var(--c-white);
}
.network li.is-hub::before {
	width: 23px;
	height: 23px;
	top: -1px;
	left: -3px;
	border-color: var(--c-white);
	background: var(--c-white);
}
.network a {
	font-size: var(--fs-s);
	text-decoration: none;
	color: var(--c-white);
}
.network a:hover,
.network a[aria-current="true"] {
	text-decoration: underline;
	text-decoration-color: var(--c-white);
	text-underline-offset: 0.25em;
}
.network small {
	color: var(--c-mist);
	margin-left: 4px;
}

/* Scroll-driven parallax (progressive; off with reduced motion) --------- */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.finish-card img,
		.news-card__media img,
		.gallery-strip img,
		[data-parallax] {
			animation: mc-parallax linear both;
			animation-timeline: view();
			animation-range: cover 0% cover 100%;
		}
		.finish-card img {
			scale: 1.12;
		}
		.anniv__mark img {
			animation: mc-drift linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
		}
		.milestone {
			animation: mc-along-rail linear both;
			animation-timeline: view(inline);
			animation-range: entry 0% entry 60%;
		}
	}
}
@keyframes mc-parallax {
	from {
		translate: 0 -6%;
	}
	to {
		translate: 0 6%;
	}
}
@keyframes mc-drift {
	from {
		translate: 0 40px;
		rotate: -3deg;
	}
	to {
		translate: 0 -40px;
		rotate: 2deg;
	}
}
@keyframes mc-along-rail {
	from {
		translate: 40px 0;
		opacity: 0.35;
	}
	to {
		translate: 0 0;
		opacity: 1;
	}
}

/* Scale-card → product morph target */
.scale-card:hover .scale-card__tile,
.scale-card:focus-visible .scale-card__tile {
	view-transition-name: mc-tile;
}

@media (prefers-reduced-motion: reduce) {
	.hotspot::before {
		animation: none;
	}
	@view-transition {
		navigation: none;
	}
}

/* About hero: title beside the 20-years mark */
.about-hero {
	display: grid;
	gap: var(--sp-6);
	align-items: center;
}
.about-hero__mark {
	width: min(280px, 60vw);
	height: auto;
	filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}
@media (min-width: 900px) {
	.about-hero {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.about-hero__mark {
		width: clamp(220px, 22vw, 340px);
	}
}

/* Collections hero: every format hangs on the wall at the same scale */
.hero-shelf {
	--unit: clamp(0.8px, 0.085vw, 1.3px);
	max-width: 100%;
	gap: clamp(8px, 1.2vw, 18px);
	border-bottom: 0;
	padding-top: 24px;
	align-self: end;
}
.hero-shelf .format-sample__shape {
	border-color: transparent;
	box-shadow: 0 18px 28px -16px rgba(0, 0, 0, 0.8);
}
.hero-shelf .format-sample__shape::before {
	content: "";
	position: absolute;
	left: 30%;
	right: 30%;
	bottom: 100%;
	height: 24px;
	border-left: 1px solid var(--c-steel);
	border-right: 1px solid var(--c-steel);
}
.hero-shelf .format-sample__shape {
	overflow: visible;
}
.hero-shelf .format-sample__label {
	color: var(--c-white);
	font-size: var(--fs-xs);
}
.has-dark-hero .term-intro .format-sample__shape img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (min-width: 900px) {
	.term-intro {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
	.hero-shelf {
		justify-self: end;
	}
}
.term-intro .hero-shelf .format-sample__shape {
	--unit: clamp(0.8px, 0.085vw, 1.3px);
	background: var(--c-wall-2);
}
.hero-shelf {
	scrollbar-width: none;
}

/* The 3D scene starts at the rail: cables never run up into the header. */
.hero__canvas {
	clip-path: inset(calc(var(--header-h) + 3vh + 2px) 0 0 0);
}
@media (max-width: 899px) {
	.hero__canvas {
		clip-path: inset(calc(var(--header-h) + 8px) 0 0 0);
	}
}

@media (max-width: 720px) {
	.explorer__stage {
		min-height: 640px;
	}
	.explorer__current {
		top: var(--sp-4);
		left: var(--sp-4);
	}
}

/* ==========================================================================
   Finish-review fixes
   ========================================================================== */

/* 1. Ground: dark rooms are the graphite wall, not photographic black. */
.section--dark,
.site-footer {
	background: var(--c-wall);
}
.figures,
.figures li {
	background: transparent;
	border: 0;
}
.hero {
	background: var(--c-wall);
}
.hero__bg img {
	filter: blur(6px) brightness(0.5) saturate(0.7);
	mix-blend-mode: luminosity;
	opacity: 0;
}
.hero__bg img.is-active {
	opacity: 0.55;
}

/* 8. Gallery light falling from the rail onto the wall. */
.showcase,
.anniv,
[data-explorer-section] {
	/* The light pools below the rail and fades in from the wall colour: no seam at the section edge. */
	background:
		linear-gradient(180deg, var(--c-wall) 0%, rgba(23, 24, 26, 0) 220px),
		radial-gradient(70% 60% at 50% 140px, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0) 70%),
		var(--c-wall);
}

/* 7. Hero titles in expanded capitals, as on the original slides. */
.hero__title {
	text-transform: uppercase;
	font-size: clamp(2rem, 0.9rem + 4.1vw, 5.25rem);
	letter-spacing: -0.01em;
	line-height: 1;
}

/* 4. Gold returns where the world allows it: engraved plaques and joints. */
.plaque__name {
	text-decoration-color: var(--c-gold);
}
.joint-grid > *:hover,
.joint-grid > *:focus-visible,
.finishes > li:hover {
	outline: 2px solid var(--c-gold);
	outline-offset: 0;
	position: relative;
	z-index: 1;
}

/* 6. Figures: four engraved plaques hanging from a rail. */
.figures-rail {
	margin-bottom: 0;
}
.figures {
	gap: var(--sp-5);
	padding-top: 32px;
}
.figures li {
	position: relative;
	min-height: 0;
	align-content: start;
	gap: var(--sp-3);
	padding: var(--sp-5);
	background: linear-gradient(180deg, #2a2b2e, #1d1e21);
	border: 1px solid #3a3d40;
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.figures li::before {
	content: "";
	position: absolute;
	left: 22%;
	right: 22%;
	bottom: 100%;
	height: 32px;
	border-left: 1px solid var(--c-steel);
	border-right: 1px solid var(--c-steel);
}
.figures .num {
	color: var(--c-white);
}
.figures p {
	color: var(--c-gold-light);
}

/* 5. Finish grid: no empty cell when the count is odd. */
@media (max-width: 899px) {
	.finishes > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* 2. Mobile hero: title always on dark, plaque visible under the composition. */
@media (max-width: 899px) {
	.hero::before {
		background: linear-gradient(0deg, rgba(23, 24, 26, 0.97) 0%, rgba(23, 24, 26, 0.92) 50%, rgba(23, 24, 26, 0) 57%);
	}
	.hero__plaque-inline {
		display: inline-grid;
		margin-bottom: var(--sp-4);
	}
	.hero__plaque-inline .plaque__name {
		font-size: var(--fs-s);
	}
}

/* Desktop shows the plaque beside the slab; the inline copy serves small screens. */
@media (min-width: 900px) {
	.hero__plaque-inline {
		display: none;
	}
}
