/*
Theme Name: Guillaume Gouerou
Description: Le thème du site de Guillaume Gouerou — reprise exacte du site Astro (site/src), servie par WordPress. Aucune option de mise en page : le contenu se gère dans les fiches, la forme est fixée ici.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: gouerou
*/

/* Polices servies par le site lui-même : aucune requête vers Google. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans.woff2") format("woff2");
  font-weight: 300 400; font-style: normal; font-display: swap;
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-italic.woff2") format("woff2");
  font-weight: 300 400; font-style: italic; font-display: swap;
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ──────────────────────────────────────────────────────────────
   Guillaume Gouerou — système graphique
   Parti pris assumé : un seul thème, fond papier.
   Un portfolio d'artiste se regarde sur un blanc constant :
   les photographies doivent tomber sur le même fond partout.
   ────────────────────────────────────────────────────────────── */

:root {
  /* Papier légèrement chaud, encre presque noire — repris du prototype validé */
  --paper:      #F8F7F3;
  --paper-warm: #F2F0E9;
  --sunken:     #E9E6DD;
  --ink:        #191714;
  --ink-2:      #46413A;
  --muted:      #6F6A60;
  --faint:      #8B857A;
  --rule:       #E0DBD1;
  --rule-soft:  #EDE9E1;
  /* Cuivre oxydé : la matière de l'artiste. Employé avec parcimonie. */
  --copper:     #A9541F;

  --serif: var(--font-body);
  --gap: 4px;

  /* Hauteur de rangée visée par la grille justifiée */
  --row: 200px;

  --pad: clamp(1.15rem, 4vw, 3rem);
  --measure: 62ch;

  --nav-h: 56px;
}

@media (min-width: 900px)  { :root { --row: 240px; } }
@media (min-width: 1400px) { :root { --row: 280px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

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

::selection { background: #E6D8CB; color: var(--ink); }

/* ── Typographie ─────────────────────────────────────────── */

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  max-width: var(--measure);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-2);
}
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }

.meta {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.meta-quiet { color: var(--muted); }

/* ── Ossature ────────────────────────────────────────────── */

.shell {
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: var(--pad);
}
.shell-narrow { max-width: 900px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; font-size: .85rem;
}
.skip:focus { left: 0; }

main { min-height: 60vh; }

/* Pages qui doivent tenir dans un écran, pied de page compris : l'en-tête et
   le pied gardent leur hauteur naturelle, le contenu absorbe le reste. */
body.fill { min-height: 100svh; display: flex; flex-direction: column; }
body.fill main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
body.fill .foot { margin-top: 0; }
/* En colonne flexible, la marge automatique de `.shell` fait rétrécir
   l'en-tête et le pied au lieu de les étendre : on rétablit la largeur. */
body.fill > .nav,
body.fill > .foot { width: 100%; }

/* ── En-tête ─────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding-block: .6rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-name {
  font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase;
  font-size: 1rem; letter-spacing: .02em; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 1.75rem); }
.nav-link {
  font-size: .85rem; font-weight: 300; color: var(--muted);
  padding-block: .35rem;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.lang { display: flex; align-items: center; gap: .25rem; font-size: .78rem; }
/* Cibles d'au moins 24 px de haut : WCAG 2.2 « Target Size ». */
.lang a {
  color: var(--muted);
  transition: color .18s ease;
  display: inline-flex; align-items: center;
  min-height: 24px; padding-inline: .35rem;
}
.lang a:hover { color: var(--ink); }
.lang [aria-current] { color: var(--ink); font-weight: 400; }
.lang span { color: var(--rule); }


/* Sous 720 px, les trois rubriques ne tiennent plus à côté du nom :
   on passe à deux lignes plutôt que de masquer la navigation derrière un menu. */
@media (max-width: 720px) {
  :root { --nav-h: 76px; }
  .nav {
    flex-wrap: wrap;
    row-gap: 0;
    padding-block: .4rem .3rem;
  }
  .nav-name { font-size: .92rem; }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .nav-link { font-size: .88rem; }
  .lang { margin-left: auto; }
}

/* ── Pied ────────────────────────────────────────────────── */

.foot {
  margin-top: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid var(--rule);
  padding-block: 1.6rem 2.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  align-items: baseline; justify-content: space-between;
  font-size: .8rem; color: var(--muted);
}
.foot a {
  border-bottom: 1px solid var(--rule);
  transition: border-color .18s ease, color .18s ease;
  display: inline-flex; align-items: center; min-height: 24px;
}
.foot a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; }

