:root { color-scheme: dark; --ink: #fff8e9; --muted: #eee3c7; --line: #fff7dc35; --accent: #d9ba7d; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { color: var(--ink); background: #a69e77; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 2px solid #fff1c2; outline-offset: 5px; }
button { border: 0; background: transparent; }
button:hover { color: #fff; }
button:disabled { opacity: .35; cursor: default; }
[hidden] { display: none !important; }
#experience, #scene { width: 100%; height: 100%; display: block; }
#scene { touch-action: none; cursor: grab; outline: none; }
#scene:active { cursor: grabbing; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #18221c3d 0%, transparent 24%, transparent 64%, #182017a3 100%), linear-gradient(90deg,#26312033,transparent 40%); }
.masthead { position: absolute; top: 34px; left: 42px; right: 42px; display: flex; align-items: center; gap: 25px; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: 3px; }
.brand svg { width: 31px; height: 38px; }
.brand-sub { display: block; font-size: 7px; font-weight: 400; letter-spacing: 1.8px; margin-top: 7px; opacity: .66; }
.location { margin-left: auto; font-size: 9px; letter-spacing: 1.8px; display: flex; align-items: center; gap: 10px; opacity: .85; }
.location-divider { opacity: .5; margin: 0 7px; }
.live-dot { width: 5px; height: 5px; border-radius: 100%; background: #e3d8ac; box-shadow: 0 0 0 4px #fff2c910; }
.round-button { border: 1px solid #fff8dc70; border-radius: 50%; width: 27px; height: 27px; font-family: Georgia, serif; font-size: 15px; transition: background .2s; }
.round-button:hover, .round-button[aria-expanded=true] { background: #fff8dc20; }
.title-block { position: absolute; top: 22%; left: 6.5%; pointer-events: none; text-shadow: 0 2px 25px #31341d20; }
.eyebrow { font-size: 9px; letter-spacing: 2.7px; margin: 0 0 19px; font-weight: 500; }
.eyebrow span { color: #fff1c8; opacity: .65; letter-spacing: 1px; }
h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(46px,5.7vw,90px); line-height: 1.09; letter-spacing: -3.5px; font-weight: 400; }
.subtitle { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 18px; letter-spacing: .1px; margin: 17px 0 30px; opacity: .85; }
.species { display: flex; align-items: center; gap: 13px; font-size: 10px; letter-spacing: .6px; opacity: .72; font-style: italic; }
.fine-rule { height: 1px; width: 26px; background: currentColor; opacity: .8; }
.scene-caption { position: absolute; bottom: 132px; left: 43px; display: flex; align-items: center; gap: 15px; pointer-events: none; }
.caption-line { height: 33px; width: 1px; background: #f2e3b77a; }
.caption-title { display: block; font-size: 8px; letter-spacing: 2px; }
.caption-detail { display: block; font-family: Georgia, serif; font-style: italic; font-size: 12px; opacity: .65; margin-top: 9px; }
.bottom-bar { position: absolute; bottom: 0; left: 42px; right: 42px; height: 97px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.transport, .view-controls, .speed-control { display: flex; align-items: center; }
.play-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #fff8dc65; border-radius: 50%; transition: background .2s; }
.play-button:hover { background: #fff8dc20; }
.play-button svg { width: 16px; height: 16px; }
.motion-label { margin-left: 14px; min-width: 89px; }
.motion-label > span:first-child { display: block; font-size: 8px; letter-spacing: 1.8px; }
.motion-label > span:last-child { display: block; font-family: Georgia, serif; margin-top: 6px; font-size: 11px; color: var(--muted); opacity: .65; }
.control-divider { height: 26px; width: 1px; background: var(--line); margin: 0 23px 0 13px; }
.speed-control { gap: 12px; font-size: 8px; letter-spacing: 1.5px; }
.speed-control > span { opacity: .65; }
.speed-control output { letter-spacing: 0; font-size: 10px; min-width: 27px; font-variant-numeric: tabular-nums; opacity: .8; }
input[type=range] { appearance: none; width: 77px; height: 18px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: #eee3c74d; border-radius: 1px; }
input[type=range]::-moz-range-track { height: 2px; background: #eee3c74d; border-radius: 1px; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 7px; height: 7px; margin-top: -2.5px; border-radius: 50%; background: #f2e4c4; }
input[type=range]::-moz-range-thumb { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #f2e4c4; }
.camera-hint { display: flex; align-items: center; gap: 9px; opacity: .57; font-size: 9px; letter-spacing: .3px; }
.camera-hint svg { width: 15px; height: 20px; }
.camera-hint b { margin: 0 8px; font-weight: 400; }
.view-controls { gap: 24px; }
.view-controls button { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 8px; letter-spacing: 1.4px; opacity: .8; }
.view-controls button:hover { opacity: 1; }
.view-controls svg { width: 19px; height: 19px; }
.info-panel { position: absolute; right: 42px; top: 92px; width: 330px; padding: 23px 25px; background: #263127ed; border: 1px solid #f6e7c52b; backdrop-filter: blur(20px); box-shadow: 0 15px 50px #121f192a; z-index: 3; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: 2px; color: #ded0aa; }
.panel-heading button { font-size: 24px; padding: 0 0 0 15px; line-height: 1; opacity: .7; }
.info-panel h2 { font-family: Georgia, serif; font-size: 26px; line-height: 1.25; font-weight: 400; margin: 23px 0 17px; }
.info-panel p { font-size: 12px; line-height: 1.9; color: #e8dfc8bb; }
.info-panel dl { padding: 12px 0; border-block: 1px solid var(--line); margin-block: 20px; }
.info-panel dl > div { display: flex; justify-content: space-between; margin: 12px 0; }
.info-panel dt { font-size: 8px; letter-spacing: 1.5px; opacity: .6; }
.info-panel dd { font-size: 11px; }
.info-panel .panel-footnote { font-size: 10px; opacity: .6; }
.loading { position: absolute; inset: 0; background: #343e2d; display: flex; align-items: center; justify-content: center; gap: 21px; z-index: 10; transition: opacity .8s; }
.loading.complete { opacity: 0; pointer-events: none; }
.loading-mark { width: 31px; height: 31px; border: 1px solid #ece1c633; border-top-color: #ece1c6; border-radius: 50%; animation: spin 1.5s linear infinite; }
.loading p { font-family: Georgia, serif; font-style: italic; font-size: 23px; }
.loading p span { display: block; font-family: Arial, sans-serif; font-style: normal; letter-spacing: 2.1px; font-size: 7px; margin-top: 10px; opacity: .5; }
.error { position: absolute; z-index: 20; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(420px,90vw); padding: 30px; background: #283329; border: 1px solid var(--line); }
.error h2 { font-family: Georgia, serif; font-weight: 400; }
.error p { font-size: 13px; line-height: 1.8; opacity: .8; }
.toast { position: absolute; bottom: 116px; left: 50%; transform: translateX(-50%) translateY(5px); background: #263127e6; color: #f0e7d0; padding: 10px 18px; border: 1px solid var(--line); border-radius: 2px; font-size: 11px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1700px) { .title-block { left: 9%; } }
@media (max-width: 1100px) { .camera-hint { display: none; } .title-block { left: 5%; top: 20%; } h1 { font-size: 64px; } .view-controls { gap: 20px; } }
@media (max-width: 700px) {
  .masthead { top: 22px; left: 23px; right: 23px; gap: 15px; }
  .brand { font-size: 11px; letter-spacing: 2.4px; gap: 7px; } .brand svg { width: 26px; } .brand-sub { font-size: 5px; letter-spacing: 1.4px; }
  .location { display: none; } .round-button { margin-left: auto; }
  .title-block { left: 25px; top: 115px; } h1 { font-size: 49px; letter-spacing: -2px; } .eyebrow { font-size: 7px; margin-bottom: 13px; } .subtitle { font-size: 15px; margin: 11px 0 18px; } .species { font-size: 8px; }
  .scene-caption { left: 25px; bottom: 108px; } .caption-title { font-size: 6px; letter-spacing: 1.6px; } .caption-detail { font-size: 10px; } .caption-line { height: 27px; }
  .bottom-bar { left: 23px; right: 23px; height: 84px; gap: 12px; }
  .motion-label { min-width: 63px; margin-left: 9px; } .motion-label > span:first-child { font-size: 7px; } .motion-label > span:last-child { font-size: 9px; }
  .play-button { width: 33px; height: 33px; } .control-divider { margin: 0 12px 0 8px; } .speed-control { gap: 7px; } .speed-control > span { display: none; } input[type=range] { width: 54px; } .speed-control output { font-size: 9px; }
  .view-controls { gap: 15px; } .view-controls span { display: none; } .view-controls svg { width: 17px; } #fullscreen-button { display: none; }
  .info-panel { right: 23px; top: 80px; width: min(330px,calc(100vw - 46px)); }
}
@media (max-height: 620px) and (min-width: 701px) { .masthead { top: 20px; } .title-block { top: 25%; } h1 { font-size: 52px; } .subtitle { font-size: 15px; } .bottom-bar { height: 75px; } .scene-caption { bottom: 97px; } .info-panel { max-height: calc(100vh - 180px); overflow: auto; } }
@media (max-width: 360px) { .title-block { top: 98px; } h1 { font-size: 43px; } .subtitle { font-size: 13px; } .species { font-size: 7px; } .view-controls { gap: 11px; } .control-divider { margin-inline: 7px; } }
@media (prefers-reduced-motion: reduce) { .loading-mark { animation: none; } .loading, .toast { transition: none; } }
