:root {
  --ink: #000000;
  --muted: #000000;
  --paper: #fff4c7;
  --soft: #ffd9c7;
  --mint: #d9f0dc;
  --sky: #dff0ff;
  --pink: #ffe0ea;
  --white: #ffffff;
  --line: #dfc9b8;
  --red: #d10073;
  --plum: #6f3c63;
  --green: #2f6d58;
  --gold: #d39b28;
  --veil: rgba(255, 255, 255, 0.8);
  --title-gap: 30px;
  --footer-green: #347d2a;
  --footer-wood-image: linear-gradient(var(--red), var(--red));
  --footer-speckles-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 38'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Ccircle cx='3' cy='19' r='2.2'/%3E%3Ccircle cx='5' cy='7' r='2.2'/%3E%3Ccircle cx='8' cy='28' r='2.2'/%3E%3Ccircle cx='11' cy='34' r='2.2'/%3E%3Ccircle cx='14' cy='18' r='2.2'/%3E%3Ccircle cx='18' cy='9' r='2.2'/%3E%3Ccircle cx='21' cy='24' r='2.2'/%3E%3Ccircle cx='24' cy='32' r='2.2'/%3E%3Ccircle cx='28' cy='5' r='2.2'/%3E%3Ccircle cx='31' cy='21' r='2.2'/%3E%3Ccircle cx='34' cy='29' r='2.2'/%3E%3Ccircle cx='37' cy='11' r='2.2'/%3E%3Ccircle cx='40' cy='17' r='2.2'/%3E%3Ccircle cx='43' cy='33' r='2.2'/%3E%3Ccircle cx='47' cy='8' r='2.2'/%3E%3Ccircle cx='49' cy='25' r='2.2'/%3E%3Ccircle cx='53' cy='31' r='2.2'/%3E%3Ccircle cx='57' cy='14' r='2.2'/%3E%3Ccircle cx='60' cy='22' r='2.2'/%3E%3Ccircle cx='63' cy='4' r='2.2'/%3E%3Ccircle cx='66' cy='35' r='2.2'/%3E%3Ccircle cx='69' cy='26' r='2.2'/%3E%3Ccircle cx='72' cy='11' r='2.2'/%3E%3Ccircle cx='74' cy='18' r='2.2'/%3E%3Ccircle cx='78' cy='6' r='2.2'/%3E%3Ccircle cx='82' cy='25' r='2.2'/%3E%3Ccircle cx='86' cy='34' r='2.2'/%3E%3Ccircle cx='90' cy='15' r='2.2'/%3E%3Ccircle cx='93' cy='31' r='2.2'/%3E%3Ccircle cx='96' cy='7' r='2.2'/%3E%3Ccircle cx='98' cy='12' r='2.2'/%3E%3Ccircle cx='101' cy='27' r='2.2'/%3E%3Ccircle cx='104' cy='17' r='2.2'/%3E%3Ccircle cx='108' cy='5' r='2.2'/%3E%3Ccircle cx='111' cy='27' r='2.2'/%3E%3Ccircle cx='114' cy='13' r='2.2'/%3E%3Ccircle cx='116' cy='35' r='2.2'/%3E%3Ccircle cx='119' cy='6' r='2.2'/%3E%3Ccircle cx='122' cy='21' r='2.2'/%3E%3Ccircle cx='125' cy='30' r='2.2'/%3E%3Ccircle cx='127' cy='10' r='2.2'/%3E%3Ccircle cx='131' cy='18' r='2.2'/%3E%3Ccircle cx='134' cy='30' r='2.2'/%3E%3Ccircle cx='138' cy='7' r='2.2'/%3E%3Ccircle cx='141' cy='23' r='2.2'/%3E%3Ccircle cx='145' cy='34' r='2.2'/%3E%3Ccircle cx='148' cy='14' r='2.2'/%3E%3Ccircle cx='151' cy='27' r='2.2'/%3E%3Ccircle cx='154' cy='5' r='2.2'/%3E%3Ccircle cx='157' cy='19' r='2.2'/%3E%3Ccircle cx='160' cy='35' r='2.2'/%3E%3Ccircle cx='163' cy='12' r='2.2'/%3E%3Ccircle cx='166' cy='29' r='2.2'/%3E%3Ccircle cx='169' cy='22' r='2.2'/%3E%3Ccircle cx='172' cy='8' r='2.2'/%3E%3Ccircle cx='176' cy='32' r='2.2'/%3E%3Ccircle cx='179' cy='16' r='2.2'/%3E%3Ccircle cx='182' cy='5' r='2.2'/%3E%3Ccircle cx='185' cy='27' r='2.2'/%3E%3Ccircle cx='188' cy='12' r='2.2'/%3E%3Ccircle cx='191' cy='34' r='2.2'/%3E%3Ccircle cx='194' cy='24' r='2.2'/%3E%3Ccircle cx='197' cy='20' r='2.2'/%3E%3Ccircle cx='200' cy='31' r='2.2'/%3E%3Ccircle cx='203' cy='12' r='2.2'/%3E%3Ccircle cx='206' cy='18' r='2.2'/%3E%3Ccircle cx='209' cy='6' r='2.2'/%3E%3Ccircle cx='212' cy='35' r='2.2'/%3E%3Ccircle cx='214' cy='25' r='2.2'/%3E%3Ccircle cx='218' cy='14' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  --frieze-band-height: 28px;
  --frieze-ground-line: 77.1%;
  --frieze-height: 150px;
  --footer-strip-height: 12px;
  --reading-size: clamp(1.5rem, 2.7vw, 2.85rem);
  --reading-line: 1.12;
  --hand-accent-safe: "Patrick Hand", "Fredoka", "Comic Sans MS", cursive;
  --page-pastel-green: #c6e3b9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background-color: #d8e5c8;
  background: url("assets/fonds-test/ciel-prairie-simple.webp");
  background-blend-mode: normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
}