/* ── Grille justifiée ────────────────────────────────────
   Chaque vignette grandit proportionnellement à son format :
   les rangées s'égalisent d'elles-mêmes à toutes les largeurs,
   sans calcul au build ni script. Les formats réels sont
   préservés — c'était tout l'enjeu d'abandonner le carré.
   ────────────────────────────────────────────────────────── */

.year {
  display: flex; align-items: baseline; gap: 1rem;
  margin: clamp(2.4rem, 6vw, 4rem) 0 1rem;
}
.year:first-child { margin-top: 1.5rem; }
.year-n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.year-rule { flex: 1; height: 1px; background: var(--rule); }

.grid { display: flex; flex-wrap: wrap; gap: var(--gap); }

.work-nav-next { text-align: right; }

.tile {
  position: relative;
  flex-grow: var(--a);
  flex-basis: calc(var(--a) * var(--row));
  /* Une année qui ne compte qu'une pièce ne doit pas s'étaler sur toute
     la largeur : on plafonne, la rangée reste à une hauteur crédible. */
  max-width: min(100%, calc(var(--a) * var(--row) * 1.85));
  min-width: 0;
  background: var(--sunken);
  overflow: hidden;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.955) saturate(.97);
  transition: filter .5s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.tile:hover img, .tile:focus-visible img { filter: none; transform: scale(1.025); }

.tile-cap {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
  padding: 2.2rem .7rem .55rem;
  background: linear-gradient(to top, rgba(16, 14, 11, .68), rgba(16, 14, 11, 0));
  color: #F6F3ED;
  opacity: 0; transition: opacity .28s ease;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; }
.tile-t { font-size: .8rem; font-weight: 400; line-height: 1.35; }
.tile-y { font-size: .72rem; color: rgba(246, 243, 237, .72); font-variant-numeric: tabular-nums; }

/* Marqueur des pièces temporelles — vidéo, son */
.badge {
  position: absolute; top: .55rem; right: .55rem;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .18rem .42rem;
  background: rgba(16, 14, 11, .55);
  color: #F6F3ED;
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge svg { width: .62rem; height: .62rem; fill: currentColor; }

.tile-sale {
  position: absolute; top: .55rem; left: .55rem;
  padding: .18rem .42rem;
  background: rgba(246, 243, 237, .88); color: var(--ink);
  font-size: .62rem; letter-spacing: .09em; text-transform: uppercase;
}

/* Sur téléphone, on relâche la contrainte de rangée :
   deux colonnes lisibles valent mieux qu'une mosaïque écrasée. */
@media (max-width: 620px) {
  :root { --row: 150px; }
  /* Sur téléphone il n'y a qu'une ou deux vignettes par rangée :
     le plafond n'a plus de raison d'être, on laisse remplir la largeur. */
  .tile { flex-basis: calc(var(--a) * var(--row)); max-width: 100%; }
  .tile-cap { opacity: 1; background: linear-gradient(to top, rgba(16,14,11,.6), rgba(16,14,11,0)); }
}

/* ── Fiche œuvre ─────────────────────────────────────────── */

.work { padding-top: clamp(1.5rem, 4vw, 3rem); }

.work-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.work-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem); line-height: .95; letter-spacing: .004em;
}
.work-year {
  font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.work-sale {
  font-size: .7rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--copper); border: 1px solid currentColor; padding: .12rem .4rem;
}

.work-body {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .work-body { grid-template-columns: minmax(0, 1fr) minmax(280px, 24rem); }
  .work-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
}

