/* =============================================================
   Galerie Guzman — styles
   Site d'exposition immersif. Harmonie chromatique stricte :
   tout (fond, cadres, type, surimpressions) s'accorde à l'œuvre.
   ============================================================= */

/* ---------- 0. Base / Reset doux ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background var(--tempo) var(--ease), color var(--tempo) var(--ease);
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Grain papier discret — toggleable via tweak */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(15,42,37,0.5) 1px, transparent 1px),
    radial-gradient(rgba(15,42,37,0.4) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
  opacity: var(--grain, 0.04);
  z-index: 1;
  transition: opacity var(--tempo) var(--ease);
}

/* Curseur personnalisé */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  transition: width 320ms var(--ease), height 320ms var(--ease),
              background-color 320ms var(--ease), border-color 320ms var(--ease),
              opacity 240ms var(--ease);
  mix-blend-mode: multiply;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent-strong);
  border-radius: 50%;
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
}
.cursor-ring.is-art {
  width: 96px; height: 96px;
  background: oklch(0.55 0.05 165 / 0.10);
  border-color: var(--accent-strong);
  mix-blend-mode: multiply;
}
.cursor-ring.is-link {
  width: 44px; height: 44px;
  border-color: var(--accent-strong);
}
.cursor-dot.is-art { opacity: 0; }
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
body.has-cursor { cursor: none; }

/* ---------- 1. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 18px clamp(20px, 4vw, 56px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--rule);
  transition: background var(--tempo) var(--ease), border-color var(--tempo) var(--ease);
}
.header-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: none;
  padding: 0;
}
.header-brand small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  display: block;
  margin-top: 2px;
  font-weight: 500;
}
.header-toggle {
  display: inline-flex;
  background: color-mix(in oklab, var(--bg-elev) 92%, transparent);
  border: 1px solid var(--rule-strong);
  border-radius: 9999px;
  padding: 3px;
  position: relative;
  isolation: isolate;
}
.header-toggle button {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 9px 22px;
  background: transparent;
  border: none;
  color: var(--ink-mute);
  border-radius: 9999px;
  transition: color var(--tempo) var(--ease);
  position: relative; z-index: 2;
}
.header-toggle button[aria-pressed="true"] { color: var(--bg); }
.header-toggle-pill {
  position: absolute;
  top: 3px; bottom: 3px;
  width: calc(50% - 3px);
  background: var(--ink);
  border-radius: 9999px;
  transition: transform var(--tempo) var(--ease), background var(--tempo) var(--ease);
  z-index: 1;
}
.header-toggle[data-vision="moderne"] .header-toggle-pill {
  transform: translateX(calc(100% + 0px));
}
.header-nav {
  display: flex;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-left: clamp(20px, 3vw, 48px);
}
.header-nav a, .header-nav button {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 6px 0;
  position: relative;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.header-nav a::after, .header-nav button::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent-strong);
  transition: right var(--tempo) var(--ease);
}
.header-nav a:hover::after, .header-nav button:hover::after { right: 0; }

/* ---------- 2. Section helpers ---------- */
.section {
  position: relative;
  padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 80px);
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 2.5 Intro hero (commun, diaporama) ---------- */
.intro-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: var(--emerald-950);
  /* Force a stable blue+green palette regardless of vision toggle */
  --intro-ink: #f6f3e6;
  --intro-accent: #a8d4ba;
  --intro-accent-2: #88b8d4;
}
.intro-slides {
  position: absolute; inset: 0; z-index: 0;
}
.intro-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1800ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity;
}
.intro-slide.is-active { opacity: 1; }
.intro-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.intro-slide.is-active img { transform: scale(1.12); }
.intro-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 30%, color-mix(in oklab, #2d8b6a 30%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, color-mix(in oklab, #4a7898 32%, transparent) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(6,36,27,0.55) 0%, rgba(6,36,27,0.25) 35%, rgba(10,61,46,0.45) 100%);
}
.intro-overlay::after {
  /* texture papier discrète */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(246,243,230,0.10) 1px, transparent 1px),
    radial-gradient(rgba(168,212,186,0.06) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.intro-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(120px, 14vh, 180px) clamp(28px, 5vw, 80px) clamp(40px, 6vh, 72px);
  color: var(--intro-ink);
}
.intro-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--intro-accent);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-rise 1400ms 200ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.intro-eyebrow::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--intro-accent);
}
.intro-center {
  display: grid;
  place-items: center;
  text-align: center;
  gap: clamp(28px, 4vh, 48px);
}
.intro-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--intro-ink);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(20px);
  animation: intro-rise 1600ms 360ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.intro-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--intro-accent);
}
.intro-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
  color: rgba(246,243,230,0.85);
  max-width: 58ch;
  margin: 0;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(16px);
  animation: intro-rise 1600ms 560ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.intro-cta {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-rise 1600ms 760ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.intro-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 32px 20px 26px;
  font-family: var(--font-body);
  background: rgba(246,243,230,0.04);
  border: 1px solid rgba(246,243,230,0.35);
  color: var(--intro-ink);
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  text-align: left;
  min-width: 320px;
  white-space: nowrap;
  transition: background 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.intro-cta-btn > span { white-space: nowrap; }
.intro-cta-btn:hover {
  background: rgba(246,243,230,0.12);
  border-color: var(--intro-accent);
  transform: translateY(-2px);
}
.intro-cta-btn[data-vision="moderne"]:hover { border-color: var(--intro-accent-2); }
.intro-cta-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--intro-accent);
}
.intro-cta-btn[data-vision="moderne"] .intro-cta-eyebrow { color: var(--intro-accent-2); }
.intro-cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.intro-cta-title::after {
  content: "→";
  font-family: var(--font-body);
  font-style: normal;
  font-size: 16px;
  opacity: 0.7;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.intro-cta-btn:hover .intro-cta-title::after { transform: translateX(6px); }
.intro-cta-meta {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(246,243,230,0.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  opacity: 0;
  animation: intro-fade 1400ms 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.intro-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
}
.intro-pagination button {
  width: 28px; height: 2px;
  background: rgba(246,243,230,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 1px;
  transition: background 600ms cubic-bezier(0.22, 0.61, 0.36, 1), width 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.intro-pagination button.is-active {
  background: rgba(246,243,230,0.18);
  width: 56px;
}
.intro-pagination button.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--intro-accent);
  transform-origin: left;
  animation: intro-progress 6000ms linear forwards;
}
.intro-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246,243,230,0.7);
  justify-self: center;
}
.intro-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(246,243,230,0.7));
  position: relative;
  overflow: hidden;
}
.intro-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 1px; height: 100%;
  background: var(--intro-accent);
  animation: intro-scroll-line 2200ms infinite;
}
.intro-caption {
  justify-self: end;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(246,243,230,0.7);
  letter-spacing: 0.04em;
}