body.home-page {
  background-color: #d8e5c8;
  background: url("assets/fonds-test/ciel-prairie-simple.webp");
  background-blend-mode: normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body:not(.home-page):not(.contact-page) {
  background-color: #d8e5c8;
  background: url("assets/fonds-test/ciel-prairie-simple.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.drag-scroll-active {
  cursor: grabbing;
  user-select: none;
}

.presentation-page,
.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header:has(.brand[aria-label="Retour aux ateliers"]) ~ main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .site-header {
  display: none;
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .site-footer {
  flex: 0 0 auto;
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .frieze {
  margin-top: auto;
}

.presentation-page main,
.contact-page main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.presentation-page .site-footer,
.contact-page .site-footer {
  flex: 0 0 auto;
}

.presentation-page .frieze,
.contact-page .frieze {
  margin-top: auto;
}

.contact-page .practical {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  flex-direction: column;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  border-top: 0;
}

.contact-page .site-header {
  min-height: 198px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: transparent;
  background-blend-mode: normal;
  border-bottom: 0;
}

.contact-page::before {
  content: none;
}

.contact-page .site-header,
.contact-page main,
.contact-page .site-footer {
  position: relative;
}

.contact-page main {
  padding-top: 0;
  background: transparent;
  min-height: 0;
  overflow: hidden;
}

.contact-page .frieze {
  margin-top: 0;
}

.modalites-page .programme-page {
  padding-bottom: clamp(120px, 18vh, 190px);
}

.modalites-page .programme-title {
  margin-bottom: clamp(78px, 9vw, 126px);
}

.modalites-page .site-header,
.modalites-page .brand,
.modalites-page .header-mark {
  transition-duration: 180ms;
}

.musee-presentation-page {
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(48px, 66px);
  align-items: center;
  column-gap: clamp(10px, 1.7vw, 24px);
  row-gap: 10px;
  min-height: 148px;
  padding: 12px clamp(18px, 4vw, 54px) 12px;
  background: transparent;
  background-blend-mode: normal;
  background-size: auto;
  background-position: center;
  border-bottom: 0;
  transition:
    min-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 260ms cubic-bezier(0.22, 1, 0.36, 1),
    row-gap 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .site-header {
  background: transparent;
  background-blend-mode: normal;
  border-bottom: 0;
}

.home-page::before {
  content: none;
}

.home-page .site-header,
.home-page main,
.home-page .site-footer {
  position: relative;
}

main {
  padding-top: 148px;
  background:
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
    var(--footer-wood-image),
    url("assets/fonds-test/ciel-prairie-simple.webp");
  background-size:
    76px var(--frieze-band-height),
    109px var(--frieze-band-height),
    143px var(--frieze-band-height),
    100% var(--frieze-band-height),
    100% var(--frieze-band-height),
    cover;
  background-position: left bottom, 23px bottom, 51px bottom, center bottom, center bottom, center;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, no-repeat;
  background-attachment: scroll, scroll, scroll, scroll, scroll, fixed;
}

.home-page main {
  background: transparent;
}

.home-page .frieze {
  flex: 0 0 auto;
  margin-top: 0;
  margin-bottom: -1px;
}

.home-page .site-footer {
  min-height: var(--footer-strip-height);
}

.brand {
  display: none;
  align-items: center;
  justify-self: center;
  grid-column: 1 / -1;
  max-height: 104px;
  overflow: hidden;
  transition:
    max-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.brand img {
  width: min(245px, 30vw);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.header-mark {
  display: block;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
  justify-self: end;
  grid-column: 2;
  grid-row: 2;
  cursor: default;
  transition:
    width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    height 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-mark:focus:not(:focus-visible) {
  outline: none;
}

.header-mark:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px clamp(12px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.9);
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.header-tagline {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: center;
  width: 100%;
  text-align: left;
}

.header-tagline h1 {
  margin: 0;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

nav a,
.submenu-trigger {
  text-decoration: none;
}

.site-header nav > a,
.site-header nav > .nav-item > .submenu-trigger {
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.32rem, 1.68vw, 1.85rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(5, 4, 3, 0.38);
}

nav a:hover,
.submenu-trigger:hover {
  color: var(--white);
}

nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: none;
}

@media (min-width: 901px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 8px clamp(7px, 1vw, 14px);
    padding-right: clamp(10px, 2.6vw, 36px);
    padding-left: clamp(10px, 2.6vw, 36px);
  }

  .site-header .header-mark {
    position: absolute;
    grid-column: auto;
    grid-row: auto;
    right: clamp(18px, 3vw, 42px);
    top: clamp(14px, 2vw, 22px);
    bottom: auto;
  }

  .site-header nav > a,
  .site-header nav > .nav-item,
  .site-header nav > .nav-item > .submenu-trigger {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-header nav > a:first-child {
    margin-right: calc(1.6rem + 0.35em);
  }
}

.nav-item {
  position: relative;
}

.nav-has-submenu {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.submenu-trigger {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.submenu-trigger:focus:not(:focus-visible) {
  outline: none;
}

.submenu-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.submenu-toggle {
  display: inline-grid;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.submenu-toggle::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-has-submenu.is-open > .submenu-toggle::before {
  transform: translateY(0.08em) rotate(225deg);
}

.submenu-toggle:hover {
  color: var(--white);
}

.submenu-toggle:focus:not(:focus-visible) {
  outline: none;
}

.submenu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 22;
  display: grid;
  min-width: 170px;
  padding: 8px;
  border: 0;
  background: url("assets/fonds-test/ciel-prairie-simple.webp") center top / cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(22, 17, 15, 0.28);
  mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu a {
  display: block;
  padding: 8px 10px;
  white-space: nowrap;
  color: #000000;
  font-weight: 700;
  font-size: 1.08em;
  text-shadow: none;
}

.nav-association .submenu {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-has-submenu:hover .submenu,
.nav-has-submenu:focus-within .submenu,
.nav-has-submenu.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.is-scrolled .site-header {
  min-height: 58px;
  row-gap: 0;
  padding-top: 7px;
  padding-bottom: 7px;
}

body.is-scrolled .brand {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

body.is-scrolled .header-mark {
  width: 48px;
  height: 48px;
}

body:not(.home-page):not(.contact-page) .site-header {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 9px clamp(18px, 4vw, 54px);
  row-gap: 0;
  overflow: visible;
  background: transparent;
  background-blend-mode: normal;
  background-size: auto;
  background-position: center;
  border-bottom: 0;
}

.home-page .site-header,
.contact-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 9px clamp(18px, 4vw, 54px);
  row-gap: 0;
}

body:not(.home-page):not(.contact-page) .site-header::after {
  content: none;
}

.home-page .site-header::after,
.contact-page .site-header::after {
  content: none;
}

body:not(.home-page):not(.contact-page) main {
  padding-top: 76px;
}

.home-page main,
.contact-page main {
  padding-top: 76px;
}

body:not(.home-page):not(.contact-page) .site-header nav {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  padding-right: clamp(76px, 8vw, 112px);
}

.home-page .site-header nav,
.contact-page .site-header nav {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  padding-right: clamp(76px, 8vw, 112px);
}

body:not(.home-page):not(.contact-page) .site-header .header-mark {
  grid-column: 2;
  grid-row: 1;
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  top: clamp(5px, calc(2vw - 9px), 13px);
  width: 66px;
  height: 66px;
}

.home-page .site-header .header-mark,
.contact-page .site-header .header-mark {
  grid-column: 2;
  grid-row: 1;
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  top: clamp(5px, calc(2vw - 9px), 13px);
  width: 66px;
  height: 66px;
}

.home-header-logo {
  display: none;
}

@media (min-width: 901px) {
  .home-page .site-header {
    grid-template-columns: minmax(92px, 0.28fr) minmax(0, 1fr) auto;
  }

  .home-page .home-header-logo {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    width: clamp(108px, 10vw, 168px);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
  }

  .home-page .site-header nav {
    grid-column: 2;
    padding-left: 0;
  }
}

body:not(.home-page):not(.contact-page) .header-clothesline {
  display: none !important;
}

body:not(.home-page):not(.contact-page) .submenu {
  z-index: 90;
  background: url("assets/fonds-test/ciel-prairie-simple.webp") center top / cover no-repeat;
}

.home-heading {
  padding: clamp(26px, 4vw, 48px) clamp(18px, 4vw, 54px) 0;
  text-align: center;
}

.home-page .home-heading:empty {
  display: none;
}

.page-logo-text {
  display: block;
  width: min(310px, 58vw);
  margin: 0 auto clamp(10px, 2vw, 18px);
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.28));
}

.home-welcome {
  margin: 0 auto clamp(6px, 1vw, 12px);
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  text-shadow: none;
}

.contact-page-logo {
  width: min(230px, 48vw);
  margin-top: clamp(8px, 2vh, 18px);
  margin-bottom: clamp(8px, 2vh, 18px);
}

.home-heading h1 {
  margin: 0;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: none;
}

.home-page .home-heading h1.writing-title {
  visibility: hidden;
}

.home-page .home-heading h1.writing-title:has(.write-char) {
  visibility: visible;
}

.home-page .home-heading h1.writing-title .write-char,
.home-page .home-heading h1.writing-title .write-space {
  display: inline-block;
}

.home-page .home-heading h1.writing-title .write-char {
  opacity: 0;
  transform: translateZ(0);
  animation: writeTitleChar 0.28s ease-out forwards;
  animation-delay: calc(var(--i) * 0.32s);
}

.home-page .home-heading h1.writing-title.is-written .write-char {
  opacity: 1;
  animation: none;
}

.home-page .home-heading h1.writing-title .write-space {
  width: 0.24em;
}

.writing-title .write-word {
  white-space: nowrap;
}

@keyframes writeTitleChar {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-heading h1.writing-title .write-char {
    opacity: 1;
    animation: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 0.94fr);
  min-height: calc(100vh - 82px);
  align-items: center;
  row-gap: var(--title-gap);
  column-gap: clamp(26px, 5vw, 72px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 54px) clamp(28px, 5vw, 70px);
  background: transparent;
}

.hero-title {
  grid-column: 1 / -1;
}

.hero-media {
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.3);
}

.hero-media img:nth-child(2) {
  width: 88%;
  justify-self: end;
}

.hero-media img:nth-child(3) {
  width: 92%;
}

.photo-scatter {
  position: relative;
  display: block;
  min-height: 640px;
  padding: 0;
}

.photo-scatter figure {
  position: absolute;
  margin: 0;
  padding: 9px;
  background: #fffdf7;
  border-radius: 4px;
  box-shadow: 0 18px 28px rgba(22, 17, 15, 0.3);
  transform: rotate(var(--tilt));
  z-index: var(--z);
}

.photo-scatter img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  border-radius: 0;
  box-shadow: none;
  background: #fffdf7;
}

.photo-scatter figure:nth-child(1) {
  top: 34px;
  left: 2%;
  width: 44%;
  --tilt: -5deg;
  --z: 3;
}

.photo-scatter figure:nth-child(2) {
  top: 20px;
  right: 4%;
  width: 44%;
  --tilt: 4deg;
  --z: 2;
}

.photo-scatter figure:nth-child(3) {
  top: 170px;
  left: 23%;
  width: 50%;
  --tilt: -2deg;
  --z: 6;
}

.photo-scatter figure:nth-child(4) {
  top: 330px;
  left: 2%;
  width: 39%;
  --tilt: 5deg;
  --z: 5;
}

.photo-scatter figure:nth-child(5) {
  top: 392px;
  right: 3%;
  width: 42%;
  --tilt: -4deg;
  --z: 4;
}

.photo-scatter figure:nth-child(6) {
  top: 510px;
  left: 8%;
  width: 28%;
  --tilt: -3deg;
  --z: 2;
}

.photo-scatter figure:nth-child(7) {
  top: 540px;
  left: 38%;
  width: 45%;
  --tilt: 3deg;
  --z: 5;
}

.photo-scatter figure:nth-child(8) {
  top: 270px;
  right: 0;
  width: 34%;
  --tilt: 6deg;
  --z: 1;
}

.photo-scatter figure:nth-child(9),
.photo-scatter figure:nth-child(10),
.photo-scatter figure:nth-child(11),
.photo-scatter figure:nth-child(12) {
  display: none;
}

.hero-text {
  max-width: 680px;
}

.hero-text > p {
  display: inline-block;
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--veil);
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.45);
}

.hero-words {
  max-width: 760px;
  align-self: start;
  margin-top: clamp(42px, 7vw, 92px);
}

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  color: var(--ink);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 255, 255, 0.92),
    0 0 28px rgba(255, 255, 255, 0.72);
}

.word-cloud span {
  display: inline-block;
}

.word-cloud-primary {
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--reading-size);
  font-style: italic;
  font-weight: 800;
  color: #000000;
  line-height: var(--reading-line);
}

.word-cloud-actions {
  margin-top: clamp(20px, 4vw, 42px);
  color: var(--red);
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-size: clamp(1.55rem, 2.7vw, 2.9rem);
  font-weight: 300;
  line-height: 1.08;
}

.home-page .site-header {
  min-height: 76px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.home-page main {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--footer-strip-height));
  overflow: visible;
  padding-top: 76px;
}

.home-page .brand {
  max-height: 104px;
  overflow: visible;
}

.home-page .brand img {
  width: min(245px, 30vw);
}

.home-page .header-mark {
  width: 66px;
  height: 66px;
}

.home-page .home-heading {
  flex: 0 0 auto;
  padding: clamp(2px, 0.5vw, 6px) clamp(18px, 4vw, 54px) 0;
  margin-top: 0;
}

.home-page .home-heading h1 {
  font-size: clamp(4rem, 6.4vw, 7rem);
  line-height: 1.06;
  white-space: nowrap;
  transform: translateY(0);
}

.home-page .hero {
  grid-template-columns: 1fr;
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  align-content: center;
  align-items: start;
  justify-items: center;
  row-gap: clamp(10px, 1.2vw, 16px);
  padding: 0 clamp(20px, 4vw, 54px) 0;
  transform: translateY(0);
}

.home-page .home-tagline {
  flex: 0 0 auto;
  width: min(1120px, 96vw);
  margin: 0 auto clamp(4px, 0.7vh, 7px);
  color: #000000;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.08vw, 2.15rem);
  font-weight: 400;
  line-height: 1.06;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  transform: translateY(-12px);
  text-shadow: none;
}

.home-page .hero-media {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 2px;
  width: min(890px, 92vw);
}

.home-page .hero-words {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  justify-self: center;
  max-width: none;
  margin-top: 0;
  width: min(760px, 92vw);
  text-align: center;
}

.home-page .word-cloud {
  justify-content: center;
  gap: 0 0.42em;
  text-align: center;
}

.home-page .word-cloud-primary {
  display: block;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.58vw, 1.64rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  white-space: normal;
  color: var(--white);
  text-shadow:
    0 2px 10px rgba(5, 4, 3, 0.62),
    0 0 18px rgba(5, 4, 3, 0.44);
}

.home-page .word-cloud-primary p {
  margin: 0;
  color: #ffffff;
}

.home-page .photo-scatter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  min-height: 0;
}

.home-page .photo-scatter figure {
  position: static;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border-radius: 6px;
  box-shadow: none;
  transform: translateY(var(--photo-shift, 0)) rotate(var(--photo-tilt, 0deg));
  transform-origin: center center;
}

.home-page .photo-scatter img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: clamp(166px, 23vh, 210px);
  background: transparent;
  border: 2px solid #fffdf7;
  border-radius: 6px;
  box-shadow: 0 14px 24px rgba(22, 17, 15, 0.28);
  cursor: zoom-in;
}

.home-page .photo-scatter img.photo-contain {
  background: transparent;
}

