/* A hanging shop sign. Both print states come from the Room's approved shirt study. */
.immersive-home .revival-sign {
  --paper: #f4e9d4;
  --print-ink: #282722;
  --red-ink: #a83722;
  display: grid;
  grid-template-columns: 5.75rem 1fr 1.4rem;
  align-items: center;
  gap: .9rem;
  width: 21rem;
  max-width: 37%;
  padding: .45rem .95rem .45rem .45rem;
  top: 55%;
  right: 5.5%;
  color: var(--print-ink);
  background: var(--paper);
  border: 1px solid #453a29;
  box-shadow: 0 2px 0 #937e57, 2px 8px 16px #100d0baa;
  transform: rotate(-2deg);
  text-decoration: none;
  z-index: 1;
}
.revival-sign::before {
  content: "";
  position: absolute;
  width: 54%;
  height: 1.75rem;
  left: 23%;
  bottom: 100%;
  background:
    linear-gradient(to top right, transparent 48%, #cec3a9 49%, #cec3a9 51%, transparent 52%) right / 50% 100% no-repeat,
    linear-gradient(to top left, transparent 48%, #cec3a9 49%, #cec3a9 51%, transparent 52%) left / 50% 100% no-repeat;
  pointer-events: none;
}
.revival-sign::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 1.57rem);
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6ab77;
  box-shadow: 0 1px 2px #1a120d;
}
.revival-sign .revival-proof {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #363530;
  isolation: isolate;
}
.revival-proof::before, .revival-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/back-room/model-story.webp");
  background-repeat: no-repeat;
  background-size: 435.14% 290.09%;
  background-position: 17.83% 46.1%;
}
.revival-proof::after {
  background-position-x: 82.6%;
  clip-path: inset(0 0 0 50%);
}
.revival-registration {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 1px;
  left: 50%;
  background: #f9e9bf;
  box-shadow: 1px 0 0 #211e19a3;
}
.revival-sign .revival-lettering {display:block;min-width:0}
.revival-sign .revival-enter {
  display: block;
  color: var(--red-ink);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.revival-sign strong {
  display:block;
  font-size: clamp(1.25rem,1.65vw,1.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: .14rem 0 .22rem;
  white-space: nowrap;
}
.door-marker.revival-sign small {
  display:block;
  margin: 0;
  line-height: 1.23;
  font-size: .87rem;
  text-wrap: balance;
}
.revival-sign small span {display:inline-block;white-space:nowrap}
.revival-sign .revival-arrow {width:1.35rem;height:1.35rem;stroke-width:2;color:var(--red-ink)}
.revival-sign:focus-visible {outline:3px solid #fff9ed;outline-offset:5px}
@media (prefers-reduced-motion:no-preference) {
  .revival-proof::after {animation:mw-restore-print 5s ease-in-out infinite;animation-play-state:var(--revival-motion-state, running)}
  .revival-registration {animation:mw-restore-edge 5s ease-in-out infinite;animation-play-state:var(--revival-motion-state, running)}
  .revival-sign .revival-arrow {transition:transform .2s ease-out}
  .revival-sign:is(:hover,:focus-visible) .revival-arrow {transform:translateX(3px)}
}
@keyframes mw-restore-print {
  0%, 100% {clip-path:inset(0 0 0 100%)}
  19%, 22% {clip-path:inset(0 0 0 0%)}
  34%, 93% {clip-path:inset(0 0 0 50%)}
}
@keyframes mw-restore-edge {
  0%, 100% {left:100%}
  19%, 22% {left:0%}
  34%, 93% {left:50%}
}
@media (max-width:1000px) {
  .immersive-home .street-scene {
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:1.1rem;
  }
  .immersive-home .revival-sign {
    position:relative;
    inset:auto;
    width:min(21rem,100%);
    max-width:100%;
    grid-template-columns:4.25rem 1fr 1.4rem;
    transform:none;
  }
  .revival-sign::before, .revival-sign::after {display:none}
  .revival-sign strong {font-size:1.32rem}
}
@media (max-width:620px) {
  .immersive-home .street-scene {justify-content:flex-start}
  .immersive-home .revival-sign {gap:.7rem}
}
@media (max-width:620px) and (max-height:740px) {
  .immersive-home .street-scene {padding-top:calc(var(--mw-header-height) + 1rem)}
  .immersive-home .street-copy h1 {font-size:clamp(41px,11vw,54px);margin-bottom:1rem}
}
@media (max-width:375px) and (max-height:640px) {
  .immersive-home .street-scene {gap:.55rem}
}
