/*
 * The chapters of the page Chi sono (site:chapters/chapter), as the preview approved on 2026-11-21. Colours only from
 * the palette (the band's tone; "page" takes the page's colour); the layout follows the band's width (container
 * queries); the movement follows the scroll, only with no "reduce motion" and where the browser has scroll timelines.
 * The prints are white paper in both themes (the colour of the button's text, white in this site).
 */

.axyo-site-chapters {
	/* White paper in both themes: the dark band's text stays light in Dark too, its background stays dark (the ink). */
	--ado-paper: var(--color-section-dark-text);
	--ado-ink: var(--color-section-dark-bg);
	--ado-head: var(--axyo-font-heading);
	container-type: inline-size;
	overflow-x: clip;
}

.axyo-site-chapters:has(.ch-on-page) {
	border-bottom: 1px solid var(--section-line);
	--section-bg: var(--color-background);
	background-color: var(--color-background);
}

/* The legal pages (site:chapters/document), as the preview approved on 2026-11-22: the numbered points and their
   index, that stays while one reads (on a narrow band a row that scrolls). The point's address never moves. */
.axyo-site-chapters.wp-block-axyo-section.axp:has(.doc-in) {
	--section-bg: var(--color-background);
	--section-fg: var(--color-text);
	--section-accent: var(--color-link);
	padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem);
	background-color: var(--color-background);
	color: var(--color-text);
}
.axyo-site-chapters .doc-in { container: doc / inline-size; width: 100%; max-width: 80em; margin-inline: auto; font-size: 1rem; line-height: 1.5; }
.axyo-site-chapters .doc-read { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 6cqi; align-items: start; }
.axyo-site-chapters .doc-index { position: sticky; top: calc(var(--axyo-top, 4rem) + 2rem); min-width: 0; margin: 0; }
.axyo-site-chapters.axp .doc-index ol { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.axyo-site-chapters.axp .doc-index li { margin: 0; padding: 0; }
.axyo-site-chapters.axp .doc-index a { display: flex; align-items: center; min-height: 2.5rem; font-size: 1rem; color: color-mix(in srgb, var(--section-fg) 82%, transparent); text-decoration: none; }
.axyo-site-chapters.axp .doc-index a:is(:hover, [aria-current]) { color: var(--section-accent); }
.axyo-site-chapters .doc-body { min-width: 0; margin: 0; }
.axyo-site-chapters .doc-part { margin: 0; padding: 0 0 2.75rem; scroll-margin-top: calc(var(--axyo-top, 4rem) + 2rem); }
.axyo-site-chapters.axp .doc-part h2 { display: flex; gap: 0.7em; max-width: none; margin: 0 0 1rem; font: 800 clamp(1.4rem, 2.6cqi, 2rem) / 1.2 var(--axyo-font-heading); letter-spacing: -0.03em; color: var(--section-fg); }
.axyo-site-chapters .doc-part h2 i { flex: none; min-width: 1.4em; font-style: normal; color: var(--section-accent); }
.axyo-site-chapters.axp .doc-part :is(p, li) { max-width: 68ch; margin: 0; font-size: 1.0625rem; line-height: 1.75; overflow-wrap: anywhere; color: var(--section-fg); }
.axyo-site-chapters.axp .doc-part > * + p { margin-top: 0.9rem; }
.axyo-site-chapters.axp .doc-part > h2 + p { margin-top: 0; }
.axyo-site-chapters.axp .doc-part .doc-list { display: grid; gap: 0.5rem; margin: 0.8rem 0 0; padding: 0 0 0 1.3rem; list-style: disc; }
.axyo-site-chapters.axp .doc-part a { color: var(--section-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.axyo-site-chapters .doc-in a:focus-visible { outline: 2px solid currentColor; outline-offset: 0.25em; }
.axyo-site-chapters .doc-item { max-width: 68ch; margin: 0; padding-block: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--section-fg) 16%, transparent); }
.axyo-site-chapters.axp .doc-item code { display: block; padding: 0; background: none; color: var(--section-fg); font: 600 0.95rem / 1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.axyo-site-chapters.axp .doc-item small { display: block; margin-block: 0.25rem; font-size: 0.8125rem; color: var(--section-accent); }
.axyo-site-chapters.axp .doc-item span { font-size: 1rem; line-height: 1.6; color: var(--section-fg); }

@container doc (max-width: 56rem) {
	.axyo-site-chapters .doc-read { grid-template-columns: minmax(0, 1fr); }
	.axyo-site-chapters .doc-index { z-index: 5; top: var(--axyo-top, 4rem); margin-inline: calc(-1 * clamp(1.5rem, 4vw, 2.5rem)); background: var(--section-bg); overflow-x: auto; scrollbar-width: none; }
	.axyo-site-chapters .doc-index::-webkit-scrollbar { display: none; }
	.axyo-site-chapters.axp .doc-index ol { display: flex; gap: 1.4rem; width: max-content; padding-inline: 1.5rem; }
	.axyo-site-chapters.axp .doc-index a { min-height: 3rem; white-space: nowrap; font-size: 0.9rem; }
	.axyo-site-chapters .doc-part { scroll-margin-top: calc(var(--axyo-top, 4rem) + 4rem); }
}

.axyo-site-chapters .ch {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5em, 5vw, 4em) 5vw;
	scroll-margin-top: 0; /* the page's scroll-padding already leaves the room of the bar */
}

/* Each chapter names its scroll timeline after its anchor: the summary lights its station with it. */
.axyo-site-chapters .is-c1 { view-timeline-name: --ado-c1; }
.axyo-site-chapters .is-c2 { view-timeline-name: --ado-c2; }
.axyo-site-chapters .is-c3 { view-timeline-name: --ado-c3; }
.axyo-site-chapters .is-c4 { view-timeline-name: --ado-c4; }
.axyo-site-chapters .is-c5 { view-timeline-name: --ado-c5; }
.axyo-site-chapters .is-c6 { view-timeline-name: --ado-c6; }
.axyo-site-chapters .is-c7 { view-timeline-name: --ado-c7; }
.axyo-site-chapters .is-c8 { view-timeline-name: --ado-c8; }
.axyo-site-chapters .is-c9 { view-timeline-name: --ado-c9; }
.axyo-site-chapters .is-c10 { view-timeline-name: --ado-c10; }
.axyo-site-chapters .is-c11 { view-timeline-name: --ado-c11; }

.axyo-site-chapters .ch-side {
	align-self: start;
	position: sticky;
	top: var(--ado-stick, 9.5em);
}

/* The side follows the reader down its chapter, under the dial, and stops where the words and their pieces end:
   side and body sit in their own box (.ch-top, on the chapter's columns), so the sticky side never runs over the
   wide pictures below (the user, 2026-11-21). */
.axyo-site-chapters .ch-top { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: inherit; }

.axyo-site-chapters .ch-n { margin: 0; font: 500 0.75em ui-monospace, monospace; letter-spacing: 0.08em; color: var(--section-accent); }

.axyo-site-chapters .ch-fig {
	margin: 0.22em 0 0;
	font: 800 clamp(2.5em, 5.6vw, 5em) / 0.95 var(--ado-head);
	letter-spacing: -0.05em;
}

.axyo-site-chapters .ch-fig small {
	display: block;
	max-width: 28ch;
	margin-top: 0.7em;
	font-family: var(--axyo-font-body, inherit);
	font-size: max(0.875rem, 0.18em);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
	color: var(--section-muted);
}

.axyo-site-chapters .ch-title {
	max-width: none;
	margin: 0.94em 0 0;
	font: 700 clamp(1.5em, 2.4vw, 2.125em) / 1.12 var(--ado-head);
	letter-spacing: -0.03em;
}

.axyo-site-chapters :is(.ch-title, .ch-fig) em { font-style: normal; color: var(--section-accent); }

/* A brand on a white card, as the logos of the magazines: legible in Light and in Dark (the user, 2026-11-21). */
.axyo-site-chapters .ch-brand { width: min(16em, 75%); margin: 2.2em 0 0; padding: 0.9em 1.1em; background: var(--ado-paper); box-shadow: 0 1em 2em -1.3em var(--color-section-dark-bg); }
.axyo-site-chapters .ch-brand img { display: block; width: 100%; height: auto; }

.axyo-site-chapters .ch-body > p { max-width: 62ch; margin: 0 0 1.2em; font-size: 1.0625em; line-height: 1.7; }

.axyo-site-chapters .ch-body > p:first-child {
	font: 500 clamp(1.125em, 1.5vw, 1.3125em) / 1.6 var(--ado-head);
}

.axyo-site-chapters figure { margin: 0; }
.axyo-site-chapters .ch-body > figure, .axyo-site-chapters .ch-body > div { margin-top: 2.4em; }
.axyo-site-chapters .ch-img { display: block; width: 100%; height: auto; object-fit: cover; }
.axyo-site-chapters .ch-img.is-top { object-position: 50% 0; }
.axyo-site-chapters .ch-img.is-upper { object-position: 50% 30%; }

.axyo-site-chapters figcaption {
	margin-top: 0.6em;
	font-size: 0.75em;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--section-muted);
}

