/* The article remains in normal document flow above its smaller exhibition room. */
.facility-project {
  --facility-reading: 0;
  isolation: isolate;
}
.facility-project-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #080a0d;
}
.facility-project-still,
.facility-project-world,
.facility-project-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.facility-project-still {
  object-fit: cover;
  opacity: .1;
}
.facility-project-world {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.facility-project-world canvas { display: block; width: 100%; height: 100%; }
.facility-ready .facility-project-world { opacity: 1; }
.facility-ready .facility-project-still { opacity: 0; }
.facility-project-shade {
  background: linear-gradient(90deg, rgba(3, 5, 7, .53), rgba(3, 5, 7, .03) 67%),
    linear-gradient(0deg, rgba(3, 5, 7, .27), transparent 58%, rgba(3, 5, 7, .22));
}
.facility-project-shade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #040609;
  opacity: calc(var(--facility-reading) * .7);
}
.facility-project main,
.facility-project .site-footer { position: relative; z-index: 1; }
.facility-project .site-footer { background: rgba(4, 6, 9, .75); }
.facility-ready .p-hero { background: transparent; }
.facility-ready .p-hero .bg { opacity: 0; transition: opacity 1s ease; }
.facility-ready .p-hero .num-bg { opacity: .1; }
.facility-ready .p-hero::after {
  background: linear-gradient(0deg, rgba(4, 6, 9, .8), rgba(4, 6, 9, .08) 65%, transparent);
}
.facility-ready .p-hero .content {
  padding-top: calc(var(--header-h) + 108px);
  padding-bottom: clamp(76px, 9vh, 110px);
}
.facility-ready .p-hero h1 .cn { font-size: clamp(54px, 7.2vw, 132px); }
.facility-ready .p-hero h1 .en-title { font-size: clamp(26px, 3.25vw, 54px); }
.facility-ready .p-hero .tagline { max-width: 32em; font-size: clamp(16px, 1.45vw, 21px); }
.facility-ready .p-hero .bars { display: none; }
.facility-project .chapter-head .q,
.facility-project .meta-strip dt,
.facility-project .toc a { color: #b3b8c1; }
.facility-project .chapter {
  background: linear-gradient(90deg, transparent, rgba(4, 6, 9, .23) 15%, rgba(4, 6, 9, .23) 85%, transparent);
}
.facility-room-bar {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-h) + 26px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #d6d9de;
  font: 11px/1.5 var(--f-mono);
  letter-spacing: .16em;
}
.facility-room-label { display: flex; align-items: center; gap: 11px; }
.facility-room-label i { width: 5px; height: 5px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.facility-room-label b { color: var(--accent); font-weight: 500; }
.facility-home-link { display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 12px #000; }
.facility-home-link:hover { color: var(--accent); }
.facility-motion {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(225, 232, 240, .24);
  color: #e0e3e8;
  background: rgba(4, 6, 9, .46);
  font: 11px/1.5 var(--f-mono);
  cursor: pointer;
  visibility: hidden;
}
.facility-ready .facility-motion { visibility: visible; }
.facility-motion:hover { border-color: var(--accent); }
.facility-motion:focus-visible,
.facility-home-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.facility-project [hidden] { display: none !important; }
@media (min-width: 1000px) {
  .facility-ready .p-hero .content { width: 40%; padding-right: 0; }
  .facility-ready .p-hero h1 .cn { font-size: clamp(42px, 3.8vw, 72px); line-height: 1.12; }
  .facility-ready .p-hero h1 .en-title { font-size: clamp(24px, 2.2vw, 38px); line-height: 1.06; }
  .facility-ready .p-hero .kicker { margin-bottom: 16px; font-size: 10px; line-height: 1.7; }
  .facility-ready .p-hero .tagline { font-size: clamp(15px, 1.2vw, 18px); margin-top: 20px; }
  .facility-ready .p-hero .btn-row { gap: 10px; margin-top: 24px; }
  .facility-ready .p-hero .btn { gap: 10px; padding: 13px 16px; font-size: 12px; }
}
@media (min-width: 701px) and (max-width: 999px) {
  .facility-ready .p-hero .content { width: 55%; padding-right: 0; }
  .facility-ready .p-hero h1 .cn { font-size: clamp(38px, 5.2vw, 52px); line-height: 1.1; }
  .facility-ready .p-hero h1 .en-title { font-size: 26px; line-height: 1.06; }
  .facility-ready .p-hero .tagline { font-size: 15px; margin-top: 18px; }
  .facility-ready .p-hero .btn-row { margin-top: 24px; }
  .facility-ready .p-hero .btn { padding: 12px 16px; font-size: 12px; }
}
@media (max-width: 700px) {
  .facility-ready .p-hero { min-height: 700px; }
  .facility-ready .p-hero .content { padding-bottom: 80px; }
  .facility-ready .p-hero h1 .cn { font-size: clamp(44px, 10vw, 70px); }
  .facility-ready .p-hero h1 .en-title { font-size: clamp(25px, 6vw, 36px); }
  .facility-ready .p-hero .tagline { max-width: 30em; font-size: 16px; }
  .facility-room-bar { top: calc(var(--header-h) + 19px); font-size: 10px; letter-spacing: .08em; }
  .facility-project-shade { background: linear-gradient(0deg, rgba(3, 5, 7, .6), rgba(3, 5, 7, .02) 85%); }
  .facility-motion { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .facility-project-world,
  .facility-ready .p-hero .bg { transition: none; }
}
@media print {
  .facility-project-backdrop,
  .facility-room-bar,
  .facility-motion { display: none; }
  .facility-ready .p-hero .bg { opacity: 1; }
}
