.nv-track, .nv-after {
    --nv-bg: #070707;      /* the colour the WebGL ground actually renders as, so labels and scene match */
    --nv-ink: #0e0e0e;
    --nv-dim: rgba(14, 14, 14, 0.55);
    --nv-faint: rgba(14, 14, 14, 0.14);
    --nv-accent: #ff3b1f;
    --nv-display: 'Syne', sans-serif;
    --nv-sans: 'Geist', 'Inter', system-ui, sans-serif;
    --nv-skew: 0deg;
}

.nv-track *, .nv-track *::before, .nv-track *::after { box-sizing: border-box; }

.nv-track, .nv-after {
    background: var(--nv-bg);
    color: var(--nv-ink);
    font-family: var(--nv-sans);
    -webkit-font-smoothing: antialiased;
}

/* Scroll length = length of the journey */
.nv-track {
    position: relative;
    height: 320vh;
}

.nv-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

@media (pointer: fine) {
    .nv-stage { cursor: none; }
    .nv-stage a { cursor: none; }
}

.nv-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Story: one sentence that grows along the journey ---- */
.nv-story {
    position: absolute;
    left: clamp(16px, 4vw, 64px);
    bottom: clamp(24px, 6vh, 56px);
    width: min(780px, calc(100vw - 32px));
    pointer-events: none;
}

.nv-narrative {
    margin: 0;
    font-family: var(--nv-sans);
    font-weight: 500;
    font-size: clamp(1.5rem, 3.1vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--nv-ink);
    opacity: var(--nv-story-o, 1);
}

.nv-narrative .is-past { color: rgba(14, 14, 14, 0.28); transition: color 0.8s ease; }

.nv-narrative .wd {
    display: inline-block;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.nv-narrative .is-now .wd { opacity: 0; transform: translateY(0.35em); filter: blur(6px); }
.nv-narrative.is-in .is-now .wd { opacity: 1; transform: none; filter: none; }

/* ---- Note: the concrete fact behind each clause ---- */
.nv-note {
    position: absolute;
    left: clamp(16px, 4vw, 64px);
    top: clamp(16px, 4vh, 40px);
    width: min(560px, calc(100vw - 32px));
    pointer-events: none;
    opacity: var(--nv-story-o, 1);
}

.nv-note-label {
    margin: 0;
    font-size: clamp(3rem, 8vw, 8.5rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: var(--nv-accent);
}

.nv-note-text {
    margin: 14px 0 0;
    max-width: 22ch;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--nv-ink);
}

.nv-note > * { transition: opacity 0.8s ease 0.35s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; opacity: 0; transform: translateY(10px); }
.nv-note.is-in > * { opacity: 1; transform: none; }
.nv-note.is-empty { display: none; }

/* the sentence gets long: older clauses step down in size so the newest leads */
.nv-narrative .is-past { display: none; }      /* only the clause being told; the pile of grey read as clutter */

/* ---- Dossier: what is known about one person so far ---- */
.nv-dossier {
    position: absolute;
    right: clamp(16px, 4vw, 64px);
    top: clamp(16px, 4vh, 40px);
    width: min(320px, calc(100vw - 32px));
    font-size: 12px;
    line-height: 1.4;
    color: var(--nv-ink);
    transition: opacity 0.6s ease;
}

.nv-dossier-head {
    display: flex;
    justify-content: space-between;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nv-ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nv-dossier-head span:last-child { font-variant-numeric: tabular-nums; color: var(--nv-accent); }

.nv-dossier ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: nv;
}

.nv-dossier li {
    counter-increment: nv;
    display: grid;
    grid-template-columns: 2.4em 1fr;
    padding: 6px 0;
    border-bottom: 1px solid var(--nv-faint);
    color: var(--nv-dim);
}

.nv-dossier li::before {
    content: counter(nv, decimal-leading-zero);
    font-variant-numeric: tabular-nums;
}

.nv-dossier li.is-new { color: var(--nv-ink); animation: nv-in 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.nv-dossier li.is-new::before { color: var(--nv-accent); }

@keyframes nv-in {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
}

.nv-track:not(.is-moving) .nv-dossier { opacity: 0; }

/* ---- Cursor ---- */
.nv-cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    display: grid;
    place-items: center;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), height 0.45s cubic-bezier(0.16, 1, 0.3, 1), margin 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
    z-index: 5;
}

