/**
 * AIContestList — Homepage (Template A). Loaded on the front page only.
 * Motion 7/10, density 3/10 (design-system §102). Tokens only.
 */

/* ---------------------------------------------------------------
   HERO — exhibition entrance (design-system §58–60)
--------------------------------------------------------------- */
.acl .acl-hero {
	--acl-mx: 0;
	--acl-my: 0;
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(100svh, 980px);
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
	overflow: hidden;
	background: var(--bg-page);
	color: var(--text-primary);
}

/* Editorial column lines — felt, not noticed */
.acl .acl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(to right, var(--overlay-white-04) 1px, transparent 1px);
	background-size: calc(100% / 6) 100%;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.acl .acl-hero__light {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.acl .acl-hero__orb {
	position: absolute;
	border-radius: 50%;
	opacity: 0;
	transition: transform 1.4s var(--ease-standard);
	will-change: transform;
}

.acl .acl-hero__orb--iris {
	width: min(1100px, 95vw);
	aspect-ratio: 1;
	top: -38%;
	right: -22%;
	background: radial-gradient(circle, rgb(var(--acl-iris-rgb) / .24) 0%, rgb(var(--acl-iris-rgb) / .08) 38%, transparent 66%);
	transform: translate(calc(var(--acl-mx) * -40px), calc(var(--acl-my) * -30px));
}

.acl .acl-hero__orb--blue {
	width: min(760px, 80vw);
	aspect-ratio: 1;
	bottom: -42%;
	left: -18%;
	background: radial-gradient(circle, rgba(88, 199, 255, .12) 0%, transparent 64%);
	transform: translate(calc(var(--acl-mx) * 30px), calc(var(--acl-my) * 24px));
}

.acl .acl-hero__orb--pink {
	width: min(420px, 50vw);
	aspect-ratio: 1;
	top: 30%;
	right: 18%;
	background: radial-gradient(circle, rgba(255, 121, 198, .10) 0%, transparent 62%);
	transform: translate(calc(var(--acl-mx) * 60px), calc(var(--acl-my) * 50px));
}

.acl .acl-hero__horizon {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--gradient-ai);
	opacity: .45;
}

/* One-time staged reveal (§59). Without JS or with reduced motion: visible immediately. */
/* acl-light-in / acl-rise keyframes live in base.css (shared by homepage and directory heroes). */
/* The title and the intro paragraph carry no stage: they are the LCP candidates (title on
   desktop, paragraph on phones) and must be painted in the first frame. Chrome only counts
   an element that started at opacity 0 once something repaints it, so a fade here would
   leave LCP waiting on the globe. Eyebrow, search, actions and legend keep their entrance. */

.acl .acl-hero__orb { animation: acl-light-in var(--motion-hero) var(--ease-enter) 420ms forwards; }

.acl-js .acl .acl-hero [data-acl-stage] {
	animation: acl-rise var(--motion-hero) var(--ease-enter) both;
}

.acl-js .acl .acl-hero [data-acl-stage="1"] { animation-delay: 80ms; }
.acl-js .acl .acl-hero [data-acl-stage="3"] { animation-delay: 220ms; }
.acl-js .acl .acl-hero [data-acl-stage="4"] { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
	.acl .acl-hero__orb { opacity: 1; animation: none; transform: none; }
	.acl-js .acl .acl-hero [data-acl-stage] { animation: none; }
}

.acl .acl-hero__inner {
	position: relative;
}

.acl .acl-hero__eyebrow {
	margin-bottom: var(--space-6);
	color: var(--text-secondary);
}

.acl .acl-hero__title {
	margin: 0 0 clamp(28px, 3.4vw, 48px);
	font-size: clamp(3rem, 6.4vw, 6.5rem);
	font-weight: 600;
	line-height: .96;
	letter-spacing: -.05em;
}

@media (min-width: 1024px) {
	.acl .acl-hero__line:first-child { white-space: nowrap; }
}

.acl .acl-hero__line {
	display: block;
}

