/* ==========================================================================
   The wall: a scroll-driven exhibition.
   Base (no JS, reduced motion, phones): every category is a board stacked in the page.
   .is-scrolly (desktop with motion): the track is tall, the stage is sticky, and wall.js
   sets each board's and piece's state from the scroll position. Normal scrolling throughout.
   ========================================================================== */

.qc-wall {
	position: relative;
	overflow: clip; /* type may run past the edges; the page never scrolls sideways */
	padding: var(--top, var(--section)) var(--gutter) var(--section);
	--slice: 90svh;
	--arrive: 0.6;
	--close: 1.1; /* the closing beat, in slices */
}

/* ---------- Head ---------- */

.qc-wall__head {
	max-width: var(--max);
	margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.qc-wall__head h2 { margin: 0.6rem 0 1rem; max-width: 14ch; }
.qc-wall__intro { color: var(--fg-2); max-width: 44ch; }

/* ---------- Rail: exhibition wayfinding ---------- */

.qc-wall__rail { max-width: var(--max); margin: 0 auto 1rem; }
.qc-wall__now { display: none; }
.qc-wall__ticks { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.qc-wall__tick {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--fg-2);
	font: 600 0.95rem/1.2 var(--f-text);
	text-decoration: none;
}
.qc-wall__tick:hover,
.qc-wall__tick.is-active { color: var(--fg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: var(--kraft); }

/* ---------- A board: one category, installed ---------- */

.qc-wall__boards { max-width: 1680px; margin-inline: auto; }
.qc-wall__board {
	position: relative;
	container-type: inline-size;
	aspect-ratio: 2.1 / 1;
	scroll-margin-top: var(--hd);
}
.qc-wall__board + .qc-wall__board { margin-top: clamp(3rem, 6vw, 5rem); }
.qc-wall__board:focus { outline: none; }

/* The category, painted large on the wall behind the pieces. */
.qc-wall__display {
	position: absolute;
	left: -1.5%;
	top: 4%;
	z-index: 0;
	font-size: 19.5cqi;
	/* Etched into the wall in the brand's taupe: a translucent fill, a fine cut edge, a lit lower lip.
	   Visible when you look at the wall; always quieter than the pieces in front of it. */
	color: rgba(131, 95, 84, 0.17);
	-webkit-text-stroke: 1px rgba(110, 80, 72, 0.3);
	text-shadow: 1px 1.5px 0 rgba(255, 255, 255, 0.75);
	white-space: nowrap;
	pointer-events: none;
}
.qc-wall__display .qc-big { line-height: 0.8; letter-spacing: -0.04em; }

.qc-wall__hang { position: absolute; inset: 0; }

/* ---------- An exhibit: a mounted object with a technical annotation ---------- */

.qc-exhibit {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	z-index: var(--z, 2);
	--tx: 0px; --ty: 0px; --sc: 1; --op: 1;
	transform: translate(var(--tx), var(--ty)) rotate(var(--r, 0deg)) scale(var(--sc));
	opacity: var(--op);
}
.qc-exhibit .qc-piece__mount { --lift: calc(var(--d, 1) * 5px + var(--air, 0px)); }
.qc-exhibit:hover,
.qc-exhibit:focus-within { z-index: 20; }
.qc-exhibit:hover .qc-piece__mount,
.qc-exhibit:focus-within .qc-piece__mount { --lift: calc(var(--d, 1) * 5px + 10px); }
.qc-exhibit:hover .qc-glass { background-position: 0 0; }

/* The annotation: a short rule, the name, and Quote as part of the label. */
.qc-exhibit__tag {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 0.7rem;
	font: 600 0.8rem/1.25 var(--f-text);
}
.qc-exhibit__rule { flex: none; width: 14px; height: 1px; background: var(--fg-2); }
.qc-exhibit__name { flex: 1; min-width: 0; color: var(--fg); text-decoration: none; }
.qc-exhibit__name:hover { text-decoration: underline; text-underline-offset: 0.2em; }
/* Quote is a small round mount on the label: + becomes a tick when the piece is on the list. */
.qc-exhibit .qc-add {
	position: static;
	flex: none;
	width: 30px;
	min-height: 30px;
	padding: 0;
	justify-content: center;
	box-shadow: inset 0 0 0 1px var(--stroke);
}
.qc-exhibit .qc-add__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.qc-exhibit__tag { min-width: 150px; }
.qc-exhibit__name { text-wrap: balance; }
/* Attached to the quote: the bolts turn once more, as if the piece were being taken down for you. */
.qc-motion .qc-exhibit.is-attached .qc-bolts i { animation: qc-bolt 520ms var(--ease-out) both; }

/* Six places on the wall: hero, secondary, two high, one nearer the viewer over the hero's corner, one far right.
   x / y / width, depth (d), stacking (z), a hair of rotation (r). */
.qc-exhibit--p1 { --x: 31%;   --y: 7%;  --w: 22%;   --z: 4; --d: 2;   --r: -0.6deg; }
.qc-exhibit--p2 { --x: 57%;   --y: 21%; --w: 15.5%; --z: 3; --d: 1.5; --r: 1deg; }
.qc-exhibit--p3 { --x: 9%;    --y: 5%;  --w: 13%;   --z: 2; --d: 1;   --r: 1.4deg; }
.qc-exhibit--p4 { --x: 21.5%; --y: 50%; --w: 11.5%; --z: 6; --d: 3;   --r: -1.3deg; }
.qc-exhibit--p5 { --x: 77%;   --y: 5%;  --w: 12%;   --z: 2; --d: 1;   --r: -1.6deg; }
.qc-exhibit--p6 { --x: 81%; --y: 53%; --w: 13%;   --z: 3; --d: 1.5; --r: 0.8deg; }
.qc-exhibit--p1 .qc-exhibit__tag { padding-left: 38%; }
.qc-wall__board[data-count="5"] .qc-exhibit--p5 { --y: 18%; --w: 14%; }
.qc-wall__board[data-count="4"] .qc-exhibit--p2 { --y: 14%; --w: 17%; }
.qc-wall__board[data-count="3"] .qc-exhibit--p1 { --x: 29%; --w: 23%; }
.qc-wall__board[data-count="3"] .qc-exhibit--p2 { --y: 16%; --w: 17%; }
.qc-wall__board[data-count="3"] .qc-exhibit--p3 { --x: 11%; --y: 22%; --w: 14%; }
.qc-wall__board[data-count="1"] .qc-exhibit--p1 { --x: 37%; --y: 4%; --w: 25%; --r: -0.4deg; }

/* The label: a small museum label, mounted flat to the wall. Secondary to the work. */
.qc-wall__label {
	position: absolute;
	left: 58%;
	top: 70%;
	z-index: 2;
	width: 15%;
	min-width: 200px;
	padding-left: 0.9rem;
	border-left: 2px solid var(--kraft);
	color: var(--espresso);
}
.qc-wall__label-title { font: 600 0.9rem/1.2 var(--f-text); }
.qc-wall__label-count { margin-top: 0.15rem; font: 600 0.75rem/1.3 var(--f-text); color: var(--graphite); }
.qc-wall__label-text { margin-top: 0.5rem; font-size: 0.78rem; line-height: 1.45; color: var(--graphite); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.qc-wall__label-link { display: inline-block; margin-top: 0.5rem; font: 600 0.78rem/1.3 var(--f-text); color: var(--espresso); text-underline-offset: 0.25em; }
.qc-wall__board[data-count="4"] .qc-wall__label,
.qc-wall__board[data-count="3"] .qc-wall__label { left: 79%; top: 34%; }
.qc-wall__board[data-count="2"] .qc-wall__label { left: 77%; top: 38%; }
.qc-wall__board[data-count="1"] .qc-wall__label { left: 66%; top: 44%; }

/* Narrower desktops: five pieces; names wrap to two lines at most. */
@media (min-width: 901px) and (max-width: 1180px) {
	.qc-exhibit--p6 { display: none; }
	.qc-wall__board[data-count="6"] .qc-exhibit--p5 { --y: 16%; --w: 13.5%; }
}
.qc-exhibit__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* ---------- The end of the exhibition ---------- */

.qc-wall__close {
	display: grid;
	justify-items: center;
	gap: clamp(1.75rem, 3.5vw, 2.75rem);
	margin: clamp(5rem, 12vw, 9rem) auto 0;
	text-align: center;
}
/* Painted on the wall like the category names, a little firmer so it reads as the last word. */
.qc-wall__close-line {
	display: grid;
	font-family: var(--f-text);
	font-stretch: 75%;
	font-weight: 640;
	font-size: clamp(2.8rem, 1.6rem + 5vw, 7rem);
	line-height: 0.9;
	letter-spacing: -0.035em;
	/* Real text, so it keeps 3:1 (large text) while still reading as paint: taupe at 72%. */
	color: rgba(110, 80, 72, 0.72);
	-webkit-text-stroke: 1px rgba(110, 80, 72, 0.45);
	text-shadow: 1px 1.5px 0 rgba(255, 255, 255, 0.75);
}
.qc-wall__close-row { display: block; }

/* ==========================================================================
   Scroll-driven mode (desktop, motion allowed; wall.js adds .is-scrolly)
   ========================================================================== */

.qc-wall.is-scrolly { padding-block: 0 var(--section); padding-inline: 0; }
.qc-wall.is-scrolly .qc-wall__track {
	position: relative;
	/* arrival + one slice per category + one viewport for the sticky stage itself */
	height: calc(var(--slice) * (var(--n) + var(--arrive) + var(--close)) + 100svh);
}
.qc-wall.is-scrolly .qc-wall__stage {
	position: sticky;
	top: 0;
	height: 100svh;
	overflow: hidden;
}
/* A lit wall: a soft wash of light, so the pieces hang in a space. */
.qc-wall.is-scrolly .qc-wall__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(52% 62% at 46% 50%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 72%);
}

/* The head arrives large, then takes its place in the corner as the walk begins. */
.qc-wall.is-scrolly .qc-wall__head {
	position: absolute;
	left: var(--gutter);
	top: calc(var(--hd) + 1.25rem);
	z-index: 8;
	margin: 0;
	transform-origin: 0 0;
	transform: translateY(calc((1 - var(--ip, 0)) * 26svh)) scale(calc(1 - var(--ip, 0) * 0.52));
}
.qc-wall.is-scrolly .qc-wall__head h2 { font-size: clamp(3rem, 1.6rem + 3.6vw, 5.6rem); }
.qc-wall.is-scrolly .qc-wall__intro { opacity: calc(1 - var(--ip, 0) * 1.6); }

/* Rail: a column of ticks at the right, the current category and count above it. */
.qc-wall.is-scrolly .qc-wall__rail {
	position: absolute;
	right: var(--gutter);
	top: 50%;
	z-index: 8;
	margin: 0;
	transform: translateY(-50%);
	display: grid;
	justify-items: end;
	gap: 1rem;
	opacity: var(--ip, 0);
}
.qc-wall.is-scrolly .qc-wall__now { display: grid; justify-items: end; gap: 0.2rem; text-align: right; }
.qc-wall.is-scrolly .qc-wall__now-name { font: 600 0.9rem/1.2 var(--f-text); color: var(--fg); }
.qc-wall.is-scrolly .qc-wall__now-count { font: 600 0.75rem/1 var(--f-text); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.qc-wall.is-scrolly .qc-wall__ticks { flex-direction: column; flex-wrap: nowrap; gap: 0; align-items: flex-end; }
.qc-wall.is-scrolly .qc-wall__tick {
	position: relative;
	justify-content: flex-end;
	min-height: 24px;
	width: 44px;
	text-decoration: none;
}
.qc-wall.is-scrolly .qc-wall__tick::after {
	content: "";
	width: 14px;
	height: 1.5px;
	background: var(--stroke);
	transition: width var(--t-mid) var(--ease-cut), background-color var(--t-fast);
}
.qc-wall.is-scrolly .qc-wall__tick.is-active::after { width: 36px; background: var(--kraft); }
.qc-wall.is-scrolly .qc-wall__tick:hover::after { width: 26px; background: var(--fg); }
/* Names appear beside a tick on hover or keyboard focus. */
.qc-wall.is-scrolly .qc-wall__tick-name {
	position: absolute;
	right: calc(100% + 0.5rem);
	white-space: nowrap;
	padding: 0.3rem 0.6rem;
	border-radius: 3px;
	background: var(--espresso);
	color: var(--ivory);
	font-size: 0.8rem;
	opacity: 0;
	transform: translateX(6px);
	pointer-events: none;
	transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out);
}
.qc-wall.is-scrolly .qc-wall__tick:hover .qc-wall__tick-name,
.qc-wall.is-scrolly .qc-wall__tick:focus-visible .qc-wall__tick-name { opacity: 1; transform: none; }

/* The boards share one stage; the area below the head is the wall. */
.qc-wall.is-scrolly .qc-wall__boards {
	position: absolute;
	inset: calc(var(--hd) + 6.5rem) calc(var(--gutter) + 72px) 2rem var(--gutter);
	max-width: none;
	container-type: size;
	display: grid;
	place-items: center;
}
.qc-wall.is-scrolly .qc-wall__board {
	grid-area: 1 / 1;
	width: min(100cqw, 100cqh * 2.1);
	margin: 0;
	visibility: hidden;
}
.qc-wall.is-scrolly .qc-wall__board.is-on { visibility: visible; }
.qc-wall.is-scrolly .qc-wall__display {
	clip-path: inset(-10% calc((1 - var(--te, 0)) * 100%) -10% 0);
	transform: translateX(var(--dx, 0px));
	opacity: var(--to, 1);
}
.qc-wall.is-scrolly .qc-wall__label { opacity: var(--lo, 0); transform: translateY(calc((1 - var(--lo, 0)) * 10px)); }
.qc-wall.is-scrolly .qc-exhibit { will-change: transform, opacity; }
/* Light runs across the acrylic edge as a piece seats. */
.qc-wall.is-scrolly .qc-exhibit.is-set .qc-glass { background-position: 0 0; transition-duration: 1400ms; }
.qc-wall.is-scrolly .qc-exhibit.is-set .qc-bolts i { animation: qc-bolt 520ms var(--ease-out) both; }
/* Scroll-driven: the last installation recedes, then the line is cut onto the empty wall, row by row. */
.qc-wall.is-scrolly .qc-wall__close {
	position: absolute;
	inset: calc(var(--hd) + 6.5rem) calc(var(--gutter) + 72px) 2rem var(--gutter);
	margin: 0;
	align-content: center;
	opacity: min(1, calc(var(--cp, 0) * 3));
	/* Hidden by opacity, not visibility, so the link stays in the Tab order; focusing it walks to the end. */
	pointer-events: none;
}
.qc-wall.is-scrolly.is-closing .qc-wall__close { pointer-events: auto; }
.qc-wall.is-scrolly .qc-wall__close-row {
	clip-path: inset(-0.2em calc((1 - clamp(0, var(--cp, 0) * 2.4 - var(--l) * 0.45, 1)) * 100%) -0.2em 0);
}
.qc-wall.is-scrolly .qc-wall__close .qc-btn {
	opacity: clamp(0, var(--cp, 0) * 2.5 - 1.3, 1);
	transform: translateY(calc((1 - clamp(0, var(--cp, 0) * 2.5 - 1.3, 1)) * 12px));
}
/* The rail and the corner title step aside at the end. */
.qc-wall.is-scrolly .qc-wall__rail { opacity: calc(var(--ip, 0) * (1 - var(--cp, 0))); }

/* ==========================================================================
   Phones and small tablets: category → pieces on a rack → label, then the next category.
   ========================================================================== */

@media (max-width: 900px) {
	.qc-wall__rail {
		position: sticky;
		top: var(--hd);
		z-index: 10;
		margin: 0 calc(var(--gutter) * -1) 0.5rem;
		padding: 0.5rem 0;
		background: var(--frost);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
	}
	.qc-wall__ticks {
		flex-wrap: nowrap;
		gap: 0.5rem;
		overflow-x: auto;
		scrollbar-width: none;
		padding: 0 var(--gutter);
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
	}
	.qc-wall__ticks::-webkit-scrollbar { display: none; }
	.qc-wall__ticks li { flex: none; }
	.qc-wall__tick { padding: 0 0.9rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--stroke); font-size: 0.875rem; }
	.qc-wall__tick.is-active { background: var(--espresso); color: var(--ivory); box-shadow: none; text-decoration: none; }

	.qc-wall__boards { margin-inline: calc(var(--gutter) * -1); }
	.qc-wall__board { aspect-ratio: auto; padding-top: 1rem; scroll-margin-top: calc(var(--hd) + 60px); }
	.qc-wall__board + .qc-wall__board { margin-top: 2rem; }
	.qc-wall__display { position: relative; left: var(--gutter); top: 0; display: block; font-size: 22cqi; }
	.qc-wall__hang {
		position: relative;
		inset: auto;
		display: flex;
		align-items: flex-start;
		gap: 1.1rem;
		margin-top: -9cqi;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		padding: 0 var(--gutter) 1rem;
		scrollbar-width: none;
	}
	.qc-wall__hang::-webkit-scrollbar { display: none; }
	/* A rack of objects: varied sizes, staggered heights, a hair of rotation; the next one peeks in. */
	.qc-exhibit { position: relative; left: auto; top: auto; flex: none; width: 50cqi; scroll-snap-align: start; }
	.qc-exhibit--p1 { width: 68cqi; }
	.qc-exhibit--p3 { width: 44cqi; }
	.qc-exhibit--p2, .qc-exhibit--p4, .qc-exhibit--p6 { margin-top: 2.25rem; }
	.qc-exhibit--p5, .qc-exhibit--p6 { display: none; }
	.qc-exhibit--p1 .qc-exhibit__tag { padding-left: 0; }
	.qc-exhibit .qc-add { width: 40px; min-height: 40px; }
	.qc-wall__label { position: relative; left: auto; top: auto; flex: none; width: 60cqi; min-width: 0; margin-top: 1rem; scroll-snap-align: start; }
	.qc-wall__label-text { -webkit-line-clamp: 6; }
}
@media (min-width: 600px) and (max-width: 900px) {
	.qc-wall__display { font-size: 15cqi; }
	.qc-wall__hang { margin-top: -6cqi; }
	.qc-exhibit { width: 30cqi; }
	.qc-exhibit--p1 { width: 42cqi; }
	.qc-exhibit--p3 { width: 27cqi; }
	.qc-wall__label { width: 36cqi; }
}

/* ==========================================================================
   The hang: the full catalogue as a salon wall, grouped under category words.
   ========================================================================== */

.qc-products { padding: var(--top, clamp(3rem, 6vw, 5rem)) 0 var(--section); }
.qc-products__head { max-width: var(--max); margin: 0 auto 1.5rem; padding-inline: var(--gutter); }
.qc-products__head p { margin-top: 0.75rem; color: var(--fg-2); max-width: 50ch; }


.qc-empty { display: grid; justify-items: start; gap: 1.25rem; max-width: var(--max); margin: 3rem auto 0; padding-inline: var(--gutter); color: var(--fg-2); }
.qc-empty[hidden] { display: none; }

/* Related rail on product pages */
.qc-products--rail .qc-products__head h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }

/* ==========================================================================
   Category pages
   ========================================================================== */

.qc-term {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: 1.5rem clamp(2rem, 5vw, 5rem);
	align-items: end;
	padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0;
	max-width: none;
}
.qc-term__word { font-size: clamp(3.6rem, 11vw, 11.5rem); color: var(--fg); }
.qc-term__side { padding-bottom: 0.6rem; }
.qc-term__intro { color: var(--fg-2); font-size: 1.1rem; max-width: 42ch; margin-bottom: 1rem; }
@media (max-width: 860px) { .qc-term { grid-template-columns: 1fr; } }

.qc-guide__copy { padding: var(--section) var(--gutter); }
.qc-guide__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); max-width: var(--max); margin-inline: auto; }
.qc-guide__label { position: sticky; top: calc(var(--hd) + 2rem); align-self: start; }
@media (max-width: 860px) {
	.qc-guide__grid { grid-template-columns: 1fr; }
	.qc-guide__label { position: static; }
}
.qc-guide__others { padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.qc-guide__others .qc-micro,
.qc-guide__others ul { max-width: var(--max); margin-inline: auto; }
.qc-guide__others ul { display: flex; flex-wrap: wrap; gap: 0.1rem 1.6rem; margin-top: 1rem; }
.qc-guide__others a {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.35rem;
	color: transparent;
	-webkit-text-stroke: 1px var(--stroke);
	font-family: var(--f-text);
	font-stretch: 75%;
	font-weight: 640;
	font-size: clamp(2rem, 4.2vw, 3.8rem);
	line-height: 1;
	letter-spacing: -0.03em;
	text-decoration: none;
	transition: color var(--t-mid), -webkit-text-stroke-color var(--t-mid);
}
.qc-guide__others a:hover { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
.qc-guide__others a span { -webkit-text-stroke: 0; color: var(--fg-2); font: 600 0.75rem/1 var(--f-text); letter-spacing: 0; margin-top: 0.4em; }


/* Long introductions on phones: a few lines, then Read more. */
@media (max-width: 700px) {
	.is-clamped {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
}
.qc-more {
	grid-column: 1 / -1;
	justify-self: start;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fg);
	font: 600 0.9rem/1 var(--f-text);
	text-decoration: underline;
	text-underline-offset: 0.3em;
	cursor: pointer;
}


/* ==========================================================================
   Category guides as an editorial spread.
   Each section: its heading set large in the left column with one of the category's pieces
   mounted beneath it (both stay in view while the text beside them scrolls).
   ========================================================================== */

.qc-guide__copy { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.qc-ed { max-width: var(--max); margin-inline: auto; }
.qc-ed__kicker { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.qc-ed__section {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem clamp(2.5rem, 6vw, 6rem);
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	border-top: 1px solid var(--line);
}
.qc-ed__side {
	position: sticky;
	top: calc(var(--hd) + 2rem);
	align-self: start;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}
.qc-ed__h {
	color: var(--fg);
	font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem);
	line-height: 1.04;
	letter-spacing: -0.012em;
	max-width: 13ch;
}
.qc-ed__plate { width: min(100%, 360px); }
/* Alternate which edge the plate hangs from, so the column has a rhythm down the page. */
.qc-ed__section:nth-of-type(even) .qc-ed__plate { justify-self: end; }
.qc-ed__body { max-width: 62ch; padding-top: 0.4rem; }
.qc-ed__body > p:first-child { color: var(--fg); font: 400 clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem)/1.55 var(--f-display); }
.qc-ed__body ul { columns: 2; column-gap: 2rem; }
.qc-ed__body li { break-inside: avoid; }

@media (max-width: 860px) {
	.qc-ed__section { grid-template-columns: 1fr; gap: 1.25rem; }
	.qc-ed__side { position: static; display: contents; }
	.qc-ed__h { order: 1; }
	.qc-ed__body { order: 2; }
	/* On phones the plate follows its text, smaller, alternating sides. */
	.qc-ed__plate { order: 3; width: min(72%, 300px); margin-top: 0.75rem; }
	.qc-ed__section:nth-of-type(even) .qc-ed__plate { justify-self: end; }
	.qc-ed__body ul { columns: 1; }
}
