@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&family=Oswald:wght@300;400;500&display=swap");

:root {
  --paper: #f9f6f5;
  --ink: #1c1c1c;
  --mute: #717376;
  --line: #e4ddd8;
  --accent: #c41a2b;
  --coral: #ef997f;
  --white: #fff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Header — barre fine, comme une galerie */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 246, 245, 0.94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.brand-name {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }

.random-btn {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  cursor: pointer;
}
.random-btn:hover {
  background: var(--accent);
  color: #fff;
}

.search-box { position: relative; width: 180px; }
.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 6px 0 6px 22px;
  color: var(--ink);
  outline: none;
  font-size: 13px;
}
.search-box svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
}

.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Spotlight Timelens : une grande pièce + deux empilées */
.spotlight {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 8px;
  margin: 8px auto 0;
  width: min(var(--max), calc(100% - 48px));
}
.spotlight a { color: #fff; display: block; position: relative; overflow: hidden; background: #111; }
.spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.spotlight a:hover img { transform: scale(1.04); }
.spotlight-main { min-height: 72vh; }
.spotlight-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.spotlight-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
}
.spotlight-cap span {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}
.spotlight-cap h2, .spotlight-cap h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  margin: 6px 0 0;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.spotlight-main .spotlight-cap h1 { font-size: clamp(28px, 4vw, 48px); }
.spotlight-side .spotlight-cap h2 { font-size: 22px; }

/* Timeline années */
.years-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: 8px 0 0;
}
.years-line a {
  padding: 16px 18px;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  border-right: 1px solid var(--line);
}
.years-line a:hover { color: var(--accent); background: #fff; }

.section {
  padding: 56px 0 24px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.section-head a, .section-head p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

/* Grille type galerie : photo + légende, pas de carte */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 22px;
}
.card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.card:hover { color: var(--accent); }
.card-media {
  position: relative;
  background: #ece7e2;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.docs-grid .card-media {
  background: #161310;
  aspect-ratio: 3 / 4;
}
.docs-grid .card-media img {
  object-fit: contain;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.card-year {
  display: none;
}
.card-body { padding: 12px 0 0; }
.card-type {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 4px;
}
.card h3 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.card p { display: none; }

/* Collections numérotées */
.exhibit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.exhibit {
  display: block;
  padding: 28px 24px 32px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
}
.exhibit:nth-child(3n) { border-right: 0; padding-right: 0; }
.exhibit .num {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  color: var(--coral);
  letter-spacing: 0.12em;
  font-size: 13px;
}
.exhibit h3 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 22px;
  margin: 8px 0 8px;
}
.exhibit p { margin: 0; color: var(--mute); font-size: 14px; }
.exhibit:hover { color: var(--accent); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 28px;
}
.chip {
  border: 0;
  background: transparent;
  color: var(--mute);
  padding: 0;
  cursor: pointer;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.chip.is-on, .chip:hover { color: var(--ink); }

.page-hero {
  padding: 36px 0 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 46px);
  margin: 6px 0 8px;
  text-transform: uppercase;
  line-height: 1.05;
}
.page-hero p { margin: 0; color: var(--mute); }
.eyebrow {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--mute); font-size: 13px; }
.tag { color: var(--mute); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  padding-bottom: 80px;
}
.article-content {
  font-size: 17px;
  color: #3a3a3a;
  max-width: 760px;
}
.article-content p { margin: 0 0 16px; }
.article-content h2, .article-content h3 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
}
.article-content img { margin: 8px 0 20px; }
.featured-frame {
  margin: 0 0 28px;
  background: #ece7e2;
}
.featured-frame img { width: 100%; max-height: 640px; object-fit: contain; background: #ece7e2; }

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  margin: 18px 0 28px;
}
.gallery-wall a { display: block; aspect-ratio: 1; overflow: hidden; background: #ece7e2; min-width: 0; }
.gallery-wall img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0;
}