.home-page .photo-scatter figure:nth-child(1) {
  --photo-tilt: -2.2deg;
  --photo-shift: 3px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(2) {
  --photo-tilt: 1.7deg;
  --photo-shift: -2px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(3) {
  --photo-tilt: -1.4deg;
  --photo-shift: 4px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(4) {
  --photo-tilt: 2.1deg;
  --photo-shift: -3px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(5) {
  --photo-tilt: -1.8deg;
  --photo-shift: 2px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(6) {
  --photo-tilt: 1.3deg;
  --photo-shift: 4px;
  width: auto;
}

.home-page .photo-scatter figure:nth-child(7),
.home-page .photo-scatter figure:nth-child(8),
.home-page .photo-scatter figure:nth-child(9),
.home-page .photo-scatter figure:nth-child(10),
.home-page .photo-scatter figure:nth-child(11),
.home-page .photo-scatter figure:nth-child(12) {
  display: none;
}

.home-page .photo-scatter figure:nth-child(1) {
  animation-delay: -0.5s;
}

.home-page .photo-scatter figure:nth-child(2) {
  animation-delay: 2.83s;
}

.home-page .photo-scatter figure:nth-child(3) {
  animation-delay: 5.66s;
}

.home-page .photo-scatter figure:nth-child(4) {
  animation-delay: 8.5s;
}

.home-page .photo-scatter figure:nth-child(5) {
  animation-delay: 11.33s;
}

.home-page .photo-scatter figure:nth-child(6) {
  animation-delay: 14.16s;
}

@keyframes homePhotoSlideshow {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }

  3%,
  13% {
    opacity: 1;
    transform: scale(1);
  }

  18%,
  100% {
    opacity: 0;
    transform: scale(1.01);
  }
}

.hero-mark {
  width: 112px;
  margin-bottom: 18px;
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.section-heading .eyebrow,
.highlight .eyebrow,
.museum-title .eyebrow {
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: "Fredoka", Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.15rem, 4vw, 3.95rem);
  line-height: 1.08;
  white-space: normal;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(5, 4, 3, 0.42);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.55vw, 3.35rem);
  line-height: 1.12;
}

main h2 {
  font-family: "Fredoka", Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: none;
  white-space: normal;
}

.home-page main h2 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(5, 4, 3, 0.42);
}

h1::first-letter,
main h2::first-letter {
  font-size: 1.9em;
  font-weight: 500;
  line-height: 0.68;
}

.home-page .home-heading h1::first-letter {
  font-size: 1em;
  font-weight: inherit;
  line-height: inherit;
}

.musee-presentation-page .museum-title h2 {
  color: #ffffff;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
  line-height: 1.08;
}

.musee-presentation-page .museum-title h2::first-letter {
  font-size: 1em;
  font-weight: inherit;
  line-height: inherit;
}

.musee-presentation-page .museum-title h2.writing-title {
  visibility: hidden;
}

.musee-presentation-page .museum-title h2.writing-title:has(.write-char) {
  visibility: visible;
}

.musee-presentation-page .museum-title h2.writing-title .write-char,
.musee-presentation-page .museum-title h2.writing-title .write-space {
  display: inline;
}

.musee-presentation-page .museum-title h2.writing-title .write-char {
  opacity: 0;
  animation: writeTitleChar 0.1s ease-out forwards;
  animation-delay: calc(var(--i) * 0.22s);
}

.musee-presentation-page .museum-title h2.writing-title .write-space {
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  .musee-presentation-page .museum-title h2.writing-title .write-char {
    opacity: 1;
    animation: none;
  }
}

.title-bang {
  display: inline-block;
  font-size: 1.45em;
  line-height: 0.7;
  margin-left: 0.08em;
  transform: translateY(0.05em);
}

.hero-title,
.story-title,
.programme > div:first-child,
.highlight > div:first-child,
.practical > div:first-child,
.museum-title,
.section-heading {
  margin-bottom: 0;
  text-align: center;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
}

.hero-text p,
.story-text,
.section-heading p,
.activity-grid p,
.highlight p,
.museum-text p,
.practical-grid p,
.site-footer p,
.values span {
  color: var(--muted);
}

.activity-grid p,
.practical-grid p,
.site-footer p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: #d10073;
  border-color: #d10073;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.section {
  padding: clamp(34px, 5.5vw, 62px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

body:not(.home-page):not(.contact-page) main > .section:first-child {
  border-top: 0;
}

.story {
  background: transparent;
  color: var(--ink);
  padding-top: clamp(30px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.story-title {
  grid-column: 1 / -1;
}

.story-title h2 {
  white-space: normal;
  font-family: "Fredoka", Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  color: var(--white);
}

.story .story-text {
  grid-column: 1 / -1;
}

.activities {
  background: transparent;
}

.programme {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(300px, 1.18fr);
  row-gap: var(--title-gap);
  column-gap: clamp(24px, 5vw, 64px);
  background: transparent;
  padding-top: clamp(8px, 1.5vw, 18px);
}

.programme > div:first-child,
.highlight > div:first-child,
.practical > div:first-child,
.museum-title {
  grid-column: 1 / -1;
}

.programme-box,
.highlight-text,
.practical-grid {
  grid-column: 1 / -1;
}

.programme-box {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#programme,
#quinzaine,
#musee,
#contact {
  scroll-margin-top: 230px;
}

.programme-box p {
  color: var(--muted);
}

.programme-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.programme-subpage-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(18px, 3vw, 34px);
}

.room-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(22px, 4vw, 44px);
}

.room-card,
.contact-board {
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(223, 201, 184, 0.8);
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(22, 17, 15, 0.16);
}

.room-card {
  padding: clamp(18px, 2.2vw, 28px);
}

.room-card h3,
.contact-board h3 {
  margin: 0;
  color: var(--red);
}

.slot-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.slot-list p {
  display: grid;
  grid-template-columns: minmax(108px, 0.55fr) minmax(96px, 0.45fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 12px;
  color: #000000;
  background: rgba(255, 255, 255, 0.68);
  border-left: 5px solid var(--green);
  border-radius: 6px;
}

.slot-list strong,
.slot-list span {
  font-weight: 900;
}

.slot-list span {
  color: var(--red);
}

.contact-board {
  margin-top: clamp(22px, 4vw, 44px);
  padding: clamp(14px, 1.8vw, 22px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.contact-grid p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 9px 10px;
  color: #000000;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.contact-grid strong {
  color: var(--red);
}

.contact-grid span,
.contact-grid a {
  overflow-wrap: normal;
  word-break: normal;
}

.contact-grid a {
  font-size: 0.84rem;
  line-height: 1.12;
}

.contact-grid .contact-email-long {
  font-size: 0.74rem;
}

.programme-page {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
}

.programme-title {
  max-width: 860px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.programme-title p,
.programme-lead {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}

.programme-page-no-title {
  padding-top: clamp(58px, 8vw, 104px);
}

.collective-page .programme-page {
  padding-top: clamp(24px, 4vw, 44px);
}

.collective-page .programme-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collective-page .programme-info-grid article:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, calc((100% - clamp(14px, 2vw, 22px)) / 2));
}

.association-mode-page .programme-page-no-title {
  padding-top: clamp(14px, 2.2vw, 28px);
  padding-bottom: clamp(8px, 1.2vw, 16px);
}

.association-mode-page .programme-info-grid {
  gap: clamp(8px, 1.2vw, 14px);
}

.association-mode-page .programme-info-grid article {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.association-mode-page .programme-info-grid h3 {
  color: var(--red);
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.62rem, 2.2vw, 2.15rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: none;
  filter: none;
  opacity: 1;
  letter-spacing: 0;
}

.association-mode-page .programme-info-grid p {
  color: #000000;
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.32rem, 1.85vw, 1.7rem);
  font-weight: 400;
  line-height: 1.08;
}

.association-mode-page .keep-together {
  white-space: nowrap;
}

@media (min-width: 901px) {
  .association-mode-page .programme-info-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .association-mode-page .programme-info-grid article {
    grid-column: span 2;
  }

  .association-mode-page .programme-info-grid .association-mode-wide {
    grid-column: span 3;
  }
}

.programme-events {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  max-width: min(980px, 94vw);
  margin: clamp(30px, 5vw, 64px) auto 0;
}

.programme-event-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(14px, 2.4vw, 26px);
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(223, 201, 184, 0.8);
  border-radius: 6px;
  box-shadow: 0 14px 24px rgba(22, 17, 15, 0.16);
}

.event-poster {
  margin: 0;
  justify-self: center;
}

.event-poster img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  background: #fffdf7;
  border: 7px solid #fffdf7;
  border-radius: 6px;
  box-shadow: 0 10px 18px rgba(22, 17, 15, 0.2);
  cursor: zoom-in;
}

.programme-event-text {
  color: #000000;
}

.programme-event-date {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.programme-event-text h3 {
  margin: 0;
  color: #000000;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 0.95;
}

.programme-event-text p {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.programme-event-text a {
  color: #0f5e22;
  text-decoration-thickness: 2px;
}

.programme-info-grid,
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.modalites-page .programme-info-grid {
  padding-top: clamp(28px, 4vw, 54px);
}

.programme-info-grid article,
.event-list article,
.workshop-grid article {
  background: rgba(255, 253, 247, 0.84);
  border: 1px solid rgba(223, 201, 184, 0.8);
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(22, 17, 15, 0.16);
}

.programme-info-grid article {
  padding: 20px;
}

.programme-info-grid h3,
.programme-block h3,
.event-list h4,
.workshop-grid h4 {
  margin: 0;
  color: var(--red);
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .programme-info-grid h4 {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.7rem);
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
  text-shadow: none;
}

.programme-info-grid p,
.event-list p,
.workshop-grid p {
  margin: 10px 0 0;
  color: #000000;
}

.collective-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  align-items: start;
  gap: clamp(20px, 3vw, 34px);
  width: min(1080px, 94vw);
  margin: 0 auto;
}

.collective-gallery figure {
  margin: 0;
  width: 100%;
}

.collective-gallery .collective-figure-wide {
  grid-column: 1 / -1;
}

.collective-gallery .collective-figure-wide:not(.collective-figure-pair) {
  width: min(760px, 100%);
  justify-self: center;
}

.collective-gallery .collective-figure-center {
  grid-column: 1 / -1;
  width: min(420px, 100%);
  justify-self: center;
}

.collective-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
  align-items: start;
}

.collective-gallery img {
  width: 100%;
  object-fit: cover;
  padding: clamp(5px, 0.7vw, 8px);
  background: #fffdf7;
  border-radius: 5px;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.26);
  cursor: zoom-in;
}

.collective-gallery .collective-image-portrait,
.collective-gallery .collective-image-poster {
  aspect-ratio: 3 / 4;
}

.collective-gallery .collective-image-poster-full {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.collective-gallery .collective-image-landscape {
  height: auto;
  object-fit: contain;
}

.collective-gallery figcaption {
  margin-bottom: 12px;
  padding: clamp(14px, 2vw, 20px);
  color: #000000;
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(223, 201, 184, 0.8);
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(22, 17, 15, 0.16);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.collective-page .collective-gallery figcaption {
  padding: 0;
  color: #000000;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.34rem, 1.78vw, 1.72rem);
  line-height: 1.34;
  text-shadow: none;
}

.programme-block {
  margin-top: clamp(34px, 5vw, 64px);
}

.programme-block > h3 {
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 24px;
}

.quinzaine-news-page {
  display: block;
  width: 100%;
  max-width: none;
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(24px, 5vw, 72px);
}

.quinzaine-news-page > div {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.quinzaine-news-poster {
  max-width: min(360px, 82vw);
  margin: 0 auto clamp(22px, 4vw, 42px);
  padding: clamp(6px, 1vw, 10px);
  background: #fffdf7;
  border-radius: 6px;
  box-shadow: 0 16px 28px rgba(22, 17, 15, 0.28);
}

.quinzaine-news-poster img {
  width: 100%;
  height: auto;
}

.quinzaine-news-poster .poster-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 44vw, 430px);
  padding: clamp(18px, 3vw, 34px);
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.quinzaine-news-page h2,
.quinzaine-events h3,
.quinzaine-events .programme-lead {
  text-align: center;
}

.quinzaine-news-title {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-transform: none;
}

.quinzaine-news-title::first-letter {
  font-size: 1em;
  font-weight: 700;
  line-height: inherit;
}

.quinzaine-news-title span {
  display: block;
  color: var(--red);
  font-family: "Fredoka", Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  text-shadow: none;
}

.quinzaine-news-title span:first-child {
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 400;
  text-transform: none;
}

.quinzaine-news-title span:not(:first-child) {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
}

.quinzaine-news-title sup {
  font-size: 0.48em;
  line-height: 0;
  vertical-align: super;
}

.quinzaine-news-title .quinzaine-news-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.quinzaine-news-title .quinzaine-music-burst {
  display: inline-block;
  margin-top: 4px;
  color: #d10073;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 16rem) !important;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.96),
    0 0 17px rgba(255, 255, 255, 0.76);
  perspective: 800px;
  transform-style: preserve-3d;
}

.quinzaine-news-title .quinzaine-music-burst span {
  display: inline-block;
  font: inherit !important;
  color: inherit;
  line-height: inherit;
  text-shadow: inherit;
  transform-origin: center;
  animation: musicLetterForward 1.05s cubic-bezier(0.16, 0.92, 0.28, 1.18) both 2;
  animation-delay: calc(var(--i) * 0.13s);
}

@keyframes musicLetterForward {
  0% {
    opacity: 0;
    transform: perspective(800px) translateZ(-720px) scale(0.08);
    filter: blur(10px);
  }
  70% {
    opacity: 1;
    transform: perspective(800px) translateZ(80px) scale(1.16);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: perspective(800px) translateZ(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quinzaine-news-title .quinzaine-music-burst span {
    animation: none;
  }
}

.quinzaine-events {
  margin-top: clamp(24px, 4vw, 48px);
}

.quinzaine-events h3 {
  margin: 0;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.quinzaine-events .event-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: stretch;
  --quinzaine-column-gap: clamp(18px, 2.4vw, 30px);
  gap: var(--quinzaine-column-gap);
}

.quinzaine-events .event-list article {
  min-height: 0;
  padding: clamp(20px, 2.2vw, 28px);
}

.event-list article,
.workshop-grid article {
  padding: 18px;
}

.event-list time {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.55vw, 2.55rem);
  font-weight: 400;
  line-height: 1.04;
  text-align: left;
}

.event-list time::first-line {
  font-size: clamp(1.95rem, 3.4vw, 3.4rem);
  line-height: 0.95;
}

.event-list .event-photo {
  width: min(100%, 440px);
  height: auto;
  margin: 14px auto 12px;
  padding: 3px;
  background: #fffdf7;
  border-radius: 5px;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.24);
}

.keep-inline {
  white-space: nowrap;
}

.workshop-grid {
  margin-top: 24px;
}

.workshop-grid article {
  display: flex;
  flex-direction: column;
}

.workshop-grid h4 {
  color: var(--plum);
  font-size: 1.1rem;
  line-height: 1.2;
}

.programme-note {
  max-width: 760px;
  margin: 12px auto 0;
  text-align: center;
}

.programme-original-pages {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin-top: 24px;
}

.programme-original-pages figure {
  margin: 0;
}

.programme-original-pages img {
  display: block;
  width: 100%;
  background: #fffdf7;
  box-shadow: 0 18px 30px rgba(22, 17, 15, 0.28);
  cursor: zoom-in;
}

.programme-original-pages figcaption {
  margin-top: 8px;
  font-weight: 900;
  text-align: center;
}

.story,
.highlight,
.practical {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(300px, 1.18fr);
  row-gap: var(--title-gap);
  column-gap: clamp(24px, 5vw, 64px);
}

.story-text,
.highlight-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(18px, 3vw, 28px);
  background: var(--veil);
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.42);
  text-align: left;
}

.story-text {
  max-width: min(1240px, 96vw);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  text-align-last: left;
  color: #000000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--reading-size);
  font-style: italic;
  font-weight: 700;
  line-height: var(--reading-line);
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.96),
    0 0 17px rgba(255, 255, 255, 0.76);
}

