:root {
  --ink: #171915;
  --paper: #f3f0e7;
  --green: #2d4030;
  --line: rgba(23, 25, 21, .2);
  --pad: clamp(22px, 3.1vw, 52px);
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.page-loader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; color: var(--paper); background: var(--green); transition: opacity .65s ease, visibility .65s ease; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader span { font: 400 clamp(70px, 13vw, 190px)/1 var(--serif); letter-spacing: -.07em; }
.page-loader i { position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--paper); animation: loadline 1s ease forwards; }
@keyframes loadline { to { width: 100%; } }

.museum-header { position: fixed; inset: 0 0 auto; z-index: 80; height: 78px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(243,240,231,.9); backdrop-filter: blur(14px); }
.index-link { display: flex; align-items: center; gap: 12px; width: max-content; font-size: 14px; }
.index-link i, .index-link i::before, .index-link i::after { display: block; width: 14px; height: 1px; background: currentColor; content: ""; }
.index-link i { position: relative; }
.index-link i::before { position: absolute; top: -5px; }
.index-link i::after { position: absolute; top: 5px; }
.museum-mark { text-align: center; line-height: .86; }
.museum-mark b { display: block; font: 700 15px/.78 var(--serif); letter-spacing: -.04em; }
.museum-mark small { display: block; margin-top: 8px; font-size: 8px; letter-spacing: .16em; }
.museum-header nav { justify-self: end; display: flex; align-items: center; gap: 9px; font-size: 12px; }
.museum-header nav span { opacity: .38; }
.museum-header nav a { border-bottom: 1px solid transparent; }
.museum-header nav a:hover { border-color: currentColor; }
.museum-header .oform-link { margin-left: 16px; padding: 8px 10px; border: 1px solid var(--line); }
.menu-toggle { display: none; justify-self: end; width: 38px; height: 38px; padding: 8px; border: 0; background: transparent; }
.menu-toggle i { display: block; height: 1px; margin: 6px 0; background: currentColor; }

main { overflow: clip; }
.exhibition-hero { position: relative; min-height: 100svh; padding: 104px var(--pad) 0; display: grid; grid-template-columns: 1fr minmax(420px, 3.8fr) 1fr; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.exhibition-hero::after { position: absolute; left: var(--pad); right: var(--pad); top: 78px; height: 1px; background: var(--line); content: ""; }
.hero-left, .hero-right { z-index: 3; align-self: center; font-size: clamp(16px, 1.7vw, 27px); line-height: 1.25; }
.hero-right { text-align: right; }
.exhibition-hero h1 { position: relative; z-index: 1; margin: 0; text-align: center; font: 400 clamp(86px, 12.5vw, 205px)/.72 var(--serif); letter-spacing: -.075em; transform: translateY(-8vh); }
.exhibition-hero h1 span, .exhibition-hero h1 strong { display: block; font-weight: inherit; }
.exhibition-hero h1 strong { margin-top: .12em; font-size: .58em; letter-spacing: -.06em; }
.hero-portrait { position: absolute; z-index: 2; left: 50%; bottom: -8%; width: min(56vw, 820px); height: 52vh; margin: 0; transform: translateX(-50%); overflow: hidden; pointer-events: none; }
.hero-portrait::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(243,240,231,.35), transparent 42%); content: ""; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.25) contrast(1.05); transform: scale(1.03); }
.hero-enter { position: absolute; z-index: 4; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-enter i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-style: normal; }
.hero-count { position: absolute; z-index: 4; right: var(--pad); bottom: 28px; display: flex; align-items: end; gap: 10px; }
.hero-count strong { font: 400 40px/.8 var(--serif); }
.hero-count span { font-size: 11px; }

