/* Exhibition identity from the printed fold. */
.exhibition-wordmark {display:block;width:94px;max-width:100%;height:auto;object-fit:contain}
.project-bar .exhibition-wordmark,.map-mast-label .exhibition-wordmark,.mast .brand .exhibition-wordmark {width:91px}
.exhibit .wordmark .exhibition-wordmark {width:clamp(100px,9vw,150px)}
.exhibit .wordmark h1 {margin:0}
.opening .cover-wordmark {width:clamp(190px,20vw,318px)}
.invitation-text {display:none}
@media(min-width:681px) {
  .opening {grid-template-columns:46% minmax(0,1fr);background:#eef4f9}
  .opening::before {display:none}
  .opening-art {display:grid;place-items:center;mask-image:none;background:#bdd3e7;isolation:isolate}
  .opening-art::before {content:"";position:absolute;inset:0;z-index:-1;background:url("./assets/fold-dots.png") center/cover;opacity:.83}
  .opening-art picture {width:82%;height:78%;align-self:center}
  .opening-art img {height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 14px 16px #2447721c)}
  .opening-glass {display:block;background:#f3f7fa}
  .opening-glass .opening-copy::after {display:none}
  .opening-copy {display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:clamp(24px,5vh,64px) clamp(30px,5.4vw,104px);scrollbar-width:thin}
  .opening-editorial {width:100%;max-width:40rem;margin:auto 0;align-self:flex-start;padding:28px 0 12px}
  .opening-copy h2 {margin:0 0 clamp(18px,3vh,32px)}
  .opening-organizer {color:#3f6080}
  .invitation-text {display:block;color:#293f5a;font:400 clamp(15px,1.1vw,18px)/1.78 "Microsoft YaHei","PingFang SC",sans-serif}
  .invitation-text p {margin:0 0 .86em}
  .exhibition-subtitle {margin:0 0 1.25em;color:#193b6a;font:550 clamp(18px,1.45vw,23px)/1.52 "Microsoft YaHei","PingFang SC",sans-serif;letter-spacing:.025em}
  .exhibition-subtitle span {display:block}
  .opening-editorial .opening-actions {margin-top:24px}
}
.opening-address {
  --spread:min(92vw,1680px);
  background:linear-gradient(110deg,#e2edf5f7,#f7fafcf5 44%,#edf4f9f5);
  isolation:isolate;
}
.opening-address::before {content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:url("./assets/fold-dots.png") left center/auto 100% no-repeat;opacity:.18;mask-image:linear-gradient(90deg,#000,transparent 58%)}
.address-heading {position:relative}
.address-heading .address-metal {display:block;width:74px;height:auto;object-fit:contain;margin-bottom:14px}
.address-reader .address-prose p:first-of-type {font-weight:600;color:#1d3e71}
.opening-address > .address-actions {display:flex;align-items:center;justify-content:flex-end;gap:12px}
.opening-address .address-actions button,.exhibit .opening #open-gallery {
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:110px;
  border:1px solid #ffffffd9;border-bottom-color:#9bafc3;border-radius:999px;padding:10px 23px;
  background:linear-gradient(162deg,#ffffffb8,#dce9f179);color:#274766;font-weight:540;letter-spacing:.06em;
  box-shadow:inset 0 1px 1px #fff,0 2px 5px #28446316;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)
}
.opening-address .address-actions #start-walk {color:#162f50;border-color:#b5c8d9;border-top-color:white;background:linear-gradient(168deg,#f7fcff 0%,#c5d6e5 54%,#e0ebf3 83%,#f5faff 100%)}
.opening-address .address-actions button:focus-visible,.exhibit .opening #open-gallery:focus-visible {outline:2px solid #244f81;outline-offset:3px}
@media(hover:hover) {
  .opening-address .address-actions button:hover,.exhibit .opening #open-gallery:hover {border-color:#8aa9c2;box-shadow:inset 0 1px 2px white,0 3px 9px #34546e24}
}
.opening-arrow {background:none;color:inherit;width:auto;height:auto}
@media(min-width:800px) {
  .opening-address {padding:0;justify-content:stretch}
  .opening-address > .address-reader {
    width:var(--spread);max-width:none;display:grid;
    grid-template-columns:minmax(180px,.76fr) minmax(0,2.24fr);
    gap:clamp(28px,4vw,76px);align-content:start;align-items:start;
    padding:clamp(34px,7vh,90px) 10px 32px
  }
  .address-reader .address-heading {position:sticky;top:0;margin:0}
  .address-heading .address-metal {width:clamp(120px,14vw,230px);margin:0 0 clamp(22px,4vh,50px)}
  .address-reader h2 {font-size:clamp(34px,3.5vw,64px);letter-spacing:.04em;margin:0}
  .address-heading span {display:block;font-size:clamp(15px,1.4vw,23px);margin-top:8px}
  .address-prose p {font-size:clamp(16px,1.14vw,21px);line-height:1.88;margin:0 0 1.05em}
  .address-prose p:first-child {font-size:1.25em}
  .opening-address > .address-actions {width:var(--spread);max-width:none;padding:15px 10px max(17px,env(safe-area-inset-bottom));border-color:#bbcddc}
}
@media(min-width:1180px) {
  .address-prose {columns:2;column-gap:clamp(30px,3vw,64px);column-rule:1px solid #cbd9e4}
  .address-prose p {break-inside:avoid}
}
@media(max-width:799px) {
  .address-reader .address-heading {padding-right:76px}
  .address-heading .address-metal {width:68px;position:absolute;top:0;right:0;margin:0}
  .opening-address > .address-actions {justify-content:center}
}
@media(max-width:680px),(max-height:520px) and (pointer:coarse) {
  .opening-art::before,.invitation-text {display:none}
  .opening-art picture {width:100%;height:auto}
  .opening-art img {filter:none}
  .opening .opening-copy {display:block;height:auto;padding:0}
  .opening-editorial .opening-actions {margin:0 auto}
  .exhibit .opening #open-gallery {min-width:148px}
}

/* Shared glass surfaces for the entrance and the guided walk. */
.exhibit {
  --guide-glass:linear-gradient(152deg,rgba(255,255,255,.93),rgba(235,243,249,.75) 56%,rgba(216,231,241,.83));
  --guide-rim:inset 0 1px 0 #fff, inset 0 -1px 0 #9bb4c465, 0 8px 23px #354d681c;
}
.exhibit .walk-panel,.exhibit .directory-panel,.exhibit .tour-player {
  border:1px solid #e9f3fa;border-bottom-color:#a6bdce;border-radius:22px;
  background:var(--guide-glass);box-shadow:var(--guide-rim);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)
}
.exhibit .walk-panel {gap:14px;padding:20px 22px}
.exhibit .walk-panel[hidden] {display:none}
.exhibit .walk-count {letter-spacing:.07em;color:#426081}
.exhibit .directory-panel {width:min(344px,calc(100vw - 36px));padding:12px 18px}
.exhibit .directory summary,
.exhibit :is(.walk-buttons button,.facade-actions button,.tour-skip),
.exhibit .tour-controls button,
.exhibit .opening-address .address-actions :is(#start-walk,#skip-walk) {
  border:1px solid #c3d4e1;border-top-color:#fff;border-radius:999px;
  min-height:44px;padding:9px 20px;background:var(--guide-glass);color:#294a67;
  box-shadow:inset 0 1px 1px #fff,0 2px 6px #425d741c;font:530 .9375rem/1.35 system-ui,"PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:0;
}
.exhibit .directory summary {padding-inline:18px}
.exhibit .stage .walk-buttons .walk-next {
  color:#133754;border-radius:999px;border:1px solid transparent;
  background:linear-gradient(160deg,#f2f9ff 6%,#b9cede 57%,#e7f2f9 96%) padding-box,
             linear-gradient(140deg,#fff 12%,#869fb5 52%,#e3edf6 75%,#96adc1) border-box;
  box-shadow:inset 0 1px 2px white,inset 0 -1px 1px #e7f4ff,0 3px 7px #27486726
}
.exhibit .opening-address > .address-actions {
  justify-self:end;width:max-content;max-width:calc(100% - 24px);
  display:flex;align-items:center;gap:10px;padding:0;border:0;
  margin:8px max(4vw,12px) max(16px,env(safe-area-inset-bottom));
  background:transparent;box-shadow:none
}
.exhibit .opening-address .address-actions button {display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.exhibit :is(.directory summary,.walk-buttons button,.address-actions button,.tour-controls button):focus-visible {outline:2px solid #315879;outline-offset:3px}
@media (hover:hover) {
  .exhibit :is(.directory summary,.walk-buttons button,.address-actions button,.tour-controls button):hover {filter:brightness(.96)}
}
@media(max-width:799px){
  .exhibit .opening-address > .address-actions {justify-self:center;margin-inline:0}
  .exhibit .walk-panel {padding:16px;gap:10px}
}
@media(min-width:681px) {
  .opening-art::before {background-image:url("./assets/fold-screen.svg");opacity:1}
  .opening-art picture {display:grid;place-items:center}
  .opening-art picture img {width:min(100%,540px);height:auto;max-height:100%;filter:none}
}
@media(min-width:681px) and (min-resolution:1.5dppx) {
  .opening-art picture img {width:min(100%,410px)}
}
@media(min-width:681px) and (min-resolution:2dppx) {
  .opening-art picture img {width:min(100%,362px)}
}
@media(min-width:681px) and (min-resolution:3dppx) {
  .opening-art picture img {width:min(100%,241px)}
}
@media(max-height:520px) and (pointer:coarse) {
  .opening-art picture img {width:100%;height:100%;max-width:none}
}
/* Quiet silver-blue details shared by the gallery's reading pages. */
:where(body[data-team],.has-project-index,.project-page,.knowledge-page) {
  --exhibition-ink:#223d5e;
  --exhibition-muted:#496681;
  --exhibition-rule:#c8d7e2;
  --exhibition-glass:linear-gradient(158deg,#ffffffc9,#e0ecf4aa);
}
body[data-team] .mast, .project-page .project-bar,.knowledge-page .mast {
  color:var(--exhibition-ink);
  background:linear-gradient(180deg,#f2f7fbe6,#f6f9fb99);
  border-bottom:1px solid #d3dfe880;
}
.project-bar a {
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;
  width:max-content;max-width:100%;margin-block:0;padding:5px 13px;
  border:1px solid #c6d7e3;border-top-color:#f9fcff;border-radius:999px;
  color:var(--exhibition-ink);background:var(--exhibition-glass);box-shadow:inset 0 1px 0 #fff;
  font:500 .82rem/1.45 "Inter","PingFang SC","Microsoft YaHei",sans-serif;
  letter-spacing:.025em;text-decoration:none;
}
body[data-team] .note h2,.project-page .project-hero h1,.project-index .folio-head h2 {color:var(--exhibition-ink)}
body[data-team] .ordinal,body[data-team] .note h2 small,
.project-index .object-id,.project-index .folio-head p,.project-page .project-kicker {color:var(--exhibition-muted)}
body.has-project-index {background-color:#f5f8fb}
.project-page {
  --folio-ink:var(--exhibition-ink);--folio-line:var(--exhibition-rule);
  background:radial-gradient(ellipse at 10% 0,#e3edf5 0,transparent 42rem),#f8fafc
}
.project-page .project-kicker {display:flex;align-items:center;gap:10px}
.project-page .project-kicker::before {content:"";width:24px;height:1px;background:#91adbf;flex:none}
.project-page .series-nav {border-color:var(--exhibition-rule)}
.project-page .series-nav a {color:#305674}
.knowledge-page .map-tools button,.knowledge-page .map-navigator button {border-radius:999px}
@media(hover:hover) {
  .project-bar a:hover {
    color:#173553;background:#edf5fa;border-color:#9eb7c9
  }
}
@media(max-width:680px){
  .project-bar a {min-height:38px;padding-inline:10px}
  body[data-team] .mast .brand .exhibition-wordmark {width:76px}
}

/* Direction marks use strokes so phone keyboards cannot substitute emoji. */
:is(body[data-team],.knowledge-page) .nav-mark {
  display:inline-block;width:.48em;height:.48em;flex:none;
  border-top:1.4px solid currentColor;border-right:1.4px solid currentColor;
  vertical-align:.15em;margin-left:.5em;
}
:is(body[data-team],.knowledge-page) .nav-mark.back {transform:rotate(-135deg);margin:0 .5em 0 0}
:is(body[data-team],.knowledge-page) .nav-mark.down {transform:rotate(135deg)}
@media(max-width:1000px){
  :is(body[data-team],.knowledge-page) {--story-hairline:#beced9;--story-type:system-ui,"PingFang SC","Microsoft YaHei",sans-serif}
  body[data-team] .mast {
    height:auto;min-height:58px;max-width:640px;margin-inline:auto;
    gap:10px;padding:6px clamp(10px,3vw,20px);align-items:center;
  }
  body[data-team] .mast .brand {flex:none}
  body[data-team] .mast .brand .exhibition-wordmark {width:clamp(53px,15vw,72px)}
  body[data-team] .nav-team {display:none}
  body[data-team] .pin {
    min-width:min(108px,32%);max-width:35%;padding:7px 10px;gap:4px;
    border:1px solid var(--story-hairline);border-radius:5px;background:#f8fbfd;
    color:var(--exhibition-ink);font:550 clamp(13px,3.4vw,15px)/1.2 var(--story-type);
  }
  body[data-team] .pin .ordinal {color:#516b7d;font:500 10px/1 var(--mono);letter-spacing:.08em}
  body[data-team] .pin[aria-pressed=true] {background:#e1ebf2;border-color:#728ea3;color:#173952}
  body[data-team] .note {margin:0;border:0;border-top:1px solid var(--story-hairline);border-bottom:1px solid var(--story-hairline);background:transparent;padding:15px 2px}
  body[data-team] .note::before,body[data-team] .note::after {display:none}
  body[data-team] .note h2 {font:600 17px/1.35 var(--story-type);gap:8px}
  body[data-team] .note h2 .ordinal,body[data-team] .note h2 small {font:500 10px/1.3 var(--mono)}
  body[data-team] .note p {font:400 15px/1.7 var(--story-type)}
  body[data-team] .note p.follow {font-size:13px}
}

@media(min-width:1001px){
  .knowledge-page .map-mast-label {margin-right:auto}
}
@media(max-width:1000px){
  .knowledge-page .mast {justify-content:space-between;gap:6px;padding:6px clamp(6px,2vw,16px);min-height:58px}
  .knowledge-page .mast .exhibition-wordmark {width:clamp(48px,15vw,72px);display:block}
}

/* One control for moving between exhibits, maps and positions in the index. */
:is(body[data-team],.knowledge-page) .mast nav {
  display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap;
  gap:6px; margin-left:auto;
}
:is(body[data-team],.knowledge-page) a.exhibit-nav-link {
  box-sizing:border-box; position:static; display:flex; align-items:center; justify-content:center; gap:0;
  width:max-content; min-height:44px; padding:0 14px; border:1px solid #b9cad7; border-radius:999px;
  background:var(--exhibition-glass); box-shadow:inset 0 1px 0 #fff; color:var(--exhibition-ink);
  font:500 14px/1.2 system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
  letter-spacing:0; text-decoration:none; white-space:nowrap;
}
:is(body[data-team],.knowledge-page) a.exhibit-nav-link:is(:active,[aria-current="page"]) {
  background:#dee9f1; border-color:#8da6ba;
}
@media(hover:hover){
  :is(body[data-team],.knowledge-page) a.exhibit-nav-link:hover {background:#e7eff5;border-color:#829db2}
}
:is(body[data-team],.knowledge-page) a.exhibit-nav-link:focus-visible {outline:2px solid #446c9d;outline-offset:2px}
body[data-team] .nav-mark.up {transform:rotate(-45deg);margin:3px .55em 0 0}
@media(max-width:680px){
  :is(body[data-team],.knowledge-page) .mast nav {gap:4px}
  :is(body[data-team],.knowledge-page) a.exhibit-nav-link {padding-inline:clamp(5px,1.8vw,10px);font-size:12px}
}
@media(max-width:360px){
  .knowledge-page .mast nav {gap:3px}
  .knowledge-page .mast a.exhibit-nav-link {padding-inline:4px}
}

.opening .opening-credits {display:block;align-self:flex-end;margin-top:12px;color:#486079;font:400 10px/1.45 system-ui,sans-serif}
@media(max-width:680px),(max-height:520px) and (pointer:coarse){
  .opening .opening-credits {margin:9px auto 0;text-align:center;font-size:9px}
}
