/* Karakal — feuille de style du site public.
   Accent = temperature de couleur du film : daylight 5600K en clair,
   tungstene 3200K en sombre. Les polices sont auto-hebergees (RGPD). */

/* ── polices ───────────────────────────────────────────────────────────── */
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('/fonts/archivo.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url('/fonts/source-serif.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Serif 4';
	font-style: italic;
	font-weight: 300 600;
	font-display: swap;
	src: url('/fonts/source-serif-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('/fonts/jetbrains-mono.woff2') format('woff2');
}

/* ── jetons ────────────────────────────────────────────────────────────── */
:root {
	--paper: #f6f6f4;
	--surface: #ffffff;
	--surface-2: #eeeeea;
	--ink: #16181c;
	--muted: #5c6068;
	--line: #dcdcd6;
	--accent: #1b5fa6;
	--accent-ink: #ffffff;
	--accent-soft: rgba(27, 95, 166, 0.09);
	--shadow: 0 1px 2px rgba(20, 22, 26, 0.05);

	--font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

	--step--1: clamp(0.79rem, 0.77rem + 0.1vw, 0.84rem);
	--step-0: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
	--step-1: clamp(1.2rem, 1.13rem + 0.35vw, 1.42rem);
	--step-2: clamp(1.44rem, 1.31rem + 0.63vw, 1.85rem);
	--step-3: clamp(1.73rem, 1.51rem + 1.08vw, 2.4rem);
	--step-4: clamp(2.07rem, 1.72rem + 1.76vw, 3.12rem);
	--step-5: clamp(2.49rem, 1.93rem + 2.79vw, 4.06rem);

	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--measure: 62ch;
	--radius: 4px;
	--bar-h: 60px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #131519;
		--surface: #1a1d22;
		--surface-2: #22262d;
		--ink: #eceef1;
		--muted: #969ba4;
		--line: #2b2f37;
		--accent: #e9a13b;
		--accent-ink: #16181c;
		--accent-soft: rgba(233, 161, 59, 0.12);
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	}
}

