/* casino-amman-jordan.com — charcoal gallery, ivory cartels, ultramarine light. RTL. */
:root {
  --charbon: #1B1C20;
  --cimaise: #2A2C33;
  --cimaise-2: #33363F;
  --ivoire: #F2EDE2;
  --ivoire-doux: #C9C4B9;
  --encre: #1B1C20;
  --encre-2: #4A4740;
  --outremer: #2F3FD9;
  --outremer-clair: #9AA6FF;
  --display: 'Katibeh', 'Changa', serif;
  --text: 'Changa', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--charbon); color: var(--ivoire);
  font: 400 1.125rem/1.85 var(--text); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--outremer-clair); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ivoire); }
:focus-visible { outline: 2px solid var(--outremer-clair); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ivoire); color: var(--encre); padding: .6em 1em; }
.skip:focus { top: 12px; }
.eyebrow {
  font: 700 .85rem/1.4 var(--text);
  color: var(--outremer-clair); margin-bottom: 1rem; display: flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--outremer); }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--gutter); background: rgba(27, 28, 32, .94); border-bottom: 1px solid #34363e;
}
@supports (backdrop-filter: blur(8px)) { .masthead { background: rgba(27, 28, 32, .82); backdrop-filter: blur(10px); } }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ivoire); text-decoration: none; }
.brand-name { font: 400 1.3rem/1.05 var(--display); }
.mark { flex: none; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.plan a { color: var(--ivoire-doux); text-decoration: none; font-size: .92rem; padding: .35em 0; border-bottom: 2px solid transparent; }
.plan a:hover, .plan a[aria-current="page"] { color: var(--ivoire); border-bottom-color: var(--outremer); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .masthead { flex-wrap: wrap; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: .6rem; background: transparent; color: var(--ivoire);
    border: 1px solid #4a4d57; border-radius: 999px; padding: .5rem 1rem; font: 700 .85rem var(--text); cursor: pointer;
  }
  .menu-bars, .menu-bars::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .menu-bars::before { content: ""; position: absolute; top: 5px; }
  .menu-bars { transform: translateY(-2px); }
  .plan { width: 100%; }
  .plan ul { gap: .1rem 1.1rem; }
  .js .plan { display: none; }
  .js .plan.is-open { display: block; padding: .6rem 0 .4rem; }
  .js .plan.is-open ul { flex-direction: column; }
  .js .plan.is-open a { display: block; font-size: 1.05rem; padding: .55rem 0; border-bottom: 1px solid #34363e; }
}

/* ---------- hall ---------- */
.hall { position: relative; isolation: isolate; }
.hall-img { position: relative; }
.hall-img img { width: 100%; height: auto; max-height: 82vh; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
.hall-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(27,28,32,.75) 84%, var(--charbon) 100%); }
.hall-copy { position: relative; margin: clamp(-7rem, -6vw, -2rem) auto 0; padding: 0 var(--gutter) clamp(2.5rem, 6vw, 5rem); max-width: var(--max); }
.hall h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.8rem); line-height: 1.2; margin-bottom: .35em; max-width: 14ch; }
@media (min-width: 1000px) { .hall-copy { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 3rem; align-items: end; } .hall-copy .eyebrow, .hall h1 { grid-column: 1 / -1; } .hall h1 { max-width: none; } .visit { justify-self: start; } }
.hall-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ivoire); max-width: 44ch; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.visit {
  display: inline-flex; gap: .5em; align-items: center; margin-top: .6rem; padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--outremer); color: var(--ivoire); text-decoration: none; font-weight: 700;
}
.visit:hover { background: #2533b8; color: var(--ivoire); }

.intro-wall {
  display: grid; gap: 2rem; padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem); max-width: var(--max); margin: 0 auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start;
}
.intro-cartel, .cartel, .mono-cartel {
  background: var(--ivoire); color: var(--encre); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 18px 40px -24px #000;
}
.cartel-era, .cartel .cartel-era { font: 700 .82rem/1.4 var(--text); color: var(--outremer); margin-bottom: .8rem; }
.intro-answer { font-size: 1.12rem; margin: 0; }
.facts { margin: 0; display: grid; gap: 1px; background: #3a3d46; border: 1px solid #3a3d46; }
.facts div { background: var(--charbon); padding: 1rem 1.2rem; }
.facts dt { font-size: .88rem; color: var(--outremer-clair); font-weight: 700; }
.facts dd { margin: .2rem 0 0; color: var(--ivoire-doux); font-size: .95rem; }
.facts dd span { display: block; font: 400 1.9rem/1.35 var(--display); color: var(--ivoire); }

/* ---------- corridor (horizontal strip) ---------- */
.corridor { padding: clamp(3rem, 7vw, 6rem) 0 2rem; background:
  radial-gradient(60% 50% at 50% 0%, rgba(47,63,217,.18), transparent 70%), var(--charbon); border-top: 1px solid #2c2e35; }
.corridor-head, .compare-head, .vitrine-head, .shelf-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 2.2rem; }
.corridor-intro { max-width: 60ch; color: var(--ivoire-doux); }
.rooms { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; gap: 3rem; }
.room { display: grid; gap: 0; max-width: 980px; }
.exhibit { margin: 0; background: radial-gradient(60% 70% at 50% 10%, rgba(47,63,217,.25), transparent 70%), #121317; aspect-ratio: 4 / 3; overflow: hidden; }
.exhibit img { width: 100%; height: 100%; object-fit: cover; }
#salle-electromecanique .exhibit img { object-position: 12% 50%; }
.cartel h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.cartel p { color: var(--encre-2); }
.cartel-player { border-top: 1px solid #cfc8b8; padding-top: .9rem; margin: 0; color: var(--encre) !important; }
.cartel-player span { display: block; font-weight: 700; font-size: .88rem; color: var(--outremer); margin-bottom: .2rem; }
.rail { display: none; }

@media (min-width: 900px) {
  .js .strip {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-bottom: .5rem; scroll-padding-inline: var(--gutter);
  }
  .js .strip::-webkit-scrollbar { display: none; }
  .js .rooms { display: flex; gap: clamp(2rem, 5vw, 5rem); width: max-content; padding-inline-end: 30vw; }
  .js .room {
    width: min(78vw, 1060px); grid-template-columns: 1.25fr 1fr; align-items: end; scroll-snap-align: start;
  }
  .js .room .exhibit img { opacity: .35; transition: opacity .5s ease; }
  .js .room.is-current .exhibit img { opacity: 1; }
  .js .cartel { margin-inline-start: -2.5rem; margin-bottom: 2.5rem; position: relative; }
  .js .rail {
    display: flex; align-items: center; gap: 1rem; padding: 2rem var(--gutter) 0; max-width: var(--max); margin: 0 auto;
  }
  .rail-ticks { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; justify-content: space-between; position: relative; }
  .rail-ticks::before { content: ""; position: absolute; inset-inline: 0; top: 9px; height: 2px; background: var(--outremer); }
  .rail-ticks a {
    position: relative; display: block; padding-top: 1.6rem; color: var(--ivoire-doux); text-decoration: none; font-size: .85rem;
  }
  .rail-ticks a::before {
    content: ""; position: absolute; top: 3px; inset-inline-start: 50%; width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 50%;
    background: var(--charbon); border: 2px solid var(--outremer-clair); transition: background .3s, transform .3s;
  }
  .rail-ticks li:first-child a::before { inset-inline-start: 7px; }
  .rail-ticks li:last-child a::before { inset-inline-start: auto; inset-inline-end: -7px; }
  .rail-ticks a[aria-current="true"] { color: var(--ivoire); }
  .rail-ticks a[aria-current="true"]::before { background: var(--outremer-clair); transform: scale(1.25); }
  .rail-btn {
    width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid #4a4d57; background: var(--cimaise);
    color: var(--ivoire); font-size: 1.15rem; cursor: pointer;
  }
  .rail-btn:hover { background: var(--outremer); border-color: var(--outremer); }
  .rail-btn:disabled { opacity: .35; cursor: default; background: var(--cimaise); }
}

/* ---------- compare / scrubber ---------- */
.compare { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--cimaise); }
.compare-head p:not(.eyebrow) { max-width: 62ch; color: var(--ivoire-doux); }
.scrubber, .era-table { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.era-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.4rem; }
.era-pick fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.era-pick legend { font: 700 .85rem var(--text); color: var(--outremer-clair); margin-bottom: .6rem; }
.era-pick fieldset:last-child legend, .era-pick fieldset:last-child .pills { margin-inline-start: auto; text-align: end; justify-content: flex-end; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.era-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.era-pill span {
  display: inline-block; padding: .45rem .85rem; border: 1px solid #50535e; border-radius: 999px; font-size: .9rem; cursor: pointer; color: var(--ivoire-doux);
}
.era-pill input:checked + span { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); }
.era-pill input:focus-visible + span { outline: 2px solid var(--outremer-clair); outline-offset: 2px; }
.era-pill input:disabled + span { opacity: .35; cursor: not-allowed; }
.split { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111216; }
.split figure { position: absolute; inset: 0; margin: 0; }
.split img { width: 100%; height: 100%; object-fit: cover; }
.split-a { clip-path: inset(0 0 0 calc(100% - var(--cut))); }
.split-line { position: absolute; top: 0; bottom: 0; right: var(--cut); width: 2px; margin-right: -1px; background: var(--ivoire); box-shadow: 0 0 18px rgba(154,166,255,.8); }
.split-line::after {
  content: "‹ ›"; direction: ltr; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  background: var(--outremer); color: var(--ivoire); display: grid; place-items: center; font-weight: 700;
}
.split figcaption {
  position: absolute; bottom: 1rem; padding: .35rem .8rem; background: var(--ivoire); color: var(--encre);
  font: 400 1.3rem/1.4 var(--display);
}
.split-a figcaption { right: 1rem; }
.split-b figcaption { left: 1rem; }
.split-range { display: block; margin: 1rem 0 2rem; }
.split-range span { display: block; font-size: .85rem; color: var(--ivoire-doux); margin-bottom: .3rem; }
.split-range input { width: 100%; accent-color: var(--outremer-clair); height: 28px; cursor: ew-resize; }
.era-table .is-a, .era-table .is-b { background: rgba(47,63,217,.28); color: var(--ivoire); }
.era-table th.is-a, .era-table th.is-b { background: var(--outremer); }
.era-table td.flash { animation: flash .6s ease both; animation-delay: var(--d, 0ms); }
@keyframes flash { from { background: rgba(154,166,255,.55); } }
@media (max-width: 899px) {
  .js .era-table .is-off { display: none; }
  .era-pick { grid-template-columns: 1fr; }
  .era-pick fieldset:last-child legend, .era-pick fieldset:last-child .pills { margin-inline-start: 0; text-align: start; justify-content: flex-start; }
  .split { aspect-ratio: 4 / 3; }
}

/* ---------- tables (generic) ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.js .era-table table { min-width: 0; }
@media (min-width: 900px) { .era-table table { min-width: 0; } }
caption { text-align: start; font: 400 1.45rem/1.4 var(--display); padding-bottom: .7rem; color: var(--ivoire); }
th, td { text-align: start; vertical-align: top; padding: .75rem .85rem; border-bottom: 1px solid #43464f; }
thead th { font-size: .88rem; color: var(--outremer-clair); border-bottom: 2px solid var(--outremer); }
tbody th { font-weight: 700; color: var(--ivoire); }
td { color: var(--ivoire-doux); }

/* ---------- vitrine ---------- */
.vitrine { padding: clamp(3rem, 7vw, 6rem) 0; }
.vitrine-head p:not(.eyebrow) { max-width: 62ch; color: var(--ivoire-doux); }
.vitrine-stage { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.vitrine-img { position: relative; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivoire); color: var(--encre); text-decoration: none; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(47,63,217,.45);
}
.hotspot:hover, .hotspot.is-on { background: var(--outremer); color: var(--ivoire); box-shadow: 0 0 0 8px rgba(154,166,255,.35); }
.pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pieces li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; padding: .8rem; border: 1px solid #383b44; transition: background .3s, border-color .3s; scroll-margin-top: 90px; }
.pieces p { margin: 0; font-size: .95rem; color: var(--ivoire-doux); }
.piece-n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--outremer-clair); display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--outremer-clair); }
.pieces li:target, .pieces li.is-on { background: var(--ivoire); border-color: var(--ivoire); }
.pieces li:target p, .pieces li.is-on p { color: var(--encre); }
.pieces li:target .piece-n, .pieces li.is-on .piece-n { background: var(--outremer); color: var(--ivoire); border-color: var(--outremer); }
.vitrine > .label-note { max-width: var(--max); margin: 2rem auto 0; }
.vitrine > .label-note { margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }

