/* SWD Work journey — pinned horizontal walk through projects (desktop), swipe on phones. */
.swd.swd-journey { margin-top: clamp(70px, 9vw, 140px); }
.swd-journey .jw__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow: hidden; padding: 84px 0 24px; }
.swd-journey .jw__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; width: 100%; }
.swd-journey .jw__head h2, .swd-journey .jw__head > div > :first-child { font-size: clamp(36px, 4.4vw, 64px); }
.swd-journey .jw__head p { margin-top: 12px; font-size: 17.5px; color: var(--muted); }
.swd-journey .jw__ctrl { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.swd-journey .jw__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.swd-journey .jw__filters button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); color: #fff; font-family: var(--f); font-size: 14.5px; font-weight: 500; line-height: 1; text-transform: none; letter-spacing: -.01em; cursor: pointer; transition: background .2s, color .2s; }
.swd-journey .jw__filters button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.swd-journey .jw__filters button:hover { background: var(--card-2); }
.swd-journey .jw__filters button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.swd-journey .jw__nav { display: flex; gap: 8px; }
.swd-journey .round { width: 48px; height: 48px; padding: 0; border-radius: 14px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; transition: background .2s; }
.swd-journey .round:hover { background: rgba(255, 255, 255, .08); }
.swd-journey .round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swd-journey .jw__view { position: relative; width: 100%; overflow: hidden; }
.swd-journey .jw__track { display: flex; gap: 28px; width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.swd-journey .jc { position: relative; flex: 0 0 auto; width: min(1080px, 80vw); height: min(560px, calc(100svh - 300px)); min-height: 430px; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px; padding: 36px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); overflow: hidden; isolation: isolate; transition: opacity .4s; }
.swd-journey .jc[hidden] { display: none; }
.swd-journey .jc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 90% 100%, color-mix(in srgb, var(--g) 32%, transparent), transparent 70%); opacity: .55; transition: opacity .6s; }
.swd-journey .jc.is-on::before { opacity: 1; }
.swd-journey .jc:not(.is-on) { opacity: .55; }
.swd-journey .jc__info { display: flex; flex-direction: column; min-width: 0; }
.swd-journey .jc__cat { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--g) 22%, transparent); color: #fff; font-size: 13.5px; font-weight: 500; }
.swd-journey .jc h3 { margin-top: 18px; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; }
.swd-journey .jc__info > p { margin-top: 12px; font-size: 16.5px; color: var(--muted); }
.swd-journey .jc__layers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.swd-journey .jc__layers span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); color: var(--c); font-size: 13.5px; font-weight: 500; }
.swd-journey .jc__layers i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.swd-journey .jc ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.swd-journey .jc li { position: relative; padding-left: 22px; font-size: 15px; color: #DCE2EE; }
.swd-journey .jc li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--g); }
.swd-journey .jc__link { margin-top: auto; padding-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-decoration: none; color: #fff; }
.swd-journey .jc__link svg { width: 15px; height: 15px; transition: transform .2s; }
.swd-journey .jc__link:hover svg { transform: translate(2px, -2px); }
.swd-journey .jc__stage { position: relative; min-width: 0; }
.swd-journey .jc__desk { position: absolute; right: 0; top: 0; bottom: 24px; left: 12%; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75); }
.swd-journey .jc__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF1F6; font-size: 12px; color: #55607A; }
.swd-journey .jc__bar i { width: 8px; height: 8px; border-radius: 50%; background: #CCD3DE; }
.swd-journey .jc__bar span { margin: 0 auto; }
.swd-journey .jc__scr { position: relative; flex: 1; overflow: hidden; container-type: size; }
.swd-journey .jc__scr img, .swd-journey .jc__phs img { display: block; width: 100%; height: auto; max-width: none; }
.swd-journey .jc.is-on .jc__scr img { animation: swd-journey-scroll 16s ease-in-out 1s infinite alternate; }
.swd-journey .jc.is-on .jc__phs img { animation: swd-journey-scroll 14s ease-in-out 1.5s infinite alternate; }
@keyframes swd-journey-scroll { to { transform: translateY(calc(-100% + 100cqh)); } }
.swd-journey .jc__ph { position: absolute; left: 0; bottom: 0; width: 26%; max-width: 170px; aspect-ratio: 9 / 19; border-radius: 24px; background: #0B1020; padding: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 50px -20px rgba(0, 0, 0, .8); }
.swd-journey .jc__phs { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; container-type: size; }
.swd-journey .jw__foot { display: flex; align-items: center; gap: 20px; width: 100%; }
.swd-journey .jw__prog { flex: 1; height: 2px; border-radius: 2px; background: var(--edge); overflow: hidden; }
.swd-journey .jw__prog i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.swd-journey .jw__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
	.swd-journey .jw__pin { position: relative; height: auto; padding: 0; gap: 24px; }
	.swd-journey .jw__ctrl { width: 100%; justify-content: space-between; }
	.swd-journey .jw__filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
	.swd-journey .jw__filters::-webkit-scrollbar { display: none; }
	.swd-journey .jw__filters button { flex: none; }
	.swd-journey .jw__nav { display: none; }
	.swd-journey .jw__view { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
	.swd-journey .jw__view::-webkit-scrollbar { display: none; }
	.swd-journey .jw__track { padding: 0 var(--gut); gap: 14px; }
	.swd-journey .jc { width: 86vw; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); padding: 22px; border-radius: 26px; scroll-snap-align: center; gap: 20px; }
	.swd-journey .jc:not(.is-on) { opacity: .75; }
	.swd-journey .jc__stage { order: -1; height: 250px; }
	.swd-journey .jc__desk { left: 16%; bottom: 0; }
	.swd-journey .jc__ph { width: 30%; bottom: -6px; }
	.swd-journey .jc h3 { margin-top: 12px; font-size: 28px; }
	.swd-journey .jc ul { display: none; }
	.swd-journey .jw__foot .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.swd-journey .jw__pin { position: relative; height: auto; }
	.swd-journey .jw__view { overflow-x: auto; }
}