.work-media { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.work-media img { width: 100%; background: var(--sunken); }
.work-embed { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.work-embed iframe, .work-embed video { width: 100%; height: 100%; border: 0; display: block; }
.work-sound iframe { width: 100%; height: 120px; border: 0; display: block; }

.work-aside > * + * { margin-top: 1.15rem; }
.work-medium { font-size: .95rem; line-height: 1.7; color: var(--ink); }
.work-caption { font-size: .85rem; line-height: 1.7; color: var(--muted); font-style: italic; }
.work-sep { height: 1px; background: var(--rule); }
.work-credits, .work-source { font-size: .78rem; line-height: 1.65; color: var(--muted); }
.work-links { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; }
.work-links a { color: var(--ink-2); border-bottom: 1px solid var(--rule); align-self: flex-start; }
.work-links a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.pager {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.25rem; border-top: 1px solid var(--rule);
  font-size: .85rem;
}
.pager a { color: var(--muted); display: flex; gap: .5rem; align-items: center; max-width: 45%; min-height: 28px; }
.pager a:hover { color: var(--ink); }
.pager .pager-t { color: var(--ink-2); }
.pager a:hover .pager-t { color: var(--ink); }

/* ── Pages de texte ──────────────────────────────────────── */

.page-head {
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(1.2rem, 3vw, 2rem);
}
.page-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 3.6rem); line-height: .95;
}

.section { padding-block: clamp(1.8rem, 4vw, 2.8rem); border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: 0; }
.section-t {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}

/* CV */
.cv-list { display: flex; flex-direction: column; }
.cv-row {
  display: grid; gap: .1rem .9rem;
  grid-template-columns: 1fr;
  padding-block: .55rem;
  border-bottom: 1px solid var(--rule-soft);
}
.cv-row:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .cv-row { grid-template-columns: 1fr auto; align-items: baseline; }
  .cv-when { text-align: right; }
}
.cv-what { font-size: .95rem; color: var(--ink); }
.cv-what i { font-style: italic; }
.cv-where { font-size: .85rem; color: var(--muted); }
.cv-when {
  font-size: .78rem; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* Actualités */
.news { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.25rem); }
.news-item {
  display: grid; gap: .35rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule-soft);
}
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-when {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.news-when.now { color: var(--copper); }
.news-t {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 3vw, 1.5rem); line-height: 1.05;
}
.news-d { font-size: .92rem; color: var(--ink-2); max-width: var(--measure); }
.news-a { font-size: .85rem; }
.news-a a {
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  display: inline-flex; align-items: center; min-height: 24px;
}
.news-a a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Presse */
.press-row {
  display: grid; gap: .1rem .9rem; grid-template-columns: 1fr auto;
  align-items: baseline; padding-block: .6rem;
  border-bottom: 1px solid var(--rule-soft);
}
.press-row:last-child { border-bottom: 0; }
.press-row a {
  font-size: .92rem; color: var(--ink-2);
  display: inline-flex; align-items: baseline; min-height: 24px;
}
.press-row a:hover { color: var(--ink); }
.press-row a::after { content: " ↗"; color: var(--muted); font-size: .8em; }
.press-when { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Bouton discret */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--ink);
  border: 1px solid var(--rule); padding: .55rem .95rem;
  transition: border-color .18s ease, background .18s ease;
}
.btn:hover { border-color: var(--ink); background: var(--paper-warm); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ── Lisibilité sur téléphone ─────────────────────────────
   Bloc placé en fin de feuille à dessein : il surcharge les tailles
   définies plus haut. 11,5 px passe sur un écran d'ordinateur, pas
   dans la main.
   ────────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .eyebrow,
  .news-when,
  .section-t { font-size: .8rem; }

  .cv-when,
  .press-when,
  .tile-y,
  .work-caption,
  .work-credits,
  .work-source { font-size: .84rem; }

  .artist-notes { font-size: .82rem; }
}

/* ── Cristal ─────────────────────────────────────────────── */