@keyframes intro-rise {
  to { opacity: 1; transform: none; }
}
@keyframes intro-fade {
  to { opacity: 1; }
}
@keyframes intro-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes intro-scroll-line {
  0%   { top: -100%; }
  100% { top: 100%; }
}
@media (max-width: 800px) {
  .intro-cta { flex-direction: column; width: 100%; }
  .intro-cta-btn { width: 100%; }
  .intro-bottom { grid-template-columns: 1fr; gap: 32px; }
  .intro-pagination, .intro-caption { justify-self: center; text-align: center; }
}

/* ---------- 3. Hero — triptyque ---------- */
.hero {
  min-height: 100vh;
  padding: clamp(120px, 14vh, 180px) clamp(20px, 5vw, 80px) clamp(64px, 8vh, 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 6vh, 80px);
  position: relative;
}
.hero-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.hero-eyebrow { max-width: 280px; }
.hero-meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  line-height: 1.8;
}
.hero-title {
  font-family: var(--font-display);
  font-style: var(--vision-display-style);
  font-weight: 300;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-strong);
}
.hero-title .hero-amp {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
  padding: 0 0.1em;
}

.triptyque {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.triptyque-slot {
  position: relative;
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.triptyque-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  aspect-ratio: 3/4;
}
[data-vision="allegorique"] .triptyque-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.triptyque-frame img,
.triptyque-frame svg {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 1200ms var(--ease);
}
.triptyque-slot:hover .triptyque-frame img,
.triptyque-slot:hover .triptyque-frame svg {
  transform: scale(1.03);
}
.triptyque-slot:nth-child(1) { transform: translateY(0); }
.triptyque-slot:nth-child(2) { transform: translateY(-32px); }
.triptyque-slot:nth-child(3) { transform: translateY(16px); }
.triptyque-cartel {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.triptyque-cartel-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.triptyque-cartel-meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Hero variant — plein-écran simple */
.hero[data-variant="fullbleed"] {
  min-height: 100vh;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}
.hero-fullbleed-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-fullbleed-art img,
.hero-fullbleed-art svg {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      color-mix(in oklab, var(--bg) 30%, transparent) 0%,
      transparent 30%,
      transparent 60%,
      color-mix(in oklab, var(--bg) 50%, transparent) 100%);
}
.hero-fullbleed-text {
  position: absolute;
  inset: 0;
  padding: clamp(120px, 14vh, 180px) clamp(20px, 5vw, 80px) clamp(48px, 6vh, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.hero-fullbleed-text .hero-title { color: var(--bg); mix-blend-mode: difference; }

/* Hero variant — éditorial typographique */
.hero[data-variant="editorial"] {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: 100vh;
}
.hero-editorial-text { display: flex; flex-direction: column; gap: 40px; }
.hero-editorial-art {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  overflow: hidden;
}
[data-vision="allegorique"] .hero-editorial-art::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.hero-editorial-art img,
.hero-editorial-art svg {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- 4. Intent ribbon (between hero & rooms) ---------- */
.intent-ribbon {
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.intent-ribbon .pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.2;
  color: var(--ink);
  padding: 0;
  border: none;
  text-wrap: balance;
}
.intent-ribbon .signature {
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
}

/* ---------- 5. Salles — choix + parcours ---------- */
.salles-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(64px, 8vh, 96px);
}
.salles-intro h2 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
  font-style: var(--vision-display-style);
  text-wrap: balance;
}
.salles-intro h2 em { color: var(--accent-strong); font-style: italic; }
.salles-intro p {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Wall of museum — colonnes asymétriques */
.wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px);
  row-gap: clamp(96px, 14vh, 160px);
}
.wall-item {
  position: relative;
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.wall-art {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  overflow: hidden;
  /* no fixed aspect-ratio — frame adapts to each painting's natural proportions */
}
/* remove data-format overrides — natural sizing handles everything */
[data-vision="allegorique"] .wall-art::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.wall-art img, .wall-art svg {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  transition: transform 1400ms var(--ease);
}
.wall-item:hover .wall-art img,
.wall-item:hover .wall-art svg { transform: scale(1.04); }
.wall-num {
  position: absolute;
  top: -10px; left: -10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  font-weight: 300;
}
.wall-cartel { margin-top: 24px; }
.wall-cartel-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.2;
}
.wall-cartel-meta {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  gap: 16px;
  align-items: center;
}
.wall-cartel-status {
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 3px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 9999px;
  color: var(--ink-soft);
}
.wall-cartel-status[data-statut="vendue"] { color: var(--ink-mute); opacity: 0.65; }
.wall-cartel-status[data-statut="réservée"] { color: var(--accent-strong); border-color: var(--accent); }

/* Asymmetric column placements — 10 œuvres */
.wall-item:nth-child(1)  { grid-column: 1 / span 6;  margin-top: 0; }
.wall-item:nth-child(2)  { grid-column: 8 / span 4;  margin-top: 80px; }
.wall-item:nth-child(3)  { grid-column: 3 / span 4;  margin-top: 40px; }
.wall-item:nth-child(4)  { grid-column: 8 / span 5;  margin-top: 0; }
.wall-item:nth-child(5)  { grid-column: 1 / span 5;  margin-top: 60px; }
.wall-item:nth-child(6)  { grid-column: 7 / span 6;  margin-top: 0; }
.wall-item:nth-child(7)  { grid-column: 2 / span 4;  margin-top: 40px; }
.wall-item:nth-child(8)  { grid-column: 7 / span 5;  margin-top: 80px; }
.wall-item:nth-child(9)  { grid-column: 1 / span 6;  margin-top: 0; }
.wall-item:nth-child(10) { grid-column: 8 / span 4;  margin-top: 60px; }

@media (max-width: 800px) {
  .wall { grid-template-columns: 1fr; row-gap: 64px; }
  .wall-item:nth-child(n) { grid-column: 1; margin-top: 0; }
  .salles-intro { grid-template-columns: 1fr; }
}

/* ---------- 5.5 Philosophie artistique ---------- */
.philosophie {
  padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.philosophie-head {
  margin-bottom: clamp(48px, 8vh, 80px);
}
.philosophie-head h2 {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-style: var(--vision-display-style);
  margin: 0;
}
.philosophie-head h2 em {
  color: var(--accent-strong);
  font-style: italic;
}
.philosophie-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 1;
}
.philosophie-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  position: relative;
  transition:
    background var(--tempo) var(--ease),
    border-color var(--tempo) var(--ease),
    box-shadow var(--tempo) var(--ease);
}
[data-vision="allegorique"] .philosophie-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent);
  pointer-events: none;
  opacity: 0.45;
  transition: opacity var(--tempo) var(--ease);
}
.philosophie-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
}
.philosophie-card-titre {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.15;
}
.philosophie-card-texte {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
/* Liquid glass */
.philosophie {
  background:
    radial-gradient(ellipse at 15% 60%, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 25%, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, color-mix(in oklab, var(--accent) 10%, transparent) 0%, transparent 45%);
}
.philosophie-card {
  background: color-mix(in oklab, var(--bg-elev) 42%, transparent);
  backdrop-filter: blur(20px) saturate(1.65) brightness(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.65) brightness(1.04);
  border: 1px solid color-mix(in oklab, white 40%, var(--accent) 12%);
  box-shadow:
    0 8px 32px -8px var(--shadow-cool),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    inset 1px 0 0 rgba(255,255,255,0.2);
}
[data-vision="allegorique"] .philosophie-card::after {
  opacity: 0.18;
}
/* Stats bandeau */
.stats-bandeau {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(48px, 8vh, 88px) clamp(60px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  transition: background var(--tempo) var(--ease);
  justify-items: center;
  text-align: center;
}
.stats-bandeau::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(246,243,230,0.07) 1px, transparent 1px),
    radial-gradient(rgba(168,212,186,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  pointer-events: none;
  z-index: 0;
}
.stats-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border-left: none;
}
.stats-valeur {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.stats-nombre {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--bg);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.stats-unite {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
.stats-label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(246,243,230,0.5);
  font-weight: 500;
}
@media (max-width: 900px) {
  .philosophie-cards { grid-template-columns: 1fr; }
  .stats-bandeau { grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 56px) 0; }
  .stats-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .stats-item:nth-child(even) { padding-left: clamp(20px, 4vw, 40px); }
}

/* ---------- 6. Note d'intention ---------- */
.intent {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 200px) clamp(20px, 5vw, 40px);
}
.intent-paragraphs p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink-soft);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.intent-paragraphs p:last-child { color: var(--ink); font-style: italic; }
.intent-rule {
  display: block;
  width: 64px; height: 1px;
  background: var(--accent);
  margin-bottom: 48px;
}
.intent-signature {
  margin-top: 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.intent-signature-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  font-weight: 400;
}
.intent-signature-meta {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  line-height: 1.8;
}

