:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --tint: #eaece4;
  --ink: #142f32;
  --muted: #4b5f5e;
  --teal: #24524f;
  --gold: #f4cb87;
  --line: #c7cec4;
  --light: #fff9ed;
  --display: "Songti SC", "Noto Serif CJK SC", STSong, SimSun, serif;
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--body);
  overflow-wrap: break-word;
}
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); line-height: 1.2; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 1rem; }

.wrap { width: min(76rem, calc(100% - 5rem)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 2;
  inset: .75rem auto auto .75rem;
  padding: .45rem .8rem;
  background: var(--light);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  background: var(--ink);
  color: var(--light);
  border-bottom: 1px solid rgb(255 249 237 / 18%);
}
.masthead {
  min-height: 4.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: .23rem;
  background: var(--gold);
}
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem clamp(.9rem, 3vw, 2.5rem);
}
.masthead nav a { font-size: .9rem; text-decoration: none; }
.masthead nav a:hover { color: var(--gold); }

.hero, .detail-hero, .section-dark { background: var(--ink); color: var(--light); }
.hero { padding-block: clamp(2.7rem, 6vw, 5.4rem) clamp(3rem, 5vw, 4.7rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5.6vw, 6rem);
}
.eyebrow {
  color: var(--teal);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.hero .eyebrow, .detail-hero .eyebrow, .section-dark .eyebrow { color: var(--gold); }
.hero h1 {
  margin-block: .7rem 1rem;
  font-size: clamp(2.75rem, 5.15vw, 5.2rem);
  letter-spacing: .015em;
  line-height: 1.16;
}
.hero h1 span { display: block; }
.hero-tagline { color: var(--gold); font-size: clamp(1.1rem, 2.1vw, 1.6rem); font-weight: 700; }
.hero-intro { color: #d5ded7; max-width: 29rem; margin-block: .85rem 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.primary { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.primary:hover { background: var(--light); border-color: var(--light); }
.quiet { border-color: rgb(255 249 237 / 35%); color: var(--light); }
.quiet:hover { border-color: var(--gold); color: var(--gold); }

.exhibit {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(244 203 135 / 40%);
  background: #1b3b3d;
}
.explorer { min-width: 0; margin: 0; padding: 0; border: 0; }
.visually-hidden, .lenses input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lenses {
  display: grid;
  grid-template-columns: repeat(3, max-content) minmax(0, 1fr);
  column-gap: .45rem;
}
.lens-title {
  grid-column: 1 / -1;
  padding: .78rem var(--exhibit-pad, 1.2rem) .48rem;
  color: var(--light);
  font-size: .93rem;
  font-weight: 700;
}
.lenses label {
  min-height: 34px;
  margin-bottom: .78rem;
  padding: .24rem .7rem;
  border: 1px solid #809e96;
  color: var(--light);
  cursor: pointer;
  font-size: .8rem;
}
.lenses label:first-of-type { margin-left: var(--exhibit-pad, 1.2rem); }
.lenses label:hover { border-color: var(--gold); }
.lenses input:checked + label { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.lenses input:focus-visible + label { outline: 2px solid var(--light); outline-offset: 3px; }

.exhibit-view { grid-area: 3 / 1 / 4 / -1; min-width: 0; visibility: hidden; }
#lens-pattern:checked ~ .pattern,
#lens-craft:checked ~ .craft,
#lens-use:checked ~ .use { visibility: visible; }
.exhibit-image {
  position: relative;
  background: #1a3d40;
  border-block: 1px solid rgb(244 203 135 / 40%);
}
.exhibit-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.56;
  object-fit: cover;
  object-position: center;
}
.exhibit-note, .exhibit-marker {
  position: absolute;
  padding: .08rem .45rem;
  background: var(--ink);
  color: var(--light);
  font-size: .72rem;
  line-height: 1.6;
  white-space: nowrap;
}
.exhibit-note { inset: .62rem .65rem auto auto; }
.exhibit-marker {
  inset: var(--marker-y) auto auto var(--marker-x);
  transform: translate(12px, -50%);
  border: 1px solid var(--gold);
  color: var(--gold);
}
.exhibit-marker::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 10px;
  border-top: 1px solid var(--gold);
  content: "";
}
.exhibit-marker::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--ink);
  content: "";
}
.marker-pattern { --marker-x: 50%; --marker-y: 62%; }
.marker-band { --marker-x: 24%; --marker-y: 18%; }
.marker-craft { --marker-x: 36%; --marker-y: 70%; }
.marker-rim { --marker-x: 73%; --marker-y: 80%; }
.marker-handle { --marker-x: 28%; --marker-y: 20%; }
.marker-feet { --marker-x: 46%; --marker-y: 82%; }
.lens-copy {
  min-height: 4.9em;
  padding: .64rem var(--exhibit-pad, 1.2rem) .7rem;
  color: #e0e8df;
  font-size: .84rem;
}