/* ── base ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bar-h) + 1rem);
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	font-variant-numeric: oldstyle-nums;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
	font-variant-numeric: lining-nums;
}

p {
	text-wrap: pretty;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--accent);
	color: var(--accent-ink);
	padding: 0.75rem 1.25rem;
	font-family: var(--font-mono);
	font-size: var(--step--1);
}

.skip-link:focus {
	left: 0;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.narrow {
	max-width: var(--measure);
}

/* ── claquette : le motif signature ────────────────────────────────────── */
.slate {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.slate::before {
	content: '';
	width: 1.4rem;
	height: 1px;
	background: var(--accent);
	flex: none;
}

.slate.bare::before {
	display: none;
}

/* ── barre de navigation ───────────────────────────────────────────────── */
.bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.bar-inner {
	height: var(--bar-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.16em;
	text-decoration: none;
	white-space: nowrap;
}

.nav {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2.5vw, 1.75rem);
}

.nav a {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--muted);
	padding: 0.4rem 0;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.nav a:hover {
	color: var(--ink);
}

.nav a[aria-current='page'] {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

/* ── sections ──────────────────────────────────────────────────────────── */
main {
	flex: 1 0 auto;
}

.band {
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

.band + .band {
	border-top: 1px solid var(--line);
}

.band-alt {
	background: var(--surface);
}

.page-head {
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.page-head h1 {
	font-size: var(--step-5);
	margin-block: 0.6rem 1rem;
}

.page-head p {
	color: var(--muted);
	font-size: var(--step-1);
	max-width: 48ch;
}

.band-head {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.band-head h2 {
	font-size: var(--step-3);
}

/* ── accueil : plateau d'ouverture ─────────────────────────────────────── */
.opening {
	padding-block: clamp(4rem, 12vh, 8rem) clamp(3rem, 8vh, 5rem);
}

.opening h1 {
	font-size: clamp(3rem, 13vw, 8rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.88;
}

.opening .sub {
	font-family: var(--font-mono);
	font-size: clamp(0.8rem, 2vw, 1rem);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 1.25rem;
}

.opening .lead {
	font-size: var(--step-1);
	max-width: 46ch;
	margin-top: 2rem;
	color: var(--muted);
}

.opening-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.5rem;
}

/* ── boutons ───────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.85rem 1.5rem;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-ink);
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
	opacity: 0.88;
}

.btn:active {
	transform: translateY(1px);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn-ghost:hover {
	border-color: var(--accent);
	opacity: 1;
}

.btn svg {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ── grille de realisations ────────────────────────────────────────────── */
.reels {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
}

.reel {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.reel-slate {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--line);
}

.reel-slate .ref {
	color: var(--accent);
	font-weight: 600;
}

.reel-slate .name {
	color: var(--ink);
	letter-spacing: 0.04em;
	text-transform: none;
	text-align: right;
	font-size: 0.78rem;
}

.frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* facade : la vignette YouTube ne charge le lecteur qu'au clic */
.facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	background-color: var(--surface-2);
	display: grid;
	place-items: center;
}

.facade::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 15, 0.25);
	transition: background 0.2s ease;
}

.facade:hover::after {
	background: rgba(10, 12, 15, 0.1);
}

.facade .play {
	position: relative;
	z-index: 1;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-ink);
	display: grid;
	place-items: center;
	transition: transform 0.2s ease;
}

.facade:hover .play {
	transform: scale(1.08);
}

.facade .play svg {
	width: 1.5rem;
	height: 1.5rem;
	margin-left: 3px;
}

/* ── texte + statistiques ──────────────────────────────────────────────── */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.lead {
	font-size: var(--step-1);
	line-height: 1.5;
}

.prose p + p {
	margin-top: 1.1rem;
}

.prose p:not(.lead) {
	color: var(--muted);
}

.stats {
	display: grid;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.stat {
	background: var(--paper);
	padding: 1.4rem 1.5rem;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.stat-n {
	font-family: var(--font-display);
	font-size: var(--step-3);
	font-weight: 700;
	letter-spacing: -0.03em;
	font-variant-numeric: lining-nums;
}

.stat-l {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: right;
}

/* ── cartes ────────────────────────────────────────────────────────────── */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: 1rem;
}

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.band-alt .card,
.band-alt .stat {
	background: var(--surface);
}

.card h3,
.card h4 {
	font-size: var(--step-1);
}

.card p {
	color: var(--muted);
	font-size: var(--step-0);
}

.card .slate {
	margin-bottom: 0.2rem;
}

/* ── chronologie ───────────────────────────────────────────────────────── */
.timeline {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.tl-item {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	border-bottom: 1px solid var(--line);
	position: relative;
}

.tl-marker {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--accent);
	padding-top: 0.25rem;
}

.tl-item h3 {
	font-size: var(--step-1);
	margin-bottom: 0.5rem;
}

.tl-item p {
	color: var(--muted);
	max-width: var(--measure);
}

/* ── colonne laterale ──────────────────────────────────────────────────── */
.aside-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: sticky;
	top: calc(var(--bar-h) + 1.5rem);
}

.panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: var(--surface);
}

.panel h3 {
	font-size: var(--step-1);
	margin-bottom: 1rem;
}

.panel img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.panel.plain {
	padding: 0;
	overflow: hidden;
	line-height: 0;
}

.spec {
	display: grid;
	gap: 0.9rem;
}

.spec div {
	display: grid;
	gap: 0.15rem;
}

.spec dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.spec dd {
	margin: 0;
}

.ticks {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.ticks li {
	display: grid;
	grid-template-columns: 1.25rem 1fr;
	gap: 0.35rem;
	color: var(--muted);
	font-size: var(--step-0);
	line-height: 1.5;
}

.ticks li::before {
	content: '\2014';
	color: var(--accent);
}

/* ── contact ───────────────────────────────────────────────────────────── */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.channels {
	display: grid;
	gap: 1.4rem;
	margin-top: 2rem;
	border-top: 1px solid var(--line);
	padding-top: 1.75rem;
}

.channel dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.2rem;
}

.channel dd {
	margin: 0;
}

.channel a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

form.sheet {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	display: grid;
	gap: 1.25rem;
}

