/*
 * Site public de la galerie (lot 7) : feuille unique, reprise telle quelle des maquettes validées le 29/10/2026
 * (public/maquettes/site/site.css puis motion.css). Polices servies par la régie (CSP : pas de Google Fonts).
 */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-Wa7z_Iw.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-iEdfVTB.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal-1Ubqs2a.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-ext-wght-normal-mz-WyKA.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --mur: #F2F2EF;        /* cimaise, gris froid très clair */
  --blanc: #FFFFFF;
  --encre: #1C1C1A;      /* 15:1 sur le mur */
  --gris: #62625D;       /* 5,6:1 sur le mur : textes secondaires */
  --filet: #D3D3CD;
  --rouge: #C8102E;      /* disque du logo, pastille « vendu » */

  --f: "Archivo", system-ui, sans-serif;
  --gut: clamp(16px, 3.4vw, 48px);
  --max: none;           /* pleine largeur de l’écran, comme la régie ; les textes gardent leur mesure (ch) */

  /* Échelle en quarte (×1,333) à partir de 18 px */
  --t-xs: 0.8125rem;   /* 13 */
  --t-s: 0.9375rem;    /* 15 */
  --t-m: 1.125rem;     /* 18 */
  --t-l: 1.5rem;       /* 24 */
  --t-xl: 2rem;        /* 32 */
  --t-2xl: 2.625rem;   /* 42 */
  --t-3xl: 3.5rem;     /* 56 */
  --t-display: clamp(4rem, 13vw, 10.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mur);
  color: var(--encre);
  font: 400 var(--t-m)/1.55 var(--f);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: -60px; z-index: 20; padding: 10px 14px; background: var(--encre); color: var(--mur); }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typographie : la chasse comme instrument ---------- */
.artist {               /* nom d’artiste : large, léger */
  font-variation-settings: "wdth" 125;
  font-weight: 400;
  font-size: var(--t-l);
  line-height: 1.15;
  letter-spacing: 0.005em;
}
.title-display {        /* titre d’exposition : très étroit, immense */
  font-variation-settings: "wdth" 62;
  font-weight: 700;
  font-size: var(--t-display);
  line-height: 0.84;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
/* Sur la page d’une exposition ou d’un artiste, le titre partage la largeur avec l’image : plus petit, et encore un
   cran plus petit pour un titre long (plus de 18 signes), qui ne doit pas tenir sur quatre lignes. */
.title-display.title-page { font-size: clamp(3.25rem, 7vw, 7.5rem); line-height: .88; }
.title-display.title-page.is-long { font-size: clamp(2.75rem, 5.2vw, 5.5rem); line-height: .9; }
.title-l { font-variation-settings: "wdth" 62; font-weight: 700; font-size: var(--t-3xl); line-height: 0.92; }
.title-m { font-variation-settings: "wdth" 70; font-weight: 650; font-size: var(--t-xl); line-height: 1; }
.h-sec {                /* titre de section : sobre, en casse normale */
  font-variation-settings: "wdth" 100;
  font-weight: 600;
  font-size: var(--t-l);
  line-height: 1.2;
}
.lead { font-size: var(--t-l); line-height: 1.4; max-width: 34ch; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--gris); }
.small { font-size: var(--t-s); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--mur) 92%, transparent); backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-disc { width: 22px; height: 22px; border-radius: 50%; background: var(--rouge); flex: none; }
.logo-name { font-variation-settings: "wdth" 112; font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.01em; line-height: 1; }
.logo-name span { display: block; margin-top: 3px; font-weight: 400; font-size: var(--t-xs); color: var(--gris); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: var(--t-s); }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--encre); }
.nav a[aria-current="page"] { border-bottom-color: var(--encre); font-weight: 600; }
.nav .lang { color: var(--gris); }
.menu-btn { display: none; }

/* Ligne d’ouverture : la première question d’un visiteur */
.status { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); font-size: var(--t-s); }
.status .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 9px; padding-bottom: 9px; }
.status-open { font-weight: 600; }
.status a { text-decoration: none; color: var(--gris); }
.status a:hover { color: var(--encre); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: var(--t-s); font-weight: 600; color: var(--encre); cursor: pointer; }
  .menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gut) 24px; background: var(--mur); border-bottom: 1px solid var(--filet); font-size: var(--t-xl); font-variation-settings: "wdth" 70; font-weight: 650; }
  .nav a { padding: 10px 0; border: 0; }
  .nav .lang { font-size: var(--t-m); font-variation-settings: "wdth" 100; font-weight: 400; margin-top: 12px; }
  .nav[hidden] { display: none; }
  .js .nav:not([data-open]) { display: none; }
}
@media (min-width: 861px) { .nav[hidden] { display: flex; } }

/* ---------- Accueil : l’exposition en cours ---------- */
.now { padding-top: clamp(32px, 6vw, 88px); }
.now-head { display: grid; gap: 14px; }
.now-head .artist { font-size: clamp(1.5rem, 3vw, 2.625rem); }
.now-head a { text-decoration: none; }
.now-head a:hover .title-display { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.08em; }

/* L’accrochage : images entières, même hauteur, alignées sur leur centre ; défilement horizontal au besoin */
.hang {
  display: flex; align-items: center; gap: clamp(28px, 5vw, 80px);
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: clamp(32px, 5vw, 72px) var(--gut);
  margin: 0 calc(var(--gut) * -1);
  scrollbar-width: none; /* barre masquée : flèches, glisser et pavé tactile suffisent */
}
.hang figure { margin: 0; flex: none; scroll-snap-align: center; }
.hang img { height: min(64vh, 620px); width: auto; max-width: none; background: var(--blanc); box-shadow: 0 1px 0 rgba(28, 28, 26, .06), 0 18px 40px -24px rgba(28, 28, 26, .35); }
.hang figcaption { margin-top: 14px; font-size: var(--t-xs); color: var(--gris); max-width: 46ch; }
.hang::-webkit-scrollbar { display: none; }

/* Le cartel : ce qu’on lit à côté d’une œuvre */
.cartel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gut); padding-bottom: clamp(48px, 7vw, 112px); }
.cartel-facts { grid-column: 1 / span 7; display: grid; grid-template-columns: max-content 1fr; gap: 6px 28px; font-size: var(--t-s); }
.cartel-facts dt { color: var(--gris); }
.cartel-facts dd { font-weight: 500; }
.cartel-cta { grid-column: 9 / -1; align-self: end; justify-self: end; }
@media (max-width: 860px) {
  .cartel-facts, .cartel-cta { grid-column: 1 / -1; justify-self: start; }
}

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--encre); border-radius: 999px; background: var(--encre); color: var(--mur);
  font: inherit; font-size: var(--t-s); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: transparent; color: var(--encre); }
.btn-ghost { background: transparent; color: var(--encre); }
.btn-ghost:hover { background: var(--encre); color: var(--mur); }

/* ---------- Sections ---------- */
.band { padding: clamp(56px, 8vw, 128px) 0; border-top: 1px solid var(--filet); }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 56px); }

/* Expositions récentes : vignettes entières sur une ligne d’accrochage commune */
.line { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.line a { display: grid; gap: 18px; text-decoration: none; }
.line .frame { position: relative; display: block; aspect-ratio: 1; }
.line .frame img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 0 14px 30px -22px rgba(28, 28, 26, .45); transition: transform .3s ease; }
.line a:hover .frame img { transform: translateY(-4px); }
.line .who { font-variation-settings: "wdth" 125; font-size: var(--t-s); }
.line .what { font-variation-settings: "wdth" 66; font-weight: 700; font-size: var(--t-xl); line-height: .95; margin-top: 2px; }
.line .when { font-size: var(--t-xs); color: var(--gris); margin-top: 8px; }
@media (max-width: 860px) { .line { grid-template-columns: 1fr 1fr; } .line li:nth-child(3) { display: none; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); }
.split > :first-child { grid-column: 1 / span 5; }
.split > :last-child { grid-column: 7 / -1; }
@media (max-width: 860px) { .split > :first-child, .split > :last-child { grid-column: 1 / -1; } }