.axyo-site-chapters .ch-credit { display: block; margin-top: 0.25em; font-size: 0.85em; font-weight: 500; letter-spacing: 0.04em; text-transform: none; opacity: 0.8; }

/* Photographs: slightly grey until the pointer comes. */
.axyo-site-chapters :is(.ch-photo, .ch-wide, .ch-trio figure, .ch-duo figure) .ch-img { filter: grayscale(0.15); transition: filter 0.4s; }
.axyo-site-chapters :is(.ch-photo, .ch-trio figure, .ch-duo figure):is(:hover, :focus-within) .ch-img { filter: none; }
.axyo-site-chapters .ch-photo .ch-img { aspect-ratio: auto; }
/* A photograph with its ratio keeps it, as in the preview (the user, 2026-11-21: Seoul came out 1500 tall). */
.axyo-site-chapters .ch-photo.r-43 .ch-img { aspect-ratio: 4 / 3; }
.axyo-site-chapters .ch-photo.r-34 .ch-img { aspect-ratio: 3 / 4; }
.axyo-site-chapters .ch-reveal { overflow: hidden; }
.axyo-site-chapters .ch-reveal .ch-img { aspect-ratio: 4 / 3; }

/* As wide as the band: the village, then three equal photographs; the Venus, cut out, stands on the stone. */
.axyo-site-chapters .ch > :is(.ch-wide, .ch-trio, .ch-duo, .ch-table, .ch-press) { grid-column: 1 / -1; }
.axyo-site-chapters .ch-wide .ch-img { aspect-ratio: 21 / 8; object-position: 50% 60%; }
.axyo-site-chapters :is(.ch-trio, .ch-duo) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8em, 2vw, 1.6em); }
.axyo-site-chapters .ch-duo { grid-template-columns: 1fr 1fr; }
.axyo-site-chapters .ch-trio .ch-img { aspect-ratio: 4 / 5; }
.axyo-site-chapters .ch-duo .ch-img { aspect-ratio: 4 / 3; }
/* The object on white paper in both themes: on the light band's colour, which is dark in Dark, the multiply turned
   the statue black (the user, 2026-11-21). */
