:root {
  --navy: #0e2c4f;
  --gold: #b98a38;
  --ink: #20262d;
  --muted: #67717c;
  --paper: #f8f6f0;
  --line: #dfd8cb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
.shell {
  width: min(1120px, calc(100% - 36px));
  margin: auto;
}
.hero {
  background: linear-gradient(140deg, #0b2745, #194872);
  color: white;
  padding: 64px 0 52px;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #e4c98f;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1;
  margin: 0 0 16px;
}
.hero p:last-child {
  font-size: 1.1rem;
  color: #e7edf4;
}
.languages {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 12px 0;
  background: #f8f6f0ee;
  backdrop-filter: blur(12px);
}
.languages button {
  flex: 1;
  border: 1px solid #b9c1c9;
  border-radius: 999px;
  padding: 12px;
  background: white;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
}
.languages button.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.content {
  padding: 24px 0 60px;
}
.audioCard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 8px 26px #152a4010;
}
.play {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  cursor: pointer;
}
.play:disabled {
  background: #83909d;
  cursor: not-allowed;
}
.audioText {
  flex: 1;
}
.audioText strong,
.audioText span {
  display: block;
}
.audioText strong {
  color: var(--navy);
  font-size: 1.05rem;
}
.audioText span {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}
.progress {
  height: 5px;
  background: #e4e7ea;
  border-radius: 6px;
  margin-top: 12px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.volume {
  color: var(--navy);
}
.sectionHead {
  margin: 44px 0 20px;
}
.sectionHead h2 {
  font:
    700 clamp(2rem, 6vw, 3rem)/1.1 Georgia,
    serif;
  color: var(--navy);
  margin: 0 0 10px;
}
.sectionHead p {
  color: var(--muted);
  line-height: 1.6;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px #152a400d;
}
.card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.cardBody {
  padding: 20px;
}
.tradition {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  color: var(--gold);
}
.card h3 {
  font:
    700 1.45rem Georgia,
    serif;
  color: var(--navy);
  margin: 8px 0;
}
.place {
  color: var(--muted);
  font-size: 0.88rem;
}
.card p {
  line-height: 1.65;
}
.card small {
  display: inline-block;
  background: #f1ecdf;
  color: #6e511f;
  border-radius: 99px;
  padding: 7px 10px;
}
.intersection {
  background: var(--navy);
  color: #edf3f8;
  border-radius: 26px;
  padding: 32px;
  margin-top: 34px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tags span {
  border: 1px solid #ffffff50;
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 0.8rem;
}
.intersection article {
  padding: 16px 0;
  border-top: 1px solid #ffffff24;
}
.intersection h3 {
  color: #e4c98f;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.intersection p {
  line-height: 1.7;
  margin: 0;
}
.intersection .shared {
  margin-top: 8px;
  padding: 22px;
  background: #ffffff0d;
  border: 1px solid #ffffff2e;
  border-radius: 16px;
}
.note {
  display: flex;
  gap: 14px;
  border-left: 4px solid var(--gold);
  padding: 8px 16px;
  margin: 28px 0;
  color: #4f5964;
}
.note svg {
  flex: 0 0 auto;
  color: var(--gold);
}
.note p {
  margin: 0;
  line-height: 1.6;
}
details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 12px 0;
  padding: 16px 18px;
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  font-weight: 750;
  cursor: pointer;
}
details p {
  line-height: 1.7;
  color: #4d5660;
}
.singleArtwork {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 36px;
  align-items: center;
  margin: 34px 0;
}
.singleArtwork figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 45px #0b274512;
}
.singleArtwork img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #101719;
}
.singleArtwork figcaption {
  padding: 22px 24px 24px;
}
.singleArtwork figcaption h2 {
  color: var(--navy);
  margin: 8px 0 4px;
}
.singleArtwork figcaption small {
  display: block;
  margin-top: 14px;
  color: #6d747c;
}
.artworkText {
  color: #4d5660;
  line-height: 1.8;
}
.artworkText .lead {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.55;
}
.artworkText h2 {
  color: var(--navy);
  margin-top: 30px;
}
footer {
  margin-top: 36px;
  padding: 24px;
  border-radius: 20px;
  background: #0b2745;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Page-level legacy links are superseded by the shared exhibition navigation. */
footer > div:last-child:has(.setLink) {
  display: none;
}
.content > footer {
  display: none;
}
.exhibitNav {
  margin-top: 12px;
  margin-bottom: 34px;
  padding: 16px;
  border: 1px solid #b98a3866;
  border-radius: 22px;
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  box-shadow: 0 12px 34px #0b27451f;
}
.exhibitNavButton {
  min-height: 48px;
  border: 1px solid #e4c98f88;
  border-radius: 999px;
  padding: 12px 18px;
  background: #fffdf7;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.exhibitNavButton:hover,
.exhibitNavButton:focus-visible {
  background: #e4c98f;
  color: #0b2745;
  transform: translateY(-1px);
  outline: 2px solid white;
  outline-offset: 2px;
}
.exhibitNavButton.isDisabled {
  opacity: .42;
  cursor: default;
  transform: none;
}
.catalogueButton {
  background: var(--gold);
  color: #0b2745;
}
.catalogueBackdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  background: #06182dcc;
  display: grid;
  place-items: center;
  overflow-y: auto;
}
.cataloguePanel {
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #e4c98f;
  border-radius: 24px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 0 24px 80px #0007;
}
.cataloguePanel header {
  position: relative;
  padding-right: 48px;
}
.cataloguePanel header h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.cataloguePanel header button {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}
.catalogueColumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.catalogueColumns h3 {
  color: var(--navy);
}
.catalogueGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.catalogueGrid a {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  background: white;
  color: var(--navy);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 750;
}
.catalogueGrid a:hover,
.catalogueGrid a:focus-visible {
  border-color: var(--gold);
  background: #fff8e8;
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
footer div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.setLink {
  color: white;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 700;
}
.setLink:hover {
  background: white;
  color: var(--navy);
}
.qrCard {
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 26px 30px;
  border: 1px solid #dfe3e8;
  border-radius: 22px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 12px 34px #0b27450d;
}
.qrCard img {
  display: block;
  width: 190px;
  height: 190px;
  padding: 10px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
}
.qrCopy h2 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.7rem;
}
.qrCopy p {
  margin: 4px 0;
  color: #4d5660;
}
.qrEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a87520;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.qrTranslation {
  font-size: .92rem;
}
.qrDownload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 800px) {
  .hero {
    padding: 44px 0 36px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .card img {
    height: auto;
    max-height: 520px;
  }
  .intersection {
    padding: 23px;
  }
  .singleArtwork {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .volume {
    display: none;
  }
  footer {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .exhibitNav {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    margin-bottom: 24px;
  }
  .exhibitNavButton {
    min-height: 54px;
    width: 100%;
    font-size: 1rem;
  }
  .catalogueBackdrop {
    padding: 12px;
    place-items: start center;
  }
  .cataloguePanel {
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
  }
  .catalogueColumns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qrCard {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 22px;
  }
  .qrCard > a {
    align-self: center;
  }
}

.icon{width:24px;height:24px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.play .icon{width:25px;height:25px}.volume{font-size:1.25rem;color:var(--navy)}
.catalogueBackdrop[hidden]{display:none}.cataloguePanel header{display:block;background:none;color:inherit}
@media(max-width:760px){.gallery{grid-template-columns:1fr}.card img{height:auto;max-height:620px}.singleArtwork{grid-template-columns:1fr}.exhibitNav{grid-template-columns:1fr;position:sticky;bottom:0;z-index:20}.catalogueColumns{grid-template-columns:1fr}.catalogueGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:42px 0 36px}.hero h1{font-size:clamp(2.35rem,13vw,4.3rem)}.shell{width:min(100% - 24px,1120px)}}