/* Lettre */
.letter-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; max-width: 560px; }
.field { flex: 1 1 260px; min-height: 48px; padding: 0 18px; border: 1px solid var(--encre); border-radius: 999px; background: var(--blanc); font: inherit; font-size: var(--t-s); color: var(--encre); }
.field::placeholder { color: var(--gris); }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--encre); color: var(--mur); padding: clamp(48px, 7vw, 96px) 0 32px; font-size: var(--t-s); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); }
.foot-grid > * { grid-column: span 3; }
.foot-grid > :first-child { grid-column: span 6; }
.foot-grid h2 { font-size: var(--t-s); font-weight: 600; margin-bottom: 10px; color: #A9A9A3; }
.foot-big { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(2.625rem, 6vw, 5rem); line-height: .9; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 20px; border-top: 1px solid #3A3A37; color: #A9A9A3; font-size: var(--t-xs); }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 860px) { .foot-grid > *, .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Page d’une exposition ---------- */
.crumbs { padding-top: 24px; font-size: var(--t-xs); color: var(--gris); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--filet); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.expo-head { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.expo-head .artist { font-size: clamp(1.5rem, 3vw, 2.625rem); }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px; border: 1px solid var(--encre); border-radius: 999px; font-size: var(--t-xs); font-weight: 600; }

.expo-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(32px, 5vw, 72px); }
.expo-body .facts { grid-column: 1 / span 4; align-self: start; position: sticky; top: 96px; }
.expo-body .prose { grid-column: 6 / -1; font-size: 1.1875rem; line-height: 1.65; }
@media (max-width: 860px) { .expo-body .facts, .expo-body .prose { grid-column: 1 / -1; position: static; } }

/* En bref : le bloc factuel qu’un visiteur, un moteur ou une IA peut citer tel quel */
.facts { background: var(--blanc); padding: 24px 26px; border-radius: 4px; }
.facts h2 { font-size: var(--t-s); font-weight: 600; margin-bottom: 14px; }
.facts dl { display: grid; gap: 12px; font-size: var(--t-s); }
.facts dt { color: var(--gris); font-size: var(--t-xs); }
.facts dd { font-weight: 500; }
.facts .btn { width: 100%; justify-content: center; margin-top: 20px; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.next-prev a { display: grid; gap: 6px; padding: 28px 0; text-decoration: none; border-top: 1px solid var(--encre); }
.next-prev a:last-child { text-align: right; }
.next-prev .muted { font-size: var(--t-xs); }

/* ---------- Programme et archives ---------- */
.page-head { padding-top: clamp(36px, 6vw, 96px); padding-bottom: clamp(28px, 4vw, 56px); display: grid; gap: 18px; }
.page-head h1 { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(3.25rem, 8vw, 7.5rem); line-height: .86; }

.archive { display: grid; grid-template-columns: 140px 1fr; gap: 0 var(--gut); }
.years { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; font-size: var(--t-s); }
.years a { text-decoration: none; color: var(--gris); }
.years a:hover, .years a[aria-current="true"] { color: var(--encre); }
.year { padding-bottom: 40px; }
.year h2 { font-variation-settings: "wdth" 62; font-weight: 700; font-size: var(--t-3xl); line-height: 1; padding: 8px 0 18px; border-bottom: 1px solid var(--encre); }
.rows li a { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.rows .thumb { display: grid; place-items: center; width: 96px; height: 96px; }
.rows .thumb img { max-height: 96px; width: auto; }
.rows .who { font-variation-settings: "wdth" 125; font-size: var(--t-s); }
.rows .what { font-variation-settings: "wdth" 66; font-weight: 700; font-size: var(--t-xl); line-height: 1; margin-top: 2px; }
.rows .when { font-size: var(--t-xs); color: var(--gris); text-align: right; white-space: nowrap; }
.rows a:hover .what { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
@media (max-width: 860px) {
  .archive { grid-template-columns: 1fr; }
  .years { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 24px; }
  .rows li a { grid-template-columns: 64px 1fr; gap: 16px; }
  .rows .thumb { width: 64px; height: 64px; }
  .rows .thumb img { max-height: 64px; }
  .rows .when { grid-column: 2; text-align: left; }
}

/* ---------- Infos pratiques ---------- */
.hours { width: 100%; max-width: 440px; border-collapse: collapse; font-size: var(--t-m); }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--filet); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.closed td { color: var(--gris); }
.hours tr[data-today] th, .hours tr[data-today] td { font-weight: 650; }
.hours tr[data-today] th::after { content: " (aujourd’hui)"; font-weight: 400; color: var(--gris); }
.big-line { font-variation-settings: "wdth" 70; font-weight: 650; font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.05; }

.faq { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--t-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: var(--t-l); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: var(--gris); }

/* ---------- Le seul mouvement non demandé : le titre de l’exposition en cours se dévoile à l’arrivée ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1.1s cubic-bezier(.2, .7, .1, 1) both; }
  @keyframes reveal { from { clip-path: inset(0 0 100% 0); transform: translateY(0.18em); } to { clip-path: inset(0 0 0 0); transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Espacements ponctuels (pas de style en ligne : la CSP du site les refuse) */
.line .who, .line .what, .line .when { display: block; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 24px; }
.thumb-empty { display: block; width: 72%; height: 72%; border: 1px solid var(--filet); }

/* Téléphone : une seule colonne, rien ne dépasse de l’écran */
.rows .who, .rows .what { display: block; }
@media (max-width: 860px) {
  .cartel, .split, .expo-body, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .cartel > *, .split > *, .expo-body > *, .foot-grid > * { grid-column: 1 / -1 !important; }
  .hang { gap: 20px; }
  .hang img { height: auto; width: 84vw; }
  .next-prev { grid-template-columns: minmax(0, 1fr); }
  .next-prev a:last-child { text-align: left; }
  .line .what { font-size: var(--t-l); }
}
address { font-style: normal; }

/*
 * Couche de mouvement du site public (maquette du 29/10/2026), par-dessus site.css.
 * Tout ce qui cache du contenu en attendant une animation passe par .js (sans JavaScript, tout est visible) et
 * s’annule avec « réduire les animations ».
 */

@property --iris { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* ---------- Transitions entre pages (navigateurs récents) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.2, .7, .1, 1) both; }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Ouverture : l’obturateur ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--encre); color: var(--mur);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 1px));
}
.intro-in { display: grid; justify-items: center; gap: 22px; }
.intro-disc { width: 18px; height: 18px; border-radius: 50%; background: var(--rouge); transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.intro-word { font-variation-settings: "wdth" 125; font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: .01em; overflow: hidden; }
.intro-word span { display: inline-block; transform: translateY(110%); transition: transform .7s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i, 0) * 28ms + 150ms); }
.intro.is-on .intro-disc { transform: scale(1); }
.intro.is-on .intro-word span { transform: none; }
.intro.is-open { transition: --iris 1.1s cubic-bezier(.7, 0, .2, 1); --iris: 150vmax; }
.intro.is-open .intro-in { opacity: 0; transform: scale(.96); transition: opacity .3s ease, transform .6s ease; }

/* ---------- Titres : apparition classique, de bas en haut ---------- */
.js [data-split] { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .1, 1); }
/* Photo d’ouverture d’une exposition : simple fondu, juste après le titre */
.js .hero-wall[data-reveal] { transform: none; transition: opacity 1s ease .15s; }
.js [data-split].is-in { opacity: 1; transform: none; }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .1, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Images : un rideau qui se lève, l’image se pose en même temps */
.js [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-wipe] img { transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2, .7, .1, 1); transition-delay: var(--d, 0ms); }
.js [data-wipe].is-in { clip-path: inset(0 0 0 0); }
.js [data-wipe].is-in img { transform: none; }
.hang figure, .rail figure { overflow: hidden; }
.hang figure img, .rail figure img { box-shadow: none; }
.hang figure, .rail-item figure { box-shadow: 0 1px 0 rgba(28, 28, 26, .06), 0 22px 44px -26px rgba(28, 28, 26, .4); }
.hang figcaption { position: absolute; }
.hang figure { position: relative; padding-bottom: 0; }
.hang .cap { margin-top: 14px; font-size: var(--t-xs); color: var(--gris); }
.hang-item { flex: none; scroll-snap-align: center; }

/* Mots qui montent un à un (chapô) */
.js [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; }
.js [data-words] .w > span { display: inline-block; transform: translateY(100%); transition: transform .8s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i) * 18ms); }
.js [data-words].is-in .w > span { transform: none; }

/* ---------- Ligne d’ouverture vivante ---------- */
.status p:first-child { display: inline-flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--encre); flex: none; }
.status-open .status-dot, .status-dot.is-open { background: var(--encre); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(28, 28, 26, .35); } 70% { box-shadow: 0 0 0 9px rgba(28, 28, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(28, 28, 26, 0); } }
.clock { font-variant-numeric: tabular-nums; color: var(--gris); }

/* Compte à rebours de l’exposition */
.pill[data-countdown] { transition: background-color .3s ease, color .3s ease; }
.pill.is-urgent { background: var(--encre); color: var(--mur); }

/* ---------- Navigation : les mots roulent au survol ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: inline-block; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover > .roll > span, .roll:hover > span { transform: translateY(-100%); }
.nav a:hover { border-bottom-color: transparent; }

/* Soulignés qui se dessinent */
.draw { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s cubic-bezier(.7, 0, .2, 1); padding-bottom: 2px; }
.draw:hover, .draw:focus-visible { background-size: 100% 1px; }
.draw.is-drawn { background-size: 100% 1px; }
.draw.is-drawn:hover { background-position: 100% 100%; background-size: 0 1px; }

/* ---------- Curseur (souris seulement) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: width .35s cubic-bezier(.2, .7, .1, 1), height .35s cubic-bezier(.2, .7, .1, 1), margin .35s cubic-bezier(.2, .7, .1, 1), opacity .2s; display: grid; place-items: center; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor-label { font-size: var(--t-xs); font-weight: 650; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big .cursor-label { opacity: 1; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* ---------- Boutons aimantés ---------- */
.btn { will-change: transform; }
.btn .btn-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.btn:hover .btn-dot { transform: scale(1.6); }