/* ---------- 7. Bio & Expositions ---------- */
.bio {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 80px);
  align-items: start;
  border-top: 1px solid var(--rule);
}
.bio-left h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 300;
  font-style: var(--vision-display-style);
  margin: 24px 0 0;
}
.bio-portrait {
  margin-top: 48px;
  aspect-ratio: 4/5;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
[data-vision="allegorique"] .bio-portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--accent);
  pointer-events: none;
}
.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio-right .body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 56ch;
}
.bio-right .body-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 40px;
}

.expos { margin-top: 56px; }
.expos-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-strong);
}
.expos-head h3 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  margin: 0;
}
.expos-list {
  list-style: none;
  margin: 0; padding: 0;
}
.expos-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.expos-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--accent-strong);
}
.expos-titre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.expos-titre small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.expos-type {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}

@media (max-width: 800px) { .bio { grid-template-columns: 1fr; } }

/* ---------- 8. Contact ---------- */
.contact {
  background: var(--bg-deep);
  padding: clamp(96px, 14vh, 180px) clamp(20px, 5vw, 80px);
  position: relative;
  border-top: 1px solid var(--rule);
  transition: background var(--tempo) var(--ease);
}
.contact-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.02;
  font-weight: 300;
  font-style: var(--vision-display-style);
  margin: 24px 0 32px;
  text-wrap: balance;
}
.contact-left h2 em { color: var(--accent-strong); font-style: italic; }
.contact-left p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 42ch;
}
.contact-meta {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.contact-meta-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-meta-label {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.contact-meta-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.contact-meta-value a { border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

.contact-form {
  background: var(--bg-elev);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--rule-strong);
  position: relative;
}
[data-vision="allegorique"] .contact-form::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--accent);
  pointer-events: none;
}
.contact-form-grid {
  display: grid;
  gap: 28px;
  position: relative; z-index: 1;
}
.contact-field {
  display: flex; flex-direction: column;
  gap: 8px;
}
.contact-field label {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  width: 100%;
  border-radius: 0;
  outline: none;
  transition: border-color var(--tempo) var(--ease);
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-bottom-color: var(--accent-strong);
}
.contact-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity var(--tempo) var(--ease), background var(--tempo) var(--ease);
  width: max-content;
  margin-top: 8px;
}
.contact-submit:hover { opacity: 0.88; }
.contact-submit-arrow {
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.contact-submit-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.contact-success {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent-strong);
  padding: 16px 0;
  border-top: 1px solid var(--accent);
}
@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-row-2 { grid-template-columns: 1fr; }
}