.crystal {
  position: relative;
  aspect-ratio: 1;
  margin-inline: auto;
  touch-action: pan-y;
  cursor: grab;
}
.crystal[data-grabbed] { cursor: grabbing; }
.crystal--large { width: min(70vw, 38vh, 380px); }
.crystal--small { width: min(52vw, 220px); }

.crystal-svg,
.crystal-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.crystal-gl { opacity: 0; transition: opacity .6s ease; }
.crystal-gl.on { opacity: 1; }
.crystal-svg { transition: opacity .6s ease; }
.crystal:has(.crystal-gl.on) .crystal-svg { opacity: 0; }

/* ── Accueil ─────────────────────────────────────────────── */

.entry {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 2vh, 1.5rem);
  padding-block: clamp(1rem, 3vh, 2.25rem) clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}

/* Le cristal porte la page ; le nom se tient en légende sous l'objet. */
.entry-name {
  font-size: clamp(1.35rem, 4.2vw, 2.3rem);
  letter-spacing: .055em;
  line-height: 1.05;
  margin: 0;
}

.entry-tag { margin: 0; }

.entry-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .5rem;
  padding: .7rem 1.4rem;
  border: 1px solid var(--rule);
  font-size: .9rem;
  transition: border-color .2s ease, background .2s ease, gap .2s ease;
}
.entry-cta:hover { border-color: var(--ink); background: var(--paper-warm); gap: .85rem; }

.entry-latest {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}
.entry-latest a { border-bottom: 1px solid var(--rule); display: inline-flex; align-items: center; min-height: 24px; }
.entry-latest a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.entry-latest-y { font-variant-numeric: tabular-nums; }

/* Écrans très courts (paysage sur téléphone) : on resserre encore plutôt
   que de laisser le pied de page sortir de l'écran. */
@media (max-height: 620px) {
  .entry { padding-block: 1rem 1.25rem; gap: .45rem; }
  .entry-cta { padding: .5rem 1.1rem; }
}

/* ── Grille ──────────────────────────────────────────────── */

.tile-void {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(-45deg, transparent 0 9px, rgba(140, 120, 95, .13) 9px 10px),
    var(--sunken);
}

/* ── Fiche œuvre (compléments) ───────────────────────────── */

/* Une vidéo filmée au téléphone est verticale : on la laisse à ses
   proportions, posée sur un fond sombre, plutôt que de l'écraser en 16/9. */
.work-embed-local {
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  background: #0E0D0B;
}
.work-embed-local video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 640px);
}

.work-shown-t {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.work-shown-l { font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.work-shown-l + .work-shown-l { margin-top: .25rem; }
.work-shown-d { color: var(--muted); font-variant-numeric: tabular-nums; }

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: .35rem;
}

.work-crumb { margin: 0 0 1.2rem; font-size: .82rem; }
.work-crumb a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; }
.work-crumb a:hover { color: var(--ink); }

/* ── Partager ────────────────────────────────────────────── */

.share {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 36px;
  padding: .45rem .9rem;
  border: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--ink);
  background: transparent;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.share:hover { border-color: var(--ink); background: var(--paper-warm); }
.share svg { width: .95rem; height: .95rem; fill: currentColor; flex: 0 0 auto; }
.share[data-done] { border-color: var(--copper); color: var(--copper); }

/* ── Réserver ────────────────────────────────────────────── */

.reserve {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 36px;
  padding: .45rem .9rem;
  border: 1px solid var(--copper);
  font-size: .85rem;
  color: var(--copper);
  transition: background .18s ease, color .18s ease;
}
.reserve:hover { background: var(--copper); color: var(--paper); }
.reserve svg { width: .95rem; height: .95rem; fill: currentColor; flex: 0 0 auto; }

/* Déjà partie : une mention, pas un bouton. */
.reserve--taken {
  border-color: var(--rule);
  color: var(--muted);
  letter-spacing: .04em;
}
.reserve--taken:hover { background: transparent; color: var(--muted); }

