/* Design « Salles » : chaque série est une salle peinte de la couleur de ses toiles. */
/* Polices hébergées sur le site (copie de Google Fonts : Archivo variable, IBM Plex Mono), sous-ensembles latin et latin étendu. */
/* Archivo latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-300-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-300-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #efeae0;
  --paper-2: #e4ddcf;
  --ink: #1d1b18;
  --ink-2: #625d54;
  --red: #b3261e;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --gutter: clamp(16px, 4vw, 56px);
  /* Échelle d'accrochage : 2,10 m de mur occupent au plus 62 % de la hauteur d'écran */
  --k: calc(min(62vh, 640px) / 210);
  --top-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 62%; line-height: .88; letter-spacing: -.01em; text-transform: uppercase; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* En-tête : prend la couleur du mur de la salle traversée */
.top {
  position: sticky; top: 0; z-index: 10;
  height: var(--top-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--top-bg, var(--paper));
  color: var(--top-ink, var(--ink));
  transition: background-color .5s, color .5s;
}
.top__name { font: 800 22px/1 var(--sans); font-stretch: 62%; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.top__plan { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; }
.top__plan li { width: 14px; height: 14px; background: var(--wall); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent); transition: transform .3s; }
.top__plan li.is-here { transform: scaleY(1.7); }
.top__nav { margin-left: auto; display: flex; gap: clamp(14px, 2vw, 28px); font: 500 12px/1 var(--mono); letter-spacing: .02em; }
.top__nav a { text-decoration: none; opacity: .85; }
.top__nav a:hover, .top__nav a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Entrée */
.entry { padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(28px, 4vw, 48px); }
.entry__name {
  font-size: clamp(64px, 23vw, 400px);
  font-stretch: 62%; font-weight: 900; line-height: .8; letter-spacing: -.015em;
  display: flex; flex-wrap: wrap; column-gap: .12em;
}
.entry__name span:last-child { margin-left: auto; }
.entry__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(20px, 3vw, 40px); }
.entry__lead { max-width: 38ch; margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; font-stretch: 92%; }
.entry__count { margin: 0; font: 400 12px/1.6 var(--mono); color: var(--ink-2); text-align: right; text-transform: uppercase; }

/* Plan des salles : une bande de nuancier */
.plan ol { display: grid; grid-template-columns: repeat(8, 1fr); margin: 0; padding: 0; list-style: none; }
.plan li { background: var(--wall); color: var(--ink); }
.plan a {
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 10px;
  height: clamp(300px, 46vh, 460px); padding: 14px 14px 16px;
  text-decoration: none; position: relative; overflow: hidden;
}
.plan__num { font: 500 12px/1 var(--mono); }
.plan__img { align-self: center; justify-self: center; width: 78%; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.plan__img img { width: 100%; max-height: 22vh; object-fit: contain; box-shadow: 0 10px 24px -14px rgb(0 0 0 / .6); }
.plan a:hover .plan__img, .plan a:focus-visible .plan__img { transform: scale(1.08) translateY(-4px); }
.plan__title { font: 800 clamp(18px, 1.7vw, 26px)/.92 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.plan__years { font: 400 11px/1 var(--mono); opacity: .9; }

/* Salles */
.room { background: var(--wall); color: var(--ink); padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 6vw, 80px); }
.room__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); column-gap: clamp(24px, 5vw, 80px);
  padding: 0 var(--gutter); align-items: end;
}
.room__num { grid-column: 1; margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.room__title { grid-column: 1; font-size: clamp(48px, 8.6vw, 148px); max-width: 14ch; }
.room__info { grid-column: 1; margin: 18px 0 0; font: 400 12px/1.4 var(--mono); opacity: .9; }
.room__text { grid-column: 2; grid-row: 1 / span 3; align-self: end; font-size: 15px; line-height: 1.6; font-stretch: 95%; }
.room__text p { margin: 0 0 1em; }
.room__text p:last-child { margin-bottom: 0; }
.room__note { font: 400 12px/1.55 var(--mono); opacity: .9; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-top: 12px; }

/* Cimaise : défilement horizontal, œuvres alignées sur leur axe médian, à l'échelle */
.wall { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent; margin-top: clamp(24px, 3vw, 48px); }
.wall { cursor: grab; }
.wall.is-dragging { cursor: grabbing; }
.wall.is-dragging .work__open { cursor: grabbing; }
.wall:focus-visible { outline-offset: -4px; }
.wall__track {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 96px);
  width: max-content; min-width: 100%;
  padding: 0 var(--gutter) 8px;
  min-height: calc(210 * var(--k) + 90px);
}
.ruler {
  flex: none; align-self: center; position: relative;
  height: calc(100 * var(--k)); width: 1px; background: currentColor; opacity: .55;
  margin-right: calc(-1 * clamp(20px, 3vw, 48px));
}
.ruler::before, .ruler::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: currentColor; }
.ruler::before { top: 0; } .ruler::after { bottom: 0; }
.ruler span { position: absolute; right: 6px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font: 400 11px/1 var(--mono); white-space: nowrap; }
.piece { flex: none; margin: 0; position: relative; width: calc(var(--cm) * var(--k) * var(--ar)); }
.piece .work__open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.piece img { width: 100%; height: calc(var(--cm) * var(--k)); object-fit: cover; box-shadow: 0 18px 36px -22px rgb(0 0 0 / .75), 0 2px 6px -3px rgb(0 0 0 / .35); transition: transform .35s; }
.piece .work__open:hover img { transform: translateY(-3px); }
/* Le cartel pend sous l'œuvre, sans décaler l'axe d'accrochage */
.cartel { position: absolute; top: calc(100% + 14px); left: 0; width: max(100%, 170px); display: grid; gap: 3px; font: 400 11px/1.4 var(--mono); }
.cartel__title { font: 600 13px/1.25 var(--sans); font-stretch: 85%; }
.cartel__meta, .cartel__coll { opacity: .92; }