/* ---------- Le mur qui défile : expositions précédentes ---------- */
.rail { position: relative; border-top: 1px solid var(--filet); }
.rail-sticky { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.rail-head h2 { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(2.625rem, 7vw, 6.5rem); line-height: .88; }
.rail-progress { font-size: var(--t-s); color: var(--gris); font-variant-numeric: tabular-nums; }
.rail-progress b { color: var(--encre); font-weight: 600; }
.rail-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 112px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.rail-item a { display: grid; gap: 18px; text-decoration: none; }
.rail-item img { height: min(52vh, 520px); width: auto; max-width: none; }
.rail-item .who { font-variation-settings: "wdth" 125; font-size: var(--t-s); }
.rail-item .what { display: block; font-variation-settings: "wdth" 62; font-weight: 700; font-size: var(--t-2xl); line-height: .92; margin-top: 2px; }
.rail-item .when { display: block; font-size: var(--t-xs); color: var(--gris); margin-top: 8px; }
.rail-end a { display: grid; place-items: center; width: min(40vh, 360px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--encre); text-align: center; text-decoration: none; font-variation-settings: "wdth" 70; font-weight: 650; font-size: var(--t-xl); line-height: 1.05; transition: background-color .3s, color .3s; }
.rail-end a:hover { background: var(--encre); color: var(--mur); }
.rail.is-pinned .rail-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.rail:not(.is-pinned) .rail-scroller { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail:not(.is-pinned) .rail-item { scroll-snap-align: start; }
@media (max-width: 860px) { .rail-item img { height: 56vw; } }

/* ---------- Bandeau des noms exposés depuis 1993 ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { font-variation-settings: "wdth" 125; font-weight: 300; font-size: clamp(1.75rem, 4vw, 3.25rem); line-height: 1.1; white-space: nowrap; padding-right: .9em; }
.marquee li::after { content: ""; display: inline-block; width: .22em; height: .22em; margin-left: .9em; border-radius: 50%; background: var(--filet); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Aperçu flottant dans les archives ---------- */
.peek { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 260px; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s ease, transform .4s cubic-bezier(.2, .7, .1, 1); }
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.peek img { width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
@media (pointer: fine) { .rows .thumb { transition: opacity .3s; } .rows a:hover .thumb { opacity: 0; } }
.rows li a { transition: padding-left .45s cubic-bezier(.2, .7, .1, 1); }
.rows li a:hover { padding-left: 16px; }

/* ---------- Menu du téléphone en plein écran ---------- */
@media (max-width: 860px) {
  .nav { inset: 72px 0 0 0; justify-content: flex-start; padding-top: 32px; font-size: clamp(2.5rem, 12vw, 3.5rem); font-variation-settings: "wdth" 62; font-weight: 700; line-height: 1; }
  .js .nav[data-open] a { animation: menu-in .6s cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(40px); } }
}

/* ---------- Petits outils ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: var(--t-xs); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; padding: 12px 20px; border-radius: 999px; background: var(--encre); color: var(--mur); font-size: var(--t-s); transform: translate(-50%, 140%); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.toast.is-on { transform: translate(-50%, 0); }

.hang-nav { display: flex; align-items: center; gap: 16px; font-size: var(--t-s); color: var(--gris); font-variant-numeric: tabular-nums; }
.hang-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--encre); background: none; color: var(--encre); font: inherit; font-size: var(--t-m); cursor: pointer; transition: background-color .2s, color .2s; }
.hang-nav button:hover { background: var(--encre); color: var(--mur); }
.hang.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hang.is-dragging img { pointer-events: none; }

/* ---------- Réduire les animations : tout s’affiche, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro, .cursor, .peek { display: none !important; }
  .js [data-split], .js [data-reveal], .js [data-wipe], .js [data-wipe] img, .js [data-words] .w > span { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul + ul { display: none; }
  .status-dot { animation: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Pied de page (repris de nouveau.arretsurlimage.com) : la lettre à gauche, le logo en bloc à droite ---------- */
.site-foot { background: #0F0F0E; color: #fff; padding: clamp(56px, 7vw, 100px) 0 0; overflow: hidden; }
.site-foot a:hover { text-decoration: none; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.news { flex: 0 1 820px; min-width: 0; }
.news label { display: block; margin-bottom: 26px; font-weight: 200; font-variation-settings: "wdth" 100; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.news-row { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: border-color .3s; }
.news-row:focus-within { border-bottom-color: #fff; }
.news input[type=email] { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.75rem); outline: none; }
.news input::placeholder { color: rgba(255, 255, 255, .4); }
.news button { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 0 20px; border: 0; background: none; color: #fff; font: inherit; font-size: var(--t-s); font-weight: 600; white-space: nowrap; cursor: pointer; }
.news button .arrow { display: inline-block; transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.news button:hover .arrow { transform: translateX(6px); }
.news-done { margin-top: 18px; font-size: var(--t-s); color: rgba(255, 255, 255, .75); min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }
.foot-logo { flex: none; margin-right: clamp(0px, 5vw, 80px); line-height: 1; }
.lb { display: inline-flex; align-items: flex-start; gap: .34em; font-size: clamp(24px, 2.6vw, 40px); }
.lb .logo-disc { width: 1.05em; height: 1.05em; margin-top: .08em; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.foot-logo:hover .logo-disc { transform: scale(1.12); }
.lb-w { font-weight: 500; font-variation-settings: "wdth" 90; line-height: .95; letter-spacing: -.015em; }
.lb-g { display: block; font-weight: 400; color: #E0304A; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 100px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: var(--t-s); line-height: 1.6; }
.lbl { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ul, .site-foot .ul { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(255, 255, 255, .5); transition: text-decoration-color .2s; }
.ul:hover { text-decoration-color: #fff; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-top: clamp(48px, 6vw, 90px); padding: 20px 0 30px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .84375rem; color: rgba(255, 255, 255, .6); }
.foot-end p { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.foot-end a { color: #fff; }
.foot-end .logo-disc { width: 8px; height: 8px; margin-right: -14px; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; } .foot-logo { margin-right: 0; } }
.clock { margin-right: 18px; }

.hang-nav[hidden] { display: none; }
.rail figure, .hang figure { margin: 0; }
@media (max-width: 860px) {
  /* Le flou de l’en-tête enfermerait le menu dans ses 72 px : en-tête opaque sur téléphone */
  .site-head { backdrop-filter: none; background: var(--mur); }
  .nav { overflow-y: auto; z-index: 30; }
}

/* Pied de page sur toute la largeur de l’écran, comme sur nouveau.arretsurlimage.com */
.site-foot .wrap { max-width: none; }

/* ---------- Expositions passées (principe de nouveau.arretsurlimage.com) : numéro, artiste, titre, dates ; au survol
   la ligne glisse, le numéro rougit, l’image apparaît sous un curseur rouge « Voir » ---------- */
.band-flush { padding: clamp(56px, 8vw, 120px) 0 0; }
.band-flush + .band-flush { padding-top: clamp(40px, 6vw, 88px); }
.past-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-top: 14px; border-top: 14px solid var(--encre); }
.past-lbl { display: flex; align-items: baseline; gap: 18px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.past-lbl span { font-weight: 700; letter-spacing: 0; }
.past-all { font-size: var(--t-s); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid var(--encre); }
.past-all span { display: inline-block; transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.past-all:hover span { transform: translateX(5px); }
.past-head .years { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; }

.past-list { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--encre); }
.past-list li { border-bottom: 1px solid var(--filet); transition: border-color .3s; }
.past-list li:hover { border-bottom-color: var(--encre); }
.past-list a {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 0 24px;
  padding: 22px 0 20px; text-decoration: none;
  transition: padding-left .5s cubic-bezier(.2, .7, .1, 1);
}
.past-list a:hover, .past-list a:focus-visible { padding-left: 18px; }
.past-n { font-size: var(--t-xs); color: var(--gris); font-variant-numeric: tabular-nums; transition: color .3s; }
.past-list a:hover .past-n { color: var(--rouge); }
.past-who, .past-what { font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; }
.past-who { font-weight: 700; font-variation-settings: "wdth" 88; }
.past-what { font-weight: 200; font-variation-settings: "wdth" 100; }
.past-when { font-size: var(--t-s); white-space: nowrap; font-variant-numeric: tabular-nums; }
.past-when small { margin-left: 10px; font-size: var(--t-xs); color: var(--gris); }
.past-now .past-n .logo-disc { display: inline-block; width: 12px; height: 12px; }
.year { padding-bottom: 0; }
.year + .year { margin-top: clamp(48px, 6vw, 80px); }
.archive-years .year h2 { border-bottom: 0; padding-bottom: 0; }
.archive-years .past-list { margin-top: 12px; }
@media (max-width: 860px) {
  .past-list a { grid-template-columns: 34px minmax(0, 1fr); row-gap: 4px; }
  .past-what, .past-when { grid-column: 2; }
  .past-when { margin-top: 6px; }
}

/* Aperçu plus grand, droit, et curseur rouge « VOIR » par-dessus */
.peek { width: 340px; transform: translate(-50%, -50%) scale(.9); }
.peek.is-on { transform: translate(-50%, -50%) scale(1); }
.peek img { max-height: 430px; width: auto; max-width: 100%; margin: 0 auto; box-shadow: none; }
.cursor.is-red { background: var(--rouge); mix-blend-mode: normal; }
.cursor.is-red .cursor-label { color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- La galerie (accueil) : une phrase en très grand, en léger, sur toute la largeur ---------- */
.manifest { padding: clamp(72px, 10vw, 160px) 0; }
.manifest-lbl { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.manifest-lbl .logo-disc { width: 9px; height: 9px; }
.manifest-text { margin-top: 18px; max-width: 22ch; font-weight: 200; font-variation-settings: "wdth" 100; font-size: clamp(2.5rem, 6.2vw, 6.25rem); line-height: 1.06; letter-spacing: -.03em; }
.manifest-cta { margin-top: clamp(36px, 4vw, 56px); }
.btn .arrow { display: inline-block; transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.btn:hover .arrow { transform: translateX(5px); }

/* =====================================================================================================
   Accueil « la galerie comme une revue » (29/10/2026) : cimaise en ouverture, cartel, image et histoire,
   expositions passées, phrase de la galerie, index des artistes, services, venir.
   ===================================================================================================== */
.kicker { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.kicker .logo-disc { width: 9px; height: 9px; }

/* Ouverture : le cartel à gauche, la cimaise à droite */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); min-height: calc(100svh - 116px); padding-top: clamp(20px, 2.5vw, 36px); padding-bottom: clamp(20px, 2.5vw, 36px); }
.hero-text { grid-column: 1 / span 5; align-self: end; display: grid; gap: 14px; padding-bottom: 6px; }
.hero-text .artist { font-size: clamp(1.5rem, 2.6vw, 2.5rem); }
.hero-text a { text-decoration: none; }
.hero-dates { font-size: var(--t-m); line-height: 1.5; }
.hero-cta { margin-top: 14px; }
.hero-wall { grid-column: 6 / -1; position: relative; min-height: 560px; background: #E7E7E2; overflow: hidden; }
.hero-wall figure { position: absolute; inset: 8% 10% 16%; margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(1.015); transition: opacity 1.6s ease, transform 6s linear; }
.hero-wall figure.is-on { opacity: 1; transform: scale(1); }
.hero-wall img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 2px 0 rgba(28, 28, 26, .05), 0 30px 60px -34px rgba(28, 28, 26, .55); }
.hero-wall figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wall-bar { position: absolute; left: 24px; right: 24px; bottom: 20px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 20px; font-size: var(--t-xs); }
.wall-cap { color: var(--encre); }
.wall-count { color: var(--gris); font-variant-numeric: tabular-nums; }
.wall-time { grid-column: 1 / -1; grid-row: 2; height: 1px; background: rgba(28, 28, 26, .18); overflow: hidden; }
.wall-time span { display: block; height: 100%; width: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; }
.wall-time span.is-running { transition: transform 6s linear; transform: scaleX(1); }
.wall-pause { border: 0; background: none; padding: 6px 0; font: inherit; font-size: var(--t-xs); font-weight: 600; color: var(--encre); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-text, .hero-wall { grid-column: 1 / -1; }
  .hero-wall { min-height: 0; aspect-ratio: 4 / 5; order: 2; }
}

/* Bandeau de cartel */
.cartel-band dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--encre); }
.cartel-band dl > div { padding: 16px 20px 18px 0; }
.cartel-band dl > div + div { padding-left: 20px; border-left: 1px solid var(--filet); }
.cartel-band dt { font-size: var(--t-xs); color: var(--gris); }
.cartel-band dd { margin-top: 4px; font-size: var(--t-m); font-weight: 500; }
@media (max-width: 860px) {
  .cartel-band dl { grid-template-columns: 1fr 1fr; }
  .cartel-band dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cartel-band dl > div:nth-child(n+3) { border-top: 1px solid var(--filet); }
}

/* Une image, une histoire */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); align-items: center; padding-top: clamp(80px, 11vw, 176px); }
.feature-img { grid-column: 1 / span 7; margin: 0; padding: clamp(28px, 5vw, 80px); background: #E7E7E2; }
.feature-img img { width: 100%; height: auto; }
.feature-text { grid-column: 9 / -1; display: grid; gap: 22px; }
.feature-text .prose { font-size: var(--t-m); line-height: 1.65; }
@media (max-width: 860px) { .feature-img, .feature-text { grid-column: 1 / -1; } }

/* Index des artistes */
.artists { padding-top: clamp(80px, 10vw, 160px); }
.index-cols { columns: 4 220px; column-gap: var(--gut); margin-top: clamp(32px, 4vw, 48px); }
.index-cols li { break-inside: avoid; }
.index-cols a { display: inline-block; padding: 7px 0; font-size: clamp(1.125rem, 1.5vw, 1.4375rem); font-weight: 300; letter-spacing: -.01em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.7, 0, .2, 1); }
.index-cols a:hover, .index-cols a:focus-visible { background-size: 100% 1px; }
.index-cols a[data-peek]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--filet); vertical-align: .3em; }

/* Avec la galerie */
.services { padding-top: clamp(80px, 10vw, 160px); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--encre); }
.services-grid article { display: grid; align-content: start; gap: 14px; padding: 28px 28px 36px 0; }
.services-grid article + article { padding-left: 28px; border-left: 1px solid var(--filet); }
.services-grid p { color: var(--gris); max-width: 38ch; }
.services-grid .past-all { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); }
}

/* Venir */
.visit { margin-top: clamp(80px, 10vw, 160px); padding: clamp(64px, 8vw, 120px) 0; background: #E7E7E2; }
.visit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); align-items: end; }
.visit-grid > :first-child { grid-column: 1 / span 7; }
.visit-grid > :last-child { grid-column: 9 / -1; }
.visit-address { margin-top: 20px; font-weight: 200; font-size: clamp(2.5rem, 5.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.03em; }
.visit-now { display: flex; align-items: center; gap: 10px; font-size: var(--t-l); font-weight: 500; }
@media (max-width: 860px) { .visit-grid > :first-child, .visit-grid > :last-child { grid-column: 1 / -1; } }
.visit + .site-foot, main:has(> .visit:last-child) + .site-foot { margin-top: 0; }
@media (max-width: 860px) { .cartel-band dd { font-size: var(--t-s); } }

/* ---------- Horaires : en grand, puis la semaine en une bande (ouverts à l’encre, fermés en gris, aujourd’hui pointé) ---------- */
.opening { display: grid; gap: 18px; }
.opening-big { font-weight: 200; font-size: clamp(1.75rem, 2.8vw, 2.625rem); line-height: 1.1; letter-spacing: -.025em; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.week li { padding-top: 10px; border-top: 2px solid var(--encre); font-size: var(--t-s); font-weight: 500; text-align: center; }
.week li.closed { border-top-color: var(--filet); color: var(--gris); font-weight: 400; }
.week abbr { text-decoration: none; }
.week li::after { content: ""; display: block; width: 6px; height: 6px; margin: 8px auto 0; border-radius: 50%; background: transparent; }
.week li[data-today]::after { background: var(--encre); }

/* ---------- Avec la galerie : trois grandes lignes ; au survol, un rideau d’encre monte et inverse la ligne ---------- */
.offers { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--encre); }
.offers li { border-bottom: 1px solid var(--filet); }
.offer { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; align-items: center; gap: 16px var(--gut); padding: clamp(22px, 3vw, 40px) 0; text-decoration: none; isolation: isolate; transition: color .45s cubic-bezier(.7, 0, .2, 1), padding .5s cubic-bezier(.2, .7, .1, 1); }
.offer::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); z-index: -1; background: var(--encre); clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.offer-word { font-weight: 200; font-size: clamp(2.75rem, 6vw, 5.75rem); line-height: 1; letter-spacing: -.035em; transition: transform .55s cubic-bezier(.2, .7, .1, 1); }
.offer-text { max-width: 44ch; color: var(--gris); transition: color .45s; }
.offer-go { display: inline-flex; align-items: center; gap: 16px; justify-self: end; font-size: var(--t-s); font-weight: 600; white-space: nowrap; }
.offer-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; font-size: 1.25rem; font-weight: 400; transition: transform .45s cubic-bezier(.2, .7, .1, 1), background-color .3s, color .3s; }
.offer:hover, .offer:focus-visible { color: var(--mur); }
.offer:hover::before, .offer:focus-visible::before { clip-path: inset(0 0 0 0); }
.offer:hover .offer-word, .offer:focus-visible .offer-word { transform: translateX(clamp(8px, 1.5vw, 24px)); }
.offer:hover .offer-text, .offer:focus-visible .offer-text { color: rgba(242, 242, 239, .72); }
.offer:hover .offer-arrow, .offer:focus-visible .offer-arrow { background: var(--mur); color: var(--encre); transform: translateX(6px); }
@media (max-width: 860px) {
  .offer { grid-template-columns: minmax(0, 1fr) auto; }
  .offer-word { grid-column: 1; }
  .offer-go { grid-column: 2; grid-row: 1; }
  .offer-label { display: none; }
  .offer-text { grid-column: 1 / -1; }
  .offer-arrow { width: 48px; height: 48px; }
}

/* ---------- Artistes : une œuvre de chacun, entière, sur une ligne d’accrochage commune ---------- */
.artists-intro { margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); margin-top: clamp(32px, 4vw, 48px); }
.cards a { display: grid; gap: 4px; text-decoration: none; }
.cards .frame { position: relative; display: block; aspect-ratio: 1; margin-bottom: 14px; background: #E7E7E2; }
.cards .frame img { position: absolute; inset: 0; margin: auto; max-width: 78%; max-height: 78%; width: auto; height: auto; box-shadow: 0 16px 30px -22px rgba(28, 28, 26, .55); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.cards a:hover .frame img { transform: translateY(-6px) scale(1.02); }
.cards .frame-empty::after { content: ""; position: absolute; inset: 22%; border: 1px dashed var(--filet); }
.card-who { font-size: var(--t-m); font-weight: 600; letter-spacing: -.01em; }
.card-work { font-size: var(--t-xs); color: var(--gris); }
.cards a:hover .card-who { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- La galerie (à propos) ---------- */
.about-img { margin: 0 var(--gut); overflow: hidden; }
.about-img img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.about-cap { margin-top: 12px; }
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(64px, 9vw, 140px); }
.about-name { grid-column: 1 / span 4; align-self: start; position: sticky; top: 110px; display: grid; gap: 12px; }
.about-name h2 { font-variation-settings: "wdth" 125; font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.08; }
.about-text { grid-column: 6 / -1; display: grid; gap: 22px; max-width: 62ch; font-size: 1.1875rem; line-height: 1.65; }
.about-text .lead { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; max-width: none; }
.about-text .tools { margin-top: 12px; }
@media (max-width: 860px) { .about-name, .about-text { grid-column: 1 / -1; position: static; } }
@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card-who { font-size: var(--t-s); }
}

/* ---------- Artistes : l’index avec aperçu (le mur montre l’œuvre de l’artiste survolé) ---------- */
.roster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); margin-top: clamp(28px, 3vw, 40px); align-items: start; }
.roster-wall { grid-column: 1 / span 5; position: sticky; top: 96px; margin: 0; aspect-ratio: 4 / 5; max-height: 76vh; background: #E7E7E2; }
.roster-wall img { position: absolute; inset: 9% 12% 20%; margin: auto; max-width: 76%; max-height: 71%; width: auto; height: auto; opacity: 0; transition: opacity .5s ease; box-shadow: 0 22px 40px -28px rgba(28, 28, 26, .6); }
.roster-wall img.is-on { opacity: 1; }
.roster-wall figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; display: grid; gap: 2px; font-size: var(--t-s); }
.roster-who { font-weight: 600; }
.roster-cap { font-size: var(--t-xs); color: var(--gris); }
.roster-side { grid-column: 7 / -1; }
.roster-side .artists-intro { margin: 0 0 20px; }
.roster-list { columns: 2; column-gap: var(--gut); border-top: 1px solid var(--encre); }
.roster-list li { break-inside: avoid; border-bottom: 1px solid var(--filet); }
.roster-list a { display: flex; align-items: center; gap: 14px; padding: 11px 0; text-decoration: none; font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 300; letter-spacing: -.015em; transition: padding-left .4s cubic-bezier(.2, .7, .1, 1); }
.roster-list a:hover, .roster-list a:focus-visible, .roster-list a.is-active { padding-left: 10px; }
.roster-list a.is-active { font-weight: 500; }
.roster-thumb { display: none; }
@media (max-width: 860px) {
  .roster-wall { display: none; }
  .roster-side { grid-column: 1 / -1; }
  .roster-list { columns: 1; }
  .roster-thumb { display: grid; place-items: center; flex: none; width: 44px; height: 44px; background: #E7E7E2; }
  .roster-thumb img { max-width: 36px; max-height: 36px; width: auto; height: auto; }
}

/* Moins de vide entre la phrase de la galerie et les artistes */
.manifest { padding-bottom: clamp(40px, 5vw, 72px); }
.manifest + .artists { padding-top: 0; }

/* ---------- Un seul espace entre les sections (référence : Artistes → Avec la galerie) ---------- */
:root { --section: clamp(80px, 10vw, 160px); }
.feature, .band-flush, .band-flush + .band-flush, .artists, .manifest + .artists, .services { padding-top: var(--section); }
.manifest { padding-top: var(--section); padding-bottom: 0; }
.visit { margin-top: var(--section); }
.band { padding-top: var(--section); padding-bottom: var(--section); }
.feature + .band-flush { padding-top: calc(var(--section) - 28px); }
.visit { margin-top: var(--section); }

/* ---------- Logo : sur une ligne, en Instrument Sans (comme le site validé), « galerie » en rouge ---------- */
.logo { gap: 10px; }
.logo .logo-disc { width: 14px; height: 14px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-disc { transform: scale(1.35); }
.logo-name { font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; font-variation-settings: normal; font-stretch: 90%; font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: -.015em; white-space: nowrap; }
.logo-name span { display: inline; margin: 0; font-size: inherit; font-weight: 400; letter-spacing: inherit; color: var(--rouge); }
.lb-w { font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; font-variation-settings: normal; font-stretch: 90%; }
@media (max-width: 420px) { .logo-name { font-size: 19px; } }

/* ---------- Infos pratiques sous l’ouverture : quatre cases, valeurs en grand et en léger, frise de l’exposition ---------- */
.practical { display: grid; grid-template-columns: 1.25fr 1fr 1fr .7fr; border-top: 1px solid var(--encre); }
.pr-cell { display: grid; align-content: start; gap: 6px; padding: 18px 24px 22px 0; }
.pr-cell + .pr-cell { padding-left: 24px; border-left: 1px solid var(--filet); }
.pr-lbl { font-size: var(--t-xs); color: var(--gris); }
.pr-val { display: flex; align-items: center; gap: 10px; font-weight: 300; font-size: clamp(1.25rem, 1.7vw, 1.625rem); line-height: 1.2; letter-spacing: -.015em; }
.pr-val.pill, .pr-val.is-urgent { background: none; color: inherit; }
.pr-sub { font-size: var(--t-s); color: var(--gris); }
.pr-sub a { color: var(--encre); }
.pr-track { position: relative; height: 2px; margin-top: 12px; background: var(--filet); }
.pr-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--encre); transition: width 1.4s cubic-bezier(.2, .7, .1, 1) .4s; }
.pr-now { position: absolute; top: 50%; left: var(--p, 0%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 4px var(--mur); transition: left 1.4s cubic-bezier(.2, .7, .1, 1) .4s; }
.pr-ends { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--gris); }
@media (max-width: 1000px) {
  .practical { grid-template-columns: 1fr 1fr; }
  .pr-cell:nth-child(3) { padding-left: 0; border-left: 0; }
  .pr-cell:nth-child(n+3) { border-top: 1px solid var(--filet); }
}
@media (max-width: 560px) {
  .practical { grid-template-columns: 1fr; }
  .pr-cell + .pr-cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); }
}
.pr-status { align-items: flex-start; }
.pr-status .status-dot { margin-top: .55em; }

