:root {
  color-scheme: dark;
  --bg: #07131b;
  --panel: #0d1c25;
  --panel-2: #11232d;
  --line: rgba(151, 190, 198, .14);
  --line-strong: rgba(151, 190, 198, .25);
  --text: #edf5f3;
  --muted: #8fa7ad;
  --faint: #58717a;
  --teal: #69d2c5;
  --cyan: #72c6dc;
  --sand: #c2a27a;
  --amber: #e3b77c;
  --radius: 13px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; background: radial-gradient(ellipse at 32% -18%, rgba(32, 91, 104, .24), transparent 42%), var(--bg); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.app-shell { max-width: 1780px; margin: 0 auto; padding: 0 28px 16px; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 28px; height: 28px; border: 1px solid rgba(105, 210, 197, .45); border-radius: 8px; display: flex; align-items: end; justify-content: center; gap: 2px; padding: 6px 5px; transform: rotate(-3deg); }
.brand-mark span { width: 4px; border-radius: 4px; background: var(--teal); display: block; }
.brand-mark span:nth-child(1) { height: 8px; opacity: .58; }.brand-mark span:nth-child(2) { height: 14px; }.brand-mark span:nth-child(3) { height: 10px; opacity: .78; }
.brand-name { font-size: 11px; font-weight: 800; letter-spacing: .16em; }.brand-name span { color: var(--muted); font-weight: 500; letter-spacing: .12em; margin-left: 5px; }
.brand-sub { color: var(--faint); font-size: 8px; letter-spacing: .19em; margin-top: 3px; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.live-indicator { display: flex; align-items: center; gap: 8px; color: #9bb8b7; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.live-indicator i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(105,210,197,.7); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.025); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-button:hover { background: rgba(105,210,197,.09); border-color: rgba(105,210,197,.5); }
.icon-button svg, .transport-secondary svg, .utility-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.main-layout { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 24px; padding-top: 24px; align-items: start; }
.exhibit-column { min-width: 0; }
.exhibit-heading { padding: 0 2px 16px; }
.eyebrow { color: #8faeb0; font-size: 9px; letter-spacing: .17em; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.eyebrow-line { width: 18px; height: 1px; background: var(--teal); }
h1 { margin: 8px 0 0; font-size: clamp(35px, 4.2vw, 53px); line-height: .98; font-weight: 650; letter-spacing: -.055em; }
.title-period { color: var(--teal); }
.subtitle { color: #a4b7b9; font-size: 13px; margin: 8px 0 0; letter-spacing: .005em; }
.scene-frame { position: relative; width: 100%; height: clamp(390px, 43vw, 520px); min-height: 360px; overflow: hidden; border: 1px solid rgba(121, 173, 184, .2); border-radius: 14px; background: radial-gradient(ellipse at 48% 45%, #18313b 0%, #0c1d26 58%, #07131b 100%); box-shadow: 0 24px 70px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.035); }
#sceneCanvas { width: 100%; height: 100%; display: block; outline: none; }
.scene-vignette { pointer-events: none; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,12,18,.42), transparent 23%, transparent 70%, rgba(4,12,18,.53)); }
.scene-topline, .scene-bottomline { position: absolute; left: 17px; right: 17px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.scene-topline { top: 15px; }.scene-bottomline { bottom: 15px; gap: 10px; }
.scene-tag { border: 1px solid rgba(164,208,207,.16); border-radius: 6px; padding: 7px 9px; color: #b0c6c6; background: rgba(5,17,24,.52); backdrop-filter: blur(8px); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.scene-tag strong { color: #f0f6f3; font-size: 9px; letter-spacing: .08em; margin-left: 6px; font-variant-numeric: tabular-nums; }
.tag-dot { display: inline-block; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.scene-annotation { position: absolute; top: 27%; z-index: 2; display: flex; flex-direction: column; gap: 5px; pointer-events: none; text-shadow: 0 2px 9px rgba(0,0,0,.55); }
.annotation-left { left: 20px; }.annotation-right { right: 20px; text-align: right; top: 55%; }
.annotation-kicker { font-size: 8px; color: #82bcb8; letter-spacing: .15em; font-weight: 800; }
.scene-annotation strong { font-size: 10px; letter-spacing: .09em; font-weight: 750; color: #edf8f3; }
.scene-annotation small { font-size: 9px; color: #a4c0c0; }
.scene-legend { color: #a4b9b9; display: flex; align-items: center; gap: 7px; font-size: 7px; letter-spacing: .1em; font-weight: 700; }
.legend-water, .legend-bed, .legend-grain { width: 7px; height: 7px; border-radius: 2px; display: inline-block; margin-left: 4px; }.legend-water { background: #58b8c8; }.legend-bed { background: #a78762; }.legend-grain { background: #d5b887; border-radius: 50%; }
.orbit-hint { color: rgba(185,208,205,.62); font-size: 7px; letter-spacing: .11em; display: flex; align-items: center; gap: 5px; }.orbit-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.loading-overlay, .context-loss { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(6,17,24,.88); color: #9eb8b7; font-size: 9px; font-weight: 800; letter-spacing: .18em; z-index: 8; }
.loading-overlay[hidden], .context-loss[hidden] { display: none; }.loader-ring { width: 28px; height: 28px; border: 2px solid rgba(105,210,197,.18); border-top-color: var(--teal); border-radius: 50%; animation: spin 1s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.context-loss strong { font-size: 14px; letter-spacing: 0; color: #eff7f4; }.context-loss span { max-width: 290px; text-align: center; line-height: 1.5; font-size: 11px; font-weight: 450; letter-spacing: 0; }
.transport-bar { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: rgba(12,29,38,.83); }
.transport-actions, .transport-utilities { display: flex; align-items: center; gap: 7px; }
.transport-primary, .transport-secondary, .utility-button { height: 34px; border-radius: 7px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .11em; transition: background .18s, border-color .18s, transform .18s; white-space: nowrap; }
.transport-primary { padding: 0 13px; background: #b2e5d9; color: #092129; border-color: #b2e5d9; min-width: 87px; }.transport-primary:hover { background: #d0f5eb; transform: translateY(-1px); }.play-icon { font-size: 12px; line-height: 1; }
.transport-secondary { padding: 0 10px; color: #b6c9c7; background: rgba(255,255,255,.025); }.transport-secondary:hover, .utility-button:hover { background: rgba(105,210,197,.09); border-color: rgba(105,210,197,.42); }
.speed-control { display: grid; grid-template-columns: auto minmax(58px, 110px) auto; align-items: center; gap: 8px; flex: 1; max-width: 220px; }.speed-control label { font-size: 7px; color: var(--faint); letter-spacing: .13em; font-weight: 800; white-space: nowrap; }.speed-control output { color: #c2d5d1; font-size: 9px; font-variant-numeric: tabular-nums; min-width: 34px; }
input[type="range"] { appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; width: 100%; height: 18px; margin: 0; accent-color: var(--teal); }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), rgba(105,210,197,.22)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(105,210,197,.28); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #d2f3e9; border: 2px solid #357f7c; margin-top: -4px; box-shadow: 0 0 0 3px rgba(105,210,197,.09); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: #d2f3e9; border: 2px solid #357f7c; }
.utility-button { padding: 0 9px; background: rgba(255,255,255,.025); color: #a9c0bd; }.utility-button.active { color: var(--teal); border-color: rgba(105,210,197,.36); background: rgba(105,210,197,.08); }
.readout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.readout-card { min-height: 87px; padding: 11px 12px 9px; background: linear-gradient(135deg, rgba(18,39,49,.92), rgba(12,28,37,.94)); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.readout-primary { border-color: rgba(105,210,197,.27); background: linear-gradient(135deg, rgba(20,55,59,.74), rgba(12,29,37,.95)); }
.readout-label { display: flex; align-items: center; gap: 6px; color: #9ab1b1; font-size: 7px; letter-spacing: .12em; font-weight: 800; white-space: nowrap; }
.type-pill { font-size: 6px; letter-spacing: .08em; border-radius: 3px; padding: 2px 4px; font-weight: 800; }.type-pill.textbook { color: #88cfc4; background: rgba(105,210,197,.10); }.type-pill.scaled { color: #dfb67e; background: rgba(227,183,124,.11); }.type-pill.illustrative { color: #91c7dc; background: rgba(114,198,220,.11); }
.readout-value { display: flex; align-items: baseline; gap: 5px; margin-top: 8px; font-size: 24px; line-height: 1; letter-spacing: -.04em; font-weight: 650; font-variant-numeric: tabular-nums; }.readout-value small { font-size: 9px; color: #9db3b0; font-weight: 600; letter-spacing: 0; }.readout-foot { margin-top: 7px; color: #6f8b91; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lower-note { display: flex; align-items: flex-start; gap: 9px; margin: 12px 2px 0; color: #92a9ac; font-size: 10px; line-height: 1.55; }.lower-note p { margin: 0; }.lower-note strong { color: #c9d8d5; font-weight: 700; }.note-icon { flex: 0 0 16px; height: 16px; display: grid; place-items: center; border: 1px solid rgba(105,210,197,.35); color: var(--teal); border-radius: 50%; font-size: 10px; font-style: italic; font-family: Georgia, serif; }
.control-column { background: linear-gradient(180deg, rgba(15,33,43,.96), rgba(10,24,32,.96)); border: 1px solid var(--line); border-radius: 13px; padding: 17px 17px 13px; box-shadow: 0 20px 55px rgba(0,0,0,.14); }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); }.panel-eyebrow { font-size: 7px; color: var(--teal); font-weight: 800; letter-spacing: .16em; }.panel-header h2 { margin: 4px 0 0; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }.panel-index { color: #59727b; font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.control-section { padding: 15px 0; border-bottom: 1px solid var(--line); }.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }.section-heading h3 { margin: 0; font-size: 8px; letter-spacing: .13em; color: #c3d4d0; font-weight: 800; }.section-heading span { color: #5e7881; font-size: 6px; letter-spacing: .12em; font-weight: 700; }
.preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }.preset-card { min-width: 0; text-align: left; padding: 8px 7px 7px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.018); cursor: pointer; transition: border-color .18s, background .18s; }.preset-card:hover { border-color: rgba(105,210,197,.38); }.preset-card.selected { border-color: rgba(105,210,197,.55); background: rgba(105,210,197,.075); }.preset-card strong { display: block; font-size: 8px; font-weight: 750; margin-top: 6px; white-space: nowrap; }.preset-card small { display: block; font-size: 7px; color: #789198; margin-top: 3px; white-space: nowrap; }
.preset-graphic { height: 26px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 4px; background: linear-gradient(180deg, rgba(61,128,140,.16), rgba(27,64,72,.10)); overflow: hidden; }.preset-graphic i { width: 19px; height: 10px; border-top: 1.5px solid #67c5bd; border-radius: 50% 50% 0 0; transform: translateY(3px); }.threshold-graphic i { height: 4px; border-color: #8cbec0; }.mature-graphic i:nth-child(2) { transform: translateY(-1px) scale(1.12); }.washed-graphic i { border-color: #8eabb3; transform: translateY(5px); }
.parameter-section { padding-bottom: 12px; }.parameter-row { margin-top: 12px; }.parameter-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.parameter-title label { color: #b8cac7; font-size: 9px; font-weight: 600; }.parameter-title output { color: #d4e7df; font-size: 9px; font-variant-numeric: tabular-nums; }.parameter-range { margin-top: 5px !important; }.range-limits { display: flex; justify-content: space-between; color: #58727a; font-size: 7px; margin-top: -1px; font-variant-numeric: tabular-nums; }
.view-section { padding-bottom: 12px; }.toggle-row { min-height: 27px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: #9fb4b2; font-size: 9px; }.toggle-row > span { display: flex; align-items: center; gap: 8px; }.layer-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }.water-dot { background: #62c6d6; }.sediment-dot { background: #c5a174; }.flow-dot { background: #8cddd0; }.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }.toggle-row b { width: 28px; height: 15px; border-radius: 10px; border: 1px solid #38515b; background: #172c35; position: relative; transition: .2s; }.toggle-row b::after { content: ''; width: 9px; height: 9px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: #71858a; transition: .2s; }.toggle-row input:checked + b { background: rgba(105,210,197,.2); border-color: rgba(105,210,197,.48); }.toggle-row input:checked + b::after { left: 15px; background: var(--teal); }.toggle-row input:focus-visible + b { outline: 2px solid var(--teal); outline-offset: 3px; }
.science-panel { border-bottom: 1px solid var(--line); }.science-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; color: #cbd9d5; font-size: 9px; letter-spacing: .12em; font-weight: 800; }.science-panel summary::-webkit-details-marker { display: none; }.science-panel summary > span:first-child { display: flex; align-items: center; gap: 9px; }.science-icon { width: 19px; height: 19px; display: grid; place-items: center; color: var(--teal); background: rgba(105,210,197,.09); border: 1px solid rgba(105,210,197,.18); border-radius: 5px; font-size: 12px; }.summary-chevron { color: #76949a; font-size: 17px; font-weight: 400; transition: transform .2s; }.science-panel[open] .summary-chevron { transform: rotate(180deg); }.science-content { padding: 0 0 14px; color: #91a8aa; font-size: 9px; line-height: 1.55; }.science-content p { margin: 0 0 10px; }.science-intro { color: #b0c5c1; }.science-content h4 { margin: 13px 0 6px; color: #c8d9d4; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }.equation { padding: 7px 8px; margin: 5px 0; border: 1px solid rgba(105,210,197,.12); background: rgba(105,210,197,.045); border-radius: 5px; color: #d2e6df; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8px; line-height: 1.55; overflow-wrap: anywhere; }.science-content ul { margin: 0 0 10px; padding-left: 16px; }.science-content li { margin: 4px 0; }.validation-box { margin-top: 12px; padding: 9px; border: 1px solid rgba(105,210,197,.18); background: rgba(105,210,197,.045); border-radius: 7px; }.validation-heading { color: #8bcac0; font-size: 7px; font-weight: 800; letter-spacing: .1em; margin-bottom: 7px; }.validation-grid { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; color: #829da1; font-size: 8px; }.validation-grid strong { color: #d7e7e1; font-size: 8px; font-variant-numeric: tabular-nums; }.disclaimer { margin-top: 12px !important; color: #73898e; font-size: 8px; }
.panel-footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; color: #57717a; font-size: 6px; font-weight: 800; letter-spacing: .11em; }.panel-footer strong { color: #91a9a9; font-weight: 700; margin-left: 3px; }
.site-footer { display: flex; justify-content: space-between; gap: 10px; color: #536b74; font-size: 7px; letter-spacing: .14em; font-weight: 700; padding: 17px 2px 0; }.site-footer i { color: var(--teal); font-style: normal; padding: 0 4px; }
.embed-mode .app-shell { padding: 0; }.embed-mode .topbar, .embed-mode .site-footer, .embed-mode .exhibit-heading, .embed-mode .control-column, .embed-mode .lower-note { display: none; }.embed-mode .main-layout { display: block; padding: 0; }.embed-mode .scene-frame { height: calc(100vh - 57px); height: calc(100svh - 57px); min-height: 320px; border: 0; border-radius: 0; }.embed-mode .transport-bar { border-radius: 0; }
@media (min-width: 1500px) { .main-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; }.scene-frame { height: 560px; }.control-column { padding: 20px; } }
@media (max-width: 1080px) { .app-shell { padding-left: 18px; padding-right: 18px; }.main-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 15px; }.scene-frame { height: 420px; }.transport-bar { flex-wrap: wrap; }.speed-control { order: 3; max-width: none; flex: 1 1 100%; }.transport-utilities { margin-left: auto; } }
@media (max-width: 820px) { .main-layout { grid-template-columns: 1fr; }.control-column { margin-top: 18px; }.scene-frame { height: clamp(330px, 58vw, 460px); }.control-column { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }.panel-header, .science-panel, .panel-footer { grid-column: 1 / -1; }.preset-section, .parameter-section, .view-section { align-self: start; }.parameter-section { grid-row: span 2; }.site-footer { padding-bottom: 8px; } }
@media (max-width: 560px) { .app-shell { padding: 0 12px 12px; }.topbar { height: 58px; }.brand-name { font-size: 10px; }.brand-name span { display: none; }.brand-sub { font-size: 7px; }.live-indicator { font-size: 7px; }.main-layout { padding-top: 17px; }.exhibit-heading { padding-bottom: 13px; } h1 { font-size: 39px; }.subtitle { font-size: 11px; }.eyebrow { font-size: 7px; }.scene-frame { height: min(112vw, 430px); min-height: 300px; border-radius: 10px; }.scene-topline, .scene-bottomline { left: 10px; right: 10px; }.scene-topline { top: 10px; }.scene-bottomline { bottom: 10px; }.scene-tag { padding: 6px 7px; font-size: 6px; }.scene-tag strong { font-size: 7px; }.scene-annotation { top: 24%; left: 12px; }.annotation-right { top: 58%; right: 12px; }.scene-annotation strong { font-size: 8px; }.scene-annotation small { font-size: 7px; }.annotation-kicker { font-size: 6px; }.scene-legend { font-size: 6px; gap: 4px; }.orbit-hint { font-size: 0; }.orbit-hint svg { width: 16px; height: 16px; }.transport-bar { padding: 9px 8px; gap: 9px; }.transport-actions { gap: 5px; }.transport-primary { min-width: 73px; padding: 0 9px; }.transport-secondary { padding: 0 7px; }.transport-primary, .transport-secondary, .utility-button { height: 32px; font-size: 7px; }.transport-utilities { gap: 5px; }.utility-button { padding: 0 7px; }.utility-button span { display: none; }.speed-control { grid-template-columns: auto minmax(50px, 1fr) auto; gap: 6px; }.readout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.readout-card { min-height: 82px; padding: 10px; }.readout-label { font-size: 6px; }.readout-value { font-size: 22px; }.readout-foot { font-size: 7px; }.lower-note { font-size: 9px; }.control-column { display: block; padding: 14px 13px 12px; }.preset-section, .parameter-section, .view-section { padding: 13px 0; }.preset-card { padding: 7px 6px; }.preset-card strong { font-size: 7px; }.preset-card small { font-size: 6px; }.preset-graphic { height: 23px; }.parameter-row { margin-top: 11px; }.parameter-title label, .parameter-title output { font-size: 8px; }.panel-footer { font-size: 6px; }.site-footer { font-size: 6px; }.embed-mode .scene-frame { height: calc(100svh - 57px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
