/* BSM Audio - Benoit Saint-Moulin
   Identité reprise de l'ancien site : en-tête sombre, fond crème,
   accent orange #db542e, Open Sans / Open Sans Condensed. */

/* Open Sans auto-hébergée : une seule police variable (graisse 300-800, largeur 75-100).
   Les titres l'utilisent en largeur condensée (font-stretch: 75%), comme l'ancien "Open Sans Condensed". */
@font-face {
    font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
    src: url("../fonts/OpenSans-var.woff2") format("woff2");
}

/* Icônes : sprite SVG (img/icons.svg), couleur du texte */
.i { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }

:root {
    --bg: #f3f1ef;
    --surface: #ffffff;
    --text: #262626;
    --muted: #6a6560;
    --line: #e1dcd7;
    --accent: #db542e; /* l'unique orange du site, clair et sombre */
    --dark: #222222;
    --dark-2: #161616;
    --on-dark: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06);
    --radius: 6px;
    --wrap: 1120px;
    --font: "Open Sans", Helvetica, Arial, sans-serif;
    --font-head: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #131313;
    --surface: #1c1c1c;
    --text: #e8e5e2;
    --muted: #a09a94;
    --line: #2b2b2b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1.0625rem/1.7 var(--font);
    -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--accent); color: #141414; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: #141414; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-stretch: 75%; font-weight: 700; line-height: 1.15; letter-spacing: .02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(34, 34, 34, .96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }

.brand {
    font-family: var(--font-head); font-stretch: 75%; font-weight: 700; font-size: 1.6rem; letter-spacing: .04em;
    color: var(--on-dark); text-decoration: none; white-space: nowrap; margin-right: auto;
}
.brand:hover { color: var(--on-dark); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
    color: var(--on-dark); text-decoration: none; text-transform: uppercase;
    font-size: .9rem; letter-spacing: .06em; padding: .55rem .55rem; border-radius: 3px; position: relative; white-space: nowrap;
}
.nav a::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a:hover { color: var(--on-dark); }

.tools { display: flex; align-items: center; gap: .25rem; }
.tools .social { display: contents; }
.icon-btn {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    background: none; border: 0; border-radius: 50%; color: var(--on-dark); cursor: pointer; font-size: 1.05rem;
    text-decoration: none;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--on-dark); }
.menu-toggle { display: none; }

/* Le menu complet (marque, 8 liens, réseaux, thème) demande environ 1140 px de large */
@media (max-width: 1180px) {
    .menu-toggle { display: inline-grid; }
    .tools .social { display: none; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--dark); padding: .5rem 1rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: .85rem .5rem; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .nav a::after { display: none; }
    .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
    /* sans JavaScript : liens toujours visibles, en bandeau sous la marque */
    html:not(.js) .menu-toggle { display: none; }
    html:not(.js) .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0 0 .5rem; border: 0; order: 3; width: 100%; }
    html:not(.js) .nav a { padding: .5rem .6rem; font-size: .9rem; border: 0; }
    html:not(.js) .header-inner { flex-wrap: wrap; }
}

@media (max-width: 400px) {
    .header-inner { gap: .5rem; }
    .brand { font-size: 1.3rem; letter-spacing: .02em; }
    .icon-btn { width: 36px; height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
    background: var(--dark-2); color: var(--on-dark);
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    min-height: min(78vh, 720px);
}
.hero-copy {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
    max-width: calc(var(--wrap) / 2 + 5rem); margin-left: auto; width: 100%;
}
/* le nom de l'artiste est dans l'en-tête ; le titre de l'accueil dit ce qu'il fait (le nom reste lu par les lecteurs d'écran) */
.hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.3rem, 5.2vw, 4rem); text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero .tag { font-family: var(--font-head); font-stretch: 75%; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: rgba(255, 255, 255, .8); margin: 0 0 2rem; }
.hero .tag a { color: #fff; text-decoration-color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-photo { position: relative; overflow: hidden; background: #cfcfcf; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-photo::after {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 22%;
    background: linear-gradient(90deg, var(--dark-2), transparent); pointer-events: none;
}

@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-photo { order: -1; height: 56vw; max-height: 380px; }
    .hero-photo::after { inset: auto 0 0 0; width: auto; height: 35%; background: linear-gradient(0deg, var(--dark-2), transparent); }
    .hero-copy { max-width: none; }
}

/* ---------- Page d'ouverture (js/intro.js) ----------
   Un écran noir avec le logo 3D, à la première visite de la session. Un clic et on entre dans le triangle, puis le site apparaît.
   La classe intro-pending (posée dans le <head>) cache la page jusqu'à ce que l'écran soit prêt ; sans JavaScript, rien de tout cela n'existe. */