/* Infos pratiques posées sur un pan de mur (même gris que la cimaise), sans aucun trait */
.practical { border-top: 0; background: #E7E7E2; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.6vw, 40px); column-gap: clamp(24px, 3vw, 48px); }
.pr-cell, .pr-cell + .pr-cell { padding: 0; border: 0; }
.pr-track { background: rgba(28, 28, 26, .16); }
.pr-now { box-shadow: 0 0 0 4px #E7E7E2; }
.hero { padding-bottom: clamp(12px, 1.2vw, 18px); }
@media (max-width: 1000px) {
  .practical { row-gap: 24px; }
  .pr-cell:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 560px) {
  .pr-cell + .pr-cell { border-top: 0; padding-top: 0; }
}
.cartel-band + .band-flush { padding-top: calc(var(--section) - 28px); }

/* ---------- Infos pratiques dans l’ouverture, sous les boutons : sans fond ni filet ---------- */
.hero-facts { display: grid; gap: 22px; margin-top: clamp(20px, 2.4vw, 36px); }
.hf-count { font-weight: 300; font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -.015em; }
.hf-time .pr-track { margin-top: 10px; background: var(--filet); }
.hf-time .pr-now { box-shadow: 0 0 0 4px var(--mur); }
.hf-time .pr-ends { margin-top: 6px; }
.hf-list { display: grid; gap: 8px; font-size: var(--t-s); }
.hf-list > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
.hf-list dt { color: var(--gris); }
.hf-list a { color: var(--encre); }
.hf-status { display: flex; align-items: center; gap: 8px; }
.hero-dates { font-size: var(--t-m); }
.hero + .band-flush { padding-top: calc(var(--section) - 45px); }
.hf-status { align-items: flex-start; }
.hf-status .status-dot { margin-top: .45em; }
.hero-intro { max-width: 46ch; font-size: var(--t-m); line-height: 1.55; color: var(--gris); }

/* Pied de page équilibré : le haut suit la grille des quatre colonnes du bas */
.foot-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; align-items: end; }
.news { grid-column: 1 / span 2; max-width: none; }
.news-row { max-width: none; }
.foot-logo { grid-column: 4; justify-self: start; margin: 0; }
.lb { font-size: clamp(26px, 2.6vw, 44px); }
@media (max-width: 820px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .news, .foot-logo { grid-column: 1; }
}
.foot-end p:first-child { display: block; }
.foot-end p:first-child .logo-disc { display: inline-block; margin: 0 10px 0 0; vertical-align: .05em; }

/* ---------- Page d’une exposition ---------- */
.hero-expo { min-height: calc(100svh - 160px); padding-top: clamp(12px, 1.5vw, 24px); }
.crumbs + .hero-expo { padding-top: 8px; }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); margin-top: clamp(32px, 4vw, 48px); }
.cartel-list { grid-column: 1 / span 5; align-self: start; position: sticky; top: 96px; border-top: 1px solid var(--encre); }
.cartel-list > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); font-size: var(--t-s); }
.cartel-list dt { color: var(--gris); }
.expo-text { grid-column: 7 / -1; font-size: 1.1875rem; line-height: 1.65; }
.expo-text .lead { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; max-width: none; }
.expo-text p + p { margin-top: 1em; }
.past-head .hang-nav { margin-left: auto; }
.viewing { margin-top: clamp(24px, 3vw, 40px); padding-top: 0; }
.viewing img { height: min(72vh, 760px); }
.viewing .hang-item { position: relative; }
@media (max-width: 860px) {
  .cartel-list, .expo-text { grid-column: 1 / -1; position: static; }
  .viewing img { height: auto; width: 84vw; }
}
.band-flush.wrap { padding-left: var(--gut); padding-right: var(--gut); }
main:has(> .band-flush:last-child) { padding-bottom: var(--section); }
@media (max-width: 860px) { .expo-text { order: -1; } }

