/* arnauddeturckheim.com - palette reprise de l'identité de « Ce Qui Demeure » (carton, preview) */
:root {
  --ink: #16203a; --soft: #5b6275; --faint: #8a8f9c; --rule: #d3cfc5;
  --paper: #f1efe9; --paper-2: #e8e5dc; --night: #121a2f;
  --serif: 'EB Garamond', Georgia, serif; --display: 'Cormorant Garamond', Georgia, serif;
  --gut: clamp(20px, 4vw, 56px); --head: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 18px/1.62 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
h1, h2 { font-family: var(--display); font-weight: 300; line-height: 1; letter-spacing: -.005em; }
h1 { font-size: clamp(48px, 7.4vw, 104px); }
h2 { font-size: clamp(36px, 4.4vw, 60px); }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; font-family: var(--serif); }
.lead { font-family: var(--display); font-size: clamp(22px, 2.3vw, 29px); line-height: 1.34; font-weight: 300; }
.prose p + p { margin-top: 1em; }
.prose { hyphens: auto; }
.arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
         border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.arrow::after { content: '→'; letter-spacing: 0; transition: transform .25s; }
.arrow:hover::after, a:hover > .arrow::after, a:hover .expo-text .arrow::after { transform: translateX(5px); }
section { padding: clamp(64px, 9vw, 128px) 0; }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--soft); font-size: 15px; padding-top: 2px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; height: var(--head); background: rgba(241,239,233,.9);
       backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top .wrap { max-width: none; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--display); font-size: 23px; font-weight: 400; white-space: nowrap; }
