:root {
  --royal-900: #0B1B3A;
  --royal-700: #12295C;
  --royal-500: #1E3E86;
  --gold-500: #C9A227;
  --gold-300: #E7C86A;
  --gold-100: #F6E7B4;
  --jade-500: #1F7A6B;
  --jade-100: #DDEDE8;
  --cream-50: #FBF7EE;
  --cream-200: #F0E7D6;
  --ink-900: #171410;
  --rust-500: #C0492B;
  --rail-w: 88px;
  --content-max: 1240px;
  --page-gutter: clamp(20px, 4vw, 64px);
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Heiti SC", sans-serif;
  --font-numeric: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --shadow-hard: 8px 8px 0 var(--royal-900);
  --shadow-gold: 8px 8px 0 var(--gold-500);
  --ease-out: cubic-bezier(.2,.7,.3,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--cream-50);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23,20,16,.045) 1px, transparent 0),
    radial-gradient(circle at 6px 4px, rgba(201,162,39,.035) 1px, transparent 0);
  background-size: 8px 8px, 13px 13px;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-nav-open {
  overflow: hidden;
}

::selection {
  background: var(--gold-300);
  color: var(--royal-900);
}

a {
  color: var(--royal-500);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--royal-700);
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  color: inherit;
  text-wrap: balance;
}

p {
  margin: 0 0 1.15em;
  max-width: 38em;
}

ul,
ol {
  margin-top: 0;
}

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

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-300);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: calc(var(--rail-w) + 16px);
  z-index: 200;
  padding: 12px 18px;
  border: 2px solid var(--royal-900);
  background: var(--gold-500);
  color: var(--royal-900);
  box-shadow: 4px 4px 0 var(--royal-900);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-wrap,
.section-band__inner {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
}

#main-content {
  scroll-margin-top: 84px;
}

.section {
  padding-block: clamp(60px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section-band {
  position: relative;
}

.section-band--cream {
  background: var(--cream-200);
  border-block: 1px solid rgba(11,27,58,.12);
}

.section-band--royal {
  background: var(--royal-900);
  color: var(--cream-50);
}

.section-band--jade {
  background: var(--jade-100);
}

.section-band--gold {
  background: var(--gold-100);
}

.section-band--royal .section-heading,
.section-band--royal .display-title {
  color: var(--cream-50);
}

.section-band--royal .lead,
.section-band--royal p {
  color: rgba(251,247,238,.82);
}

.section-band--royal a:not(.btn):not(.exhibit-tag) {
  color: var(--gold-300);
}

.section-band__inner {
  position: relative;
  z-index: 1;
}

.display-title {
  margin: 0 0 .32em;
  font-family: var(--font-serif);
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--royal-900);
}

.section-heading {
  margin: 0 0 .45em;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.8vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--royal-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--gold-500);
}

.section-band--royal .section-kicker {
  color: var(--gold-300);
}

.lead {
  max-width: 34em;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  color: rgba(23,20,16,.78);
}

.text-measure {
  max-width: 34em;
}

.meta-label {
  display: inline-block;
  color: var(--royal-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--royal-900);
  border-radius: 2px;
  background: var(--royal-700);
  color: var(--cream-50);
  box-shadow: 6px 6px 0 var(--royal-900);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out), color .16s var(--ease-out);
}

.btn:hover {
  background: var(--royal-500);
  color: var(--cream-50);
  box-shadow: 2px 2px 0 var(--royal-900);
  transform: translate(4px, 4px);
}

.btn--gold {
  background: var(--gold-500);
  color: var(--royal-900);
  border-color: var(--royal-900);
  box-shadow: 6px 6px 0 var(--gold-300);
}

.btn--gold:hover {
  background: var(--gold-300);
  color: var(--royal-900);
  box-shadow: 2px 2px 0 var(--gold-300);
}

.btn--ghost {
  background: transparent;
  color: var(--royal-900);
  border-color: var(--royal-900);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--royal-900);
  color: var(--cream-50);
  box-shadow: none;
}