.axyo-site-chapters .ch-obj { display: block; aspect-ratio: 4 / 5; background: var(--ado-paper); isolation: isolate; overflow: hidden; }
.axyo-site-chapters .ch-obj .ch-img { height: 100%; mix-blend-mode: multiply; filter: none; }

/* The record: the cover large, the stage small, laid on it at the bottom right. */
.axyo-site-chapters .ch-record { position: relative; padding-bottom: 4em; }
.axyo-site-chapters .ch-cover { width: 72%; }
.axyo-site-chapters .ch-cover .ch-img { aspect-ratio: 1; }
.axyo-site-chapters .ch-stage { position: absolute; right: 0; bottom: 0; width: 46%; padding: 0.5em 0.5em 0; background: var(--section-bg); box-shadow: 0 1.2em 2.5em -1em color-mix(in srgb, var(--section-fg) 35%, transparent); }
.axyo-site-chapters .ch-stage .ch-img { aspect-ratio: 350 / 217; }
.axyo-site-chapters .ch-stage figcaption { margin: 0; padding: 0.2em 0 0.5em; }

/* The articles told in Frequenze. */
.axyo-site-chapters .ch-reads { padding-top: 1.4em; border-top: 1px solid var(--section-line); }
.axyo-site-chapters .ch-reads p { margin: 0 0 0.7em; font-size: 0.6875em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--section-muted); }
.axyo-site-chapters .ch-reads a { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; padding: 0.7em 0; border-bottom: 1px solid var(--section-line); font: 600 1.0625em var(--ado-head); color: inherit; text-decoration: none; }
.axyo-site-chapters .ch-reads a span { font-size: 0.65em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--section-accent); white-space: nowrap; }
.axyo-site-chapters .ch-reads a:is(:hover, :focus-visible) { color: var(--section-accent); }

