/* JetBrains Mono (OFL, assets/fonts/OFL.txt), self-hosted; variable weight 400-700. */
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/assets/fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/assets/fonts/JetBrainsMono-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Visual AD / codex-look semantic tokens; panels and breakpoints follow layout-kit.css. */
:root {
	color-scheme: light;
	--page: #f5f5f3;
	--panel: #eaeae7;
	--ink: #1e1e1c;
	--soft: #56564f;
	--pink: #a61960;
	--color-accent: var(--pink); /* the suite's name for the accent (design-check reads it) */
	--line: #b4b4af;
	--edge: #76766f;
	--data-1: #38668c;
	font-family:
		"JetBrains Mono", ui-monospace, SFMono-Regular, Consolas,
		"Liberation Mono", monospace;
	font-size: 15px;
	line-height: 1.55;
	background: var(--page);
	color: var(--ink);
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
}
a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--pink);
	outline-offset: 4px;
}
main:focus {
	outline: none;
}
p,
h1,
h2,
h3 {
	margin: 0;
}
p {
	color: var(--soft);
}
h1 {
	font-size: 24px;
	line-height: 1.25;
}
h2,
h3 {
	font-size: 16px;
	line-height: 1.4;
}
img,
svg {
	display: block;
	max-width: 100%;
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
.skip {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 5;
	padding: 12px;
	background: var(--page);
	border: 1px solid var(--pink);
	transform: translateY(-150%);
}
.skip:focus {
	transform: none;
}
.page-header,
main,
#footer {
	width: min(100% - 32px, 1480px);
	margin-inline: auto;
}
.page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 20px 0 16px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 16px;
}
.wordmark {
	font-size: 20px;
	font-weight: 750;
	letter-spacing: 0.035em;
	line-height: 44px;
}
.header-nav {
	order: 3;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.header-nav a {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	white-space: nowrap;
}
.header-nav a[aria-current] {
	color: var(--pink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}
.index {
	color: var(--pink);
	font-weight: 400;
}
.languages {
	display: flex;
	gap: 0;
	align-items: center;
	font-size: 12px;
	letter-spacing: 0.08em;
}
.languages a {
	min-width: 44px;
	min-height: 44px;
	display: grid;
	place-items: center;
}
.languages [aria-current] {
	color: var(--pink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	gap: 10px;
	align-items: center;
}
.label .index {
	font-weight: 500;
}
.panel {
	padding: 16px;
	border-radius: 14px;
	background: var(--panel);
	min-width: 0;
	scroll-margin-top: 16px;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 112px;
	padding: 8px 16px;
	border: 1px solid var(--ink);
	border-radius: 4px;
	background: transparent;
	color: var(--ink);
	font-size: 14px;
	cursor: pointer;
	line-height: 1.4;
	text-align: center;
}
.button.primary {
	color: var(--pink);
	border-color: var(--pink);
}
.button:hover {
	background: var(--page);
	text-decoration: none;
}
.readout {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 0;
	margin: 16px 0 0;
}
.readout[hidden] {
	display: none;
}
.readout > div {
	padding-right: 20px;
	margin-right: 20px;
	border-right: 1px solid var(--line);
}
.readout > div:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}
.readout dt {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--soft);
}
.readout dd {
	margin: 2px 0 0;
	font-size: 15px;
}
.hero {
	margin-bottom: 12px;
}
.hero-art {
	position: relative;
	max-width: 680px;
	margin: 8px auto 0;
	aspect-ratio: 1.45;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.orbit {
	width: min(100%, 440px);
	height: 100%;
	overflow: visible;
}
.orbit .sweep {
	transform-origin: 60px 60px;
	animation: orbit-sweep 48s linear infinite;
}
.orbit .drift {
	transform-origin: 60px 60px;
	animation: orbit-sweep 110s linear infinite reverse;
}
.hero-copy {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
}
.hero-copy p {
	margin-top: 4px;
	max-width: 50ch;
}
.hero-copy .button {
	width: 100%;
}
.about {
	margin-top: 12px;
	display: grid;
	gap: 16px;
}
.about .bio p,
.about .single p {
	margin: 0;
	max-width: 60ch;
}
.about .readout {
	margin-top: 12px;
}
.single {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	display: grid;
	gap: 6px;
}
.single h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
}
.single .facts {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--soft);
	font-weight: 400;
}
.single .when {
	color: var(--pink);
}
.single .credits {
	font-size: 13px;
	color: var(--soft);
}
.doors,
.profiles {
	display: grid;
	gap: 12px;
}
.door {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.door .label {
	margin-bottom: 0;
}
.door-art {
	height: 140px;
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 2px;
	overflow: hidden;
}
.door-art svg {
	width: 100%;
	height: 100%;
}
.door h3 {
	font-size: 18px;
	font-weight: 500;
}
.door p {
	margin-top: 4px;
}
.door .button {
	align-self: flex-start;
	margin-top: auto;
}
.roll-sweep {
	animation: roll-sweep 24s linear infinite;
	transform-box: fill-box;
}
.poster {
	position: relative;
	height: 140px;
	display: grid;
	place-items: center;
	background: var(--page);
	border: 1px solid var(--line);
	overflow: hidden;
}
.poster::after {
	content: "";
	position: absolute;
	inset: 12px;
	border-block: 1px solid var(--line);
}
.poster svg {
	width: 128px;
	height: 128px;
	transform: rotate(-25deg);
}
.empty-rack {
	position: relative;
	height: 140px;
	margin: 0;
	border-block: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 28px 10px 12px;
	overflow: hidden;
}
.empty-rack svg {
	width: 100%;
	height: 64px;
}
.door-art,
.poster,
.empty-rack {
	flex-shrink: 0;
}
.social-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 24px;
}
.profiles-soon {
	font-size: 12px;
	color: var(--soft);
}
.content-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}
.content-list li {
	border-top: 1px solid var(--line);
	padding-top: 12px;
}
.content-list a {
	display: block;
	min-height: 44px;
	overflow-wrap: anywhere;
}
.playlist-title {
	display: block;
	font-size: 18px;
}
.facts {
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--soft);
	margin-top: 6px;
}
.film-still {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	margin-bottom: 12px;
}
.social-strip {
	margin-top: 24px;
	padding-block: 16px;
	border-block: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}