.story-text p {
  color: #000000;
}

.story .story-text p {
  padding: clamp(18px, 3vw, 28px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.story .story-text p + p {
  margin-top: 8px;
}

.presentation-page .story-text,
.presentation-page .section-heading > p:not(.eyebrow) {
  max-width: min(1040px, 94vw);
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.32rem, 1.85vw, 1.7rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  text-shadow: none;
}

.presentation-page .story {
  padding-top: clamp(4px, 1vw, 10px);
  padding-bottom: clamp(4px, 1vw, 10px);
}

@media (min-width: 901px) {
  .presentation-page {
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 1fr) var(--footer-strip-height);
  }

  .presentation-page main {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    padding-top: 42px;
  }

  .presentation-page.collective-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .presentation-page.collective-page main {
    flex: 1 0 auto;
    display: block;
    min-height: auto;
    padding-top: 42px;
  }

  .presentation-page .story {
    grid-template-columns: minmax(270px, 0.72fr) minmax(420px, 1.28fr);
    grid-template-areas:
      "stats stats"
      "photos photos"
      "portraits text";
    align-items: start;
    justify-content: center;
    row-gap: clamp(6px, 0.8vw, 10px);
    column-gap: clamp(14px, 2vw, 26px);
    align-self: center;
    width: min(1060px, 90vw);
    margin-inline: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .presentation-page .association-stats {
    grid-area: stats;
  }

  .presentation-page .presentation-photo-row {
    grid-area: photos;
  }

  .presentation-page .presentation-portrait-row {
    grid-area: portraits;
  }

  .presentation-page .story-text {
    grid-area: text;
    align-self: start;
  }

  .presentation-page .values article {
    width: clamp(118px, 11vw, 145px);
    padding: clamp(12px, 1.4vw, 17px);
    row-gap: 7px;
  }

  .presentation-page .values strong {
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  }

  .presentation-page .values article:nth-child(3) strong {
    font-size: clamp(0.98rem, 1.55vw, 1.4rem);
  }

  .presentation-page .values span {
    max-width: 130px;
    font-size: clamp(0.78rem, 0.9vw, 0.92rem);
    line-height: 1.08;
  }

  .presentation-page .presentation-photo-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
  }

  .presentation-page .presentation-photo-row img {
    padding: 3px;
  }

  .presentation-page .presentation-portrait-row {
    grid-template-columns: repeat(2, minmax(112px, 160px));
    justify-content: start;
    width: 100%;
    margin: 0;
  }

  .presentation-page .presentation-portrait-row img {
    padding: 3px;
  }

  .presentation-page .story-text p,
  .presentation-page .section-heading > p:not(.eyebrow) {
    padding: clamp(6px, 0.8vw, 10px);
    line-height: 1.08;
  }

  .presentation-page .frieze {
    align-self: end;
    margin-top: 0;
  }
}

.presentation-page .story-text p,
.presentation-page .section-heading > p:not(.eyebrow) {
  padding: clamp(12px, 1.6vw, 18px);
  color: #000000;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.presentation-photo-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 16px);
  width: min(1180px, 96vw);
  margin: 0 auto clamp(6px, 1vw, 12px);
}

.presentation-photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: clamp(5px, 0.7vw, 8px);
  background: #fffdf7;
  border-radius: 5px;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.26);
}

.presentation-portrait-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 240px));
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  width: min(560px, 92vw);
  margin: 0 auto clamp(6px, 1vw, 12px);
}

.presentation-portrait-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: clamp(5px, 0.7vw, 8px);
  background: #fffdf7;
  border-radius: 5px;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.26);
}

.highlight-text {
  max-width: min(1240px, 96vw);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  text-align-last: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--reading-size);
  font-style: italic;
  font-weight: 700;
  line-height: var(--reading-line);
  color: #000000;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.96),
    0 0 17px rgba(255, 255, 255, 0.76);
}

.quinzaine-archives-page .highlight-text {
  max-width: 820px;
  text-align: center;
  text-align-last: center;
}

.highlight-text p {
  color: #000000;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(14px, 3vw, 34px);
  padding-top: clamp(4px, 0.8vw, 10px);
  padding-bottom: clamp(4px, 0.8vw, 10px);
  background: transparent;
}

.association-stats {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: clamp(4px, 0.8vw, 10px);
}

.values article {
  width: clamp(178px, 20vw, 250px);
  aspect-ratio: 1;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  justify-items: center;
  align-content: center;
  row-gap: 12px;
  text-align: center;
  color: var(--white);
  background: #d10073;
  border-radius: 50%;
  border: 0;
  box-shadow: 0 12px 0 rgba(22, 17, 15, 0.12);
}

.values strong {
  display: block;
  width: auto;
  color: var(--white);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1;
  margin-bottom: 0;
  box-shadow: none;
}

.values article:nth-child(2) {
  background: #f06ab8;
}

.values article:nth-child(3) {
  background: #b953a0;
}

.values article:nth-child(3) strong {
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
}

.values span {
  max-width: 165px;
  color: var(--white);
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  line-height: 1.14;
}

.section-heading {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: var(--title-gap);
}

.section-heading > p:not(.eyebrow) {
  max-width: min(1240px, 96vw);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(18px, 3vw, 28px);
  background: var(--veil);
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.42);
  text-align: left;
  text-align-last: left;
  color: #000000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--reading-size);
  font-style: italic;
  font-weight: 700;
  line-height: var(--reading-line);
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.96),
    0 0 17px rgba(255, 255, 255, 0.76);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.activity-grid article,
.practical-grid article {
  background: var(--veil);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.36);
  overflow: hidden;
}

.activity-grid article {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.activity-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 0;
  border-radius: 10px;
  display: block;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.3);
}

.activity-grid h3,
.activity-grid p,
.practical-grid h3,
.practical-grid p {
  padding-left: 20px;
  padding-right: 20px;
}

.activity-grid h3,
.activity-grid p {
  background: var(--veil);
}

.activity-grid h3 {
  margin: 16px 0 0;
  border-radius: 18px 18px 0 0;
  color: var(--red);
}

.activity-grid p {
  border-radius: 0 0 18px 18px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.36);
}

.activity-grid h3,
.practical-grid h3 {
  padding-top: 20px;
  color: var(--red);
}

.activity-grid p,
.practical-grid p {
  padding-bottom: 20px;
}

.highlight {
  background: transparent;
}

.poster-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2.5vw, 28px);
  margin-top: 8px;
}

.quinzaine-archives-page .poster-gallery {
  margin-top: clamp(34px, 5vw, 66px);
}

.poster-gallery figure {
  margin: 0;
  background: transparent;
  border: 0;
}

.poster-gallery img,
.poster-gallery object {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: 0 16px 26px rgba(22, 17, 15, 0.3);
}

.poster-gallery img,
.boites-gallery img,
.presentation-photo-row img,
.presentation-portrait-row img {
  cursor: zoom-in;
}

.poster-gallery object {
  overflow: hidden;
}

.poster-gallery figcaption {
  margin-top: 9px;
  color: #050403;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.poster-gallery figure:nth-child(1),
.poster-gallery figure:nth-child(4) {
  margin-top: 22px;
}

.poster-gallery figure:nth-child(2),
.poster-gallery figure:nth-child(5) {
  margin-top: 0;
}

.poster-gallery figure:nth-child(3),
.poster-gallery figure:nth-child(6) {
  margin-top: 38px;
}

.poster-gallery figure:nth-child(7) {
  margin-top: 18px;
}

@media (min-width: 901px) {
  body:has(.quinzaine-archives-page) {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body:has(.quinzaine-archives-page) main {
    flex: 1 1 auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    padding-top: 0 !important;
  }

  .quinzaine-archives-page {
    align-self: center;
    justify-self: center;
    width: min(940px, 96vw);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .quinzaine-archives-page .poster-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: clamp(8px, 1.2vw, 14px) clamp(12px, 1.6vw, 18px);
    margin-top: 0;
  }

  .quinzaine-archives-page .poster-gallery figure {
    margin-top: 0;
  }

  .quinzaine-archives-page .poster-gallery figcaption {
    margin-top: 4px;
    font-size: 0.95rem;
    line-height: 1;
  }

  .quinzaine-archives-page .poster-gallery img,
  .quinzaine-archives-page .poster-gallery object {
    max-height: none;
    object-fit: contain;
  }

  body:has(.quinzaine-archives-page) .frieze {
    margin-top: 0;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(12, 18, 14, 0.78);
  overflow: hidden;
  overscroll-behavior: contain;
  cursor: zoom-out;
}

.image-lightbox.is-open {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox__panel {
  display: grid;
  grid-template-columns: minmax(0, auto);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  max-width: min(1120px, 100%);
  max-height: calc(100dvh - clamp(36px, 8vw, 96px));
}

.image-lightbox.has-story .image-lightbox__panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
}

.image-lightbox__image-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.image-lightbox img {
  width: auto;
  max-width: min(100%, 980px);
  max-height: calc(100dvh - clamp(36px, 8vw, 96px));
  height: auto;
  margin: auto;
  object-fit: contain;
  background: #fffdf7;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
  cursor: zoom-in;
}

.image-lightbox__zoom-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: rgba(20, 25, 20, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  cursor: zoom-in;
}

.image-lightbox.has-story .image-lightbox__zoom-button {
  display: grid;
}

.image-lightbox__zoom-button::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  transform: translate(-3px, -3px);
}

.image-lightbox__zoom-button::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(9px, 10px) rotate(45deg);
}

.image-lightbox__zoom-button:hover,
.image-lightbox__zoom-button:focus-visible {
  color: #1d5f25;
  background: #ffffff;
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 3px;
}

.image-lightbox.has-story img {
  max-width: 100%;
  max-height: calc(100dvh - clamp(48px, 9vw, 112px));
}

.image-lightbox:not(.has-story) img {
  cursor: zoom-out;
}

.image-lightbox.is-zoomed .image-lightbox__panel {
  display: flex;
  max-width: 100%;
  max-height: 100%;
}

.image-lightbox.is-zoomed img {
  max-width: calc(100vw - clamp(24px, 5vw, 72px));
  max-height: calc(100dvh - clamp(24px, 5vw, 72px));
  cursor: zoom-out;
}

.image-lightbox__story {
  display: none;
  max-height: calc(100dvh - clamp(48px, 9vw, 112px));
  overflow: auto;
  padding: clamp(18px, 2.4vw, 30px);
  color: #000000;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(223, 201, 184, 0.88);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  cursor: auto;
}

.image-lightbox.has-story .image-lightbox__story {
  display: block;
}

.image-lightbox.is-zoomed .image-lightbox__story,
.image-lightbox.has-story.is-zoomed .image-lightbox__story {
  display: none;
}

.image-lightbox.is-zoomed .image-lightbox__zoom-button {
  display: none;
}

.image-lightbox__story h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 0.95;
}

.image-lightbox__story p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.34;
}

.image-lightbox__story .image-lightbox__credit {
  margin-top: 18px;
  margin-left: auto;
  max-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-style: normal;
  font-weight: 400;
  text-align: right;
}

@media (max-width: 820px) {
  .image-lightbox.has-story .image-lightbox__panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .image-lightbox.has-story img,
  .image-lightbox__story {
    max-height: none;
  }
}

.museum {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(320px, 1.04fr);
  row-gap: var(--title-gap);
  column-gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5.5vw, 62px) clamp(18px, 4vw, 58px);
  border-top: 0;
  background: transparent;
}

.museum-empty-page {
  min-height: clamp(280px, 42vh, 520px);
  align-content: start;
}

.museum-title-full {
  grid-column: 1 / -1;
}

.museum-media {
  border: 1px solid var(--line);
  background: var(--paper);
}

.museum-text {
  padding: 0;
  background: transparent;
}

.museum-goals {
  display: grid;
  gap: 14px;
  align-content: center;
  align-self: stretch;
}