.axyo-site-chapters .ch-quote { margin: 1.3em 0 0; padding: 0; border: 0; font: 600 clamp(1.375em, 2.4vw, 2em) / 1.3 var(--ado-head); letter-spacing: -0.02em; }
.axyo-site-chapters .ch-quote::before { content: '\201C' / ''; display: block; font: 800 4.5rem / 0.6 var(--ado-head); color: var(--section-accent); }
.axyo-site-chapters .ch-quote cite { display: block; margin-top: 1em; font-size: 0.4em; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--section-muted); }

/* Prints on the table and on the island: white paper, crooked, they straighten under the pointer. */
.axyo-site-chapters :is(.ch-table, .ch-isle) { display: flex; gap: clamp(0.8em, 2vw, 1.4em); padding-block: 1em 1.5em; }
.axyo-site-chapters .ch-table { margin-top: clamp(2em, 5vw, 3.5em); }
.axyo-site-chapters .ch-isle { gap: 1.4em; padding-block: 0.6em 1em; }
.axyo-site-chapters :is(.ch-table, .ch-isle) figure { --r: 1; flex: var(--r) 1 0; min-width: 0; position: relative; padding: 0.6em 0.6em 0; background: var(--ado-paper); rotate: var(--rot); box-shadow: 0 1.6em 2.6em -1.2em color-mix(in srgb, var(--section-fg) 50%, transparent); transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); }
.axyo-site-chapters :is(.ch-table, .ch-isle) .r-34 { --r: 0.75; }
.axyo-site-chapters :is(.ch-table, .ch-isle) .r-43 { --r: 1.3333; }
.axyo-site-chapters :is(.ch-table, .ch-isle) .ch-img { aspect-ratio: var(--r); }
.axyo-site-chapters :is(.ch-table, .ch-isle) figcaption { margin: 0; padding: 0.6em 0.1em 0.8em; color: var(--ado-ink); opacity: 0.7; }
.axyo-site-chapters .ch-table figure:nth-child(1) { --rot: -3.5deg; translate: 0 0.8em; }
.axyo-site-chapters .ch-table figure:nth-child(2) { --rot: 2.5deg; z-index: 1; margin-inline: -1.4em; }
.axyo-site-chapters .ch-table figure:nth-child(3) { --rot: -2deg; translate: 0 1.2em; }
.axyo-site-chapters .ch-isle figure:first-child { --rot: -2.5deg; }
.axyo-site-chapters .ch-isle figure:last-child { --rot: 3deg; translate: 0 0.9em; }
.axyo-site-chapters :is(.ch-table, .ch-isle) figure:is(:hover, :focus-within) { z-index: 2; transform: rotate(calc(var(--rot) * -1)) scale(1.04); }

