/* journey-type.js: the journey's standing line */
.jt-mark {
    position: absolute; z-index: 30;
    left: clamp(16px, 4vw, 56px); top: 96px;
    margin: 0;
    display: flex; gap: 14px;
    font: 500 11px/1.4 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(244, 239, 230, .7);
    opacity: 0;
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}
.jt-mark.is-on { opacity: 1; }
.jt-mark b { color: #f4efe6; font-weight: 500; font-variant-numeric: tabular-nums; }
/* no running text in the tunnel: the quotes, their sources and the picture tags are gone */
#journey .nv-story, #journey .nv-note, #journey .nv-dossier, #journey .mont-tags, #journey .pb-say, #journey .nv-head { display: none !important; }
@media (max-width: 760px) { .jt-mark { top: 72px; } }

/* The opening's name is drawn by portrait-burst.js as a masthead behind the face (between the ground and the tiles);
   this element only carries its state (.is-in once the loader has gone). */
.pb-name { position: absolute; visibility: hidden; pointer-events: none; margin: 0; }

/* two small lines hang under the masthead; the left one names the hovered picture's world */
.pb-meta {
    position: absolute; z-index: 6; margin: 0; pointer-events: none;
    font: 400 11px/1.55 var(--pb-mono, 'Geist Mono', ui-monospace, monospace); letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(243, 236, 224, 0.62);
    opacity: 0; transform: translateY(8px); transition: opacity 0.9s ease 0.9s, transform 0.9s ease 0.9s, color 0.3s ease;
}
.pb-name.is-in ~ .pb-meta { opacity: 1; transform: none; }
.pb-host.pb-moving .pb-meta, .pb-tech .pb-meta { opacity: 0; transition-delay: 0s; transition-duration: 0.3s; }
.pb-meta-a { right: 4.6vw; top: calc(7.5vh + 16.6vw); text-align: right; }
.pb-meta-b { left: 4.6vw; top: calc(7.5vh + 16.6vw); }
.pb-meta-b b { font-weight: 400; color: #e8703f; }
.pb-meta-b.is-world { color: rgba(243, 236, 224, 0.92); }
html.pb-static .pb-meta, .pb-host.pb-gone .pb-meta { display: none; }
@media (max-width: 760px) { .pb-meta { display: none; } }
/* the first-visit hint sits with the left line, clear of the face */
@media (min-width: 761px) { #journey .pb-hint { left: 4.6vw; top: calc(7.5vh + 16.6vw + 50px); transform: none; } }

/* The opening, quieter: the name, the face, one line of role and the two ways in. The labels around them are gone
   (the left line only speaks when a picture is hovered), and what is left arrives in order once the loader has gone. */
#journey .pb-cue, #journey .pb-hint, #journey .pb-credits-btn, #journey .pb-way-k, #journey .pb-way-for, #journey .pb-way-s { display: none !important; }
#journey .pb-meta-b:not(.is-world) { opacity: 0 !important; }
#journey .pb-name.is-in ~ .pb-meta { transition-delay: 1.25s, 1.25s, 0s; }
#journey .pb-ways { animation: none; opacity: 1; }
#journey .pb-name:not(.is-in) ~ .pb-ways { opacity: 0; }
#journey .pb-name.is-in ~ .pb-ways .pb-way { animation: pb-way-in 1.2s cubic-bezier(.16, 1, .3, 1) 1.55s backwards; }
#journey .pb-name.is-in ~ .pb-ways .pb-way--art { animation-delay: 1.8s; }
@keyframes pb-way-in { from { opacity: 0; translate: 0 18px; } }
@media (prefers-reduced-motion: reduce) { #journey .pb-name.is-in ~ .pb-ways .pb-way { animation: none; } }