.museum-text > p:not(.eyebrow),
.museum-text .clean-list {
  padding: clamp(18px, 3vw, 28px);
  background: var(--veil);
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.42);
  text-align: left;
}

.museum-text > p:not(.eyebrow) + p:not(.eyebrow),
.museum-text .clean-list {
  margin-top: 14px;
}

.museum-media img {
  width: 100%;
  height: auto;
}

.musee-presentation-page .museum-text > p:not(.eyebrow) {
  padding: 0;
  color: #000000;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.32rem, 1.85vw, 1.7rem);
  line-height: 1.18;
  text-align: center;
  text-shadow: none;
}

.musee-presentation-page .museum-goals {
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.musee-presentation-page.museum-title-finished .museum-goals {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.atelier-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, 0.42fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
}

.atelier-photo-intro {
  justify-self: center;
  width: clamp(210px, 24vw, 340px);
}

@media (min-width: 901px) {
  .musee-presentation-page {
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 12px;
  }

  .musee-presentation-page main {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    padding-top: 184px;
    background:
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
      var(--footer-wood-image),
      url("assets/fonds-test/ciel-prairie-simple.webp");
    background-size:
      76px var(--frieze-band-height),
      109px var(--frieze-band-height),
      143px var(--frieze-band-height),
      100% var(--frieze-band-height),
      100% var(--frieze-band-height),
      cover;
    background-position: left bottom, 23px bottom, 51px bottom, center bottom, center bottom, center;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, no-repeat;
    background-attachment: scroll, scroll, scroll, scroll, scroll, fixed;
    overflow: visible;
    position: relative;
    z-index: 3;
  }

  .musee-presentation-page .museum-presentation {
    min-height: 0;
    padding-top: clamp(38px, 4vw, 60px);
    padding-bottom: 6px;
    row-gap: clamp(14px, 1.8vw, 24px);
    column-gap: clamp(18px, 2vw, 32px);
    align-content: start;
  }

  .musee-presentation-page .museum-title h2 {
    color: #ffffff;
    font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-transform: none;
    font-size: clamp(1.65rem, 3vw, 3.1rem);
    line-height: 1.08;
    padding-top: 0;
    overflow: visible;
  }

  .musee-presentation-page .museum-title h2.writing-title {
    visibility: hidden;
  }

  .musee-presentation-page .museum-title h2.writing-title:has(.write-char) {
    visibility: visible;
  }

  .musee-presentation-page .museum-title h2.writing-title .write-char,
  .musee-presentation-page .museum-title h2.writing-title .write-space {
    display: inline-block;
  }

  .musee-presentation-page .museum-title h2.writing-title .write-char {
    opacity: 0;
    transform: translateY(0.08em);
    animation: museumWriteChar 0.16s ease-out forwards;
    animation-delay: calc(var(--i) * 0.22s);
  }

  .musee-presentation-page .museum-title h2.writing-title .write-space {
    width: 0.24em;
  }

  @keyframes museumWriteChar {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .musee-presentation-page .museum-title h2.writing-title .write-char {
      opacity: 1;
      transform: none;
      animation: none;
    }
  }

  .musee-presentation-page .museum-title h2::first-letter {
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
  }

  .musee-presentation-page .museum-media {
    max-width: min(480px, 35vw);
    justify-self: end;
    align-self: center;
    margin-top: clamp(8px, 1vw, 16px);
  }

  .musee-presentation-page .museum-goals {
    gap: clamp(5px, 0.7vw, 8px);
    align-self: center;
    justify-self: start;
    width: max-content;
    max-width: 100%;
  }

  .musee-presentation-page .museum-text > p:not(.eyebrow) {
    justify-self: center;
    width: fit-content;
    padding: 0;
    color: #000000;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--hand-accent-safe);
    font-size: clamp(1.32rem, 1.85vw, 1.7rem);
    line-height: 1.16;
    text-align: center;
    text-shadow: none;
    white-space: nowrap;
  }

  .musee-presentation-page .museum-goals > p:not(.eyebrow) + p:not(.eyebrow) {
    margin-top: 0;
  }

  .musee-presentation-page .frieze {
    align-self: end;
    max-height: var(--frieze-height);
    padding-top: 0;
    margin-top: 0;
    margin-bottom: -1px;
    z-index: 12;
  }

  .musee-presentation-page .site-footer {
    min-height: var(--footer-strip-height);
    z-index: 1;
    padding: 0 clamp(28px, 6vw, 86px);
  }
}

@media (min-width: 901px) and (max-width: 1849px) {
  .musee-presentation-page .museum-title,
  .musee-presentation-page .museum-media,
  .musee-presentation-page .museum-goals {
    position: relative;
    top: clamp(70px, 8vh, 96px);
  }
}

.atelier-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
  margin-top: clamp(12px, 2vw, 24px);
}

.atelier-photo {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.atelier-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(250px, 34vw, 440px);
  object-fit: contain;
  border-radius: 3px;
  cursor: zoom-in;
}

.atelier-photo-landscape {
  grid-column: span 2;
  justify-self: center;
  width: min(100%, 560px);
}

.atelier-photo-landscape img {
  width: auto;
  max-width: 100%;
  max-height: clamp(210px, 28vw, 340px);
}

.boites-gallery {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(20px, 3.2vw, 36px);
  margin-top: clamp(22px, 4vw, 48px);
}

.boites-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.boite-card {
  margin: 0;
  background: transparent;
  transform: rotate(var(--tilt, 0deg));
}

.museum-realisations .boite-card {
  transform: none;
}

.boite-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 16px 28px rgba(22, 17, 15, 0.3);
}

.hero-media img,
.home-page .photo-scatter img,
.activity-grid img,
.event-poster img,
.collective-gallery img,
.quinzaine-news-poster img,
.programme-original-pages img,
.presentation-photo-row img,
.presentation-portrait-row img,
.poster-gallery img,
.museum-media img,
.atelier-photo img,
.boite-card img {
  padding: 3px;
  background: #fffdf7;
  border-radius: 8px;
  box-shadow: 0 13px 22px rgba(22, 17, 15, 0.22);
}

.boite-card.landscape {
  width: clamp(210px, 20vw, 310px);
}

.atelier-photo img {
  box-sizing: border-box;
  padding: 0;
  border: 2px solid #fffdf7;
  background: transparent;
}

.boite-card.landscape-wide {
  width: clamp(230px, 22vw, 340px);
}

.boite-card.portrait {
  width: clamp(220px, 23vw, 330px);
}

.boite-card.panorama {
  width: clamp(340px, 42vw, 620px);
}

.boites-gallery .boites-row:nth-child(1) .boite-card {
  width: clamp(240px, 23vw, 350px);
}

.boites-gallery .boites-row:nth-child(2) .boite-card:nth-child(2) {
  width: clamp(250px, 24vw, 370px);
}

.boites-gallery .boites-row:nth-child(2) .boite-card:nth-child(4) {
  width: clamp(270px, 27vw, 410px);
}

.boites-row-special .boite-card:nth-child(2) {
  width: clamp(360px, 40vw, 600px);
}

.boites-row-special .boite-card.museum-gallery-photo {
  width: clamp(210px, 23vw, 330px);
}

.boites-row:nth-child(1) .boite-card:nth-child(1) { --tilt: -2deg; }
.boites-row:nth-child(1) .boite-card:nth-child(2) { --tilt: 2deg; }
.boites-row:nth-child(1) .boite-card:nth-child(3) { --tilt: -1deg; }
.boites-row:nth-child(1) .boite-card:nth-child(4) { --tilt: 2deg; }
.boites-row:nth-child(2) .boite-card:nth-child(1) { --tilt: 2deg; }
.boites-row:nth-child(2) .boite-card:nth-child(2) { --tilt: -2deg; }
.boites-row:nth-child(2) .boite-card:nth-child(3) { --tilt: 1deg; }
.boites-row:nth-child(2) .boite-card:nth-child(4) { --tilt: -1deg; }
.boites-row:nth-child(3) .boite-card:nth-child(1) { --tilt: -2deg; }
.boites-row:nth-child(3) .boite-card:nth-child(2) { --tilt: 1deg; }
.boites-row:nth-child(3) .boite-card:nth-child(3) { --tilt: 2deg; }
.boites-row:nth-child(4) .boite-card:nth-child(1) { --tilt: -1deg; }
.boites-row:nth-child(4) .boite-card:nth-child(2) { --tilt: 2deg; }

.clean-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.clean-list li {
  padding: 12px 14px;
  border-left: 5px solid var(--red);
  background: var(--paper);
  font-weight: 700;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.practical {
  background: transparent;
}

.frieze {
  display: block;
  width: 100%;
  max-height: var(--frieze-height);
  object-fit: contain;
  object-position: center bottom;
  padding: 0 clamp(18px, 4vw, 54px) 0;
  background-image:
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
    var(--footer-wood-image);
  background-size:
    92px calc(100% - var(--frieze-ground-line)),
    137px calc(100% - var(--frieze-ground-line)),
    173px calc(100% - var(--frieze-ground-line)),
    100% calc(100% - var(--frieze-ground-line)),
    100% calc(100% - var(--frieze-ground-line));
  background-position: left bottom, 31px bottom, 79px bottom, center bottom, center bottom;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x;
  margin-top: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 3;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: var(--footer-strip-height);
  padding: 0 clamp(28px, 6vw, 86px);
  color: var(--white);
  background:
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
    var(--footer-wood-image);
  background-size: 92px 100%, 137px 100%, 173px 100%, auto, 100% 100%;
  background-position: left center, 31px center, 79px center, center, center;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat, repeat-x;
  position: relative;
  z-index: 2;
}

.contact-icons {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 4vw, 54px);
  width: min(100%, 760px);
  margin-top: clamp(28px, 4vw, 54px);
  margin-left: auto;
  margin-right: auto;
}

.contact-icons .postal-address summary,
.contact-icons .mail-link,
.contact-icons .facebook-link {
  width: clamp(72px, 8vw, 86px);
  height: clamp(72px, 8vw, 86px);
}

.contact-icons .postal-address summary span {
  width: clamp(48px, 5.2vw, 58px);
  height: clamp(48px, 5.2vw, 58px);
}

.contact-icons .mail-link span {
  font-size: clamp(2.25rem, 4vw, 2.8rem);
}

.contact-icons .facebook-link span {
  font-size: clamp(3rem, 5vw, 3.55rem);
}

.contact-page .contact-icons {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-page .practical {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr) auto minmax(0, 1fr);
  row-gap: clamp(12px, 2.1vh, 26px);
  column-gap: 0;
  align-items: center;
  padding-top: clamp(18px, 3vh, 34px);
  padding-bottom: clamp(12px, 2.5vh, 28px);
  transform: translateY(-94px);
}

.contact-page .practical-grid {
  grid-row: 2;
  grid-template-columns: minmax(300px, min(560px, 90vw));
  justify-content: center;
  width: 100%;
}

.contact-page .practical-grid article {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.contact-page .practical-grid h3 {
  color: var(--red);
  font-family: var(--hand-accent-safe);
  font-weight: 400;
  font-size: clamp(2.25rem, 3.55vw, 3.05rem);
  text-shadow: none;
}

.contact-page .practical-grid p {
  color: #000000;
  font-family: var(--hand-accent-safe);
  font-weight: 400;
  font-size: clamp(1.42rem, 2.25vw, 1.82rem);
  line-height: 1.25;
  text-shadow: none;
}

.contact-page .contact-info-text span {
  white-space: nowrap;
}

.contact-page .contact-icons {
  grid-row: 3;
  position: relative;
  z-index: 3;
  transform: translateY(-28px);
}

.contact-page .contact-writing {
  grid-row: 5;
  position: relative;
  justify-self: center;
  width: min(1040px, 94vw);
  min-height: clamp(500px, 68vh, 740px);
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 28px);
  color: #ffffff;
  background: transparent;
  font-family: "Patrick Hand", "Fredoka", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.25vw, 3.55rem);
  font-weight: 400;
  line-height: 1.06;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.46);
  transform: translateY(12px);
}