.top nav { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.top nav a { color: var(--soft); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); border-color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.menu .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* Pied */
.foot { border-top: 1px solid var(--rule); padding: 36px 0 44px; font-size: 15px; color: var(--soft); }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: start; gap: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-col .k { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.foot-col a { color: var(--ink); border-bottom: 1px solid var(--rule); align-self: flex-start; }
.foot .rights { text-align: right; font-size: 14px; }
.foot .brand { color: var(--ink); font-size: 20px; }
.foot a:hover { color: var(--ink); }

/* Légendes sous image */
.cap { display: block; margin-top: 12px; font-size: 14.5px; color: var(--soft); }

/* Accueil */
.home-hero { padding: 0 var(--gut) var(--gut) 0; display: grid; grid-template-columns: 1fr auto; height: calc(100svh - var(--head)); min-height: 560px; }
.home-intro { padding: clamp(40px, 6vw, 96px) var(--gut) 0; display: flex; flex-direction: column; justify-content: flex-end; }
.home-intro h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .92; }
.home-intro .lead { max-width: 30ch; margin-top: 36px; color: var(--soft); }
.home-intro .links { margin-top: 44px; }
.home-baobab { position: relative; display: block; background: var(--night); overflow: hidden; }
.home-baobab img { height: 100%; width: auto; max-width: 58vw; object-fit: cover; object-position: 50% 80%; }
.home-baobab .cap { position: absolute; left: 22px; bottom: 18px; margin: 0; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.home-expo { padding-bottom: 0; }
.expo-card { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.expo-card img { width: 100%; transition: opacity .4s; }
.expo-card:hover img { opacity: .92; }
.expo-text h2 { font-size: clamp(44px, 5vw, 72px); }
.expo-text .meta { margin: 18px 0 22px; color: var(--soft); }
.expo-text p:not(.kicker):not(.meta) { margin-bottom: 30px; }
.home-statement { text-align: center; }
.home-statement blockquote { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.18; }
.home-statement .attr { margin-top: 22px; color: var(--soft); font-size: 15px; letter-spacing: .04em; }
.home-last { padding-top: 0; }
.wide img { width: 100%; }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.home-links a { padding: 28px 24px 8px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.home-links a + a { padding-left: 24px; }
.home-links a:last-child { border-right: 0; }
.home-links .kicker { margin-bottom: 10px; }
.home-links .big { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; transition: opacity .2s; }
.home-links a:hover .big { opacity: .6; }

/* En-têtes de pages */
.page-head { padding-bottom: clamp(40px, 5vw, 72px); }
.page-head .lead { max-width: 40ch; margin-top: 28px; color: var(--soft); }
.page-head .lead a { color: var(--ink); border-bottom: 1px solid var(--rule); }

/* Grille de photographies */
.grid-wrap { padding-top: 0; }
.tile { display: block; break-inside: avoid; margin-bottom: clamp(36px, 4.5vw, 64px); }
.tile img { width: 100%; transition: opacity .35s; background: var(--paper-2); }
.tile:hover img { opacity: .85; }
.tile .t { display: block; margin-top: 14px; font-size: 19px; line-height: 1.25; }
.tile .m { display: block; font-size: 14.5px; color: var(--soft); }

/* Page œuvre */
.work-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: calc(100svh - var(--head)); }
.work-img { background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 64px); }
.work-img a { cursor: zoom-in; }
.work-img img { max-height: calc(100svh - var(--head) - 2 * clamp(24px, 4vw, 64px)); width: auto; box-shadow: 0 10px 34px rgba(22,32,58,.18); }
.work-info { padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px); display: flex; flex-direction: column; border-left: 1px solid var(--rule); }
.work-info h1 { font-size: clamp(38px, 3.4vw, 52px); font-style: italic; line-height: 1.04; }
.work-info .place { margin-top: 16px; color: var(--soft); }
.excerpt { margin: 30px 0 4px; padding-left: 18px; border-left: 1px solid var(--ink); font-family: var(--display); font-size: 21px; line-height: 1.35; font-style: italic; }
.excerpt cite { display: block; margin-top: 10px; font-family: var(--serif); font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.work-info dl { margin-top: 32px; font-size: 15px; border-top: 1px solid var(--rule); }
.work-info dl div { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.work-info dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.work-info dd a { border-bottom: 1px solid var(--rule); }
.work-info .ask { margin-top: 30px; }
.pager { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--soft); }
.pager a:hover { color: var(--ink); }
.pager a[data-close] { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; align-self: center; }

/* Expositions (liste) */
.expo-row { display: grid; grid-template-columns: 90px 1fr 1fr 200px; gap: 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.expo-row .y { color: var(--soft); }
.expo-row .t { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.expo-row .m { font-size: 15px; color: var(--soft); }
.expo-row img { width: 200px; transition: opacity .3s; }
.expo-row:hover img { opacity: .85; }

/* Page exposition */
.expo-hero { padding: 0; }
.expo-hero img { width: 100%; height: min(82svh, 66vw); object-fit: cover; object-position: 50% 62%; }
.expo-band { padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.expo-band .wrap { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: end; }
.expo-band .sub { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(21px, 2.2vw, 28px); margin-top: 10px; }
.expo-intro .prose { font-size: 19px; }
.expo-baobab { background: var(--night); color: #e9e6dd; }
.expo-baobab figure { max-width: 560px; margin: 0 auto; }
.expo-baobab figcaption { margin-top: 18px; font-size: 15px; color: rgba(233,230,221,.7); text-align: center; }
.expo-works .note { max-width: 62ch; color: var(--soft); margin: 22px 0 48px; font-size: 16px; }
.essay { background: var(--paper-2); }
.essay-head { max-width: 760px; margin-bottom: 52px; }
.essay-head .by { margin-top: 16px; color: var(--soft); }
.essay-body { columns: 2; column-gap: clamp(36px, 5vw, 72px); font-size: 17.5px; text-align: justify; hyphens: auto; }
.essay-body p { orphans: 3; widows: 3; }
.essay-body p + p { margin-top: .9em; }
.essay-body p:first-child::first-letter { font-family: var(--display); font-size: 4.1em; float: left; line-height: .8; margin: 6px 10px 0 0; }
.essay sup { font-size: .62em; line-height: 0; }
.essay sup a { color: var(--soft); }
.essay .sig { font-style: italic; text-align: right; margin-top: 1.4em; }
.notes { list-style: none; columns: 2; column-gap: clamp(36px, 5vw, 72px); margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--soft); }
.notes li { break-inside: avoid; margin-bottom: 12px; }
.notes a { color: var(--ink); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-list .who, .contact-page .who { font-family: var(--display); font-size: 30px; font-weight: 300; line-height: 1.1; }
.contact-list .role { color: var(--soft); margin-bottom: 8px; font-size: 15px; }
.contact-list a, .contact-page a:not(.contact-img) { border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.contact-list a:hover, .contact-page a:hover { border-color: var(--ink); }
.credits { grid-column: 1 / -1; color: var(--soft); font-size: 15px; font-style: italic; padding-top: 24px; border-top: 1px solid var(--rule); }

/* À propos */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.portrait { position: sticky; top: calc(var(--head) + 32px); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.about-grid .lead { margin: 30px 0 40px; }
.about-grid .prose { max-width: 62ch; }
.statement { background: var(--night); color: #ebe8df; }
.statement .kicker { color: rgba(235,232,223,.6); }
.statement .prose { font-family: var(--display); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; font-weight: 300; }
.strip { padding: 0; }
.strip-row { max-width: none; padding: 0; display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; }
.strip-row img { width: 100%; height: clamp(240px, 32vw, 520px); object-fit: cover; }
.cv .facts dd em { font-style: italic; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 40%); gap: clamp(36px, 6vw, 104px); align-items: center; }
.contact-page .lead { margin: 28px 0 40px; color: var(--soft); max-width: 30ch; }
.contact-page .mail { font-family: var(--display); font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; }
.curator { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--rule); max-width: 420px; }
.curator .kicker { margin-bottom: 10px; }
.contact-img img { width: 100%; max-height: 78svh; object-fit: cover; }

/* Mobile */
@media (max-width: 1000px) {
  .work-page { grid-template-columns: 1fr; }
  .work-info { border-left: 0; border-top: 1px solid var(--rule); }
  .work-img img { max-height: 76svh; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .burger { display: block; }
  .top nav { position: fixed; inset: var(--head) 0 auto 0; flex-direction: column; gap: 0; background: var(--paper);
             border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .menu .top nav { opacity: 1; transform: none; pointer-events: auto; }
  .top nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
  .home-hero { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 0 var(--gut); }
  .home-intro { padding-left: 0; padding-right: 0; }
  .home-baobab img { width: 100%; max-width: none; }
  .home-intro { order: 2; padding-top: 40px; padding-bottom: 8px; }
  .home-baobab { height: 72svh; }
  .expo-card, .two, .about-grid, .contact-grid, .expo-band .wrap { grid-template-columns: 1fr; }
  .home-links { grid-template-columns: 1fr; }
  .home-links a, .home-links a + a { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .essay-body, .notes { columns: 1; }
  .contact-list { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .strip-row { grid-template-columns: 1fr 1fr; }
  .strip-row a:last-child { display: none; }
  .expo-row { grid-template-columns: 1fr; gap: 10px; }
  .expo-row img { width: 100%; order: -1; }
  .facts div { grid-template-columns: 110px 1fr; }
}
@media (max-width: 520px) {

}

/* Bilingue : sélecteur de langue */
.top .right { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.lang { font-size: 12px; letter-spacing: .18em; color: var(--ink); border: 1px solid var(--rule); padding: 5px 9px 4px; line-height: 1; transition: border-color .2s; }
.lang:hover { border-color: var(--ink); }
.translated { margin-top: 8px; font-size: 14px; font-style: italic; color: var(--faint); }
@media (max-width: 820px) { .top .right { gap: 10px; } }


/* Footer : grille conservée sur mobile */
@media (max-width: 820px) { .foot .wrap { grid-template-columns: 1fr; gap: 20px; } .foot .rights { text-align: left; } }

/* Visionneuse : la photo prend toute la scène ; une barre unique en bas */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gallery { padding: 0; }
.viewer { --bg: var(--paper); --fg: var(--ink); --mute: var(--soft); --line: var(--rule); --bar: 64px; --pad: clamp(10px, 1.6vw, 22px);
          position: relative; background: var(--bg); color: var(--fg); display: flex; flex-direction: column;
          height: calc(100svh - var(--head)); min-height: 480px; outline: none; user-select: none; -webkit-user-select: none; }
.viewer.night { --bg: #0e1424; --fg: #ebe8df; --mute: rgba(235,232,223,.5); --line: rgba(235,232,223,.14); height: 100svh; }
.viewer:fullscreen { height: 100vh; --bg: #0b0f1b; --fg: #ebe8df; --mute: rgba(235,232,223,.5); --line: rgba(235,232,223,.14); }
.stage { position: relative; flex: 1; min-height: 0; margin: var(--pad) var(--pad) 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden;
         transition: opacity .55s ease, visibility 0s linear .55s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.slide img { position: absolute; inset: 0; margin: auto; display: block; width: auto; height: auto;
             max-width: 100%; max-height: 100%; opacity: 0; transition: opacity .4s ease; }
.slide img.ready { opacity: 1; }
.nav { position: absolute; top: 0; bottom: 0; width: 50%; background: none; border: 0; z-index: 2; color: var(--fg);
       display: flex; align-items: center; padding: 0 clamp(8px, 1.4vw, 20px); opacity: 0; transition: opacity .25s; }
.nav span { font: 300 30px/1 var(--display); text-shadow: 0 0 12px rgba(0,0,0,.25); }
.nav.prev { left: 0; cursor: w-resize; justify-content: flex-start; }
.nav.next { right: 0; cursor: e-resize; justify-content: flex-end; }
.stage:hover .nav { opacity: .55; } .stage .nav:hover { opacity: 1; }
.vbar { flex: 0 0 var(--bar); display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, auto) auto; align-items: center;
        gap: clamp(14px, 2vw, 32px); padding: 0 var(--pad); }
.count { font-size: 13px; letter-spacing: .12em; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.count b { font-weight: 400; color: var(--fg); }
.count i { font-style: normal; margin: 0 .35em; }
.caps { min-width: 0; }
.vcap { display: none; align-items: baseline; gap: 14px; white-space: nowrap; overflow: hidden; }
.vcap.on { display: flex; animation: capin .45s ease; }
@keyframes capin { from { opacity: 0; } }
.vcap .t { font-family: var(--display); font-size: 22px; line-height: 1; }
.vcap .m { font-size: 14px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.vcap .more { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.vcap .more:hover { color: var(--fg); }
.strip { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; max-width: min(42vw, 640px); padding: 6px 2px; }
.strip::-webkit-scrollbar { display: none; }
.th { flex: 0 0 auto; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .3; transition: opacity .25s; position: relative; }
.th img { height: 100%; width: auto; }
.th:hover { opacity: .8; }
.th.on { opacity: 1; }
.th.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--fg); }
.fs { background: none; border: 0; color: var(--mute); cursor: pointer; padding: 6px; display: grid; place-items: center; transition: color .2s; }
.fs:hover { color: var(--fg); }
.is-gallery .foot { border-top: 0; }
.expo-works.night { background: #0e1424; color: #ebe8df; padding-bottom: 0; }
.expo-works.night .kicker, .expo-works.night .note { color: rgba(235,232,223,.6); }
.expo-works.night .credits { color: rgba(235,232,223,.55); text-align: center; font-style: italic; font-size: 15px; margin-top: 20px; }
.expo-works .note { margin-bottom: 0; }

.contact-page .sales { color: var(--soft); margin-bottom: 14px; max-width: 38ch; }
.foot-col a + a { margin-top: 2px; }

@media (max-width: 820px) {
  .viewer, .viewer.night { height: auto; min-height: 0; }
  .stage { flex: none; height: min(72svh, 118vw); margin: 0; transition: height .45s ease; }
  .vbar { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto auto; row-gap: 10px; padding: 14px var(--gut) 18px; flex-basis: auto; }
  .count { grid-column: 1; grid-row: 1; }
  .fs { grid-column: 3; grid-row: 1; }
  .caps { grid-column: 1 / -1; grid-row: 2; }
  .vcap { flex-wrap: wrap; white-space: normal; row-gap: 4px; }
  .strip { grid-column: 1 / -1; grid-row: 3; max-width: none; }
  .nav { display: none; }
}
