@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Mono;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Inter's own arrows and ⊕, absent from the latin subsets. Without them iOS
   substitutes its emoji arrows. */
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-arrows.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+2190, U+2192, U+2194-2199, U+2295;
}
@font-face {
  font-family: Mono;
  src: url("/fonts/inter-arrows.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+2190, U+2192, U+2194-2199, U+2295;
}
:root {
  color-scheme: dark;
  --ink: #f2ecdf;
  --muted: #bdb6a8;
  --copper: #e6b584;
  --line: #e5d3b92b;
  --paper: #171712;
  font-family: Inter, Arial, sans-serif;
  background: #161510;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #f4ce97;
  outline-offset: 6px;
}
button:focus:not(:focus-visible),
[tabindex="-1"]:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
svg {
  display: block;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 16px;
  background: #171712;
}
.surface {
  min-height: 740px;
  height: 100svh;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.surface-image {
  position: absolute;
  inset: -2%;
  z-index: -3;
  background: url("/assets/colony/entrance-real.webp") center 58% / cover
    no-repeat;
  animation: breathing-earth 28s ease-in-out infinite alternate;
}
.surface-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #11130feb 0%,
      #11130fc2 24%,
      #11130f3d 61%,
      #11130f0d
    ),
    linear-gradient(
      0deg,
      #10110fe6,
      transparent 28%,
      transparent 76%,
      #10110f94
    );
}
.surface-header,
.surface-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4.2vw;
}
.surface-header {
  padding-top: 35px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.identity svg {
  width: 32px;
  height: 39px;
  stroke: #d8b48a;
  stroke-width: 1.3;
}
.identity small {
  display: block;
  font:
    9px Mono,
    monospace;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-top: 7px;
}
.quiet-link {
  font-size: 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #bdb6a85a;
  padding: 10px 0;
}
.quiet-link span {
  margin-left: 25px;
}
.invitation {
  width: 640px;
  max-width: 65vw;
  margin: auto 0 auto 8.5vw;
  padding: 70px 0 48px;
}
.eyebrow {
  font:
    9px/1.7 Mono,
    monospace;
  letter-spacing: 1.9px;
  color: var(--copper);
  margin: 0 0 27px;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 14px #e6b58466;
  margin-right: 10px;
  vertical-align: 2px;
}
h1 {
  font-size: clamp(68px, 6.9vw, 116px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.01;
  margin: 0 0 30px;
}
h1 em {
  letter-spacing: -0.065em;
  color: #e3cbaa;
}
.invitation-copy {
  font-size: 14px;
  line-height: 1.85;
  color: #d4cdbf;
  margin: 0 0 37px;
}
.enter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 255px;
  padding: 15px 16px 15px 22px;
  font-size: 13px;
  background: #ddba8e;
  color: #201b13;
  border: 1px solid #f0d0a4;
  transition:
    background 0.25s,
    transform 0.25s;
  box-shadow: 0 4px 30px #0b0b0833;
}
.enter-button:hover {
  background: #f1d4ab;
  transform: translateY(-2px);
}
.enter-arrow {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-left: 1px solid #211e1633;
  font-size: 21px;
}
.read-link {
  display: block;
  width: max-content;
  font-size: 10px;
  color: #c0b9aa;
  margin-top: 20px;
  padding: 6px 0;
}
.read-link span {
  margin-left: 9px;
}
.read-link:hover,
.quiet-link:hover {
  color: #fff;
}
.surface-footer {
  font:
    8px Mono,
    monospace;
  letter-spacing: 1.3px;
  color: #c1b9a9;
  padding-bottom: 28px;
  gap: 20px;
}
.footer-coordinate {
  color: #8e8e7f;
  margin-left: 15px;
}
.surface-footer button {
  font: inherit;
  font-size: 9px;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 10px;
}
.entrance-marker {
  position: absolute;
  top: 49%;
  left: 70%;
  display: flex;
  align-items: center;
  gap: 15px;
  font:
    8px/1.8 Mono,
    monospace;
  letter-spacing: 1.5px;
  color: #eee2c9;
}
.entrance-marker b {
  font:
    10px Inter,
    sans-serif;
  letter-spacing: 0;
  font-weight: 400;
  color: #d1c1a8;
}
.marker-ring {
  width: 39px;
  height: 39px;
  border: 1px solid #dfc19a90;
  border-radius: 50%;
  position: relative;
  animation: marker-breathe 4s ease-in-out infinite;
}
.marker-ring:after {
  content: "";
  position: absolute;
  inset: 15px;
  background: #e4c39b;
  border-radius: 50%;
}
.expedition {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #15150f;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.expedition::backdrop {
  background: #111;
}
.world {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("/assets/colony/entrance-real.webp") center/cover;
}
.world canvas {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s;
}
.world-grade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #10110ff5 0%,
    #10110f99 17%,
    transparent 46%,
    transparent 78%,
    #11120fa6 100%
  );
}
.expedition[data-view="route"] .world-grade {
  background:
    linear-gradient(
      90deg,
      #11120fde 0%,
      #11120fc2 22%,
      #11120f40 49%,
      transparent 70%
    ),
    linear-gradient(
      0deg,
      #10110ff5,
      transparent 28%,
      transparent 78%,
      #11120f99
    );
}
.expedition-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 3.3vw;
  gap: 16px;
}
.colony-home {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  font:
    10px Mono,
    monospace;
  letter-spacing: 2px;
  padding: 4px;
}
.colony-home svg {
  width: 29px;
  height: 33px;
  stroke: #d5b58c;
  stroke-width: 1.1;
}
.colony-home small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #c1b6a4;
  margin-top: 6px;
}
.expedition-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 10px;
}
.expedition-actions button {
  min-height: 40px;
}
.exit-button {
  border: 1px solid #d2c5ad4a;
  padding: 0 15px;
  font-size: 11px;
}
.exit-button span {
  margin-left: 18px;
}
.world-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #15150f;
  font:
    11px Mono,
    monospace;
  color: #d3c0a5;
  transition: opacity 0.5s;
}
.world-loading.is-ready {
  opacity: 0;
  pointer-events: none;
}
.loading-orbit {
  border: 1px solid #c4a77c35;
  border-top-color: #e0bd8b;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: orbit 1.2s linear infinite;
}
.world-status {
  position: absolute;
  top: 83px;
  right: 3.6vw;
  max-width: 300px;
  font:
    10px/1.7 Mono,
    monospace;
  color: #d9c4a5;
  z-index: 6;
}
.world-status:empty {
  display: none;
}
.junction {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 5vw 27px;
  pointer-events: none;
}
.junction-copy {
  margin-bottom: auto;
  max-width: 430px;
  pointer-events: auto;
}
.junction-copy .eyebrow {
  margin-bottom: 18px;
}
.junction h3,
.room-copy h3 {
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.052em;
  margin: 0 0 20px;
  text-shadow: 0 2px 24px #0c0d0a55;
}
.junction h3 em {
  color: #e4d1b0;
}
.junction-copy > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #cfc7b8;
}
.route-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
  pointer-events: auto;
}
.route-card {
  position: relative;
  text-align: left;
  padding: 22px 21px 20px;
  border: 1px solid #dfcfb43d;
  background: linear-gradient(140deg, #181b16ed, #181b16a8);
  backdrop-filter: blur(12px);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
  min-height: 166px;
}
.route-card:hover,
.route-card:focus-visible {
  background: #302e23ee;
  border-color: #d7b58a;
  transform: translateY(-5px);
}
.route-card-top {
  display: flex;
  justify-content: space-between;
  font:
    9px Mono,
    monospace;
  letter-spacing: 1px;
  color: var(--route-color);
  margin-bottom: 27px;
}
.route-card h4 {
  font-weight: 450;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0 0 9px;
}
.route-card p {
  font-size: 11px;
  line-height: 1.7;
  color: #c1b9ab;
  margin: 0;
  max-width: 240px;
}
.route-card-arrow {
  position: absolute;
  top: 19px;
  right: 20px;
  font-size: 18px;
  color: #d2c5b0;
}
.route-card-visited {
  font-size: 8px;
  color: #cfccb3;
  margin-right: 28px;
}
.junction-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  font:
    8px Mono,
    monospace;
  letter-spacing: 1px;
  color: #b9b09e;
}
.passage {
  position: absolute;
  inset: 0;
  padding: 120px 5vw 28px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.route-context {
  display: flex;
  justify-content: space-between;
  font:
    8px Mono,
    monospace;
  letter-spacing: 1.6px;
  color: #c5b598;
}
.room-copy {
  margin: auto 0;
  max-width: 425px;
  pointer-events: auto;
  padding: 35px 0 20px;
}
.room-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  color: var(--route-color, var(--copper));
}
.room-copy h3 {
  white-space: pre-line;
  font-size: clamp(40px, 4.1vw, 65px);
  line-height: 1.06;
  margin-bottom: 25px;
}
.room-description {
  font-size: 13px;
  line-height: 1.9;
  color: #d2cabc;
  max-width: 365px;
  margin: 0 0 25px;
}
.room-principle {
  font-size: 11px;
  line-height: 1.8;
  color: #e8d7ba;
  border-left: 1px solid var(--route-color, var(--copper));
  padding-left: 14px;
  max-width: 340px;
}
.gate-action {
  margin-top: 15px;
  font-size: 11px;
  background: #dcc09a;
  color: #211e16;
  padding: 13px 16px;
  text-align: left;
}
.gate-action:after {
  content: " ↗";
  margin-left: 14px;
}
.action-result {
  font-size: 10px;
  line-height: 1.7;
  color: #d3cca9;
  max-width: 340px;
  margin: 8px 0 0;
}
.action-result:empty {
  display: none;
}
.passage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  pointer-events: auto;
}
.passage-tools {
  display: flex;
  align-items: center;
  gap: 30px;
}
.inspect-button {
  border: 1px solid #d2c5ad66;
  padding: 13px 17px;
  font-size: 11px;
  background: #1c1d17a6;
}
.inspect-button span {
  margin-right: 8px;
  color: #dcc19d;
  font-size: 18px;
  line-height: 10px;
  vertical-align: -1px;
}
.inspect-button:hover {
  background: #3a3428;
}
.map-link {
  font-size: 10px;
  color: #d3cbb9;
  padding: 12px 0;
}
.map-link span {
  margin-left: 12px;
}
.room-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}
.room-navigation > button {
  width: 40px;
  height: 40px;
  font-size: 19px;
  border: 1px solid var(--line);
}
#room-steps {
  display: flex;
  gap: 3px;
}
#room-steps button {
  font:
    10px Mono,
    monospace;
  color: #b4b0a4;
  padding: 12px 10px;
  position: relative;
}
#room-steps button[aria-current="step"] {
  color: #efcda3;
}
#room-steps button[aria-current="step"]:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: #e7c091;
}
.field-note {
  position: absolute;
  z-index: 8;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(500px, 46vw);
  padding: 32px 36px 40px;
  background: #1b1e18f7;
  backdrop-filter: blur(24px);
  border-left: 1px solid #d6c09a40;
  overflow-y: auto;
  box-shadow: -30px 0 90px #0a0b0840;
  animation: note-enter 0.35s ease-out;
}
.field-note header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.field-note header .eyebrow {
  margin: 0;
}
.field-note header button {
  width: 40px;
  height: 40px;
  font-size: 27px;
  font-weight: 200;
  border: 1px solid var(--line);
}
.note-status {
  font:
    9px/1.8 Mono,
    monospace;
  color: #c3b18e;
  margin-bottom: 24px;
}
.field-note h3 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -1.2px;
  margin: 0 0 22px;
}
.field-note > p:not(.note-status):not(.note-evidence) {
  font-size: 12px;
  line-height: 1.95;
  color: #d0cabb;
}
.system-flow {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 30px 0;
}
.system-flow li {
  counter-increment: steps;
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #c4b28f36;
  padding: 16px 16px;
  font-size: 10px;
  color: #e7d6ba;
  background: #22271f;
  margin-bottom: 22px;
}
.system-flow li:before {
  content: "0" counter(steps);
  font:
    9px Mono,
    monospace;
  color: #a9b48d;
}
.system-flow li:not(:last-child):after {
  content: "↓";
  position: absolute;
  top: 100%;
  left: 24px;
  height: 22px;
  line-height: 22px;
  font-size: 11px;
  color: #aaae93;
}
.concrete-example {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.concrete-example h4 {
  font:
    9px Mono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c4b599;
  font-weight: 400;
  margin: 0 0 13px;
}
.concrete-example p {
  font-size: 12px;
  line-height: 1.9;
  color: #ded6c7;
}
.note-evidence {
  font-size: 10px;
  line-height: 1.85;
  color: #b4b9a4;
  border-left: 2px solid #6e7b5d;
  padding-left: 13px;
  margin-top: 25px;
}
.note-index {
  display: block;
  font-size: 10px;
  color: #d2c2a8;
  margin-top: 30px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.field-note .quiet-link {
  display: inline-block;
  margin-top: 10px;
}
.expedition[data-travel="moving"] .room-copy {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.expedition[data-travel="arrived"] .room-copy {
  opacity: 1;
  transition: opacity 0.7s;
}
.expedition.is-fallback .world {
  opacity: 0.4;
}
.expedition.is-fallback .world-grade {
  background: #11130fa6;
}
@keyframes breathing-earth {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}
@keyframes marker-breathe {
  50% {
    box-shadow: 0 0 0 12px #e0c0940a;
    border-color: #e9c594;
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes note-enter {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
[data-motion="paused"] *,
[data-motion="paused"] *:before,
[data-motion="paused"] *:after {
  animation-play-state: paused !important;
}
@media (min-width: 1800px) {
  .invitation {
    margin-left: 11vw;
  }
  .surface-image {
    background-position: center 60%;
  }
  .junction,
  .passage {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .route-card {
    padding: 28px;
    min-height: 185px;
  }
  .route-card h4 {
    font-size: 21px;
  }
  .route-card p {
    font-size: 12px;
  }
}
@media (max-width: 1000px) {
  .surface {
    min-height: 680px;
  }
  .surface-image {
    background-position: 59% center;
  }
  .invitation {
    margin-left: 6vw;
    max-width: 78vw;
  }
  .entrance-marker {
    left: 78%;
    top: 45%;
  }
  .entrance-marker > span:last-child {
    display: none;
  }
  .route-choices {
    gap: 8px;
  }
  .route-card {
    padding: 17px 14px;
    min-height: 165px;
  }
  .route-card h4 {
    font-size: 15px;
  }
  .route-card p {
    font-size: 10px;
  }
  .route-card-arrow {
    right: 13px;
  }
  .room-copy {
    max-width: 360px;
  }
  .field-note {
    width: 48vw;
    padding: 25px;
  }
  .passage-tools {
    gap: 16px;
  }
  .room-navigation {
    gap: 12px;
  }
  .room-navigation > button {
    width: 35px;
  }
  .surface-header {
    padding-top: 27px;
  }
}
@media (max-width: 650px) {
  .surface {
    min-height: 650px;
    height: 100svh;
  }
  .surface-header {
    margin: 0 6vw;
    padding-top: 25px;
  }
  .identity {
    font-size: 16px;
    gap: 10px;
  }
  .identity svg {
    width: 26px;
  }
  .identity small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .quiet-link {
    font-size: 10px;
  }
  .quiet-link span {
    margin-left: 12px;
  }
  .surface-image {
    inset: 0;
    background-image: url("/assets/colony/entrance-mobile.webp");
    background-size: cover;
    background-position: center;
    animation-name: none;
  }
  .surface-shade {
    background: linear-gradient(
      0deg,
      #11130fee 0%,
      #11130fcc 26%,
      #11130f30 58%,
      #11130f55 78%,
      #11130fc9 100%
    );
  }
  .invitation {
    margin: auto 7vw 28px;
    padding: 175px 0 0;
    width: auto;
    max-width: none;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
    margin-bottom: 22px;
  }
  .invitation h1 {
    font-size: clamp(51px, 11.9vw, 75px);
    letter-spacing: -0.06em;
    margin-bottom: 22px;
  }
  .invitation-copy {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 25px;
  }
  .enter-button {
    width: 230px;
    font-size: 12px;
    padding: 11px 14px 11px 19px;
  }
  .read-link {
    margin-top: 14px;
    font-size: 9px;
  }
  .surface-footer {
    margin: 0 7vw;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 7px;
    letter-spacing: 0.5px;
    padding-bottom: 20px;
  }
  .surface-footer > span:nth-child(2) {
    display: none;
  }
  .footer-coordinate {
    display: none;
  }
  .surface-footer button {
    padding: 8px 0;
    font-size: 8px;
  }
  .entrance-marker {
    top: 26%;
    left: 61%;
  }
  .marker-ring {
    width: 31px;
    height: 31px;
  }
  .marker-ring:after {
    inset: 12px;
  }
  .expedition-header {
    padding: 20px 5vw;
    gap: 10px;
  }
  .colony-home {
    gap: 9px;
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .colony-home svg {
    width: 24px;
  }
  .colony-home small {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .expedition-actions {
    gap: 12px;
    font-size: 8px;
  }
  .exit-button {
    font-size: 9px;
    padding: 0 10px;
  }
  .exit-button span {
    margin-left: 9px;
  }
  .world-status {
    top: 72px;
    right: 6vw;
    left: 6vw;
    font-size: 8px;
    max-width: none;
  }
  .junction {
    padding: 114px 6vw 22px;
  }
  .junction-copy {
    max-width: 300px;
  }
  .junction h3 {
    font-size: 39px;
  }
  .junction-copy .eyebrow {
    font-size: 7px;
    margin-bottom: 12px;
  }
  .junction-copy > p:not(.eyebrow) {
    font-size: 10px;
    line-height: 1.7;
  }
  .route-choices {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 25px;
  }
  .route-card {
    min-height: 129px;
    padding: 15px 12px;
  }
  .route-card-top {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .route-card h4 {
    font-size: 13px;
    letter-spacing: -0.3px;
    margin-bottom: 7px;
  }
  .route-card p {
    font-size: 9px;
    line-height: 1.6;
  }
  .route-card-arrow {
    font-size: 14px;
    top: 12px;
    right: 12px;
  }
  .route-card-visited {
    font-size: 6px;
    margin-right: 17px;
  }
  .junction-foot {
    font-size: 6px;
    letter-spacing: 0.7px;
    margin-top: 18px;
    gap: 8px;
  }
  .junction-foot .live-dot {
    width: 4px;
    height: 4px;
    vertical-align: 1px;
    margin-right: 5px;
  }
  .expedition[data-view="route"] .world-grade {
    background: linear-gradient(
      0deg,
      #10120ff5 0%,
      #10120fd9 22%,
      #10120f99 42%,
      transparent 70%,
      #11120fa6 100%
    );
  }
  .passage {
    padding: 100px 6vw 22px;
  }
  .route-context {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .room-copy {
    margin: auto 0 14px;
    padding: 95px 0 0;
    max-width: 380px;
  }
  .room-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
    margin-bottom: 13px;
  }
  .room-copy h3 {
    font-size: 39px;
    line-height: 1.05;
    margin-bottom: 18px;
  }
  .room-description {
    font-size: 11px;
    line-height: 1.8;
    margin: 0 0 16px;
    max-width: 335px;
  }
  .room-principle {
    font-size: 10px;
    margin: 0;
    padding-left: 11px;
  }
  .gate-action {
    font-size: 10px;
    padding: 11px 13px;
    margin-top: 14px;
  }
  .action-result {
    font-size: 9px;
    line-height: 1.6;
  }
  .passage-footer {
    display: block;
    padding-top: 16px;
  }
  .passage-tools {
    justify-content: space-between;
    gap: 10px;
  }
  .inspect-button {
    padding: 11px 12px;
    font-size: 10px;
  }
  .map-link {
    font-size: 9px;
  }
  .room-navigation {
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
  }
  .room-navigation > button {
    height: 32px;
    width: 40px;
    font-size: 17px;
  }
  #room-steps button {
    font-size: 9px;
    padding: 9px 14px;
  }
  .field-note {
    width: 100%;
    padding: 24px 7vw 32px;
  }
  .field-note header {
    margin-bottom: 20px;
  }
  .field-note h3 {
    font-size: 29px;
  }
  .world-loading {
    font-size: 9px;
    gap: 14px;
  }
  .loading-orbit {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 370px) {
  .surface {
    min-height: 620px;
  }
  .invitation {
    padding-top: 150px;
  }
  .invitation h1 {
    font-size: 49px;
  }
  .identity small {
    font-size: 6px;
  }
  .route-card {
    min-height: 113px;
    padding: 12px 10px;
  }
  .route-card-top {
    margin-bottom: 12px;
  }
  .route-card h4 {
    font-size: 12px;
  }
  .route-card p {
    font-size: 8px;
  }
  .junction {
    padding-top: 102px;
  }
  .junction h3 {
    font-size: 33px;
  }
  .junction-copy > p:not(.eyebrow) {
    font-size: 9px;
  }
  .junction-foot {
    font-size: 5px;
  }
  .passage {
    padding-top: 86px;
  }
  .room-copy {
    padding-top: 45px;
  }
  .room-copy h3 {
    font-size: 33px;
    margin-bottom: 13px;
  }
  .room-description {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 13px;
  }
  .room-principle {
    font-size: 9px;
  }
  .room-copy .eyebrow {
    font-size: 6px;
  }
  .gate-action {
    font-size: 9px;
    padding: 9px 11px;
  }
  .passage-footer {
    padding-top: 11px;
  }
  .inspect-button {
    font-size: 9px;
    padding: 10px;
  }
  .room-navigation {
    margin-top: 9px;
  }
  .world-loading {
    font-size: 8px;
  }
}
@media (max-height: 620px) and (min-width: 651px) {
  .surface {
    min-height: 520px;
  }
  .surface-header {
    padding-top: 18px;
  }
  .invitation {
    padding: 35px 0 20px;
  }
  .invitation h1 {
    font-size: 65px;
    margin-bottom: 18px;
  }
  .invitation-copy {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .eyebrow {
    margin-bottom: 16px;
  }
  .surface-footer {
    padding-bottom: 14px;
  }
  .expedition-header {
    padding-top: 13px;
  }
  .junction {
    padding-top: 85px;
    padding-bottom: 16px;
  }
  .junction h3 {
    font-size: 34px;
    margin-bottom: 10px;
  }
  .junction-copy > p:not(.eyebrow) {
    font-size: 10px;
  }
  .route-choices {
    margin-top: 15px;
  }
  .route-card {
    min-height: 125px;
    padding: 13px;
  }
  .route-card-top {
    margin-bottom: 15px;
  }
  .route-card h4 {
    font-size: 14px;
  }
  .route-card p {
    font-size: 9px;
  }
  .junction-foot {
    margin-top: 12px;
  }
  .passage {
    padding-top: 77px;
    padding-bottom: 16px;
  }
  .room-copy {
    padding: 16px 0;
    max-width: 380px;
  }
  .room-copy h3 {
    font-size: 33px;
    margin-bottom: 14px;
  }
  .room-copy .eyebrow {
    margin-bottom: 12px;
    font-size: 7px;
  }
  .room-description {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 350px;
  }
  .room-principle {
    font-size: 9px;
    margin: 0;
  }
  .passage-footer {
    padding-top: 12px;
  }
  .gate-action {
    font-size: 9px;
    padding: 10px;
    margin-top: 10px;
  }
  .action-result {
    font-size: 8px;
  }
  .route-context {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-height: 460px) and (min-width: 651px) {
  .passage {
    padding-top: 70px;
    padding-bottom: 12px;
  }
  .room-copy {
    padding: 10px 0;
    max-width: 370px;
  }
  .room-copy h3 {
    font-size: 29px;
    margin-bottom: 10px;
  }
  .room-copy .eyebrow {
    margin-bottom: 8px;
  }
  .room-description {
    font-size: 9px;
    line-height: 1.65;
    margin-bottom: 10px;
  }
  .room-principle {
    font-size: 8px;
  }
  .gate-action {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 8px;
  }
  .action-result {
    font-size: 8px;
    line-height: 1.5;
  }
  .passage-footer {
    padding-top: 8px;
  }
  .inspect-button {
    padding: 9px 12px;
    font-size: 10px;
  }
  .room-navigation > button {
    height: 34px;
  }
}

/* The shared journey and its final, plain-language product reveal. */
.begin-trail {
  margin-top: 15px;
  font-size: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #c3a68080;
  color: #f0dbb7;
}
.begin-trail span {
  margin-left: 25px;
}
.worker-observation {
  position: absolute;
  top: 130px;
  left: 5vw;
  pointer-events: none;
}
.worker-observation > p:last-child {
  font-size: clamp(23px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.worker-observation em {
  color: #e4d1b0;
}
.is-observing .room-copy,
.is-observing .route-context {
  visibility: hidden;
}
.expedition.is-observing .world-grade {
  background: linear-gradient(
    0deg,
    #10110ff2,
    transparent 24%,
    transparent 65%,
    #11120fb0
  );
}
.ending {
  position: absolute;
  inset: 100px 0 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 35px 5vw 30px;
  scrollbar-color: #8b7960 #191c17;
}
.expedition[data-view="ending"] .world-grade {
  background:
    linear-gradient(115deg, #10120fe8, #10120f94),
    linear-gradient(0deg, #10120f, transparent);
}
.ending-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 0 70px;
}
.ending-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 14px;
}
.ending h3 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin: 0;
}
.ending h3 em {
  color: #e4d1b0;
}
.ending-intro > p:last-child {
  font-size: 12px;
  line-height: 1.9;
  color: #d2cabc;
  max-width: 330px;
  margin: 0 0 5px;
}
.product-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}
.product-story {
  padding: 22px 0 0;
  border-top: 1px solid #c9ab7c70;
  display: flex;
  flex-direction: column;
}
.product-domain,
.product-status {
  font:
    8px/1.6 Mono,
    monospace;
  letter-spacing: 1px;
  color: #d9ba8f;
  margin: 0;
}
.product-name {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 12px 0 18px;
}
.product-idea {
  font-size: 16px;
  line-height: 1.4;
  color: #eee2ce;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}
.product-description {
  font-size: 11px;
  line-height: 1.9;
  color: #d2cabc;
  margin: 0 0 16px;
}
.product-challenge {
  font-size: 11px;
  line-height: 1.8;
  color: #e7d5b8;
  padding-left: 13px;
  border-left: 1px solid #c9ab7c70;
  margin: 0 0 20px;
}
.product-status {
  margin-top: auto;
  color: #bdb7a8;
}
.ending-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ending-contact {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.ending-contact span {
  margin-left: 30px;
  color: #d9ba8f;
}
#explore-again {
  font-size: 10px;
  padding: 12px 0;
  color: #d2cabc;
}
@media (max-width: 1000px) and (min-width: 651px) {
  .product-stories {
    gap: 22px;
  }
  .product-name {
    font-size: 25px;
  }
  .product-idea {
    font-size: 14px;
  }
}
@media (max-width: 650px) {
  .begin-trail {
    font-size: 10px;
    margin-top: 3px;
    padding: 10px 0;
  }
  .worker-observation {
    top: 100px;
    left: 6vw;
  }
  .worker-observation .eyebrow {
    font-size: 7px;
  }
  .worker-observation > p:last-child {
    font-size: 25px;
  }
  .ending {
    inset: 78px 0 0;
    padding: 28px 6vw;
  }
  .ending-intro {
    display: block;
  }
  .ending-intro .eyebrow {
    font-size: 7px;
  }
  .ending h3 {
    font-size: 43px;
  }
  .ending-intro > p:last-child {
    font-size: 11px;
    margin-top: 22px;
  }
  .product-stories {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 28px;
  }
  .product-name {
    margin-bottom: 12px;
  }
  .product-description,
  .product-challenge {
    font-size: 12px;
  }
  .ending-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .ending-contact {
    font-size: 23px;
  }
}
@media (max-height: 690px) and (max-width: 650px) {
  .junction {
    padding-top: 90px;
  }
  .junction-copy .eyebrow {
    margin-bottom: 10px;
  }
  .junction h3 {
    font-size: 31px;
    margin-bottom: 10px;
  }
  .junction-copy > p:not(.eyebrow) {
    font-size: 9px;
    margin: 0;
  }
  .begin-trail {
    font-size: 9px;
    padding: 9px 0;
  }
  .route-choices {
    margin-top: 14px;
    gap: 6px;
  }
  .route-card {
    min-height: 102px;
    padding: 12px 10px;
  }
  .route-card-top {
    font-size: 6px;
    margin-bottom: 12px;
  }
  .route-card h4 {
    font-size: 12px;
  }
  .route-card p {
    font-size: 8px;
  }
  .junction-foot {
    margin-top: 13px;
  }
  .passage {
    padding-top: 85px;
    padding-bottom: 15px;
  }
  .room-copy {
    padding-top: 25px;
    margin-bottom: 12px;
  }
  .room-copy h3 {
    font-size: 31px;
  }
  .room-description {
    font-size: 10px;
    line-height: 1.7;
  }
  .room-principle {
    font-size: 9px;
  }
}
@media (max-height: 620px) and (min-width: 651px) {
  .junction {
    padding-top: 75px;
  }
  .junction-copy {
    max-width: 550px;
  }
  .junction h3 br {
    display: none;
  }
  .junction h3 em::before {
    content: " ";
  }
  .junction-copy > p:not(.eyebrow) br {
    display: none;
  }
  .begin-trail {
    font-size: 10px;
    padding: 8px 0;
    margin-top: 0;
  }
  .junction-copy .eyebrow {
    margin-bottom: 10px;
  }
  .route-card {
    min-height: 108px;
  }
  .worker-observation {
    top: 90px;
  }
  .ending {
    inset: 73px 0 0;
    padding-top: 18px;
  }
  .ending h3 {
    font-size: 38px;
  }
  .product-stories {
    margin-top: 25px;
  }
}
/* Identity, with the original photographic entrance kept as the invitation. */
.surface {
  min-height: max(780px, 100svh);
  height: auto;
}
.invitation {
  width: 720px;
  max-width: 62vw;
  margin: auto 0 auto 7vw;
  padding: 42px 0 32px;
}
.invitation > .eyebrow {
  margin-bottom: 21px;
}
.invitation h1 {
  font-size: clamp(83px, 8.7vw, 139px);
  white-space: nowrap;
  letter-spacing: -0.068em;
  margin-bottom: 22px;
}
.hero-role {
  font-size: clamp(25px, 2.4vw, 37px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: #eee6d7;
}
.invitation-copy {
  font-size: 16px;
  margin-bottom: 26px;
}
.expertise {
  margin-top: 35px;
  padding-top: 19px;
  max-width: 600px;
  border-top: 1px solid #cab38b50;
}
.expertise-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 18px;
  margin: 0 0 12px;
}
.expertise-row h2 {
  font:
    7px/1.8 Mono,
    monospace;
  letter-spacing: 1.2px;
  color: #d8b78b;
  margin: 3px 0 0;
  font-weight: 400;
}
.expertise-row p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
  color: #e0d7c6;
}
.expertise-row p span {
  margin: 0 4px;
  color: #9a8b72;
}
.expertise-support {
  font-size: 9px;
  line-height: 1.7;
  color: #bdb6a8;
  margin: 14px 0 0 143px;
}
.scene-meaning {
  position: absolute;
  top: 165px;
  right: 5vw;
  max-width: 285px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 12px 0 0 14px;
  border-left: 1px solid #d6b48888;
  color: #ddd3c0;
}
.scene-mark {
  color: #d6b488;
  font-size: 16px;
}
.scene-meaning p {
  margin: 0;
}
.scene-meaning b {
  display: block;
  font:
    9px/1.5 Mono,
    monospace;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #eed2aa;
  margin-bottom: 6px;
  font-weight: 400;
}
.scene-meaning p > span {
  font-size: 11px;
  line-height: 1.7;
  display: block;
}
@media (min-width: 1800px) {
  .invitation {
    margin-left: 10vw;
  }
}
@media (max-width: 1000px) and (min-width: 651px) {
  .invitation {
    max-width: 68vw;
  }
  .expertise-row {
    grid-template-columns: 105px 1fr;
    gap: 12px;
  }
  .expertise-support {
    margin-left: 117px;
  }
  .scene-meaning {
    max-width: 210px;
  }
}
@media (max-width: 650px) {
  .surface {
    min-height: max(990px, 100svh);
    height: auto;
  }
  .surface-image {
    background-size: auto 850px;
    background-position: center top;
  }
  .surface-shade {
    background: linear-gradient(
      0deg,
      #11130f 0%,
      #11130ff0 24%,
      #11130f70 52%,
      transparent 75%,
      #11130f88 100%
    );
  }
  .identity small {
    font-size: 5.5px;
    letter-spacing: 0.65px;
  }
  .invitation {
    margin: auto 6vw 30px;
    max-width: none;
    width: auto;
    padding: 225px 0 0;
  }
  .invitation > .eyebrow {
    font-size: 6px;
    margin-bottom: 15px;
  }
  .invitation h1 {
    font-size: clamp(50px, 14.2vw, 88px);
    margin-bottom: 18px;
  }
  .hero-role {
    font-size: 27px;
  }
  .invitation-copy {
    font-size: 13px;
    margin-bottom: 23px;
  }
  .expertise {
    margin-top: 26px;
    padding-top: 18px;
  }
  .expertise-row {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 14px;
  }
  .expertise-row h2 {
    font-size: 6px;
    margin: 0;
  }
  .expertise-row p {
    font-size: 10px;
  }
  .expertise-support {
    margin: 3px 0 0;
    font-size: 8px;
  }
  .scene-meaning {
    top: 142px;
    right: 6vw;
    left: 6vw;
    max-width: 260px;
    padding-top: 8px;
    padding-left: 10px;
    gap: 9px;
  }
  .scene-meaning b {
    font-size: 7px;
    margin-bottom: 4px;
  }
  .scene-meaning p > span {
    font-size: 10px;
    line-height: 1.6;
  }
}
@media (max-width: 370px) {
  .surface {
    min-height: 990px;
  }
  .invitation {
    padding-top: 190px;
  }
  .hero-role {
    font-size: 24px;
  }
  .scene-meaning {
    top: 116px;
    max-width: 235px;
  }
  .scene-meaning p > span {
    font-size: 9px;
  }
}
@media (max-height: 620px) and (min-width: 651px) {
  .surface {
    min-height: 740px;
  }
  .invitation {
    padding-top: 35px;
  }
  .scene-meaning {
    top: 95px;
    max-width: 230px;
  }
}

/* The connecting passages have their own quiet, unobstructed moment. */
.travel-cue {
  position: absolute;
  z-index: 4;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
  width: min(290px, 70vw);
  text-align: center;
  padding: 18px 22px 12px;
  border: 1px solid #dbc6a42a;
  background: #141812bf;
  backdrop-filter: blur(14px);
}
.travel-cue p {
  margin: 0 0 14px;
  font:
    8px Mono,
    monospace;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #d9ccb7;
}
.travel-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-right: 9px;
  background: #ddbb80;
}
.travel-track {
  height: 1px;
  background: #d8c0a033;
  overflow: hidden;
}
.travel-track span {
  display: block;
  height: 100%;
  background: #e0bc82;
  transform: scaleX(0);
  transform-origin: left;
}
#finish-passage {
  min-height: 36px;
  margin-top: 7px;
  font-size: 10px;
  color: #eee4d0;
}
#finish-passage span {
  margin-left: 12px;
}
.expedition[data-view="junction"] .travel-cue {
  bottom: 255px;
}
.expedition[data-travel="moving"] .world-grade {
  background: linear-gradient(
    0deg,
    #11150fc2,
    transparent 38%,
    transparent 75%,
    #11150f80
  );
}
.expedition[data-travel="moving"][data-view="junction"] .junction {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}
.expedition[data-travel="arrived"] .junction {
  opacity: 1;
  transition: opacity 0.8s;
}
@media (max-width: 650px) {
  .travel-cue {
    bottom: 115px;
    width: min(270px, 80vw);
  }
  .expedition[data-view="junction"] .travel-cue {
    bottom: 330px;
  }
  .junction-copy > p:not(.eyebrow) {
    max-width: 360px;
  }
}
@media (max-height: 690px) and (max-width: 650px) {
  .expedition[data-view="junction"] .travel-cue {
    bottom: 268px;
    padding-top: 12px;
  }
}
@media (max-height: 550px) and (min-width: 651px) {
  .expedition[data-view="junction"] .travel-cue {
    bottom: 130px;
    left: 72%;
  }
  .travel-cue {
    bottom: 72px;
    padding: 10px 18px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .expedition[data-travel] .junction-copy,
  .expedition[data-travel] .room-copy {
    transition: none;
  }
}