.profile-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 12px;
	letter-spacing: 0.04em;
}
.social-strip .all-profiles {
	color: var(--pink);
	font-size: 14px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.social-intro {
	margin-bottom: 16px;
}
.social-intro h1 {
	margin-block: 20px 8px;
}
.social-intro p {
	max-width: 54ch;
}
.profile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.profile h2 {
	font-size: 20px;
	overflow-wrap: anywhere;
}
.profile p {
	overflow-wrap: anywhere;
}
.profile .button {
	margin-top: auto;
}
.social-empty {
	min-height: 200px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
}
.social-empty .button {
	margin-top: 8px;
}
.not-found .button {
	margin-top: 16px;
}
.social-empty h3 {
	font-size: 18px;
	font-weight: 500;
}
.footer-meta {
	padding: 20px 0 28px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: var(--soft);
}
.footer-meta a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	overflow-wrap: anywhere;
}
.no-script {
	padding: 24px;
}
.no-script a {
	text-decoration: underline;
}
.no-script section + section {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.no-script nav,
.no-script p {
	max-width: 60ch;
	margin-top: 12px;
}
body.motion-paused .sweep,
body.motion-paused .drift,
body.motion-paused .roll-sweep {
	animation-play-state: paused;
}
.motion-toggle {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--ink);
	border-radius: 4px;
	padding: 8px 16px;
	min-height: 44px;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	align-self: flex-start;
}
.motion-toggle[hidden] {
	display: none;
}
@keyframes orbit-sweep {
	to {
		transform: rotate(360deg);
	}
}
@keyframes roll-sweep {
	from {
		transform: translateX(-280px);
	}
	to {
		transform: translateX(280px);
	}
}
@media (min-width: 768px) {
	.page-header,
	main,
	#footer {
		width: min(100% - 48px, 1480px);
	}
	.page-header {
		padding-top: 24px;
		margin-bottom: 24px;
	}
	.header-nav {
		width: auto;
		order: initial;
		display: flex;
		gap: 20px;
	}
	.wordmark {
		margin-right: auto;
	}
	.languages {
		margin-left: auto;
	}
	.hero {
		padding: 24px;
		margin-bottom: 16px;
	}
	.hero-art {
		aspect-ratio: 2;
		max-width: 100%;
		height: 360px;
	}
	.orbit {
		width: 360px;
	}
	.hero-copy .button {
		width: auto;
		min-width: 160px;
	}
	.doors,
	.profiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
	.door {
		padding: 20px;
	}
	.about {
		margin-top: 16px;
		padding: 20px;
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
	.about > .label {
		grid-column: 1 / -1;
	}
	.single {
		border-top: 0;
		padding-top: 0;
		border-left: 1px solid var(--line);
		padding-left: 20px;
	}
	.doors > .door:last-child {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
	.doors > .door:last-child > .label {
		grid-column: 1 / -1;
	}
	.doors > .door:last-child > .button {
		grid-column: 2;
		justify-self: start;
	}
	.doors > .door:last-child > .empty-rack {
		grid-row: 2 / 4;
		height: 168px;
	}
	.social-strip {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.footer-meta {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		flex-wrap: wrap;
	}
	.footer-meta .motion-toggle {
		margin-left: auto;
	}
	.social-empty {
		grid-column: 1 / -1;
		min-height: 200px;
	}
	.social-intro {
		padding: 24px;
	}
}
@media (min-width: 1100px) {
	.page-header,
	main,
	#footer {
		width: min(100% - 64px, 1480px);
	}
	.header-nav {
		gap: 28px;
	}
	.hero-art {
		height: 390px;
	}
	.orbit {
		width: 390px;
	}
	.doors,
	.profiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
	.doors > .door:last-child {
		grid-column: auto;
		display: flex;
	}
	.doors > .door:last-child > .empty-rack {
		height: 140px;
	}
	.door {
		min-height: 362px;
	}
	.hero {
		margin-bottom: 20px;
	}
	.hero-copy h1 {
		font-size: 28px;
	}
	.social-intro {
		margin-bottom: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		scroll-behavior: auto !important;
	}
	.motion-toggle {
		display: none;
	}
}
.visually-hidden,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.sweep,
.drift,
.roll-sweep {
	animation-play-state: var(--motion-state, running);
}
.hero-art {
	aspect-ratio: 1;
}
.orbit {
	height: auto;
}
.empty-rack {
	width: 100%;
}
.hero .label {
	text-transform: none;
}
@media (max-width: 439px) {
	.header-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 16px;
	}
}
.hero-art {
	width: 100%;
}
.profile .label {
	font-size: 12px;
	align-items: flex-start;
	overflow-wrap: anywhere;
}
.label .index {
	flex-shrink: 0;
}