/* Salle des tablettes : mur d'écrans */
.screens {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); padding: 0 var(--gutter); margin-top: clamp(40px, 6vw, 72px);
}
.screen { margin: 0; }
.screen .work__open { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.92); transition: filter .3s, transform .5s; }
.screen .work__open:hover img { filter: none; transform: scale(1.04); }
.screen .cartel { position: static; width: auto; margin-top: 10px; }
.room--screens .cartel__title { font-family: var(--mono); font-weight: 500; font-size: 12px; }

/* Catalogue */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(56px, 10vw, 168px); }
.sec-head p { margin: 0; font: 400 12px/1.5 var(--mono); color: var(--ink-2); }
.cat, .about, .expo { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.cat { position: relative; }
.cat__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cat__table th { text-align: left; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.cat__table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--paper-2); vertical-align: baseline; }
.cat__table td:nth-child(3) { font-family: var(--mono); font-size: 12px; }
.cat__table td.cat__opt { color: var(--ink-2); font-size: 13px; }
.cat__sw { width: 22px; padding-right: 14px !important; }
td.cat__sw::before { content: ""; display: block; width: 12px; height: 12px; background: var(--wall); transform: translateY(2px); }
.cat__open { padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; font-weight: 600; font-stretch: 88%; }
.cat__table tr:hover td { background: color-mix(in srgb, var(--wall) 10%, transparent); }
.cat__open:hover { text-decoration: underline; text-underline-offset: 3px; }
.cat__peek {
  position: fixed; top: 0; left: 0; z-index: 8; width: 220px; height: auto; pointer-events: none;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); opacity: 0; transition: opacity .15s;
}
.cat__peek.is-on { opacity: 1; }
@media (hover: none) { .cat__peek { display: none; } }

/* Démarche */
.about { background: var(--ink); color: var(--paper); }
.about .sec-head p { color: inherit; }
.about__quote { margin: 0 0 clamp(40px, 6vw, 80px); max-width: 24ch; font: 300 clamp(28px, 4vw, 60px)/1.08 var(--sans); font-stretch: 75%; }
.about__quote p { margin: 0; text-indent: -.45em; }
.about__quote p::before { content: "« "; }
.about__quote p::after { content: " »"; }
.about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); max-width: 1100px; margin-left: auto; font-stretch: 95%; }
.about__cols p { margin: 0 0 1em; color: color-mix(in srgb, var(--paper) 82%, transparent); }
.about h3 { font-size: 26px; margin-bottom: 14px; }