/* The press cutting, on the stone with double rules. */
.axyo-site-chapters .ch-press { display: grid; gap: 0.8em; margin-top: clamp(2em, 5vw, 3.5em); padding: clamp(1.4em, 3vw, 2.2em) clamp(1.4em, 3vw, 2.4em); border-block: 3px double var(--section-fg); background: var(--color-section-light-bg); color: var(--color-section-light-text); text-decoration: none; transition: background 0.3s; }
.axyo-site-chapters .ch-press:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--color-section-light-bg) 88%, var(--color-section-light-text)); }
.axyo-site-chapters .ch-press-kicker { font-size: 0.6875em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--section-accent); }
.axyo-site-chapters .ch-press-title { max-width: 46ch; font: italic 400 clamp(1.375em, 2.6vw, 2.125em) / 1.25 Georgia, 'Times New Roman', serif; }
.axyo-site-chapters .ch-press-go { font-size: 0.875em; font-weight: 600; }
.axyo-site-chapters .ch-sr { position: absolute; width: 0.01em; height: 0.01em; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The departures board: dark, letters on palettes that turn while it comes into view. */
.axyo-site-chapters .ch-board { padding: 1.1em 1.2em 1.2em; background: var(--color-section-dark-bg); color: var(--color-section-dark-text); box-shadow: 0 1.6em 3em -1.6em var(--color-section-dark-bg); }
.axyo-site-chapters .ch-board-head { display: flex; justify-content: space-between; margin: 0 0 0.8em; font-size: 0.6875em; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; }
.axyo-site-chapters .ch-board-head span:first-child { color: var(--color-section-dark-link); opacity: 1; }
.axyo-site-chapters .ch-board ol { margin: 0; padding: 0; list-style: none; }
.axyo-site-chapters .ch-board a { display: flex; align-items: center; gap: clamp(0.5em, 1.6vw, 1.2em); padding: 0.55em 0.2em; border-top: 1px solid color-mix(in srgb, var(--color-section-dark-text) 12%, transparent); color: inherit; text-decoration: none; transition: background 0.25s; }
.axyo-site-chapters .ch-board a:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--color-section-dark-text) 6%, transparent); }
.axyo-site-chapters .ch-board em { margin-left: auto; font-size: 0.6875em; font-style: normal; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.axyo-site-chapters .ch-board a:is(:hover, :focus-visible) em { color: var(--color-section-dark-link); opacity: 1; }
.axyo-site-chapters .ch-flap { position: relative; display: inline-flex; gap: 2px; font: 600 clamp(0.8125em, 1.25vw, 1.0625em) / 1 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.axyo-site-chapters .ch-flap i { position: relative; display: inline-grid; place-items: center; width: 1.25em; height: 1.6em; overflow: hidden; border-radius: 2px; background: color-mix(in srgb, var(--color-section-dark-text) 9%, var(--color-section-dark-bg)); font-style: normal; }
.axyo-site-chapters .ch-flap i::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--color-section-dark-bg); }
.axyo-site-chapters .ch-flap.is-code i { color: var(--color-section-dark-link); }
.axyo-site-chapters .ch-flap.is-city { min-width: 12.25em; }

