/* Journey scenes. Positions are classes because the CSP forbids inline styles. Loaded only on /journey/. */
.rough { filter: url(#boil); }
.scene .s-title { position: absolute; z-index: 4; top: 30px; right: 20px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.cut.h60 { height: 60%; width: auto; } .cut.h50 { height: 50%; width: auto; } .cut.h40 { height: 40%; width: auto; } .cut.h30 { height: 30%; width: auto; }
.pos-br { right: 7%; bottom: 12%; }

/* 1 · Aravallis */
.s-sun { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--c-kosma); left: 14%; top: 17%; opacity: .9; }

/* 2 · the camera and the cat */
.camera { position: absolute; left: 6%; bottom: 13%; width: 32%; }
.cat { left: 46%; bottom: 12%; height: 62%; width: auto; }
.frame-corners { position: absolute; left: 42%; right: 7%; top: 16%; bottom: 9%; }
.frame-corners i { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--ink); }
.frame-corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.frame-corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.frame-corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.frame-corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* 3 · code window */
.term { left: 8%; right: 8%; top: 20%; padding: 16px 18px 22px; font-family: var(--mono); font-size: clamp(.68rem, .5rem + .5vw, .95rem); line-height: 1.75; color: var(--ink); }
.term .dots { display: flex; gap: 6px; margin-bottom: 12px; }
.term .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5D9D3; }
.term .ln { display: block; white-space: pre; overflow: hidden; }
.term .k { color: var(--c-sift-ink); }
.term .c { color: var(--ink-3); }
.tag-chip { position: absolute; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; }
.term-tag { left: 8%; bottom: 13%; }

/* 4 · prints */
.print { padding: 8px 8px 26px; width: 29%; }
.print img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #F1F2EE; border-radius: 2px; }
.print-1 { left: 6%; top: 18%; } .print-2 { left: 36%; top: 13%; } .print-3 { left: 65%; top: 20%; }
.big-count { position: absolute; left: 6%; bottom: 13%; font-weight: 660; letter-spacing: -.04em; font-size: clamp(2rem, 1rem + 3vw, 3.6rem); line-height: 1; }
.big-count-lab { position: absolute; left: 6%; right: 6%; bottom: 7%; font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }

/* 6 · the Ranthambhore chart */
.chart { position: absolute; left: 9%; right: 9%; bottom: 17%; height: 38%; display: flex; align-items: flex-end; gap: 3.5%; border-bottom: 1.5px solid var(--ink); }
.chart .bar { position: relative; flex: 1; background: var(--c-pau); border-radius: 4px 4px 0 0; }
.chart .bar.hot { background: var(--c-wild); }
.chart .bar b { position: absolute; top: -1.6em; left: 0; right: 0; text-align: center; font-size: .85rem; font-weight: 640; color: var(--ink); }
.chart .bar span { position: absolute; bottom: -1.8em; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.b205 { height: 62.5%; } .b220 { height: 67.1%; } .b328 { height: 100%; } .b242 { height: 73.8%; } .b225 { height: 68.6%; } .b98 { height: 29.9%; }
.chart-title { position: absolute; left: 9%; top: 15%; font-weight: 640; letter-spacing: -.02em; font-size: clamp(.95rem, .8rem + .6vw, 1.25rem); max-width: 45%; }
.chart-note { position: absolute; right: 9%; top: 15%; max-width: 40%; text-align: right; font-family: var(--mono); font-size: .7rem; color: var(--c-wild-ink); }
.vulture { left: 36%; bottom: 54.5%; height: 20%; width: auto; }

/* 7 · field notebook */
.notebook { left: 9%; right: 9%; top: 17%; height: 46%; display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 16px; }
.notebook .pg { border-right: 1px dashed var(--rule-2); padding-right: 12px; }
.notebook .pg:last-child { border: 0; }
.notebook .hd { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.notebook .row { height: 9px; border-radius: 4px; background: #E6E9E4; margin: 10px 0; }
.notebook .row.w1 { width: 92%; } .notebook .row.w2 { width: 74%; } .notebook .row.w3 { width: 85%; } .notebook .row.w4 { width: 60%; }
.notebook .row.ink { background: color-mix(in srgb, var(--c-pau) 45%, #fff); }
.blackbuck { left: 16%; bottom: 8%; height: 30%; width: auto; }

/* 8 · the search that found nothing, then everything */
.phone { left: 6%; top: 14%; bottom: 12%; width: 40%; border-radius: 26px; padding: 16px 12px; border: 6px solid var(--ink); }
.search { font-family: var(--mono); font-size: .78rem; padding: .5rem .7rem; border-radius: 999px; background: #F1F2EE; margin-bottom: 12px; min-height: 2.1em; }
.res { font-family: var(--mono); font-size: .68rem; padding: .45rem .6rem; border-radius: 10px; margin-bottom: 8px; }
.res.en { background: #F1F2EE; color: var(--ink-3); }
.res.hi { background: color-mix(in srgb, var(--c-wild) 12%, #fff); color: var(--c-wild-ink); }
.codes { position: absolute; left: 52%; right: 6%; top: 16%; display: grid; gap: 10px; }
.code { position: relative; padding: .6rem .8rem; font-size: .8rem; line-height: 1.35; }
.code b { display: block; font-family: var(--mono); font-weight: 500; color: var(--c-wild-ink); }
.pangolin { left: 50%; bottom: 10%; height: 15%; width: auto; }

/* 9 · the archive and the map */
.clip { position: absolute; padding: 7px; }
.clip img { width: 100%; border-radius: 3px; }
.clip-1 { left: 5%; top: 15%; width: 50%; } .clip-2 { left: 30%; top: 42%; width: 48%; }
.egret { right: 4%; bottom: 10%; height: 46%; width: auto; }

/* 10 · the game and the trial */
.badges { position: absolute; left: 6%; top: 19%; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { width: clamp(62px, 11vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 660; font-size: clamp(.66rem, .5rem + .4vw, .9rem); border: 3px solid var(--c-tide); color: var(--c-tide-ink); background: #fff; box-shadow: 0 10px 20px -12px rgba(16,23,19,.4); }
.badge.gold { border-color: var(--c-kosma); color: var(--c-kosma-ink); }
.nums { position: absolute; left: 6%; bottom: 13%; display: flex; gap: 2rem; }
.nums b { display: block; font-weight: 660; font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem); letter-spacing: -.04em; line-height: 1; color: var(--c-tide-ink); }
.nums span { font-family: var(--mono); font-size: .66rem; color: var(--ink-3); }
.turtle { right: 4%; bottom: 36%; height: 30%; width: auto; }

/* 11 · the tools */
.win { position: absolute; padding: 0; overflow: hidden; width: 52%; }
.win img { width: 100%; }
.win .bar-top { height: 16px; background: #F1F2EE; border-bottom: 1px solid var(--rule); }
.win-1 { left: 5%; top: 13%; } .win-2 { left: 25%; top: 32%; } .win-3 { left: 44%; top: 51%; }

/* 12 · the life list parade */
.ground { position: absolute; left: 0; right: 0; bottom: 15%; height: 1.5px; background: var(--ink); }
.parade { position: absolute; left: 3%; right: 3%; bottom: 15%; height: 30%; display: flex; align-items: flex-end; justify-content: space-between; gap: 1%; }
.parade img { height: 70%; width: auto; min-width: 0; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(16,23,19,.15)); }
.parade img.tall { height: 100%; } .parade img.low { height: 42%; }
.globe-ico { position: absolute; left: 6%; top: 17%; width: 16%; color: var(--brand); }
.life-words { position: absolute; left: 27%; right: 6%; top: 18%; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, .8rem + 1vw, 1.6rem); line-height: 1.3; }
.globe-ico svg { width: 100%; height: auto; }

/* ---------- painted art in the scenes (2026-09 redesign) ---------- */
.art-card { position: absolute; left: 5%; top: 13%; width: 90%; height: auto; aspect-ratio: 800 / 560; border-radius: 14px; box-shadow: 0 30px 50px -34px rgba(16,23,19,.55); }
.art-note { position: absolute; left: 5%; right: 5%; bottom: 7%; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.notebook.over { top: auto; bottom: 5%; left: 46%; right: 4%; height: 28%; }
.emblem-pop { position: absolute; height: auto; filter: drop-shadow(0 18px 20px rgba(16,23,19,.18)); }
.em-archive { right: 3%; bottom: 6%; width: 34%; }
.em-tide { right: 4%; top: 18%; width: 42%; }
.tools-row { position: absolute; left: 5%; right: 5%; top: 24%; display: flex; justify-content: space-between; gap: 3%; }
.tools-row figure { margin: 0; flex: 1; text-align: center; }
.tools-row img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(16,23,19,.16)); }
.tools-row figcaption { margin-top: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.art-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene[data-scene="life"] .life-words { left: 5%; right: 5%; top: 12%; padding: .8rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); }

@media (prefers-reduced-motion: reduce) { [data-enter], .scene [data-enter] { opacity: 1 !important; transform: none !important; } }