.acl .acl-hero__line--serif {
	margin-top: .08em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1;
	padding-bottom: .06em;
	max-width: 18ch;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.acl .acl-hero__line--serif {
		background: linear-gradient(100deg, var(--acl-white) 0%, var(--acl-white) 35%, var(--acl-iris-dark-text) 70%, var(--acl-ai-pink) 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.acl .acl-hero__copy {
	max-width: 560px;
}

.acl .acl-hero__body {
	margin: 0 0 var(--space-6);
	font-size: var(--text-md);
	line-height: 1.6;
	color: var(--text-secondary);
}

.acl .acl-hero__search {
	margin-bottom: var(--space-5);
}

.acl .acl-hero .acl-search-input__field {
	background: var(--overlay-white-04);
	border-color: var(--overlay-white-10);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.acl .acl-hero .acl-search-input__field:hover {
	border-color: var(--border-strong);
}

.acl .acl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-3);
}

.acl .acl-hero__tertiary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: var(--space-2);
	font-weight: 500;
	color: var(--text-secondary);
	text-decoration: underline;
	text-decoration-color: var(--overlay-white-24);
	text-underline-offset: .3em;
	border-radius: var(--radius-xs);
}

.acl .acl-hero__tertiary:hover {
	color: var(--text-primary);
	text-decoration-color: currentColor;
}

/* ---------------------------------------------------------------
   HERO GLOBE — live directory rendered as light (assets/js/globe.js)
   Layout contract: the canvas publishes where the Earth sits through
   --acl-globe-x / -y (fractions of the canvas box) and --acl-globe-r
   (fraction of width, capped by --acl-globe-rmax × height).
--------------------------------------------------------------- */
.acl .acl-hero__globe {
	--acl-globe-x: .5;
	--acl-globe-y: .47;
	--acl-globe-r: .38;
	--acl-globe-rmax: .4;
	/* Phones: the Moon travels a wide, flat orbit across the sky above the words */
	--acl-moon-orbit: 1.34;
	--acl-moon-angle: .16;
	--acl-moon-incline: .3;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(var(--header-h) + 112vw);
	z-index: 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
	display: block;
	opacity: 0;
	pointer-events: none;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 1.2s var(--ease-enter);
}

/* The canvas itself appears once globe.js has drawn it (`acl-hero--globe`). */
.acl .acl-hero--globe .acl-hero__globe { opacity: 1; pointer-events: auto; }

/* Everything else about the globe hero — the receding CSS light, the scrim and the space the
   Earth takes on phones and tablets — holds from the first paint whenever JS will run the globe
   (`acl-hero--has-globe` from the server + `acl-js`), so the words never move when WebGL starts
   after them. Without JS, or when globe.js sets `acl-hero--no-globe` (no WebGL), the CSS light
   stays as the fallback, exactly as before. */
.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__orb--blue,
.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__orb--pink { display: none; }
.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__orb--iris { opacity: .55; animation: none; }

/* Legibility scrim between the light and the words */
.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to bottom, transparent 0%, transparent 26%, rgba(8, 9, 11, .8) 40%, var(--bg-page) 56%);
}

.acl .acl-hero__inner {
	z-index: 2;
	pointer-events: none;
}

.acl .acl-hero__inner > * {
	pointer-events: auto;
}

.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__inner {
	padding-top: 68vw;
}

.acl .acl-hero__title {
	width: fit-content;
	max-width: 100%;
}

/* Tooltip: visual companion to the canvas (the same contests are real links below) */
.acl .acl-globe-tip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	display: grid;
	gap: 4px;
	width: max-content;
	max-width: min(300px, 80vw);
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	background: var(--glass-bg-solid);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-3);
	pointer-events: none;
}

.acl .acl-globe-tip[hidden] { display: none; }

.acl .acl-globe-tip__state {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.acl .acl-globe-tip__state::before,
.acl .acl-hero__key::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--acl-iris-dark-text);
	box-shadow: 0 0 10px currentColor;
}

.acl .acl-globe-tip[data-state="closing-soon"] .acl-globe-tip__state::before { background: var(--acl-ai-pink); }
.acl .acl-globe-tip[data-state="upcoming"] .acl-globe-tip__state::before { background: var(--acl-ai-blue); }

.acl .acl-globe-tip__title {
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.35;
	color: var(--text-primary);
}

.acl .acl-globe-tip__meta {
	font-size: 12px;
	line-height: 1.4;
	color: var(--text-secondary);
}

/* Country cluster: the soonest three, then a count of the rest */
.acl .acl-globe-tip__list {
	display: grid;
	gap: 6px;
	margin: var(--space-2) 0 0;
	padding: var(--space-2) 0 0;
	border-top: 1px solid var(--border-default);
	list-style: none;
}
.acl .acl-globe-tip__list[hidden],
.acl .acl-globe-tip__cta[hidden] { display: none; }
.acl .acl-globe-tip__item {
	display: grid;
	gap: 1px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--text-secondary);
}
.acl .acl-globe-tip__item b {
	overflow: hidden;
	font-weight: 600;
	color: var(--text-primary);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.acl .acl-globe-tip__item--more { color: var(--text-tertiary, var(--text-secondary)); }
.acl .acl-globe-tip__cta {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--acl-iris-dark-text);
}