/* Day and evening at Marteona: press the photograph (or its label) and the evening opens like a circle. */
.axyo-site-chapters .ch-daynight { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-section-dark-bg); }
.axyo-site-chapters .ch-daynight summary { display: block; height: 100%; list-style: none; cursor: pointer; }
.axyo-site-chapters .ch-daynight summary::-webkit-details-marker { display: none; }
.axyo-site-chapters .ch-daynight summary:focus-visible { outline: 2px solid var(--section-accent); outline-offset: 4px; }
.axyo-site-chapters .ch-daynight .ch-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.axyo-site-chapters .ch-daynight .is-night { object-position: 50% 0; pointer-events: none; }
.axyo-site-chapters .ch-dn-switch { position: absolute; z-index: 1; left: 1em; bottom: 1em; display: flex; padding: 0.25em; border-radius: 999px; background: color-mix(in srgb, var(--color-section-dark-bg) 78%, transparent); }
.axyo-site-chapters .ch-dn-switch span { padding: 0.45em 0.9em; border-radius: 999px; font-size: 0.6875em; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-section-dark-text); transition: background 0.3s, color 0.3s; }
.axyo-site-chapters .ch-daynight:not([open]) .ch-dn-day,
.axyo-site-chapters .ch-daynight[open] .ch-dn-night { background: var(--color-section-dark-text); color: var(--color-section-dark-bg); }
.axyo-site-chapters .ch-daynight[open] .is-night { animation: chapters-circle 0.9s cubic-bezier(0.6, 0, 0.2, 1) both; }

@keyframes chapters-circle { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(150% at 50% 50%); } }

@container (max-width: 56em) {
	.axyo-site-chapters .ch { grid-template-columns: minmax(0, 1fr); }
	.axyo-site-chapters .ch-side { position: static; }
}

@container (max-width: 48em) {
	.axyo-site-chapters .ch-duo { grid-template-columns: 1fr; }
	.axyo-site-chapters .ch-trio { grid-template-columns: 1fr 1fr; }
	.axyo-site-chapters .ch-trio figure:first-child { grid-column: 1 / -1; }
	.axyo-site-chapters .ch-trio figure:first-child .ch-img, .axyo-site-chapters .ch-wide .ch-img { aspect-ratio: 16 / 10; }
	.axyo-site-chapters .ch-board a { display: grid; grid-template-columns: auto 1fr; gap: 0.45em 0.5em; padding-block: 0.7em; }
	.axyo-site-chapters .ch-flap.is-city { min-width: 0; }
	.axyo-site-chapters .ch-board em { align-self: center; justify-self: end; }
	/* On a phone the prints stand one under the other, whole, still crooked (the user, 2026-11-21). */
	.axyo-site-chapters :is(.ch-table, .ch-isle) { flex-direction: column; gap: 1.6em; }
	.axyo-site-chapters :is(.ch-table, .ch-isle) figure { flex: none; width: 100%; margin: 0; translate: none; }
}