/* Legal pages (/privacy, /terms): plain text, no script. */
.legal {
	max-width: 68ch;
	margin: 0 auto;
	padding: 32px 16px 64px;
}
.legal h1 {
	margin-bottom: 8px;
}
.legal h2 {
	font-size: 17px;
	margin: 28px 0 8px;
	color: var(--ink);
}
.legal p,
.legal li {
	color: var(--soft);
}
.legal p + p {
	margin-top: 10px;
}
.legal ul {
	margin: 8px 0 0;
	padding-left: 20px;
}
.legal a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.legal .lang-sep {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 48px 0 32px;
}
.legal .meta {
	font-size: 13px;
}
.legal ul + p {
	margin-top: 10px;
}
.legal > p.meta {
	margin-top: 40px;
}
.legal > p.meta a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding-inline: 8px;
}
.legal > p.meta a:first-child {
	margin-left: -8px;
}

/* Film-led homepage */
.header-nav { display: flex; gap: 24px; }
.header-nav a, .languages a, .button, .wordmark { min-height: 48px; }
.hero { display: grid; gap: 20px; }
.hero-art { width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 4 / 5; background: var(--page); }
.hero-art[hidden] { display: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; align-items: stretch; border: 0; padding: 0; gap: 12px; }
.hero-copy h1 { font-size: 40px; }
.hero-copy p { margin: 0; }
.hero-copy .button { width: 100%; }
.enter-stream { min-height: 48px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.player-status:empty { display: none; }
.film-section { margin-top: 12px; }
.film-group { margin-top: 16px; }
.film-group h3 { font-size: 15px; font-weight: 500; }
.film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; gap: 16px; }
@media (max-width: 699px) { .film-grid li:first-child { grid-column: 1 / -1; } }
.film-grid li { border: 0; padding: 0; }
.film-grid h3 { font-size: 13px; font-weight: 500; }

