/* One page-native artwork journey. Flat content is the default, including without JavaScript. */
:root { --journey-perspective: 1150px; --journey-copy: 32rem; --journey-radius: 3px; --journey-title: clamp(2.9rem, 6.4vw, 6rem); }
.journey { position: relative; isolation: isolate; background: var(--ink-900); color: var(--on-art); }
.journey__backdrop { display: none; position: fixed; inset: 0; z-index: -1; background: var(--ink-900); pointer-events: none; }
.journey__backdrop img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.journey__backdrop::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgb(48 54 51 / .68), rgb(48 54 51 / .08) 75%); }
.journey__sphere { display: none; position: absolute; inset: 0; overflow: clip; perspective: var(--journey-perspective); pointer-events: none; }
.journey__world { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.journey__card { position: absolute; left: 0; top: 0; margin-left: -100px; margin-top: -64px; max-width: none; width: 200px; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--journey-radius); backface-visibility: visible; }
.journey .hero { display: flex; justify-content: center; min-height: 100svh; padding: calc(var(--header-h) + 64px) var(--gutter) 112px; background: linear-gradient(165deg, #eae8e1 0%, #d4d2cb 46%, #c8c7c1 100%); overflow: clip; }
.journey .hero__content { width: min(100%, 640px); max-width: 640px; align-items: center; text-align: center; gap: 24px; z-index: 2; }
.journey .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 52% 42% at 50% 44%, rgb(184 182 174 / .78), transparent 72%), radial-gradient(circle at 18% 28%, rgb(48 54 51 / .05) 0 1px, transparent 1.6px), radial-gradient(circle at 72% 64%, rgb(48 54 51 / .045) 0 1px, transparent 1.6px); background-size: auto, 7px 9px, 11px 13px; }
.journey__hero-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 86% 46%; opacity: .4; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 78%); mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 78%); }
.journey .hero__title { max-width: 14ch; font-size: var(--journey-title); color: var(--text); }
.journey .hero__lede { color: var(--text); max-width: 46ch; }
.journey .hero__demo-row { justify-content: center; }
.journey .hero-demo { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.journey .hero-demo:hover { background: var(--accent); color: var(--on-accent); }
.journey__skip, .journey__gallery { color: var(--text); font-size: var(--text-small); padding: 12px 16px; min-height: 44px; }
.journey__skip { text-decoration: underline; text-underline-offset: 4px; }
.journey__tools { position: absolute; bottom: 28px; left: var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: var(--text-small); z-index: 3; }
.journey__gallery { background: transparent; border: 1px solid rgb(48 54 51 / .45); border-radius: var(--r-pill); cursor: pointer; }
.journey__tools > span { color: var(--text-muted); }
.journey .uv-scrollcue { color: var(--text); bottom: 32px; }
html[data-theme="night"] .journey .hero { background: linear-gradient(165deg, #2a3834 0%, #1e2927 100%); }
html[data-theme="night"] .journey .hero::before { background: radial-gradient(ellipse 52% 42% at 50% 44%, rgb(38 52 49 / .82), transparent 72%), radial-gradient(circle at 18% 28%, rgb(246 244 238 / .05) 0 1px, transparent 1.6px), radial-gradient(circle at 72% 64%, rgb(246 244 238 / .04) 0 1px, transparent 1.6px); background-size: auto, 7px 9px, 11px 13px; }
html[data-theme="night"] .journey__gallery { border-color: rgb(246 244 238 / .45); }
.site-header .uv-pause { position: relative; inset: auto; width: 44px; min-width: 44px; min-height: 44px; padding: 10px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: var(--r-pill); }
.site-header .uv-pause__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.uv-top { position: static; margin: 24px var(--gutter) 24px auto; }
.site-header .uv-pill::after { display: none; }
.site-header .uv-pill, html[data-scrolled="true"] .site-header .uv-pill { background: var(--on-art); color: var(--ink-900); border-color: var(--on-art); }
.site-header .uv-pill:hover, .site-header .uv-pill:focus-visible { background: var(--cream-300); color: var(--ink-900); }
.journey-scene { position: relative; padding: 64px var(--gutter); display: grid; gap: 32px; align-content: center; }
.journey-scene__image { display: block; width: 100%; height: auto; border-radius: var(--journey-radius); object-fit: contain; margin-bottom: 24px; }
.journey-scene__copy { max-width: var(--journey-copy); display: grid; gap: 24px; }
.journey-scene__copy h2 { font-size: var(--display-2); line-height: 1.08; text-wrap: balance; }
.journey-scene__copy p { font-size: var(--text-lede); line-height: 1.65; color: var(--on-art-muted); }
.journey-scene__copy > a { width: fit-content; min-height: 44px; padding-block: 12px; text-decoration: underline; text-underline-offset: 6px; }
.journey-scene__copy > .hero-demo { padding: 12px 24px; text-decoration: none; }
.journey-scene__copy small { font-size: var(--text-small); line-height: 1.6; color: var(--on-art-muted); }
.journey-updates { padding-block: 32px; }
.journey .story { color: var(--text); }
.journey .term-message { color: var(--text); }
.journey .story__intro > .journey-scene__image { margin-bottom: 32px; }
.journey .step > .journey-scene__image { margin-bottom: 24px; }
.journey .step .eyebrow { display: none; }
.journey-active .site-header, .journey-active[data-scrolled="true"] .site-header { --head-fg: var(--on-art); color: var(--on-art); background: rgb(48 54 51 / .94); border-color: rgb(246 244 238 / .16); }
.journey-active .logo__image--day { display: none; }
.journey-active .logo__image--night { display: block; }
.journey--moving { background: var(--ink-900); }
.journey--moving .journey__backdrop, .journey--moving .journey__sphere { display: block; }
.journey--moving .journey__hero-art { display: block; }
.journey--moving .journey-scene { min-height: 75svh; }
.journey--moving .journey-scene__image { display: none; }
.journey--moving .journey-scene__copy { background: rgb(48 54 51 / .92); padding: 32px; border-radius: var(--r-sm); }
.journey--moving .journey-scene--handover { min-height: 95svh; }
.journey--moving .term-message, .journey--moving .glance { background: rgb(48 54 51 / .96); color: var(--on-art); }
.journey--moving .term-message { --text: var(--on-art); --text-muted: var(--on-art-muted); }
.journey--moving .glance { --text: var(--on-art); --text-muted: var(--on-art-muted); --accent-strong: var(--cream-100); --surface: var(--ink-700); --line: var(--cream-300); }
.journey--moving .story { background: transparent; color: var(--on-art); padding-top: calc(var(--header-h) + 24px); }
.journey--moving .story__intro { background: rgb(48 54 51 / .92); padding: 32px; border-radius: var(--r-sm); }
.journey--moving .story__shell { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); }
.journey--moving .story__steps { gap: 16svh; padding-bottom: 16svh; }
.journey--moving .step { min-height: 48svh; color: var(--text); }
.journey--moving .stage { background: transparent; box-shadow: none; border: 0; }
.journey--moving .stage__art, .journey--moving .stage .uv-skeleton { display: none; }
.journey--moving .stage__diagram { opacity: .95; }
.journey .stepper__link { font-size: .75rem; letter-spacing: .02em; }
.closing { background: var(--ink-900); }
.closing__art::after { background: linear-gradient(90deg, rgb(48 54 51 / .96), rgb(48 54 51 / .68)); }
.journey--moving .story__scene { background: transparent; }
.journey--moving .uv-grid { display: none; }
@media (min-width: 768px) { .journey-scene { max-width: 1440px; margin-inline: auto; } }
@media (max-width: 1023px) { .journey .uv-scrollcue { display: none; } }
@media (min-width: 768px) and (max-width: 899px) { .journey--moving .story__shell { display: grid; } .journey--moving .story__scene { order: initial; height: 60svh; } }
@media (max-width: 767px) {
  .site-header .header-demo { display: none; }
  .journey .hero { min-height: 100svh; padding: calc(var(--header-h) + 48px) var(--gutter) 160px; }
  .journey__hero-art { opacity: .28; object-position: 70% 40%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%); mask-image: linear-gradient(180deg, transparent 0%, #000 58%); }
  .journey .hero__title { font-size: clamp(2.9rem, 10vw, 4.4rem); }
  .journey__tools { bottom: 76px; gap: 8px; }
  .journey__tools > span { font-size: .75rem; }
  .journey .uv-scrollcue { display: none; }
  .journey-scene { padding-block: 48px; }
  .journey .story__scene { position: relative; top: auto; height: 42svh; }
  .journey .step { scroll-margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .journey__card { transform: none; } }