.flip-stage, .pdf-link { display: none; }
.pdf-reader { outline: none; }
.book-stage {
  position: relative;
  height: min(72vh, 720px);
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  background:
    radial-gradient(ellipse at 50% 42%, #1c1916 0%, #0b0b0c 62%);
}
.pdf-spread {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  max-width: 1320px;
  max-height: 640px;
  filter: drop-shadow(0 28px 80px rgba(0,0,0,0.5));
}
.book-stage[data-mode="single"] .pdf-spread { max-width: 1040px; }
.pdf-leaf {
  background: #111;
  position: relative;
}
.pdf-leaf canvas,
.pdf-leaf img.page-img {
  display: block;
  max-width: 100%;
  max-height: min(64vh, 640px);
  min-width: 0;
  min-height: 0;
}
.pdf-leaf img.page-img {
  width: auto;
  height: auto;
  object-fit: contain;
}
.pdf-leaf.is-empty { background: #161310; }
.book-stage[data-mode="single"] .pdf-leaf-left,
.book-stage[data-mode="single"] .pdf-spine { display: none; }
.pdf-leaf-left { box-shadow: inset -16px 0 28px rgba(0,0,0,0.28); }
.pdf-leaf-right { box-shadow: inset 16px 0 28px rgba(0,0,0,0.22); }
.pdf-spine {
  width: 12px;
  flex: 0 0 12px;
  align-self: stretch;
  min-height: 120px;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.55) 0%,
      rgba(48,38,32,0.95) 46%,
      rgba(18,14,12,0.7) 100%);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
}
.pdf-reader:fullscreen .book-stage { min-height: 0; flex: 1; }
.pdf-wait {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(244,241,236,0.45);
  pointer-events: none;
}
.pdf-wait.is-error { color: #ef997f; }
.book-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 28px 16px 36px;
  position: relative;
}
.book-modes {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  border: 1px solid rgba(212, 175, 130, 0.38);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(244,241,236,0.05);
}
.book-modes button {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: rgba(244,241,236,0.52);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.book-modes button.is-on {
  background: #f4f1ec;
  color: #1a1714;
}
.book-modes button:not(.is-on):hover { color: #f4f1ec; }
.book-orb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 130, 0.4);
  background: #f4f1ec;
  color: #1a1714;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.book-orb span {
  font-size: 40px;
  line-height: 1;
  margin-top: -4px;
  font-weight: 300;
}
.book-orb:hover {
  background: #c41a2b;
  color: #fff;
  border-color: #c41a2b;
  transform: scale(1.06);
  box-shadow: 0 18px 40px rgba(196,26,43,0.35);
}
.book-orb:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.book-orb:disabled:hover {
  background: #f4f1ec;
  color: #1a1714;
  border-color: rgba(212, 175, 130, 0.4);
}
.book-folio {
  margin: 0;
  text-align: center;
  min-width: 7rem;
}
.book-folio small {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 10px;
  color: #ef997f;
  margin-bottom: 6px;
}
.book-folio strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: 0.14em;
  font-size: 18px;
  color: #f4f1ec;
}
.book-original {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239,153,127,0.9);
}
.book-original:hover { color: #fff; }

body.exhibit, body.exhibit-book, body.catalog, body.rooms, body.pass-room-body {
  background: #0c0c0d;
  color: #f4f1ec;
}
body.pass-room-body {
  padding: 0;
  border: 0;
}
body.exhibit .site-header, body.exhibit-book .site-header,
body.catalog .site-header, body.rooms .site-header,
body.pass-room-body .site-header {
  background: rgba(12,12,13,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.exhibit .brand, body.exhibit .brand-name, body.exhibit .brand-kicker,
body.exhibit-book .brand, body.exhibit-book .brand-name, body.exhibit-book .brand-kicker,
body.catalog .brand, body.catalog .brand-name, body.catalog .brand-kicker,
body.rooms .brand, body.rooms .brand-name, body.rooms .brand-kicker,
body.exhibit .menu-btn, body.exhibit-book .menu-btn, body.catalog .menu-btn, body.rooms .menu-btn,
body.exhibit .search-box input, body.exhibit-book .search-box input,
body.catalog .search-box input, body.rooms .search-box input {
  color: #f4f1ec;
}
body.exhibit .nav a, body.exhibit-book .nav a,
body.catalog .nav a, body.rooms .nav a { color: rgba(244,241,236,0.7); }
body.exhibit .random-btn, body.exhibit-book .random-btn,
body.catalog .random-btn, body.rooms .random-btn {
  border-color: rgba(239,153,127,0.85);
  color: #ef997f;
}
body.exhibit .random-btn:hover, body.exhibit-book .random-btn:hover,
body.catalog .random-btn:hover, body.rooms .random-btn:hover {
  background: #ef997f;
  color: #111;
}
body.exhibit .nav a.is-active, body.exhibit .nav a:hover,
body.exhibit-book .nav a.is-active, body.exhibit-book .nav a:hover,
body.catalog .nav a.is-active, body.catalog .nav a:hover,
body.rooms .nav a.is-active, body.rooms .nav a:hover { color: #fff; }
body.exhibit .search-box input, body.exhibit-book .search-box input,
body.catalog .search-box input, body.rooms .search-box input {
  border-bottom-color: rgba(255,255,255,0.25);
}
body.exhibit .site-footer, body.exhibit-book .site-footer,
body.catalog .site-footer, body.rooms .site-footer {
  border-top-color: rgba(255,255,255,0.1);
  color: rgba(244,241,236,0.5);
  background: #0c0c0d;
}
body.exhibit .site-footer a, body.exhibit-book .site-footer a,
body.catalog .site-footer a, body.rooms .site-footer a { color: #f4f1ec; }
body.exhibit .nav.is-open, body.exhibit-book .nav.is-open,
body.catalog .nav.is-open, body.rooms .nav.is-open { background: #111; }

.exhibit-work {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 28px 36px;
  background: #101012;
}
.exhibit-piece {
  margin: 0;
  background: #ebe4d8;
  padding: 18px 18px 24px;
  border: 1px solid rgba(212,175,130,0.28);
  box-shadow: 0 28px 64px rgba(0,0,0,0.4);
  max-width: min(86vw, 980px);
}
.exhibit-piece img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  object-fit: contain;
}
.exhibit .gallery-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 0;
  width: 100%;
  background: transparent;
}
.exhibit .gallery-wall a {
  aspect-ratio: auto;
  background: #ebe4d8;
  padding: 12px 12px 16px;
  width: min(42vw, 460px);
  max-width: min(42vw, 460px);
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(212,175,130,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.exhibit .gallery-wall:has(> a:only-child) a {
  width: min(86vw, 920px);
  max-width: min(86vw, 920px);
}
.exhibit .gallery-wall img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(64vh, 720px);
  object-fit: contain;
  margin: 0 auto;
}
.exhibit-label {
  background: #f9f6f5;
  color: #1c1c1c;
  padding: 56px 0 72px;
}
.exhibit-label .eyebrow { color: #c41a2b; letter-spacing: 0.22em; }
.exhibit-label h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  margin: 10px 0 12px;
  max-width: 16ch;
}
.exhibit-kicker {
  color: #717376;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  margin: 0 0 28px;
}
.exhibit-essay {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3a;
}
.exhibit-essay img { max-width: 100%; height: auto; }
.exhibit-essay p { margin: 0 0 14px; }
.exhibit-more {
  padding: 48px 0 80px;
}
.exhibit-more .eyebrow { color: #ef997f; margin-bottom: 22px; }
.exhibit-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.exhibit-next {
  color: #f4f1ec;
  display: flex;
  flex-direction: column;
}
.exhibit-next img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #161618;
  margin-bottom: 10px;
}
.exhibit-next small {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: #ef997f;
}
.exhibit-next strong {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.25;
}
.book-room { padding-top: 72px; }
.book-heading { padding: 8px 0 6px; }
.book-heading .eyebrow { color: #ef997f; }
.book-heading h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 32px);
  margin: 6px 0 0;
  letter-spacing: 0.06em;
}
@media (max-width: 980px) {
  .exhibit-more-grid { grid-template-columns: 1fr; }
  .book-stage { height: min(58vh, 520px); max-height: 520px; padding: 16px 12px; }
  .book-orb { width: 64px; height: 64px; }
  .book-pager { flex-wrap: wrap; gap: 16px 22px; }
  .book-modes, .book-original {
    position: static;
    transform: none;
    width: auto;
  }
  .book-modes { order: 4; }
  .book-original { order: 5; width: 100%; text-align: center; }
  .exhibit .gallery-wall a { max-width: 100%; }
}

.embed-video {
  position: relative;
  padding-top: 56.25%;
  margin: 12px 0 24px;
  background: #111;
}
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.side-box { margin-bottom: 28px; }
.side-box h4 {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.side-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--mute);
  font-size: 13px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #fff;
  border: 0;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.empty { padding: 40px 0; color: var(--mute); }

@media (max-width: 980px) {
  .spotlight, .article-layout, .exhibit-list { grid-template-columns: 1fr; }
  .spotlight-main { min-height: 52vh; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    padding: 16px 24px 22px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: inline-flex; }
  .random-btn { margin-right: 4px; }
  .exhibit { border-right: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  .archive-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .search-box { display: none; }
}

/* ——— Accueil ——— */
body.home { background: #0c0c0d; color: #f4f1ec; scroll-padding-top: 80px; }
body.home .site-header {
  position: absolute;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
body.home.scrolled .site-header {
  position: sticky;
  background: rgba(12, 12, 13, 0.92);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}
body.home .brand, body.home .brand-name, body.home .brand-kicker,
body.home .nav a, body.home .search-box input, body.home .menu-btn {
  color: #f4f1ec;
}
body.home .nav a { color: rgba(244,241,236,0.7); }
body.home .nav a.is-active, body.home .nav a:hover { color: #fff; }
body.home .random-btn {
  border-color: rgba(239,153,127,0.85);
  color: #ef997f;
}
body.home .random-btn:hover {
  background: #ef997f;
  color: #111;
}
body.home .search-box input { border-bottom-color: rgba(255,255,255,0.25); }
body.home .site-footer {
  border-top-color: rgba(255,255,255,0.1);
  color: rgba(244,241,236,0.55);
  background: #0c0c0d;
}
body.home .site-footer a { color: #f4f1ec; }
body.home .section-head { border-bottom-color: rgba(255,255,255,0.12); }
body.home .section-head h2 { color: #f4f1ec; letter-spacing: 0.12em; font-size: 13px; }
body.home .section-head a { color: rgba(244,241,236,0.55); }
body.home .section-head a:hover { color: #fff; }
body.home .card { color: #f4f1ec; }
body.home .card-type { color: rgba(244,241,236,0.5); }
body.home .card-media { background: #1a1a1c; }
body.home .card:hover { color: #fff; }

.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out alternate infinite;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero-full-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,9,0.72) 0%, rgba(8,8,9,0.2) 52%, rgba(8,8,9,0.35) 100%),
    linear-gradient(180deg, rgba(8,8,9,0.45) 0%, transparent 28%, rgba(8,8,9,0.85) 100%);
}
.hero-full-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 28px;
  max-width: 920px;
}
.hero-kicker {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 18px;
  color: #ef997f;
}
.hero-full h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.hero-lead {
  font-size: 18px;
  max-width: 42ch;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-solid, .btn-ghost {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
}
.btn-solid { background: #c41a2b; color: #fff; }
.btn-solid:hover { background: #e02336; color: #fff; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.45); background: transparent; cursor: pointer; }
.btn-ghost:hover { background: #fff; color: #111; }
.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #0c0c0d;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 16px 36px;
  color: rgba(244,241,236,0.55);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "●";
  margin-left: 36px;
  color: #c41a2b;
  font-size: 8px;
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.home .section { padding: 72px 0 8px; }

.section-hang {
  padding: 96px 0 72px !important;
  background: #101012;
}
.hang-wrap { width: min(1320px, calc(100% - 64px)); }
.hang-head {
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 20px;
}
.hang-kicker {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: #ef997f;
  margin: 0 0 8px;
}
.hang-head h2 {
  font-size: 28px !important;
  letter-spacing: 0.18em !important;
}
.hang {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr;
  column-gap: 56px;
  row-gap: 56px;
  align-items: stretch;
}
.hang-side {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hang-low:nth-last-child(2) { padding-right: 8%; }
.hang-low:last-child { padding-left: 6%; }
.hang-work {
  display: flex;
  flex-direction: column;
  color: #f4f1ec;
  min-width: 0;
}
.hang-lead { height: 100%; }
.hang-lead .hang-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hang-work:hover { color: #fff; }
.hang-frame {
  margin: 0;
  background: #0a0a0b;
  border: 1px solid rgba(212, 175, 130, 0.28);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
  transition: border-color 0.35s ease, transform 0.45s ease, box-shadow 0.45s ease;
}
.hang-work:hover .hang-frame {
  border-color: rgba(239, 153, 127, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.48);
}
.hang-mat {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ebe4d8;
  padding: 16px 16px 22px;
  min-width: 0;
  overflow: hidden;
}
.hang-lead .hang-mat { padding: 28px 28px 36px; min-height: 520px; flex: 1; }
.hang-side .hang-mat { min-height: 168px; padding: 12px 12px 16px; }
.hang-low .hang-mat { min-height: 220px; padding: 18px 18px 24px; }
.hang-mat img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56vh;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  background: #d9d1c4;
  box-shadow: 0 10px 28px rgba(40, 28, 16, 0.18);
}
.hang-lead .hang-mat img { max-height: 62vh; }
.hang-plate {
  padding: 16px 2px 0;
  max-width: 38ch;
}
.hang-plate small {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10px;
  color: #ef997f;
  margin-bottom: 8px;
}
.hang-plate strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
.hang-lead .hang-plate strong { font-size: 22px; max-width: 18ch; }
.hang-plate em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.42);
}

.section-eras { padding-right: 0; }
.section-eras .wrap { margin-bottom: 18px; }
.era-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.era-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #161618;
  color: #fff;
}
.era-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.era-card:hover img { transform: scale(1.07); filter: none; }
.era-card div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
}
.era-card small, .era-card em {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-style: normal;
  color: rgba(255,255,255,0.65);
}
.era-card strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  margin: 4px 0 6px;
}

.collect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.collect-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #161618;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}
.collect-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.collect-card:hover img { opacity: 0.7; transform: scale(1.05); }
.collect-card .num, .collect-card h3, .collect-card p { position: relative; }
.collect-card .num {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: #ef997f;
  font-size: 12px;
}
.collect-card h3 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 26px;
  margin: 8px 0 8px;
}
.collect-card p { margin: 0; color: rgba(255,255,255,0.75); font-size: 14px; max-width: 28ch; }

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hang, .collect-grid { grid-template-columns: 1fr; }
  .hang { row-gap: 40px; }
  .hang-side { gap: 40px; }
  .hang-low:nth-last-child(2), .hang-low:last-child { padding: 0; }
  .hang-lead .hang-mat { min-height: 320px; padding: 18px; }
  .hang-side .hang-mat, .hang-low .hang-mat { min-height: 180px; }
  .hang-head h2 { font-size: 22px !important; }
  body.home .nav.is-open { background: #111; }
}
.rooms-hero, .catalog-hero {
  padding: 56px 0 28px;
}
.rooms-hero .eyebrow, .catalog-hero .eyebrow { color: #ef997f; }
.rooms-hero h1, .catalog-hero h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(36px, 6vw, 64px);
  margin: 8px 0 12px;
  line-height: 0.95;
}
.rooms-hero p, .catalog-hero p {
  margin: 0;
  max-width: 46ch;
  color: rgba(244,241,236,0.62);
}
.catalog-count {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #ef997f;
  margin-top: 16px !important;
}

.halls {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: minmax(280px, 32vh) minmax(240px, 28vh) minmax(200px, 22vh) minmax(200px, 24vh);
  gap: 8px;
  padding: 8px 0 80px;
}
.hall {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 24px;
  color: #f4f1ec;
  background: #161412;
  min-height: 200px;
}
.hall-photos { grid-column: 1; grid-row: 1 / 3; }
.hall-documents { grid-column: 2 / 4; grid-row: 1; }
.hall-artworks { grid-column: 2; grid-row: 2; }
.hall-maquettes { grid-column: 3; grid-row: 2; }
.hall-videos { grid-column: 1; grid-row: 3; }
.hall-audios { grid-column: 2 / 4; grid-row: 3; }
.hall-pass { grid-column: 1 / 4; grid-row: 4; }
.hall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.7s ease;
}
.hall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,13,0.05) 20%, rgba(12,12,13,0.82) 100%);
}
.hall:hover img { opacity: 0.7; transform: scale(1.06); }
.hall > * { position: relative; z-index: 1; }
.hall small {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
  color: #ef997f;
}
.hall h2 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 8px 0 6px;
}
.hall p {
  margin: 0;
  max-width: 34ch;
  color: rgba(244,241,236,0.72);
  font-size: 14px;
}
.hall em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(244,241,236,0.5);
}

.catalog-bar {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(12,12,13,0.94);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0 16px;
}
.catalog-bar-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
}
.catalog-bar-row > span {
  flex: 0 0 4.5rem;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
  color: rgba(239,153,127,0.85);
}
.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}
.catalog-pills button {
  border: 0;
  background: transparent;
  color: rgba(244,241,236,0.45);
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.catalog-pills button.is-on {
  color: #f4f1ec;
  border-bottom-color: #c41a2b;
}
.catalog-pills button:hover { color: #fff; }

.catalog-room {
  padding: 52px 0 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.catalog-room:first-of-type { border-top: 0; }
.catalog-room-head {
  display: flex;
  align-items: baseline;
  gap: 16px 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.catalog-room-head p {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #ef997f;
}
.catalog-room-head h2 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(20px, 3vw, 28px);
  margin: 0;
}
.catalog-room-head span {
  margin-left: auto;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(244,241,236,0.4);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 20px;
  padding-bottom: 28px;
}
.piece {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #f4f1ec;
}
.piece:hover { color: #fff; }
.piece-mat {
  position: relative;
  background: #ebe4d8;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(212,175,130,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.piece-mat img {
  position: absolute;
  inset: 12px 12px 16px;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.piece-plate {
  padding: 12px 2px 0;
}
.piece-plate small {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: #ef997f;
  margin-bottom: 4px;
}
.piece-plate strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 16px;
  line-height: 1.25;
}

.hall-banner {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #161412;
}
.hall-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.62;
}
.hall-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,13,0.25) 0%, rgba(12,12,13,0.55) 45%, rgba(12,12,13,0.92) 100%);
}
.hall-banner .wrap { position: relative; z-index: 1; padding: 80px 0 36px; }
.hall-banner .eyebrow { color: #ef997f; }
.hall-banner h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(32px, 5vw, 56px);
  margin: 8px 0 10px;
}
.hall-banner p { margin: 0; max-width: 46ch; color: rgba(244,241,236,0.7); }

@media (max-width: 640px) {
  .hero-full h1 { font-size: 40px; }
  .collect-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 12px; }
  .halls {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .hall-photos, .hall-documents, .hall-artworks, .hall-maquettes, .hall-videos, .hall-audios, .hall-pass {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-bar { top: auto; position: static; }
  .catalog-bar-row { flex-direction: column; gap: 8px; }
}

/* ——— Salle des pass saisonniers ——— */
.pass-room {
  padding: 80px 0 0;
}
.pass-hero {
  padding-bottom: 28px;
}
.pass-hero .eyebrow { color: #ef997f; }
.pass-hero h1 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 0.95;
  margin: 8px 0 14px;
  max-width: 12ch;
}
.pass-lead {
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244,241,236,0.72);
  margin: 0 0 14px;
}
.pass-count {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #ef997f;
  margin: 0 0 10px;
}
.pass-3d-lead {
  font-size: 14px;
  color: rgba(244,241,236,0.5);
  margin: 0 0 22px;
}
.pass-years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pass-years a {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.55);
  padding: 10px 12px;
  border-bottom: 1px solid transparent;
}
.pass-years a:hover, .pass-years a:focus {
  color: #fff;
  border-bottom-color: #c41a2b;
}
.pass-years a.is-missing {
  color: rgba(244,241,236,0.28);
  font-style: italic;
}

