.journey {
  --hud: color-mix(in srgb, #fffae9, #211f18 calc(var(--plan-weight, 0) * 100%));
  --screen: 100svh;
  --run: 520svh;
  --gutter: clamp(24px, 4.7vw, 85px);
  --rail: clamp(54px, 7svh, 70px);
  --hairline: color-mix(in srgb, currentColor 36%, transparent);
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: var(--screen);
  visibility: hidden;
  pointer-events: none;
  color: var(--hud);
}
.journey.running {
  position: relative;
  inset: auto;
  height: calc(var(--screen) + var(--run));
  visibility: visible;
  pointer-events: auto;
}
.journey-screen {
  position: sticky;
  top: 0;
  height: var(--screen);
  width: 100%;
  isolation: isolate;
  overflow: clip;
  background: #c53526;
}
.world, .world canvas, .journey-shade, .journey-shade::before, .journey-shade::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.journey-shade {
  background: linear-gradient(90deg, #180e0c52, transparent 47%);
  pointer-events: none;
}
.journey-shade::before {
  content: "";
  background: linear-gradient(90deg, #112826f5, #112826e8 26%, #112826a6 35%, transparent 48%);
  opacity: var(--collection-weight, 0);
}
.journey-shade::after {
  content: "";
  background: linear-gradient(90deg, #ddd7c0, #ddd7c0eb 24%, #ddd7c0b3 34%, transparent 48%);
  opacity: var(--plan-weight, 0);
}
.journey-nav, .journey-rail {
  position: absolute;
  inset-inline: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.journey-nav {
  top: 0;
  height: clamp(54px, 8svh, 88px);
  border-bottom: 1px solid var(--hairline);
}
.view-mode, .end-link, .next-room {
  color: inherit;
  font: 500 13px/1.35 var(--body);
  text-decoration: underline;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
}
.view-mode {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.journey-rail {
  bottom: 0;
  height: var(--rail);
  border-top: 1px solid var(--hairline);
}
.room-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 44px);
  align-self: stretch;
}
.room-links a {
  display: inline-flex;
  align-items: center;
  position: relative;
  color: inherit;
  font: 500 13px/1.2 var(--body);
  text-decoration: none;
}
.room-links a[aria-current]::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: currentColor;
}
.next-room {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .6em;
  text-decoration: none;
}
.next-room b { font-weight: 400; }
.landmark {
  position: absolute;
  display: block;
  top: calc(var(--run) * var(--at));
  pointer-events: none;
  scroll-margin-top: 0;
}
html:has(body.exhibiting) { scroll-padding: 0; }
body.exhibiting { overflow-anchor: none; }
body.exhibiting #catalog { display: none; }
body.exhibiting .skip:focus { z-index: 5; }
.scene-note {
  position: absolute;
  inset-inline-start: var(--gutter);
  width: min(35%, 38rem);
  top: 50%;
  transform: translateY(-45%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scene-note.current {
  opacity: var(--pause, 1);
  visibility: visible;
  pointer-events: auto;
}
.room-kicker {
  margin-bottom: clamp(12px, 1.3vw, 21px);
  font: 500 clamp(10px, .8vw, 13px)/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .075em;
}
.scene-note h1, .scene-note h2 {
  margin: 0 0 clamp(16px, 1.7vw, 27px);
  color: inherit;
  font: 600 clamp(54px, 6.4vw, 112px)/.95 var(--grotesk);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.scene-note h1 { font-size: clamp(48px, 6.1vw, 108px); }
.scene-note h1 em, .scene-note h2 em {
  font: italic 400 1em/.95 var(--serif);
  letter-spacing: -.035em;
}
.scene-note h1 em { display: block; }
.scene-body, .future-years span {
  font: 400 clamp(15px, 1.15vw, 19px)/1.5 var(--body);
  max-width: 39ch;
}
.scene-tools, .journey-references {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(16px, 1.65vw, 25px);
}
.scene-tools button, .journey-references button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, currentColor 60%, transparent);
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: 500 13px/1.25 var(--body);
}
.scene-tools button[aria-pressed=true], .journey-references button[aria-pressed=true] {
  background: var(--hud);
  color: #24251e;
  border-color: var(--hud);
}
.scene-tools .switch { width: 24px; height: 14px; }
.scene-tools [aria-pressed=true] .switch::after { transform: translateX(9px); }
.end-link { display: none; }
.journey-references { gap: 5px; }
.journey-references button {
  width: 44px;
  padding: 0;
  border-radius: 2px;
  font: 500 12px/1 var(--mono);
}
.journey-species {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 9px;
}
.journey-species i { font: italic 400 clamp(21px, 1.8vw, 30px)/1.12 var(--serif); }
.journey-species span { font: 500 11px/1.3 var(--mono); letter-spacing: .04em; }
.method-note {
  max-width: 31ch;
  margin-top: 18px;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  font: italic 400 clamp(21px, 1.7vw, 29px)/1.2 var(--serif);
}
.future-years { max-width: 43ch; }
.future-years p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(12px, 1.1vw, 18px);
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
}
.future-years b { font: 600 34px/1 var(--grotesk); font-variant-numeric: tabular-nums; }
.future-years span { font-size: clamp(14px, 1.1vw, 17px); }
.work-label {
  position: absolute;
  inset-inline-end: var(--gutter);
  bottom: calc(var(--rail) + 18px);
  max-width: 42%;
  text-align: right;
  font: 500 12px/1.45 var(--body);
  color: #fffae9;
  opacity: var(--caption-alpha, 1);
  pointer-events: none;
}
.work-label:empty { display: none; }

@media (hover: hover) {
  .room-links a:hover, .next-room:hover { text-decoration: underline; text-underline-offset: .28em; }
  .scene-tools button:hover, .journey-references button:hover { border-color: currentColor; }
}
@media (min-width: 651px) and (max-width: 850px) {
  .scene-note { width: 39%; }
  .scene-note h1 { font-size: 6.8vw; }
  .scene-note h2 { font-size: 6.5vw; }
  .scene-body { font-size: 14px; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .journey {
    --gutter: clamp(16px, 5vw, 36px);
    --run: 470svh;
    --rail: calc(53px + env(safe-area-inset-bottom, 0px));
  }
  .journey-shade {
    background: linear-gradient(0deg, #101611ea 0%, #171914bf 29%, #17191440 48%, transparent 65%);
  }
  .journey-shade::before {
    background: linear-gradient(0deg, #742010 0%, #8a2411ec 22%, #962c164d 46%, transparent 63%);
    opacity: var(--opening-weight, 1);
  }
  .journey-shade::after {
    background: linear-gradient(0deg, #e1dbc7 0%, #e0d8c2f5 29%, #d1c9b57d 45%, transparent 64%);
  }
  .journey-nav { height: 56px; }
  .journey .brand { font-size: 24px; }
  .scene-note {
    top: auto;
    bottom: calc(var(--rail) + clamp(13px, 2.5svh, 24px));
    inset-inline: var(--gutter);
    width: auto;
    transform: none;
  }
  .room-kicker { font-size: 10px; margin-bottom: 8px; }
  .scene-note h1, .scene-note h2 {
    margin-bottom: 10px;
    font-size: clamp(43px, 11vw, 74px);
  }
  .scene-note h1 { font-size: clamp(48px, 13.5vw, 85px); }
  .scene-note .scene-body { font-size: clamp(14px, 3.65vw, 17px); line-height: 1.43; max-width: 48ch; }
  .scene-tools, .journey-references { margin-top: 12px; }
  .journey-species { margin-top: 7px; }
  .journey-species i { font-size: 21px; }
  .method-note { font-size: 20px; max-width: 35ch; margin-top: 11px; padding-top: 8px; }
  .future-years { max-width: 50ch; }
  .future-years p { padding: 8px 0; }
  .future-years b { font-size: 30px; }
  .future-years span { font-size: 14px; line-height: 1.4; }
  .journey-rail { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .room-links { justify-content: space-between; gap: 3px; width: 100%; }
  .room-links a { font-size: clamp(10px, 2.85vw, 14px); }
  .next-room { display: none; }
  .end-link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; margin-left: 5px; }
  .work-label {
    top: 54%;
    bottom: auto;
    inset-inline: var(--gutter);
    max-width: none;
    text-align: right;
    font-size: 11px;
  }
}
@media (max-height: 760px) and (max-width: 900px) and (orientation: portrait) {
  .work-label { top: 65px; }
}
@media (max-height: 650px) and (max-width: 900px) and (orientation: portrait) {
  .journey { --rail: calc(46px + env(safe-area-inset-bottom, 0px)); }
  .journey-nav { height: 46px; }
  .scene-note { bottom: calc(var(--rail) + 9px); }
  .scene-note h1, .scene-note h2 { font-size: clamp(36px, 10.5vw, 54px); }
  .scene-note h1 em { display: inline; }
  .room-kicker { margin-bottom: 4px; }
  .scene-tools, .journey-references { margin-top: 7px; }
  .scene-note .scene-body, .future-years span { font-size: 13px; }
  .work-label { top: 51px; }
}
@media (max-height: 610px) and (orientation: landscape) {
  .journey { --rail: 39px; }
  .journey-nav { height: 44px; }
  .journey .brand { font-size: 23px; }
  .scene-note { top: 50%; width: 38%; transform: translateY(-46%); }
  .scene-note h1, .scene-note h2 { font-size: clamp(32px, 5.5vw, 63px); margin-bottom: 7px; }
  .room-kicker { font-size: 9px; margin-bottom: 5px; }
  .scene-body, .future-years span { font-size: 13px; line-height: 1.35; }
  .scene-tools, .journey-references { margin-top: 8px; }
  .scene-tools button, .journey-references button { min-height: 36px; font-size: 12px; }
  .journey-species { margin-top: 4px; }
  .journey-species i { font-size: 19px; }
  .room-links a { font-size: 12px; }
  .method-note { font-size: 17px; margin-top: 6px; padding-top: 6px; }
  .future-years p { padding: 5px 0; }
  .work-label { bottom: calc(var(--rail) + 6px); font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .journey { display: none; } }