.section { padding-block: clamp(3.2rem, 6.1vw, 6.3rem); }
.section-tint { background: var(--tint); }
.section-heading { margin-bottom: clamp(1.35rem, 3vw, 2.75rem); }
.section-heading > h2, .contact h2 {
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.section-heading .eyebrow + h2, .contact .eyebrow + h2 { margin-top: .45rem; }
.section-heading h2 + p, .contact h2 + p { margin-top: .7rem; max-width: 39rem; }

.product-grid, .service-grid, .policy-grid, .reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2.1vw, 1.6rem);
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: clamp(1.25rem, 3.4vw, 2.7rem);
  background: #dfeae1;
  border-top: 3px solid #32655e;
}
.product-card.education { background: #efe6d6; border-top-color: #936944; }
.product-guide { position: relative; }
.product-guide h3 { padding-right: 7rem; }
.product-guide > p:not(.eyebrow) { margin-top: 1.5rem; }
.product-card > .eyebrow { min-height: 1.8em; }
.product-card h3 { font-size: clamp(1.95rem, 4.1vw, 3.2rem); }
.product-card h3 span {
  display: block;
  margin-top: .18rem;
  font: 700 clamp(.95rem, 1.8vw, 1.2rem)/1.5 var(--body);
}
.product-card > p:not(.eyebrow), .service-card > p:not(.eyebrow),
.learning-copy, .policy-grid p, .reference-grid p,
.detail-list dd { color: var(--muted); }
.product-card .text-link { margin-top: auto; }
.guide-case-qr {
  position: absolute;
  top: clamp(1.25rem, 3.4vw, 2.7rem);
  right: clamp(1.25rem, 3.4vw, 2.7rem);
  width: 6rem;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.guide-case-qr img { width: 6rem; height: 6rem; background: white; }
.guide-case-qr figcaption { margin-top: .25rem; }
.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: .25rem;
}
.text-link:hover { color: var(--ink); }
.service-grid { margin-top: clamp(1.3rem, 3vw, 2.25rem); }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-block: 1.1rem .15rem;
}
.service-card > p:not(.eyebrow) { margin-bottom: .65rem; }
.service-card .text-link { margin-top: auto; }
.service-card > .eyebrow { min-height: 1.8em; }
.service-card h3, .policy-grid h3, .reference-grid h3, .detail-list dt {
  margin-block: .35rem .5rem;
  font-size: clamp(1.12rem, 2.25vw, 1.55rem);
  font-weight: 700;
}
.value-section { background: #e6ece6; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 1.7vw, 1.5rem);
}
.value-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6.35rem, 14vw, 12.25rem);
  align-items: center;
  gap: clamp(.8rem, 2.05vw, 1.8rem);
  padding: clamp(.9rem, 2.2vw, 1.8rem);
  border: 1px solid #cbd6cb;
  background: #fbf8f0;
}
.value-tile::after {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  border-radius: .2rem 1.6rem .2rem .2rem;
  background: #b9c9be url("museum-value-scenes.webp") var(--scene-position) / 204% 204% no-repeat;
}
.value-exhibition { --scene-position: left top; }
.value-visit { --scene-position: right top; }
.value-store { --scene-position: left bottom; }
.value-education { --scene-position: right bottom; }
.value-copy h3 {
  margin-bottom: .58rem;
  font-size: clamp(1.25rem, 2.35vw, 1.85rem);
}
.value-copy h3::before {
  content: "";
  display: block;
  width: 1.6rem;
  height: 2px;
  margin-bottom: .7rem;
  background: #977247;
}
.value-copy p { color: var(--muted); }
.policy-grid article, .detail-list > div {
  border-top: 1px solid var(--line);
  padding-top: .8rem;
}
.learning-copy { max-width: 48rem; }
.learning-copy p + p { margin-top: .75rem; }
.case-source { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

.section-heading .journey-intro { color: var(--gold); font-size: clamp(1.08rem, 2.35vw, 1.55rem); }
.journey {
  --route-gap: clamp(1rem, 3vw, 2.5rem);
  --route-dot: 3.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--route-gap);
  padding: clamp(1.35rem, 3.7vw, 3.15rem);
  border: 1px solid #486763;
  background-color: #1a3a3c;
  background-image:
    linear-gradient(rgb(224 231 218 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(224 231 218 / 6%) 1px, transparent 1px);
  background-size: 2rem 2rem;
  list-style: none;
}
.journey > li { position: relative; min-width: 0; }
.journey > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-block-start: calc(var(--route-dot) / 2);
  inset-inline: var(--route-dot) calc(-1 * var(--route-gap));
  height: 2px;
  background: #bca474;
}
.journey-marker {
  display: grid;
  width: var(--route-dot);
  height: var(--route-dot);
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font: 700 .92rem/1 var(--body);
  font-variant-numeric: tabular-nums;
}
.journey > li:last-child .journey-marker {
  background: var(--gold);
  color: var(--ink);
}
.journey-copy { padding-top: 1.15rem; }
.journey-copy h3 { margin-bottom: .56rem; font-size: clamp(1.32rem, 2.35vw, 1.75rem); }
.journey-copy p, .section-dark .contact p:not(.eyebrow) { color: #d5ded7; }

.methodology-subtitle {
  display: inline-block;
  max-width: 100%;
  color: var(--teal);
  font-size: .72em;
}
.methodology-board {
  --method-inset: clamp(1.2rem, 3.8vw, 3.25rem);
  display: grid;
  grid-template:
    "intro art" auto
    "list art" 1fr / minmax(0, .92fr) minmax(0, 1.08fr);
  border: 1px solid #d8cdbb;
  background: #eee6d8;
}
.methodology-intro {
  grid-area: intro;
  margin: var(--method-inset) var(--method-inset) 1.15rem;
  font-size: clamp(.96rem, 1.5vw, 1.16rem);
}
.methodology-art {
  position: relative;
  grid-area: art;
  min-height: 27rem;
  background: #42554c;
}
.methodology-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.methodology-list {
  display: grid;
  grid-area: list;
  grid-auto-rows: 1fr;
  margin: 0 var(--method-inset) var(--method-inset);
  padding: 0;
  border-bottom: 1px solid #d0c4b0;
  list-style: none;
}
.methodology-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 2.55rem;
  padding: .4rem .1rem;
  border-top: 1px solid #d0c4b0;
  font: 700 clamp(1.05rem, 1.65vw, 1.25rem)/1.5 var(--display);
}
.methodology-list li::before {
  content: "";
  flex: 0 0 .4rem;
  width: .4rem;
  height: .4rem;
  margin-inline: .17rem;
  transform: rotate(45deg);
  background: #8d673f;
}
.policy-grid h3 { margin-top: 0; }
.policy-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.policy-grid .text-link, .reference-grid .text-link { margin-top: .55rem; }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact-qr {
  flex: none;
  padding: .55rem;
  background: var(--light);
  color: var(--ink);
  text-align: center;
  font-size: .77rem;
}
.contact-qr figcaption { padding-top: .28rem; }
.site-footer {
  border-top: 1px solid rgb(255 249 237 / 20%);
  background: var(--ink);
  color: #d5ded7;
  font-size: .82rem;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 2rem; padding-block: 1.1rem; }