.contact-page .contact-writing::before {
  content: "";
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: auto;
  height: calc(100% + 220px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
  margin: auto;
  background: url("assets/fond-chemin.webp") center / contain no-repeat;
  border-radius: 24px;
  filter: none;
  mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  opacity: 0;
  transform: scale(0.14) translateY(-18px);
  transform-origin: center center;
  animation: contactPathOpening 7.2s cubic-bezier(0.19, 1, 0.22, 1) 1.9s forwards;
}

@keyframes contactPathOpening {
  0% {
    opacity: 0;
    transform: scale(0.14) translateY(-18px);
    filter: blur(5px);
  }

  28% {
    opacity: 0.82;
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.contact-page .contact-writing.writing-title {
  visibility: hidden;
}

.contact-page .contact-writing.writing-title:has(.write-char) {
  visibility: visible;
}

.contact-page .contact-writing.writing-title .write-char,
.contact-page .contact-writing.writing-title .write-space {
  display: inline;
  position: relative;
  z-index: 1;
  top: 28px;
}

.contact-page .contact-writing.writing-title .write-char {
  opacity: 0;
  animation: writeTitleChar 0.28s ease-out forwards;
  animation-delay: calc(var(--i) * 0.32s);
}

.contact-page .contact-writing.writing-title .write-space {
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-writing::before {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .contact-page .contact-writing.writing-title .write-char {
    opacity: 1;
    animation: none;
  }
}

.site-footer:has(.postal-address[open]) {
  z-index: 120;
}

.site-footer .eyebrow,
.site-footer p {
  color: rgba(255, 255, 255, 0.83);
}

.site-footer .button.primary {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}

.site-footer .button.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.postal-address {
  position: relative;
  flex: 0 0 auto;
  z-index: 20;
}

.postal-address[open] {
  z-index: 130;
}

.postal-address summary {
  list-style: none;
  cursor: pointer;
}

.postal-address summary::-webkit-details-marker {
  display: none;
}

.postal-address summary,
.mail-link,
.facebook-link {
  position: relative;
  z-index: 20;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(22, 17, 15, 0.2);
}

.postal-address summary {
  color: #1d4f96;
  background: #ffd528;
  border-color: #ffd528;
}

.mail-link {
  color: var(--green);
}

.mail-link span {
  position: relative;
  width: 38%;
  height: 26%;
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: translateY(1px);
}

.mail-link span::before,
.mail-link span::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 56%;
  height: 2px;
  background: currentColor;
}

.mail-link span::before {
  left: 0;
  transform: rotate(35deg);
  transform-origin: left top;
}

.mail-link span::after {
  right: 0;
  transform: rotate(-35deg);
  transform-origin: right top;
}

.facebook-link {
  color: #1877f2;
}

.postal-address summary span,
.mail-link span,
.facebook-link span {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.postal-address summary span {
  width: 34px;
  height: 34px;
  transform: translateY(1px);
}

.postal-address summary img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.facebook-link span {
  font-size: 2.1rem;
  transform: translateY(2px);
}

.postal-address summary:hover,
.postal-address summary:focus-visible,
.mail-link:hover,
.mail-link:focus-visible,
.facebook-link:hover,
.facebook-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}

.postal-address summary:hover,
.postal-address summary:focus-visible {
  color: #ffd528;
  background: #1d4f96;
}

.mail-link:hover,
.mail-link:focus-visible {
  color: var(--white);
  background: var(--green);
}

.facebook-link:hover,
.facebook-link:focus-visible {
  color: var(--white);
  background: #1877f2;
}

.postal-address address {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 14px);
  width: max-content;
  min-width: 220px;
  max-width: min(280px, 82vw);
  padding: 14px 16px;
  color: #000000;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(223, 201, 184, 0.85);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(22, 17, 15, 0.24);
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  transform: translateX(50%);
  z-index: 140;
}

@media (max-width: 1180px) {
  .programme-info-grid,
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .association-mode-page main {
    padding-top: 44px;
  }

  .association-mode-page .programme-page-no-title {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 0;
    padding-bottom: 4px;
  }

  .association-mode-page .frieze {
    margin-top: 0;
  }

  .association-mode-page .programme-info-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .association-mode-page .programme-info-grid article {
    grid-column: span 2;
  }

  .association-mode-page .programme-info-grid .association-mode-wide {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 0;
  }

  .presentation-page main > .section {
    width: 100%;
    max-width: 100%;
  }

  .contact-page .site-header {
    min-height: 104px;
    padding: 20px 72px 18px;
  }

  .contact-page main {
    padding-top: 0;
  }

  .contact-page .practical {
    grid-template-rows: auto auto minmax(0, 0.35fr) auto minmax(0, 1fr);
    row-gap: clamp(2px, 0.6vh, 7px);
    padding-top: 0;
    padding-bottom: 8px;
    transform: none;
  }

  .contact-page .practical-grid {
    position: relative;
    z-index: 4;
  }

  .contact-page .contact-icons {
    transform: translateY(-36px);
  }

  .contact-page .contact-writing {
    width: min(390px, 100vw);
    min-height: clamp(356px, 54vh, 420px);
    padding: 14px 18px;
    background-position: center;
    transform: translateY(64px);
    z-index: 1;
  }

  .contact-page .contact-writing::before {
    mask-image:
      linear-gradient(to right, transparent 0, #000 26%, #000 74%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 13%, #000 92%, transparent 100%);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 26%, #000 74%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 13%, #000 92%, transparent 100%);
  }

  .site-header {
    position: relative;
    left: auto;
    right: auto;
    display: flex;
    justify-content: center;
    min-height: 104px;
    padding: 20px 72px 18px;
  }

  .brand {
    grid-column: auto;
    max-height: none;
    opacity: 1;
    transform: none;
    justify-self: center;
  }

  .brand img {
    width: min(260px, 68vw);
  }

  nav {
    position: fixed;
    top: 118px;
    right: 14px;
    z-index: 30;
    display: grid;
    width: min(312px, calc(100vw - 28px));
    padding: 12px;
    gap: 8px;
    border: 0;
    background: url("assets/fonds-test/ciel-prairie-simple.webp") center top / cover no-repeat;
    box-shadow: 0 18px 32px rgba(22, 17, 15, 0.28);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body:not(.home-page):not(.contact-page) .site-header nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: stretch;
    padding: 12px;
  }

  .home-page .site-header nav,
  .contact-page .site-header nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: stretch;
    padding: 12px;
  }

  .menu-open nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a,
  .submenu-trigger {
    display: block;
    padding: 7px 8px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .nav-has-submenu {
    display: block;
    position: relative;
    width: 100%;
  }

  .site-header nav > a,
  .site-header nav > .nav-item {
    width: 100%;
  }

  .nav-has-submenu > .submenu-trigger {
    padding-right: 36px;
  }

  .submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 4px 0 2px;
    padding: 6px 8px;
    border: 0;
    background: url("assets/fonds-test/ciel-prairie-simple.webp") center top / cover no-repeat;
    border-radius: 12px;
    box-shadow: none;
    mask-image:
      linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    justify-self: stretch;
  }

  .submenu a {
    white-space: normal;
    overflow-wrap: break-word;
    color: #000000;
    font-weight: 700;
    font-size: 1.08em;
    text-shadow: none;
  }

  body:not(.home-page):not(.contact-page) .submenu {
    background: url("assets/fonds-test/ciel-prairie-simple.webp") center top / cover no-repeat;
  }

  .nav-has-submenu:hover .submenu,
  .nav-has-submenu:focus-within .submenu {
    display: none;
  }

  .nav-has-submenu.is-open .submenu {
    display: grid;
    width: 100%;
    transform: none;
  }

  .header-mark {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 31;
    width: 52px;
    height: 52px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(0, 64, 180, 0.95);
    box-shadow: 0 10px 22px rgba(22, 17, 15, 0.28);
    cursor: pointer;
  }

  .header-mark::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 10px;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 -5px 0 rgba(255, 255, 255, 0.94),
      0 5px 0 rgba(255, 255, 255, 0.94);
    pointer-events: none;
  }

  body.is-scrolled .site-header {
    min-height: 104px;
    padding: 20px 72px 18px;
  }

  body.is-scrolled .brand {
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body.is-scrolled .header-mark {
    width: 52px;
    height: 52px;
  }

  body.is-scrolled .header-mark {
    background: transparent;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    z-index: 120;
  }

  body.is-scrolled .header-mark img {
    opacity: 0;
  }

  body.is-scrolled .header-mark::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    z-index: 2;
    width: 22px;
    height: 3px;
    transform: translate(-50%, -50%);
    background: rgba(202, 53, 122, 1);
    box-shadow:
      0 -7px 0 rgba(202, 53, 122, 1),
      0 7px 0 rgba(202, 53, 122, 1),
      0 1px 4px rgba(255, 255, 255, 0.82);
  }

  .hero,
  .story,
  .programme,
  .highlight,
  .museum,
  .practical {
    grid-template-columns: 1fr;
  }

  body:not(.home-page):not(.contact-page):not(.programme-ateliers-page):not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) main > .section:first-child,
  body:not(.home-page):not(.contact-page):not(.programme-ateliers-page):not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) main > .museum:first-child,
  body:not(.home-page):not(.contact-page):not(.programme-ateliers-page):not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) main > .programme-page:first-child,
  body:not(.home-page):not(.contact-page):not(.programme-ateliers-page):not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) main > .programme-page-no-title:first-child {
    padding-top: 8px;
  }

  .presentation-page .story {
    padding-top: 8px;
    border-top: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 340px;
    order: 2;
  }

  .photo-scatter {
    min-height: 720px;
    order: 2;
  }

  .photo-scatter figure:nth-child(1) {
    top: 0;
    left: 2%;
    width: 68%;
  }

  .photo-scatter figure:nth-child(2) {
    top: 130px;
    right: 0;
    width: 68%;
  }

  .photo-scatter figure:nth-child(3) {
    top: 270px;
    left: 3%;
    width: 72%;
  }

  .photo-scatter figure:nth-child(4) {
    top: 420px;
    right: 3%;
    width: 66%;
  }

  .photo-scatter figure:nth-child(5) {
    top: 560px;
    left: 5%;
    width: 70%;
  }

  .photo-scatter figure:nth-child(6),
  .photo-scatter figure:nth-child(7),
  .photo-scatter figure:nth-child(8) {
    display: none;
  }

  .values,
  .activity-grid,
  .programme-info-grid,
  .event-list,
  .programme-event-card,
  .workshop-grid,
  .programme-original-pages,
  .practical-grid,
  .room-schedule,
  .contact-grid,
  .poster-gallery {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .values span {
    font-family: var(--hand-accent-safe);
    font-size: clamp(0.92rem, 4.2vw, 1.18rem);
    line-height: 1.08;
  }

  .room-card,
  .contact-board {
    width: 100%;
  }

  .presentation-photo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(620px, 94vw);
  }

  .presentation-portrait-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(560px, 94vw);
  }

  .collective-gallery {
    grid-template-columns: 1fr;
  }

  .collective-image-pair {
    grid-template-columns: 1fr;
  }

  .quinzaine-news-page .event-list {
    grid-template-columns: 1fr;
  }

  .programme-event-card {
    max-width: 520px;
  }

  .programme-event-text {
    text-align: center;
  }

  .event-poster img {
    width: min(100%, 320px);
  }

  .poster-gallery figure {
    width: 100%;
    margin-top: 0 !important;
    max-width: 360px;
  }

  .atelier-intro {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .atelier-gallery {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .atelier-photo,
  .atelier-photo-landscape {
    grid-column: auto;
    width: 100%;
    max-width: 360px;
  }

  .story-title h2 {
    white-space: normal;
  }

  h1,
  main h2 {
    white-space: normal;
  }

  .musee-presentation-page .museum-goals > p:not(.eyebrow) {
    padding: 0;
    line-height: 1.2;
    text-align: center;
  }

  .home-page main {
    background: transparent;
    height: auto;
    min-height: calc(100vh - var(--footer-strip-height));
    max-height: none;
    padding-top: 0;
    overflow: visible;
  }

  .home-page .site-header {
    min-height: 104px;
    padding: 20px 72px 18px;
  }

  .home-page .brand {
    max-height: none;
  }

  .home-page .brand img {
    width: min(260px, 68vw);
  }

  .home-page .home-heading {
    padding: clamp(24px, 7vw, 42px) 18px 0;
    margin-top: 0;
  }

  .home-page .home-heading h1 {
    font-size: clamp(2.55rem, 11.5vw, 4.25rem);
    line-height: 1.14;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    transform: none;
  }

  .home-page .home-heading h1.writing-title .write-char,
  .home-page .home-heading h1.writing-title .write-space {
    display: inline;
  }

  .home-page .home-heading h1.writing-title .write-space {
    width: auto;
    white-space: normal;
  }

  .home-page .hero {
    grid-template-columns: 1fr;
    flex: 0 0 auto;
    height: auto;
    overflow: visible;
    padding: 18px 18px 10px;
    row-gap: 18px;
  }

  .home-page .home-tagline {
    position: relative;
    z-index: 5;
    width: min(340px, 88vw);
    margin: 24px auto 28px;
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: normal;
    transform: none !important;
  }

  .home-page .hero-words,
  .home-page .hero-media {
    grid-column: 1;
    grid-row: auto;
  }

  .home-page .hero-words {
    order: 2;
  }

  .home-page .hero-media {
    order: 1;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    margin-bottom: 18px;
  }

  .home-page .word-cloud-primary {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.18;
    white-space: normal;
  }

  .home-page .photo-scatter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .home-page .photo-scatter img {
    max-width: 92%;
    height: clamp(105px, 24vw, 155px);
    max-height: clamp(105px, 24vw, 155px);
    border-width: 2px;
  }

  .home-page .photo-scatter figure:nth-child(6) {
    display: block;
  }

  .home-page .photo-scatter figure:nth-child(7),
  .home-page .photo-scatter figure:nth-child(8) {
    display: none;
  }

  .home-page .frieze {
    background-image:
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
      var(--footer-wood-image);
    background-size:
      76px calc(100% - var(--frieze-ground-line)),
      109px calc(100% - var(--frieze-ground-line)),
      143px calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line));
    background-position: left bottom, 23px bottom, 51px bottom, center bottom, center bottom;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x;
    margin-top: clamp(38px, 10vw, 52px);
  }

  body:not(.home-page):not(.contact-page) .frieze {
    max-height: 105px;
    padding: 0 clamp(18px, 4vw, 54px);
    background-image:
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
      var(--footer-wood-image);
    background-size:
      76px calc(100% - var(--frieze-ground-line)),
      109px calc(100% - var(--frieze-ground-line)),
      143px calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line));
    background-position: left bottom, 23px bottom, 51px bottom, center bottom, center bottom;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x;
    margin-bottom: -1px;
  }

  body:not(.home-page):not(.contact-page) .site-footer {
    min-height: var(--footer-strip-height);
    background:
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      var(--footer-speckles-image),
      linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
      var(--footer-wood-image);
    background-size: 76px 100%, 109px 100%, 143px 100%, auto, 100% 100%;
    background-position: left center, 23px center, 51px center, center, center;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat, repeat-x;
  }
}