/* ---------- Page exposition : infos pratiques en bandeau sous l’ouverture, sans fond ni traits verticaux ---------- */
.hero-expo { min-height: 0; }
.expo-band .practical { background: none; padding: 22px 0 0; border-top: 1px solid var(--filet); column-gap: clamp(28px, 3.5vw, 56px); }
.expo-band .pr-now { box-shadow: 0 0 0 4px var(--mur); }
.expo-band .pr-track { background: var(--filet); }
.expo-band + .band-flush { padding-top: calc(var(--section) - 28px); }
.expo-band { margin-top: clamp(24px, 3vw, 48px); }
.expo-band .practical { padding-top: clamp(28px, 3vw, 44px); }
/* Page exposition : un seul espace entre les sections, celui du bandeau vers « 01 L’exposition » */
.expo-about + .band-flush { padding-top: calc(var(--section) - 28px); }
.band-flush:has(.viewing) + .band-flush { padding-top: calc(var(--section) - 56px); }
.expo-band { margin-top: calc(var(--section) - 101px); }
.viewing { padding-bottom: 16px; }
.band-flush:has(.viewing) + .band-flush { padding-top: calc(var(--section) - 72px); }

/* Les photographies : flèches bien visibles sur les images, compteur sous les légendes */
.viewing-wrap { position: relative; }
.viewing-nav { display: block; }
.vn-btn { position: absolute; top: calc(50% - 44px); z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--encre); color: var(--mur); font: inherit; font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2, .7, .1, 1), opacity .3s; }
.vn-btn:hover { transform: scale(1.08); }
.vn-btn[disabled] { opacity: 0; pointer-events: none; }
.vn-prev { left: 16px; }
.vn-next { right: 16px; }
.vn-count { margin-top: 6px; text-align: right; font-size: var(--t-s); color: var(--gris); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .vn-btn { width: 52px; height: 52px; top: calc(50% - 38px); } }

/* Page exposition : 88 px (à 1440 px) du dernier texte à la barre suivante, partout */
.expo-about + .band-flush { padding-top: calc(var(--section) - 41px); }
.band-flush:has(.viewing) + .band-flush { padding-top: calc(var(--section) - 48px); }
.band-flush:has(.viewing) + .band-flush { padding-top: calc(var(--section) - 56px); }
.hang-nav.viewing-nav .vn-btn { width: 64px; height: 64px; border: 0; background: var(--encre); color: var(--mur); font-size: 1.5rem; }
.hang-nav.viewing-nav .vn-btn:hover { background: var(--encre); color: var(--mur); }
@media (max-width: 860px) { .hang-nav.viewing-nav .vn-btn { width: 52px; height: 52px; } }

/* ---------- La galerie : façade en grand, puis le lieu en mosaïque ---------- */
.g-cover figure { margin: 0; overflow: hidden; }
.g-cover img { width: 100%; height: min(78vh, 820px); object-fit: cover; object-position: 50% 40%; }
.g-cover figcaption, .g-mosaic figcaption { margin-top: 10px; font-size: var(--t-xs); color: var(--gris); }
.g-intro { margin-top: clamp(28px, 3vw, 40px); max-width: 52ch; font-weight: 300; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; letter-spacing: -.01em; }
.g-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(32px, 4vw, 56px); }
.g-mosaic figure { margin: 0; overflow: hidden; }
.g-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1); }
.g-mosaic figure:hover img { transform: scale(1.03); }
.g-a { grid-column: 1 / span 8; aspect-ratio: 3 / 2; }
.g-b { grid-column: 9 / -1; grid-row: span 2; }
.g-c { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.g-d { grid-column: 5 / span 4; aspect-ratio: 4 / 5; }
.g-e { grid-column: 9 / -1; aspect-ratio: 4 / 5; display: none; }
.g-credit { margin-top: 14px; }
.g-visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); align-items: end; margin-top: clamp(28px, 3vw, 40px); }
.g-visit .visit-address { grid-column: 1 / span 7; margin: 0; }
.g-visit-side { grid-column: 8 / -1; display: grid; gap: 14px; }
main:has(> .band-flush:last-child) { padding-bottom: var(--section); }
@media (max-width: 860px) {
  .g-cover img { height: auto; aspect-ratio: 4 / 3; }
  .g-a, .g-b, .g-c, .g-d { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .g-c, .g-d { grid-column: span 6; aspect-ratio: 4 / 5; }
  .g-visit .visit-address, .g-visit-side { grid-column: 1 / -1; }
}

/* Mosaïque du lieu : deux rangées de même hauteur, 7 + 5 puis 5 + 7 colonnes */
.g-mosaic { grid-auto-rows: clamp(240px, 34vw, 620px); }
.g-mosaic figure { aspect-ratio: auto; grid-row: auto; height: 100%; }
.g-a { grid-column: 1 / span 7; }
.g-b2 { grid-column: 8 / -1; }
.g-c2 { grid-column: 1 / span 5; }
.g-d2 { grid-column: 6 / -1; }
@media (max-width: 860px) {
  .g-mosaic { grid-auto-rows: auto; }
  .g-a, .g-b2, .g-c2, .g-d2 { grid-column: 1 / -1; aspect-ratio: 3 / 2; height: auto; }
}

/* ---------- La galerie : texte à gauche, façade posée sur un pan de mur à droite ---------- */
.g-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); align-items: start; padding-top: clamp(40px, 5vw, 80px); }
.g-hero-text { grid-column: 1 / span 6; display: grid; gap: 22px; }
.g-title { margin-top: 6px; font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(3.25rem, 7vw, 7rem); line-height: .9; letter-spacing: -.01em; }
.g-lead { max-width: 34ch; font-weight: 300; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.38; letter-spacing: -.012em; }
.g-body { display: grid; gap: 1em; max-width: 56ch; color: var(--gris); line-height: 1.65; }
.g-sign { display: grid; gap: 2px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--encre); max-width: 56ch; font-size: var(--t-s); }
.g-sign-name { font-variation-settings: "wdth" 125; font-size: var(--t-m); }
.g-hero-wall { grid-column: 8 / -1; position: sticky; top: 96px; margin: 0; padding: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 48px) 20px; background: #E7E7E2; }
.g-hero-wall img { width: 100%; height: auto; box-shadow: 0 26px 50px -34px rgba(28, 28, 26, .6); }
.g-hero-wall figcaption { margin-top: clamp(20px, 2.4vw, 32px); font-size: var(--t-xs); color: var(--gris); }
.g-hero + .band-flush { padding-top: var(--section); }
@media (max-width: 960px) {
  .g-hero-text, .g-hero-wall { grid-column: 1 / -1; position: static; }
}
@media (max-width: 960px) {
  .g-hero { display: flex; flex-direction: column; }
  .g-hero-text { display: contents; }
  .g-hero-text > * { margin: 0; }
  .g-hero-wall { order: 4; }
  .g-body { order: 5; }
  .g-sign { order: 6; }
}