/* Phones: a steady, centred card (globe.js centres it; same breakpoint).
   Solid lighter surface + stronger edge so it reads clearly over the lit globe. */
@media (max-width: 767px) {
	.acl .acl-globe-tip {
		width: calc(100% - 2 * var(--space-4));
		max-width: 360px;
		gap: 6px;
		padding: var(--space-4);
		border-color: var(--border-strong);
		background: var(--bg-elevated);
		box-shadow: 0 16px 48px rgba(0, 0, 0, .6), 0 2px 8px rgba(0, 0, 0, .4);
	}

	.acl .acl-globe-tip__title { font-size: 15px; }

	.acl .acl-globe-tip__meta,
	.acl .acl-globe-tip__item,
	.acl .acl-globe-tip__cta { font-size: 13px; }
}

/* Legend — real counts, set like an exhibition wall label */
.acl .acl-hero__legend {
	margin-top: var(--space-10);
	padding-top: var(--space-5);
	border-top: 1px solid var(--border-default);
	max-width: 520px;
}

.acl .acl-hero__legend-title {
	margin: 0 0 var(--space-4);
	font-size: var(--text-sm);
	line-height: 1.5;
	color: var(--text-secondary);
}

.acl .acl-hero__keys {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.acl .acl-hero__key {
	display: inline-flex;
	align-items: baseline;
	gap: var(--space-2);
	font-size: 12px;
	color: var(--text-secondary);
}

.acl .acl-hero__key::before {
	align-self: center;
	color: var(--acl-iris-dark-text);
}

.acl .acl-hero__key--closing-soon::before { background: var(--acl-ai-pink); color: var(--acl-ai-pink); }
.acl .acl-hero__key--upcoming::before { background: var(--acl-ai-blue); color: var(--acl-ai-blue); }
.acl .acl-hero__key--orbit::before { background: transparent; border: 1px solid var(--text-secondary); box-shadow: none; }

.acl .acl-hero__key-num {
	font-size: var(--text-md);
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
	.acl .acl-hero__globe {
		--acl-globe-x: .6;
		--acl-globe-y: .38;
		--acl-globe-r: .36;
		--acl-globe-rmax: .4;
		--acl-moon-orbit: 1.4;
		--acl-moon-angle: .2;
		--acl-moon-incline: .32;
		height: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__inner { padding-top: 38vh; }

	.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe)::after {
		background: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(8, 9, 11, .6) 55%, rgba(8, 9, 11, .9) 78%);
	}
}

@media (min-width: 1024px) {
	.acl .acl-hero {
		min-height: max(760px, min(100svh, 1080px));
	}

	.acl .acl-hero__globe {
		--acl-globe-x: .72;
		--acl-globe-y: .44;
		--acl-globe-r: .26;
		--acl-globe-rmax: .385;
		--acl-moon-orbit: 1.45;
		--acl-moon-angle: 1.36;
		--acl-moon-incline: .42;
	}

	.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__inner { padding-top: 0; }

	.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe)::after {
		background:
			linear-gradient(to right, rgba(8, 9, 11, .88) 0%, rgba(8, 9, 11, .55) 32%, transparent 52%),
			linear-gradient(to bottom, transparent 70%, var(--bg-page) 100%);
	}

	.acl .acl-hero__title {
		font-size: clamp(3rem, 5.6vw, 6rem);
	}

	.acl .acl-hero__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
		grid-template-areas:
			"eyebrow ."
			"title title"
			"copy legend";
		column-gap: var(--space-16);
		align-items: end;
	}

	.acl .acl-hero__eyebrow { grid-area: eyebrow; justify-self: start; }
	.acl .acl-hero__title { grid-area: title; }
	.acl .acl-hero__copy { grid-area: copy; }

	.acl .acl-hero__legend {
		grid-area: legend;
		margin: 0;
	}
}

@media (min-width: 1600px) {
	.acl .acl-hero__globe { --acl-globe-x: .68; }
}

@media (max-width: 479px) {
	.acl .acl-hero__title { font-size: clamp(2.6rem, 12vw, 3.25rem); }
	.acl .acl-hero__actions .acl-btn { flex: 1 1 100%; }
	.acl .acl-hero__tertiary { margin-left: 0; }
	.acl .acl-hero__eyebrow { margin-bottom: var(--space-5); letter-spacing: .08em; }
}