.profile-section, .work-section, .contact-section { padding: 90px var(--pad); border-bottom: 1px solid var(--line); }
.section-index { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; min-height: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-index span, .section-index small { font-size: 11px; letter-spacing: .1em; }
.section-index strong { font-size: 15px; font-weight: 500; }
.profile-intro { padding: clamp(60px, 9vw, 135px) 0; }
.profile-intro p { max-width: 1180px; margin: 0; font: 400 clamp(36px, 6.4vw, 104px)/1.02 var(--serif); letter-spacing: -.045em; }
.profile-intro p + p { margin: .42em 0 0 12%; color: var(--green); }
.profile-grid { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: clamp(28px, 7vw, 110px); align-items: end; }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; max-height: 760px; object-fit: cover; filter: grayscale(.35); }
.profile-photo figcaption { margin-top: 12px; font-size: 11px; letter-spacing: .08em; }
.profile-story { padding-bottom: 6%; }
.profile-card { margin-left: 8%; padding: clamp(34px, 5vw, 72px); color: var(--paper); background: var(--green); }
.profile-card span { font-size: 11px; letter-spacing: .12em; }
.profile-card p { margin: 32px 0 0; font: 400 clamp(27px, 3.8vw, 56px)/1.15 var(--serif); }
.profile-records { margin-top: 70px; border-top: 1px solid var(--line); }
.profile-records article { display: grid; grid-template-columns: 130px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile-records span { font-size: 12px; }
.profile-records p { margin: 0; white-space: pre-line; font-size: 16px; line-height: 1.7; }

.work-heading { padding: 48px 0 58px; display: flex; align-items: end; justify-content: space-between; }
.work-heading h2 { margin: 0; font: 400 clamp(84px, 13vw, 190px)/.75 var(--serif); letter-spacing: -.07em; }
.work-heading div { text-align: right; }
.work-heading strong { display: block; font-size: 15px; }
.work-heading span { display: block; margin-top: 8px; font-size: 12px; opacity: .62; }
.portfolio-filters { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 54px; }
.portfolio-filters button { min-height: 60px; padding: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; font-size: 13px; cursor: pointer; }
.portfolio-filters button:hover, .portfolio-filters button.active { color: var(--paper); background: var(--green); }
.commercial-subfilters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -34px 0 50px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.commercial-subfilters[hidden] { display: none; }
.commercial-subfilters span { margin-right: 12px; font-size: 12px; }
.commercial-subfilters button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 12px; cursor: pointer; }
.commercial-subfilters button.active { color: var(--paper); background: var(--green); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 1.7vw, 26px); row-gap: clamp(55px, 8vw, 112px); }
.portfolio-project { grid-column: span 4; min-width: 0; }
.portfolio-project.is-wide { grid-column: span 8; }
.portfolio-project.will-reveal { opacity: 0; transform: translateY(34px); transition: opacity .65s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.portfolio-project.will-reveal.is-revealed { opacity: 1; transform: none; }
.project-image { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #d7d3c8; }
.is-wide .project-image { aspect-ratio: 16 / 9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cover-x, 50%) var(--cover-y, 50%); transform: scale(var(--cover-scale, 1)); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .35s; }
.portfolio-project:hover .project-image img { transform: scale(calc(var(--cover-scale, 1) + .025)); filter: brightness(.82); }
.project-index { position: absolute; top: 12px; left: 12px; padding: 7px 9px; color: var(--paper); background: var(--green); font-size: 10px; }
.project-view { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; color: var(--ink); background: var(--paper); font-size: 10px; letter-spacing: .08em; transform: translateY(8px); opacity: 0; transition: .3s; }
.portfolio-project:hover .project-view { transform: none; opacity: 1; }
.project-meta { display: flex; justify-content: space-between; gap: 18px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); }
.project-meta h3 { margin: 0 0 7px; font: 400 clamp(21px, 2.1vw, 32px)/1.1 var(--serif); }
.project-meta p { margin: 0; font-size: 13px; line-height: 1.5; opacity: .62; }
.project-meta > span { flex: none; text-align: right; font-size: 10px; line-height: 1.5; }
.project-empty { grid-column: 1 / -1; padding: 90px 0; border-top: 1px solid var(--line); font: 30px var(--serif); }

