/* The ordinary document is the fallback; the journey adds three distinct movements. */
.journey-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
#vision { padding: 100px 24px; }
.intro-stage { position: relative; }
#vision .statement { position: relative; z-index: 3; margin: 0; max-width: none; font-size: clamp(54px, 8.8vw, 154px); line-height: .96; letter-spacing: -.065em; }
#vision .statement > span { display: block; width: max-content; max-width: 100%; }
.intro-seed { position: relative; width: min(780px, 70vw); height: 52svh; margin: 60px 0 0 auto; border-radius: 80px; overflow: hidden; isolation: isolate; }
.intro-seed > img { position: absolute; left: -5%; top: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; }
.intro-orbit { position: absolute; left: 3vw; bottom: 180px; width: 18vw; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.intro-orbit img, .intro-orbit video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#vision .intro-caption { position: relative; margin: 36px 0 70px auto; width: min(470px, 50%); font-size: clamp(17px, 1.4vw, 24px); }
.intro-next { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.intro-next h2 { font-size: clamp(56px, 8.4vw, 148px); line-height: .94; letter-spacing: -.06em; font-weight: 400; }
.intro-next p { color: var(--taupe); font-size: 16px; line-height: 1.35; }
.intro-seed-shade { position: absolute; inset: 0; pointer-events: none; }
#systems { padding: 8px; }
.architecture-stage { position: relative; }
.architecture-word { display: none; }
#systems .architecture-image { transform: none; }

html.has-journey #vision { position: relative; z-index: 3; height: 330svh; padding: 0; pointer-events: none; }
html.has-journey .intro-stage { position: sticky; top: 0; width: 100%; height: 100svh; overflow: clip; background: transparent; pointer-events: none; }
html.has-journey #vision .statement { position: absolute; top: 12%; left: 24px; right: 24px; }
html.has-journey #vision .statement > span:nth-child(2) { margin-left: 10vw; }
html.has-journey #vision .statement > span:nth-child(3) { margin-top: .06em; }
html.has-journey .intro-seed { display: none; position: absolute; inset: 8px; width: auto; height: auto; margin: 0; border-radius: 0; }
html.has-journey .intro-orbit { left: 5%; bottom: 13%; width: 13vw; }
html.has-journey #vision .intro-caption { position: absolute; right: 4%; bottom: 12%; width: 28%; margin: 0; }
html.has-journey .intro-next { position: absolute; z-index: 4; left: 32px; right: 32px; top: 15%; display: block; pointer-events: none; text-shadow: 0 2px 35px rgba(24,23,23,.55); }
html.has-journey .intro-next h2 { font-size: clamp(70px, 10vw, 165px); }
html.has-journey .intro-next p { margin-top: 24px; color: var(--cream); }
html.has-journey #collection { position: relative; z-index: 2; height: calc(230svh + var(--outdoor-count, 5) * 150svh); margin-top: -330svh; }
html.has-journey #roofs { top: 230svh; }
html.has-journey #collection .collection-stage { background: var(--ink); }
html.has-journey #collection .roof-scene:first-child .scene-title,
html.has-journey #collection .roof-scene:first-child .scene-bottom,
html.has-journey #collection .roof-tabs,
html.has-journey #collection .collection-progress { opacity: var(--journey-reveal, 0) !important; }
@media (max-width: 700px) { html.has-journey #collection { height: calc(230svh + var(--outdoor-count, 5) * 135svh); } }
html.has-journey #systems { height: 190svh; padding: 0; margin: 100px 0 80px; }
html.has-journey .architecture-stage { position: sticky; top: 0; height: 100svh; overflow: clip; perspective: 1400px; }
html.has-journey .architecture-word { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 7svh 24px 10svh; font-size: clamp(110px, 24vw, 400px); line-height: .77; letter-spacing: -.07em; color: var(--taupe); }
html.has-journey .architecture-word span:last-child { align-self: flex-end; }
html.has-journey #systems .architecture-image { position: absolute; inset: 8px; height: auto; min-height: 0; border-radius: 0; transform: none; }
html.has-journey #systems .architecture-image > img { inset: 0; width: 100%; height: 100%; }
html.has-journey #systems .architecture-caption { position: absolute; left: 32px; right: 32px; bottom: 9svh; z-index: 2; }
html.has-journey .work-track { height: 280svh; margin-inline: calc(8px - var(--shell)); }
html.has-journey .work-stage { position: sticky; top: 0; height: 100svh; overflow: clip; padding-top: 8px; perspective: 1400px; }
html.has-journey .work-track .work-list { display: flex; width: max-content; height: 100%; gap: 24px; padding: 0 5vw; transform-style: preserve-3d; }
html.has-journey .work-track .project-card { flex: 0 0 82vw; width: 82vw; height: 100%; margin: 0; transform-origin: 50% 50%; backface-visibility: hidden; }
html.has-journey .work-track .project-image { height: calc(100svh - 174px); min-height: 220px; aspect-ratio: auto; border-radius: 38px; }
html.has-journey .project-meta { min-height: 92px; padding: 18px 14px; }
html.has-journey .project-meta h3 { font-size: clamp(21px, 2vw, 30px); }
html.has-journey .project-meta p, html.has-journey .project-meta > span { font-size: 13px; line-height: 1.35; }

/* Native touch scrolling: no sticky stack, overlapping captions or 3D card planes. */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  html.has-journey .work-track { height: auto; margin-inline: calc(8px - var(--shell)); }
  html.has-journey .work-stage { position: relative; top: auto; height: auto; overflow: visible; padding-top: 0; perspective: none; }
  html.has-journey .work-track .work-list { position: relative; width: 100%; height: auto; display: grid; grid-template-columns: 1fr; gap: 57px; padding: 0; transform-style: flat; }
  html.has-journey .work-track .project-card { position: relative; width: 100%; height: auto; margin: 0; backface-visibility: visible; }
  html.has-journey .work-track .project-image { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.7; border-radius: 30px; }
  html.has-journey .project-meta { display: grid; grid-template-columns: 1fr; gap: 7px; padding: 16px 16px 8px; min-height: 112px; }
  html.has-journey .project-meta h3 { font-size: 25px; }
  html.has-journey .project-meta p, html.has-journey .project-meta > span { justify-self: start; margin: 0; text-align: left; font-size: 12px; }
}
@media (max-width: 700px) {
  html.has-journey .work-track .project-image { aspect-ratio: 1.05; }
  #vision { padding: 76px 24px; }
  #vision .statement { font-size: clamp(48px, 12.8vw, 88px); line-height: .98; }
  .intro-seed { width: 86%; height: 55svh; border-radius: 50px; margin-top: 42px; }
  .intro-seed > img { object-position: 52% center; }
  .intro-orbit { width: 26vw; left: -8px; bottom: 200px; }
  #vision .intro-caption { width: 85%; font-size: 20px; margin-bottom: 64px; }
  .intro-next { display: block; }
  .intro-next h2 { font-size: 14vw; }
  .intro-next p { margin-top: 24px; }
  html.has-journey #vision .statement { top: 15%; left: 24px; right: 20px; font-size: clamp(47px, 12.6vw, 86px); }
  html.has-journey #vision .statement > span:nth-child(2) { margin-left: 4vw; }
  html.has-journey #vision .statement > span:nth-child(3) { max-width: 80%; }
  html.has-journey .intro-orbit { width: 24vw; bottom: 18%; }
  html.has-journey #vision .intro-caption { width: 48%; bottom: 12%; right: 6%; font-size: 17px; }
  html.has-journey #vision .intro-caption br { display: none; }
  html.has-journey .intro-next { left: 24px; right: 24px; top: 13%; }
  html.has-journey .intro-next h2 { font-size: 17vw; }
  html.has-journey .intro-next p { font-size: 13px; }
  html.has-journey #systems { margin-top: 70px; margin-bottom: 50px; }
  html.has-journey .architecture-word { font-size: 29vw; padding: 16svh 14px 18svh; }
  html.has-journey #systems .architecture-caption { left: 24px; right: 24px; bottom: 12svh; }
  html.has-journey #systems .architecture-caption h2 { font-size: 14vw; }
}
@media (max-height: 500px) and (max-width: 1000px) {
  html.has-journey #vision .statement { top: 8%; font-size: 13svh; }
  html.has-journey #vision .intro-caption { bottom: 9%; font-size: 12px; width: 29%; }
  html.has-journey .intro-orbit { width: 12vw; bottom: 12%; }
  html.has-journey .intro-next { top: 10%; }
  html.has-journey .intro-next h2 { font-size: 20svh; }
  html.has-journey .intro-next p { display: none; }
  html.has-journey #systems .architecture-caption { bottom: 16svh; gap: 12px; }
  html.has-journey #systems .architecture-caption h2 { font-size: 13svh; }
  html.has-journey #systems .architecture-caption p { font-size: 12px; }
  html.has-journey .project-meta { min-height: 80px; gap: 3px; padding: 10px 14px; }
  html.has-journey .project-meta h3 { font-size: 18px; }
  html.has-journey .project-meta p, html.has-journey .project-meta > span { font-size: 10px; }
}
@media (min-width: 901px) and (max-width: 1000px) and (max-height: 500px) and (hover: hover) and (pointer: fine) {
  html.has-journey .work-track .project-image { height: calc(100svh - 150px); min-height: 100px; }
}

html.has-journey #vision .statement { text-shadow: 0 1px 22px rgba(24,23,23,.5); }