/* ── Actualités (compléments) ────────────────────────────── */

.news-empty { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }

.lead {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.lead + .lead { border-top: 1px solid var(--rule); padding-top: clamp(1.75rem, 4vw, 2.5rem); }

/* Une affiche se lit en entier : on ne la recadre pas. */
.lead-fig {
  display: grid;
  place-items: center;
  margin: 0 0 1rem;
  padding: .5rem;
  background: var(--sunken);
}
.lead-fig img { width: auto; max-width: 100%; max-height: 460px; object-fit: contain; }

.lead-t {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  line-height: 1.02;
}
.lead-place { font-size: .95rem; color: var(--ink); }
.lead-d { font-size: .95rem; line-height: 1.7; color: var(--ink-2); max-width: var(--measure); }

/* Un curateur qui voit l'exposition veut les pièces : le lien est là. */
.lead-works { font-size: .92rem; color: var(--ink-2); }
.lead-works-t { color: var(--muted); }
.lead-works a { border-bottom: 1px solid var(--rule); }
.lead-works a:hover { border-bottom-color: var(--ink); }

.news-more { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.press-outlet { color: var(--muted); }
/* Article dont la page n'existe plus et qui n'a jamais été archivé :
   la mention reste, le lien mort disparaît. */
.press-plain { font-size: .92rem; color: var(--ink-2); }

/* ── À propos (compléments) ──────────────────────────────── */

.about-bio { margin-top: 1.25rem; }
.about-bio p:first-child {
  font-size: 1.08rem;
  color: var(--ink);
}

/* Le cristal ferme la page, en signature discrète : le texte s'achève sur
   « le soleil brille toujours deux fois ». */
.about-coda {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding-top: clamp(2rem, 6vw, 3.5rem);
  border-top: 1px solid var(--rule);
}
.about-coda-t {
  font-size: clamp(.78rem, 2.4vw, .72rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-dl { margin: 1.5rem 0 0; }

/* L'adresse doit être là où l'on vient de lire la biographie et le CV,
   pas seulement au fond du pied de page. */
.about-contact { margin-top: .8rem; font-size: .95rem; }
.about-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  display: inline-flex; align-items: center; min-height: 24px;
}
.about-contact a:hover { border-bottom-color: var(--ink); }
.cv-link { border-bottom: 1px solid var(--rule); display: inline-flex; align-items: center; min-height: 24px; }
.cv-link:hover { border-bottom-color: var(--ink); }

.artist-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3.4vw, 1.75rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.artist-body p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.1em;
  line-height: .78;
  padding: .06em .12em 0 0;
  color: var(--copper);
}
.artist-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.1rem;
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-soft);
  max-width: var(--measure);
  font-size: .76rem;
  color: var(--muted);
}

/* ── Mentions légales ────────────────────────────────────── */

.legal-link { border-bottom: 1px solid var(--rule); display: inline-flex; align-items: center; min-height: 24px; }
.legal-link:hover { border-bottom-color: var(--ink); }
.meta + .meta { margin-top: .9rem; }

/* ── Page introuvable ────────────────────────────────────── */

.nf { padding-block: clamp(3rem, 12vh, 8rem); }
.nf-p { margin: 1rem 0 0; color: var(--ink-2); }
.nf-en { color: var(--muted); }
.nf-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ── Propres à WordPress ─────────────────────────────────── */

/* Sans cristal (décision D6), le nom reprend seul le centre de l'écran. */
.entry--sans-cristal .entry-name { font-size: clamp(2.2rem, 8vw, 4.6rem); }

/* La barre d'administration, pour qui est connecté : l'en-tête collant se
   pose dessous plutôt que dessous-dessus. */
@media (min-width: 783px) { .admin-bar .nav { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* Aperçu d'un brouillon : on le dit, pour qu'il ne soit pas pris pour la page publiée. */
.apercu-bandeau {
  background: var(--copper); color: var(--paper);
  font-size: .82rem; text-align: center; padding: .45rem var(--pad);
}
