

.journey { display: grid; grid-template-columns: minmax(420px, 560px) minmax(0, 1fr); align-items: start; }
.j-col { position: relative; z-index: 2; padding: var(--s-7) clamp(20px, 2.6vw, 44px) 45vh; background: var(--ground); border-right: 1px solid var(--line); min-width: 0; }

.j-top-dock { position: sticky; top: calc(var(--bar-h, 60px) + 12px); z-index: 4; height: 0; }
.j-top {
  position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px 6px 11px;
  border: 1px solid color-mix(in srgb, var(--brass) 70%, transparent); border-radius: 999px; background: var(--ground-2);
  color: var(--brass-hi); font: 600 var(--t-xs, .75rem)/1 var(--f-ui, inherit); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), 0 0 0 3px color-mix(in srgb, var(--brass) 12%, transparent);
  opacity: 0; visibility: hidden; translate: -50% -6px;
  transition: opacity .25s ease, translate .25s ease, visibility 0s linear .25s, color .15s ease, background-color .15s ease, border-color .15s ease;
}
.j-top .ic, .j-top svg { width: 14px; height: 14px; }
.j-top.on { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .25s ease, translate .25s ease, visibility 0s, color .15s ease, background-color .15s ease, border-color .15s ease; }
.j-top:hover, .j-top:focus-visible { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }
@media (prefers-reduced-motion: reduce) { .j-top, .j-top.on { transition: none; translate: -50% 0; } }
.j-intro h1 { font-size: var(--t-3xl); margin: 10px 0 12px; }
.j-intro .lede { color: var(--ink-2); font-size: var(--t-md); max-width: 44ch; }
.lens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-5); }
.lens .chip { cursor: pointer; }
.lens .chip .portrait { --size: 22px !important; }
.lens .chip .portrait::after { display: none; }
.lens-note { min-height: 1.4em; margin-top: 10px; }

.j-stage { position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h)); min-width: 0; }
.j-map { position: absolute; inset: 0; }