/* Deux tirages sur le pan de mur : la façade, et l’accueil posé devant, décalé */
.g-duo { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: auto auto auto; padding-bottom: 20px; }
.g-duo .g-duo-back { grid-column: 1 / span 8; grid-row: 1 / span 2; width: 100%; }
.g-duo .g-duo-front { grid-column: 5 / -1; grid-row: 2 / span 2; margin-top: 38%; width: 100%; position: relative; z-index: 1; outline: 8px solid #E7E7E2; box-shadow: 0 30px 60px -30px rgba(28, 28, 26, .7); transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.g-duo:hover .g-duo-front { transform: translate(6px, -6px); }
.g-duo figcaption { grid-column: 1 / -1; grid-row: 4; }

/* Deux photos l’une au-dessus de l’autre, en quinconce, qui remplissent la colonne */
.g-stack { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 8px; }
.g-st { margin: 0; }
.g-st img { width: 100%; height: auto; box-shadow: 0 28px 56px -34px rgba(28, 28, 26, .55); }
.g-st figcaption { margin-top: 10px; font-size: var(--t-xs); color: var(--gris); }
.g-st-1 { grid-column: 1 / span 10; grid-row: 1; }
.g-st-2 { grid-column: 4 / -1; grid-row: 2; margin-top: -9%; position: relative; z-index: 1; }
.g-st-2 img { outline: 10px solid var(--mur); }
.g-st-2 figcaption { text-align: right; }
.js .g-st-2[data-reveal] { transition-delay: .25s; }
@media (prefers-reduced-motion: no-preference) {
  .g-st-2 { transition: opacity .9s ease .25s, transform 1s cubic-bezier(.2, .7, .1, 1) .25s; }
}
@media (max-width: 960px) {
  .g-stack { order: 4; width: 100%; }
}
.g-st-1 figcaption { max-width: 26%; line-height: 1.4; }

/* Le cadre gris revient : les deux tirages en quinconce posés dessus, cadre aussi haut que le texte */
.g-hero { align-items: stretch; }
.g-stack { align-self: stretch; align-content: center; padding: clamp(32px, 4vw, 64px) clamp(28px, 3.4vw, 56px); background: #E7E7E2; }
.g-st-2 img { outline-color: #E7E7E2; }
@media (max-width: 960px) { .g-stack { padding: 24px 20px; } }

/* Une seule photo, plus grande, sur le cadre gris */
.g-stack { grid-column: 6 / -1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 56px); }
.g-st-1 figcaption { max-width: none; }
.g-hero-text { grid-column: 1 / span 5; }
.g-stack { grid-column: 6 / -1; grid-row: 1; }
@media (max-width: 960px) { .g-stack { grid-row: auto; } }

/* ---------- La galerie : le cadre gris devient un mur, un tirage accroché à hauteur des yeux, un cartel ---------- */
.g-wall { grid-column: 6 / -1; grid-row: 1; position: relative; min-height: 560px; background: #E7E7E2; overflow: hidden; }
.g-print { position: absolute; left: 12%; top: 16%; width: 58%; margin: 0; }
.g-print img { width: 100%; height: auto; box-shadow: 0 2px 0 rgba(28, 28, 26, .06), 0 34px 60px -36px rgba(28, 28, 26, .7); }
.g-print::after { content: ""; position: absolute; left: 50%; top: -9%; width: 1px; height: 9%; background: rgba(28, 28, 26, .25); }
.g-label { position: absolute; right: 9%; bottom: 12%; width: min(240px, 34%); padding: 16px 18px 18px; background: #FBFBF9; box-shadow: 0 10px 24px -18px rgba(28, 28, 26, .5); display: grid; gap: 4px; font-size: var(--t-xs); line-height: 1.45; }
.g-label-title { font-variation-settings: "wdth" 125; font-size: var(--t-s); font-weight: 500; }
.g-label-meta { color: var(--gris); margin-top: 4px; }
.g-label-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--filet); font-weight: 600; }
.g-label-foot .logo-disc { width: 8px; height: 8px; }
@media (max-width: 960px) {
  .g-wall { grid-column: 1 / -1; grid-row: auto; order: 4; width: 100%; min-height: 0; aspect-ratio: 4 / 5; }
  .g-print { left: 9%; top: 12%; width: 74%; }
  .g-label { right: 7%; bottom: 7%; width: 56%; }
}

/* Accrochage précis : tirage et cartel en un groupe centré, cartel à droite, aligné sur le bas du tirage */
.g-wall { display: grid; place-items: center; padding: clamp(32px, 4vw, 64px); }
.g-hang { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: end; width: 100%; }
.g-print, .g-label { position: static; width: auto; }
.g-print::after { display: none; }
.g-label { box-shadow: 0 1px 0 rgba(28, 28, 26, .06), 0 8px 18px -14px rgba(28, 28, 26, .45); }
@media (max-width: 960px) {
  .g-wall { aspect-ratio: auto; padding: 28px 20px; }
  .g-hang { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .g-label { justify-self: end; width: 70%; }
}
.g-wall { align-self: start; position: sticky; top: 96px; min-height: 0; padding: clamp(40px, 4.5vw, 72px) clamp(32px, 3.6vw, 56px); }
@media (max-width: 960px) { .g-wall { position: static; } }

/* Plus de cartel : le tirage seul, même taille, légende dessous */
.g-hang { grid-template-columns: minmax(0, 1fr) 190px; }
.g-print { grid-column: 1; }
.g-print figcaption { margin-top: 12px; font-size: var(--t-xs); color: var(--gris); }
@media (max-width: 960px) { .g-hang { grid-template-columns: minmax(0, 1fr); } }
.g-hang { grid-template-columns: minmax(0, 1fr); width: calc(100% - 214px); }
@media (max-width: 960px) { .g-hang { width: 100%; } }

/* ---------- La galerie : photo sans ombre, cadre resserré ---------- */
.g-wall { grid-column: 6 / -1; justify-self: center; align-self: start; width: auto; padding: 28px 28px 18px; }
.g-hang { width: min(31vw, 460px); }
.g-print img { box-shadow: none; }
@media (max-width: 960px) { .g-wall { justify-self: stretch; padding: 20px 20px 14px; } .g-hang { width: 100%; } }

/* ---------- Le lieu : bande horizontale qui défile avec la page ---------- */
.g-rail { border-top: 0; }
.g-rail .rail-sticky { padding: 0; }
.g-rail.is-pinned .rail-sticky { top: 72px; height: calc(100vh - 72px); justify-content: center; gap: clamp(20px, 2.4vw, 32px); }
.g-rail .past-head { align-items: center; }
.g-rail .rail-progress { font-size: var(--t-s); }
.g-rail .g-intro { margin-top: clamp(18px, 2vw, 28px); }
.g-rail .rail-track { gap: clamp(20px, 2.4vw, 36px); }
.g-rail .rail-item figure { margin: 0; }
.g-rail .rail-item img { height: min(44vh, 460px); width: auto; max-width: none; box-shadow: none; }
.g-rail .rail-item figcaption { margin-top: 10px; font-size: var(--t-xs); color: var(--gris); }
.g-rail .g-credit { margin-top: 0; }
@media (max-width: 860px) {
  .g-rail .rail-scroller { padding: 24px 0 8px; }
  .g-rail .rail-item img { height: 56vw; }
}
.g-rail .rail-item figure { box-shadow: none; overflow: visible; }
.g-rail .rail-track { padding: 0 var(--gut); }
@media (max-width: 860px) { .g-rail .rail-scroller { scroll-padding-left: var(--gut); } }

/* Bande épinglée : hauteur de son contenu, centrée verticalement dans l’écran */
.g-rail.is-pinned .rail-sticky { height: auto; top: max(88px, calc(50vh - var(--h, 0px) / 2 + 36px)); }
.g-rail + .band-flush { padding-top: calc(var(--section) - 28px); }

/* ---------- La galerie : des tirages posés en vrac sur une table ; au survol, on prend la photo ---------- */
.g-table { grid-column: 6 / -1; grid-row: 1; align-self: stretch; position: relative; min-height: 600px; background: #E7E7E2; }
.tp { position: absolute; width: 50%; margin: 0; padding: 8px 8px 0; background: #FBFBF9; cursor: zoom-in;
  box-shadow: 0 1px 1px rgba(28, 28, 26, .08), 0 14px 24px -16px rgba(28, 28, 26, .45);
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r, 0deg));
  transition: transform .55s cubic-bezier(.2, .7, .1, 1), box-shadow .55s ease; }
.tp img { display: block; width: 100%; height: auto; }
.tp figcaption { height: 30px; padding: 6px 2px 0; font-size: var(--t-xs); color: var(--gris); opacity: 0; transition: opacity .3s ease; }
.tp-1 { left: 6%; top: 9%; --r: -6deg; z-index: 1; }
.tp-2 { left: 44%; top: 6%; --r: 5deg; z-index: 2; }
.tp-3 { left: 10%; top: 50%; --r: 3.5deg; z-index: 3; }
.tp-4 { left: 40%; top: 44%; --r: -3deg; z-index: 4; }
.tp:hover, .tp:focus-visible { z-index: 10; outline: none; transform: translate(var(--tx, 0), calc(var(--ty, 0px) - 10px)) rotate(0deg) scale(1.16);
  box-shadow: 0 2px 2px rgba(28, 28, 26, .08), 0 40px 60px -30px rgba(28, 28, 26, .6); }
.tp:hover figcaption, .tp:focus-visible figcaption { opacity: 1; }
/* Arrivée : les tirages tombent sur la table l’un après l’autre */
.js .g-table[data-reveal] { opacity: 1; transform: none; }
.js .g-table .tp { opacity: 0; --ty: -40px; transition: transform .9s cubic-bezier(.2, .7, .1, 1), opacity .5s ease, box-shadow .55s ease; }
.js .g-table.is-in .tp { opacity: 1; --ty: 0px; }
.js .g-table.is-in .tp-2 { transition-delay: .12s, .12s, 0s; }
.js .g-table.is-in .tp-3 { transition-delay: .24s, .24s, 0s; }
.js .g-table.is-in .tp-4 { transition-delay: .36s, .36s, 0s; }
.js .g-table.is-in .tp:hover { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .g-table .tp { opacity: 1; --ty: 0px; } }
@media (max-width: 960px) {
  .g-table { grid-column: 1 / -1; grid-row: auto; order: 4; width: 100%; min-height: 0; aspect-ratio: 1 / 1.05; }
  .tp { width: 56%; padding: 5px 5px 0; }
  .tp figcaption { height: 22px; }
}

/* =====================================================================================================
   La galerie, version du 29/10/2026 : ouverture sur un écran (texte court + façade sur son pan de mur),
   01 L’histoire en colonne de lecture, 02 Le lieu en bande qui défile, 03 Visiter.
   ===================================================================================================== */
.ga-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); align-items: end; padding-top: clamp(40px, 5vw, 80px); }
.ga-hero-text { grid-column: 1 / span 6; display: grid; gap: 24px; }
.ga-title { margin-top: 4px; font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(3.25rem, 6.5vw, 6.5rem); line-height: .88; letter-spacing: -.01em; }
.ga-lead { max-width: 30ch; font-weight: 300; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.38; letter-spacing: -.012em; }
.ga-facts { display: grid; gap: 0; max-width: 460px; border-top: 1px solid var(--encre); font-size: var(--t-s); }
.ga-facts > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.ga-facts dt { color: var(--gris); }
.ga-wall { grid-column: 8 / -1; margin: 0; padding: 28px 28px 18px; background: #E7E7E2; }
.ga-wall img { width: 100%; height: auto; }
.ga-wall figcaption { margin-top: 14px; font-size: var(--t-xs); color: var(--gris); }

.ga-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); margin-top: clamp(32px, 4vw, 48px); }
.ga-who { grid-column: 1 / span 4; align-self: start; position: sticky; top: 110px; display: grid; gap: 4px; }
.ga-who-name { font-variation-settings: "wdth" 125; font-size: var(--t-l); line-height: 1.15; }
.ga-text { grid-column: 6 / -1; display: grid; gap: 1.1em; max-width: 60ch; font-size: 1.1875rem; line-height: 1.65; color: var(--gris); }
.ga-text-lead { color: var(--encre); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.32; letter-spacing: -.015em; }