.contact-section { color: var(--paper); background: var(--green); }
.contact-section .section-index { border-color: rgba(243,240,231,.28); }
.contact-title { padding: 70px 0 90px; display: flex; flex-direction: column; font: 400 clamp(72px, 13vw, 196px)/.78 var(--serif); letter-spacing: -.07em; }
.contact-title strong { margin-left: 10%; font-weight: inherit; color: transparent; -webkit-text-stroke: 1px var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.contact-copy p { font: 400 clamp(25px, 3.2vw, 46px)/1.22 var(--serif); }
.contact-copy a { display: block; width: max-content; margin-top: 17px; padding-bottom: 3px; border-bottom: 1px solid; font-size: 15px; }
.contact-cards { display: flex; justify-content: flex-end; gap: 18px; }
.contact-cards figure { width: min(220px, 46%); margin: 0; }
.contact-cards img { width: 100%; background: #fff; mix-blend-mode: screen; }
.contact-cards figcaption { margin-top: 9px; font-size: 11px; }
.portfolio-footer { min-height: 90px; padding: 24px var(--pad); display: flex; align-items: center; justify-content: space-between; color: var(--paper); background: var(--green); border-top: 1px solid rgba(243,240,231,.22); font-size: 11px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .museum-header { grid-template-columns: 1fr auto 1fr; }
  .museum-header nav { position: fixed; top: 78px; left: 0; width: 100%; padding: 30px var(--pad); display: none; flex-direction: column; align-items: flex-start; color: var(--paper); background: var(--green); }
  .museum-header nav.is-open { display: flex; }
  .museum-header nav span { display: none; }
  .museum-header .oform-link { margin: 12px 0 0; }
  .menu-toggle { display: block; }
  .exhibition-hero { grid-template-columns: 1fr; align-content: center; }
  .hero-left, .hero-right { position: absolute; top: 120px; }
  .hero-left { left: var(--pad); }
  .hero-right { right: var(--pad); }
  .exhibition-hero h1 { font-size: clamp(78px, 16vw, 145px); transform: translateY(-5vh); }
  .hero-portrait { width: 76vw; height: 54vh; }
  .profile-grid, .contact-layout { grid-template-columns: 1fr; }
  .profile-photo { max-width: 620px; }
  .profile-card { margin-left: 0; }
  .portfolio-filters { grid-template-columns: repeat(3, 1fr); }
  .portfolio-project, .portfolio-project.is-wide { grid-column: span 6; }
  .contact-cards { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .museum-header { height: 66px; }
  .index-link span, .museum-mark small { display: none; }
  .museum-header nav { top: 66px; }
  .exhibition-hero { min-height: 790px; padding-top: 88px; }
  .hero-left, .hero-right { top: 91px; font-size: 14px; }
  .exhibition-hero h1 { z-index: 3; margin-top: -120px; font-size: clamp(68px, 23vw, 108px); transform: none; }
  .hero-portrait { width: 100%; height: 56%; bottom: 1%; }
  .hero-enter { bottom: 20px; }
  .hero-enter span { display: none; }
  .hero-count { bottom: 28px; }
  .profile-section, .work-section, .contact-section { padding-top: 64px; padding-bottom: 64px; }
  .section-index { grid-template-columns: 42px 1fr auto; }
  .profile-intro p { font-size: 39px; }
  .profile-intro p + p { margin-left: 0; }
  .profile-records article { grid-template-columns: 92px 1fr; }
  .profile-records p { font-size: 14px; }
  .work-heading { align-items: flex-start; }
  .work-heading h2 { font-size: 76px; }
  .work-heading span { display: none; }
  .portfolio-filters { grid-template-columns: repeat(2, 1fr); }
  .portfolio-project, .portfolio-project.is-wide { grid-column: 1 / -1; }
  .project-image, .is-wide .project-image { aspect-ratio: 4 / 5; }
  .contact-title { padding-bottom: 54px; }
  .contact-title strong { margin-left: 0; }
  .portfolio-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Reference exhibition layout: preserve the original visual program while using personal content. */
.exhibition-hero {
  min-height: max(100svh, 940px);
  padding: 122px var(--pad) 0;
  display: grid;
  grid-template-columns: 1fr minmax(620px, 4.8fr) 1fr;
  align-items: start;
}
.hero-left,
.hero-right {
  margin-top: 124px;
  font-size: clamp(18px, 1.75vw, 29px);
  line-height: 1.2;
}
.exhibition-hero h1 {
  z-index: 4;
  margin: 0;
  font-size: clamp(96px, 13.4vw, 218px);
  line-height: .72;
  letter-spacing: -.065em;
  transform: none;
}
.exhibition-hero h1 strong {
  margin-top: .08em;
  font-size: 1em;
  line-height: .78;
}
.hero-art {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -3%;
  height: 57%;
  margin: 0;
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.1);
  transform-origin: center bottom;
}
.hero-intro-card {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  width: min(51vw, 760px);
  min-height: 230px;
  padding: clamp(30px, 4vw, 62px) clamp(34px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  background: var(--green);
}
.hero-intro-card p {
  max-width: 620px;
  margin: 0 0 42px;
  font: 400 clamp(23px, 2.35vw, 38px)/1.25 var(--sans);
}
.hero-intro-card span { font-size: 11px; letter-spacing: .1em; }
.hero-enter { bottom: 28px; }
.hero-count { right: auto; left: calc(var(--pad) + 180px); bottom: 30px; }

.profile-section { padding-top: 118px; padding-bottom: 130px; }
.profile-intro p { max-width: 1120px; }
.profile-grid { align-items: stretch; }
.profile-photo img { height: 100%; min-height: 620px; }
.profile-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; }

.work-section { padding: 110px 0 0; }
.work-section > .section-index,
.work-section > .work-heading,
.work-section > .portfolio-filters,
.work-section > .commercial-subfilters { margin-left: var(--pad); margin-right: var(--pad); }
.portfolio-filters { margin-bottom: 0; }
.commercial-subfilters { margin-top: 0; margin-bottom: 0; }
.project-grid {
  margin-top: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0;
  background: var(--paper);
}
.portfolio-project,
.portfolio-project.is-wide { grid-column: span 4; }
.portfolio-project:nth-child(7n + 1),
.portfolio-project:nth-child(7n + 5) { grid-column: span 8; }
.portfolio-project a { height: 100%; display: grid; grid-template-rows: auto minmax(165px, auto); }
.project-image,
.is-wide .project-image { aspect-ratio: 1.18 / 1; margin: 0; }
.portfolio-project:nth-child(7n + 1) .project-image,
.portfolio-project:nth-child(7n + 5) .project-image { aspect-ratio: 2.36 / 1; }
.project-index { color: var(--ink); background: var(--paper); }
.project-view { right: 20px; bottom: 20px; padding: 11px 15px; }
.project-meta {
  min-height: 165px;
  margin: 0;
  padding: clamp(24px, 2.8vw, 46px);
  align-items: flex-start;
  border: 0;
  color: var(--paper);
  background: var(--green);
}
.portfolio-project:nth-child(4n + 2) .project-meta { background: #8d3c2e; }
.portfolio-project:nth-child(4n + 3) .project-meta { color: var(--ink); background: #86a09a; }
.portfolio-project:nth-child(4n + 4) .project-meta { color: var(--ink); background: #d5c49a; }
.project-meta h3 { max-width: 580px; font-size: clamp(24px, 2.5vw, 42px); line-height: 1.05; }
.project-meta p { opacity: .78; }
.portfolio-project:hover .project-image img { filter: none; }

@media (max-width: 1050px) {
  .exhibition-hero { grid-template-columns: 1fr minmax(480px, 4fr) 1fr; }
  .exhibition-hero h1 { font-size: clamp(84px, 13.8vw, 150px); }
  .hero-left, .hero-right { margin-top: 95px; }
  .hero-intro-card { width: 55vw; min-height: 205px; }
}

@media (max-width: 900px) {
  .exhibition-hero { min-height: 880px; grid-template-columns: 1fr; align-content: start; }
  .hero-left, .hero-right { top: 106px; margin: 0; }
  .exhibition-hero h1 { margin-top: 76px; font-size: clamp(82px, 17vw, 138px); transform: none; }
  .hero-art { height: 52%; bottom: 5%; }
  .hero-intro-card { width: 58vw; min-height: 190px; }
  .hero-intro-card p { margin-bottom: 28px; }
  .profile-photo img { min-height: 0; }
  .portfolio-project,
  .portfolio-project.is-wide,
  .portfolio-project:nth-child(7n + 1),
  .portfolio-project:nth-child(7n + 5) { grid-column: span 6; }
  .project-image,
  .is-wide .project-image,
  .portfolio-project:nth-child(7n + 1) .project-image,
  .portfolio-project:nth-child(7n + 5) .project-image { aspect-ratio: 1.15 / 1; }
}

@media (max-width: 560px) {
  .exhibition-hero { min-height: 790px; padding-top: 86px; }
  .hero-left, .hero-right { top: 84px; font-size: 13px; }
  .hero-left { max-width: 90px; }
  .exhibition-hero h1 { z-index: 4; margin-top: 96px; font-size: clamp(62px, 19.5vw, 91px); line-height: .76; }
  .hero-art { height: 43%; bottom: 20%; }
  .hero-intro-card { width: 76%; min-height: 180px; padding: 26px; }
  .hero-intro-card p { font-size: 18px; }
  .hero-enter { bottom: 21px; }
  .hero-count { left: 78px; bottom: 22px; }
  .hero-count strong { font-size: 30px; }
  .profile-section { padding-top: 74px; padding-bottom: 80px; }
  .profile-card { min-height: 270px; }
  .work-section { padding-top: 72px; }
  .portfolio-project,
  .portfolio-project.is-wide,
  .portfolio-project:nth-child(7n + 1),
  .portfolio-project:nth-child(7n + 5) { grid-column: 1 / -1; }
  .project-image,
  .is-wide .project-image,
  .portfolio-project:nth-child(7n + 1) .project-image,
  .portfolio-project:nth-child(7n + 5) .project-image { aspect-ratio: 1.12 / 1; }
  .project-meta { min-height: 150px; }
}

/* Homepage v3 — match the reference exhibition landing page while keeping personal work. */
.museum-header {
  position: absolute;
  height: 74px;
  background: transparent;
  backdrop-filter: none;
}
.header-controls {
  position: relative;
  gap: 10px !important;
  font-size: 9px !important;
  letter-spacing: .08em;
}
.header-controls .sound-status { margin-left: 18px; opacity: 1; }
.header-controls .archive-note {
  position: absolute;
  top: 23px;
  right: 0;
  width: max-content;
  padding: 5px 9px;
  font-size: 8px;
  letter-spacing: .02em;
  background: #fff;
  border: 0;
  box-shadow: 0 5px 14px rgba(15, 18, 13, .09);
  transform: rotate(-3deg);
}
.exhibition-hero {
  min-height: max(100svh, 640px);
  height: 100svh;
  padding: 74px var(--pad) 0;
  display: block;
  overflow: hidden;
}
.exhibition-hero h1 {
  position: absolute;
  z-index: 5;
  top: 31%;
  left: 50%;
  width: min(70vw, 850px);
  margin: 0;
  font-size: clamp(80px, 10.5vw, 150px);
  line-height: .77;
  letter-spacing: -.055em;
  text-align: center;
  transform: translate(-50%, -50%);
}
.exhibition-hero h1 span,
.exhibition-hero h1 strong { display: block; }
.exhibition-hero h1 strong {
  margin-top: .13em;
  font-size: 1em;
  line-height: .77;
}
.hero-left,
.hero-right {
  position: absolute;
  z-index: 6;
  top: 49%;
  margin: 0;
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.13;
}
.hero-left { left: calc(var(--pad) + 8%); }
.hero-right { right: calc(var(--pad) + 8%); text-align: right; }
.hero-art-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40%;
  margin: 0;
  display: grid;
  grid-template-columns: 1.08fr .9fr 1fr 1.12fr .94fr 1fr 1.1fr;
  gap: 0;
  overflow: hidden;
  background: var(--paper);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 17%, #000 100%);
  transform-origin: center bottom;
  will-change: transform;
}
.hero-art-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, 50%) var(--hero-y, 50%);
  transform: scale(var(--hero-scale, 1));
  transform-origin: var(--hero-x, 50%) var(--hero-y, 50%);
  filter: saturate(.86) contrast(1.03);
}
.hero-art-strip img:nth-child(even) { margin-top: 4%; }
.hero-art-strip img:nth-child(3n) { margin-top: 8%; }
.hero-intro-card,
.hero-enter,
.hero-count { display: none !important; }

@media (max-width: 900px) {
  .exhibition-hero { min-height: 720px; height: 100svh; padding-top: 66px; }
  .exhibition-hero h1 { top: 31%; width: 82vw; font-size: clamp(70px, 14vw, 120px); }
  .hero-left, .hero-right { top: 49%; font-size: 15px; }
  .hero-left { left: var(--pad); }
  .hero-right { right: var(--pad); }
  .hero-art-strip { height: 40%; grid-template-columns: repeat(5, 1fr); }
  .hero-art-strip img:nth-child(n + 6) { display: none; }
}

@media (max-width: 560px) {
  .museum-header { height: 62px; }
  .museum-mark { transform: scale(.88); }
  .header-controls { display: flex !important; position: static !important; width: auto !important; padding: 0 !important; flex-direction: row !important; color: var(--ink) !important; background: transparent !important; }
  .header-controls > :not(.sound-status):not(.archive-note) { display: none; }
  .header-controls .sound-status { display: inline; margin-left: 0; }
  .header-controls .archive-note { display: none; }
  .menu-toggle { display: none; }
  .exhibition-hero { min-height: 680px; height: 100svh; padding-top: 62px; }
  .exhibition-hero h1 { top: 28%; width: 92vw; margin: 0; font-size: clamp(61px, 19vw, 88px); line-height: .78; }
  .exhibition-hero h1 strong { margin-top: .16em; line-height: .78; }
  .hero-left, .hero-right { top: 45%; font-size: 13px; }
  .hero-left { left: 18px; max-width: none; }
  .hero-right { right: 18px; }
  .hero-art-strip { height: 43%; grid-template-columns: repeat(4, 1fr); }
  .hero-art-strip img:nth-child(n + 5) { display: none; }
}

/* The reference artwork stays anchored to the bottom; only one figure subtly comes alive. */
.hero-art-strip {
  display: block;
  height: 42%;
  -webkit-mask-image: none;
  mask-image: none;
  background: var(--paper);
}
.hero-art-strip .hero-figure-panorama,
.hero-art-strip .hero-figure-mover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 333%;
  margin: 0;
  display: block;
  object-fit: fill;
  transform: none;
  filter: none;
}
.hero-art-strip .hero-figure-mover {
  z-index: 2;
  clip-path: inset(82% 38% 0 53%);
  transform-origin: 57.5% 88%;
  animation: living-figure 4.8s ease-in-out infinite;
  will-change: transform, filter;
}
@keyframes living-figure {
  0%, 100% { transform: translate(0, 0) rotate(0deg); filter: brightness(1); }
  28% { transform: translate(-1px, -2px) rotate(-.28deg); filter: brightness(1.025); }
  56% { transform: translate(1px, -3px) rotate(.34deg); filter: brightness(.985); }
  78% { transform: translate(0, -1px) rotate(-.12deg); filter: brightness(1.015); }
}

@media (max-width: 900px) {
  .hero-art-strip { height: 42%; }
  .hero-art-strip .hero-figure-panorama,
  .hero-art-strip .hero-figure-mover { display: block !important; }
}

@media (max-width: 560px) {
  .hero-art-strip { height: 44%; }
  .hero-art-strip .hero-figure-panorama,
  .hero-art-strip .hero-figure-mover { display: block !important; }
  .hero-art-strip .hero-figure-mover { clip-path: inset(82% 35% 0 50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art-strip .hero-figure-mover { animation: living-figure 4.8s ease-in-out infinite !important; }
}