/* ---------- 9. Lightbox (fiche d'œuvre) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: color-mix(in oklab, var(--bg) 88%, var(--ink) 12%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 5vw, 80px);
  gap: clamp(40px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-art {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-art-frame {
  position: relative;
  max-height: 84vh;
  max-width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  overflow: visible;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  transition: transform 800ms var(--ease);
}
[data-vision="allegorique"] .lightbox-art-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.lightbox-art-frame img, .lightbox-art-frame svg {
  display: block;
  max-height: 84vh;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}
.lightbox-info {
  display: flex; flex-direction: column;
  gap: 32px;
  max-width: 460px;
}
.lightbox-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 14px;
}
.lightbox-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}
.lightbox-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.lightbox-cartel {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.lightbox-cartel dt {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.lightbox-cartel dd {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
}
.lightbox-cartel dd.statut[data-statut="disponible"] { color: var(--accent-strong); }
.lightbox-cartel dd.statut[data-statut="vendue"] { color: var(--ink-mute); }
.lightbox-cartel dd.statut[data-statut="réservée"] { color: var(--ink-soft); }
.lightbox-note {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
  white-space: pre-line;
}
.lightbox-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.lightbox-close {
  position: fixed;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: var(--bg-elev);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--tempo) var(--ease), color var(--tempo) var(--ease);
}
.lightbox-close:hover { background: var(--ink); color: var(--bg); }
.lightbox-close::before, .lightbox-close::after {
  content: "";
  position: absolute;
  width: 16px; height: 1px;
  background: currentColor;
}
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid var(--rule-strong);
  background: var(--bg-elev);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--tempo) var(--ease), color var(--tempo) var(--ease);
  z-index: 201;
  color: var(--ink);
}
.lightbox-nav:hover { background: var(--ink); color: var(--bg); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav svg { width: 16px; height: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  z-index: 201;
}
.lightbox-counter strong {
  font-weight: 400;
  color: var(--ink);
}
@media (max-width: 900px) {
  .lightbox { grid-template-columns: 1fr; overflow-y: auto; align-items: start; }
  .lightbox-nav { display: none; }
}

/* Lightbox — layout paysage (image large en haut, fiche en dessous) */
.lightbox[data-format="horizontal"] {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  overflow-y: auto;
  padding-top: clamp(64px, 10vh, 100px);
  gap: clamp(24px, 3vh, 40px);
}
.lightbox[data-format="horizontal"] .lightbox-art {
  height: auto;
  justify-content: center;
}
.lightbox[data-format="horizontal"] .lightbox-art-frame {
  max-width: min(72vw, 900px);
  margin: 0 auto;
}
.lightbox[data-format="horizontal"] .lightbox-info {
  max-width: min(72vw, 900px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}
.lightbox[data-format="horizontal"] .lightbox-eyebrow,
.lightbox[data-format="horizontal"] .lightbox-title,
.lightbox[data-format="horizontal"] .lightbox-note {
  grid-column: 1 / -1;
}
.lightbox[data-format="horizontal"] .lightbox-title {
  font-size: clamp(28px, 3vw, 44px);
}



/* ---------- 10. Footer ---------- */
.footer {
  padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 80px) 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin: 0 0 20px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.footer-tag {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 32ch;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-list li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border: none;
  padding: 0;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 11. Tweaks adjustments ---------- */
[data-tempo="lent"] { --tempo: 900ms; }
[data-tempo="medium"] { --tempo: 600ms; }
[data-tempo="rapide"] { --tempo: 320ms; }

/* ---------- 12. Bouton link variant ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: border-color var(--tempo) var(--ease), opacity var(--tempo) var(--ease);
}
.btn-line:hover { border-color: var(--accent-strong); opacity: 0.85; }
.btn-line .arrow {
  display: inline-block;
  width: 16px; height: 1px;
  background: currentColor;
  position: relative;
}
.btn-line .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- 13. Mentions Légales (intégré) ---------- */
.mentions-legales-page { min-height: 100vh; display: flex; flex-direction: column; }
.ml-page {
  max-width: 780px; margin: 0 auto; flex: 1;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 40px) clamp(80px, 12vh, 140px);
}
.page-eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; color: var(--ink-mute);
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
}
.page-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.ml-page-title {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(48px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 64px;
}
.ml-page-rule { display: block; width: 64px; height: 1px; background: var(--accent); margin-bottom: 64px; }
.ml-section {
  margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.ml-section.ml-section-last { border-bottom: none; margin-bottom: 0; }
.ml-section-num {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(48px, 6vw, 72px); font-weight: 300;
  color: var(--accent); opacity: 0.35; line-height: 1; margin-bottom: 8px;
}
.ml-section h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px); color: var(--ink); margin: 0 0 28px; line-height: 1.2;
}
.ml-section h3 {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-mute); margin: 32px 0 12px;
}
.ml-section p {
  font-family: var(--font-body); font-size: 16px; line-height: 1.75;
  color: var(--ink-soft); margin: 0 0 20px;
}
.ml-section p:last-child { margin-bottom: 0; }
.ml-info-grid {
  display: grid; grid-template-columns: 140px 1fr; gap: 12px 24px; margin: 0 0 24px;
}
.ml-info-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-mute); padding-top: 2px;
}
.ml-info-value {
  font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink);
}
.ml-info-value a {
  font-style: normal; font-family: var(--font-body); font-size: 14px;
  color: var(--ink-soft); border-bottom: 1px solid var(--accent);
}
.ml-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.ml-list li {
  font-family: var(--font-body); font-size: 15px; line-height: 1.65;
  color: var(--ink-soft); padding-left: 20px; position: relative;
}
.ml-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: var(--accent);
}
.ml-note {
  font-family: var(--font-display); font-style: italic; font-size: 17px;
  line-height: 1.55; color: var(--ink-soft); border-left: 1px solid var(--accent);
  padding-left: 20px; margin: 24px 0;
}
.retractation-btn {
  display: inline-flex; flex-direction: column; gap: 5px; margin: 24px 0;
  padding: 18px 28px; background: transparent; border: 1px solid var(--accent);
  color: var(--ink); text-decoration: none; font-family: var(--font-body);
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
  transition: background 300ms ease, color 300ms ease;
}
.retractation-btn:hover { background: var(--accent); color: var(--bg); }
.retractation-btn-sub {
  font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0.08em; opacity: 0.6;
}
.ml-header-back {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft);
  text-decoration: none; border: none; padding: 0;
  display: flex; align-items: center; gap: 10px;
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ml-header-back:hover { opacity: 0.65; border: none; }
.ml-header-back-line {
  display: inline-block; width: 20px; height: 1px; background: currentColor;
}