/* ---------------------------------------------------------------
   NARRATIVE — the directory, told in lines that light as you scroll.
   Without JS or with reduced motion: a normal section, every line lit.
--------------------------------------------------------------- */
.acl .acl-story {
	position: relative;
	padding-block: var(--section-y);
	background: var(--bg-page);
}

.acl .acl-story__eyebrow {
	margin-bottom: var(--space-8);
}

.acl .acl-story__lines {
	display: grid;
	gap: clamp(10px, 1.6vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.acl .acl-story__line {
	max-width: 24ch;
	font-size: clamp(1.6rem, 3.2vw, 3.1rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.035em;
	color: var(--text-primary);
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.acl .acl-story__line { max-width: none; }
}

.acl .acl-story__line em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
	padding-right: .04em;
	color: var(--acl-iris-dark-text);
}

.acl .acl-story__line--finale {
	margin-top: clamp(24px, 4vw, 56px);
	display: grid;
	font-size: clamp(2rem, 4vw, 4rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -.02em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.acl .acl-story__line em,
	.acl .acl-story__line--finale span {
		background: linear-gradient(100deg, var(--acl-white) 0%, var(--acl-iris-dark-text) 55%, var(--acl-ai-pink) 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		padding-bottom: .06em;
	}
}

.acl .acl-story__note {
	margin: var(--space-10) 0 0;
	font-size: var(--text-sm);
	color: var(--text-secondary);
}

/* Scroll-lit mode (JS present, motion allowed) */
.acl-story-ready .acl .acl-story {
	height: 300vh;
	padding: 0;
}

.acl-story-ready .acl .acl-story__stage {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding-block: calc(var(--header-h) + var(--space-6)) var(--space-10);
}

.acl-story-ready .acl .acl-story__line {
	/* Dimmed, never illegible: .4 keeps large text above 3:1 on Obsidian. */
	opacity: .4;
	transform: translateY(8px);
	transition: opacity .9s var(--ease-enter), transform .9s var(--ease-enter);
}

.acl-story-ready .acl .acl-story__line.is-lit {
	opacity: 1;
	transform: none;
}

.acl-story-ready .acl .acl-story__line--finale span {
	opacity: .4;
	transition: opacity .9s var(--ease-enter);
}

.acl-story-ready .acl .acl-story__line--finale.is-lit span { opacity: 1; }
.acl-story-ready .acl .acl-story__line--finale.is-lit span:nth-child(2) { transition-delay: .25s; }
.acl-story-ready .acl .acl-story__line--finale.is-lit span:nth-child(3) { transition-delay: .5s; }
.acl-story-ready .acl .acl-story__line--finale { opacity: 1; transform: none; }

@media (max-width: 767px) {
	.acl-story-ready .acl .acl-story { height: 260vh; }
}

/* ---------------------------------------------------------------
   CHAPTERS — the three clauses of the brand line as editorial pauses
--------------------------------------------------------------- */
.acl .acl-chapter {
	padding-block: clamp(64px, 9vw, 144px) clamp(8px, 2vw, 24px);
	background: var(--bg-page);
	color: var(--text-primary);
}

.acl .acl-chapter__inner {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: end;
	gap: var(--space-4) clamp(20px, 3vw, 48px);
	padding-top: var(--space-6);
	border-top: 1px solid var(--border-strong);
}

.acl .acl-chapter__inner::before {
	content: "";
	position: absolute;
	top: -1px;
	left: var(--gutter);
	width: clamp(64px, 10vw, 160px);
	height: 1px;
	background: var(--gradient-ai);
}

.acl .acl-chapter__numeral {
	font-size: clamp(4.5rem, 12vw, 11rem);
	line-height: .78;
	letter-spacing: -.02em;
	color: transparent;
	-webkit-text-stroke: 1px var(--text-tertiary);
}

.acl .acl-chapter__line {
	margin: 0;
	font-size: clamp(2rem, 5vw, 4.75rem);
	font-style: italic;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--text-primary);
	padding-bottom: .04em;
}

.acl .acl-chapter__count {
	position: absolute;
	top: var(--space-6);
	right: var(--gutter);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	color: var(--text-secondary);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 599px) {
	.acl .acl-chapter__inner { grid-template-columns: minmax(0, 1fr); }
	.acl .acl-chapter__numeral { font-size: 4.5rem; }
}

.acl .acl-chapter + .acl-section { padding-top: clamp(40px, 5vw, 72px); }

/* ---------------------------------------------------------------
   CLOSING SOON LEDGER
--------------------------------------------------------------- */
.acl .acl-ledger-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--border-strong);
}

/* ---------------------------------------------------------------
   PROMPT ANATOMY — Immersive Dark study
--------------------------------------------------------------- */
.acl .acl-anatomy-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.acl .acl-anatomy-section__glow {
	position: absolute;
	z-index: -1;
	left: -20%;
	bottom: -60%;
	width: min(1000px, 110vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(var(--acl-iris-rgb) / .18) 0%, rgba(88, 199, 255, .05) 42%, transparent 66%);
	pointer-events: none;
}

.acl .acl-anatomy {
	margin: 0;
}

.acl .acl-anatomy__prompt {
	margin: 0 0 clamp(40px, 6vw, 72px);
	padding: 0;
	border: 0;
	max-width: 30em;
	font-size: clamp(1.5rem, 3.4vw, 3rem);
	font-weight: 400;
	line-height: 1.28;
	letter-spacing: -.025em;
	color: var(--text-secondary);
}

.acl .acl-anatomy__prompt p { margin: 0; }

.acl .acl-anatomy__seg {
	color: var(--text-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--overlay-white-24);
	text-underline-offset: .22em;
	transition: opacity var(--motion-slow) var(--ease-standard), text-decoration-color var(--motion-slow) var(--ease-standard);
}

.acl .acl-anatomy__mark {
	margin-right: .15em;
	font-size: .38em;
	font-weight: 600;
	vertical-align: .9em;
	color: var(--acl-iris-dark-text);
	letter-spacing: 0;
}

.acl .acl-anatomy__legend {
	display: grid;
	gap: 0;
	margin: 0 0 var(--space-6);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--border-strong);
}

