:root {
  color-scheme:dark;
  --bg:#080d13;
  --panel:#101820;
  --panel2:#131e27;
  --ink:#f1ede3;
  --muted:#a2aaa9;
  --quiet:#707e84;
  --gold:#dfb675;
  --gold-bright:#f1d49c;
  --teal:#7dc9c2;
  --line:rgba(215,200,165,.16);
  --radius:16px;
  --serif:Georgia,'Times New Roman',serif;
  --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.6;
  background-image:radial-gradient(ellipse at 75% 4%,rgba(126,98,47,.08),transparent 50%)
}
button,input,select {
  font:inherit
}
button,a,input,select,summary {
  outline-offset:5px
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--teal)
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default
}
a {
  color:inherit;
  text-decoration:none
}
button {
  color:inherit
}
button:disabled {
  opacity:.42
}
h1,h2,h3,p {
  margin:0
}
button {
  touch-action:manipulation
}
[hidden] {
  display:none!important
}
em {
  font-weight:400
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  padding:12px 20px;
  background:var(--gold);
  color:#101418;
  z-index:100
}
.skip-link:focus {
  top:12px
}
.site-header {
  height:100px;
  max-width:1500px;
  margin:auto;
  padding:0 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:24px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  font-weight:650;
  letter-spacing:2.8px;
  white-space:nowrap
}
.brand-mark {
  font-size:36px;
  line-height:1;
  color:var(--gold);
  font-weight:400
}
.brand small {
  display:block;
  margin-top:2px;
  color:var(--quiet);
  font-size:7px;
  letter-spacing:2.1px
}
.top-nav {
  display:flex;
  align-items:center;
  gap:28px;
  color:var(--muted);
  font-size:12px
}
.top-nav a:hover,.nav-button:hover,.text-button:hover {
  color:var(--gold-bright)
}
.nav-button,.text-button {
  border:0;
  padding:0;
  background:none;
  text-align:left;
  font-size:inherit;
  color:inherit
}
.sound-button {
  height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:30px;
  color:var(--muted);
  font-size:11px
}
.sound-button span:first-child {
  font-size:18px
}
.sound-button[aria-pressed=true] {
  color:var(--gold);
  border-color:var(--gold)
}
main {
  max-width:1500px;
  margin:auto;
  padding:36px 5% 0
}
.expedition-heading {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  margin-bottom:32px
}
.eyebrow,.overline,.micro-label {
  font-size:10px;
  line-height:1.5;
  letter-spacing:2.1px;
  font-weight:600
}
.eyebrow {
  color:var(--gold)
}
.eyebrow i {
  display:inline-block;
  width:18px;
  height:1px;
  background:var(--gold);
  vertical-align:middle;
  margin:0 8px;
  opacity:.6
}
.genre-pill {
  padding:5px 12px;
  border:1px solid var(--line);
  border-radius:24px;
  font-size:10px;
  color:var(--muted);
  white-space:nowrap
}
.genre-pill span {
  margin-right:4px;
  color:var(--gold)
}
.experience-layout {
  display:grid;
  grid-template-columns:minmax(300px,.84fr) minmax(0,1.4fr);
  gap:5%;
  align-items:center
}
.story-column {
  padding:18px 0 24px;
  min-width:0
}
.overline {
  color:var(--quiet);
  font-size:9px;
  letter-spacing:1.9px;
  margin-bottom:20px
}
.intro-title {
  font-family:var(--serif);
  font-size:clamp(64px,6.6vw,98px);
  font-weight:400;
  letter-spacing:-4.5px;
  line-height:.98;
  margin:0 0 30px;
  color:var(--ink)
}
.intro-title em,.ending-title em {
  color:var(--gold);
  font-style:italic
}
.intro-description {
  font-family:var(--serif);
  font-size:21px;
  line-height:1.5;
  max-width:410px;
  color:#d5d2c9
}
.intro-detail {
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
  margin-top:16px;
  max-width:400px
}
.intro-actions {
  margin-top:28px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:13px 21px;
  min-height:48px;
  border-radius:4px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:600;
  letter-spacing:.1px;
  text-align:center;
  transition:background .18s,border-color .18s,transform .18s;
  line-height:1.4
}
.button.primary {
  background:var(--gold);
  color:#172027;
  border-color:var(--gold);
  box-shadow:0 5px 22px rgba(218,172,102,.08)
}
.button.primary:hover:not(:disabled) {
  background:#f0c98e;
  border-color:#f0c98e;
  transform:translateY(-1px)
}
.button.secondary {
  background:transparent;
  color:var(--ink);
  border-color:var(--line)
}
.button.secondary:hover:not(:disabled) {
  background:rgba(223,182,117,.06);
  border-color:rgba(223,182,117,.5)
}
.button.large {
  padding:16px 24px;
  min-height:54px
}
.button.danger {
  color:#e5b3a1
}
.load-message {
  font-size:10px;
  margin-top:12px;
  color:var(--quiet);
  min-height:16px
}
.load-message.error {
  color:#e5b3a1
}
.journey-facts {
  display:flex;
  gap:28px;
  margin-top:32px;
  padding-top:22px;
  border-top:1px solid var(--line);
  max-width:380px
}
.journey-facts div {
  display:flex;
  flex-direction:column
}
.journey-facts b {
  font-family:var(--serif);
  font-size:26px;
  font-weight:400;
  line-height:1.3;
  color:var(--ink)
}
.journey-facts span {
  font-size:9px;
  color:var(--quiet);
  margin-top:3px;
  white-space:nowrap
}
.visual-column {
  min-width:0
}
.scene-frame {
  position:relative;
  height:550px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:2px 2px 14px 14px;
  background:#09121b;
  box-shadow:0 30px 70px rgba(0,0,0,.24)
}
#tomb-scene {
  display:block;
  width:100%;
  height:100%
}
.scene-top {
  position:absolute;
  top:20px;
  left:22px;
  right:22px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#a2aca9;
  font-size:8px;
  letter-spacing:1.7px;
  pointer-events:none
}
.scene-top>span:first-child {
  display:flex;
  align-items:center;
  gap:8px
}
.live-dot {
  width:5px;
  height:5px;
  background:var(--teal);
  box-shadow:0 0 8px var(--teal);
  border-radius:50%
}
.scene-top>span:last-child {
  font-size:7px;
  color:#94a3aa;
  border:1px solid rgba(132,157,162,.26);
  padding:1px 6px;
  letter-spacing:1px
}
.scene-side {
  position:absolute;
  left:19px;
  top:40%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:#71818b;
  letter-spacing:1px;
  font-size:7px;
  pointer-events:none
}
.scene-side i {
  width:1px;
  height:18px;
  background:rgba(120,150,155,.3)
}
.scene-caption {
  position:absolute;
  bottom:24px;
  left:22px;
  right:22px;
  display:flex;
  align-items:center;
  gap:12px;
  pointer-events:none
}
.caption-line {
  width:22px;
  height:1px;
  background:var(--gold);
  flex-shrink:0
}
.scene-caption p {
  font-family:var(--serif);
  font-size:14px;
  line-height:1.5;
  color:#c7c7bd;
  max-width:75%
}
.scene-index {
  font-size:9px;
  letter-spacing:1px;
  color:var(--gold);
  margin-left:auto;
  white-space:nowrap
}
.intro-caption {
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:20px;
  gap:20px;
  padding:0 6px
}
.micro-label {
  color:var(--gold);
  font-size:8px;
  letter-spacing:1.5px
}
.intro-caption p {
  font-size:10px;
  color:var(--quiet);
  line-height:1.7;
  margin-top:6px
}
.teal-text {
  color:var(--teal)
}
.expedition-bottom {
  margin-top:48px;
  padding:25px 0;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  color:var(--quiet);
  font-size:10px
}
.bottom-note {
  display:flex;
  align-items:center;
  gap:10px
}
.bottom-note>span {
  color:var(--gold);
  font-size:18px
}
.bottom-links {
  display:flex;
  gap:24px;
  white-space:nowrap
}
.bottom-links a:hover {
  color:var(--gold)
}
.site-footer {
  max-width:1500px;
  margin:auto;
  padding:23px 5% 30px;
  border-top:1px solid rgba(215,200,165,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  color:#58656c;
  font-size:9px
}
.site-footer>span {
  font-size:9px;
  letter-spacing:1.8px
}
.site-footer i {
  font-style:normal;
  color:#8c784f;
  margin:0 10px
}
.site-footer a {
  color:var(--quiet)
}
/* The expedition */
.experience-layout.playing {
  align-items:start;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);
  gap:5%
}
.playing .story-column {
  padding-top:8px
}
.playing .scene-frame {
  height:315px
}
.mission-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  font-size:9px;
  letter-spacing:.7px;
  color:var(--gold)
}
.mission-meta .text-button {
  font-size:10px;
  letter-spacing:0;
  color:var(--muted)
}
.mission-title {
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(35px,3.4vw,49px);
  line-height:1.08;
  letter-spacing:-1.3px;
  margin-bottom:19px
}
.mission-title:focus,.ending-title:focus {
  outline:none
}
.mission-subtitle {
  font-size:14px;
  line-height:1.8;
  color:#c0c6c2;
  margin-bottom:25px
}
.traveler-progress {
  padding:15px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:21px
}
.traveler-progress>div {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:#b3b9b6;
  margin:4px 0
}
.traveler-progress b {
  font-size:10px;
  font-weight:500;
  color:var(--gold);
  margin-left:auto;
  letter-spacing:1px
}
.traveler-progress>div:last-child b {
  color:var(--teal)
}
.traveler-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  display:inline-block;
  flex-shrink:0
}
.traveler-dot.gold {
  background:var(--gold);
  box-shadow:0 0 9px rgba(223,182,117,.25)
}
.traveler-dot.teal {
  background:var(--teal);
  box-shadow:0 0 9px rgba(125,201,194,.25)
}
details summary {
  cursor:pointer;
  list-style:none
}
details summary::-webkit-details-marker {
  display:none
}
.chapter-note {
  border-bottom:1px solid var(--line);
  padding:13px 0
}
.chapter-note summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:#c4c7bd
}
.chapter-note summary:after {
  content:'+';
  color:var(--gold);
  font-size:16px;
  line-height:1
}
.chapter-note[open] summary:after {
  content:'−'
}
.chapter-note p {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
  padding-top:14px;
  max-width:440px
}
.history-note summary {
  color:var(--teal)
}
.hint-box {
  margin-top:22px
}
.hint-button {
  font-size:11px;
  color:var(--gold)
}
.hint-button>span {
  font-size:17px;
  vertical-align:middle;
  margin-right:6px
}
.hint-box p {
  border-left:1px solid var(--gold);
  padding:4px 0 4px 13px;
  font-size:11px;
  color:#bdc5c3;
  line-height:1.8;
  margin-top:12px
}
.checkpoint-footer {
  margin-top:25px
}
.checkpoint-state {
  font-size:11px;
  color:var(--quiet);
  line-height:1.7;
  margin-bottom:13px
}
.checkpoint-state.complete {
  color:var(--teal)
}
.checkpoint-footer .button {
  width:100%;
  justify-content:space-between
}
.save-status {
  font-size:9px;
  color:var(--quiet);
  margin-top:11px;
  line-height:1.6
}
.puzzle-shell {
  padding:23px 25px 18px;
  background:linear-gradient(130deg,#131c24,#0e151c);
  border:1px solid var(--line);
  border-radius:10px;
  margin-top:17px;
  min-height:240px;
  box-shadow:0 15px 30px rgba(0,0,0,.1)
}
.puzzle-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.puzzle-heading .eyebrow {
  font-size:9px;
  letter-spacing:1.7px
}
.puzzle-progress {
  color:var(--teal);
  font-size:10px;
  font-variant-numeric:tabular-nums
}
.puzzle-instruction {
  font-size:12px;
  line-height:1.75;
  color:#acb9bc;
  margin:11px 0 20px
}
.puzzle-message {
  font-size:11px;
  line-height:1.6;
  color:var(--gold);
  min-height:18px;
  margin-top:12px
}
.puzzle-message.success {
  color:var(--teal)
}
.puzzle-message.error {
  color:#dfb6a6
}
.puzzle-shell.solved {
  border-color:rgba(125,201,194,.38)
}
.puzzle-actions {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:20px
}
.puzzle-actions .button {
  font-size:11px;
  padding:10px 17px;
  min-height:42px
}
.puzzle-actions .text-button {
  font-size:11px;
  color:var(--muted)
}
.task-grid-two {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
.control-label {
  font-size:10px;
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px
}
.control-label b {
  font-weight:500;
  color:var(--gold);
  font-size:11px
}
.control-label.teal b {
  color:var(--teal)
}
.subtle-label {
  font-size:9px;
  letter-spacing:1px;
  color:var(--quiet);
  text-transform:uppercase
}
.range-row {
  margin:18px 0
}
.range-row input[type=range] {
  width:100%;
  height:26px;
  margin:4px 0;
  accent-color:var(--gold);
  cursor:pointer
}
.range-row.teal input[type=range] {
  accent-color:var(--teal)
}
.signal-bar {
  height:3px;
  background:#263139;
  overflow:hidden;
  border-radius:3px;
  margin:8px 0 3px
}
.signal-bar>span {
  display:block;
  height:100%;
  background:var(--gold);
  transition:width .15s
}
.signal-bar.teal>span {
  background:var(--teal)
}
.range-ticks {
  display:flex;
  justify-content:space-between;
  color:#6c7e87;
  font-size:9px
}
.mini-status {
  font-size:10px;
  color:var(--quiet);
  margin-top:5px
}
.mini-status.ready {
  color:var(--teal)
}
.round-control {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:43px;
  min-height:43px;
  background:#14232c;
  border:1px solid #3a4c51;
  border-radius:6px;
  font-size:20px
}
.round-control:hover:not(:disabled) {
  border-color:var(--gold);
  background:#1c2d37
}
.small-button {
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  color:var(--muted);
  padding:9px 11px;
  border-radius:4px;
  font-size:10px;
  min-height:37px
}
.small-button:hover:not(:disabled) {
  border-color:var(--gold);
  color:var(--gold)
}
/* Twelve physical, optical and memory puzzles */
.dust-pane canvas {
  width:100%;
  height:116px;
  display:block;
  border:1px solid rgba(180,192,180,.25);
  border-radius:5px;
  touch-action:none;
  cursor:crosshair;
  background:#0b141c
}
.dust-pane .small-button {
  width:100%;
  margin-top:9px
}
.dust-pane .control-label {
  font-size:9px
}
.dust-pane .control-label b {
  font-size:10px
}
.name-board+.name-board {
  margin-top:22px
}
.name-slots {
  display:flex;
  gap:7px;
  margin:10px 0
}
.name-slot {
  height:42px;
  min-width:56px;
  padding:9px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #3d4c4e;
  border-radius:4px;
  font-size:12px;
  color:var(--gold);
  letter-spacing:2px
}
.name-slot.filled {
  border-style:solid;
  border-color:var(--gold);
  background:rgba(223,182,117,.07)
}
.name-tokens {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  align-items:center
}
.name-token {
  padding:10px 13px;
  min-height:42px;
  font-size:11px;
  letter-spacing:1.5px;
  color:var(--gold);
  border:1px solid #4d493f;
  border-radius:4px;
  background:#222321
}
.name-token:hover:not(:disabled) {
  border-color:var(--gold);
  background:#2c2b24
}
.name-board.teal .name-token,.name-board.teal .name-slot {
  color:var(--teal)
}
.name-board.teal .name-slot.filled {
  border-color:var(--teal);
  background:rgba(125,201,194,.07)
}
.name-board .text-button {
  font-size:10px;
  margin-left:auto;
  color:var(--quiet)
}
.memory-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px
}
.memory-card {
  height:83px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #35444c;
  border-radius:5px;
  background:linear-gradient(145deg,#1b2932,#101a22);
  font-size:9px;
  transition:background .2s,border-color .2s,transform .2s
}
.memory-card>span:first-child {
  font-family:var(--serif);
  font-size:26px;
  color:var(--gold);
  line-height:1
}
.memory-card:hover:not(:disabled) {
  transform:translateY(-2px);
  border-color:var(--gold)
}
.memory-card.revealed {
  background:#26271f;
  border-color:var(--gold)
}
.memory-card.matched {
  background:rgba(125,201,194,.08);
  border-color:rgba(125,201,194,.5);
  opacity:1;
  color:var(--teal)
}
.memory-card.matched>span:first-child {
  color:var(--teal)
}
.boat-layout {
  display:flex;
  gap:25px;
  align-items:center;
  justify-content:center
}
.river-grid {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:4px;
  max-width:330px;
  width:100%;
  padding:9px;
  background:#0a141d;
  border:1px solid #2e4651;
  border-radius:6px
}
.river-cell {
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#112b38;
  border:1px solid #153a46;
  border-radius:3px;
  min-width:0;
  font-size:19px;
  color:var(--gold)
}
.river-cell.blocked {
  background:#12191f;
  border:1px solid #1c262c;
  color:#2d3b42;
  font-size:14px
}
.river-cell.goal {
  border-color:#9c814e;
  background:#28281f
}
.river-cell.boat {
  background:#35525a;
  box-shadow:0 0 12px rgba(125,201,194,.2);
  color:#d6eee5
}
.river-cell.collected {
  color:#3d636a
}
.river-cell svg {
  width:26px;
  height:26px;
  max-width:85%
}
.boat-controls {
  display:grid;
  grid-template-columns:repeat(3,40px);
  grid-template-rows:repeat(3,40px);
  gap:5px
}
.boat-controls .round-control {
  min-width:40px;
  min-height:40px
}
.boat-controls [data-direction=up] {
  grid-area:1/2
}
.boat-controls [data-direction=left] {
  grid-area:2/1
}
.boat-controls [data-direction=right] {
  grid-area:2/3
}
.boat-controls [data-direction=down] {
  grid-area:3/2
}
.boat-controls .control-center {
  grid-area:2/2;
  display:grid;
  place-items:center;
  font-size:10px;
  color:var(--quiet)
}
.wave-canvas {
  width:100%;
  height:130px;
  display:block;
  background:#0b151d;
  border:1px solid #293b45;
  border-radius:5px;
  margin-bottom:15px
}
.wave-controls {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
.wave-person {
  display:flex;
  flex-direction:column;
  gap:8px
}
.wave-person .stepper {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  color:var(--muted);
  gap:5px
}
.wave-person .stepper span {
  min-width:38px;
  text-align:center
}
.wave-person .round-control {
  min-height:34px;
  min-width:34px;
  font-size:15px
}
.wave-target {
  font-size:10px;
  color:var(--quiet);
  text-align:center;
  margin-bottom:12px
}
.pattern-layout {
  display:flex;
  justify-content:center;
  gap:25px;
  align-items:center
}
.pattern-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  width:min(100%,255px)
}
.pattern-tile {
  aspect-ratio:1;
  background:#10212b;
  border:1px solid #35515b;
  border-radius:6px;
  position:relative;
  padding:5px
}
.pattern-tile svg {
  width:100%;
  height:100%;
  display:block
}
.pattern-tile.correct {
  border-color:var(--teal);
  background:#163130
}
.pattern-tile .tile-number {
  position:absolute;
  left:5px;
  top:2px;
  font-size:8px;
  color:var(--quiet)
}
.pattern-legend {
  font-size:10px;
  line-height:1.8;
  max-width:130px;
  color:var(--muted)
}
.pattern-legend .sample-line {
  width:30px;
  height:2px;
  background:var(--gold);
  margin:10px 0 5px
}
.pattern-legend .sample-line.dashed {
  height:0;
  border-top:1px dashed #739f9c;
  background:transparent
}
.balance-beam {
  display:block;
  width:100%;
  height:110px;
  overflow:visible
}
.energy-orbs {
  display:flex;
  justify-content:center;
  gap:7px;
  margin-bottom:18px
}
.energy-orb {
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 9px rgba(223,182,117,.2)
}
.energy-orb.teal {
  background:var(--teal);
  box-shadow:0 0 9px rgba(125,201,194,.2)
}
.allocation-person {
  border:1px solid var(--line);
  border-radius:6px;
  padding:14px;
  text-align:center
}
.allocation-person>span {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.allocation-person>b {
  display:block;
  font-family:var(--serif);
  font-size:34px;
  font-weight:400;
  color:var(--gold);
  line-height:1.4
}
.allocation-person.teal>b {
  color:var(--teal)
}
.allocation-person .small-button {
  margin-top:9px;
  line-height:1.5;
  width:100%
}
.breath-sequence {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:20px 0;
  flex-wrap:wrap
}
.sequence-beat {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:#667b83;
  font-size:9px
}
.sequence-beat .beat-circle {
  width:42px;
  height:42px;
  border:1px solid #33464e;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:18px;
  transition:background .2s
}
.sequence-beat.current {
  color:var(--gold)
}
.sequence-beat.current .beat-circle {
  border-color:var(--gold);
  background:rgba(223,182,117,.07)
}
.sequence-beat.done {
  color:var(--teal)
}
.sequence-beat.done .beat-circle {
  border-color:var(--teal);
  background:rgba(125,201,194,.09)
}
.breath-controls {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.breath-controls button {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:66px;
  font-size:11px;
  color:var(--ink)
}
.breath-controls button>span {
  font-family:var(--serif);
  font-size:24px;
  color:var(--gold)
}
.constellation-board {
  height:245px;
  position:relative;
  border:1px solid #293d4a;
  border-radius:6px;
  background:radial-gradient(ellipse at center,#152a38,#0c141e);
  overflow:hidden
}
.constellation-board>svg {
  position:absolute;
  width:100%;
  height:100%;
  inset:0;
  pointer-events:none
}
.star-button {
  position:absolute;
  transform:translate(-50%,-50%);
  border:0;
  background:transparent;
  color:#a0b6c4;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  padding:8px;
  min-width:44px;
  min-height:45px;
  font-size:9px
}
.star-button .star-point {
  font-size:22px;
  line-height:1;
  color:var(--gold);
  text-shadow:0 0 14px rgba(223,182,117,.3)
}
.star-button.connected {
  color:var(--teal)
}
.star-button.connected .star-point {
  color:var(--teal);
  text-shadow:0 0 12px var(--teal)
}
.constellation-key {
  font-size:9px;
  color:var(--muted);
  text-align:center;
  margin-top:12px;
  line-height:1.8
}
.duality-cards {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:15px
}
.duality-card {
  min-height:49px;
  padding:9px;
  border:1px solid #3a4e55;
  background:#16242d;
  border-radius:5px;
  color:#c7ceca;
  font-size:11px
}
.duality-card.selected {
  border-color:var(--gold);
  background:#2c2b22;
  color:var(--gold)
}
.duality-card.placed {
  border-color:rgba(125,201,194,.3);
  color:var(--teal);
  background:rgba(125,201,194,.05);
  opacity:1
}
.duality-zones {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.duality-zone {
  min-height:110px;
  background:linear-gradient(145deg,#29271e,#191e1d);
  border:1px dashed #75623f;
  border-radius:6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:12px
}
.duality-zone>b {
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  color:var(--gold)
}
.duality-zone>span {
  font-size:9px;
  color:var(--muted)
}
.duality-zone.teal {
  background:linear-gradient(145deg,#152d2e,#102025);
  border-color:#406c6a
}
.duality-zone.teal>b {
  color:var(--teal)
}
.duality-zone small {
  font-size:10px;
  margin-top:6px;
  color:var(--gold)
}
.duality-zone.teal small {
  color:var(--teal)
}
.ready-people {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:20px
}
.ready-person {
  border:1px solid #3c4e55;
  min-height:80px;
  border-radius:6px;
  padding:12px;
  background:#12202a;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px
}
.ready-person>span {
  font-size:9px;
  letter-spacing:1px;
  color:var(--quiet)
}
.ready-person[aria-pressed=true] {
  border-color:var(--gold);
  background:#2b2b23
}
.ready-person.teal[aria-pressed=true] {
  border-color:var(--teal);
  background:#18312f
}
.ready-person[aria-pressed=true]>span {
  color:var(--gold)
}
.ready-person.teal[aria-pressed=true]>span {
  color:var(--teal)
}
.sunrise-row {
  padding:14px 0 0;
  border-top:1px solid var(--line)
}
.sunrise-row label {
  font-size:11px;
  color:var(--muted)
}
.sunrise-row input {
  width:100%;
  accent-color:var(--gold);
  margin:12px 0
}
.sunrise-readout {
  font-family:var(--serif);
  font-size:26px;
  color:var(--gold);
  text-align:center
}
.ending-title {
  font-family:var(--serif);
  font-size:clamp(52px,5vw,75px);
  line-height:1.05;
  letter-spacing:-2px;
  font-weight:400;
  margin-bottom:25px
}
.ending-copy {
  font-family:var(--serif);
  font-size:21px;
  line-height:1.55;
  color:#d6d5c7
}
.ending-people {
  display:flex;
  flex-direction:column;
  gap:13px;
  margin:25px 0
}
.ending-people>span {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px
}
.ending-people b {
  font-size:8px;
  letter-spacing:1px;
  font-weight:500;
  color:var(--teal);
  margin-left:auto
}
.ending-people .traveler-dot {
  font-style:normal
}
#ending>.button {
  display:flex;
  width:100%;
  margin-top:12px
}
#ending>.text-button {
  margin-top:20px;
  color:var(--muted);
  font-size:11px
}
.experience-layout.finished .scene-frame {
  height:580px
}
/* Dialogs and the voluntary interest form */
.dialog {
  color:var(--ink);
  background:#101820;
  border:1px solid #40504e;
  border-radius:14px;
  width:min(92vw,800px);
  padding:32px;
  max-height:88vh;
  overflow:auto;
  box-shadow:0 25px 100px rgba(0,0,0,.7)
}
.dialog::backdrop {
  background:rgba(2,7,12,.82);
  backdrop-filter:blur(8px)
}
.dialog-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:22px;
  margin-bottom:17px
}
.dialog-heading .overline {
  margin-bottom:8px
}
.dialog h2 {
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.8px
}
.close-button {
  background:none;
  border:1px solid var(--line);
  color:var(--muted);
  border-radius:50%;
  font-size:23px;
  line-height:1;
  min-width:36px;
  min-height:36px;
  display:grid;
  place-items:center
}
.close-button:hover {
  color:var(--gold);
  border-color:var(--gold)
}
.dialog-intro {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  max-width:650px;
  margin-bottom:24px
}
.checkpoint-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.checkpoint-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:7px;
  padding:14px 15px;
  border:1px solid #354047;
  background:#142029;
  border-radius:6px;
  min-height:100px
}
.checkpoint-card>b {
  font-family:var(--serif);
  font-weight:400;
  font-size:22px;
  color:var(--gold);
  line-height:1
}
.checkpoint-card>span {
  font-size:11px;
  line-height:1.45
}
.checkpoint-card>small {
  font-size:8px;
  color:var(--quiet);
  letter-spacing:.8px
}
.checkpoint-card.completed {
  border-color:#315452;
  background:#132624
}
.checkpoint-card.completed>b,.checkpoint-card.completed>small {
  color:var(--teal)
}
.checkpoint-card.current {
  outline:1px solid var(--gold);
  outline-offset:3px
}
.checkpoint-card:hover:not(:disabled) {
  border-color:var(--gold)
}
.map-footer {
  margin-top:23px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--quiet);
  font-size:10px
}
.map-footer .text-button {
  color:var(--gold)
}
.confirm-dialog {
  max-width:460px
}
.confirm-dialog>p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8
}
.dialog-actions {
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top:26px;
  flex-wrap:wrap
}
.research-dialog {
  max-width:680px
}
.science-statement {
  background:#14242a;
  border:1px solid #2e4b50;
  border-radius:6px;
  padding:19px;
  margin-bottom:25px
}
.science-statement .micro-label {
  color:var(--teal)
}
.science-statement p {
  color:#bdcfcd;
  font-size:12px;
  line-height:1.85;
  margin-top:10px
}
.science-statement p:last-child {
  color:#91aaa9;
  font-size:11px
}
.form-field {
  display:block;
  font-size:12px;
  color:#c6d0ca;
  margin:18px 0
}
.optional {
  font-size:10px;
  color:var(--quiet);
  margin-left:6px
}
.form-field input,.form-field select {
  display:block;
  width:100%;
  border:1px solid #3b4b51;
  border-radius:4px;
  background:#09131b;
  color:var(--ink);
  padding:12px 13px;
  font-size:13px;
  margin-top:8px;
  min-height:46px;
  max-width:100%
}
.form-field input::placeholder {
  color:#5e747d
}
.form-field input:focus,.form-field select:focus {
  border-color:var(--teal)
}
.check-field {
  display:flex;
  gap:12px;
  font-size:11px;
  line-height:1.85;
  color:#b5c1bd;
  margin:19px 0;
  cursor:pointer
}
.check-field input {
  accent-color:var(--teal);
  width:18px;
  height:18px;
  flex-shrink:0;
  margin:2px 0 0
}
.honey-field {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden
}
.data-note,.restore-receipt {
  color:var(--muted);
  font-size:11px;
  padding:15px 0;
  border-top:1px solid var(--line);
  line-height:1.9;
  margin-top:19px
}
.data-note summary,.restore-receipt summary {
  color:var(--gold)
}
.data-note summary:after,.restore-receipt summary:after {
  content:' +';
  color:var(--quiet)
}
.data-note[open] summary:after,.restore-receipt[open] summary:after {
  content:' −'
}
.data-note p {
  margin-top:12px
}
.data-note a {
  text-decoration:underline;
  text-underline-offset:3px
}
#interest-submit {
  width:100%;
  margin-top:12px
}
.form-message {
  font-size:12px;
  line-height:1.8;
  color:var(--teal);
  margin-top:18px;
  overflow-wrap:anywhere
}
.form-message.error {
  color:#e5b3a1
}
.interest-receipt {
  padding:25px;
  text-align:center;
  border:1px solid #365653;
  border-radius:7px;
  background:#122522
}
.success-mark {
  display:block;
  font-size:25px;
  color:var(--teal);
  margin-bottom:8px
}
.interest-receipt h3 {
  font-family:var(--serif);
  font-size:24px;
  font-weight:400
}
.interest-receipt p {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin:12px auto 0;
  max-width:400px
}
.receipt-actions {
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:20px
}
.receipt-recovery {
  text-align:left
}
.receipt-recovery input {
  font-family:ui-monospace,monospace
}
.receipt-actions .button {
  font-size:10px;
  padding:10px 14px;
  min-height:42px
}
.restore-receipt input {
  font-family:ui-monospace,monospace;
  font-size:11px
}
.noscript {
  padding:22px;
  background:#2c231a;
  color:var(--gold);
  text-align:center
}
.noscript a {
  text-decoration:underline
}
@media(min-width:1500px) {
  .scene-frame {
    height:620px
  }
  .intro-title {
    font-size:100px
  }
  .intro-description {
    font-size:23px
  }
  .playing .scene-frame {
    height:370px
  }
}
@media(max-width:1100px) {
  .site-header {
    padding:0 4%;
    height:85px
  }
  main {
    padding:28px 4% 0
  }
  .experience-layout,.experience-layout.playing {
    grid-template-columns:minmax(275px,.9fr) minmax(0,1.2fr);
    gap:4%
  }
  .intro-title {
    font-size:72px
  }
  .intro-description {
    font-size:19px
  }
  .scene-frame {
    height:530px
  }
  .scene-top {
    left:15px;
    right:15px
  }
  .scene-caption {
    left:15px;
    right:15px
  }
  .scene-caption p {
    font-size:12px
  }
  .scene-side {
    left:12px
  }
  .puzzle-shell {
    padding:20px 18px 15px
  }
  .boat-layout {
    gap:13px
  }
  .boat-controls {
    grid-template-columns:repeat(3,34px);
    grid-template-rows:repeat(3,34px);
    gap:3px
  }
  .boat-controls .round-control {
    min-width:34px;
    min-height:34px
  }
  .journey-facts {
    gap:21px
  }
  .mission-title {
    font-size:37px
  }
  .top-nav {
    gap:20px
  }
}
@media(max-width:800px) {
  .site-header {
    height:78px;
    gap:15px
  }
  .brand {
    font-size:12px;
    letter-spacing:2px
  }
  .brand-mark {
    font-size:29px
  }
  .brand small {
    font-size:6px;
    letter-spacing:1.6px
  }
  .top-nav {
    gap:15px;
    font-size:11px
  }
  .sound-button {
    padding:0 10px
  }
  .sound-label {
    display:none
  }
  .experience-layout,.experience-layout.playing {
    grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);
    gap:4%
  }
  .intro-title {
    font-size:62px;
    letter-spacing:-3px
  }
  .intro-description {
    font-size:18px
  }
  .intro-detail {
    font-size:12px
  }
  .journey-facts {
    gap:17px
  }
  .journey-facts b {
    font-size:23px
  }
  .journey-facts span {
    font-size:8px
  }
  .scene-frame {
    height:550px
  }
  .scene-top {
    font-size:7px;
    letter-spacing:1px
  }
  .scene-top>span:last-child {
    font-size:6px
  }
  .intro-caption {
    gap:15px
  }
  .intro-caption p {
    font-size:9px
  }
  .playing .scene-frame {
    height:280px
  }
  .mission-title {
    font-size:34px
  }
  .mission-meta {
    font-size:8px
  }
  .mission-meta .text-button {
    font-size:9px
  }
  .task-grid-two {
    gap:12px
  }
  .dust-pane canvas {
    height:100px
  }
  .dust-pane .control-label {
    flex-direction:column;
    align-items:flex-start;
    gap:3px
  }
  .memory-grid {
    gap:6px
  }
  .memory-card {
    height:70px
  }
  .boat-layout {
    flex-direction:column
  }
  .river-grid {
    max-width:280px
  }
  .boat-controls {
    grid-template-columns:repeat(3,40px);
    grid-template-rows:repeat(2,40px)
  }
  .boat-controls [data-direction=up] {
    grid-area:1/2
  }
  .boat-controls [data-direction=down] {
    grid-area:2/2
  }
  .boat-controls [data-direction=left] {
    grid-area:2/1
  }
  .boat-controls [data-direction=right] {
    grid-area:2/3
  }
  .boat-controls .control-center {
    display:none
  }
  .pattern-layout {
    gap:12px
  }
  .pattern-legend {
    max-width:90px;
    font-size:9px
  }
  .wave-controls {
    gap:13px
  }
  .wave-person .stepper {
    flex-wrap:wrap;
    justify-content:center;
    gap:7px
  }
  .wave-person .stepper>label {
    width:100%;
    text-align:center
  }
  .wave-person .round-control {
    min-width:34px
  }
  .name-slot {
    min-width:49px;
    padding:8px;
    font-size:11px
  }
  .name-token {
    font-size:10px;
    padding:8px 10px
  }
  .constellation-board {
    height:260px
  }
  .duality-zones {
    gap:10px
  }
  .breath-sequence {
    gap:7px
  }
  .sequence-beat .beat-circle {
    width:36px;
    height:36px
  }
  .breath-controls {
    gap:7px
  }
  .puzzle-actions .button {
    font-size:10px;
    gap:12px
  }
  .expedition-bottom {
    font-size:9px;
    gap:15px
  }
  .bottom-links {
    gap:17px
  }
  .site-footer {
    font-size:8px;
    gap:15px
  }
  .ending-title {
    font-size:52px
  }
  .ending-copy {
    font-size:19px
  }
  .experience-layout.finished .scene-frame {
    height:580px
  }
}
@media(max-width:650px) {
  .site-header {
    padding:0 20px;
    height:74px;
    gap:12px
  }
  .brand {
    font-size:11px;
    gap:8px;
    letter-spacing:1.5px
  }
  .brand-mark {
    font-size:27px
  }
  .brand small {
    font-size:5px;
    letter-spacing:1.2px
  }
  .top-nav {
    gap:15px;
    font-size:10px
  }
  .top-nav>a:first-child {
    display:none
  }
  .sound-button {
    width:31px;
    height:31px;
    min-width:31px;
    justify-content:center;
    padding:0
  }
  .top-nav>a {
    font-size:10px
  }
  main {
    padding:25px 20px 0
  }
  .expedition-heading {
    margin-bottom:23px;
    gap:12px
  }
  .expedition-heading .eyebrow {
    font-size:8px;
    letter-spacing:1.2px
  }
  .eyebrow i {
    width:10px;
    margin:0 4px
  }
  .genre-pill {
    font-size:8px;
    padding:4px 8px
  }
  .experience-layout,.experience-layout.playing {
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:stretch
  }
  .story-column {
    padding:5px 0 0
  }
  .intro-title {
    font-size:75px;
    letter-spacing:-3.5px;
    margin-bottom:25px
  }
  .overline {
    font-size:8px;
    margin-bottom:20px
  }
  .intro-description {
    font-size:21px;
    max-width:470px;
    line-height:1.5
  }
  .intro-detail {
    font-size:12px;
    max-width:470px
  }
  .intro-actions {
    margin-top:23px;
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px
  }
  .intro-actions .button {
    font-size:11px;
    padding:14px 19px;
    gap:18px;
    min-height:48px
  }
  .load-message {
    font-size:9px;
    margin-top:11px
  }
  .journey-facts {
    margin-top:24px;
    padding-top:19px;
    max-width:none;
    gap:38px
  }
  .journey-facts b {
    font-size:27px
  }
  .journey-facts span {
    font-size:9px
  }
  .scene-frame {
    height:435px;
    border-radius:8px
  }
  .scene-top {
    left:17px;
    right:17px;
    top:17px;
    font-size:7px
  }
  .scene-caption {
    left:17px;
    right:17px;
    bottom:21px
  }
  .scene-caption p {
    font-size:14px
  }
  .scene-side {
    left:16px
  }
  .intro-caption {
    margin-top:16px;
    gap:17px
  }
  .intro-caption p {
    font-size:10px
  }
  .micro-label {
    font-size:8px
  }
  .expedition-bottom {
    margin-top:32px;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding:21px 0
  }
  .bottom-note {
    font-size:10px;
    line-height:1.65
  }
  .bottom-links {
    font-size:10px;
    gap:28px
  }
  .site-footer {
    padding:22px 20px 28px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px
  }
  .site-footer p {
    grid-row:2;
    grid-column:1/-1;
    font-size:9px
  }
  .site-footer>a {
    font-size:10px
  }
  .playing .story-column {
    padding:0
  }
  .mission-meta {
    font-size:9px;
    margin-bottom:15px
  }
  .mission-meta .text-button {
    font-size:10px
  }
  .mission-title {
    font-size:37px;
    margin-bottom:12px;
    max-width:400px
  }
  .mission-subtitle {
    font-size:13px;
    line-height:1.75;
    margin-bottom:17px
  }
  .traveler-progress {
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:10px;
    padding:10px 0
  }
  .traveler-progress>div {
    gap:7px;
    font-size:10px
  }
  .traveler-progress b {
    font-size:9px;
    margin-left:5px
  }
  .chapter-note {
    padding:10px 0
  }
  .chapter-note summary {
    font-size:10px
  }
  .chapter-note p {
    font-size:12px
  }
  .hint-box {
    margin-top:15px
  }
  .hint-button {
    font-size:10px
  }
  .checkpoint-footer {
    margin-top:18px
  }
  .checkpoint-state {
    margin-bottom:11px;
    font-size:11px
  }
  .checkpoint-footer .button {
    font-size:12px;
    min-height:47px
  }
  .save-status {
    font-size:9px;
    margin-top:9px
  }
  .playing .visual-column {
    display:flex;
    flex-direction:column
  }
  .playing .scene-frame {
    height:255px;
    order:2;
    margin-top:16px
  }
  .playing .puzzle-shell {
    order:1;
    margin-top:0
  }
  .playing .scene-caption p {
    font-size:12px
  }
  .puzzle-shell {
    padding:21px 19px 16px;
    min-height:245px
  }
  .puzzle-instruction {
    font-size:12px;
    line-height:1.8
  }
  .puzzle-heading .eyebrow {
    font-size:9px
  }
  .task-grid-two {
    gap:15px
  }
  .dust-pane .control-label {
    flex-direction:row;
    align-items:center;
    font-size:9px
  }
  .dust-pane canvas {
    height:112px
  }
  .memory-grid {
    gap:10px
  }
  .memory-card {
    height:80px
  }
  .boat-layout {
    flex-direction:row;
    gap:13px
  }
  .river-grid {
    max-width:260px;
    gap:3px;
    padding:6px
  }
  .boat-controls {
    grid-template-columns:repeat(3,30px);
    grid-template-rows:repeat(3,34px);
    gap:3px
  }
  .boat-controls [data-direction=up] {
    grid-area:1/2
  }
  .boat-controls [data-direction=down] {
    grid-area:3/2
  }
  .boat-controls [data-direction=left] {
    grid-area:2/1
  }
  .boat-controls [data-direction=right] {
    grid-area:2/3
  }
  .boat-controls .round-control {
    min-width:30px;
    min-height:34px;
    font-size:18px
  }
  .boat-controls .control-center {
    grid-area:2/2;
    display:grid
  }
  .river-cell {
    font-size:15px
  }
  .wave-controls {
    gap:20px
  }
  .wave-person .stepper {
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:4px
  }
  .wave-person .stepper>label {
    width:auto;
    text-align:left
  }
  .wave-person .round-control {
    min-width:30px;
    min-height:34px
  }
  .wave-person .stepper span {
    min-width:22px
  }
  .wave-person .stepper {
    font-size:9px
  }
  .pattern-layout {
    gap:20px
  }
  .pattern-grid {
    width:215px
  }
  .pattern-legend {
    max-width:95px
  }
  .pattern-tile {
    border-radius:4px
  }
  .energy-orbs {
    gap:8px
  }
  .allocation-person {
    padding:12px
  }
  .allocation-person .small-button {
    font-size:10px
  }
  .breath-sequence {
    gap:9px
  }
  .sequence-beat .beat-circle {
    width:39px;
    height:39px
  }
  .breath-controls button {
    min-height:65px
  }
  .constellation-board {
    height:225px
  }
  .duality-card {
    font-size:11px
  }
  .duality-zones {
    gap:14px
  }
  .duality-zone {
    min-height:105px
  }
  .name-slot {
    min-width:58px
  }
  .name-token {
    padding:10px 13px;
    font-size:11px
  }
  .name-board+.name-board {
    margin-top:23px
  }
  .ready-person {
    min-height:76px
  }
  .puzzle-actions .button {
    min-height:45px;
    font-size:11px;
    width:100%
  }
  .ending-title {
    font-size:64px
  }
  .ending-copy {
    font-size:21px
  }
  .experience-layout.finished .scene-frame {
    height:420px
  }
  .dialog {
    width:calc(100vw - 24px);
    padding:24px 20px;
    max-height:90vh;
    border-radius:10px
  }
  .dialog h2 {
    font-size:28px
  }
  .dialog-heading {
    gap:17px
  }
  .close-button {
    min-width:34px;
    min-height:34px
  }
  .checkpoint-grid {
    grid-template-columns:repeat(2,1fr);
    gap:9px
  }
  .checkpoint-card {
    padding:13px;
    min-height:97px
  }
  .map-footer {
    flex-direction:column;
    gap:11px
  }
  .dialog-intro {
    font-size:12px
  }
  .science-statement {
    padding:16px
  }
  .science-statement p {
    font-size:12px
  }
  .form-field {
    font-size:12px
  }
  .form-field input,.form-field select {
    font-size:16px
  }
  .check-field {
    font-size:11px;
    gap:10px
  }
  .dialog-actions {
    gap:10px;
    flex-direction:column-reverse
  }
  .dialog-actions>.button {
    width:100%;
    font-size:11px
  }
  .interest-receipt {
    padding:22px 16px
  }
  .receipt-actions {
    flex-direction:column
  }
  .receipt-actions .button {
    width:100%;
    font-size:11px
  }
  .data-note,.restore-receipt {
    font-size:11px
  }
  .restore-receipt input {
    font-size:13px
  }
}
@media(max-width:370px) {
  .site-header {
    padding:0 15px
  }
  .top-nav {
    gap:10px
  }
  .brand {
    font-size:10px;
    letter-spacing:1px
  }
  .brand small {
    font-size:4.5px
  }
  .brand-mark {
    font-size:24px
  }
  main {
    padding:23px 15px 0
  }
  .intro-title {
    font-size:66px
  }
  .intro-description {
    font-size:19px
  }
  .journey-facts {
    gap:26px
  }
  .expedition-heading .eyebrow {
    font-size:7px
  }
  .genre-pill {
    font-size:7px
  }
  .scene-frame {
    height:390px
  }
  .task-grid-two {
    gap:10px
  }
  .dust-pane .control-label {
    font-size:8px
  }
  .dust-pane .control-label b {
    font-size:9px
  }
  .puzzle-shell {
    padding:18px 14px
  }
  .wave-controls {
    gap:12px
  }
  .boat-layout {
    gap:9px
  }
  .boat-controls {
    grid-template-columns:repeat(3,27px)
  }
  .boat-controls .round-control {
    min-width:27px
  }
  .river-grid {
    padding:4px;
    gap:3px
  }
  .sequence-beat .beat-circle {
    width:34px;
    height:34px
  }
  .breath-sequence {
    gap:7px
  }
  .pattern-layout {
    gap:13px
  }
  .pattern-grid {
    width:190px
  }
  .pattern-legend {
    max-width:83px
  }
  .traveler-progress {
    gap:10px
  }
  .traveler-progress>div {
    font-size:9px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
  .button.primary:hover:not(:disabled),.memory-card:hover:not(:disabled) {
    transform:none
  }
}
/* Readable instructions and touch targets across all puzzle variants. */
.puzzle-instruction {
  font-size:14px;
  line-height:1.75
}
.puzzle-message {
  font-size:12px
}
.small-button {
  min-height:44px;
  font-size:12px
}
.round-control,.wave-person .round-control,.boat-controls .round-control {
  min-width:44px;
  min-height:44px
}
.boat-controls {
  grid-template-columns:repeat(3,44px);
  grid-template-rows:repeat(3,44px)
}
.wave-person .stepper {
  flex-wrap:wrap;
  justify-content:center;
  font-size:11px;
  gap:7px
}
.wave-person .stepper>label {
  width:100%;
  text-align:center
}
.wave-person .stepper>span {
  min-width:28px
}
.control-label,.dust-pane .control-label {
  font-size:11px
}
.dust-pane .control-label b {
  font-size:11px
}
.pattern-legend {
  font-size:11px
}
.pattern-legend .legend-spacer {
  margin-top:14px
}
.mission-subtitle {
  font-size:14px
}
.chapter-note p {
  font-size:13px
}
.checkpoint-card>span {
  font-size:12px
}
.check-field {
  font-size:12px
}
.mission-meta .text-button,.hint-button {
  display:inline-flex;
  align-items:center;
  min-height:35px
}
.name-board .text-button {
  min-height:44px;
  padding:4px
}
.constellation-board .star-button {
  font-size:11px;
  min-height:48px;
  min-width:48px
}
.science-statement p {
  font-size:13px
}
@media(max-width:800px) {
  .boat-controls {
    grid-template-columns:repeat(3,44px);
    grid-template-rows:repeat(2,44px)
  }
}
@media(max-width:650px) {
  .experience-layout.playing {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:0
  }
  .playing .story-column,.playing .visual-column,.playing #mission {
    display:contents
  }
  .playing .mission-meta {
    order:1;
    margin-bottom:10px
  }
  .playing .mission-title {
    order:2;
    margin-bottom:12px
  }
  .playing .mission-subtitle {
    order:3;
    margin-bottom:15px;
    font-size:14px
  }
  .playing .traveler-progress {
    order:4;
    margin-bottom:4px
  }
  .playing .puzzle-shell {
    order:5;
    margin-top:14px
  }
  .playing .checkpoint-footer {
    order:6;
    margin-top:17px
  }
  .playing .hint-box {
    order:7;
    margin-top:17px;
    margin-bottom:9px
  }
  .playing .chapter-note {
    order:8
  }
  .playing .history-note {
    order:9
  }
  .playing .scene-frame {
    order:10;
    margin-top:22px;
    height:270px
  }
  .playing .intro-caption {
    order:11
  }
  .puzzle-instruction {
    font-size:14px
  }
  .boat-layout {
    flex-direction:column;
    gap:15px
  }
  .river-grid {
    width:100%;
    max-width:300px;
    gap:4px;
    padding:7px
  }
  .boat-controls {
    grid-template-columns:repeat(3,44px);
    grid-template-rows:repeat(2,44px);
    gap:5px
  }
  .boat-controls [data-direction=up] {
    grid-area:1/2
  }
  .boat-controls [data-direction=down] {
    grid-area:2/2
  }
  .boat-controls [data-direction=left] {
    grid-area:2/1
  }
  .boat-controls [data-direction=right] {
    grid-area:2/3
  }
  .boat-controls .control-center {
    display:none
  }
  .wave-controls {
    gap:17px
  }
  .wave-person .stepper {
    font-size:11px;
    gap:6px
  }
  .wave-person .stepper>label {
    width:100%;
    text-align:center
  }
  .wave-person .round-control {
    min-width:44px;
    min-height:44px
  }
  .pattern-legend {
    font-size:10px;
    max-width:100px
  }
  .name-token {
    min-height:44px
  }
  .dust-pane .control-label {
    font-size:10px
  }
  .dust-pane .small-button {
    font-size:11px
  }
  .checkpoint-footer .button {
    min-height:49px;
    font-size:13px
  }
  .chapter-note summary {
    font-size:12px;
    min-height:27px
  }
  .hint-button {
    font-size:12px;
    min-height:42px
  }
  .hint-box p {
    font-size:12px
  }
  .check-field {
    font-size:12px
  }
  .science-statement p {
    font-size:13px
  }
}