html.intro-pending { overflow: hidden; }
html.intro-pending body::before { content: ""; position: fixed; inset: 0; z-index: 300; background: #000; }
.intro { position: fixed; inset: 0; z-index: 300; background: #000; color: #fff; transition: opacity .9s ease; }
.intro.leaving { opacity: 0; pointer-events: none; }
.intro.skipping { transition-duration: .35s; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; opacity: 0; transition: opacity 1.6s ease; }
.intro-canvas.on { opacity: 1; }
.intro-brand {
    position: absolute; top: clamp(1.2rem, 4.5vh, 2.6rem); left: 0; right: 0; margin: 0; text-align: center; pointer-events: none;
    font-family: var(--font-head); font-stretch: 75%; font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: .06em;
}
.intro-enter, .intro-skip { background: none; border: 0; color: #fff; cursor: pointer; font: 600 .8rem/1 var(--font); letter-spacing: .32em; text-transform: uppercase; }
.intro-enter {
    position: absolute; left: 50%; bottom: clamp(1.8rem, 7vh, 4rem); transform: translateX(-50%); padding: .9rem 1.2rem .9rem 1.5rem;
    border-bottom: 2px solid var(--accent); opacity: 0; animation: introCue 1.4s 2.4s ease forwards;
}
.intro-skip { position: absolute; top: clamp(1rem, 4vh, 2.2rem); right: clamp(1rem, 3vw, 2rem); padding: .7rem; font-size: .68rem; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
.intro-skip:hover { color: #fff; }
.intro.entering .intro-enter, .intro.entering .intro-skip, .intro.entering .intro-brand { opacity: 0; transition: opacity .5s ease; animation: none; }
.intro-sound {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 310;
    background: rgba(20, 20, 20, .85); border: 1px solid rgba(255, 255, 255, .3); border-radius: 2rem;
    color: rgba(255, 255, 255, .8); padding: .55rem .95rem; cursor: pointer;
    font: 600 .72rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase;
}
.intro-sound:hover { color: #fff; border-color: var(--accent); }
.intro-sound[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
@keyframes introCue { from { opacity: 0; } to { opacity: .9; } }
/* à l'arrivée sur le site : il sort du trou, légèrement trop grand, et se pose */
html.intro-in main { animation: introIn 1.5s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 30%; }
@keyframes introIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font: 600 .95rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
    padding: .95rem 1.4rem; border-radius: 3px; border: 2px solid var(--accent);
    background: var(--accent); color: #141414; cursor: pointer; transition: filter .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { filter: brightness(1.1); color: #141414; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--dark); filter: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--accent); margin-top: .5rem; }
.more { text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.prose { max-width: 46rem; }
/* justifié seulement quand la colonne est assez large : sur téléphone, la justification ouvre de grands trous entre les mots */
@media (min-width: 640px) { .prose p { text-align: justify; hyphens: auto; } }
.prose a { font-weight: 700; }

.page-title { background: var(--dark); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0; border-bottom: 3px solid var(--accent); }
.page-title h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-title p { margin: .6rem 0 0; color: rgba(255, 255, 255, .75); font-size: 1.05rem; max-width: 42rem; }
.page-title a { color: #fff; text-decoration-color: var(--accent); }

/* ---------- Mix / release cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.1rem 1.1rem .5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .75rem;
}
.card h2, .card h3 { margin: 0; font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.card h2 .i, .card h3 .i { color: var(--accent); font-size: 1rem; }
.card iframe { width: 100%; height: 166px; border: 0; border-radius: 3px; background: var(--line); }

.note { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.note p { margin: 0; }
.note .links { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.note .links a { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }

/* ---------- Explore tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: .9rem; }
.tile {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
    background: var(--dark); color: #fff; text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .75; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent 55%); }
.tile span {
    position: absolute; z-index: 1; left: .9rem; bottom: .8rem; right: .9rem;
    font-family: var(--font-head); font-stretch: 75%; font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.06); opacity: 1; }

/* ---------- Collaborators ---------- */
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.people a {
    display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 99px;
    background: var(--surface); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text);
    transition: border-color .15s, color .15s;
}
.people a:hover { border-color: var(--accent); }
.people span {
    display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 99px;
    background: var(--surface); font-weight: 600; font-size: .95rem; color: var(--text);
}

/* ---------- In the lab ---------- */
.lab-intro { margin: 0 0 1.25rem; color: var(--muted); }
.lab { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 2rem; }
.lab li { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.lab strong { font-family: var(--font-head); font-stretch: 75%; font-size: 1.3rem; }
.lab span { color: var(--muted); font-size: .95rem; }

/* ---------- Galleries + lightbox ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
    font: 600 .9rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
    padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--text);
}
.chip span { color: var(--muted); font-weight: 400; margin-left: .25rem; }
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #141414; }
.chip.active span { color: #141414; }
.gallery figure[hidden] { display: none; }
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; position: relative; }
.zoom { cursor: zoom-in; text-decoration: none; }
.gallery .zoom {
    display: block; width: 100%; background: var(--line);
    border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery img { width: 100%; transition: transform .45s ease, opacity .3s; }
.gallery .zoom:hover img { transform: scale(1.04); }
.gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; color: #fff; font-size: .9rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0; transition: opacity .2s; pointer-events: none;
}
.gallery figure:hover figcaption, .gallery .zoom:focus-visible + figcaption { opacity: 1; }
@media (hover: none) { .gallery figcaption { display: none; } }

.lightbox {
    border: 0; padding: 0; background: transparent; color: #fff; max-width: none; max-height: none;
    width: 100vw; height: 100dvh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
html:has(dialog[open]) { overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox img { max-width: min(94vw, 1500px); max-height: calc(100dvh - 5.5rem); object-fit: contain; margin-top: 1rem; }
.lightbox .cap { padding: .9rem 4rem 1.1rem; text-align: center; font-size: .95rem; min-height: 3.3rem; color: rgba(255, 255, 255, .85); }
.lb-btn {
    position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12);
    color: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--accent); color: #141414; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: .75rem; transform: none; } .lightbox .cap { padding-inline: 4rem; } }

/* ---------- Bio ---------- */
.bio-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.bio-side { position: sticky; top: 90px; }
.bio-side img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.lang-switch { display: flex; gap: .5rem; margin: 1rem 0 0; }
.lang-switch a {
    flex: 1; text-align: center; padding: .55rem; border: 1px solid var(--line); border-radius: 3px; text-decoration: none;
    font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: var(--surface);
}
.lang-switch a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #141414; }
.bio-text p { max-width: 44rem; }
.bio-text p:first-child { font-size: 1.2rem; }
.bio-text a { font-weight: 700; }
.bio-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.2rem 0 .7rem; }
.video-title { margin-top: 2.5rem; margin-bottom: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin-top: 2rem; }
.video { aspect-ratio: 16 / 9; border: 0; width: 100%; border-radius: var(--radius); background: #000; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chips a { text-decoration: none; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; font-weight: 600;
    padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--text); }
.chips a:hover { border-color: var(--accent); }
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; } .bio-side { position: static; max-width: 340px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--line); border-radius: 3px; padding: .8rem .9rem;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-weight: 600; }
.status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.status.ok { display: block; color: #17653a; }
/* retour du formulaire sans JavaScript : affiché quand l'adresse se termine par #sent ou #error */
.status-static { display: none; font-weight: 600; margin: 0 0 1rem; }
.status-static:target { display: block; }
.status-static.ok { color: #17653a; }
.status-static.err { color: #b02a2a; }
:root[data-theme="dark"] .status-static.ok { color: #6fd39a; }
:root[data-theme="dark"] .status-static.err { color: #ff8f8f; }
.status.err { display: block; color: #b02a2a; }
:root[data-theme="dark"] .status.ok { color: #6fd39a; }
:root[data-theme="dark"] .status.err { color: #ff8f8f; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.side-box h2, .side-box h3 { margin-bottom: .8rem; font-size: 1.5rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.side-links a { text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: .7rem; color: var(--text); }
.side-links a:hover { color: var(--accent); }
.side-links .i { width: 1.4rem; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .75); padding: 2.5rem 0; font-size: .9rem; margin-top: auto; }
.bsm { color: #fff; font-weight: 600; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer a { color: #fff; }
.footer-social { display: flex; gap: .25rem; }
.footer-social .icon-btn { font-size: 1.15rem; }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

.notfound { text-align: center; padding: 6rem 0; }
.notfound .code { font-family: var(--font-head); font-stretch: 75%; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--accent); margin: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Runes (B S M en Elder Futhark), discrètes ---------- */
.rune { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.runes { display: inline-flex; gap: .55rem; font-size: 1.05rem; color: rgba(255, 255, 255, .4); }
.hero .runes { margin-bottom: 1.1rem; }

/* ---------- Série annoncée (Releases) ---------- */
.series { margin-bottom: 2rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.series .runes { color: var(--muted); margin-bottom: .6rem; }
.series h2 { margin: 0 0 .3rem; }
.series p { margin: 0; color: var(--muted); }

/* ---------- Archive (événements et flyers) ---------- */
.archive-nav { margin: 0 0 1rem; }
.chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #141414; }
.chips.years { margin: 0 0 2.5rem; }
.year { margin-bottom: 3rem; scroll-margin-top: 90px; }
.year > h2 { margin-bottom: 1rem; }
.year > h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--accent); margin-top: .5rem; }
.event { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.event.no-flyer { grid-template-columns: minmax(0, 1fr); }
.event .zoom { display: block; align-self: start; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.event img { width: 100%; height: auto; display: block; }
.event time { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.event h3 { margin: .15rem 0 .5rem; font-size: 1.4rem; }
.event p { margin: 0 0 .5rem; max-width: 44rem; }
.event:target h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 520px) { .event { grid-template-columns: 96px minmax(0, 1fr); gap: .9rem; } }