.nv-cursor.is-on { opacity: 1; }
.nv-cursor.is-big { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.nv-cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

.nv-cursor span {
    max-width: 104px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-align: center;
    color: #000;
    opacity: 0;
    transition: opacity 0.2s;
}

.nv-cursor.is-big span { opacity: 1; transition-delay: 0.15s; }

@media (pointer: coarse) { .nv-cursor { display: none; } }

.nv-cue {
    position: absolute;
    left: 50%;
    bottom: 32px;
    margin: 0;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 500;
    color: var(--nv-dim);
    transition: opacity 0.6s ease;
}

.nv-cue::after {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    margin: 10px auto 0;
    background: var(--nv-ink);
    animation: nv-cue 1.8s ease-in-out infinite;
    transform-origin: top;
}

@keyframes nv-cue {
    0%, 100% { transform: scaleY(0.2); }
    50%      { transform: scaleY(1); }
}

.nv-track.is-moving .nv-cue { opacity: 0; }

/* ---- Ending ---- */
.nv-end {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(28px, 7vh, 64px);
    padding: 0 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    pointer-events: none;
}

.nv-track.is-named .nv-end { opacity: 1; transform: none; pointer-events: auto; }

/* At the end the dossier moves to the left; the name and the ending sit right of centre */
.nv-track.is-named .nv-dossier { right: auto; left: clamp(16px, 4vw, 64px); top: auto; bottom: clamp(16px, 4vh, 40px); }

@media (min-width: 701px) {
    .nv-end { padding-left: 20vw; }
}

.nv-line {
    margin: 0 0 16px;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.nv-jump {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.nv-jump a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--nv-ink);
    border-radius: 999px;
    color: var(--nv-ink);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.nv-jump a:hover, .nv-jump a:focus-visible { background: var(--nv-ink); color: var(--nv-bg); outline: none; }
.nv-jump span { margin: 0 0.4em; color: transparent; }

.nv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    margin: 0;
}

.nv-after {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 24px;
    padding: 64px 16px;
    font-size: 12px;
    color: var(--nv-dim);
}

/* Every borrowed image is credited: CC BY and CC BY-SA require it */
.nv-credits-list {
    max-width: 60rem;
    font-size: 11px;
    line-height: 1.6;
}

.nv-credits-list summary { cursor: pointer; font-weight: 600; }
.nv-credits-list ol { margin: 16px 0 0; padding-left: 2.5em; columns: 2 22rem; column-gap: 40px; }
.nv-credits-list li { break-inside: avoid; margin-bottom: 4px; }
.nv-credits-list a { color: var(--nv-ink); }

@media (max-width: 700px) {
    .nv-narrative { font-size: 1.25rem; }
    .nv-narrative .is-past { display: none; }
    .nv-note { top: 104px; }        /* under the one-line dossier */
    .nv-note-label { font-size: 3.2rem; }
    .nv-note-text { font-size: 1.05rem; }
    .nv-dossier { left: 16px; right: 16px; width: auto; top: 16px; font-size: 11px; }
    .nv-dossier li { display: none; }
    .nv-dossier li:last-child { display: grid; }
    .nv-track.is-named .nv-dossier { display: none; }
}

/* No journey for reduced motion: one still frame, the name assembled, the dossier complete */
@media (prefers-reduced-motion: reduce) {
    .nv-track { height: 100vh; height: 100svh; }
    .nv-cue::after { animation: none; }
    .nv-cue { display: none; }
    .nv-narrative .wd { transition: none; }
    .nv-end { opacity: 1; transform: none; pointer-events: auto; transition: none; }
}


/* the dossier keeps only its counter: the list was small text nobody reads */
.nv-dossier ol { display: none; }
.nv-dossier-head { border-bottom: 0; padding-bottom: 0; margin: 0; }
.nv-track.is-named .nv-dossier ol { display: block; }
.nv-track.is-named .nv-dossier-head { border-bottom: 1px solid var(--nv-ink); padding-bottom: 10px; margin-bottom: 12px; }

/* the figure and the sentence sit on their own patch of ground, like a printed label: images pass behind */
.nv-note { background: var(--nv-bg); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.nv-note { padding: 6px 14px 14px; margin: -6px 0 0 -14px; width: auto; max-width: min(560px, calc(100vw - 32px)); }
/* the sentence's ground is carried by each word, so it fades in with the word and never shows as an empty bar */
.nv-narrative { line-height: 1.22; }
.nv-narrative .wd { background: var(--nv-bg); padding: 0 0.14em; margin: 0 -0.14em; }

/* dark grounds (code, images, film, games): the type turns light */
.nv-stage.is-dark { --nv-ink: #f1f0ec; --nv-dim: rgba(241, 240, 236, 0.6); --nv-faint: rgba(241, 240, 236, 0.18); }
.nv-stage.is-dark .nv-narrative .is-past { color: rgba(241, 240, 236, 0.3); }
.nv-note, .nv-narrative, .nv-dossier, .nv-note-text { transition: color 0.5s ease; }

/* what Jovan built from the idea: the second voice, in the accent, after the sentence has landed */
.nv-now {
    margin: 18px 0 0;
    max-width: 44ch;
    font-size: clamp(1.05rem, 1.45vw, 1.45rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--nv-accent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.7s ease 0.9s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}
.nv-now.is-in { opacity: var(--nv-story-o, 1); transform: none; }
.nv-now:empty { display: none; }
.nv-now span { background: var(--nv-bg); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.14em; margin-left: -0.14em; }

/* the sentence is the lead now: larger, and set as one confident statement */
.nv-narrative { font-size: clamp(1.7rem, 3.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.04em; }
.nv-story { width: min(980px, calc(100vw - 32px)); }
@media (max-width: 700px) { .nv-narrative { font-size: 1.45rem; } .nv-now { font-size: 0.95rem; } }

/* symmetric: the figure on top, the sentence below, both on the axis */
.nv-note { left: 50%; transform: translateX(-50%); margin: 0; text-align: center; }
.nv-note-text { margin-left: auto; margin-right: auto; }
.nv-story { left: 50%; transform: translateX(-50%); text-align: center; }
.nv-now { margin-left: auto; margin-right: auto; }
.nv-now span { margin-left: 0; }
.nv-dossier { display: none; }
.nv-end { padding-left: 16px !important; }
.nv-note-label { white-space: nowrap; }
@media (max-width: 700px) { .nv-note-label { font-size: 3rem; } }

/* the narration reads as verse: a lighter cut, more air */
.nv-narrative { font-weight: 400; letter-spacing: -0.03em; line-height: 1.12; max-width: 26ch; margin-left: auto; margin-right: auto; }
.nv-note-text { font-weight: 400; }
/* the last frame: only the name, its line and the two links */
.nv-end .nv-line { color: var(--nv-dim); font-weight: 400; }

/* an instrument readout: depth, gate, speed */
.nv-hud {
    position: absolute; left: clamp(16px, 4vw, 64px); bottom: 16px; margin: 0; z-index: 2;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; letter-spacing: 0.04em;
    color: var(--nv-dim); white-space: pre; font-variant-numeric: tabular-nums;
}
.nv-track.is-named .nv-hud { opacity: 0; }

.nv-map { position: absolute; right: clamp(16px, 4vw, 64px); bottom: 14px; z-index: 2; display: flex; align-items: flex-end; gap: 10px; }
.nv-map canvas { width: clamp(150px, 16vw, 260px); height: auto; display: block; }
.nv-map span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; color: var(--nv-dim); white-space: pre; font-variant-numeric: tabular-nums; }
.nv-track.is-named .nv-map { opacity: 0; transition: opacity 0.6s; }
@media (max-width: 700px) { .nv-map canvas { width: 110px; } }

.nv-final { display: none; position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); margin: 0; text-align: center;
    font-size: clamp(3.4rem, 12vw, 13rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.06em; opacity: 0; transition: opacity 1s ease; }
.nv-end-3 .nv-final { display: block; }
.nv-end-3 .nv-track.is-named .nv-final { opacity: 1; }
.nv-end-1 .nv-end { bottom: 6vh; }
.nv-end-1 .nv-end .nv-line { display: inline-block; padding: 2px 10px; background: var(--nv-bg); }
.nv-end-1 .nv-end a { background: var(--nv-bg); }

/* the existing site follows the journey; on the final page this is simply the next section */
.nv-site { height: 100vh; height: 100svh; background: #0c0c0e; }
.nv-site iframe { display: block; width: 100%; height: 100%; border: 0; }
/* while flying through the letter the closing text steps aside */
.nv-track.is-exiting .nv-end { opacity: 0; }

/* the radical redesign: a 1-bit drawing on black. Narration in mono capitals, the figure in the accent */
.nv-stage { --nv-ink: #ededed; --nv-dim: rgba(237,237,237,0.55); --nv-faint: rgba(237,237,237,0.16); }
.nv-narrative { font-family: 'Geist Mono', ui-monospace, monospace; font-weight: 400; text-transform: uppercase;
    font-size: clamp(0.95rem, 1.35vw, 1.3rem); line-height: 1.5; letter-spacing: 0.04em; max-width: 46ch; color: #ededed; }
.nv-note-label { font-weight: 600; letter-spacing: -0.07em; }
.nv-note-text { font-family: 'Geist Mono', ui-monospace, monospace; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; color: rgba(237,237,237,0.7); }
.nv-end .nv-line { color: rgba(237,237,237,0.7); }
.nv-jump a { color: #ededed; border-color: #ededed; }

/* no figure and caption on top: the story alone carries the frame, large, on the axis */
.nv-note { display: none !important; }
.nv-story { width: min(1100px, calc(100vw - 32px)); bottom: clamp(32px, 9vh, 96px); }
.nv-narrative { font-family: var(--nv-sans); text-transform: none; font-weight: 500;
    font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 22ch; color: #f2f2f2; }
.nv-narrative .wd { background: transparent; text-shadow: 0 0 24px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.9); }
@media (max-width: 700px) { .nv-narrative { font-size: 1.75rem; } }

/* no background behind any type: it reads by inverting whatever passes beneath it. Everything larger. */
.nv-story { mix-blend-mode: difference; width: min(1300px, calc(100vw - 32px)); }
.nv-narrative { font-size: clamp(2.3rem, 5.6vw, 6rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 20ch; color: #fff; }
.nv-narrative .wd { background: none !important; text-shadow: none !important; }
.nv-end .nv-line, .nv-end-1 .nv-end .nv-line { background: none !important; font-size: clamp(1.3rem, 2.2vw, 2.2rem); color: #fff; mix-blend-mode: difference; }
.nv-end a, .nv-end-1 .nv-end a { background: none !important; font-size: 15px; padding: 12px 22px; color: #fff; border-color: #fff; }
.nv-end { mix-blend-mode: difference; }
@media (max-width: 700px) { .nv-narrative { font-size: 2.1rem; } }

/* the story on the clean dark ground: plain white, no blend, no backing, generous */
.nv-story, .nv-end, .nv-end .nv-line { mix-blend-mode: normal !important; }
.nv-narrative { font-size: clamp(2rem, 4.4vw, 4.8rem); line-height: 1.04; max-width: 21ch; color: #f2f2f2; }
@media (max-width: 700px) { .nv-narrative { font-size: 1.9rem; } }

/* back on paper: ink type, ink drawing */
.nv-stage { --nv-ink: #111; --nv-dim: rgba(17,17,17,0.55); --nv-faint: rgba(17,17,17,0.16); }
.nv-narrative { color: #111; }
.nv-end .nv-line, .nv-end-1 .nv-end .nv-line { color: #111; }
.nv-end a, .nv-end-1 .nv-end a { color: #111; border-color: #111; }
.nv-jump a:hover { background: #111; color: #ece9e2; }

/* large, heavy type in full contrast with each part's colour: ink on light grounds, white on dark ones */
.nv-stage { --nv-ink: #0b0b0b; }
.nv-stage.is-dark { --nv-ink: #ffffff; }
.nv-narrative { color: var(--nv-ink) !important; font-weight: 600; font-size: clamp(2.6rem, 6.6vw, 7.6rem); line-height: 0.96;
    letter-spacing: -0.05em; max-width: 18ch; transition: color 0.4s ease; }
.nv-story { width: min(1500px, calc(100vw - 32px)); bottom: clamp(24px, 6vh, 72px); }
.nv-end .nv-line, .nv-end-1 .nv-end .nv-line { color: var(--nv-ink) !important; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.6rem); }
.nv-end a, .nv-end-1 .nv-end a { color: var(--nv-ink) !important; border-color: var(--nv-ink) !important; font-size: 16px; }
@media (max-width: 700px) { .nv-narrative { font-size: 2.4rem; } }

.nv-narrative { opacity: var(--nv-story-o, 1); transition: opacity 0.25s linear; }

/* the story arrives cleanly: no blur in the word reveal, and it never fades while being read */
.nv-narrative .is-now .wd { filter: none !important; }
.nv-narrative { opacity: 1 !important; }
.nv-story { opacity: var(--nv-story-o, 1); }

/* On the site the credits are one quiet line above the footer, in the site's dark ground. */
.nv-after {
    min-height: 0;
    padding: 28px clamp(16px, 4vw, 48px);
    background: #0c0c0e;
    color: rgba(250, 249, 240, 0.45);
    place-items: start;
}
.nv-after .nv-credits-list a { color: rgba(250, 249, 240, 0.75); }

/* ---- Ending, editorial: a caption line and a ruled bar instead of a centred tagline and pill buttons.
   After obys.agency (plain-text facts on a hairline) and locomotive.ca (type anchored to the bottom). ---- */
.nv-track .nv-end {
    left: clamp(16px, 4vw, 64px);
    right: clamp(16px, 4vw, 64px);
    /* clear the site's fixed Sound and Guide buttons in the bottom corners */
    bottom: 150px;
    padding: 0 !important;
    text-align: left;
    mix-blend-mode: normal !important;
}

.nv-track .nv-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 0 0 clamp(20px, 5vh, 48px);
    padding: 0;
    list-style: none;
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: rgba(14, 14, 14, 0.55);
}

.nv-track .nv-index b {
    margin-right: 0.6em;
    font-weight: 500;
    color: var(--nv-accent);
}

.nv-track .nv-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: baseline;
    padding-top: 14px;
    border-top: 1px solid rgba(14, 14, 14, 0.18);
    font-family: var(--nv-sans);
    font-size: 15px;
    line-height: 1.35;
    color: var(--nv-ink);
}

.nv-track .nv-bar p { margin: 0; }

.nv-track .nv-end .nv-line {
    font-size: inherit !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    color: var(--nv-ink) !important;
}

.nv-track .nv-place { color: rgba(14, 14, 14, 0.55); }

.nv-track .nv-end .nv-jump {
    justify-self: end;
    display: flex;
    gap: 24px;
    font-size: inherit;
    font-weight: 500;
}

.nv-track .nv-end .nv-jump a {
    padding: 0 0 2px !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0;
    font-size: inherit !important;
    background: none !important;
    color: var(--nv-ink) !important;
}

.nv-track .nv-end .nv-jump a:hover,
.nv-track .nv-end .nv-jump a:focus-visible { color: var(--nv-accent) !important; }

/* The dossier has said its piece by the time the name is whole. */
.nv-end-2 .nv-track.is-named .nv-dossier { opacity: 0; pointer-events: none; }

@media (max-width: 700px) {
    .nv-track .nv-index { justify-content: flex-start; gap: 4px 14px; font-size: 10px; }
    .nv-track .nv-bar { grid-template-columns: 1fr; gap: 6px; font-size: 14px; }
    .nv-track .nv-end .nv-jump { justify-self: start; margin-top: 6px; }
}

/* The journey overlaps the hero by one screen: the hero slides up under the pinned stage and is in place,
   exactly, when the stage dissolves at the end of the dive. */
.nv-track {
    height: 420vh;
    z-index: 20;
    margin-bottom: -100vh;
    margin-bottom: -100svh;
    background: transparent;
}
.nv-track .nv-stage { background: var(--nv-bg); }
.nv-track.is-through .nv-stage,
.nv-track.is-through .nv-stage * { pointer-events: none !important; }

@media (prefers-reduced-motion: reduce) {
    .nv-track { height: 100vh; height: 100svh; margin-bottom: 0; }
}

/* Ending 4: no name screen; the tunnel ends in the hero. */
.nv-end-4 .nv-end { display: none; }
.nv-end-4 .nv-track.is-named .nv-dossier { opacity: 0; pointer-events: none; }

/* ---- Ending 5: the hero forms itself behind the journey. Layout of face, name and meta lives in
   hero-formed.css (.hf-*), shared with the real hero section the journey hands over to. ---- */
.nv-form { display: none; }
.nv-end-5 .nv-form {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* while travelling, the forming hero is a negative of the ground behind the pictures */
    mix-blend-mode: difference;
    opacity: calc(0.42 + 0.58 * var(--e, 0));
}
.nv-end-5 .nv-form.is-ground { mix-blend-mode: normal; }
.nv-end-5 .nv-story, .nv-end-5 .nv-note, .nv-end-5 .nv-dossier { z-index: 2; }
.nv-end-5 .nv-form .hf-ground { opacity: var(--bloom, 0); background-color: transparent; }
.nv-end-5 .nv-face-dots { opacity: calc(1 - var(--photo, 0)); mix-blend-mode: normal; }
.nv-end-5 .nv-face { opacity: var(--photo, 0); }
.nv-end-5 .nv-face { filter: grayscale(1) contrast(1.12) brightness(1.02) blur(calc((1 - var(--photo, 0)) * 16px)); }
.nv-end-5 .nv-meta { opacity: var(--meta, 0); }

/* the name arrives a letter at a time, in outline, and fills at the end */
.hf-name .hf-l {
    /* inline, not inline-block: the letters keep the face's kerning (V–A, V–T) */
    display: inline;
    color: transparent;
    -webkit-text-stroke: 1px var(--hf-ink);
    opacity: 0;
    transition: opacity 0.9s ease, color 0.6s ease;
}
.hf-name .hf-l.on { opacity: 1; color: rgba(242, 237, 227, var(--fill, 1)); -webkit-text-stroke-color: rgba(242, 237, 227, calc(1 - var(--fill, 1) * 0.9)); }
.nv-end-5 .nv-track.is-formed .nv-form,
.nv-end-5 .nv-track.is-formed .nv-meta a { pointer-events: auto; }
.nv-end-5 .nv-track.is-formed .nv-stage { cursor: auto; }
.nv-end-5 .nv-track.is-formed .nv-cursor,
.nv-end-5 .nv-track.is-formed .nv-dossier,
.nv-end-5 .nv-end { display: none; }

/* the journey overlaps the hero by one screen and hands over to it */
.nv-end-5 .nv-track { height: 520vh; margin-bottom: -100vh; margin-bottom: -100svh; }
@media (prefers-reduced-motion: reduce) {
    .nv-end-5 .nv-track { height: 100vh; height: 100svh; margin-bottom: 0; }
}

/* ---- Ending 5: ink and watercolour ---- */
.nv-ink { display: none; }
.nv-end-5 .nv-ink { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.nv-end-5 .nv-form { z-index: 1; }


/* the intro reads, it does not shout: one clause at a time, the size of a caption over the scene */
.nv-narrative .is-past { display: none; }
.nv-narrative { font-size: clamp(1.5rem, 2.6vw, 2.9rem) !important; line-height: 1.08; letter-spacing: -0.035em; max-width: 30ch; font-weight: 500; }
.nv-story { width: min(1100px, calc(100vw - 32px)); }
@media (max-width: 700px) { .nv-narrative { font-size: 1.45rem !important; } }

/* the caption reads over a soft wash of the chapter's own ground rising from the foot of the screen — no box */
.nv-stage::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
    background: linear-gradient(to top, var(--nv-bg) 0%, var(--nv-bg) 30%, transparent 100%);
    opacity: calc(var(--nv-story-o, 1) * 0.92);
    pointer-events: none; z-index: 1;
}
.nv-story { z-index: 2; }
.nv-end-5 .nv-track.is-formed .nv-stage::after { display: none; }
@media (max-width: 700px) { .nv-story { bottom: 128px; } .nv-stage::after { height: 50%; } }
.nv-mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ---- The chapter's words (hero-nv.js QUOTES): a relation, a line by an author, its translation, its source ---- */
.nv-dossier, .nv-note, .nv-now { display: none !important; }
.nv-story { width: min(720px, calc(100vw - 32px)); bottom: clamp(76px, 10vh, 108px); left: clamp(16px, 4vw, 64px); transform: none; text-align: left; }
.nv-narrative { font-size: 16px; line-height: 1.2; letter-spacing: 0; font-weight: 400; max-width: none; margin: 0; }
.nv-narrative > span { display: block; width: fit-content; max-width: 100%; }
.nv-narrative .nv-rel, .nv-narrative .nv-tr, .nv-narrative .nv-by {
    background: var(--nv-bg); padding: 3px 8px; margin-left: -8px;
    transition: opacity 0.7s ease 0.15s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.nv-narrative .nv-rel {
    display: flex; align-items: center; gap: 14px;
    font: 500 13px/1.3 'Geist Mono', ui-monospace, Menlo, monospace;
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 14px;
}
.nv-narrative .nv-rel::after { content: ''; width: 64px; height: 1px; background: currentColor; opacity: 0.7; }
.nv-narrative .nv-q {
    max-width: 14ch;
    font-family: var(--nv-sans);
    font-style: normal; font-weight: 600;
    font-size: clamp(3.5rem, 3.9vw, 4.5rem);
    line-height: 1.0; letter-spacing: -0.02em; text-wrap: balance;
}
.nv-narrative .nv-q .wd { background: var(--nv-bg) !important; padding: 0.04em 0.16em 0.1em; margin: 0 -0.16em; }
.nv-narrative .nv-tr {
    margin-top: 14px; max-width: 46ch;
    font: 400 15px/1.4 var(--nv-sans); letter-spacing: 0;
    color: color-mix(in srgb, var(--nv-ink) 78%, transparent);
}
.nv-narrative .nv-by {
    margin-top: 10px;
    font: 400 12px/1.3 'Geist Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--nv-ink) 82%, transparent);
}
.nv-narrative .nv-tr { margin-top: 12px; }
.nv-narrative:not(.is-in) .nv-rel, .nv-narrative:not(.is-in) .nv-tr, .nv-narrative:not(.is-in) .nv-by { opacity: 0; transform: translateY(6px); }
.nv-narrative.is-in .nv-tr, .nv-narrative.is-in .nv-by { transition-delay: 0.7s; }
@media (max-width: 700px) {
    .nv-story { bottom: 128px; }
    .nv-narrative .nv-q { font-size: 2.125rem; max-width: 16ch; }
    .nv-narrative .nv-tr { font-size: 13px; }
    .nv-narrative .nv-by { font-size: 11px; }
    .nv-narrative .nv-rel { font-size: 12px; margin-bottom: 10px; }
}

/* ---- ?d=0 (html[data-pb-a]): the chapter's line set large OVER its key print, centred; one chapter at a time.
   Opacity and the rise are set per frame by hero-nv.js (quoteAt); the colour is the ground's ink or cream. ---- */
html[data-pb-a="1"] .nv-stage::after { display: none; }
html[data-pb-a="1"] .nv-story {
    left: 50%; right: auto; top: 53%; bottom: auto;
    width: min(1180px, calc(100vw - 32px));
    transform: translate(-50%, -50%); text-align: center; z-index: 3;
}
html[data-pb-a="1"] .nv-narrative { opacity: var(--nv-q-o, 0) !important; transform: translateY(var(--nv-q-y, 0px)); transition: none; will-change: opacity, transform; }
html[data-pb-a="1"] .nv-narrative > span { margin-left: auto; margin-right: auto; }
html[data-pb-a="1"] .nv-narrative .nv-rel,
html[data-pb-a="1"] .nv-narrative .nv-tr,
html[data-pb-a="1"] .nv-narrative .nv-by { background: none; padding: 0; margin-left: auto; margin-right: auto; transition: none; }
html[data-pb-a="1"] .nv-narrative .nv-rel { justify-content: center; font-size: 13px; margin-bottom: 22px; }
html[data-pb-a="1"] .nv-narrative .nv-rel::after { display: none; }
html[data-pb-a="1"] .nv-narrative .nv-q {
    max-width: 15ch;
    font-family: 'Geist', var(--nv-sans); font-weight: 600; font-style: normal;
    line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance;
    color: var(--nv-ink);
}
html[data-pb-a="1"] .nv-narrative .nv-q-l { font-size: clamp(2.5rem, 5.6vw, 5rem); max-width: 16ch; }
html[data-pb-a="1"] .nv-narrative .nv-q-m { font-size: clamp(2.75rem, 6.4vw, 5.75rem); }
html[data-pb-a="1"] .nv-narrative .nv-q-s { font-size: clamp(3rem, 7.2vw, 6.5rem); max-width: 14ch; }
html[data-pb-a="1"] .nv-narrative .nv-q .wd { background: none !important; padding: 0; margin: 0; text-shadow: none; transition: none; opacity: 1; transform: none; filter: none; }
html[data-pb-a="1"] .nv-narrative .nv-tr {
    margin-top: 26px; max-width: 52ch;
    font: 400 16px/1.4 'Geist', var(--nv-sans);
    color: color-mix(in srgb, var(--nv-ink) 72%, transparent);
}
html[data-pb-a="1"] .nv-narrative .nv-by {
    margin-top: 10px; font: 400 12px/1.3 'Geist Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--nv-ink) 66%, transparent);
}
html[data-pb-a="1"] .nv-narrative .nv-q + .nv-by { margin-top: 26px; }
html[data-pb-a="1"] .nv-narrative:not(.is-in) .nv-rel,
html[data-pb-a="1"] .nv-narrative:not(.is-in) .nv-tr,
html[data-pb-a="1"] .nv-narrative:not(.is-in) .nv-by { opacity: 1; transform: none; }
@media (max-width: 700px) {
    html[data-pb-a="1"] .nv-story { top: 50%; }
    html[data-pb-a="1"] .nv-narrative .nv-q-l { font-size: 40px; }
    html[data-pb-a="1"] .nv-narrative .nv-q-m { font-size: 44px; }
    html[data-pb-a="1"] .nv-narrative .nv-q-s { font-size: 48px; }
    html[data-pb-a="1"] .nv-narrative .nv-tr { font-size: 15px; margin-top: 18px; }
    html[data-pb-a="1"] .nv-narrative .nv-q + .nv-by { margin-top: 18px; }
    html[data-pb-a="1"] .nv-narrative .nv-rel { margin-bottom: 16px; }
}

/* ---- ?d=0: the constellation's relation labels (hero-nv.js CON): a few words in small mono beside a hairline,
   placed per frame, never over the chapter's words. ---- */
.nv-con-labs { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.nv-con-lab {
    position: absolute; left: 0; top: 0; white-space: nowrap; visibility: hidden; opacity: 0;
    font: 400 11px/1 'Geist Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.04em;
    color: var(--nv-ink); will-change: transform, opacity;
}
@media (max-width: 700px) { .nv-con-lab { font-size: 10px; } }

/* ---- ?d=0 art direction (hero-nv.js ART): the chapter's words in the middle of the screen, over a soft dark
   scrim, cream with the last line printed in the chapter's riso ink, a hair off register (--nv-mx/--nv-my); the
   cut-out stands aside (hero-nv.js keyArt) and the snippets keep clear of them (CON). ---- */
html[data-pb-a="1"] .nv-stage.nv-art .nv-story {
    left: 50%; right: auto; top: 50%; bottom: auto;
    width: min(1040px, calc(100vw - 32px)); transform: translate(-50%, -50%); text-align: center;
}
html[data-pb-a="1"] .nv-stage.nv-art .nv-narrative { position: relative; }
html[data-pb-a="1"] .nv-stage.nv-art .nv-narrative::before {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 112%; height: 128%;
    transform: translate(-50%, -50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(7, 7, 8, 0.62), rgba(7, 7, 8, 0.42) 50%, rgba(7, 7, 8, 0.14) 78%, rgba(7, 7, 8, 0));
}
html[data-pb-a="1"] .nv-art .nv-narrative > span { margin-left: auto !important; margin-right: auto !important; }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-rel {
    justify-content: center; font: 500 12px/1.3 'Geist Mono', ui-monospace, Menlo, monospace;
    letter-spacing: 0.2em; color: rgba(239, 233, 220, 0.72); margin-bottom: 20px; white-space: pre;
}
html[data-pb-a="1"] .nv-art .nv-narrative .nv-rel:only-child { font-size: 15px; letter-spacing: 0.28em; margin: 0; color: rgba(239, 233, 220, 0.85); }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q {
    max-width: 28ch; color: #f1ebde; text-wrap: balance; font-weight: 500;
    line-height: 1.15; letter-spacing: -0.012em;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-l { font-size: clamp(1.75rem, 2.4vw, 2.125rem); max-width: 30ch; }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-m { font-size: clamp(1.875rem, 2.6vw, 2.375rem); }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-s { font-size: clamp(2rem, 2.9vw, 2.625rem); max-width: 24ch; }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd.is-ink {
    color: var(--nv-art-ink, #efe9dc);
    text-shadow: var(--nv-mx, 2px) var(--nv-my, 1px) 0 rgba(239, 233, 220, 0.16), 0 1px 18px rgba(0, 0, 0, 0.5);
}
html[data-pb-a="1"] .nv-art .nv-narrative .nv-tr { display: none; }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-by { font-size: 12px; color: rgba(239, 233, 220, 0.62); letter-spacing: 0.06em; }
html[data-pb-a="1"] .nv-art .nv-narrative .nv-q + .nv-by { margin-top: 20px; }
html[data-pb-a="1"] .nv-art .nv-con-lab { color: rgba(239, 233, 220, 0.78); }
@media (max-width: 700px) {
    html[data-pb-a="1"] .nv-stage.nv-art .nv-story { top: 44%; width: calc(100vw - 32px); }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-q { max-width: 24ch; }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-l { font-size: 22px; }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-m { font-size: 24px; }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-q-s { font-size: 26px; }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-rel { margin-bottom: 14px; font-size: 11px; }
    html[data-pb-a="1"] .nv-art .nv-narrative .nv-q + .nv-by { margin-top: 14px; font-size: 11px; }
}


/* ---- ?d=0 chain (journey-chain.js, html[data-nv-chain]): one editorial system for all fourteen chapters.
   The words keep to the left column on the dark (the camera composes the chapter's picture on the right third;
   on a phone the words take the top and the picture the lower third). Header "06 — Piano", the line in Geist 500
   with its last line in the chapter's ink, the source in mono. Each chapter sets its name in its own type. ---- */
html[data-nv-chain="1"] .nv-stage.nv-art .nv-story {
    left: max(40px, 7.5vw); right: auto; top: 50%; bottom: auto;
    width: min(500px, 35vw); transform: translateY(-50%); text-align: left;
}
html[data-nv-chain="1"] .nv-stage.nv-art .nv-narrative::before { display: none; }
html[data-nv-chain="1"] .nv-art .nv-narrative > span { margin-left: 0 !important; margin-right: 0 !important; }
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-rel.nv-head {
    display: flex; align-items: baseline; gap: 12px; justify-content: flex-start; flex-wrap: wrap;
    font: 500 11px/1.2 'Geist Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(239, 233, 220, 0.56); margin: 0 0 26px; white-space: normal;
}
html[data-nv-chain="1"] .nv-art .nv-head .nv-hn { color: var(--nv-art-ink); }
html[data-nv-chain="1"] .nv-art .nv-head .nv-hd { opacity: 0.8; letter-spacing: 0; font-size: 13px; }
html[data-nv-chain="1"] .nv-art .nv-head .nv-hname {
    font: 500 19px/1 'Geist', var(--nv-sans); letter-spacing: -0.01em; text-transform: none; color: #efe9dc;
}
html[data-nv-chain="1"] .nv-art .nv-head .nv-hname i { font-style: inherit; display: inline-block; }
html[data-nv-chain="1"] .nv-art .nv-head .nv-hrel { margin-left: auto; opacity: 0.7; letter-spacing: 0.1em; text-transform: none; }
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q,
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-l,
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-m,
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-s {
    font: 400 clamp(34px, 2.65vw, 40px)/1.1 'Geist', var(--nv-sans); letter-spacing: -0.022em;
    max-width: 19ch; color: #efe9dc; text-shadow: none; text-wrap: balance;
}
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-l { font-size: clamp(34px, 2.4vw, 37px); max-width: 22ch; }
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q .wd.is-ink { color: var(--nv-art-ink); text-shadow: none; }
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-by,
html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q + .nv-by {
    margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(239, 233, 220, 0.16); max-width: 40ch;
    font: 400 11px/1.5 'Geist Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.04em; color: rgba(239, 233, 220, 0.46);
}

/* the chapter's own type, one accent each, on its name */
html[data-nv-chain="1"][data-nv-chapter="0"] .nv-head .nv-hname { font: italic 400 24px/1 'Cormorant Garamond', serif; color: #c99a6b; transform: scaleX(-1); display: inline-block; }
html[data-nv-chain="1"][data-nv-chapter="1"] .nv-head .nv-hname { font: 600 15px/1 'Cormorant Garamond', serif; letter-spacing: 0.42em; text-transform: uppercase; color: #e9dfd0; }
html[data-nv-chain="1"][data-nv-chapter="2"] .nv-head .nv-hname {
    font: italic 400 25px/1 'Cormorant Garamond', serif;
    background: linear-gradient(100deg, #8a6424 0%, #f3d58a 38%, #b5862f 55%, #f6e3a4 72%, #8a6424 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-nv-chain="1"][data-nv-chapter="3"] .nv-head .nv-hname {
    font: 700 20px/1 'JetBrains Mono', monospace; letter-spacing: 0.14em; text-transform: uppercase; color: transparent;
    background: radial-gradient(circle, #e6d7aa 55%, transparent 60%) 0 0 / 3px 3px; -webkit-background-clip: text; background-clip: text;
}
html[data-nv-chain="1"][data-nv-chapter="4"] .nv-head .nv-hname { font: 500 16px/1 'JetBrains Mono', monospace; color: var(--nv-art-ink); }
html[data-nv-chain="1"][data-nv-chapter="4"] .nv-head .nv-hname::before { content: '> '; opacity: 0.6; }
html[data-nv-chain="1"][data-nv-chapter="4"] .nv-head .nv-hname::after { content: ''; display: inline-block; width: 0.6em; height: 1.05em; margin-left: 4px; vertical-align: -0.15em; background: var(--nv-art-ink); animation: nvCursor 1.05s steps(1) infinite; }
@keyframes nvCursor { 50% { opacity: 0; } }
html[data-nv-chain="1"][data-nv-chapter="5"] .nv-head .nv-hname { font: italic 600 24px/1 'Cormorant Garamond', serif; color: var(--nv-art-ink); }
html[data-nv-chain="1"][data-nv-chapter="5"] .nv-head .nv-hname::after { content: ' \2669'; font-style: normal; font-size: 18px; opacity: 0.8; }
html[data-nv-chain="1"][data-nv-chapter="6"] .nv-head .nv-hname {
    font: 800 21px/1 'Syne', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; color: var(--nv-art-ink);
    text-shadow: 2px 1px 0 rgba(41, 52, 133, 0.9);
}
html[data-nv-chain="1"][data-nv-chapter="7"] .nv-head .nv-hname { font: italic 400 25px/1 'Cormorant Garamond', serif; color: #f1d4c8; filter: blur(0.35px); text-shadow: 0 0 10px rgba(232, 70, 43, 0.55); }
html[data-nv-chain="1"][data-nv-chapter="8"] .nv-head .nv-hname { font: 400 27px/1 'La Belle Aurore', cursive; color: #cfe6d6; letter-spacing: 0.01em; }
html[data-nv-chain="1"][data-nv-chapter="9"] .nv-head .nv-hname {
    font: italic 400 15px/1 'Source Serif 4', serif; color: #2a2522; background: #efe9dc; padding: 5px 9px 6px; border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2), -10px 0 0 -6px var(--nv-art-ink);
}
html[data-nv-chain="1"][data-nv-chapter="10"] .nv-head .nv-hname { font: 400 19px/1 'Courier New', Courier, monospace; color: #efe9dc; }
html[data-nv-chain="1"][data-nv-chapter="10"] .nv-head .nv-hname i { transform: translateY(calc((mod(var(--i), 3) - 1) * 0.6px)); opacity: calc(0.72 + mod(var(--i) * 7, 5) * 0.07); }
html[data-nv-chain="1"][data-nv-chapter="10"] .nv-head .nv-hname i:nth-child(n+7) { text-decoration: line-through; text-decoration-color: var(--nv-art-ink); text-decoration-thickness: 2px; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname { font: 600 21px/1 'Geist', sans-serif; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname i:nth-child(5n+1) { color: #f2b134; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname i:nth-child(5n+2) { color: #5b8bd9; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname i:nth-child(5n+3) { color: #a6cf3a; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname i:nth-child(5n+4) { color: #e8603c; }
html[data-nv-chain="1"][data-nv-chapter="11"] .nv-head .nv-hname i:nth-child(5n+5) { color: #b07ad9; }
html[data-nv-chain="1"][data-nv-chapter="12"] .nv-head .nv-hname {
    font: 500 15px/1 'Geist Mono', monospace; letter-spacing: 0.3em; text-transform: uppercase; color: #e6f3f1;
    padding: 5px 10px; background: #050606; border-top: 3px dotted rgba(230, 243, 241, 0.55); border-bottom: 3px dotted rgba(230, 243, 241, 0.55);
}
html[data-nv-chain="1"][data-nv-chapter="13"] .nv-head .nv-hname { font: italic 400 23px/1 'Source Serif 4', serif; color: #efe9dc; }
html[data-nv-chain="1"][data-nv-chapter="13"] .nv-head .nv-hname::before { content: '\265E\00a0'; font-style: normal; color: var(--nv-art-ink); }

@media (max-width: 700px) {
    html[data-nv-chain="1"] .nv-stage.nv-art .nv-story { left: 20px; right: 20px; top: 84px; width: auto; transform: none; }
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q,
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-l,
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-m,
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-s { font-size: 25px; line-height: 1.12; max-width: 24ch; }
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q-l { font-size: 24px; max-width: 26ch; }
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-rel.nv-head { margin-bottom: 16px; gap: 9px; }
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-by,
    html[data-nv-chain="1"] .nv-art .nv-narrative .nv-q + .nv-by { margin-top: 16px; padding-top: 10px; font-size: 10px; }
}

/* ---- ?d=0 chain as a montage (journey-chain.js MONT): the pictures rush past on cream paper; the era's line stands
   in the middle of the frame, one sans for everything, white, held off the paper and the pictures by a soft dark halo.
   No chapter header, no ink-coloured last line, no serif anywhere. ---- */
html[data-nv-chain="1"][data-pb-a="1"] .nv-stage.nv-art .nv-story {
    left: 50%; right: auto; top: 50%; bottom: auto; width: min(980px, calc(100vw - 48px));
    transform: translate(-50%, -50%); text-align: center; mix-blend-mode: normal; z-index: 6;
}
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative { text-align: center; }
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-rel,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-rel.nv-head { display: none; }
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-l,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-m,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-s {
    display: block; margin-left: auto !important; margin-right: auto !important; max-width: 20ch;
    font: 600 clamp(40px, 3.6vw, 54px)/1.04 'Geist', var(--nv-sans); letter-spacing: -0.03em; text-wrap: balance;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 0, 0, 0.3);
}
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd.is-ink { color: #fff; text-shadow: inherit; }
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-by,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q + .nv-by {
    display: block; margin: 22px auto 0 !important; padding: 0; border: 0; max-width: 46ch;
    font: 500 12px/1.4 'Geist', var(--nv-sans); letter-spacing: 0.02em; text-transform: none;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 0, 0, 0.6);
}
@media (max-width: 700px) {
    html[data-nv-chain="1"][data-pb-a="1"] .nv-stage.nv-art .nv-story { top: 50%; width: calc(100vw - 32px); }
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-l,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-m,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-s { font-size: 29px; line-height: 1.06; max-width: 15ch; }
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q + .nv-by { margin-top: 14px; font-size: 12px; max-width: 32ch; }
}

/* ---- the montage's words (journey-chain.js queue): no band, no box. Set in the paper's own ink (#1d1b18) with a
   1px paper-coloured outline and a faint glow of paper, so a print passing behind never takes a letter.
   (Difference-blended white was tried first: it reads on the paper and on dark prints but turns to grey on grey over
   the sepia and engraved mid-tones.) The words arrive with the era: blur to sharp, a little wide to tight. ---- */
html[data-nv-chain="1"][data-pb-a="1"] .nv-stage.nv-art .nv-story {
    width: max-content; max-width: min(1040px, calc(100vw - 48px)); mix-blend-mode: normal !important;
    /* the era's paper and the words' ink, set every frame by journey-chain.js (applyBg): ink on a light paper,
       warm white on a dark one, >= 7:1 on every era's paper; the outline is the paper itself */
    --mont-p: var(--mont-paper, #f4f0e8);
    --mont-halo: 1px 0 0 var(--mont-p), -1px 0 0 var(--mont-p), 0 1px 0 var(--mont-p), 0 -1px 0 var(--mont-p), 1px 1px 0 var(--mont-p), -1px -1px 0 var(--mont-p), 1px -1px 0 var(--mont-p), -1px 1px 0 var(--mont-p), 0 0 3px var(--mont-p), 0 0 10px var(--mont-p);
}
html[data-nv-chain="1"][data-pb-a="1"] .nv-stage.nv-art .nv-story::before { content: none; display: none; }
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-l,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-m,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-s {
    font-size: clamp(48px, 3.9vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-shadow: none;
}
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd.is-ink {
    display: inline-block; color: var(--mont-ink, #17140f); text-shadow: var(--mont-halo);
    opacity: 0; filter: blur(10px); transform: translateY(0.12em) scaleX(1.14);
    transition: opacity 0.45s ease, filter 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s linear;
}
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative.is-in .nv-q .wd { opacity: 1; filter: blur(0); transform: none; }
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-by,
html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q + .nv-by { font-size: 13px; font-weight: 500; color: var(--mont-ink, #17140f); text-shadow: var(--mont-halo); transition: color 0.35s linear; }
@media (max-width: 700px) {
    html[data-nv-chain="1"][data-pb-a="1"] .nv-stage.nv-art .nv-story { max-width: calc(100vw - 40px); }
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-l,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-m,
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q-s { font-size: clamp(30px, 8.4vw, 34px); }
}
@media (prefers-reduced-motion: reduce) {
    html[data-nv-chain="1"][data-pb-a="1"] .nv-art .nv-narrative .nv-q .wd { transition: opacity 0.4s linear; filter: none; transform: none; }
}
/* the threads' labels: the true relation, set small on the paper */
.mont-tags { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.mont-tags span {
    position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
    font: 500 11px/1 'Geist', var(--nv-sans); letter-spacing: 0.04em; color: var(--mont-ink, #3b2a1c);
    padding: 4px 7px 5px; border-radius: 99px; background: var(--mont-paper, rgba(240, 233, 220, 0.86));
}