.acl .acl-anatomy__part {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	column-gap: var(--space-3);
	padding: var(--space-5) 0;
	border-bottom: 1px solid var(--border-default);
	cursor: default;
	border-radius: var(--radius-xs);
	transition: background-color var(--motion-base) var(--ease-standard);
}

.acl .acl-anatomy__num {
	grid-row: span 2;
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--acl-iris-dark-text);
	font-variant-numeric: tabular-nums;
	padding-top: 3px;
}

.acl .acl-anatomy__name {
	font-weight: 600;
	font-size: var(--text-md);
	margin-bottom: var(--space-1);
}

.acl .acl-anatomy__note {
	font-size: var(--text-sm);
	color: var(--text-secondary);
	line-height: 1.5;
}

.acl .acl-anatomy__caption {
	font-size: var(--text-sm);
	color: var(--text-secondary);
}

@media (min-width: 768px) {
	.acl .acl-anatomy__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); }
}

@media (min-width: 1200px) {
	.acl .acl-anatomy__legend { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--space-6); }
	.acl .acl-anatomy__part { grid-template-columns: 1fr; padding-top: var(--space-6); border-bottom: 0; }
	.acl .acl-anatomy__num { grid-row: auto; margin-bottom: var(--space-4); padding: 0; }
}

/* Trace a part: dim the rest, light up the matching phrase (no JS) */
.acl .acl-anatomy:has(.acl-anatomy__part:is(:hover, :focus-visible)) .acl-anatomy__seg { opacity: .32; }
.acl .acl-anatomy__part:is(:hover, :focus-visible) { background: var(--overlay-white-04); }
.acl .acl-anatomy:has([data-part="subject"]:is(:hover, :focus-visible)) .acl-anatomy__seg[data-part="subject"],
.acl .acl-anatomy:has([data-part="light"]:is(:hover, :focus-visible)) .acl-anatomy__seg[data-part="light"],
.acl .acl-anatomy:has([data-part="camera"]:is(:hover, :focus-visible)) .acl-anatomy__seg[data-part="camera"],
.acl .acl-anatomy:has([data-part="atmosphere"]:is(:hover, :focus-visible)) .acl-anatomy__seg[data-part="atmosphere"],
.acl .acl-anatomy:has([data-part="style"]:is(:hover, :focus-visible)) .acl-anatomy__seg[data-part="style"] {
	opacity: 1;
	text-decoration-color: var(--acl-iris-dark-text);
	text-decoration-thickness: 2px;
}

/* ---------------------------------------------------------------
   ACADEMY SHELVES
--------------------------------------------------------------- */
.acl .acl-shelves {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--border-strong);
}

.acl .acl-shelf { border-bottom: 1px solid var(--border-default); }