/* Expositions & presse */
.cv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 5vw, 96px); margin-bottom: clamp(48px, 7vw, 96px); }
.cv__h { margin: 0 0 16px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.formation { list-style: none; margin: 0; padding: 0; }
.formation li { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--ink); }
.formation__y { font: 500 13px/1 var(--mono); }
.formation__t { font: 800 clamp(24px, 2.6vw, 36px)/.95 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.formation__d { color: var(--ink-2); font-size: 14px; }
.expo__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.expo__list li { display: grid; grid-template-columns: 6ch 6ch minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--paper-2); }
.expo__list li:has(.expo__year:not(:empty)) { border-top-color: var(--ink); }
.expo__year { font: 800 22px/1 var(--sans); font-stretch: 62%; }
.expo__m { font: 400 12px/1 var(--mono); color: var(--ink-2); }
.expo__t { font: 800 clamp(20px, 2.2vw, 30px)/.95 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.expo__d { color: var(--ink-2); font-size: 14px; }
.expo__tag { display: inline-block; margin-left: 10px; padding: 3px 7px 2px; vertical-align: .35em; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; }
.is-avenir .expo__tag { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.is-annulee .expo__t { text-decoration: line-through; text-decoration-thickness: 2px; }
.is-annulee .expo__tag { text-decoration: none; }
.press { list-style: none; margin: 0; padding: 0; columns: 2 420px; column-gap: clamp(24px, 4vw, 64px); }
.press li { break-inside: avoid; }
.press a { display: grid; grid-template-columns: 15ch minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--paper-2); text-decoration: none; font-size: 14px; }
.press a:hover .press__t { text-decoration: underline; text-underline-offset: 3px; }
.press__src { font: 400 11px/1.9 var(--mono); color: var(--ink-2); text-transform: uppercase; }

/* Contact */
.contact { background: var(--red); color: #f8ebe2; padding: clamp(72px, 10vw, 150px) var(--gutter); }
.contact__k { margin: 0 0 20px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.contact__mail { display: block; font: 900 clamp(40px, 8.4vw, 150px)/.86 var(--sans); font-stretch: 62%; text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere; }
.contact__mail:hover { text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .08em; }
.contact p:last-child { margin: 28px 0 0; font: 400 13px/1 var(--mono); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); font: 400 11px/1.5 var(--mono); color: var(--ink-2); }
.foot__links { display: flex; gap: 18px; }
.foot button { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Mentions légales */
.legal { max-width: 760px; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 120px); }
.legal h1 { font-size: clamp(56px, 11vw, 160px); margin-bottom: clamp(28px, 4vw, 56px); }
.legal h2 { font-size: clamp(26px, 3vw, 36px); margin: 40px 0 12px; }
.legal p { margin: 0 0 12px; max-width: 64ch; }

/* Bandeau de mesure d'audience */
.mesure {
  position: fixed; left: var(--gutter); bottom: 16px; z-index: 30;
  max-width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 16px 18px; background: var(--ink); color: var(--paper);
  font: 400 12px/1.5 var(--mono); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .7);
}
.mesure p { margin: 0 0 12px; }
.mesure__btns { display: flex; gap: 8px; }
.mesure button { flex: 1; padding: 9px 12px; border: 1px solid var(--paper); background: none; color: var(--paper); font: 500 12px/1 var(--mono); cursor: pointer; }
.mesure button:hover { background: var(--paper); color: var(--ink); }

/* Visionneuse : fond du mur de la salle */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--lb-wall, #111); color: var(--lb-ink, #eee);
  display: none; grid-template-rows: minmax(0, 1fr) auto; transition: background-color .4s, color .4s;
}
.lb[open] { display: grid; }
.lb::backdrop { background: rgb(0 0 0 / .6); }
.lb__stage { display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); min-height: 0; }
.lb__img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 60px -28px rgb(0 0 0 / .8); transition: opacity .25s; }
.lb__img.is-loading { opacity: .25; }
.lb__bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 14px var(--gutter) 20px; }
.lb__cap { display: grid; gap: 4px; min-width: 0; }
.lb__series, .lb__meta, .lb__count { font: 400 11px/1.4 var(--mono); opacity: .8; }
.lb__series { text-transform: uppercase; letter-spacing: .05em; }
.lb__title { font: 800 clamp(20px, 2.4vw, 32px)/.95 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.lb__ctrl { display: flex; align-items: center; gap: 6px; flex: none; }
.lb__count { margin-right: 10px; }
.lb__ctrl button { width: 42px; height: 42px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: none; cursor: pointer; font-size: 16px; }
.lb__ctrl button:hover { color: var(--lb-wall, #111); background: var(--lb-ink, #eee); }

/* Tablette */
@media (max-width: 1100px) {
  .plan ol { grid-template-columns: repeat(4, 1fr); }
  .plan a { height: clamp(240px, 34vh, 340px); }
  .top__plan { display: none; }
}

/* Téléphone */
@media (max-width: 720px) {
  :root { --k: calc(min(48vh, 420px) / 210); --top-h: 92px; }
  .top { height: auto; min-height: var(--top-h); flex-wrap: wrap; align-content: center; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
  .top__nav { margin-left: 0; width: 100%; overflow-x: auto; gap: 14px; font-size: 11px; }
  .entry__row { flex-direction: column; align-items: start; gap: 16px; }
  .entry__count { text-align: left; }
  .plan ol { grid-template-columns: repeat(2, 1fr); }
  .plan a { height: 250px; padding: 12px; }
  .room__head { grid-template-columns: minmax(0, 1fr); }
  .room__text { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .cat__opt { display: none; }
  .about__cols { grid-template-columns: minmax(0, 1fr); }
  .cv { grid-template-columns: minmax(0, 1fr); }
  .expo__list li { grid-template-columns: 5ch minmax(0, 1fr); gap: 4px 12px; }
  .expo__m { grid-column: 1; grid-row: 2; }
  .expo__t, .expo__d { grid-column: 2; }
  .press a { grid-template-columns: minmax(0, 1fr) auto; }
  .press__src { grid-column: 1 / -1; }
  .lb__bar { flex-direction: column; align-items: stretch; }
  .lb__ctrl { justify-content: flex-end; }
  .lb__img { max-height: calc(100dvh - 210px); }
}
.legal__btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Cartel : le titre mène à la page de l'œuvre */
a.cartel__title { text-decoration: none; }
a.cartel__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.room__link { grid-column: 1; margin: 22px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.room__link a { text-underline-offset: 4px; }

/* Fil d'Ariane des pages intérieures */
.crumbs { padding: 0 var(--gutter); margin-bottom: clamp(28px, 4vw, 48px); font: 400 11px/1.5 var(--mono); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .7em; opacity: .5; }
.crumbs a { text-underline-offset: 3px; }
.crumbs [aria-current] { opacity: .9; }

/* Page d'une salle : salles voisines */
.suite { display: grid; grid-template-columns: 1fr 1fr; }
.suite a { display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px) var(--gutter); background: var(--wall); color: var(--ink); text-decoration: none; }
.suite span { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.suite b { font: 800 clamp(28px, 4vw, 60px)/.9 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.suite__next { text-align: right; }
.suite a:hover b { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .1em; }

/* Page d'une œuvre : l'œuvre sur le mur de sa salle */
.oeuvre { background: var(--wall); color: var(--ink); padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.oeuvre__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: 0 var(--gutter); }
.oeuvre__fig { margin: 0; display: flex; justify-content: center; }
.oeuvre__fig img { width: min(100%, calc((100vh - var(--top-h) - 120px) * var(--ar))); height: auto; aspect-ratio: var(--ar); object-fit: contain; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8), 0 3px 10px -4px rgb(0 0 0 / .4); }
.oeuvre__title { font-size: clamp(36px, 4.6vw, 80px); margin-bottom: clamp(20px, 3vw, 36px); overflow-wrap: anywhere; }
.oeuvre__dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 15px; }
.oeuvre__dl dt { font: 400 11px/1.9 var(--mono); text-transform: uppercase; opacity: .85; }
.oeuvre__dl dd { margin: 0; }
.oeuvre__steps { display: flex; justify-content: space-between; gap: 12px; margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); font: 500 12px/1 var(--mono); }
.oeuvre__steps span:not(:nth-child(2)) { visibility: hidden; }
.oeuvre__steps a { text-underline-offset: 3px; }
.oeuvre__contact { margin: 22px 0 0; font: 400 12px/1.5 var(--mono); opacity: .9; }
.oeuvre__more { padding: clamp(56px, 8vw, 96px) var(--gutter) 0; }
.oeuvre__more h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 24px; }
.oeuvre__more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.oeuvre__more a { display: grid; gap: 6px; text-decoration: none; font-size: 13px; line-height: 1.25; font-stretch: 85%; font-weight: 600; }
.oeuvre__more img { width: 100%; aspect-ratio: 1; object-fit: contain; object-position: left bottom; margin-bottom: 4px; }
.oeuvre__more small { font: 400 11px/1 var(--mono); opacity: .9; }
.oeuvre__more a:hover span { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .oeuvre__grid { grid-template-columns: minmax(0, 1fr); }
  .oeuvre__fig img { width: min(100%, calc(70vh * var(--ar))); }
  .suite { grid-template-columns: minmax(0, 1fr); }
  .suite__next { text-align: left; }
}

/* Page introuvable */
.nf__t { font-size: clamp(56px, 11vw, 180px); max-width: 12ch; margin-bottom: clamp(20px, 3vw, 36px); }
.nf .entry__lead a { text-underline-offset: 3px; }