.btn--jade {
  background: var(--jade-500);
  color: #fff;
  border-color: var(--royal-900);
  box-shadow: 6px 6px 0 var(--jade-100);
}

.btn--jade:hover {
  background: #17665a;
  color: #fff;
  box-shadow: 2px 2px 0 var(--jade-100);
}

.exhibit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: var(--gold-100);
  color: var(--royal-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.1;
}

.breadcrumb {
  padding-block: 18px;
  font-size: 12px;
  letter-spacing: .08em;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__link {
  color: var(--royal-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb__link:hover {
  color: var(--royal-900);
  border-bottom-color: var(--gold-500);
}

.breadcrumb__sep {
  color: var(--gold-500);
}

.breadcrumb__current {
  color: var(--ink-900);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: var(--grid-gap, 28px);
  align-items: start;
}

.grid > * {
  min-width: 0;
}

.grid--12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--asym {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 18px);
}

.exhibit-card {
  position: relative;
  padding: 28px;
  border: 3px solid var(--royal-900);
  border-radius: 2px;
  background: var(--cream-50);
  box-shadow: var(--shadow-hard);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out);
}

.exhibit-card:hover {
  box-shadow: 4px 4px 0 var(--royal-900);
  transform: translate(4px, 4px);
}

.exhibit-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--royal-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
}

.exhibit-card__title {
  margin: 0 0 .35em;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.exhibit-card__body {
  color: rgba(23,20,16,.78);
  font-size: 15px;
}

.exhibit-card__foot {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(11,27,58,.22);
  color: var(--royal-700);
  font-size: 12px;
  letter-spacing: .08em;
}

.exhibit-card--dark {
  background: var(--royal-900);
  color: var(--cream-50);
  border-color: var(--cream-50);
  box-shadow: 8px 8px 0 var(--gold-500);
}

.exhibit-card--dark:hover {
  box-shadow: 4px 4px 0 var(--gold-500);
}

.exhibit-card--dark .exhibit-card__tag,
.exhibit-card--dark .exhibit-card__foot {
  color: var(--gold-300);
}

.exhibit-card--dark .exhibit-card__body {
  color: rgba(251,247,238,.8);
}

.exhibit-card--jade {
  background: var(--jade-100);
  border-color: var(--jade-500);
  box-shadow: 8px 8px 0 var(--jade-500);
}

.exhibit-card--jade:hover {
  box-shadow: 4px 4px 0 var(--jade-500);
}

.exhibit-card--jade .exhibit-card__tag {
  color: var(--jade-500);
}

.image-frame {
  overflow: hidden;
  border: 3px solid var(--royal-900);
  border-radius: 2px;
  background: var(--royal-900);
  box-shadow: var(--shadow-gold);
}

.image-frame__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201,162,39,.26), transparent 48%),
    linear-gradient(315deg, rgba(31,122,107,.2), transparent 50%),
    var(--royal-900);
}

.image-frame__media > img,
.image-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame__caption {
  padding: 12px 16px;
  border-top: 1px solid var(--royal-900);
  background: var(--cream-50);
  color: var(--ink-900);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.5;
}

.image-frame--wide .image-frame__media {
  aspect-ratio: 21 / 9;
}

.image-frame--portrait .image-frame__media {
  aspect-ratio: 3 / 4;
}

.image-frame--patterned .image-frame__media {
  background:
    linear-gradient(135deg, rgba(201,162,39,.3), transparent 42%),
    repeating-linear-gradient(90deg, rgba(231,200,106,.18) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(231,200,106,.12) 0 1px, transparent 1px 22px),
    var(--royal-900);
}

.segmented-tabs {
  width: 100%;
}

.segmented-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border: 2px solid var(--royal-900);
  background: var(--cream-200);
}

.segmented-tabs__tab {
  appearance: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--royal-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s var(--ease-out), color .16s var(--ease-out);
}

.segmented-tabs__tab:hover {
  background: var(--gold-100);
}

.segmented-tabs__tab[aria-selected="true"] {
  background: var(--royal-700);
  color: var(--cream-50);
}