.site-footer a { text-underline-offset: .2rem; }

.detail-hero { padding-block: clamp(3rem, 7vw, 6.3rem); }
.detail-hero h1 {
  max-width: 55rem;
  margin-block: .5rem .85rem;
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  letter-spacing: -.015em;
}
.detail-hero h1 span {
  display: block;
  margin-top: .45rem;
  color: var(--gold);
  font: 700 clamp(1.1rem, 2.5vw, 1.7rem)/1.45 var(--body);
}
.detail-hero .lead { max-width: 43rem; margin-bottom: 1.5rem; color: #d5ded7; }
.detail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1.65rem; }
.detail-list dt { margin-top: 0; font-family: var(--display); line-height: 1.35; }
.detail-callout { max-width: 47rem; padding-left: 1rem; border-left: 3px solid #936944; }
.detail-callout h3 { margin-bottom: .45rem; font-size: 1.24rem; }
.reference-grid { align-items: stretch; }
.reference-grid article { padding: clamp(1.15rem, 3vw, 2.15rem); background: var(--tint); border-top: 2px solid var(--teal); }
.reference-grid ul { padding-left: 1.2em; margin-block: .7rem 0; }
.reference-grid li + li { margin-top: .38rem; }
.reference-grid .archive-lead { margin-bottom: .5rem; }
.exhibition-cases article { display: flex; flex-direction: column; align-items: flex-start; }
.exhibition-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.1rem; }
.exhibition-cases .text-link { margin-top: auto; padding-top: .7rem; }
.exhibition-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: auto; }
.activity-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.3vw, 1rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.activity-photo { overflow: hidden; background: #ded8ca; }
.activity-photo-wide { grid-column: 1 / -1; }
.activity-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.activity-photo-wide img { aspect-ratio: 1.85; object-position: center 62%; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-grid { gap: 2rem; }
  .journey { --route-gap: 1.2rem; --route-dot: 2.7rem; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 2rem); }
  .masthead { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: .75rem; }
  .masthead nav a { font-size: .82rem; }
  .hero-grid, .product-grid, .service-grid, .policy-grid, .reference-grid, .detail-list { grid-template-columns: 1fr; }
  .activity-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-photo-wide img { aspect-ratio: 1.4; }
  .activity-photo:last-child { grid-column: 1 / -1; }
  .activity-photo:last-child img { aspect-ratio: 1.2; object-position: center 45%; }
  .hero { padding-top: 2.4rem; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .hero-intro { margin-bottom: 1.25rem; }
  .exhibit { --exhibit-pad: .85rem; }
  .value-grid { grid-template-columns: 1fr; }
  .journey { --route-gap: 1.4rem; grid-template-columns: 1fr; }
  .journey > li {
    display: grid;
    grid-template-columns: var(--route-dot) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }
  .journey > li:not(:last-child)::after {
    inset-block: var(--route-dot) calc(-1 * var(--route-gap));
    inset-inline: calc(var(--route-dot) / 2) auto;
    width: 2px;
    height: auto;
  }
  .journey-copy { padding-top: .25rem; }
  .methodology-board {
    grid-template:
      "intro"
      "art"
      "list" / minmax(0, 1fr);
  }
  .methodology-art { min-height: 0; aspect-ratio: 1.42; }
  .methodology-list { margin-top: var(--method-inset); }
  .contact { align-items: flex-start; }
  .contact-qr img { width: 6rem; height: auto; }
}

@media (max-width: 460px) {
  .contact { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