@media (max-width: 960px) {
  .ga-hero-text, .ga-wall, .ga-who, .ga-text { grid-column: 1 / -1; position: static; }
  .ga-wall { padding: 18px 18px 12px; }
}
.ga-hero + .band-flush, .band-flush + .g-rail { padding-top: calc(var(--section) - 40px); }
.band-flush + .g-rail { padding-top: var(--section); }
.offer { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 230px; }
@media (max-width: 860px) { .offer { grid-template-columns: minmax(0, 1fr) auto; } }
.ga-who-name { font-variation-settings: "wdth" 100; font-weight: 700; font-size: clamp(1.75rem, 2.8vw, 2.75rem); line-height: 1.05; letter-spacing: -.025em; }
.ga-who .muted { font-size: var(--t-m); margin-top: 6px; }

/* Le lieu : les photos défilent dans un masque aux marges de la page */
.g-rail .rail-scroller { margin: 0 var(--gut); overflow: hidden; }
.g-rail .rail-track { padding: 0; }
@media (max-width: 860px) { .g-rail:not(.is-pinned) .rail-scroller { overflow-x: auto; } }

.ga-portrait { margin: 0 0 20px; width: min(100%, 300px); }
.ga-portrait img { width: 100%; height: auto; }
@media (max-width: 960px) { .ga-portrait { width: 60%; } }
.ga-text { align-content: start; }

/* L’histoire : portrait à gauche, le nom ouvre le récit à droite, tout aligné en haut */
.ga-story { align-items: start; }
.ga-who { grid-column: 1 / span 4; }
.ga-portrait { width: 100%; max-width: 452px; margin: 0; }
.ga-text { grid-column: 6 / -1; max-width: 62ch; }
.ga-name { display: grid; gap: 6px; padding-bottom: 22px; margin-bottom: 6px; border-bottom: 1px solid var(--filet); }
.ga-role { color: var(--gris); font-size: var(--t-m); }
@media (max-width: 960px) { .ga-who { grid-column: 1 / -1; } .ga-portrait { width: 70%; } }
.ga-name .ga-who-name { color: var(--encre); }
@media (max-width: 960px) { .ga-story > .ga-text { grid-column: 1 / -1; } }

/* =====================================================================================================
   La galerie, 01 L’histoire (version du 29/10/2026) : un seul axe de lecture à la colonne 5.
   À gauche, colonnes 1 à 3 : le portrait (petit) puis le libellé des noms. À droite : la phrase, 1991, et le
   « mur de noms » des artistes exposés, composé comme un texte de salle. Le bas de 1991 tombe sur le bas du portrait.
   ===================================================================================================== */
.band-flush + .g-rail { padding-top: var(--section); }
.band-flush:has(.offers) + .band-flush { padding-top: calc(var(--section) - 25px); }
.hs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; column-gap: var(--gut);
  margin-top: clamp(32px, 4vw, 56px); }
.hs-portrait { grid-column: 1 / span 3; grid-row: 1 / span 2; margin: 0; max-width: 300px; }
.hs-portrait img { display: block; width: 100%; height: auto; background: #E7E7E2; }
.hs-portrait figcaption { display: grid; gap: 2px; margin-top: 12px; font-size: var(--t-s); line-height: 1.4; color: var(--gris); }
.hs-name { font-weight: 600; color: var(--encre); }
.hs-statement { grid-column: 5 / -1; grid-row: 1; max-width: 22ch; margin-top: -.12em;
  font-weight: 300; font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.08; letter-spacing: -.03em; }
.hs-before { grid-column: 5 / -1; grid-row: 2; display: grid; grid-template-columns: subgrid; align-items: start; padding-top: clamp(32px, 3.4vw, 48px); }
.hs-year { grid-column: span 2; font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(3rem, 5vw, 4.75rem); line-height: .78; }
.hs-before-text { grid-column: span 5; max-width: 46ch; margin-top: -.3em; color: var(--gris); line-height: 1.6; }
.hs-lbl { grid-column: 1 / span 3; grid-row: 3; align-self: baseline; margin-top: clamp(48px, 5vw, 72px); font-size: var(--t-s); color: var(--gris); }
.hs-wall { grid-column: 5 / -1; grid-row: 3; align-self: baseline; margin-top: clamp(48px, 5vw, 72px); max-width: 40ch;
  font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; }
.hs-and { color: var(--gris); font-weight: 400; }
@media (max-width: 960px) {
  .hs { grid-template-rows: none; }
  .hs-statement, .hs-before, .hs-wall { grid-column: 1 / -1; grid-row: auto; }
  .hs-statement { order: -1; margin-bottom: 36px; }
  .hs-portrait { grid-column: 1 / -1; grid-row: auto; max-width: none; display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: end; }
  .hs-portrait figcaption { margin: 0; }
  .hs-before { display: grid; grid-template-columns: none; gap: 14px; align-items: start; padding-top: 40px; }
  .hs-year, .hs-before-text { grid-column: auto; }
  .hs-lbl { grid-column: 1 / -1; grid-row: auto; margin-top: 48px; }
  .hs-wall { margin-top: 8px; }
}

/* Façade : légende dans le pan de mur gris */
.ga-wall { padding-bottom: 0; }
.ga-wall figcaption { margin: 0; padding: 12px 0 14px; font-size: var(--t-xs); color: var(--gris); }
@media (max-width: 960px) { .ga-wall figcaption { padding: 10px 0 12px; } }

/* =====================================================================================================
   Pages construites dans la régie (29/10/2026) : Artistes, page d’un artiste, Œuvres, Venir, erreurs.
   Même langage que les maquettes : barre noire + « 01 LIBELLÉ », pans de mur gris, cartels, filets fins.
   ===================================================================================================== */
/* Index des artistes : deux colonnes, l’initiale en marge à chaque nouvelle lettre ; mur à gauche au survol */
.roster-index { margin-top: 0; }
.ai-list { columns: 2; column-gap: var(--gut); border-top: 1px solid var(--encre); }
.ai-list li { position: relative; break-inside: avoid; border-bottom: 1px solid var(--filet); }
.ai-list li.ai-new::before { content: attr(data-letter); position: absolute; left: -2.2em; top: 12px; font-size: var(--t-xs); font-weight: 600; color: var(--gris); }
.ai-list a { display: grid; gap: 2px; padding: 12px 0; text-decoration: none; transition: padding-left .4s cubic-bezier(.2, .7, .1, 1); }
.ai-list .roster-name { font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.2; }
.ai-meta { font-size: var(--t-xs); color: var(--gris); }
.ai-list a:hover, .ai-list a:focus-visible, .ai-list a.is-active { padding-left: 10px; }
.ai-list a.is-active .roster-name { font-weight: 500; }
@media (max-width: 960px) { .ai-list { columns: 1; } .ai-list li.ai-new::before { position: static; display: block; padding-top: 18px; } }

/* Page d’un artiste : nom en très grand à gauche, présentation et repères à droite */
.ar-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gut); align-items: end; padding-top: clamp(24px, 4vw, 64px); }
.ar-name { grid-column: 1 / span 7; overflow-wrap: anywhere; }
.ar-side { grid-column: 8 / -1; display: grid; gap: 24px; }
.ar-lead { font-weight: 300; font-size: clamp(1.25rem, 1.7vw, 1.625rem); line-height: 1.4; letter-spacing: -.012em; max-width: 40ch; }
.ar-facts { border-top: 1px solid var(--encre); font-size: var(--t-s); }
.ar-facts > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.ar-facts dt { color: var(--gris); }
.ar-bio { max-width: 64ch; margin-top: clamp(28px, 3vw, 40px); color: var(--gris); }
.ar-bio p + p { margin-top: 1em; }
@media (max-width: 960px) { .ar-name, .ar-side { grid-column: 1 / -1; } }

