/* One display scale for the first heading on every main page. */
:root{--page-heading-size:clamp(64px,6.87vw,99px);--page-vertical-inset:clamp(20px,6.1svh,55px)}
.landing-page .title,
.installation-title,
.journal-title,
.gallery-title,
.hero h1#page-title{
  font-family:'slight-chance','Slight Chance','Max Hana','403 Super Vega',serif!important;
  font-size:var(--page-heading-size)!important;
  font-weight:400!important;
  line-height:.869!important;
  letter-spacing:-2.5px!important;
  font-feature-settings:'salt' 1,'dlig' 1;
}
/* Back links and the opening copy share the page gutter. */
.installation-title,
.journal-title,
.gallery-title{top:calc(var(--page-vertical-inset) + 66px)!important}
.installation-overlay .back-button,
.journal-content .back-button,
.gallery-home{top:var(--page-vertical-inset)!important}
@media(min-width:769px){
  .installation-nav,
  .installation-footer,
  .journal-info,
  .gallery-nav{bottom:var(--page-vertical-inset)!important}
}
.what-back{margin-bottom:30px}
.hero-left .small{margin-top:30px}
.landing-page .title{margin-bottom:30px!important}
.installation-title{
  left:30px;
  right:auto;
  transform:none;
  text-align:left;
}
@media(max-width:768px){
  :root{--page-heading-size:48px;--page-vertical-inset:20px}
  .landing-page .content-section{padding-top:calc(var(--page-vertical-inset) + 30px)!important}
  .installation-title,
  .journal-title,
  .gallery-title{top:calc(var(--page-vertical-inset) + 64px)!important}
  .site-back,
  .installation-overlay .site-back,
  .journal-content .site-back,
  .what-back{
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .site-back:hover,
  .installation-overlay .site-back:hover,
  .journal-content .site-back:hover,
  .what-back:hover{
    background:transparent;
    color:#fff;
    text-decoration:underline;
    text-underline-offset:3px;
  }
  .landing-page .title,
  .installation-title,
  .journal-title,
  .gallery-title,
  .hero h1#page-title{line-height:.9!important}

  /* Match the left edge of each Back link. */
  .installation-title{
    left:20px;
  }
  .gallery-title,
  .journal-title{
    left:20px;
    transform:none;
    text-align:left;
  }
  .gallery-description,
  .journal-content .journal-description.mobile-only{
    left:20px;
    right:auto;
    transform:none;
    text-align:left;
  }
  .hero h1#page-title,
  .hero-left .small{
    text-align:left;
  }
  .hero-left .small{
    margin-inline:0;
  }
}

/* Installation: one centered heading and instruction line. */
.installation-title {
  top: var(--page-vertical-inset) !important;
  left: 50% !important;
  right: auto !important;
  width: max-content;
  max-width: calc(100vw - 140px);
  margin: 0;
  transform: translateX(-50%) !important;
  text-align: center !important;
  word-spacing: .12em;
}
.installation-footer {
  left: 50% !important;
  right: auto !important;
  bottom: calc(var(--page-vertical-inset) + 15px) !important;
  width: min(560px, calc(100vw - 40px)) !important;
  transform: translateX(-50%) !important;
  align-items: center !important;
  text-align: center !important;
  pointer-events: none;
}
.installation-footer .instruction-text { margin: 0; text-align: center; }
@media (max-width: 768px) {
  .installation-title {
    display: block !important;
    width: calc(100vw - 130px);
    max-width: none;
    white-space: normal;
  }
  .installation-footer {
    bottom: 145px !important;
  }
}