.pass-spotlight {
  padding: 4px 0 48px;
}
.pass-spotlight .pass-case {
  max-width: 720px;
  margin: 0 auto;
}
.pass-case { scroll-margin-top: 96px; }
.pass-mat {
  margin: 0;
  background: #ebe4d8;
  padding: 22px 22px 26px;
  border: 1px solid rgba(212,175,130,0.28);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.pass-case:hover .pass-mat {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.55);
}
.pass-mat a { display: block; }
.pass-mat img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: saturate(1.04);
}
.pass-case.is-hero .pass-mat img {
  max-height: min(46vh, 420px);
  width: auto;
  max-width: 100%;
}
.pass-plate {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 2px;
  margin: 16px 4px 0;
  color: rgba(244,241,236,0.72);
}
.pass-inv {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: Oswald, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ef997f;
}
.pass-plate strong {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
  color: #f4f1ec;
}
.pass-plate span, .pass-plate em {
  font-style: normal;
  font-size: 13px;
  color: rgba(244,241,236,0.5);
}
.pass-plate em { grid-column: 2; }

.pass-cabinet { padding: 8px 0 72px; }
.pass-cabinet-head { margin-bottom: 28px; }
.pass-cabinet-head .eyebrow { color: #ef997f; }
.pass-cabinet-head h2 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 3vw, 34px);
  margin: 6px 0 0;
}
.pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
}
.pass-case.is-span { grid-column: 1 / -1; }
.pass-case.is-span .pass-empty { min-height: 120px; }
.pass-empty {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(
      -45deg,
      #d8d0c4,
      #d8d0c4 8px,
      #e6dfd4 8px,
      #e6dfd4 16px
    );
  box-shadow: inset 0 0 0 1px rgba(80,60,40,0.12);
}
.pass-empty-kicker {
  font-family: Oswald, sans-serif;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10px;
  color: #7a6f64;
}
.pass-empty-year {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 22px;
  color: #3a332c;
}