@media (max-width: 520px) {
  .contact-page .practical {
    transform: translateX(-18px);
  }

  .site-header {
    position: relative;
    min-height: 94px;
    padding: 18px 70px 16px 18px;
  }

  .brand img {
    width: min(220px, 62vw);
    margin-bottom: 0;
  }

  .header-mark {
    width: 50px;
    height: 50px;
  }

  nav {
    top: 104px;
  }

  .hero-mark {
    width: 92px;
  }

  .button {
    width: 100%;
  }

  .poster-gallery figure {
    max-width: 280px;
  }

  .slot-list p {
    grid-template-columns: 1fr;
  }

  .frieze {
    max-height: 105px;
    margin-bottom: -1px;
    background-size:
      70px calc(100% - var(--frieze-ground-line)),
      101px calc(100% - var(--frieze-ground-line)),
      134px calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line));
  }

  .site-footer {
    background-size: 70px 100%, 101px 100%, 134px 100%, auto, 100% 100%;
  }

  body:not(.home-page):not(.contact-page) .frieze {
    background-size:
      76px calc(100% - var(--frieze-ground-line)),
      109px calc(100% - var(--frieze-ground-line)),
      143px calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line)),
      100% calc(100% - var(--frieze-ground-line));
  }

  body:not(.home-page):not(.contact-page) .site-footer {
    background-size: 76px 100%, 109px 100%, 143px 100%, auto, 100% 100%;
  }

  .contact-page .contact-writing.writing-title .write-char,
  .contact-page .contact-writing.writing-title .write-space {
    position: relative;
    top: 28px;
  }

  .home-page .frieze {
    margin-top: clamp(10px, 4vw, 18px);
  }
}