/* notes & examples */
.label-note { border: 1px solid #4a4d57; background: var(--cimaise); padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.label-note-t, .worked-t { font: 700 1.1rem/1.5 var(--text); color: var(--ivoire); margin-bottom: .4rem; }
.label-note p:last-child, .worked p:last-child { margin: 0; }
.worked { background: var(--ivoire); color: var(--encre); padding: 1.3rem 1.5rem; margin: 1.5rem 0; position: relative; }
.worked-t { color: var(--encre); }
.worked p { color: var(--encre-2); }

/* ---------- ticket (promo) ---------- */
.ticket {
  --stub: 1px; display: grid; grid-template-columns: 1fr; max-width: 520px; margin: 1.8rem 0; color: var(--encre);
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.45));
}
.ticket-body {
  background: var(--ivoire); padding: 0 0 1.4rem;
  -webkit-mask: radial-gradient(circle 9px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-band {
  display: flex; justify-content: space-between; gap: 1rem; background: var(--outremer); color: var(--ivoire); margin: 0 0 1.2rem;
  padding: .7rem 1.4rem; font: 700 .78rem var(--text);
}
.ticket-house { padding: 0 1.4rem; margin-bottom: .4rem; font-size: .9rem; color: var(--encre-2); font-weight: 700; }
.ticket-code { padding: 0 1.4rem; font: 400 clamp(2rem, 1.5rem + 1.8vw, 2.8rem)/1.3 var(--display); color: var(--encre); margin-bottom: .7rem; }
.ticket-note { padding: 0 1.4rem; margin: 0; font-size: .92rem; color: var(--encre-2); }
.ticket-stub {
  position: relative; background: var(--ivoire); padding: 1.3rem 1.4rem 1.2rem;
  border-top: 2px dashed #a49d8e;
  -webkit-mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-cta {
  display: inline-flex; gap: .4em; padding: .8rem 1.3rem; background: var(--encre); color: var(--ivoire); text-decoration: none; font-weight: 700; border-radius: 999px;
}
.ticket-cta:hover { background: var(--outremer); color: var(--ivoire); }
.ticket-cta:focus-visible { outline-color: var(--outremer); }
.ticket-fine { margin: .8rem 0 0; font-size: .8rem; color: var(--encre-2); }

/* ---------- shop ---------- */
.shop {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.shop-art { background: #111216; }
.shop-copy > p:not(.eyebrow) { color: var(--ivoire-doux); max-width: 52ch; }

/* ---------- economy, legal ---------- */
.economy {
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; border-top: 1px solid #2f3139;
}
.economy-copy > p:not(.eyebrow) { color: var(--ivoire-doux); }
.legal-wall { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter); border-top: 1px solid #2f3139; }
.legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; color: var(--ivoire-doux); }

/* ---------- shelf of catalogues ---------- */
.shelf { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--cimaise); }
.shelf-head p:not(.eyebrow) { color: var(--ivoire-doux); max-width: 60ch; }
.shelf-img { margin: 0 auto; max-width: var(--max); padding: 0 var(--gutter); }
.shelf-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 48%; }
.catalogues {
  list-style: none; margin: -3.5rem auto 0; padding: 0 var(--gutter); max-width: var(--max); position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.catalogue a {
  display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.6rem 1.5rem 1.4rem; text-decoration: none;
  background: var(--ivoire); color: var(--encre); transition: transform .3s ease;
}
.catalogue a:hover { transform: translateY(-6px); color: var(--encre); }
.cat-vol { align-self: flex-start; padding: .2rem .7rem; background: var(--outremer); color: var(--ivoire); font-size: .85rem; font-weight: 700; }
.cat-title { font: 700 1.25rem/1.45 var(--text); }
.cat-sum { font-size: .93rem; color: var(--encre-2); }
.cat-go { margin-top: auto; font-weight: 700; font-size: .9rem; }

/* ---------- audioguide (FAQ) ---------- */
.audioguide { max-width: 920px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.audio-intro { color: var(--ivoire-doux); }
.audio { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid #3a3d46; }
.audio li { border-bottom: 1px solid #3a3d46; }
.audio summary { display: grid; grid-template-columns: 6.5rem 1fr 1.5rem; gap: 1rem; align-items: baseline; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.audio summary::-webkit-details-marker { display: none; }
.audio summary::after { content: "+"; color: var(--outremer-clair); font-size: 1.4rem; line-height: 1; text-align: end; }
.audio details[open] summary::after { content: "–"; }
.stop { font-size: .85rem; font-weight: 700; color: var(--outremer-clair); display: flex; gap: .45rem; align-items: center; }
.stop::before {
  content: ""; width: 14px; height: 12px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat,
    linear-gradient(currentColor, currentColor) 4px 100% / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 8px 100% / 2px 65% no-repeat,
    linear-gradient(currentColor, currentColor) 12px 100% / 2px 30% no-repeat;
}
.q { font: 700 1.12rem/1.5 var(--text); }
.audio details p { margin: 0 0 1.3rem; margin-inline-start: 7.5rem; color: var(--ivoire-doux); max-width: 62ch; }
.audio-compact summary { grid-template-columns: 5.5rem 1fr 1.5rem; }
.audio-compact details p { margin-inline-start: 6.5rem; }
@media (max-width: 640px) {
  .audio summary, .audio-compact summary { grid-template-columns: 1fr 1.5rem; }
  .stop { grid-column: 1 / -1; }
  .audio details p, .audio-compact details p { margin-inline-start: 0; }
}

/* ---------- exit ---------- */
.exit { padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem); }
.exit-plaque {
  max-width: 920px; margin: 0 auto; border: 1px solid #4a4d57; padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(47,63,217,.12), transparent 60%);
}
.exit-link { font-weight: 700; }

/* lists */
.pins { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .55rem; }
.pins li { position: relative; padding-inline-start: 1.6rem; }
.pins li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: .7rem; height: .7rem; border: 2px solid var(--outremer-clair); transform: rotate(45deg); }
.sequence { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.sequence li { counter-increment: s; position: relative; padding-block: 1rem; padding-inline: 3.6rem 1.2rem; background: var(--cimaise); }
.sequence li::before { content: counter(s); position: absolute; inset-inline-start: 1.1rem; top: 1rem; font: 700 1.5rem/1.2 var(--text); color: var(--outremer-clair); }
.sequence h3 { font: 700 1.15rem/1.5 var(--text); margin-bottom: .3rem; }
.sequence p { margin: 0; color: var(--ivoire-doux); }

/* ---------- monographs (guides) ---------- */
.mono-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-width: 1400px; margin: 0 auto; align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter) 0;
}
.mono-img { margin: 0; background: #111216; }
.mono-img img { width: 100%; height: 100%; object-fit: cover; }
.mono-cartel { margin-block: 3rem; margin-inline: -3rem 0; position: relative; align-self: center; }
.mono-cartel h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.mono-intro { color: var(--encre-2); font-size: 1.08rem; }
.mono-answer { border-top: 2px solid var(--outremer); padding-top: 1rem; }
.mono-answer-t { font-size: .88rem; font-weight: 700; color: var(--outremer); margin-bottom: .4rem; }
.mono-answer p:last-child { margin: 0; }
.mono-body { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.mono-toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.mono-toc p { font-weight: 700; font-size: .88rem; color: var(--outremer-clair); }
.mono-toc ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .6rem; color: var(--ivoire-doux); }
.mono-toc a { color: var(--ivoire-doux); text-decoration: none; }
.mono-toc a:hover { color: var(--ivoire); text-decoration: underline; }
.mono-text { max-width: 70ch; }
.mono-text section { padding-bottom: 2.4rem; scroll-margin-top: 90px; }
.mono-text h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.mono-text > section > p { color: #DCD7CC; }
.related { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.related h2 { font-size: 1.6rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.related-list a { display: block; padding: .8rem 1.1rem; border: 1px solid #4a4d57; color: var(--ivoire); text-decoration: none; font: 700 1.05rem/1.5 var(--text); }
.related-list a span { display: block; font: 400 .8rem var(--text); color: var(--outremer-clair); }
.related-list a:hover { border-color: var(--outremer-clair); }

/* ---------- service walls ---------- */
.wall { max-width: 860px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); }
.wall-head { padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid #3a3d46; }
.wall-head h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); }
.wall-intro { font-size: 1.15rem; color: var(--ivoire-doux); max-width: 56ch; }
.wall-sec { margin-bottom: 2.4rem; scroll-margin-top: 90px; }
.wall-sec h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.wall-sec > p { color: #DCD7CC; }
.is-articles .wall-sec { display: grid; grid-template-columns: 6rem 1fr; column-gap: 1.5rem; }
.is-articles .wall-sec > * { grid-column: 2; }
.is-articles .wall-sec h2::before { content: attr(data-art); position: absolute; margin-inline-start: -7.5rem; width: 6rem; font: 700 .85rem/2.6 var(--text); color: var(--outremer-clair); }
@media (max-width: 640px) {
  .is-articles .wall-sec { display: block; }
  .is-articles .wall-sec h2::before { position: static; display: block; margin: 0; width: auto; }
}
.wall-partner .ticket { max-width: 560px; }

/* 404 */
.closed { max-width: 760px; margin: 0 auto; padding: clamp(4rem, 12vw, 9rem) var(--gutter); text-align: start; }
.closed h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); }
.closed-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid #34363e; background: #141519; padding: 3rem var(--gutter) 2.5rem; font-size: .92rem; color: var(--ivoire-doux); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; }
.foot-brand { display: flex; gap: .8rem; align-items: flex-start; }
.foot-brand p { font: 400 1.4rem/1.4 var(--display); color: var(--ivoire); }
.foot-brand span { font: 400 .85rem/1.4 var(--text); color: var(--ivoire-doux); }
.age { display: inline-block; font: 700 .85rem var(--text); border: 1.5px solid var(--ivoire); border-radius: 50%; width: 2.6rem; height: 2.6rem; line-height: 2.4rem; text-align: center; color: var(--ivoire); margin-inline-end: .7rem; float: right; }
.foot-rules p { margin-bottom: .8rem; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-nav a { color: var(--ivoire-doux); }
.foot-nav a:hover { color: var(--ivoire); }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  .intro-wall, .vitrine-stage, .shop, .economy, .legal-cols, .mono-head, .mono-body { grid-template-columns: 1fr; }
  .catalogues { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .mono-cartel { margin: -2rem 1rem 0; }
  .mono-toc { position: static; }
  .foot-grid { grid-template-columns: 1fr; }
  .shop-art { max-width: 420px; }
  .cartel { margin: -1.5rem 1rem 0; position: relative; }
}
@media (max-width: 480px) {
  .hall-img img { aspect-ratio: 4 / 3; }
  .hotspot { width: 36px; height: 36px; font-size: .85rem; }
  .ticket-band { padding-inline: 1rem; }
  .ticket-house, .ticket-code, .ticket-note { padding-inline: 1rem; }
  .ticket-stub { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
}
.compare .era-table { margin: 2rem auto 0; }
.compare-note { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
bdi[dir="ltr"] { unicode-bidi: isolate; }