/* Œuvres : chaque tirage entier sur son pan de mur, cartel dessous */
.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(44px, 4vw, 72px) var(--gut); }
.wk-grid-books { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.wk { display: grid; gap: 18px; align-content: start; }
.wk[hidden], [data-filter-group][hidden] { display: none; }
.wk-wall { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; margin: 0; background: #E7E7E2; }
/* Le tirage entier (contain, jamais recadré) dans un cadre fixe : tous les pans de mur ont la même taille */
.wk-wall img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.wk-grid-books .wk-wall { aspect-ratio: 1 / 1; }
.wk-none { font-size: var(--t-xs); color: var(--gris); }
.wk-cartel { display: grid; gap: 4px; font-size: var(--t-s); }
.wk-who { font-size: var(--t-xs); }
.wk-who a { font-weight: 600; text-decoration: none; }
.wk-who a:hover { text-decoration: underline; }
.wk-title { font-size: var(--t-m); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.wk-year { color: var(--gris); }
.wk-meta { color: var(--gris); }
.wk-buy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--filet); }
.wk-price { font-weight: 600; }
.wk-reserved::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--rouge); vertical-align: 1px; }
.wk-ask { font-size: var(--t-xs); }
.wk-filter + [data-filter-group] { padding-top: 0; }
.wk-books { padding-top: clamp(56px, 6vw, 96px); }
.wk-books .wk-grid { margin-top: clamp(24px, 3vw, 36px); }
/* Index des artistes : les noms en texte, le nombre d’œuvres en exposant, l’artiste choisi en encre */
.wk-filter { padding-top: 16px; padding-bottom: clamp(32px, 4vw, 48px); }
.wk-filter[hidden] { display: none; }
.wk-filter ul { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 16px; border-top: 1px solid var(--encre); }
.wk-filter button { padding: 4px 0; border: 0; background: none; font: inherit; font-size: var(--t-m); line-height: 1.3; letter-spacing: -.01em; color: var(--gris); cursor: pointer; text-decoration: none; }
.wk-filter sup { margin-left: 3px; font-size: .6em; vertical-align: .7em; line-height: 0; }
.wk-filter button:hover { color: var(--encre); }
.wk-filter button[aria-pressed="true"] { color: var(--encre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.wk-filter button:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
@media (max-width: 960px) { .wk-filter ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .wk-filter li { flex: none; } }

/* En-tête resserré : le titre à gauche, la présentation à droite, alignée sur le bas du titre */
.page-head-row { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; column-gap: var(--gut); padding-bottom: clamp(20px, 2.5vw, 36px); }
.page-head-row h1 { grid-column: 1 / span 7; }
.page-head-row .lead { grid-column: 8 / -1; max-width: 46ch; padding-bottom: .4em; }
@media (max-width: 960px) { .page-head-row h1, .page-head-row .lead { grid-column: 1 / -1; } }
.page-head-row + .band-flush, .page-head-row + .past.band-flush { padding-top: clamp(24px, 3vw, 48px); }
/* Alphabet des artistes, sous le titre, sur toute la largeur */
.az { grid-column: 1 / -1; margin-top: clamp(12px, 2vw, 28px); padding-top: 14px; border-top: 1px solid var(--encre); }
.az ul { display: flex; justify-content: space-between; gap: 4px; }
.az a, .az span { display: block; min-width: 1.4em; padding: 4px 0; text-align: center; font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 2.25rem); line-height: 1; text-decoration: none; }
.az a { color: var(--encre); }
.az a:hover, .az a:focus-visible { color: var(--rouge); }
.az span { color: var(--filet); }
.ai-new[id] { scroll-margin-top: 110px; }
@media (max-width: 960px) { .az ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 10px; padding-bottom: 6px; } .az li { flex: none; } }

/* Venir : adresse en grand et état en direct à gauche, façade sur son pan de mur à droite */
.vi-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); align-items: end; padding-top: clamp(40px, 5vw, 80px); }
.vi-text { grid-column: 1 / span 6; display: grid; gap: 24px; justify-items: start; }
.vi-address { font-style: normal; font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.15; letter-spacing: -.025em; }
.vi-now { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.vi-wall { grid-column: 8 / -1; }
.vi-expo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--gut); margin-top: clamp(28px, 3vw, 40px); padding: 20px 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.vi-expo-img { display: grid; place-items: center; width: 120px; height: 120px; background: #E7E7E2; }
.vi-expo-img img { max-width: 92px; max-height: 92px; width: auto; height: auto; }
.vi-expo-text { display: grid; gap: 4px; }
.vi-expo-who { font-weight: 600; }
.vi-expo-what { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; }
.vi-expo-when { font-size: var(--t-s); color: var(--gris); }
.vi-expo .offer-arrow { font-size: var(--t-xl); transition: transform .4s cubic-bezier(.2, .7, .1, 1); }
.vi-expo:hover .offer-arrow, .vi-expo:focus-visible .offer-arrow { transform: translateX(8px); }
.vi-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gut); margin-top: clamp(28px, 3vw, 40px); align-items: start; }
.vi-big { grid-column: 1 / span 7; font-weight: 300; font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.08; letter-spacing: -.03em; }
.vi-side { grid-column: 8 / -1; display: grid; gap: 18px; max-width: 46ch; }
.vi-faq { margin-top: clamp(28px, 3vw, 40px); max-width: 860px; }
@media (max-width: 960px) {
  .vi-text, .vi-wall, .vi-big, .vi-side { grid-column: 1 / -1; }
  .vi-expo { grid-template-columns: auto minmax(0, 1fr); }
  .vi-expo-img { width: 84px; height: 84px; }
  .vi-expo-img img { max-width: 64px; max-height: 64px; }
  .vi-expo .offer-arrow { display: none; }
}

/* Erreurs, mentions légales */
.err-code { font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(4rem, 12vw, 10rem); line-height: .85; color: var(--filet); }
.legal h2 { margin-top: 2em; font-size: var(--t-l); }
.legal p { margin-top: .6em; max-width: 64ch; }

/* Bandeau Instagram avant le pied de page : 4 vignettes carrées sur téléphone (2 × 2), 8 sur une ligne en grand */
.ig { padding-top: var(--section); }
/* De bord à bord, sans espace entre les vignettes, collé au pied de page */
.ig-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; }
.ig-item { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #E7E7E2; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .1, 1), opacity .3s ease; }
.ig-item:hover img, .ig-item:focus-visible img { transform: scale(1.04); }
.ig-item:focus-visible { outline: 2px solid var(--blanc); outline-offset: -4px; }
@media (max-width: 1100px) { .ig-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ig-list li:nth-child(n + 5) { display: none; } }
@media (max-width: 600px) { .ig-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ig-item img { transition: none; } .ig-item:hover img { transform: none; } }

/* ---------- Téléphone : zones de toucher d’au moins 44 px, alphabet sans défilement, œuvres sur deux colonnes ---------- */
@media (hover: none) {
  /* Pas de survol au doigt : l’artiste « actif » du mur d’images ne reste pas en exergue dans la liste */
  .ai-list a.is-active, .roster-list a.is-active { padding-left: 0; }
  .ai-list a.is-active .roster-name { font-weight: 300; }
  .roster-list a.is-active { font-weight: inherit; }
}
@media (max-width: 960px) {
  .logo { padding-block: 12px; }
  .crumbs { padding-top: 6px; }
  .crumbs a { display: inline-block; padding: 12px 0; }
  .past-all { display: inline-block; padding-top: 12px; }
  .years a, .past-head .years a { display: inline-block; padding: 10px 0; }
  .wk-filter button { min-height: 44px; }
  /* La liste des artistes défile : un fondu à droite montre qu’il y en a d’autres */
  .wk-filter ul { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 32px; }
  .az ul { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); overflow: visible; gap: 0; padding-bottom: 0; }
  .az a, .az span { min-width: 0; padding: 12px 0; }
  .lbl { font-size: 12px; }
  .ai-list a.is-active, .roster-list a.is-active { padding-left: 0; }
  .ai-list a.is-active .roster-name { font-weight: 300; }
  .roster-list a.is-active { font-weight: inherit; }
}
.nav-extra { display: none; }
@media (max-width: 860px) {
  /* Menu : la page en cours marquée du disque rouge ; adresse, horaires et liens utiles sous les liens */
  .nav a[aria-current="page"]::before { content: ""; display: inline-block; width: .32em; height: .32em; margin-right: .3em; border-radius: 50%; background: var(--rouge); vertical-align: .18em; }
  .nav .nav-extra { display: grid; gap: 14px; width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--filet); font-size: var(--t-s); font-variation-settings: "wdth" 100; font-weight: 400; color: var(--gris); }
  .nav .nav-extra-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .nav .nav-extra-links a { padding: 10px 0; color: var(--encre); text-decoration: underline; text-underline-offset: .2em; }
}
@media (max-width: 600px) {
  .wk-grid, .wk-grid-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .wk { gap: 12px; }
  .wk-cartel { font-size: var(--t-xs); }
  .wk-title { font-size: var(--t-s); }
  .wk-buy { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 8px; padding-top: 8px; }
  .wk-ask { display: inline-block; padding: 8px 0; }
}