.acl .acl-shelf__link {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr);
	grid-template-areas: "num title" "num body";
	column-gap: var(--space-6);
	row-gap: var(--space-2);
	padding: var(--space-8) 0;
	color: var(--text-primary);
	border-radius: var(--radius-xs);
}

.acl .acl-shelf__num {
	grid-area: num;
	font-size: var(--text-4xl);
	line-height: .8;
	color: var(--text-secondary);
	transition: color var(--motion-base) var(--ease-standard);
}

.acl .acl-shelf__title {
	grid-area: title;
	font-size: var(--text-2xl);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.acl .acl-shelf__body {
	grid-area: body;
	max-width: 58ch;
	color: var(--text-secondary);
}

.acl .acl-shelf__link:hover .acl-shelf__num { color: var(--interactive-primary); }
.acl .acl-shelf__link:hover .acl-shelf__title { color: var(--text-link); }

/* ---------------------------------------------------------------
   TRUST
--------------------------------------------------------------- */
.acl .acl-home-trust { padding-top: 0; }

.acl .acl-trust {
	display: grid;
	gap: var(--space-12);
	padding-top: var(--section-y-compact);
	border-top: 1px solid var(--border-strong);
}

.acl .acl-trust__title {
	font-size: var(--text-3xl);
	line-height: 1.08;
	letter-spacing: -.03em;
	max-width: 18ch;
}

.acl .acl-trust__body {
	font-size: var(--text-md);
	color: var(--text-primary);
	max-width: 52ch;
}

.acl .acl-trust__method {
	font-size: var(--text-base);
	color: var(--text-secondary);
	max-width: 60ch;
}

.acl .acl-trust__figure { margin: 0; align-self: end; }

.acl .acl-trust__ratio { margin: 0 0 var(--space-4); line-height: .85; }

.acl .acl-trust__num {
	font-family: var(--font-serif);
	font-size: clamp(5rem, 11vw, 10rem);
	letter-spacing: -.03em;
}

.acl .acl-trust__of {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3.5rem);
	color: var(--text-secondary);
	margin-left: .1em;
}

.acl .acl-trust__caption {
	margin-bottom: var(--space-5);
	font-size: var(--text-sm);
	color: var(--text-secondary);
	max-width: 40ch;
}

.acl .acl-trust__bar {
	height: 2px;
	background: var(--border-default);
	border-radius: 2px;
	overflow: hidden;
}

.acl .acl-trust__bar span {
	display: block;
	height: 100%;
	width: calc(var(--acl-ratio, 1) * 100%);
	background: var(--gradient-ai);
	transform-origin: left center;
}

@media (min-width: 1024px) {
	.acl .acl-trust {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: var(--space-16);
	}
}

/* ---------------------------------------------------------------
   SUBMIT BAND
--------------------------------------------------------------- */
.acl .acl-submit-band { padding-bottom: var(--section-y); }

.acl .acl-submit-band__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	gap: var(--space-8);
	padding-block: clamp(40px, 7vw, 96px);
	padding-inline: clamp(24px, 6vw, 96px);
	background: var(--bg-surface);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-xl);
	max-width: var(--container-wide);
	width: calc(100% - var(--gutter) * 2);
}

.acl .acl-submit-band__inner::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -12%;
	top: -80%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(var(--acl-iris-rgb) / .12) 0%, transparent 65%);
}

.acl .acl-submit-band__title {
	margin: 0;
	font-size: var(--text-4xl);
	line-height: 1;
	letter-spacing: -.02em;
	max-width: 14ch;
}

.acl .acl-submit-band__body {
	margin: 0 0 var(--space-6);
	font-size: var(--text-md);
	color: var(--text-secondary);
	max-width: 40ch;
}

@media (min-width: 1024px) {
	.acl .acl-submit-band__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: end;
	}
}

@media (max-width: 479px) {
	.acl .acl-submit-band .acl-btn { width: 100%; }
}

/* ---------------------------------------------------------------
   HERO GLOBE — no frame lines (theme 0.9.19).
   With the globe running, the six-column lines (::before) and the
   legend's top rule land on the Earth's left, right and lower limb and
   read as a box around it. Without WebGL (`acl-hero--no-globe`) or JS,
   both stay exactly as before.
--------------------------------------------------------------- */
.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe)::before {
	display: none;
}

.acl-js .acl .acl-hero--has-globe:not(.acl-hero--no-globe) .acl-hero__legend {
	border-top: 0;
	padding-top: 0;
}