@media (min-width: 1100px) { .hero { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; } .hero-art { height: auto; } .hero-copy h1 { font-size: 40px; } .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The single follows the films; the image keeps the hero’s space. */
.single { margin-top: 12px; border: 0; padding: 20px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-meta small { font-size: 12px; }

/* Layout for the film, single and text panels. */
.works { display: grid; gap: 12px; }
.works .film-section, .works .single { margin: 0; }
.single { display: grid; gap: 12px; align-content: start; }
.single h3 { font-size: 20px; font-weight: 500; }
.single .when { color: var(--pink); }
.statement { margin: 0; }
.statement p { color: var(--ink); font-size: 20px; line-height: 1.5; max-width: 60ch; }
.statement p + p { margin-top: 1em; }
.footer-meta { font-size: 13px; }
.film-still { margin-bottom: 0; }
@media (min-width: 1100px) {
 .works { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 20px; }
 .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .film-grid li:first-child { grid-column: 1 / -1; }
 .statement { grid-column: 1 / -1; }
}

@media (min-width: 1280px) {
 .works { grid-template-rows: max-content auto; }
 .works .film-section { grid-column: 1; grid-row: 1 / 3; }
 .works .single { grid-column: 2; grid-row: 1; }
 .works .statement { grid-column: 2; grid-row: 2; align-self: start; }
}

/* Composition D: the page remains grey between the pieces. */
.home .piece-figure { margin: 24px 0 48px; }
.home .piece-window { position: relative; overflow: hidden; width: 100%; height: 85svh; min-height: 480px; }
.home .piece-window canvas, .home .piece-window .watcher-art { display: block; width: 100%; height: 100%; }
.home .piece-loop { background: #eee9d8; }
.home .piece-field { background: #e36027; }
.home .piece-squares { background: #24231e; }
.home .piece-bloom, .home .piece-capsule { background: #000; }
.home .piece-rings { background: #e6dcea; }
.home .piece-caption { margin-top: 10px; color: var(--soft); font-size: 13px; }
.home .hero { display: block; }
.home .hero-copy { padding: 8px 0; }
.home .works { display: block; }
.home .works > * { margin-block: 12px; }
/* The radio stays at the bottom, with space for the phone safe area. */
.home { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.home .radio-control { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 4px 16px calc(4px + env(safe-area-inset-bottom, 0px)); background: var(--page); color: var(--ink); box-shadow: 0 -2px 12px #0002; }
@media (min-width: 700px) { .home .radio-control { left: 16px; right: auto; bottom: 16px; width: min(280px, calc(100vw - 32px)); height: 48px; padding: 4px 12px; border-radius: 24px; } }
.home .radio-control:hover { text-decoration: none; }
.home .radio-control canvas { flex: none; display: block; width: 24px; height: 40px; border-radius: 16px; background: transparent; }
.home .radio-control canvas[data-capsule="off"] { background: linear-gradient(160deg, #73508d, #e89caa, #83c2b4); }
.home .radio-copy { min-width: 0; display: grid; line-height: 1.25; }
.home .listen-word { color: var(--ink); font-size: 13px; }
.home .player-status { position: static; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); font-size: 11px; }
.home .ring-row { position: absolute; left: 0; right: 0; height: 1px; }
.home .ring-row:nth-of-type(1) { top: 25%; } .home .ring-row:nth-of-type(2) { top: 50%; } .home .ring-row:nth-of-type(3) { top: 75%; }
@media (max-width: 699px) { .home .piece-window { min-height: 0; } }
/* Reserve the same grey margin around the windows at all widths. */
.home main { width: min(90.5%, 1480px); }
.home .piece-field .watcher-art { width: min(100%, 68svh); margin-inline: auto; }
.home .piece-bloom .bloom-canvas { width: min(100%, 47.8125svh); margin-inline: auto; }

/* « Bonjour à tous » player (the logos are burnt into the film since 17 Nov; .film-burst is no longer drawn). */
.film-player { position: relative; margin-top: 12px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-burst { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.film-burst[hidden] { display: none; }
.film-burst.blend-screen { mix-blend-mode: screen; }
.film-burst.blend-difference { mix-blend-mode: difference; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.film-play[hidden] { display: none; }
.film-note { font-size: 12px; color: var(--soft); margin-top: 6px; min-height: 1em; }
@media (prefers-reduced-motion: reduce) { .film-burst { animation: none; transition: none; } }