.j-caption {
  position: absolute; left: 22px; top: 18px; z-index: 6; display: flex; align-items: center; gap: 2px; padding: 6px; max-width: min(62%, 560px);
  background: rgba(238, 234, 216, .95); color: #2b1b0c; border-radius: var(--r-3); box-shadow: 0 6px 18px -8px rgba(30, 18, 6, .5);
}
.cap-text { display: grid; gap: 1px; min-width: 0; padding: 2px 8px; }
.cap-step {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(122, 74, 12, .35); background: rgba(255, 252, 240, .6); color: #6b3f0c; transition: background .15s, border-color .15s, opacity .15s;
}
.cap-step .ic { width: 20px; height: 20px; }
.cap-step:hover:not(:disabled) { background: #7a4a0c; border-color: #7a4a0c; color: #fdf6e3; }
.cap-step:focus-visible { outline: 2px solid #7a4a0c; outline-offset: 2px; }
.cap-step:disabled { opacity: .3; cursor: default; }
.cap-jump-wrap { display: block; min-width: 0; }
.cap-jump {
  appearance: none; -webkit-appearance: none; display: block; max-width: 100%; margin: 0; padding: 0 18px 0 0; border: 0; border-radius: 3px; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a4a0c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center / 10px 6px;
  font-family: var(--f-ui-sc); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; color: #7a4a0c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cap-jump:hover { color: #4f2f06; }
.cap-jump:focus-visible { outline: 2px solid #7a4a0c; outline-offset: 2px; }
.cap-jump option { font-family: var(--f-ui); letter-spacing: 0; color: #2b1b0c; background: #f3eedd; }

.cap-place { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.cap-hint {
  position: absolute; right: 22px; top: 18px; z-index: 3; margin: 0; padding: 5px 10px; border-radius: var(--r-pill);
  background: rgba(238, 234, 216, .9); color: #5b4a2e; font-family: var(--f-ui); font-size: 12px; box-shadow: 0 4px 12px -6px rgba(30, 18, 6, .5);
}
.cap-hint kbd { display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 4px; border: 1px solid rgba(91, 74, 46, .45); font: 700 11px/18px var(--f-ui); text-align: center; background: #fbf7ea; }

.j-map { transition: filter .9s var(--ease); }
.j-stage.offmap .j-map { filter: saturate(.3) sepia(.4) brightness(.74) contrast(.92); }
.j-plane {
  position: absolute; left: 22px; bottom: 96px; z-index: 3; max-width: min(560px, calc(100% - 44px)); pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.j-plane.on { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.plane-plate {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 26px 18px 18px;
  color: #2b1b0c; border-radius: 3px;
  background: radial-gradient(120% 140% at 20% 10%, #f7efd9 0%, #eadcb8 70%, #dcc89c 100%);
  box-shadow: inset 0 0 0 1.5px #6b4a22, inset 0 0 0 5px #efe4c8, inset 0 0 0 6px #6b4a22, 0 18px 40px -18px rgba(20, 10, 2, .75);
}
.plane-medal {
  width: 132px; aspect-ratio: 1; border-radius: 50%; background: #2b1b0c no-repeat 50% 50% / cover;
  box-shadow: 0 0 0 3px #efe4c8, 0 0 0 4.5px #6b4a22, 0 8px 18px -8px rgba(20, 10, 2, .8);
  transform: rotate(-16deg) scale(.88); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s;
}
.j-plane.on .plane-medal { transform: none; }
.plane-eyebrow { font-family: var(--f-display-sc); font-size: 13px; letter-spacing: .16em; color: #7a4a0c; }
.plane-name { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1.05; margin: 2px 0 8px; color: #2b1b0c; text-wrap: balance; }
.plane-blurb { font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: #4a3b27; max-width: 44ch; }
@media (prefers-reduced-motion: reduce) { .j-plane, .plane-medal, .j-map { transition: none; } }

.j-rift { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; overflow: hidden; }
.j-rift svg { width: 100%; height: 100%; display: block; }
.j-rift .crack { fill: none; stroke: #fffaf0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.j-rift .crack.fine { stroke-width: 1.2; }
.j-rift .crack.glow { stroke: #8fe3f0; stroke-width: 8; opacity: .55; filter: blur(3px); }
.j-rift .crack.fine.glow { stroke-width: 4; opacity: .4; }
.j-rift .burst { opacity: 0; }
.j-rift.go { animation: rift-fade 3.4s ease-out forwards; }
.j-rift.go .crack { animation: crack-draw .8s cubic-bezier(.15, .75, .25, 1) both; }
.j-rift.go .burst { animation: rift-burst 1.1s cubic-bezier(.1, .7, .2, 1) both; }
@keyframes crack-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rift-burst { 0% { opacity: 0; transform: scale(.05); } 12% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes rift-fade { 0% { opacity: 0; } 4% { opacity: 1; background: rgba(253, 248, 234, .22); } 25% { background: transparent; } 60% { opacity: 1; } 100% { opacity: 0; } }

.j-forge {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: none; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, #0d1016 0%, #07080b 45%, #020203 100%);
}
.j-forge.on { display: block; }
.j-forge.out { opacity: 0; transition: opacity .45s ease-out; }

.ruler {
  position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; padding: 10px 14px 7px;
  background: rgba(238, 234, 216, .94); border-radius: var(--r-2); box-shadow: 0 6px 18px -8px rgba(30, 18, 6, .5);
}
.ruler-track { display: flex; align-items: flex-end; height: 26px; gap: 2px; }
.tick { flex: 1; height: 12px; min-width: 0; padding: 0; border: 0; background: transparent; position: relative; cursor: pointer; }
.tick::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 100%; transform: translateX(-50%); border-radius: 2px; background: #9a8c6c; transition: height .25s, background .25s, width .25s; }
.tick.tone-past::before { background: #b0461c; }
.tick.tone-present::before { background: #a88622; }
.tick.tone-future::before { background: #17707f; }
.tick:hover::before { height: 150%; }
.tick:focus-visible { box-shadow: none; }
.tick:focus-visible::before { width: 4px; height: 150%; }
.tick.on { height: 26px; }
.tick.on::before { width: 4px; background: #2b1b0c; height: 100%; }
.tick.next::before { background: transparent; border: 1.5px dashed #7a4a0c; width: 6px; }
.ruler-labels { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--f-ui-sc); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: #5b4a2e; }

.arc-card { margin: var(--s-8) 0 var(--s-4); padding-top: var(--s-4); position: relative; }
.j-intro + .arc-card { margin-top: var(--s-7); }
.arc-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; opacity: .85;
  background:
    repeating-linear-gradient(90deg, var(--tone) 0 2px, transparent 2px 10px) 0 0 / 100% 6px no-repeat,
    linear-gradient(var(--tone), var(--tone)) 0 100% / 100% 1px no-repeat;
}
.arc-card.tone-past { --tone: var(--past); } .arc-card.tone-present { --tone: var(--present); } .arc-card.tone-future { --tone: var(--future); }
.arc-n { font-family: var(--f-ui-sc); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--tone); margin: 14px 0 4px; }
.arc-card h2 { font-size: var(--t-2xl); }
.arc-sub { font-family: var(--f-ui); color: var(--ink-3); font-size: var(--t-sm); margin-top: 4px; }
.arc-blurb { margin-top: 10px; color: var(--ink-2); font-style: italic; }

.chapter { padding: var(--s-6) 0; border-top: 1px solid var(--line); opacity: .62; transition: opacity .4s var(--ease), filter .4s; }
.arc-card + .chapter { border-top: 0; }
.chapter.active { opacity: 1; }
.chapter.dim { opacity: .22; filter: grayscale(.7); }
.chapter.dim.active { opacity: .45; }

.ch-head { --num: 4.3rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; margin-bottom: 20px; }
.ch-head > * { grid-column: 2; }
.ch-num {
  grid-column: 1; grid-row: 2; align-self: baseline; min-width: .92em; text-align: right;
  font-family: var(--f-body); font-size: var(--num); font-weight: 400; line-height: 0; letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums; color: var(--line-strong); transition: color .4s;
}
.chapter.active .ch-num { color: var(--brass); }
.ch-kicker { grid-row: 1; overflow: hidden; font-family: var(--f-ui-sc); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; color: var(--ink-2); }

.ch-kicker .kick { display: flex; flex-wrap: wrap; margin-left: -1em; }
.ch-kicker .kick > span { margin-left: 1em; }
.ch-kicker .muted { position: relative; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.ch-kicker .muted::before { content: "·"; position: absolute; left: -.62em; }
.ch-title { grid-row: 2; align-self: baseline; font-size: 1.9rem; margin: 2px 0 0; }
.ch-where { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; padding-left: 20px; font-family: var(--f-ui); font-size: var(--t-sm); color: var(--ink-3); }

.ch-where .ic { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; color: var(--brass); }
.where-link { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.where-link:hover { color: var(--brass-hi); border-bottom-color: var(--brass-hi); }
.ch-where .where-name { color: var(--ink); }

.ch-scene { margin: 0 0 20px; }
.scene-btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-2); overflow: hidden; background: var(--ground-3); cursor: zoom-in; }
.scene-btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.92); }
.scene-btn:hover img { transform: scale(1.025); filter: saturate(1.05); }
.ch-scene figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 8px; font-family: var(--f-ui); font-size: var(--t-xs); line-height: 1.35; color: var(--ink-3); }
.ch-scene figcaption .ic { width: 14px; height: 14px; }
.gallery { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumb { width: 80px; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: var(--r-1); overflow: hidden; background: var(--ground-3); cursor: zoom-in; transition: border-color var(--dur-1); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--brass); }

.ch-summary { font-size: var(--t-body); line-height: 1.62; }
.beats { list-style: none; margin: 14px 0 0; padding: 0 0 0 20px; display: grid; gap: 6px; font-size: var(--t-md); color: var(--ink-2); }
.beats li { position: relative; }
.beats li::before {
  content: ""; position: absolute; left: -19px; top: .62em; width: 7px; height: 7px;
  border: 1.5px solid var(--brass); transform: rotate(45deg);
}

.moments { margin-top: var(--s-5); padding: 14px 16px 16px; border-radius: var(--r-2); background: var(--ground-2); border: 1px solid var(--line); }
.moments h4, .ch-foot .tag { display: block; margin: 0; font-family: var(--f-ui-sc); font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: .12em; color: var(--ink-3); }
.moments ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.moments li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--t-md); }
.moments li.hide { display: none; }

.moments:not(:has(li:not(.hide))) { display: none; }
.ch-foot { display: grid; gap: 18px; margin-top: var(--s-5); }
.ch-foot .tag { margin-bottom: 8px; }
.roster .faces { display: flex; flex-wrap: wrap; gap: 8px; }
.roster .faces a { border-radius: 50%; }
.roster .faces a.lit .portrait::after { box-shadow: 0 0 0 2.5px var(--brass-glint); }
.met .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gunmark { justify-self: start; display: flex; align-items: flex-start; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: var(--t-md); line-height: 24px; }
.gunmark em { font-family: var(--f-ui-sc); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.gunmark:hover { color: var(--brass-hi); }
.ch-cert { margin-top: 20px; }
.now-card { margin-top: var(--s-8); padding: var(--s-6); border: 1px dashed var(--brass); border-radius: var(--r-3); background: var(--brass-soft); }
.now-card h2 { margin: 8px 0 4px; font-size: var(--t-2xl); }
.now-card .hand-sub { font-size: 1.6rem; line-height: 1.25; margin: 0 0 var(--s-4) 2px; text-wrap: balance; }
.now-card p + p { margin-top: 12px; }
.now-card .row { margin-top: var(--s-5); }

.drawer.wide { width: min(1100px, 96vw); }
.lightbox { padding: 26px 26px 40px; display: grid; gap: 22px; }
.lightbox img { width: 100%; height: auto; border-radius: var(--r-2); }
.lightbox figcaption { font-family: var(--f-ui); font-size: var(--t-xs); color: var(--ink-3); margin-top: 6px; }

@media (max-width: 1100px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .j-stage { order: -1; position: sticky; top: var(--bar-h); height: 44vh; z-index: 3; border-bottom: 1px solid var(--line); }
  .j-col { border-right: 0; padding-bottom: 30vh; }
  .ruler { display: none; }
  .j-caption { top: 10px; left: 10px; max-width: calc(100% - 20px); }
  .cap-place { font-size: 1.15rem; }
  .cap-step { width: 36px; height: 36px; }
  .cap-hint { display: none; }
  .j-plane { left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .plane-plate { gap: 14px; padding: 12px 16px 12px 12px; }
  .plane-medal { width: 76px; }
  .plane-name { font-size: 1.4rem; margin-bottom: 4px; }
  .plane-blurb { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

@media (max-width: 1100px) {
  .j-col { padding-inline: max(clamp(20px, 2.6vw, 44px), calc((100% - 640px) / 2)); }
}
@media (max-width: 560px) {
  .ch-head { --num: 3.8rem; column-gap: 12px; }
  .ch-title { font-size: 1.5rem; }
  .now-card { padding: var(--s-5); }
}