.field {
	display: grid;
	gap: 0.4rem;
}

.row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

label .req {
	color: var(--accent);
}

input,
select,
textarea {
	font-family: var(--font-body);
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.7rem 0.85rem;
	width: 100%;
	transition: border-color 0.15s ease;
}

textarea {
	resize: vertical;
	min-height: 8rem;
	line-height: 1.6;
}

input:hover,
select:hover,
textarea:hover {
	border-color: var(--muted);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	outline: 1px solid var(--accent);
	outline-offset: -2px;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius);
	font-size: var(--step--1);
}

.notice.bad {
	border-left-color: #c0392b;
	background: rgba(192, 57, 43, 0.08);
}

/* ── appel a l'action ──────────────────────────────────────────────────── */
.cta {
	display: grid;
	gap: 1rem;
	max-width: 52ch;
}

.cta h2 {
	font-size: var(--step-3);
}

.cta p {
	color: var(--muted);
	font-size: var(--step-1);
}

.cta .actions {
	margin-top: 0.75rem;
}

/* ── pied de page ──────────────────────────────────────────────────────── */
.foot {
	border-top: 1px solid var(--line);
	background: var(--surface);
	padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
	margin-top: auto;
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
	gap: 2rem;
	padding-bottom: 2rem;
}

.foot h3 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.16em;
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
}

.foot h4 {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.75rem;
}

.foot p,
.foot li {
	color: var(--muted);
	font-size: var(--step--1);
}

.foot ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.foot a {
	color: var(--muted);
	text-decoration: none;
}

.foot a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.foot-bottom {
	border-top: 1px solid var(--line);
	padding-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	color: var(--muted);
}

/* ── blocs libres ──────────────────────────────────────────────────────── */
.blocks {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 100%;
}

.bl-h2 {
	font-size: var(--step-3);
}

.bl-h3 {
	font-size: var(--step-1);
}

.bl-text,
.bl-note {
	max-width: var(--measure);
}

.bl-text p + p {
	margin-top: 1.1rem;
}

.bl-note {
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	border-radius: var(--radius);
	padding: 1.1rem 1.3rem;
}

.bl-figure {
	margin: 0;
	max-width: min(100%, 46rem);
}

/* Une petite image n'est jamais agrandie : elle garde sa taille naturelle. */
.bl-figure img {
	width: auto;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.bl-figure figcaption {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: var(--muted);
	margin-top: 0.6rem;
}

.bl-video {
	max-width: 46rem;
	display: grid;
	gap: 0.7rem;
}

.bl-action {
	margin: 0;
}

.bl-rule {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
}

/* ── karalecteur ───────────────────────────────────────────────────────── */
.karalecteur {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	max-width: 46rem;
	overflow: hidden;
}

.kl-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--line);
}

.kl-logo {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--line);
	flex: none;
	background: var(--surface-2);
}

.kl-head h3 {
	font-size: var(--step-1);
	margin-top: 0.15rem;
}

.kl-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kl-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	border-bottom: 1px solid var(--line);
}

.kl-row:last-child {
	border-bottom: 0;
}

.kl-row.current {
	background: var(--accent-soft);
}

/* Toute la ligne est cliquable : titre, artiste et durée compris. */
.kl-select {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	width: 100%;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.5rem 0.65rem 1.25rem;
}

.kl-select:hover .kl-title {
	color: var(--accent);
}

.kl-mark {
	position: relative;
	width: 2.2rem;
	height: 2.2rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--paper);
	font-family: var(--font-mono);
	font-size: 0.68rem;
	flex: none;
}

.kl-select:hover .kl-mark {
	border-color: var(--accent);
	color: var(--accent);
}

