
:root{
  --bg:#f6f3ed; --paper:#fffdf8; --ink:#181614; --muted:#746d65;
  --line:#d9d2c8; --accent:#7a2637; --accent2:#a88654; --dark:#171513;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%}
::selection{background:var(--accent);color:white}

.site-header{
  position:sticky;top:0;z-index:60;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding:17px 4.5vw;background:rgba(246,243,237,.95);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)
}
.brand{line-height:1}.brand-kicker{display:block;font-size:.64rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.brand-main{display:block;margin-top:5px;font:400 1.42rem Georgia,serif}
.main-nav{display:flex;align-items:center;gap:20px;font-size:.82rem}
.main-nav a{position:relative;padding:7px 0}.main-nav a:after{content:"";position:absolute;left:0;bottom:1px;width:0;height:1px;background:var(--accent);transition:.25s}
.main-nav a:hover:after{width:100%}.menu-btn{display:none;border:1px solid var(--line);background:transparent;border-radius:999px;padding:8px 12px}

.eyebrow{margin:0 0 14px;text-transform:uppercase;letter-spacing:.19em;font-size:.66rem;font-weight:700;color:var(--accent)}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.02;letter-spacing:-.035em}
h1{font-size:clamp(3.3rem,7vw,7.3rem)}h2{font-size:clamp(2.4rem,5vw,5rem)}h3{font-size:clamp(1.55rem,2.4vw,2.2rem)}
.text-link,.arrow-link{display:inline-block;margin-top:18px;font-weight:700;color:var(--accent);border-bottom:1px solid currentColor}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border-radius:999px;border:0;background:var(--accent);color:white;font-weight:700}
.btn-light{background:white;color:var(--ink)}.btn-outline-light{border:1px solid rgba(255,255,255,.55);background:transparent;color:white}
.btn-link-light{color:white;border-bottom:1px solid rgba(255,255,255,.55)}
.home-hero{
  position:relative;min-height:calc(100vh - 73px);display:grid;grid-template-columns:1.08fr .92fr;
  color:var(--ink);background:var(--paper);overflow:hidden
}
.home-hero:before{content:"";position:absolute;inset:0 48% 0 0;background-image:var(--hero-image,linear-gradient(135deg,#b9aa95,#5b5044));background-size:cover;background-position:center}
.home-hero-overlay{display:none}
.home-hero-inner{grid-column:2;display:flex!important;align-items:center!important;padding:8vw 7vw 8vw 5.5vw!important;width:auto!important}
.home-hero-copy{max-width:720px;color:var(--ink)!important}
.hero-status{display:flex;align-items:center;gap:10px;font-size:.67rem;text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:var(--accent);margin-bottom:22px}
.status-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}
.home-hero h1{margin:0 0 18px;font:400 clamp(3.8rem,7vw,7.6rem)/.9 Georgia,serif;letter-spacing:-.05em;color:var(--ink)}
.hero-subtitle{margin:0 0 24px;font:italic 400 clamp(1.3rem,2.2vw,2.35rem) Georgia,serif;color:var(--muted)}
.hero-meta{display:flex;flex-wrap:wrap;gap:10px 24px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.84rem}
.hero-intro{max-width:600px;color:#3f3a35;font-size:1.03rem;margin:22px 0 28px}
.hero-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.home-hero .btn-light{background:var(--accent);color:white}.home-hero .btn-link-light{color:var(--ink);border-color:var(--ink)}
.hero-signature{display:none}.scroll-cue{display:none}
.home-hero.no-image:before{background:linear-gradient(135deg,#c5b9a6,#6d5e50)}

.intro-strip{display:flex;justify-content:center;gap:25px;align-items:center;padding:16px 4vw;border-bottom:1px solid var(--line);font-size:.64rem;text-transform:uppercase;letter-spacing:.18em;color:var(--muted);background:#fff}
.intro-strip i{width:4px;height:4px;border-radius:50%;background:var(--accent2)}

.section{padding:clamp(80px,9vw,130px) 6vw}.section-program{background:#eee8de}
.section-head{margin-bottom:44px}.split-head{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:end}
.section h2,.place-editorial h2,.archive-feature h2,.visit-section h2{margin:.12em 0;font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em;line-height:.95}
.section-lead{max-width:540px;color:var(--muted)}
.cards{display:grid;gap:24px}.exhibition-cards{grid-template-columns:repeat(3,1fr)}
.expo-card{background:transparent}.expo-card-media{position:relative;display:block;overflow:hidden;aspect-ratio:4/3;background:#d8d0c5;border-radius:2px}
.featured-card .expo-card-media{aspect-ratio:4/3}.expo-card-media img,.art-placeholder{width:100%;height:100%;object-fit:cover}
.art-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#baa995,#675b4f);font:400 5rem Georgia,serif;color:rgba(255,255,255,.5)}
.expo-card-date{position:absolute;top:14px;left:14px;background:rgba(255,253,248,.94);padding:10px 12px;min-width:58px;text-align:center;font:400 1rem Georgia,serif}
.expo-card-date small{display:block;font:600 .55rem Arial,sans-serif;letter-spacing:.1em}
.expo-card-body{padding:18px 2px 0}.expo-card-body h3{margin:.2em 0}.expo-card-body p{color:var(--muted)}
.empty-elegant{padding:40px;border:1px solid var(--line);font:400 1.35rem Georgia,serif;color:var(--muted)}

.place-editorial{display:grid;grid-template-columns:1fr 1fr;background:var(--dark);color:white}
.place-editorial-visual{min-height:700px}.stone-visual{height:100%;min-height:700px;display:grid;place-items:center;background:linear-gradient(135deg,#a99a86,#4c433a);position:relative;overflow:hidden}
.stone-visual:before{content:"";position:absolute;width:42%;height:70%;border:1px solid rgba(255,255,255,.3);border-radius:50% 50% 6px 6px/25% 25% 6px 6px}
.stone-visual span{position:relative;z-index:2;font:400 clamp(1.2rem,2.3vw,2.5rem) Georgia,serif;letter-spacing:.2em}
.place-number{position:absolute;right:20px;bottom:-36px;font:400 9rem Georgia,serif;color:rgba(255,255,255,.13)}
.place-editorial-copy{padding:8vw 7vw;display:flex;flex-direction:column;justify-content:center}.place-editorial-copy .eyebrow{color:#caa76f}
.large-copy{font:400 clamp(1.3rem,1.8vw,1.7rem)/1.45 Georgia,serif;color:#d7d0c8}

.artists-section{background:var(--paper)}
.artist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.artist-tile{position:relative;min-height:360px;border:1px solid var(--line);background:#eee8df;overflow:hidden}
.artist-tile.has-photo img{width:100%;height:100%;min-height:360px;object-fit:cover;transition:transform .35s ease}
.artist-tile.has-photo:hover img{transform:scale(1.025)}
.artist-overlay{position:absolute;left:0;right:0;bottom:0;padding:62px 22px 20px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:white}
.artist-overlay strong,.artist-overlay small,.artist-overlay b{display:block}.artist-overlay strong{font:400 1.6rem Georgia,serif}.artist-overlay small{color:#ddd}.artist-overlay b{margin-top:10px;font-size:.72rem}

/* NO PHOTO = graphic identity card instead of empty placeholder */
.artist-tile.no-photo{background:var(--paper)}
.artist-no-photo{min-height:360px;height:100%;display:grid;grid-template-rows:1fr auto;padding:26px;position:relative;overflow:hidden}
.artist-no-photo:before,.artist-no-photo:after{content:"";position:absolute;border:1px solid #d7cfc4;border-radius:50%}
.artist-no-photo:before{width:230px;height:230px;right:-80px;top:24px}
.artist-no-photo:after{width:120px;height:120px;left:-35px;bottom:56px}
.artist-monogram{align-self:center;justify-self:center;width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:white;font:400 2.35rem Georgia,serif;z-index:2}
.artist-meta{z-index:2;border-top:1px solid var(--line);padding-top:18px}
.artist-meta strong{display:block;font:400 1.55rem Georgia,serif}.artist-meta small{display:block;color:var(--muted);margin-top:4px}
.artist-tile.no-photo:hover{background:#f0ebe3}.artist-tile.no-photo:hover .artist-monogram{background:#5f1726}

.archive-feature{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding:9vw 6vw;background:#ebe4d9;color:var(--ink)}
.archive-feature-copy p:not(.eyebrow){max-width:620px;color:var(--muted)}.archive-years{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-end;font:400 clamp(2.8rem,5.5vw,6.5rem) Georgia,serif;color:#c8bbab}
.visit-section{padding:8vw 6vw;background:white}.visit-heading{display:grid;grid-template-columns:.4fr 1fr;gap:30px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:28px}
.visit-grid{display:grid;grid-template-columns:repeat(3,1fr)}.visit-grid>div{padding:28px 30px 5px 0;margin-right:30px;border-right:1px solid var(--line)}.visit-grid>div:last-child{border-right:0}
.visit-label{font-size:.64rem;text-transform:uppercase;letter-spacing:.17em;font-weight:800;color:var(--muted)}

.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:55px 6vw;background:#12100f;color:#d9d4ce}.site-footer a{color:white}.site-footer strong{font:400 1.4rem Georgia,serif}

.page-hero{padding:12vh 6vw 6vh;background:var(--paper);border-bottom:1px solid var(--line)}.page-hero h1{margin:.1em 0}
.exhibition-hero{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center;padding:75px 6vw;background:var(--paper)}.exhibition-hero img{width:100%;max-height:760px;object-fit:cover}
.article{padding:55px 6vw 95px;font-size:1.08rem}.narrow{max-width:980px;margin:auto}
.gallery-grid{padding:0 6vw 95px;display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.gallery-grid figure{margin:0}.gallery-grid img{width:100%;max-height:720px;object-fit:cover}.gallery-grid figcaption{margin-top:8px;color:var(--muted);font-size:.88rem}
.artist-feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center;padding:90px 6vw;background:#ebe5db}.artist-feature img{width:100%;max-height:680px;object-fit:cover}.artist-feature.standalone{background:var(--paper)}
.artist-placeholder.tall{min-height:580px;background:#e8e1d7}
.archive-year{margin-bottom:70px}.program-row{display:grid;grid-template-columns:135px 1fr 1fr;gap:30px;padding:22px 0;border-top:1px solid var(--line);align-items:center}.program-row strong{font:400 1.45rem Georgia,serif}.program-row em{font-style:normal;color:var(--muted)}
.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:65px;padding:75px 6vw 105px}.form label{display:block;font-size:.82rem;font-weight:700;margin-bottom:14px}.form input,.form textarea{display:block;width:100%;margin-top:6px;padding:14px;border:1px solid var(--line);background:white;font:inherit}
.preview-banner{position:sticky;top:0;z-index:100;background:#1e1b18;color:#fff;padding:10px 5vw;text-align:center;font-size:.82rem}.preview-banner a{color:#e0bf85;margin-left:12px}
.info-note{margin:35px 0;padding:22px;border-left:3px solid var(--accent);background:#ebe4d9}
.video-section{background:#e9e2d8}.video-link{display:inline-flex;align-items:center;justify-content:center;min-height:220px;width:100%;border:1px solid var(--line);font:400 clamp(1.8rem,4vw,4rem) Georgia,serif;background:#1b1917;color:#fff}
.video-frame{position:relative;aspect-ratio:16/9;max-width:1200px;margin:auto;background:#111}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

@media(max-width:1050px){
  .main-nav{gap:11px;font-size:.74rem}.home-hero{grid-template-columns:1fr}.home-hero:before{position:relative;display:block;inset:auto;min-height:58vh;grid-row:1}.home-hero-inner{grid-column:1!important;grid-row:2;padding:60px 6vw 75px!important}
  .exhibition-cards,.artist-grid{grid-template-columns:repeat(2,1fr)}.place-editorial{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .site-header{padding:13px 18px}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px;background:var(--bg);flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.menu-btn{display:block}
  .home-hero:before{min-height:48vh}.home-hero-inner{padding:50px 22px 65px!important}.intro-strip{justify-content:flex-start;overflow:auto;padding-left:22px}
  .section{padding:75px 22px}.split-head,.place-editorial,.archive-feature,.visit-heading,.exhibition-hero,.artist-feature,.contact-layout{grid-template-columns:1fr}
  .exhibition-cards,.artist-grid,.gallery-grid{grid-template-columns:1fr}.place-editorial-visual,.stone-visual{min-height:500px}.place-editorial-copy{padding:65px 22px}.archive-feature{padding:70px 22px}.archive-years{justify-content:flex-start}
  .visit-section{padding:70px 22px}.visit-grid{grid-template-columns:1fr}.visit-grid>div{border-right:0;border-bottom:1px solid var(--line);margin:0;padding:22px 0}
  .site-footer{grid-template-columns:1fr;padding:48px 22px}.page-hero,.exhibition-hero,.artist-feature,.contact-layout,.gallery-grid{padding-left:22px;padding-right:22px}.program-row{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}


/* v0.4.1 — Exhibition page refinement */
.exhibition-hero{
  grid-template-columns:minmax(0,.9fr) minmax(320px,.72fr);
  max-width:1500px;
  margin:0 auto;
}
.exhibition-hero > div:first-child{max-width:760px}
.exhibition-hero img{
  width:100%;
  max-width:620px;
  max-height:520px;
  justify-self:end;
  object-fit:cover;
  border-radius:2px;
  box-shadow:0 18px 50px rgba(31,24,18,.10);
}

/* Small, elegant gallery thumbnails */
.exhibition-gallery-section{
  padding:30px 6vw 100px;
  background:var(--paper);
}
.compact-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:26px;
}
.compact-head h2{margin:.1em 0}
.gallery-hint{
  margin:0 0 8px;
  color:var(--muted);
  font-size:.86rem;
}
.exhibition-gallery{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.gallery-thumb{margin:0}
.gallery-open{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:4/3;
  padding:0;
  overflow:hidden;
  background:#e6dfd6;
  border:0;
  cursor:zoom-in;
}
.gallery-open img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease, filter .3s ease;
}
.gallery-open:hover img{transform:scale(1.025);filter:brightness(.88)}
.gallery-zoom{
  position:absolute;
  right:10px;
  bottom:10px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(20,18,16,.72);
  color:white;
  font-size:.66rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(5px);
  transition:.2s ease;
}
.gallery-open:hover .gallery-zoom{opacity:1;transform:none}
.gallery-thumb figcaption{
  margin-top:8px;
  color:var(--muted);
  font-size:.8rem;
  line-height:1.35;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:250;
  display:none;
  align-items:center;
  justify-content:center;
  padding:50px 80px;
  background:rgba(12,11,10,.94);
  backdrop-filter:blur(7px);
}
.lightbox.open{display:flex}
.lightbox-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  max-width:min(1500px,88vw);
  max-height:88vh;
}
.lightbox-content img{
  max-width:100%;
  max-height:80vh;
  object-fit:contain;
  box-shadow:0 25px 80px rgba(0,0,0,.38);
}
.lightbox-caption{
  min-height:24px;
  margin-top:12px;
  color:#ddd5cc;
  font-size:.86rem;
  text-align:center;
}
.lightbox-close,
.lightbox-nav{
  position:absolute;
  border:0;
  background:transparent;
  color:white;
  cursor:pointer;
  line-height:1;
}
.lightbox-close{
  top:18px;
  right:24px;
  font-size:2.7rem;
  font-weight:200;
}
.lightbox-nav{
  top:50%;
  transform:translateY(-50%);
  font-size:4rem;
  padding:20px;
}
.lightbox-prev{left:12px}
.lightbox-next{right:12px}
body.lightbox-open{overflow:hidden}

@media(max-width:1100px){
  .exhibition-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .exhibition-hero{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .exhibition-hero{grid-template-columns:1fr}
  .exhibition-hero img{justify-self:start;max-width:100%;max-height:460px}
  .compact-head{display:block}
  .exhibition-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lightbox{padding:44px 16px}
  .lightbox-nav{font-size:3rem;padding:12px}
}
@media(max-width:520px){
  .exhibition-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .gallery-thumb figcaption{font-size:.74rem}
  .lightbox-prev{left:0}.lightbox-next{right:0}
}


/* v0.5.0 — fiche exposition éditoriale + invitation + formats naturels */
.media-upload-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}

.home-current-editorial{
  padding:90px 6vw;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.home-invitation{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px;
  align-items:center;
  max-width:1300px;
  margin:0 auto 100px;
}
.home-invitation-copy{max-width:520px}
.invitation-card-open{
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
}
.invitation-card-open img{
  width:100%;
  height:auto;
  max-height:700px;
  object-fit:contain;
  box-shadow:0 22px 70px rgba(40,30,22,.13);
}
.invitation-card-open span{
  position:absolute;
  right:12px;bottom:12px;
  padding:7px 11px;border-radius:999px;
  background:rgba(20,18,16,.76);color:white;
  font-size:.68rem;text-transform:uppercase;letter-spacing:.08em
}
.home-artist-video{max-width:1300px;margin:0 auto}
.home-video-heading{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:end;
  margin-bottom:32px;
}
.home-video-heading h2{margin:.1em 0}
.home-video-heading>p{color:var(--muted);max-width:560px}
.home-video-frame{max-width:1100px;margin:0}

.expo-editorial-hero{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(360px,.78fr);
  gap:70px;
  align-items:center;
  max-width:1500px;
  margin:auto;
  padding:90px 6vw 70px;
  background:var(--paper);
}
.expo-editorial-copy h1{margin:.12em 0}
.expo-subtitle{
  margin:0 0 30px;
  font:italic 400 clamp(1.35rem,2.2vw,2.35rem) Georgia,serif;
  color:var(--muted)
}
.expo-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:38px;
  padding-top:20px;
  border-top:1px solid var(--line)
}
.expo-meta-grid span{
  display:block;
  margin-bottom:7px;
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--muted)
}
.expo-meta-grid strong{font:400 1rem Georgia,serif}
.expo-editorial-visual img{
  width:100%;
  height:auto;
  max-height:600px;
  object-fit:contain;
  background:#eee8df;
  box-shadow:0 18px 55px rgba(35,27,20,.09)
}
.expo-stone{min-height:480px}

.expo-story{
  display:grid;
  grid-template-columns:.3fr .7fr;
  gap:70px;
  max-width:1250px;
  margin:auto;
  padding:80px 6vw 100px
}
.expo-lead{
  margin:0 0 35px;
  font:400 clamp(1.45rem,2.1vw,2rem)/1.45 Georgia,serif
}
.expo-body{max-width:780px;color:#403a35;font-size:1.04rem}

.expo-practical{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
  padding:85px 6vw;
  background:#eee8df
}
.expo-practical-main{max-width:620px}
.expo-hours{margin:28px 0}
.expo-hours>span{
  display:block;
  font-size:.65rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted)
}
.expo-invitation-panel{max-width:560px;justify-self:end;width:100%}

.editorial-gallery-section{background:var(--paper);padding-top:90px}
.natural-gallery{
  display:columns;
  columns:4 230px;
  column-gap:16px;
}
.natural-thumb{
  break-inside:avoid;
  margin:0 0 18px;
  display:inline-block;
  width:100%;
}
.natural-thumb .gallery-open{aspect-ratio:auto;background:transparent}
.natural-thumb .gallery-open img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.natural-thumb figcaption{padding-right:8px}

.expo-artist{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:70px;
  align-items:center;
  padding:100px 6vw;
  background:#f0ebe3
}
.expo-artist-visual{display:flex;justify-content:center}
.expo-artist-visual img{
  width:min(100%,500px);
  max-height:620px;
  object-fit:contain
}
.expo-artist-monogram{
  width:min(340px,70vw);
  aspect-ratio:1;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--accent);
  color:white;
  font:400 clamp(4rem,10vw,8rem) Georgia,serif
}
.expo-artist-copy{max-width:720px}
.artist-discipline{
  margin-top:-4px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.7rem
}
.expo-video-section{
  padding:95px 6vw 110px;
  background:var(--dark);
  color:white
}
.expo-video-heading{max-width:1100px;margin:0 auto 30px}
.expo-video-heading .eyebrow{color:#caa76f}
.expo-video-heading h2{margin:.1em 0}
.expo-video-section .video-frame{max-width:1100px}

.invitation-lightbox .lightbox-content img{
  max-width:min(1000px,90vw);
  max-height:88vh;
  object-fit:contain
}

@media(max-width:1050px){
  .media-upload-grid-three{grid-template-columns:1fr 1fr}
  .home-invitation,.expo-editorial-hero,.expo-practical,.expo-artist{grid-template-columns:1fr 1fr;gap:45px}
  .expo-story{grid-template-columns:.25fr .75fr;gap:40px}
}
@media(max-width:820px){
  .media-upload-grid-three{grid-template-columns:1fr}
  .home-current-editorial{padding:70px 22px}
  .home-invitation,.home-video-heading,.expo-editorial-hero,.expo-story,.expo-practical,.expo-artist{grid-template-columns:1fr}
  .home-invitation{gap:35px;margin-bottom:75px}
  .home-video-heading{gap:10px}
  .expo-editorial-hero{padding:60px 22px}
  .expo-meta-grid{grid-template-columns:1fr 1fr}
  .expo-story{padding:65px 22px 80px;gap:10px}
  .expo-practical,.expo-artist,.expo-video-section{padding:70px 22px}
  .expo-invitation-panel{justify-self:start}
  .natural-gallery{columns:2 150px}
}
@media(max-width:520px){
  .expo-meta-grid{grid-template-columns:1fr}
  .natural-gallery{columns:2 120px;column-gap:10px}
  .natural-thumb{margin-bottom:10px}
}


/* v0.5.1 — Compact professional proportions
   Réduit volontairement la sensation "tout est énorme" sans perdre le style éditorial. */

:root{
  --content-max:1280px;
}

/* Typography */
h1{font-size:clamp(2.6rem,5vw,5.2rem)}
h2{font-size:clamp(1.9rem,3.4vw,3.4rem)}
h3{font-size:clamp(1.25rem,1.8vw,1.75rem)}
.lede{font-size:1.05rem}
.eyebrow{font-size:.62rem;letter-spacing:.16em}

/* Header slightly denser */
.site-header{padding:13px 4vw}
.brand-main{font-size:1.26rem}
.main-nav{gap:17px;font-size:.8rem}

/* Homepage hero */
.home-hero{min-height:auto;grid-template-columns:1fr 1fr}
.home-hero:before{inset:0 50% 0 0}
.home-hero-inner{padding:6vw 6vw 6vw 5vw!important}
.home-hero h1{font-size:clamp(3rem,5.5vw,5.7rem);line-height:.94}
.hero-subtitle{font-size:clamp(1.15rem,1.7vw,1.8rem)}
.hero-intro{font-size:.98rem}
.hero-meta{font-size:.8rem}
.hero-actions{gap:14px}
.btn{padding:11px 16px;font-size:.84rem}
.intro-strip{padding:12px 4vw}

/* Section rhythm */
.section{padding:70px 5vw}
.section-head{margin-bottom:30px}
.split-head{gap:40px}
.section-lead{font-size:.96rem}
.exhibition-cards{gap:18px}
.expo-card-body{padding-top:13px}
.expo-card-media{aspect-ratio:4/3}
.expo-card-date{padding:7px 9px;font-size:.9rem}

/* Château section */
.place-editorial{min-height:560px}
.place-editorial-visual,.stone-visual{min-height:560px}
.place-editorial-copy{padding:6vw 6vw}
.large-copy{font-size:clamp(1.15rem,1.45vw,1.45rem)}

/* Artists */
.artist-grid{gap:14px}
.artist-tile,.artist-tile.has-photo img,.artist-no-photo{min-height:300px}
.artist-no-photo{padding:20px}
.artist-monogram{width:88px;height:88px;font-size:1.9rem}
.artist-meta strong,.artist-overlay strong{font-size:1.35rem}
.artist-overlay{padding:48px 18px 17px}

/* Archive / visit */
.archive-feature{padding:6vw 5vw;gap:45px}
.archive-years{font-size:clamp(2.2rem,4vw,4.6rem)}
.visit-section{padding:6vw 5vw}
.visit-grid>div{padding-top:20px}

/* Footer */
.site-footer{padding:42px 5vw}

/* General pages */
.page-hero{padding:8vh 5vw 4vh}
.article{padding:42px 5vw 70px}
.contact-layout{padding:55px 5vw 75px}

/* Exhibition detail page */
.expo-editorial-hero{
  grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);
  gap:45px;
  max-width:var(--content-max);
  padding:55px 5vw 45px;
}
.expo-editorial-copy h1{font-size:clamp(2.8rem,5vw,5rem)}
.expo-subtitle{font-size:clamp(1.15rem,1.8vw,1.8rem);margin-bottom:20px}
.expo-meta-grid{gap:12px;margin-top:25px;padding-top:15px}
.expo-meta-grid strong{font-size:.92rem}
.expo-editorial-visual img{
  max-width:480px;
  max-height:430px;
  justify-self:end;
}
.expo-stone{min-height:380px}

.expo-story{
  grid-template-columns:.24fr .76fr;
  gap:45px;
  max-width:1100px;
  padding:55px 5vw 70px;
}
.expo-lead{font-size:clamp(1.25rem,1.7vw,1.6rem);margin-bottom:25px}
.expo-body{font-size:1rem}

.expo-practical{
  gap:45px;
  padding:55px 5vw;
}
.expo-invitation-panel{max-width:430px}
.invitation-card-open img{max-height:520px}

.editorial-gallery-section{padding:60px 5vw 75px}
.compact-head{margin-bottom:20px}
.natural-gallery{columns:5 180px;column-gap:12px}
.natural-thumb{margin-bottom:12px}
.gallery-thumb figcaption{font-size:.76rem}

.expo-artist{
  grid-template-columns:.7fr 1.3fr;
  gap:50px;
  padding:65px 5vw;
}
.expo-artist-visual img{width:min(100%,380px);max-height:480px}
.expo-artist-monogram{width:min(260px,65vw)}
.expo-artist-copy{max-width:650px}
.expo-artist-copy p{font-size:.98rem}

.expo-video-section{padding:65px 5vw 80px}
.expo-video-heading{margin-bottom:22px}

/* Homepage current invitation/video section */
.home-current-editorial{padding:65px 5vw}
.home-invitation{gap:45px;max-width:1150px;margin-bottom:70px}
.home-invitation-copy{max-width:460px}
.home-invitation img{max-height:500px}
.home-video-heading{gap:40px;margin-bottom:24px}
.home-video-frame{max-width:950px}

/* Media queries */
@media(max-width:1050px){
  .home-hero{grid-template-columns:1fr 1fr}
  .home-hero-inner{padding:45px 5vw!important}
  .natural-gallery{columns:4 170px}
}

@media(max-width:820px){
  .section{padding:55px 20px}
  .home-hero{grid-template-columns:1fr}
  .home-hero:before{min-height:42vh}
  .home-hero-inner{padding:42px 20px 55px!important}
  .place-editorial-visual,.stone-visual{min-height:420px}
  .place-editorial-copy{padding:55px 20px}
  .artist-tile,.artist-tile.has-photo img,.artist-no-photo{min-height:260px}
  .expo-editorial-hero{padding:45px 20px 35px}
  .expo-editorial-visual img{max-width:100%;max-height:380px;justify-self:start}
  .expo-story{padding:45px 20px 55px}
  .expo-practical,.expo-artist,.expo-video-section{padding:50px 20px}
  .editorial-gallery-section{padding:50px 20px 60px}
  .natural-gallery{columns:3 150px}
  .home-current-editorial{padding:50px 20px}
}

@media(max-width:520px){
  h1{font-size:clamp(2.3rem,11vw,3.5rem)}
  h2{font-size:clamp(1.7rem,8vw,2.5rem)}
  .home-hero h1{font-size:clamp(2.7rem,13vw,4rem)}
  .natural-gallery{columns:2 120px}
  .artist-grid{grid-template-columns:1fr}
}

/* v0.5.2 — Équilibre visuel
   Hero d'accueil restauré, reste du site compact. */

.home-hero{
  min-height:calc(100vh - 73px);
  grid-template-columns:1.08fr .92fr;
}
.home-hero:before{inset:0 48% 0 0}
.home-hero-inner{padding:8vw 7vw 8vw 5.5vw!important}
.home-hero h1{font-size:clamp(3.8rem,7vw,7.6rem);line-height:.9}
.hero-subtitle{font-size:clamp(1.3rem,2.2vw,2.35rem)}
.hero-intro{font-size:1.03rem}
.hero-meta{font-size:.84rem}
.home-hero .btn{padding:13px 19px;font-size:.9rem}

.section{padding:58px 5vw}
.section-head{margin-bottom:24px}
.section h2,.place-editorial h2,.archive-feature h2,.visit-section h2{font-size:clamp(1.8rem,3vw,3rem)}
.section-lead{font-size:.92rem}
.exhibition-cards{gap:16px}
.expo-card-body{padding-top:11px}
.expo-card-body h3{font-size:1.35rem}
.expo-card-body p{font-size:.9rem}
.expo-card-date{padding:6px 8px;font-size:.84rem}

.place-editorial{min-height:470px}
.place-editorial-visual,.stone-visual{min-height:470px}
.place-editorial-copy{padding:4.5vw 5vw}
.large-copy{font-size:1.12rem}

.artist-tile,.artist-tile.has-photo img,.artist-no-photo{min-height:245px}
.artist-monogram{width:74px;height:74px;font-size:1.55rem}
.artist-overlay{padding:40px 16px 14px}
.artist-overlay strong,.artist-meta strong{font-size:1.2rem}
.artist-overlay small,.artist-meta small{font-size:.76rem}

.archive-feature{padding:4.8vw 5vw;gap:35px}
.archive-years{font-size:clamp(2rem,3.5vw,3.8rem)}
.visit-section{padding:4.8vw 5vw}
.visit-grid>div{padding-top:16px;padding-bottom:4px}
.site-footer{padding:34px 5vw}

.expo-editorial-hero{padding:42px 5vw 32px;gap:34px}
.expo-editorial-copy h1{font-size:clamp(2.4rem,4vw,4rem)}
.expo-subtitle{font-size:1.2rem;margin-bottom:14px}
.expo-meta-grid{margin-top:18px;padding-top:12px}
.expo-story{padding:38px 5vw 50px;gap:30px}
.expo-lead{font-size:1.2rem;margin-bottom:18px}
.expo-body{font-size:.95rem}
.expo-practical{padding:38px 5vw;gap:30px}
.expo-invitation-panel{max-width:350px}
.invitation-card-open img{max-height:400px}

.editorial-gallery-section{padding:42px 5vw 55px}
.compact-head{margin-bottom:16px}
.gallery-hint{font-size:.78rem}
.natural-gallery{columns:6 150px;column-gap:10px}
.natural-thumb{margin-bottom:10px}

.expo-artist{padding:42px 5vw;gap:32px}
.expo-artist-visual img{width:min(100%,300px);max-height:390px}
.expo-artist-monogram{width:min(210px,58vw)}
.expo-artist-copy p{font-size:.92rem}

.expo-video-section{padding:42px 5vw 52px}
.expo-video-heading{margin-bottom:16px}
.expo-video-heading h2{font-size:clamp(1.7rem,2.8vw,2.8rem)}
.video-link{
  display:inline-flex;
  width:auto;
  min-height:0;
  padding:11px 16px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  font:700 .84rem Arial,Helvetica,sans-serif;
  background:transparent;
  color:#fff;
}
.home-artist-video .video-link{
  border-color:var(--line);
  background:var(--accent);
  color:white;
}
.video-frame{max-width:880px}
.home-video-frame{max-width:880px}

.home-current-editorial{padding:48px 5vw}
.home-invitation{gap:32px;max-width:1000px;margin-bottom:52px}
.home-invitation-copy{max-width:400px}
.home-invitation-copy h2{font-size:clamp(1.8rem,2.8vw,2.7rem)}
.home-invitation img{max-height:380px}
.home-video-heading{gap:26px;margin-bottom:16px}
.home-video-heading h2{font-size:clamp(1.8rem,2.8vw,2.7rem)}
.home-video-heading>p{font-size:.9rem}

.page-hero{padding:6vh 5vw 3vh}
.page-hero h1{font-size:clamp(2.4rem,4vw,4rem)}
.article{padding:34px 5vw 50px}
.contact-layout{padding:42px 5vw 55px}

@media(max-width:1050px){
  .home-hero{grid-template-columns:1fr}
  .home-hero:before{
    position:relative;
    display:block;
    inset:auto;
    min-height:58vh;
    grid-row:1;
  }
  .home-hero-inner{
    grid-column:1!important;
    grid-row:2;
    padding:60px 6vw 75px!important;
  }
}
@media(max-width:820px){
  .home-hero:before{min-height:48vh}
  .home-hero-inner{padding:50px 20px 60px!important}
  .home-hero h1{font-size:clamp(3rem,12vw,5rem)}
  .section{padding:46px 20px}
  .place-editorial-copy,.expo-practical,.expo-artist,.expo-video-section{padding:42px 20px}
  .natural-gallery{columns:3 130px}
  .home-current-editorial{padding:42px 20px}
}
@media(max-width:520px){
  .natural-gallery{columns:2 120px}
}


/* v0.5.3 — Homepage clarity + exhibition redesign */

/* Homepage: current artist actions integrated inside hero */
.hero-current-artist{
  width:100%;
  margin-top:18px;
  padding-top:15px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.hero-artist-link{display:flex;flex-direction:column;min-width:0}
.hero-artist-kicker{
  font-size:.58rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--muted);
  margin-bottom:2px
}
.hero-artist-link strong{font:400 1.08rem Georgia,serif}
.hero-artist-link small{font-size:.72rem;color:var(--muted)}
.hero-mini-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hero-mini-btn{
  padding:7px 11px;
  border-radius:999px;
  background:var(--accent);
  color:white;
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap
}
.hero-mini-btn.subtle{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line)
}

/* Program: prominent but compact */
.homepage-program{
  background:#eee8de;
  border-top:1px solid #d6cec2;
  border-bottom:1px solid #d6cec2;
}
.homepage-program-title{
  display:grid;
  grid-template-columns:1fr .7fr;
  gap:40px;
  align-items:end;
  margin-bottom:22px
}
.homepage-program-title h2{
  margin:.1em 0;
  font-size:clamp(2rem,3.2vw,3.2rem)
}
.homepage-program-title>p{
  margin:0 0 5px;
  color:var(--muted);
  font-size:.88rem;
  max-width:440px
}

/* Hide any leftover home artists section defensively */
body .artists-section{display:none!important}

/* Exhibition page: clean compact header */
.expo-compact-hero{
  max-width:1180px;
  margin:0 auto;
  padding:44px 5vw 36px;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.55fr);
  gap:46px;
  align-items:center;
  background:var(--paper)
}
.expo-compact-copy h1{
  margin:.08em 0 .12em;
  font-size:clamp(2.5rem,4.3vw,4.5rem)
}
.expo-compact-subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font:italic 400 1.2rem Georgia,serif
}
.expo-compact-meta{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  padding:12px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.expo-compact-meta>div{min-width:140px}
.expo-compact-meta span{
  display:block;
  margin-bottom:2px;
  font-size:.58rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--muted)
}
.expo-compact-meta strong{font-size:.86rem}
.expo-compact-lead{
  max-width:680px;
  margin:18px 0 0;
  font:400 1.08rem/1.55 Georgia,serif
}
.expo-compact-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:18px
}
.small-pill{
  display:inline-flex;
  align-items:center;
  width:auto;
  min-height:0;
  padding:8px 12px;
  border-radius:999px;
  border:0;
  background:var(--accent);
  color:#fff;
  font-size:.74rem;
  font-weight:700
}
.small-pill.ghost{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line)
}

.expo-cover-small{
  width:100%;
  max-width:340px;
  justify-self:end
}
.expo-cover-small img{
  width:100%;
  height:auto;
  max-height:390px;
  object-fit:contain;
  background:#eee8df;
  box-shadow:0 12px 35px rgba(35,28,22,.09)
}
.expo-cover-placeholder{
  min-height:300px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#baa995,#675b4f);
  color:white;
  font:400 1.3rem Georgia,serif;
  letter-spacing:.1em;
  text-transform:uppercase
}

/* Text */
.expo-text-band{
  max-width:1050px;
  margin:0 auto;
  padding:34px 5vw 46px;
  display:grid;
  grid-template-columns:130px 1fr;
  gap:30px
}
.expo-text-body{
  max-width:760px;
  font-size:.95rem;
  color:#403b36
}

/* Gallery */
.expo-gallery-clean{
  padding:42px 5vw 52px;
  background:#f1ece4
}
.expo-section-title{
  max-width:1180px;
  margin:0 auto 18px;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px
}
.expo-section-title h2{
  margin:.08em 0;
  font-size:clamp(1.8rem,2.7vw,2.7rem)
}
.expo-section-title>p{
  margin:0 0 5px;
  color:var(--muted);
  font-size:.78rem
}
.expo-gallery-masonry{
  max-width:1180px;
  margin:0 auto;
  columns:5 170px;
  column-gap:10px
}
.expo-gallery-item{
  display:inline-block;
  width:100%;
  break-inside:avoid;
  margin:0 0 10px
}
.expo-gallery-item .gallery-open{
  width:100%;
  aspect-ratio:auto;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in
}
.expo-gallery-item img{
  width:100%;
  height:auto;
  object-fit:contain
}
.expo-gallery-item figcaption{
  margin-top:5px;
  color:var(--muted);
  font-size:.7rem;
  line-height:1.3
}

/* Practical/invitation */
.expo-info-clean{
  max-width:1050px;
  margin:0 auto;
  padding:42px 5vw;
  display:grid;
  grid-template-columns:1fr 280px;
  gap:45px;
  align-items:center
}
.expo-info-row{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:18px;
  margin-bottom:18px
}
.expo-info-row>span{
  font-size:.6rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--muted)
}
.expo-info-row p{margin:0;font-size:.9rem}
.expo-invitation-small{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
  position:relative
}
.expo-invitation-small img{
  width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
  box-shadow:0 12px 35px rgba(35,28,22,.08)
}
.expo-invitation-small span{
  display:block;
  margin-top:6px;
  font-size:.68rem;
  color:var(--muted)
}

/* Artist */
.expo-artist-clean{
  padding:42px 5vw;
  display:grid;
  grid-template-columns:160px minmax(0,720px);
  justify-content:center;
  gap:34px;
  align-items:center;
  background:var(--paper)
}
.expo-artist-mini-visual img{
  width:160px;
  height:160px;
  object-fit:cover
}
.expo-artist-mini-monogram{
  width:130px;
  height:130px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:white;
  font:400 2.2rem Georgia,serif
}
.expo-artist-clean h2{
  margin:.08em 0;
  font-size:clamp(1.8rem,2.6vw,2.6rem)
}
.expo-artist-bio{
  margin:10px 0 0;
  font-size:.9rem;
  color:#403b36
}

/* Video */
.expo-video-clean{
  padding:40px 5vw 48px;
  background:var(--dark);
  color:white
}
.light-title{color:white}
.light-title .eyebrow{color:#caa76f}
.light-title>p{color:#cfc7bd}
.compact-video-frame{
  max-width:820px;
  margin:0 auto
}
.small-video-link{
  display:inline-flex!important;
  min-height:0!important;
  width:auto!important;
  padding:9px 13px!important;
  font:700 .76rem Arial,sans-serif!important;
  border-radius:999px!important
}

@media(max-width:900px){
  .homepage-program-title{grid-template-columns:1fr}
  .expo-compact-hero{grid-template-columns:1fr;gap:24px;padding:36px 20px}
  .expo-cover-small{justify-self:start;max-width:280px}
  .expo-text-band{grid-template-columns:1fr;padding:30px 20px}
  .expo-gallery-clean{padding:36px 20px 44px}
  .expo-gallery-masonry{columns:3 140px}
  .expo-info-clean{grid-template-columns:1fr 220px;padding:36px 20px}
  .expo-artist-clean{grid-template-columns:120px 1fr;padding:36px 20px}
  .expo-artist-mini-visual img{width:120px;height:120px}
}
@media(max-width:620px){
  .hero-current-artist{align-items:flex-start;flex-direction:column}
  .hero-mini-actions{justify-content:flex-start}
  .expo-gallery-masonry{columns:2 120px}
  .expo-info-clean{grid-template-columns:1fr}
  .expo-invitation-small{max-width:220px}
  .expo-artist-clean{grid-template-columns:1fr}
}

/* v0.6.0 — accueil premium inspiré de l'identité Galerie du Château */
.site-header{
  min-height:74px;
  padding:10px 3.8vw;
  background:#fbfaf7;
  border-bottom:1px solid #ded8ce;
}
.brand-logo{display:flex;align-items:center;flex:0 0 auto}
.brand-logo img{width:188px;height:54px;object-fit:contain;object-position:left center}
.main-nav{gap:26px;font-size:.74rem;text-transform:uppercase;letter-spacing:.045em;font-weight:700}
.main-nav a{padding:9px 0}

.avenches-hero{
  min-height:560px;
  display:grid;
  grid-template-columns:42% 58%;
  background:#fbfaf7;
  border-bottom:1px solid #dcd5ca;
}
.avenches-hero-copy{
  padding:52px 48px 42px 6vw;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2
}
.avenches-dates{
  margin:0 0 24px;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.11em
}
.avenches-hero h1{
  margin:0;
  color:#5e1625;
  font:400 clamp(2.8rem,4.4vw,5.1rem)/.98 Georgia,serif;
  letter-spacing:-.035em
}
.avenches-subtitle{
  margin:12px 0 20px;
  font:italic 400 clamp(1.25rem,1.9vw,2rem) Georgia,serif;
  color:#292522
}
.avenches-intro{
  max-width:470px;
  margin:0 0 25px;
  font-size:.91rem;
  line-height:1.7;
  color:#403a35
}
.avenches-primary-actions{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #d9d1c6;
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap
}
.avenches-btn{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  background:#8d2638;
  color:#fff;
  font-size:.8rem;
  font-weight:800
}
.avenches-program-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 0 6px;
  border-bottom:1px solid #1e1b19;
  font-size:.8rem
}
.program-icon{font-size:.72rem}
.avenches-secondary-actions{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap
}
.avenches-secondary-actions a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 20px 4px 0;
  margin-right:20px;
  font-size:.73rem;
  border-right:1px solid #d4ccc1
}
.avenches-secondary-actions a:last-child{border-right:0;margin-right:0}
.avenches-secondary-actions span{font-size:1rem}
.avenches-hero-image{
  min-height:560px;
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden
}
.avenches-hero-fade{
  position:absolute;inset:0;
  background:linear-gradient(90deg,#fbfaf7 0%,rgba(251,250,247,.78) 7%,rgba(251,250,247,.15) 25%,transparent 42%)
}
.hero-dots{position:absolute;right:24px;bottom:22px;display:flex;gap:7px}
.hero-dots i{width:6px;height:6px;border:1px solid rgba(255,255,255,.9);border-radius:50%}
.hero-dots i:first-child{background:white}

.avenches-program{
  padding:34px 4vw 44px;
  background:#fbfaf7;
  border-bottom:1px solid #dcd5ca
}
.avenches-program-head{
  max-width:1440px;
  margin:0 auto 22px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px
}
.avenches-program-head h2{
  margin:0;
  color:#711d2f;
  font:400 1.95rem Georgia,serif
}
.avenches-program-head>a{
  padding-bottom:4px;
  color:#5d1726;
  border-bottom:1px solid #5d1726;
  font-size:.72rem;
  font-weight:700
}
.avenches-program-grid{
  max-width:1440px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}
.avenches-event-card{
  min-height:214px;
  display:grid;
  grid-template-columns:41% 59%;
  border:1px solid #d9d2c8;
  background:#fffdf9
}
.avenches-event-image{display:block;overflow:hidden;background:#ddd3c5}
.avenches-event-image img{width:100%;height:100%;min-height:212px;object-fit:cover;transition:transform .35s ease}
.avenches-event-card:hover .avenches-event-image img{transform:scale(1.025)}
.avenches-event-copy{padding:18px 16px 14px;display:flex;flex-direction:column}
.event-date{margin:0 0 16px;font-size:.66rem;font-weight:700;color:#44403c}
.event-type{margin:0 0 5px;color:#982d42;font-size:.62rem;letter-spacing:.1em;font-weight:800}
.avenches-event-copy h3{margin:0 0 8px;font:700 .88rem/1.25 Arial,sans-serif;letter-spacing:0}
.event-desc{margin:0 0 12px;font-size:.72rem;line-height:1.5;color:#423d38}
.event-link{margin-top:auto;color:#711d2f;font-size:.68rem;font-weight:700}
.fallback-program{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-left:max(4vw,calc((100vw - 1440px)/2))}

.avenches-place{
  min-height:330px;
  display:grid;
  grid-template-columns:27% 48% 25%;
  background:#fffdf9;
  border-bottom:1px solid #dcd5ca
}
.avenches-place-story{padding:38px 34px 34px 6vw;display:flex;flex-direction:column;justify-content:center}
.place-story-title{display:flex;align-items:center;gap:12px}
.place-story-title h2{margin:0;font:400 1.55rem Georgia,serif}
.place-icon{color:#7d2637;font-size:1.3rem}
.avenches-place-story p{max-width:320px;margin:16px 0;font-size:.78rem;line-height:1.65}
.avenches-place-story>a{width:max-content;color:#7d2637;border-bottom:1px solid #7d2637;font-size:.72rem;font-weight:700}
.avenches-place-photo{overflow:hidden;min-height:330px}
.avenches-place-photo img{width:100%;height:100%;object-fit:cover;object-position:center 54%}
.avenches-practical{padding:38px 4vw 30px 34px;display:flex;flex-direction:column;justify-content:center;gap:17px}
.avenches-practical>div{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}
.avenches-practical p{margin:0;font-size:.75rem;line-height:1.45}
.practical-icon{font-size:1.25rem;color:#282422}
.practical-contact{margin-top:5px;color:#7d2637;font-size:.7rem;font-weight:700}

.avenches-gallery-glimpse{
  max-width:1180px;
  margin:0 auto;
  padding:58px 5vw 66px;
  display:grid;
  grid-template-columns:25% 42% 33%;
  gap:28px;
  align-items:center
}
.glimpse-photo{height:255px;overflow:hidden;background:#e1d8cc}
.glimpse-photo.vertical{height:310px}
.glimpse-photo img{width:100%;height:100%;object-fit:cover}
.glimpse-photo.vertical img{object-position:center 45%}
.glimpse-copy{padding:0 10px}
.glimpse-copy h2{margin:.15em 0 .45em;font:400 2rem Georgia,serif;color:#5f1727}
.glimpse-copy p:not(.eyebrow){font-size:.82rem;color:#49423c;line-height:1.65}
.glimpse-copy>a{display:inline-block;margin-top:8px;color:#7d2637;border-bottom:1px solid #7d2637;font-size:.72rem;font-weight:700}

@media(max-width:1120px){
  .main-nav{gap:15px;font-size:.67rem}
  .brand-logo img{width:160px}
  .avenches-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .site-header{min-height:64px;padding:7px 18px}
  .brand-logo img{width:145px;height:48px}
  .avenches-hero{grid-template-columns:1fr}
  .avenches-hero-copy{padding:38px 22px 34px}
  .avenches-hero-image{min-height:48vh;grid-row:1}
  .avenches-hero-copy{grid-row:2}
  .avenches-hero-fade{background:linear-gradient(0deg,#fbfaf7 0%,rgba(251,250,247,.2) 20%,transparent 45%)}
  .avenches-program{padding:30px 20px 36px}
  .avenches-program-grid{grid-template-columns:1fr}
  .avenches-event-card{grid-template-columns:36% 64%}
  .avenches-place{grid-template-columns:1fr}
  .avenches-place-story,.avenches-practical{padding:32px 22px}
  .avenches-place-photo{min-height:280px}
  .avenches-gallery-glimpse{grid-template-columns:1fr;gap:18px;padding:42px 20px}
  .glimpse-photo,.glimpse-photo.vertical{height:260px}
}
@media(max-width:520px){
  .avenches-dates{margin-bottom:18px}
  .avenches-hero h1{font-size:2.8rem}
  .avenches-primary-actions{gap:14px}
  .avenches-secondary-actions{align-items:flex-start;flex-direction:column;gap:10px}
  .avenches-secondary-actions a{border-right:0;padding:0;margin:0}
  .avenches-program-head{align-items:flex-start;flex-direction:column}
  .avenches-event-card{grid-template-columns:40% 60%}
}


/* v0.6.1 — programme complet + bloc Château restructuré */

/* Tout le programme annuel tient directement sur l'accueil.
   6–7 expositions restent lisibles grâce à une grille plus souple. */
.avenches-program{
  padding-top:38px;
  padding-bottom:46px;
}
.avenches-program-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.avenches-event-card{
  min-height:210px;
}
.avenches-event-image{
  width:42%;
}
.avenches-event-copy{
  width:58%;
  padding:17px 16px;
}
.avenches-event-copy h3{
  font-size:1.12rem;
}
.event-desc{
  font-size:.73rem;
  line-height:1.45;
}
.event-link{
  font-size:.69rem;
}

/* Nouveau bloc Château : contenu centré, aucune colonne qui flotte dans le vide. */
.avenches-place-v2{
  max-width:1320px;
  margin:0 auto;
  padding:62px 5vw 68px;
  background:#fffdf9;
}
.avenches-place-v2-head{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:end;
  margin-bottom:26px;
  padding-bottom:25px;
  border-bottom:1px solid #d9d2c8;
}
.avenches-place-v2-head h2{
  margin:.08em 0 0;
  font:400 clamp(2rem,3.25vw,3.25rem)/1.02 Georgia,serif;
  letter-spacing:-.035em;
}
.avenches-place-v2-intro{
  max-width:570px;
}
.avenches-place-v2-intro p{
  margin:0 0 14px;
  color:#4b453f;
  font-size:.9rem;
  line-height:1.65;
}
.avenches-place-v2-intro a{
  color:#7d2637;
  font-size:.74rem;
  font-weight:700;
  border-bottom:1px solid #7d2637;
}

.avenches-place-v2-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:20px;
  align-items:stretch;
}
.avenches-place-v2-photo{
  min-height:430px;
  overflow:hidden;
  background:#ddd4c8;
}
.avenches-place-v2-photo img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  object-position:center 55%;
}
.avenches-place-v2-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:28px 26px;
  background:#f1ebe2;
  border:1px solid #ddd4c8;
}
.place-card-kicker{
  margin:0 0 23px;
  color:#7d2637;
  font:400 1.28rem Georgia,serif;
}
.place-card-item{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:11px;
  padding:14px 0;
  border-top:1px solid #d5ccc0;
}
.place-card-icon{
  color:#7d2637;
  font-size:1rem;
  line-height:1.3;
}
.place-card-item small{
  display:block;
  margin-bottom:3px;
  color:#857d73;
  font-size:.58rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.place-card-item p{
  margin:0;
  color:#292520;
  font-size:.78rem;
  line-height:1.45;
}
.place-card-contact{
  width:max-content;
  margin-top:20px;
  color:#7d2637;
  font-size:.72rem;
  font-weight:700;
  border-bottom:1px solid #7d2637;
}

/* La petite section galerie suivante est également rapprochée du reste. */
.avenches-gallery-glimpse{
  max-width:1320px;
  margin:0 auto;
}

@media(max-width:1100px){
  .avenches-program-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .avenches-place-v2-head{
    gap:40px;
  }
}
@media(max-width:760px){
  .avenches-program-grid{
    grid-template-columns:1fr;
  }
  .avenches-place-v2{
    padding:46px 20px 52px;
  }
  .avenches-place-v2-head{
    grid-template-columns:1fr;
    gap:16px;
  }
  .avenches-place-v2-body{
    grid-template-columns:1fr;
  }
  .avenches-place-v2-photo,
  .avenches-place-v2-photo img{
    min-height:300px;
  }
  .avenches-place-v2-card{
    padding:24px 20px;
  }
}

/* v0.7.0 exhibition premium */
.expo-premium-wrap{max-width:1420px;margin:auto;padding:28px 5vw 55px}
.expo-back{display:inline-block;margin:3px 0 26px;color:#7d2637;font-size:.76rem;font-weight:700}
.expo-premium-top{display:grid;grid-template-columns:1.03fr .97fr;gap:32px;padding-bottom:32px;border-bottom:1px solid #d9d2c8}
.expo-main-image{display:block;width:100%;height:355px;padding:0;border:0;background:#eee8df;cursor:zoom-in}
.expo-main-image img{width:100%;height:100%;object-fit:contain}
.expo-main-placeholder{height:355px;display:grid;place-items:center;background:#eee8df;font:1.3rem Georgia,serif;color:#857b70}
.expo-thumbnails{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:8px}
.expo-thumb{aspect-ratio:1.08;padding:0;border:1px solid transparent;background:#eee8df;overflow:hidden;cursor:pointer}
.expo-thumb img{width:100%;height:100%;object-fit:cover}.expo-thumb.active{border:2px solid #7d2637}
.expo-more{display:grid;place-items:center;background:white;border:1px solid #d9d2c8;color:#7d2637;font-weight:700}
.expo-premium-info{padding-left:3px}.expo-premium-dates{margin:0 0 12px;color:#7d2637;font-size:.68rem;font-weight:800;letter-spacing:.08em}
.expo-premium-info h1{margin:0;font:400 clamp(2.5rem,4vw,4.3rem)/.98 Georgia,serif;letter-spacing:-.04em}
.expo-premium-subtitle{margin:7px 0 18px;color:#7d2637;font:italic 400 clamp(1.3rem,2vw,1.9rem) Georgia,serif}
.expo-premium-intro{max-width:600px;margin:0 0 20px;font-size:.86rem;line-height:1.65}
.expo-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d9d2c8;border-bottom:1px solid #d9d2c8}
.expo-fact{display:grid;grid-template-columns:20px 1fr;gap:8px;padding:13px 10px 12px 0;min-height:68px}.expo-fact+.expo-fact{border-left:1px solid #d9d2c8;padding-left:12px}
.expo-fact>span{color:#7d2637}.expo-fact small{display:block;color:#776f67;font-size:.56rem;text-transform:uppercase;letter-spacing:.1em}.expo-fact strong{display:block;margin-top:3px;font-size:.72rem;line-height:1.4}
.expo-premium-actions{display:flex;flex-wrap:wrap;gap:8px 17px;margin-top:19px;align-items:center}
.expo-action{display:inline-flex;align-items:center;min-height:33px;border:0;border-bottom:1px solid #7d2637;background:transparent;color:#201d1a;font:700 .7rem Arial,sans-serif;cursor:pointer}
.expo-action.primary{padding:8px 13px;border:0;border-radius:5px;background:#7d2637;color:white}
.expo-premium-lower{display:grid;grid-template-columns:.9fr .95fr 1.2fr;border-bottom:1px solid #d9d2c8}
.expo-premium-lower>article{padding:28px 25px 30px 0}.expo-premium-lower>article+article{padding-left:25px;border-left:1px solid #d9d2c8}
.expo-premium-lower h2,.expo-pdf h2{margin:.08em 0 17px;color:#7d2637;font:400 1.55rem Georgia,serif}
.expo-body-small,.expo-premium-lower p{font-size:.78rem;line-height:1.65;color:#39342f}
.expo-artist-inline{display:grid;grid-template-columns:105px 1fr;gap:16px}.expo-artist-inline img{width:105px;height:130px;object-fit:cover}
.expo-monogram{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;background:#7d2637;color:white;font:1.7rem Georgia,serif}
.expo-artist-inline h3{margin:0 0 6px;font:400 1.1rem Georgia,serif}.expo-artist-inline a{color:#7d2637;font-size:.7rem;font-weight:700}
.expo-premium-video{width:100%;max-width:none}.expo-premium-video iframe{border:0}
.expo-pdf{padding:23px 0 0}.expo-pdf>a{display:grid;grid-template-columns:48px 1fr auto;gap:15px;align-items:center;padding:13px 0;border-top:1px solid #d9d2c8;border-bottom:1px solid #d9d2c8;font-size:.75rem}
.expo-pdf>a b{color:#7d2637}.expo-pdf>a span{color:#7d2637}
@media(max-width:900px){.expo-premium-top{grid-template-columns:1fr}.expo-main-image{height:320px}.expo-premium-lower{grid-template-columns:1fr}.expo-premium-lower>article+article{border-left:0;border-top:1px solid #d9d2c8;padding-left:0}.expo-facts{grid-template-columns:1fr}.expo-fact+.expo-fact{border-left:0;border-top:1px solid #d9d2c8;padding-left:0}.expo-thumbnails{grid-template-columns:repeat(5,1fr)}}


/* v0.7.2 — popup vidéo + navigation galerie */
.video-modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:none;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:rgba(10,9,8,.92);
  backdrop-filter:blur(8px);
}
.video-modal.open{display:flex}
.video-modal-inner{
  width:min(980px,92vw);
}
.video-modal-frame{
  width:100%;
  max-width:none;
  aspect-ratio:16/9;
  background:#000;
}
.video-modal-close{
  position:absolute;
  top:18px;
  right:24px;
  border:0;
  background:transparent;
  color:white;
  font-size:2.6rem;
  line-height:1;
  cursor:pointer;
}
.expo-action.video-popup-open{
  padding:0 0 2px;
}
.lightbox-nav{
  z-index:2;
}
@media(max-width:700px){
  .video-modal{padding:20px}
  .video-modal-close{top:10px;right:14px}
}


/* v0.7.3 — page Expositions = liste actuelle + à venir */
.exhibitions-list-hero{
  max-width:1240px;
  margin:0 auto;
  padding:62px 5vw 34px;
  display:grid;
  grid-template-columns:1fr .75fr;
  gap:60px;
  align-items:end;
  border-bottom:1px solid #d9d2c8;
}
.exhibitions-list-hero h1{
  margin:.08em 0 0;
  font:400 clamp(2.8rem,5vw,5.4rem)/.95 Georgia,serif;
  letter-spacing:-.045em;
}
.exhibitions-list-hero>p{
  margin:0 0 8px;
  max-width:500px;
  color:#625b53;
  font-size:.9rem;
  line-height:1.65;
}

.exhibitions-current,
.exhibitions-upcoming{
  max-width:1240px;
  margin:0 auto;
  padding:44px 5vw 58px;
}
.exhibitions-current{
  background:#fffdf9;
}
.exhibitions-upcoming{
  padding-top:38px;
}
.exhibitions-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:20px;
}
.exhibitions-section-head h2{
  margin:.08em 0;
  font:400 clamp(1.8rem,3vw,3rem) Georgia,serif;
  letter-spacing:-.035em;
}
.exhibitions-section-head>a{
  margin-bottom:5px;
  color:#7d2637;
  font-size:.72rem;
  font-weight:700;
  border-bottom:1px solid #7d2637;
}

/* Current exhibition: restrained editorial card, not a huge image */
.current-exhibition-card{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  gap:34px;
  align-items:center;
  padding:22px;
  border:1px solid #d9d2c8;
  background:#f6f1e9;
}
.current-exhibition-image{
  display:block;
  width:100%;
  height:250px;
  overflow:hidden;
  background:#e8e0d5;
}
.current-exhibition-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.current-exhibition-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#b9aa95,#62574b);
  color:white;
  font:400 1.2rem Georgia,serif;
}
.current-exhibition-copy{
  padding:5px 14px 5px 0;
}
.current-exhibition-date{
  margin:0 0 9px;
  color:#7d2637;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
}
.current-exhibition-copy h3{
  margin:0;
  font:400 clamp(2rem,3.5vw,3.5rem)/1 Georgia,serif;
  letter-spacing:-.04em;
}
.current-exhibition-subtitle{
  margin:5px 0 16px;
  color:#7d2637;
  font:italic 400 1.25rem Georgia,serif;
}
.current-exhibition-text{
  max-width:640px;
  margin:0 0 16px;
  color:#4e4740;
  font-size:.86rem;
  line-height:1.6;
}
.current-exhibition-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px 16px;
  margin-bottom:17px;
}
.current-exhibition-meta span{
  color:#7b736b;
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.exhibition-list-link{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 13px;
  border-radius:4px;
  background:#7d2637;
  color:white;
  font-size:.72rem;
  font-weight:700;
}

/* Upcoming exhibitions: compact rows, all visible at a glance */
.upcoming-exhibitions-list{
  border-top:1px solid #d9d2c8;
}
.upcoming-exhibition-row{
  display:grid;
  grid-template-columns:74px 112px minmax(0,1fr) 150px 30px;
  gap:18px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #d9d2c8;
}
.upcoming-date{
  color:#7d2637;
  text-align:left;
}
.upcoming-date strong{
  display:block;
  font:400 1.45rem Georgia,serif;
  line-height:1;
}
.upcoming-date span{
  display:block;
  margin-top:3px;
  font-size:.62rem;
  color:#756e66;
}
.upcoming-thumb{
  width:112px;
  height:76px;
  overflow:hidden;
  background:#e8e0d5;
}
.upcoming-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.upcoming-thumb-placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#c8baa7,#827565);
}
.upcoming-copy h3{
  margin:0 0 2px;
  font:400 1.25rem Georgia,serif;
}
.upcoming-copy p{
  margin:0 0 3px;
  color:#7d2637;
  font:italic 400 .9rem Georgia,serif;
}
.upcoming-copy span{
  color:#807870;
  font-size:.63rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.upcoming-period{
  color:#655f58;
  font-size:.72rem;
  line-height:1.45;
}
.upcoming-arrow{
  color:#7d2637;
  font-size:1.5rem;
  text-align:right;
}
.exhibitions-empty{
  padding:25px 0;
  border-top:1px solid #d9d2c8;
  border-bottom:1px solid #d9d2c8;
  color:#746d65;
  font-size:.85rem;
}

@media(max-width:900px){
  .exhibitions-list-hero{
    grid-template-columns:1fr;
    gap:14px;
  }
  .current-exhibition-card{
    grid-template-columns:1fr;
  }
  .current-exhibition-image{
    height:230px;
  }
  .upcoming-exhibition-row{
    grid-template-columns:62px 88px minmax(0,1fr) 24px;
  }
  .upcoming-thumb{
    width:88px;
    height:64px;
  }
  .upcoming-period{
    display:none;
  }
}

@media(max-width:620px){
  .exhibitions-list-hero,
  .exhibitions-current,
  .exhibitions-upcoming{
    padding-left:20px;
    padding-right:20px;
  }
  .exhibitions-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  .upcoming-exhibition-row{
    grid-template-columns:54px 76px minmax(0,1fr);
    gap:11px;
  }
  .upcoming-thumb{
    width:76px;
    height:56px;
  }
  .upcoming-arrow{
    display:none;
  }
  .upcoming-copy h3{
    font-size:1.05rem;
  }
}


/* v0.7.5 — menu + accueil clarifié */

/* Current exhibition = visibly live/current */
.hero-live-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-bottom:12px;
  padding:6px 10px;
  border:1px solid rgba(125,38,55,.35);
  border-radius:999px;
  color:#7d2637;
  background:rgba(255,253,249,.78);
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.13em;
}
.hero-live-badge span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#7d2637;
  box-shadow:0 0 0 4px rgba(125,38,55,.09);
}

/* Upcoming exhibitions on homepage */
.avenches-program{
  max-width:1320px;
  margin:0 auto;
  padding:46px 5vw 54px;
}
.avenches-program-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:22px;
}
.avenches-program-head h2{
  margin:.08em 0 0;
  color:#7d2637;
  font:400 clamp(1.9rem,3vw,3rem) Georgia,serif;
}
.avenches-program-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.avenches-event-card{
  display:grid;
  grid-template-columns:42% 58%;
  min-height:210px;
  border:1px solid #d9d2c8;
  background:#fffdf9;
}
.avenches-event-image{
  display:block;
  min-height:210px;
  overflow:hidden;
  background:#e8e0d5;
}
.avenches-event-image img{
  width:100%;
  height:100%;
  min-height:210px;
  object-fit:cover;
}
.expo-upcoming-placeholder{
  width:100%;
  height:100%;
  min-height:210px;
  background:linear-gradient(135deg,#c5b8a6,#76695c);
}
.avenches-event-copy{
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.event-date{
  margin:0 0 9px;
  color:#7d2637;
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.06em;
}
.avenches-event-copy h3{
  margin:0 0 5px;
  font:400 1.18rem/1.05 Georgia,serif;
}
.event-subtitle{
  margin:0 0 8px;
  color:#7d2637;
  font:italic 400 .85rem Georgia,serif;
}
.event-desc{
  margin:0 0 12px;
  color:#5c554e;
  font-size:.72rem;
  line-height:1.45;
}
.event-link{
  margin-top:auto;
  color:#7d2637;
  font-size:.68rem;
  font-weight:700;
  border-bottom:1px solid #7d2637;
}
.avenches-program-empty{
  padding:22px 0;
  border-top:1px solid #d9d2c8;
  border-bottom:1px solid #d9d2c8;
  color:#766e66;
  font-size:.82rem;
}

@media(max-width:1050px){
  .avenches-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .avenches-program{padding:38px 20px 44px}
  .avenches-program-grid{grid-template-columns:1fr}
}

/* v0.7.6 — respiration entre Programme et Château */
.avenches-program{
  position:relative;
  padding-bottom:72px;
}
.avenches-program::after{
  content:"";
  position:absolute;
  left:5vw;
  right:5vw;
  bottom:28px;
  height:1px;
  background:#d4cbc0;
}
.avenches-place-v2{
  padding-top:72px;
}
@media(max-width:700px){
  .avenches-program{padding-bottom:58px}
  .avenches-program::after{left:20px;right:20px;bottom:22px}
  .avenches-place-v2{padding-top:55px}
}

/* v0.7.7 — vraies respirations entre les blocs de l'accueil
   On annule la ligne ajoutée en v0.7.6 et on laisse apparaître le fond général. */
.avenches-program{
  padding-top:46px;
  padding-bottom:54px;
  margin-top:42px;
  margin-bottom:42px;
}
.avenches-program::after{
  display:none !important;
  content:none !important;
}
.avenches-place-v2{
  padding-top:62px;
  margin-top:0;
  margin-bottom:42px;
}

/* Les blocs restent blancs/ivoire, la respiration utilise bien le fond général du site. */
.avenches-program,
.avenches-place-v2{
  position:relative;
}
@media(max-width:700px){
  .avenches-program{
    margin-top:28px;
    margin-bottom:28px;
    padding-top:38px;
    padding-bottom:44px;
  }
  .avenches-place-v2{
    padding-top:46px;
    margin-bottom:28px;
  }
}


/* v0.7.8 — accueil avec et sans exposition en cours */
.current-expo-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(125,38,55,.32);
  background:rgba(255,253,249,.82);
  color:#7d2637;
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.13em;
}
.current-expo-label span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#7d2637;
  box-shadow:0 0 0 4px rgba(125,38,55,.09);
}
.fallback-kicker{
  text-transform:none;
  letter-spacing:.13em;
  font-weight:700;
}
.fallback-intro{
  max-width:560px;
  margin:14px 0 0;
  color:#4f4943;
  font-size:.9rem;
  line-height:1.6;
}

/* En l'absence d'exposition actuelle, le hero reste institutionnel et ne
   prend jamais automatiquement une future exposition. */
.avenches-hero.fallback-art .avenches-hero-copy{
  justify-content:center;
}


/* v0.8.1 — éviter la répétition bio / texte exposition */
.expo-premium-lower.no-expo-text{
  grid-template-columns:.95fr 1.35fr;
}
.expo-archive-intro{
  color:#6b6259;
  font-style:italic;
}
@media(max-width:900px){
  .expo-premium-lower.no-expo-text{grid-template-columns:1fr}
}


/* v0.8.3 — accueil institutionnel + expositions intégrées */
.home-exhibitions-block{
  max-width:1320px;
  margin:42px auto;
  background:#fffdf9;
  padding:48px 5vw 54px;
}
.home-current-wrap{
  padding-bottom:42px;
  margin-bottom:42px;
  border-bottom:1px solid #d9d2c8;
}
.home-exhibitions-head{
  margin-bottom:20px;
}
.home-exhibitions-head h2{
  margin:.08em 0;
  color:#7d2637;
  font:400 clamp(1.9rem,3vw,3rem) Georgia,serif;
  letter-spacing:-.035em;
}

/* Current exhibition on homepage */
.home-current-card{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:32px;
  align-items:center;
  padding:20px;
  background:#f4eee5;
  border:1px solid #d9d2c8;
}
.home-current-image{
  display:block;
  height:240px;
  overflow:hidden;
  background:#e8e0d5;
}
.home-current-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.home-current-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#baa995,#675b4f);
  font:400 1.2rem Georgia,serif;
}
.home-current-date{
  margin:0 0 8px;
  color:#7d2637;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.08em;
}
.home-current-copy h3{
  margin:0;
  font:400 clamp(2rem,3.5vw,3.35rem)/1 Georgia,serif;
  letter-spacing:-.04em;
}
.home-current-subtitle{
  margin:5px 0 14px;
  color:#7d2637;
  font:italic 400 1.15rem Georgia,serif;
}
.home-current-text{
  max-width:620px;
  margin:0 0 16px;
  color:#504941;
  font-size:.84rem;
  line-height:1.6;
}
.home-expo-btn{
  display:inline-flex;
  padding:8px 13px;
  border-radius:4px;
  background:#7d2637;
  color:#fff;
  font-size:.7rem;
  font-weight:700;
}

/* Upcoming exhibition rows, same visual language as former Programme page */
.home-upcoming-list{
  border-top:1px solid #d9d2c8;
}
.home-upcoming-row{
  display:grid;
  grid-template-columns:72px 108px minmax(0,1fr) 150px 28px;
  gap:16px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #d9d2c8;
}
.home-upcoming-date strong{
  display:block;
  color:#7d2637;
  font:400 1.4rem Georgia,serif;
  line-height:1;
}
.home-upcoming-date span{
  display:block;
  margin-top:3px;
  color:#786f67;
  font-size:.6rem;
}
.home-upcoming-thumb{
  width:108px;
  height:72px;
  overflow:hidden;
  background:#e8e0d5;
}
.home-upcoming-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-upcoming-placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#c7baa7,#7f7264);
}
.home-upcoming-copy h3{
  margin:0 0 3px;
  font:400 1.2rem Georgia,serif;
}
.home-upcoming-copy p{
  margin:0;
  color:#7d2637;
  font:italic 400 .86rem Georgia,serif;
}
.home-upcoming-period{
  color:#655f58;
  font-size:.7rem;
  line-height:1.45;
}
.home-upcoming-arrow{
  color:#7d2637;
  font-size:1.4rem;
  text-align:right;
}
.home-upcoming-empty{
  padding:20px 0;
  border-top:1px solid #d9d2c8;
  border-bottom:1px solid #d9d2c8;
  color:#756d65;
  font-size:.82rem;
}

/* Preserve clear bands of page background around this block */
.home-exhibitions-block + .avenches-place-v2{
  margin-top:42px;
}

@media(max-width:900px){
  .home-current-card{grid-template-columns:1fr}
  .home-current-image{height:220px}
  .home-upcoming-row{
    grid-template-columns:60px 88px minmax(0,1fr) 24px;
  }
  .home-upcoming-thumb{width:88px;height:62px}
  .home-upcoming-period{display:none}
}
@media(max-width:620px){
  .home-exhibitions-block{
    margin:28px auto;
    padding:38px 20px 44px;
  }
  .home-upcoming-row{
    grid-template-columns:52px 74px minmax(0,1fr);
    gap:10px;
  }
  .home-upcoming-thumb{width:74px;height:54px}
  .home-upcoming-arrow{display:none}
}


/* v0.8.4 — prochaines expositions : montrer l'œuvre entière */
.home-upcoming-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1ece4;
}
.home-upcoming-thumb img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center;
}


/* v0.8.5 — dates des prochaines expositions sur une seule ligne */
.home-upcoming-row{
  grid-template-columns:72px 108px minmax(0,1fr) 190px 28px;
}
.home-upcoming-period{
  white-space:nowrap;
  text-align:right;
}
@media(max-width:900px){
  .home-upcoming-row{
    grid-template-columns:60px 88px minmax(0,1fr) 24px;
  }
}


/* v0.8.6.1 — vidéos MP4/WEBM/MOV locales ou directes dans le popup */
.video-modal-player{
  display:block;
  width:100%;
  max-width:1100px;
  max-height:82vh;
  margin:auto;
  background:#000;
}
.video-modal-inner{
  width:min(1100px,92vw);
}
.video-fallback-box{
  padding:30px;
  background:#fffdf9;
  color:#201d1a;
  text-align:center;
  border-radius:4px;
}
.video-fallback-box p{margin:0 0 18px}

/* v0.9.0 — blocs CMS sur l'accueil */
.home-custom-block{max-width:1320px;margin:42px auto;padding:48px 5vw;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;background:#fffdf9}
.home-custom-block.image_right .home-custom-media{order:2}
.home-custom-block.text_only{grid-template-columns:1fr;max-width:1100px}
.home-custom-media{min-height:300px;background:#eee8df;overflow:hidden}
.home-custom-media img{width:100%;height:100%;max-height:520px;object-fit:contain}
.home-custom-copy h2{margin:.08em 0 18px;color:#7d2637;font:400 clamp(1.8rem,3vw,3rem) Georgia,serif}
.home-custom-text{color:#4d463f;font-size:.9rem;line-height:1.7}
.home-custom-link{display:inline-block;margin-top:18px;color:#7d2637;font-size:.74rem;font-weight:700;border-bottom:1px solid #7d2637}
@media(max-width:760px){.home-custom-block{margin:28px auto;padding:38px 20px;grid-template-columns:1fr;gap:24px}.home-custom-block.image_right .home-custom-media{order:0}.home-custom-media{min-height:220px}}


/* v0.9.1 — Rétrospective */
.retro-hero{
  max-width:1280px;
  margin:0 auto;
  padding:68px 5vw 38px;
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:60px;
  align-items:end;
  border-bottom:1px solid var(--line);
}
.retro-hero h1{
  margin:.08em 0 0;
  font:400 clamp(2.9rem,5vw,5.4rem)/.95 Georgia,serif;
  letter-spacing:-.045em;
}
.retro-hero>p{
  max-width:520px;
  margin:0 0 8px;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.65;
}
.retro-wrap{
  max-width:1280px;
  margin:0 auto;
  padding:42px 5vw 80px;
}
.retro-year{
  margin-bottom:58px;
}
.retro-year-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:18px;
  padding-bottom:11px;
  border-bottom:1px solid var(--line);
}
.retro-year-head h2{
  margin:0;
  color:var(--accent);
  font:400 clamp(2rem,3vw,3rem) Georgia,serif;
}
.retro-year-head span{
  margin-bottom:5px;
  color:var(--muted);
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.retro-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.retro-card{
  min-width:0;
  border:1px solid var(--line);
  background:var(--paper);
  transition:transform .18s ease, box-shadow .18s ease;
}
.retro-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(32,24,18,.08);
}
.retro-card-image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:205px;
  overflow:hidden;
  background:#eee8df;
}
.retro-card-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.retro-card-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#c8bba9,#76695d);
}
.retro-card-placeholder span{
  color:white;
  font:400 3rem Georgia,serif;
}
.retro-card-copy{
  padding:17px 18px 19px;
}
.retro-card-date{
  margin:0 0 8px;
  color:var(--accent);
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.06em;
}
.retro-card-copy h3{
  margin:0 0 5px;
  font:400 1.25rem/1.08 Georgia,serif;
}
.retro-card-subtitle{
  margin:0 0 7px;
  color:var(--accent);
  font:italic 400 .88rem Georgia,serif;
}
.retro-card-discipline{
  margin:0 0 14px;
  color:var(--muted);
  font-size:.61rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.retro-card-link{
  color:var(--accent);
  font-size:.69rem;
  font-weight:700;
  border-bottom:1px solid currentColor;
}
.retro-empty{
  padding:30px 0;
  color:var(--muted);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* Contact modal */
.contact-modal{
  position:fixed;
  inset:0;
  z-index:400;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.contact-modal.open{display:flex}
.contact-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(21,18,16,.70);
  backdrop-filter:blur(6px);
}
.contact-modal-card{
  position:relative;
  z-index:1;
  width:min(760px,94vw);
  max-height:92vh;
  overflow:auto;
  padding:32px;
  background:#fffdf9;
  box-shadow:0 28px 90px rgba(0,0,0,.24);
}
.contact-modal-close{
  position:absolute;
  top:12px;
  right:16px;
  border:0;
  background:transparent;
  color:var(--accent);
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
.contact-modal-intro{
  padding-right:40px;
  margin-bottom:22px;
}
.contact-modal-intro h2{
  margin:.08em 0 10px;
  color:var(--accent);
  font:400 2.2rem Georgia,serif;
}
.contact-modal-intro>p:last-child{
  max-width:560px;
  margin:0;
  color:var(--muted);
  font-size:.86rem;
}
.contact-modal-form label{
  display:block;
  margin-bottom:13px;
  font-size:.72rem;
  font-weight:700;
}
.contact-modal-form input,
.contact-modal-form textarea{
  display:block;
  width:100%;
  margin-top:5px;
  padding:11px 12px;
  border:1px solid var(--line);
  background:white;
  font:inherit;
}
.contact-fields-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.contact-modal-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:18px;
}
.contact-modal-actions span{
  color:var(--muted);
  font-size:.68rem;
}
.contact-modal-actions .btn{
  margin:0;
}
body.contact-modal-opened{overflow:hidden}
.contact-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:500;
  transform:translateY(18px);
  opacity:0;
  padding:12px 16px;
  background:#253b2d;
  color:white;
  font-size:.78rem;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  transition:.25s ease;
}
.contact-toast.error{background:#7d2637}
.contact-toast.show{
  transform:none;
  opacity:1;
}

@media(max-width:900px){
  .retro-hero{grid-template-columns:1fr;gap:14px}
  .retro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .retro-hero,.retro-wrap{padding-left:20px;padding-right:20px}
  .retro-grid{grid-template-columns:1fr}
  .retro-card-image{height:220px}
  .contact-modal-card{padding:26px 20px}
  .contact-fields-two{grid-template-columns:1fr;gap:0}
  .contact-modal-actions{align-items:flex-start;flex-direction:column}
}


/* v0.9.2 — plusieurs expositions simultanées */
.current-count{
  margin-bottom:5px;
  color:var(--muted);
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.home-current-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.home-current-grid.single{
  grid-template-columns:1fr;
}
.home-current-grid:not(.single) .home-current-card{
  grid-template-columns:1fr;
  align-items:stretch;
}
.home-current-grid:not(.single) .home-current-image{
  height:230px;
}
.home-current-grid:not(.single) .home-current-copy{
  padding:2px 2px 4px;
}
.home-current-grid:not(.single) .home-current-copy h3{
  font-size:clamp(1.7rem,2.4vw,2.5rem);
}
.home-current-grid:not(.single) .home-current-text{
  max-width:none;
}
@media(max-width:850px){
  .home-current-grid,
  .home-current-grid.single{
    grid-template-columns:1fr;
  }
  .home-current-grid:not(.single) .home-current-image{
    height:220px;
  }
}


/* v0.9.5 — correctif exposition.php iPhone / petits écrans */
@media(max-width:700px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }

  .expo-premium-wrap{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:20px 18px 42px;
    overflow:hidden;
  }

  .expo-premium-top,
  .expo-premium-gallery,
  .expo-premium-info,
  .expo-premium-lower,
  .expo-premium-lower>article,
  .expo-artist-inline,
  .expo-pdf,
  .expo-pdf>a{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }

  .expo-premium-top{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }

  .expo-main-image,
  .expo-main-placeholder{
    width:100%;
    max-width:100%;
    height:250px;
  }

  .expo-main-image img{
    max-width:100%;
    object-fit:contain;
  }

  .expo-thumbnails{
    width:100%;
    max-width:100%;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
  }

  .expo-thumb{
    min-width:0;
    width:100%;
  }

  .expo-premium-info{
    width:100%;
    padding-left:0;
  }

  .expo-premium-info h1{
    max-width:100%;
    font-size:clamp(2rem,11vw,3.15rem);
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .expo-premium-subtitle,
  .expo-premium-intro,
  .expo-premium-dates{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .expo-facts{
    width:100%;
    grid-template-columns:1fr;
  }

  .expo-fact,
  .expo-fact+.expo-fact{
    min-width:0;
    padding:12px 0;
    border-left:0;
  }

  .expo-premium-actions{
    width:100%;
    align-items:flex-start;
  }

  .expo-action{
    max-width:100%;
    white-space:normal;
    text-align:left;
  }

  .expo-premium-lower,
  .expo-premium-lower.no-expo-text{
    grid-template-columns:minmax(0,1fr);
    width:100%;
  }

  .expo-premium-lower>article,
  .expo-premium-lower>article+article{
    width:100%;
    padding:24px 0;
    border-left:0;
  }

  .expo-artist-inline{
    grid-template-columns:88px minmax(0,1fr);
    gap:14px;
    width:100%;
  }

  .expo-artist-inline img,
  .expo-monogram{
    width:88px;
    max-width:88px;
  }

  .expo-pdf>a{
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
  }

  .expo-pdf>a span{
    grid-column:2;
    white-space:normal;
  }

  .video-modal{
    padding:14px;
  }

  .video-modal-inner,
  .video-modal-player,
  .video-modal-frame{
    width:100%;
    max-width:100%;
  }

  .lightbox{
    max-width:100vw;
    overflow:hidden;
  }

  .lightbox-content{
    max-width:calc(100vw - 36px);
  }

  .lightbox-content img{
    max-width:100%;
    max-height:80vh;
    object-fit:contain;
  }
}

@media(max-width:390px){
  .expo-premium-wrap{
    padding-left:14px;
    padding-right:14px;
  }

  .expo-thumbnails{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .expo-main-image,
  .expo-main-placeholder{
    height:225px;
  }

  .expo-artist-inline{
    grid-template-columns:72px minmax(0,1fr);
  }

  .expo-artist-inline img,
  .expo-monogram{
    width:72px;
    max-width:72px;
    height:88px;
  }
}
.retro-archive-pdf {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,.12);
}

.retro-archive-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    min-height: 320px;
    padding: 3rem 2rem;

    text-decoration: none;
    color: inherit;

    background: #f6f3ee;

    transition: transform .25s ease, box-shadow .25s ease;
}

.retro-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.retro-archive-icon {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    background: #ffffff;
}

.retro-archive-icon svg {
    width: 40px;
    height: 40px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.retro-archive-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.retro-archive-eyebrow {
    margin: 0 0 .7rem;

    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
}

.retro-archive-content h2 {
    margin: 0 0 1rem;
}

.retro-archive-content > p:not(.retro-archive-eyebrow) {
    margin: 0 0 1.5rem;
    max-width: 700px;
}

.retro-archive-link {
    font-weight: 600;
}

@media (max-width: 600px) {
    .retro-archive-card {
        min-height: 280px;
        padding: 2.5rem 1.5rem;
    }
}