.facade-lettering {
  position: absolute;
  z-index: 4;
  inset: 0 auto auto 0;
  overflow: hidden;
  transform-origin: top left;
  pointer-events: none;
  color: var(--annotation-paper);
}

.facade-inscription {
  position: absolute;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  transform-origin: top left;
}

/* Restrict the contrast veil to the open room and let its edges dissolve
   into the warm ceiling and furnishings. The door leaves stay untouched. */
.facade-inscription::before {
  position: absolute;
  z-index: -1;
  inset: -10% -12% -10% -18%;
  background: radial-gradient(ellipse at 41% 50%, color-mix(in srgb, #20221f 65%, transparent) 0%,
    color-mix(in srgb, #20221f 49%, transparent) 43%, transparent 76%);
  content: '';
}

.facade-inscription::after {
  position: absolute;
  inset: 10% auto 10% 0;
  width: 1px;
  background: currentColor;
  content: '';
}

.facade-line {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  padding-inline-start: clamp(8px, 1vw, 18px);
  color: inherit;
  text-decoration: none;
  font-family: var(--sequence-display);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.facade-line > span {
  display: block;
  flex: none;
  font-size: 64px;
  transform-origin: left center;
  text-shadow: 0 1px 3px color-mix(in srgb, #20221f 85%, transparent);
}
.facade-line:hover > span { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.facade-line:focus-visible { outline: 1px solid currentColor; outline-offset: -1px; }
.stage.static .facade-lettering { display: none; }