.pass-appeal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 80px;
}
.pass-appeal .eyebrow { color: #ef997f; }
.pass-appeal h2 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 42px);
  margin: 8px 0 12px;
  max-width: 14ch;
}
.pass-appeal p {
  max-width: 46ch;
  color: rgba(244,241,236,0.68);
  margin: 0 0 28px;
}
.pass-send {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  background: #c41a2b;
  color: #fff !important;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}
.pass-send:hover { background: #a81422; }

@media (max-width: 800px) {
  .pass-grid { grid-template-columns: 1fr; }
  .pass-years a { padding: 8px 8px; font-size: 11px; }
  .pass-hero h1 { font-size: 48px; }
}

/* ——— Pass 3D ——— */
@property --rx {
  syntax: "<angle>";
  inherits: true;
  initial-value: 8deg;
}
@property --ry {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
.pass-mat:has(.pass-3d-open),
.pass-case:has(.pass-3d-open):hover .pass-mat {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 36px 48px 28px;
  overflow: visible;
}
.pass-case:has(.pass-3d-open):hover .pass-mat {
  transform: none;
}
.pass-3d-open {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  display: block;
  position: relative;
  cursor: grab;
  color: inherit;
  touch-action: none;
  user-select: none;
}
.pass-grid { overflow: visible; }
.pass-case:has(.pass-3d-open) { overflow: visible; }
.pass-3d-open.is-dragging { cursor: grabbing; z-index: 4; }
.pass-3d-badge { display: none; }
.pass-3d-scene {
  display: block;
  position: relative;
  width: 86%;
  margin: 0 auto;
  perspective: 920px;
  perspective-origin: 50% 42%;
  z-index: 1;
}
.pass-case.is-hero .pass-3d-scene {
  width: min(100%, 480px);
  margin: 0 auto;
}
.pass-3d-card {
  --rx: 8deg;
  --ry: 0deg;
  --d: 6px;
  --w: 320px;
  --h: 202px;
  display: block;
  position: relative;
  aspect-ratio: 85.6 / 53.98;
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.pass-3d-face,
.pass-3d-side,
.pass-3d-gloss {
  position: absolute;
}
.pass-3d-face,
.pass-3d-gloss {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.pass-3d-face {
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eee8de;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.pass-3d-face.is-front {
  transform: translateZ(calc(var(--d) / 2));
}
.pass-3d-face.is-back {
  transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
}
.pass-3d-face img.pass-3d-print {
  display: block;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: none;
}
.pass-3d-card.is-split .pass-3d-face img.pass-3d-print {
  position: absolute;
  top: 0;
  width: 206%;
  height: 100%;
}
.pass-3d-card.is-split .is-front img.pass-3d-print {
  left: 0;
  object-position: 0% 50%;
}
.pass-3d-card.is-split .is-back img.pass-3d-print {
  left: auto;
  right: 0;
  object-position: 100% 50%;
}
.pass-3d-card:not(.is-split) .is-front img.pass-3d-print,
.pass-3d-card.is-pair img.pass-3d-print {
  width: 100%;
  object-position: center;
}
.pass-3d-face.is-blank {
  background:
    linear-gradient(180deg, #f4efe6 0%, #e6ddd0 100%);
}
.pass-3d-magstripe {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 18%;
  background: #1a1a1c;
}
.pass-3d-side {
  background: linear-gradient(#d9d0c4, #b7ad9f);
  backface-visibility: visible;
}
.pass-3d-side.is-right,
.pass-3d-side.is-left {
  width: var(--d);
  height: 100%;
  top: 0;
  left: 50%;
  margin-left: calc(var(--d) / -2);
}
.pass-3d-side.is-right {
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
}
.pass-3d-side.is-left {
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
}
.pass-3d-side.is-top,
.pass-3d-side.is-bottom {
  width: 100%;
  height: var(--d);
  left: 0;
  top: 50%;
  margin-top: calc(var(--d) / -2);
}
.pass-3d-side.is-top {
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
}
.pass-3d-side.is-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--h) / 2));
}
.pass-3d-gloss {
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32) 0%, transparent 42%, transparent 58%, rgba(255, 255, 255, 0.08) 100%);
  transform: translateZ(calc(var(--d) / 2 + 0.6px));
  pointer-events: none;
}
.pass-3d-hint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  color: #ef997f;
  transition: opacity 0.25s ease;
}
.pass-3d-open.is-dragging .pass-3d-hint {
  opacity: 0;
}
.pass-3d-hint-ring {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 6%;
  bottom: 18%;
  border: 1px dashed rgba(239, 153, 127, 0.55);
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(239, 153, 127, 0.28), inset 0 0 18px rgba(239, 153, 127, 0.08);
  animation: passHintPulse 2.4s ease-in-out infinite;
}
.pass-3d-hint-arc {
  position: absolute;
  top: 18%;
  height: 52%;
  width: 42px;
  filter: drop-shadow(0 0 6px #ef997f) drop-shadow(0 0 14px rgba(239, 153, 127, 0.75));
  animation: passHintNudge 1.8s ease-in-out infinite;
}
.pass-3d-hint-arc.is-left { left: 2%; }
.pass-3d-hint-arc.is-right {
  right: 2%;
  animation-delay: 0.9s;
}
.pass-3d-hint-label,
.pass-3d-hint-side {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ef997f;
  text-shadow: 0 0 10px rgba(239, 153, 127, 0.9), 0 0 22px rgba(239, 153, 127, 0.45);
}
.pass-3d-hint-label {
  bottom: 2%;
  font-size: 11px;
  font-weight: 400;
  animation: passHintPulse 2.4s ease-in-out infinite;
}
.pass-3d-hint-side {
  top: 0;
  font-size: 10px;
  font-weight: 300;
}
.pass-3d-open.is-dragging .pass-3d-hint {
  opacity: 0;
}

@keyframes passHintPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes passHintNudge {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}
.pass-3d-hint-arc.is-left {
  animation-name: passHintNudgeLeft;
}
@keyframes passHintNudgeLeft {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(-4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pass-3d-hint-ring,
  .pass-3d-hint-arc,
  .pass-3d-hint-label {
    animation: none;
  }
}