/* Coming in and going out with the scroll, always from their own side (the user, 2026-11-21). */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.axyo-site-chapters :is(.ch-body > figure, .ch-wide, .ch-trio figure, .ch-fig, .ch-quote, .ch-daynight, .ch-press, .ch-record) {
			animation: chapters-up linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
		}

		.axyo-site-chapters :is(.ch-trio, .ch-duo, .ch-isle, .ch-table) figure:first-child,
		.axyo-site-chapters .ch-brand { animation: chapters-left linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }

		.axyo-site-chapters :is(.ch-trio, .ch-duo, .ch-isle, .ch-table) figure:last-child { animation: chapters-right linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		.axyo-site-chapters .ch-table figure:nth-child(2) { animation: chapters-deal-up linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		.axyo-site-chapters :is(.ch-isle, .ch-table) figure:first-child { animation-name: chapters-deal-left; }
		.axyo-site-chapters :is(.ch-isle, .ch-table) figure:last-child { animation-name: chapters-deal-right; }
		.axyo-site-chapters .ch-body > .ch-reveal { animation: none; }
		.axyo-site-chapters .ch-reveal .ch-img { animation: chapters-reveal linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		.axyo-site-chapters .ch-stage { animation: chapters-spin linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	}

	/* The departures board turns by itself every few seconds, as in the preview (the user, 2026-11-21): each palette
	   runs through a few letters and stops on its own, one after the other along the row, row after row. On time,
	   not on the scroll, so it moves while one reads. */
	.axyo-site-chapters .ch-flap i::before { content: ''; position: absolute; inset: 0; display: grid; place-items: center; background: inherit; color: inherit; opacity: 0; animation: chapters-flap 7s linear infinite; animation-delay: calc(var(--flap-cell, 0s) + var(--flap-word, 0s) + var(--flap-row, 0s)); }
	.axyo-site-chapters .ch-flap.is-city { --flap-word: 0.25s; }
	.axyo-site-chapters .ch-flap.is-when { --flap-word: 0.9s; }
	.axyo-site-chapters .ch-board li:nth-child(2) { --flap-row: 0.3s; }
	.axyo-site-chapters .ch-board li:nth-child(3) { --flap-row: 0.6s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(2) { --flap-cell: 0.07s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(3) { --flap-cell: 0.14s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(4) { --flap-cell: 0.21s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(5) { --flap-cell: 0.28s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(6) { --flap-cell: 0.35s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(7) { --flap-cell: 0.42s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(8) { --flap-cell: 0.49s; }
	.axyo-site-chapters .ch-flap i:nth-of-type(n + 9) { --flap-cell: 0.56s; }
}

@keyframes chapters-up { 0% { opacity: 0; translate: 0 30%; } 28%, 72% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -12%; } }
@keyframes chapters-left { 0% { opacity: 0; translate: -35% 0; } 28%, 72% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: -35% 0; } }
@keyframes chapters-right { 0% { opacity: 0; translate: 35% 0; } 28%, 72% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 35% 0; } }
@keyframes chapters-deal-left { 0% { opacity: 0; translate: -45% 8%; rotate: -16deg; } 28%, 72% { opacity: 1; translate: 0 0; rotate: var(--rot); } 100% { opacity: 0; translate: -40% 0; rotate: -12deg; } }
@keyframes chapters-deal-right { 0% { opacity: 0; translate: 45% 8%; rotate: 16deg; } 28%, 72% { opacity: 1; translate: 0 0; rotate: var(--rot); } 100% { opacity: 0; translate: 40% 0; rotate: 12deg; } }
@keyframes chapters-deal-up { 0% { opacity: 0; translate: 0 40%; rotate: 10deg; } 28%, 72% { opacity: 1; translate: 0 0; rotate: var(--rot); } 100% { opacity: 0; translate: 0 -15%; rotate: -6deg; } }
@keyframes chapters-reveal { 0% { clip-path: inset(100% 0 0 0); scale: 1.18; translate: 0 12%; } 32%, 70% { clip-path: inset(0 0 0 0); scale: 1; translate: 0 0; } 100% { clip-path: inset(0 0 100% 0); scale: 1.08; translate: 0 -6%; } }
@keyframes chapters-spin { 0% { opacity: 0; rotate: 24deg; scale: 0.85; } 30%, 70% { opacity: 1; rotate: -3deg; scale: 1; } 100% { opacity: 0; rotate: -24deg; scale: 0.85; } }
/* In the first second of every seven the palette turns through a few letters, then shows its own (the letter
   underneath) until the next turn. */
@keyframes chapters-flap {
	0% { content: 'K'; opacity: 1; transform: rotateX(0); }
	1.5% { content: '7'; transform: rotateX(90deg); }
	3% { content: 'Q'; transform: rotateX(0); }
	4.5% { content: 'M'; transform: rotateX(90deg); }
	6% { content: '2'; transform: rotateX(0); }
	7.5% { content: 'X'; transform: rotateX(90deg); opacity: 1; }
	9%, 100% { content: ''; transform: rotateX(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.axyo-site-chapters .ch-daynight[open] .is-night,
	.axyo-site-chapters .ch-flap i::before { animation: none; }
}