/* Controls remain below the canvas so scene dragging does not move the puzzle UI. */
#tomb-scene{touch-action:none;cursor:grab}
#tomb-scene:active{cursor:grabbing}
.scene-top,.scene-side,.scene-caption{pointer-events:none}
.solar-view-controls{display:flex;align-items:center;gap:12px;padding:14px 0;color:#b9cecf;font:12px/1.5 system-ui,sans-serif}
.solar-view-controls p{flex:1;margin:0}.solar-view-controls small{opacity:.7}
.solar-view-controls button{min-width:40px;min-height:40px;border:1px solid #608b8a;background:#122a30;color:#dcebe7;border-radius:8px;cursor:pointer}
.solar-view-controls>div{display:flex;gap:5px;flex-wrap:wrap;max-width:140px}
.solar-view-controls button:focus-visible{outline:3px solid #e7c078;outline-offset:3px}
.solar-view-controls .solar-view-stick{width:88px;height:88px;flex:0 0 88px;border-radius:50%;position:relative;touch-action:none;background:radial-gradient(circle,#23433f,#0a1a24);user-select:none}
.solar-view-stick span{position:absolute;left:27px;top:27px;width:32px;height:32px;border-radius:50%;background:#82d5c7;box-shadow:0 3px 14px #0008;pointer-events:none}
@media(max-width:650px){.playing .solar-view-controls{order:11}.playing .intro-caption{order:12}}