main p:not(.eyebrow),
main li,
main figcaption,
main .values span,
main .contact-grid span,
main .contact-grid a,
main .image-lightbox__story p,
main .image-lightbox__story .image-lightbox__credit {
  color: #000000;
  font-family: var(--hand-accent-safe);
  font-size: clamp(1.32rem, 1.85vw, 1.7rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  text-shadow: none;
}

main p:not(.eyebrow),
main li,
main figcaption,
.story-text p,
.highlight-text,
.section-heading > p:not(.eyebrow),
.room-card,
.contact-board,
.slot-list p,
.contact-grid p,
.programme-info-grid article,
.event-list article,
.programme-event-card,
.programme-note,
.programme-original-pages figcaption,
.activity-grid p,
.practical-grid article,
.practical-grid p,
.museum-text > p:not(.eyebrow),
.museum-text .clean-list,
.musee-presentation-page .museum-text > p:not(.eyebrow) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

@media (min-width: 901px) {
  .home-page .home-heading h1.writing-title {
    font-size: clamp(2.2rem, 3.25vw, 3.55rem);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

@media (max-width: 900px) {
  .home-page .home-heading h1.writing-title {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .contact-page .contact-writing {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
  }
}

.home-page .photo-scatter {
  position: relative;
  display: block;
  width: min(980px, 94vw);
  height: clamp(430px, 58vh, 620px);
  margin: 0 auto;
}

.home-page .photo-scatter figure {
  position: absolute;
  inset: 0;
  display: grid;
  width: auto;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: none;
  animation: homePhotoSlideshow 17s ease-in-out infinite;
}

.home-page .photo-scatter figure:nth-child(n + 7) {
  display: none;
}

.home-page .photo-scatter img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: 0 18px 30px rgba(22, 17, 15, 0.3);
  cursor: default;
}

.home-page .photo-scatter figure:nth-child(2) img,
.home-page .photo-scatter figure:nth-child(3) img,
.home-page .photo-scatter figure:nth-child(4) img,
.home-page .photo-scatter figure:nth-child(6) img {
  max-width: 94%;
  max-height: 94%;
}

.home-page .photo-scatter figure:nth-child(1) img,
.home-page .photo-scatter figure:nth-child(5) img,
.home-page .photo-scatter figure:nth-child(6) img {
  max-width: 82%;
  max-height: 82%;
}

.home-page .photo-scatter figure:nth-child(6) {
  align-items: center;
  justify-items: center;
  place-items: center;
}

.home-page .photo-scatter figure:nth-child(6) img {
  align-self: center;
  justify-self: center;
  margin: auto;
  place-self: center;
}

@media (max-width: 900px) {
  .home-page .photo-scatter {
    width: min(520px, 94vw);
    height: clamp(330px, 46vh, 440px);
    margin-top: 6px;
  }

  .home-page .photo-scatter img {
    max-width: 100%;
    max-height: 100%;
  }

  .home-page .photo-scatter figure:nth-child(6) {
    inset: 0 !important;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }

  .home-page .photo-scatter figure:nth-child(6) img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 900px) {
  .home-page .site-header {
    min-height: 86px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .home-page .home-heading {
    padding: 6px 16px 18px;
  }

  .home-page .home-heading h1.writing-title {
    font-size: clamp(1.72rem, 6.4vw, 2.28rem);
    line-height: 1.04;
    padding-top: 16px;
  }

  .home-page .hero {
    padding: 4px 16px 0;
  }

  .home-page .hero-media {
    margin-top: 0;
    margin-bottom: 4px;
  }

  .home-page .photo-scatter {
    margin-top: 0;
  }

  .home-page .home-tagline {
    width: min(360px, 92vw);
    margin: 4px auto 2px;
    font-size: clamp(1.2rem, 5.2vw, 1.72rem);
    line-height: 1.05;
  }

  .home-page .frieze {
    margin-top: auto;
  }
}

.musee-presentation-page .museum-goals > p:not(.eyebrow) {
  color: #000000 !important;
  text-shadow: none !important;
}

@media (min-width: 901px) {
  .musee-presentation-page .museum-goals > p:not(.eyebrow) {
    color: #000000 !important;
    text-shadow: none !important;
  }
}

@media (min-width: 901px) {
  .home-page .site-header {
    grid-template-columns: 315px minmax(0, 1fr) 106px !important;
    column-gap: clamp(14px, 2vw, 30px);
  }

  .home-page .home-header-logo {
    display: block !important;
    grid-column: 1 !important;
    justify-self: start !important;
    width: clamp(210px, 17vw, 315px) !important;
    max-width: none !important;
  }

  .home-page .site-header nav {
    grid-column: 2 !important;
    justify-self: center;
    transform: translateX(-34px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-page .site-header .header-mark {
    grid-column: 3 !important;
    justify-self: end;
    right: clamp(18px, 3vw, 42px);
  }

  .home-page .home-heading h1.writing-title {
    transform: translateY(34px);
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) nav {
    transform: translateX(-92px);
  }

  body.home-page .site-header:has(.home-header-logo) nav {
    transform: translateX(-108px);
  }
}

@media (max-width: 900px) {
  .musee-presentation-page .museum-goals > p:not(.eyebrow) {
    color: #000000 !important;
    text-shadow: none !important;
  }
}

.frieze {
  width: 100%;
  max-height: var(--frieze-height) !important;
  padding: 0 clamp(18px, 4vw, 54px) 0 !important;
  object-fit: contain;
  object-position: center bottom;
  background-image:
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
    var(--footer-wood-image) !important;
  background-size:
    92px calc(100% - var(--frieze-ground-line)),
    137px calc(100% - var(--frieze-ground-line)),
    173px calc(100% - var(--frieze-ground-line)),
    100% calc(100% - var(--frieze-ground-line)),
    100% calc(100% - var(--frieze-ground-line)) !important;
  background-position: left bottom, 31px bottom, 79px bottom, center bottom, center bottom !important;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x !important;
  margin-bottom: -1px;
}

.site-footer {
  min-height: var(--footer-strip-height);
  background:
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    var(--footer-speckles-image),
    linear-gradient(rgba(209, 0, 115, 0), rgba(209, 0, 115, 0)),
    var(--footer-wood-image) !important;
  background-size: 92px 100%, 137px 100%, 173px 100%, auto, 100% 100% !important;
  background-position: left center, 31px center, 79px center, center, center !important;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat, repeat-x !important;
}

@media (min-width: 1200px) {
  .contact-page .practical-grid {
    transform: translateY(34px);
  }
}

@media (min-width: 901px) {
  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) {
    grid-template-columns: 315px minmax(0, 1fr) 106px !important;
    column-gap: clamp(14px, 2vw, 30px);
  }

  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) .home-header-logo {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1;
    justify-self: start !important;
    align-self: center;
    width: clamp(210px, 17vw, 315px) !important;
    max-width: none !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
  }

  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) nav {
    grid-column: 2 !important;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none;
  }

  body.home-page .site-header:has(.home-header-logo) nav {
    transform: translateX(-34px);
  }

  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) .header-mark {
    grid-column: 3 !important;
    grid-row: 1;
    justify-self: end;
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) nav {
    transform: translateX(-44px) !important;
  }

  body.home-page .site-header:has(.home-header-logo) nav {
    transform: translateX(-56px) !important;
  }
}

@media (min-width: 901px) {
  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header nav {
    align-self: start;
    margin-top: -8px;
  }

  body:not(:has(.site-header .brand[aria-label="Retour aux ateliers"])) .site-header:has(.home-header-logo) nav {
    align-self: start;
    margin-top: -8px;
  }
}

.submenu {
  background: #5aa8dc !important;
  border-radius: 0 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.submenu a {
  color: #000000 !important;
  text-shadow: none !important;
}

.submenu a[aria-current="page"] {
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  nav,
  .submenu,
  body:not(.home-page):not(.contact-page) .submenu {
    background: #5aa8dc !important;
    border-radius: 0 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .submenu a {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .submenu a[aria-current="page"] {
    color: #ffffff !important;
    text-decoration: none !important;
  }
}

.story-text,
.highlight-text,
.museum-text,
.programme-event-text,
.practical-grid article,
.programme-info-grid article,
.event-list article,
.home-tagline,
.collective-gallery figcaption,
.programme-note {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

main img {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

main figure:has(img) {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.home-tagline,
.programme-note,
.collective-gallery figcaption {
  width: fit-content;
  max-width: min(1120px, 96vw);
}

.practical-grid article,
.programme-info-grid article,
.event-list article {
  background-clip: content-box !important;
  background-origin: content-box !important;
}

.contact-page .practical-grid article {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.contact-page .contact-info-text {
  display: inline-block;
  width: fit-content;
  max-width: min(34rem, 92vw);
  padding: 0 !important;
}

.contact-page .contact-info-text span {
  background: transparent !important;
  background-image: none !important;
}

h1,
h2,
h3,
h4,
.programme-info-grid h3,
.programme-info-grid h4,
.event-list h4,
.event-list time,
.quinzaine-news-title,
.section-heading,
.section-heading p,
.story-title,
.museum-title,
.practical-grid h3 {
  background: transparent !important;
  background-image: none !important;
}

.quinzaine-news-page .event-list article,
.quinzaine-news-page .event-list p,
.quinzaine-news-page .event-list li,
.quinzaine-news-page .event-list .event-photo {
  background: transparent !important;
  background-image: none !important;
}

body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .programme-info-grid p,
body:has(.site-header .brand[aria-label="Retour aux ateliers"]) .programme-info-grid li {
  background: transparent !important;
  background-image: none !important;
}

.home-page .home-tagline {
  position: relative;
  width: min(430px, 82vw) !important;
  max-width: min(430px, 82vw) !important;
  margin-top: -28px !important;
  top: -22px;
  transform: none !important;
}

@media (min-width: 1200px) {
  .home-page .home-tagline {
    margin-top: -8px !important;
    top: 0;
  }
}

@media (min-width: 901px) and (max-width: 1849px) {
  .home-page .home-tagline {
    font-size: clamp(1.72rem, 2.75vw, 2.75rem) !important;
    line-height: 1.02 !important;
  }
}

@media (max-width: 900px) {
  .home-page {
    min-height: 100svh;
    overflow: hidden;
  }

  .home-page main {
    min-height: calc(100svh - var(--footer-strip-height)) !important;
    height: calc(100svh - var(--footer-strip-height)) !important;
    overflow: hidden;
  }

  .home-page .site-header {
    min-height: 104px !important;
  }

  .home-page .home-header-logo {
    display: block !important;
    position: absolute;
    top: 10px;
    left: 50%;
    width: min(245px, 62vw);
    max-width: none !important;
    transform: translateX(-50%);
    z-index: 2;
  }

  .home-page .header-mark {
    z-index: 120;
  }

  .home-page .hero {
    flex: 0 0 auto !important;
    padding-top: 122px !important;
    padding-bottom: 0 !important;
  }

  .home-page .photo-scatter {
    width: 100vw !important;
    max-width: 100vw !important;
    height: clamp(270px, 38svh, 360px) !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
  }

  .home-page .photo-scatter figure {
    inset: 0 !important;
  }

  .home-page .photo-scatter img,
  .home-page .photo-scatter figure:nth-child(1) img,
  .home-page .photo-scatter figure:nth-child(2) img,
  .home-page .photo-scatter figure:nth-child(3) img,
  .home-page .photo-scatter figure:nth-child(4) img,
  .home-page .photo-scatter figure:nth-child(5) img,
  .home-page .photo-scatter figure:nth-child(6) img {
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .home-page .home-tagline {
    width: min(430px, 96vw) !important;
    max-width: min(430px, 96vw) !important;
    margin-top: 22px !important;
    margin-bottom: 2px !important;
    font-size: clamp(1.42rem, 6.2vw, 1.92rem) !important;
    line-height: 0.98 !important;
    top: 0;
  }

  .home-page .frieze {
    margin-top: auto !important;
  }
}

@media (min-width: 901px) {
  body.presentation-page:not(.collective-page):not(.musee-presentation-page) main {
    padding-top: 36px;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .story {
    position: relative;
    grid-template-columns: minmax(360px, 0.72fr) minmax(600px, 1.28fr);
    grid-template-areas:
      "portraits photos"
      "portraits text";
    align-content: center;
    align-items: center;
    width: min(1380px, 94vw);
    row-gap: clamp(12px, 1.6vw, 20px);
    column-gap: clamp(20px, 2.4vw, 38px);
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .association-stats {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    pointer-events: none;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .values article {
    position: absolute;
    width: clamp(140px, 11.5vw, 174px);
    padding: clamp(13px, 1.35vw, 18px);
    pointer-events: auto;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .values article:nth-child(1) {
    top: clamp(8px, 1vw, 16px);
    left: clamp(8px, 1vw, 16px);
    z-index: 5;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .values article:nth-child(2) {
    top: clamp(180px, 24vh, 230px);
    left: clamp(6px, 1vw, 16px);
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .values article:nth-child(3) {
    left: clamp(8px, 1vw, 18px);
    bottom: clamp(8px, 1vw, 18px);
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .presentation-photo-row {
    align-self: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 26px);
    width: 100%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .presentation-photo-row img {
    padding: 3px;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .presentation-portrait-row {
    align-self: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 26px);
    width: min(560px, 100%);
    padding-left: clamp(130px, 11vw, 180px);
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) .story-text {
    align-self: center;
    max-width: 100%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association.story {
    display: block !important;
    position: relative !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    align-content: normal !important;
    align-items: normal !important;
    height: calc(100vh - 145px);
    min-height: 700px;
    max-height: none;
    width: min(1380px, 94vw);
    margin-inline: auto;
    overflow: visible;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association .presentation-photo-row,
  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association .presentation-portrait-row,
  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association .association-stats {
    display: contents !important;
    width: auto !important;
    padding: 0 !important;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id]:not([data-layout-id="texte-association"]) {
    position: absolute;
    left: var(--place-x);
    top: var(--place-y);
    width: var(--place-w);
    margin: 0;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id^="pastille"] {
    z-index: 5;
    max-width: none;
    transform: scale(var(--place-scale, 1));
    transform-origin: center center;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id^="photo"] {
    z-index: 4;
    height: auto !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="texte-association"] {
    position: absolute;
    left: 34%;
    top: 12%;
    width: 52%;
    max-width: none;
    z-index: 3;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-2008"] {
    --place-x: 0%;
    --place-y: 5.1%;
    --place-w: 31.9%;
    --place-scale: 0.68;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-217"] {
    --place-x: 15.2%;
    --place-y: 24.9%;
    --place-w: 17.9%;
    --place-scale: 0.84;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-caf"] {
    --place-x: 77.5%;
    --place-y: 54%;
    --place-w: 8%;
    --place-scale: 0.92;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-caf"] {
    width: clamp(142px, 11vw, 174px) !important;
    height: clamp(142px, 11vw, 174px) !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box;
    min-height: 0;
    border-radius: 50% !important;
    overflow: hidden;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-rencontre"] {
    --place-x: 37.7%;
    --place-y: 51.8%;
    --place-w: 25%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-chorale"] {
    --place-x: 0%;
    --place-y: 72.3%;
    --place-w: 34%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-lecture"] {
    --place-x: 64.9%;
    --place-y: 74.2%;
    --place-w: 35.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-cercle"] {
    --place-x: 0.1%;
    --place-y: 46.5%;
    --place-w: 28%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-masque"] {
    --place-x: 85.5%;
    --place-y: 28.2%;
    --place-w: 14.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-cuisine"] {
    --place-x: 41.2%;
    --place-y: 75.2%;
    --place-w: 17.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id^="pastille"] strong {
    color: #000000;
    font-family: var(--hand-accent-safe);
    font-size: clamp(2.35rem, 3.35vw, 3.2rem);
    font-weight: 400;
    line-height: 0.95;
    text-shadow: none;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id^="pastille"] span {
    font-size: clamp(1.1rem, 1.55vw, 1.42rem);
    line-height: 1.02;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-2008"] span {
    max-width: 190px !important;
    font-size: clamp(1.72rem, 2.55vw, 2.18rem) !important;
    line-height: 0.96 !important;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-caf"] span {
    max-width: 112px;
    font-size: clamp(0.95rem, 1.16vw, 1.16rem);
    line-height: 0.96;
  }
}

@media (min-width: 1850px) and (min-height: 900px) {
  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association.story {
    width: min(1760px, 97vw);
    height: calc(100vh - 155px);
    max-height: none;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="texte-association"] {
    left: 31%;
    top: 10%;
    width: 44%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-2008"] {
    --place-x: 7.4%;
    --place-y: 16.6%;
    --place-w: 14.1%;
    --place-scale: 0.65;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-217"] {
    --place-x: 16.6%;
    --place-y: 27.7%;
    --place-w: 15%;
    --place-scale: 0.76;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="pastille-caf"] {
    --place-x: 84.2%;
    --place-y: 41.8%;
    --place-w: 9%;
    --place-scale: 1;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-rencontre"] {
    --place-x: 41.8%;
    --place-y: 59.8%;
    --place-w: 20.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-chorale"] {
    --place-x: 16.4%;
    --place-y: 68.4%;
    --place-w: 20.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-lecture"] {
    --place-x: 69.8%;
    --place-y: 66.1%;
    --place-w: 26.5%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-cercle"] {
    --place-x: -2.9%;
    --place-y: 41%;
    --place-w: 22%;
  }

  body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-masque"] {
    --place-x: 82.2%;
    --place-y: 3.8%;
    --place-w: 13%;
  }

body.presentation-page:not(.collective-page):not(.musee-presentation-page) #association [data-layout-id="photo-cuisine"] {
    --place-x: 0.8%;
    --place-y: 77.8%;
    --place-w: 11.5%;
  }
}

body.association-placement-mode #association.story {
  position: relative;
}

body.association-placement-mode .presentation-photo-row,
body.association-placement-mode .presentation-portrait-row {
  display: contents;
}

body.association-placement-mode .association-stats {
  position: static;
  display: contents;
}

body.association-placement-mode .placement-target {
  cursor: move;
  touch-action: none;
  user-select: none;
  outline: 2px dashed rgba(209, 0, 115, 0.55);
  outline-offset: 4px;
  z-index: 8;
}

body.association-placement-mode .placement-target * {
  user-select: none;
  -webkit-user-drag: none;
}

body.association-placement-mode .placement-target.is-selected {
  outline: 3px solid #d10073;
  z-index: 12;
}

body.association-placement-mode .placement-target[data-layout-id^="pastille"] {
  z-index: 6;
  max-width: none;
}


.placement-panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(980px, calc(100vw - 24px));
  min-height: 44px;
  padding: 7px 12px;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.15;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #d10073;
  border-bottom: 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

html.association-placement-requested .placement-panel,
body.association-placement-mode .placement-panel {
  display: flex;
}

.placement-panel strong {
  flex: 0 0 auto;
  color: #d10073;
  font-size: 16px;
}

.placement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.placement-actions button {
  padding: 6px 9px;
  min-width: 30px;
  border: 1px solid #d10073;
  color: #111;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.placement-current {
  flex: 0 1 auto;
  min-width: 140px;
  font-weight: 700;
}

.placement-panel small {
  flex: 0 1 260px;
  color: #333;
}

@media (max-width: 760px) {
  .placement-panel {
    display: none !important;
  }

  .placement-panel small {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .header-mark.menu-toggle {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
  }

  .header-mark.menu-toggle::after {
    content: none !important;
    display: none !important;
  }

  body.is-scrolled .header-mark.menu-toggle::after {
    content: none !important;
    display: none !important;
  }

  .header-mark.menu-toggle .mobile-menu-lines {
    position: fixed;
    top: 39px;
    right: 29px;
    display: block !important;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow:
      0 -5px 0 rgba(255, 255, 255, 0.94),
      0 5px 0 rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    cursor: pointer;
    z-index: 10000 !important;
  }

  body.is-scrolled .header-mark.menu-toggle {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.is-scrolled .header-mark.menu-toggle img {
    opacity: 0 !important;
  }

  /* Le menu reste compact : un tap ouvre une rubrique. Les deux zones de
     déclenchement font au moins 44 px, la taille recommandée sur téléphone. */
  body.menu-open .site-header nav {
    max-height: calc(100svh - 132px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-has-submenu > .submenu-trigger {
    width: calc(100% - 44px);
    min-height: 44px;
    padding-right: 12px;
    text-align: left;
    touch-action: manipulation;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
    touch-action: manipulation;
  }
}