.segmented-tabs__panel {
  margin-top: 26px;
}

.accordion {
  border-top: 3px solid var(--royal-900);
}

.accordion__item {
  border-bottom: 1px solid var(--royal-900);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--royal-900);
  background: var(--cream-50);
  color: var(--royal-900);
  font-family: var(--font-numeric);
  font-size: 18px;
  line-height: 1;
  transition: transform .16s var(--ease-out), background .16s var(--ease-out);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background: var(--gold-500);
  transform: rotate(45deg);
}

.accordion__panel {
  max-width: 68ch;
  padding: 0 0 22px;
  color: rgba(23,20,16,.8);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300) 60%, var(--rust-500));
  box-shadow: 0 0 0 1px rgba(11,27,58,.08);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: var(--rail-w);
  height: 100dvh;
}

.site-header__rail {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 3px solid var(--gold-500);
  background: linear-gradient(180deg, var(--royal-900) 0%, #09152B 100%);
  color: var(--cream-50);
  box-shadow: 6px 0 0 rgba(11,27,58,.08);
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 8px 18px;
  border-bottom: 1px solid rgba(231,200,106,.35);
  color: var(--gold-100);
  text-decoration: none;
}

.rail-brand__zh {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
}

.rail-brand__tag {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--gold-300);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.2;
}

.rail-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.rail-nav::-webkit-scrollbar {
  display: none;
}

.rail-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(251,247,238,.08);
  color: rgba(251,247,238,.82);
  text-decoration: none;
  transition: background .16s var(--ease-out), color .16s var(--ease-out);
}

.rail-nav__link:hover,
.rail-nav__link:focus-visible {
  background: var(--royal-700);
  color: var(--gold-100);
}

.rail-nav__link[aria-current="page"] {
  background: linear-gradient(90deg, var(--gold-500) 0 5px, rgba(201,162,39,.12) 5px 100%);
  color: var(--gold-100);
}

.rail-nav__link[aria-current="page"] .rail-nav__index {
  color: var(--gold-100);
}

.rail-nav__index {
  color: var(--gold-300);
  font-family: var(--font-numeric);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  line-height: 1;
}

.rail-nav__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
}

.rail-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 4px 22px;
  border-top: 1px solid rgba(231,200,106,.35);
}

.rail-foot__note {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: rgba(251,247,238,.68);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.2;
}

.rail-foot__phone {
  color: var(--gold-300);
  font-family: var(--font-numeric);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1.2;
}

.mobile-bar {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--gold-500);
  border-radius: 2px;
  background: transparent;
  color: var(--cream-50);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--royal-700);
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.nav-toggle__box span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-300);
}

.nav-toggle__label {
  white-space: nowrap;
}

.mobile-brand {
  justify-self: center;
  color: var(--gold-100);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
}

.mobile-bar__tag {
  color: var(--gold-300);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), visibility .25s var(--ease-out);
}

.nav-drawer[data-open="true"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11,27,58,.7);
}

.nav-drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  height: 100%;
  padding: 22px 20px 28px;
  overflow-y: auto;
  border-right: 3px solid var(--gold-500);
  background: var(--royal-900);
  color: var(--cream-50);
  box-shadow: 12px 0 0 rgba(0,0,0,.16);
  transform: translateX(-102%);
  transition: transform .3s var(--ease-out);
}

.nav-drawer[data-open="true"] .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(231,200,106,.35);
}

.nav-drawer__title {
  margin: 0;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
}

.nav-drawer__close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--gold-500);
  border-radius: 2px;
  background: transparent;
  color: var(--cream-50);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.nav-drawer__close:hover {
  background: var(--royal-700);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}

.drawer-nav__link {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(251,247,238,.12);
  color: var(--cream-50);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}

.drawer-nav__link:hover,
.drawer-nav__link:focus-visible {
  color: var(--gold-100);
  background: rgba(18,41,92,.65);
}