.kl-row.playing .kl-mark {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

.kl-row.playing .kl-num {
	display: none;
}

.kl-bars {
	display: none;
	align-items: flex-end;
	gap: 2px;
	height: 0.85rem;
}

.kl-row.playing .kl-bars {
	display: flex;
}

.kl-bars i {
	width: 2px;
	height: 40%;
	background: currentColor;
	animation: kl-bounce 0.9s ease-in-out infinite;
}

.kl-bars i:nth-child(2) {
	animation-delay: 0.15s;
}

.kl-bars i:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes kl-bounce {
	0%, 100% { height: 30%; }
	50% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.kl-bars i {
		animation: none;
		height: 70%;
	}
}

.kl-meta {
	display: grid;
	min-width: 0;
}

.kl-title {
	font-size: var(--step-0);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.kl-artist {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kl-time {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.kl-dl {
	color: var(--muted);
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-right: 0.6rem;
	border-radius: var(--radius);
}

.kl-dl svg {
	width: 1.05rem;
	height: 1.05rem;
}

.kl-dl:hover {
	color: var(--accent);
	background: var(--accent-soft);
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ── platine ───────────────────────────────────────────────────────────── */
.kl-deck[hidden] {
	display: none;
}

.kl-deck {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1.25rem;
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.kl-controls {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.kl-controls button {
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid transparent;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	padding: 0;
	width: 2.2rem;
	height: 2.2rem;
}

.kl-controls button svg {
	width: 1.15rem;
	height: 1.15rem;
}

.kl-controls button:hover:not(:disabled) {
	color: var(--accent);
	background: var(--accent-soft);
}

.kl-controls button:disabled {
	opacity: 0.35;
	cursor: default;
}

.kl-toggle {
	width: 2.8rem !important;
	height: 2.8rem !important;
	border-color: var(--accent) !important;
	background: var(--accent) !important;
	color: var(--accent-ink) !important;
}

.kl-toggle:hover {
	opacity: 0.88;
}

.kl-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
}

.kl-ico-pause,
.kl-toggle.is-playing .kl-ico-play {
	display: none;
}

.kl-toggle.is-playing .kl-ico-pause {
	display: block;
}

.kl-now {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.kl-now-title {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kl-timeline {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.6rem;
}

.kl-elapsed,
.kl-total {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.kl-seek,
.kl-vol {
	accent-color: var(--accent);
	width: 100%;
	height: 1rem;
	cursor: pointer;
}

.kl-sound {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.kl-mute {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	padding: 0;
}

.kl-mute svg {
	width: 1.05rem;
	height: 1.05rem;
}

.kl-mute:hover {
	color: var(--accent);
}

.kl-ico-mute,
.kl-mute.is-muted .kl-ico-vol {
	display: none;
}

.kl-mute.is-muted .kl-ico-mute {
	display: block;
}

.kl-vol {
	width: 5rem;
}

.empty-block {
	padding: 1.25rem;
	color: var(--muted);
}

@media (max-width: 620px) {
	.kl-deck {
		grid-template-columns: auto minmax(0, 1fr);
		row-gap: 0.75rem;
	}

	.kl-sound {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}
}

@media (max-width: 520px) {
	.kl-select {
		gap: 0.6rem;
		padding-left: 1rem;
	}

	.kl-time {
		display: none;
	}
}

/* ── erreur ────────────────────────────────────────────────────────────── */
.blank {
	padding-block: clamp(4rem, 15vh, 8rem);
	display: grid;
	gap: 1rem;
	max-width: 46ch;
}

.blank h1 {
	font-size: var(--step-4);
}

.blank p {
	color: var(--muted);
}

/* ── ouverture animee, discrete et unique ──────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	.rise {
		animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
	}

	.rise:nth-child(2) {
		animation-delay: 0.06s;
	}

	.rise:nth-child(3) {
		animation-delay: 0.12s;
	}

	.rise:nth-child(4) {
		animation-delay: 0.18s;
	}

	@keyframes rise {
		from {
			opacity: 0;
			transform: translateY(0.6rem);
		}
	}
}

/* ── adaptation ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.split,
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aside-stack {
		position: static;
	}

	.foot-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 620px) {
	.bar-inner {
		height: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding-block: 0.75rem;
	}

	.nav {
		flex-wrap: wrap;
		gap: 0.85rem;
	}

	.tl-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
	}

	.row-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.foot-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	:root {
		--bar-h: 96px;
	}
}

@media print {
	.bar,
	.actions,
	form.sheet {
		display: none;
	}
}