.drawer-nav__link[aria-current="page"] {
  color: var(--gold-100);
  background: linear-gradient(90deg, rgba(201,162,39,.22), transparent 78%);
}

.drawer-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 28px;
  background: var(--gold-500);
}

.drawer-nav__index {
  color: var(--gold-300);
  font-family: var(--font-numeric);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.drawer-nav__label {
  min-width: 0;
}

.nav-drawer__note {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(251,247,238,.68);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--gold-500);
  background: var(--royal-900);
  color: var(--cream-50);
}

.site-footer::before {
  content: "皇家";
  position: absolute;
  right: -.05em;
  bottom: 34px;
  z-index: 0;
  color: rgba(201,162,39,.06);
  font-family: var(--font-serif);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  line-height: .75;
  pointer-events: none;
}

.site-footer a {
  color: inherit;
}

.site-footer__top {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(231,200,106,.3);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 1.5fr;
  gap: clamp(40px, 7vw, 84px);
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
  padding-block: clamp(52px, 7vw, 80px);
}

.footer-brand {
  min-width: 0;
}

.footer-brand__mark {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--gold-500);
  color: var(--gold-100);
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
}

.footer-brand__line {
  max-width: 22em;
  margin: 20px 0 14px;
  color: rgba(251,247,238,.8);
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 1.6;
}

.footer-brand__seal {
  display: inline-flex;
  margin: 0;
  padding: 6px 10px;
  border: 2px solid var(--gold-500);
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
}

.footer-brand__cta {
  margin-top: 26px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-col__title {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(231,200,106,.4);
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
}

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

.footer-link {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: var(--cream-50);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .16s var(--ease-out), border-color .16s var(--ease-out);
}

.footer-link:hover {
  color: var(--gold-300);
  border-bottom-color: var(--gold-300);
}

.footer-contact {
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--gold-500);
  border-bottom: 3px solid var(--gold-500);
  background: var(--royal-700);
}

.footer-contact__inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 32px;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
  padding-block: 32px;
}

.footer-contact__label {
  margin: 0;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
}

.footer-contact__line,
.footer-contact__address,
.footer-contact__note {
  margin: 0;
  color: rgba(251,247,238,.86);
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact__strong {
  color: var(--gold-100);
  font-weight: 700;
}

.footer-contact__address {
  color: rgba(251,247,238,.74);
}

.footer-contact__note {
  max-width: 62em;
  color: rgba(251,247,238,.62);
  font-size: 12px;
  line-height: 1.7;
}

.footer-base {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(231,200,106,.22);
}

.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
  padding-block: 22px;
  color: rgba(251,247,238,.62);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.6;
}

.footer-copy,
.footer-icp {
  margin: 0;
}

@media (min-width: 901px) {
  .mobile-bar,
  .nav-drawer {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    padding-left: 0;
    padding-top: 66px;
  }

  .site-header {
    position: static;
    width: auto;
    height: auto;
  }

  .site-header__rail {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    height: 66px;
    padding: 0 18px;
    border-bottom: 3px solid var(--gold-500);
    background: var(--royal-900);
    color: var(--cream-50);
  }

  .nav-drawer {
    display: block;
  }

  .skip-link {
    left: 12px;
  }

  #main-content {
    scroll-margin-top: 76px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px 40px;
  }

  .footer-nav {
    gap: 24px;
  }

  .footer-contact__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 28px;
  }

  .footer-base__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 20px;
  }

  .grid--12 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid--2,
  .grid--3,
  .grid--asym {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 20px;
  }

  .mobile-bar {
    gap: 10px;
    padding-inline: 14px;
  }

  .mobile-brand {
    font-size: 18px;
  }

  .mobile-bar__tag {
    display: none;
  }

  .display-title {
    font-size: clamp(38px, 12vw, 62px);
  }

  .section-heading {
    font-size: clamp(26px, 9vw, 40px);
  }

  .exhibit-card {
    padding: 22px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand__mark {
    font-size: clamp(34px, 12vw, 48px);
  }

  .segmented-tabs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .segmented-tabs__tab {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}
