@font-face {
  font-family: Atlas Sans;
  src: url('./assets/fonts/open-sans-fc0528d1f7.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f9f9f9;
  --ink: #202020;
  --soft: #545454;
  --rule: #cbcbcb;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Atlas Sans', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: var(--sans);
  color: var(--ink);
}
* {box-sizing:border-box}
html,body {height:100%; margin:0}
body {display:flex; flex-direction:column; height:100dvh; background:var(--paper); overflow:hidden}
button,input,select {font:inherit; color:inherit}
button,a,select {touch-action:manipulation}
button {border:0; padding:0; background:none; cursor:pointer}
a {color:inherit; text-underline-offset:.22em}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible {outline:2px solid #222; outline-offset:3px}
[hidden] {display:none!important}
.masthead {height:77px; flex:none; display:flex; align-items:center; padding:0 clamp(1rem,3vw,3.5rem); border-bottom:1px solid #272727; gap:25px}
.brand {width:129px; height:66px; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none}
.brand img {width:151px; height:auto; filter:grayscale(1) contrast(1.7); mix-blend-mode:multiply}
.brand-section {font:italic 1.23rem var(--serif); border-left:1px solid var(--rule); padding-left:23px}
.masthead nav {display:flex; gap:clamp(14px,2.8vw,40px); margin-left:auto; align-items:center}
.masthead nav>* {font-size:.875rem; text-decoration:none; padding:8px 0}
.nav-current {border-bottom:1px solid #282828}
.masthead nav>*:hover,.source-link:hover {text-decoration:underline}
main {display:grid; grid-template-columns:clamp(285px,23.5vw,370px) minmax(0,1fr); min-height:0; flex:1; position:relative}
.index-panel {min-height:0; border-right:1px solid var(--rule)}
.index-scroll {height:100%; overflow:auto; padding:clamp(25px,4.5vh,48px) clamp(20px,2.8vw,45px); scrollbar-width:thin; scrollbar-color:#c2c2c2 transparent}
h1,h2,h3,p {margin:0}
h1 {font:normal clamp(2.5rem,3.55vw,4rem)/.99 var(--serif); letter-spacing:-.06em; overflow-wrap:break-word}
h1 em {display:block; font-weight:normal}
.lede,.description {margin-top:16px; font-size:1rem; line-height:1.55; color:#454545}
.mountain-study {width:100%; display:block; text-align:left; border-top:1px solid #999; border-bottom:1px solid #999; padding:12px 0 13px; margin:23px 0 28px}
.mountain-study img {display:block; width:100%; height:auto; mix-blend-mode:multiply}
.study-caption {margin-top:5px; display:flex; align-items:baseline; justify-content:space-between; gap:6px}
.study-caption>span:first-child {font:italic 1.06rem var(--serif)}
.study-alt,.detail-type,.map-position,.scale,.result-count {font-family:var(--mono); font-variant-numeric:tabular-nums}
.study-alt {font-size:.75rem; white-space:nowrap}
.study-action,.back,.browse,.tour-start,.source-link {font-size:.86rem; text-decoration:underline; text-underline-offset:3px}
.study-action {display:inline-block; margin-top:7px; color:#545454}
.mountain-study:hover .study-action,.browse:hover {color:#000; text-decoration-thickness:2px}
.index-heading {display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:13px}
.index-heading h2 {font:normal 1.58rem var(--serif); letter-spacing:-.04em}
#result-count {font:.75rem var(--mono); color:var(--soft)}
.search-box {height:40px; border:1px solid #9b9b9b; display:flex; align-items:center; gap:12px; padding:0 10px; background:white}
.search-box i {width:13px; height:13px; border:1.4px solid #444; border-radius:50%; position:relative; flex:none}
.search-box i:after {content:''; position:absolute; width:6px; height:1px; background:#444; right:-4px; bottom:-2px; transform:rotate(45deg)}
.search-box input {border:0; background:none; font-size:1rem; min-width:0; width:100%}
.search-box input:focus {outline:0}
.search-box:focus-within {outline:1px solid #222}
kbd {font:13px var(--mono); color:var(--soft)}
.filter,.region-select {position:relative}
.filter {display:block; border-bottom:1px solid var(--rule)}
select {appearance:none; border:0; border-radius:0; color:var(--ink); cursor:pointer; background:transparent; padding:8px 29px 8px 0}
.filter select {width:100%; font-size:.875rem}
.filter:after,.region-select:after {content:''; pointer-events:none; width:6px; height:6px; border-right:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg); position:absolute; right:8px; top:calc(50% - 5px)}
.place-row {width:100%; text-align:left; display:flex; align-items:center; gap:12px; padding:12px 2px; border-bottom:1px solid #dedede}
.place-row:hover,.place-row.selected {background:#eee}
.row-symbol {width:19px; flex:none; text-align:center; font:1.12rem var(--serif); color:#303030}
.row-name {display:block; font-size:.91rem; line-height:1.28}
.row-region {display:block; font-size:.76rem; margin-top:3px; color:var(--soft)}
.browse {margin:14px 0 0}
.tour-start {display:flex; gap:8px; align-items:center; margin-top:25px; text-decoration:none}
.tour-start span {font-size:1.25rem}
.empty-result {font-size:.9rem; padding:16px 0; line-height:1.5}
.back {margin:0 0 23px}
.detail-type {font-size:.76rem; margin-bottom:11px}
#detail-title {font-size:clamp(2.1rem,2.6vw,3.35rem); line-height:1.07}
.native {font:italic 1.03rem/1.4 var(--serif); color:#666; margin:8px 0 16px}
.facts {margin:16px 0; padding:14px 0; border-block:1px solid var(--rule); display:grid; gap:10px}
.facts dt {font-size:.77rem; color:#606060}
.facts dd {margin:3px 0 0; font: .85rem/1.45 var(--mono)}
.source-link {display:inline-block}
#place-detail {margin-bottom:28px}
.journey {display:flex; gap:12px; align-items:center; font-size:.85rem; margin-top:16px}
.journey span {margin-right:auto; font-family:var(--mono)}
.journey button {text-decoration:underline}
button:disabled {opacity:.45; cursor:default}
.map-column {min-height:0; min-width:0; display:grid; grid-template-rows:54px minmax(0,1fr) 38px; padding:0 clamp(12px,1.8vw,30px)}
.map-heading,.map-foot {display:flex; align-items:center; gap:18px}
.region-select {display:flex; align-items:center; gap:11px}
.region-select select,.label-toggle,.mobile-index {font-size:.875rem}
.view-label {color:#666; font-size:.8rem}
.label-toggle {margin-left:auto; display:flex; align-items:center; gap:8px}
.label-toggle span {font:italic 1.05rem var(--serif); border-bottom:1px solid; padding-bottom:1px}
.label-toggle[aria-pressed=false] {color:#777}
.mobile-index {display:none}
.map-frame {min-height:0; min-width:0; position:relative; isolation:isolate; overflow:hidden; border:1px solid #878787; background:#eaeaea}
#map-canvas,#map-labels,#map-poster {position:absolute; inset:0; width:100%; height:100%}
#map-canvas canvas {display:block; width:100%; height:100%; touch-action:none; cursor:grab}
#map-canvas canvas:active {cursor:grabbing}
#map-canvas.orbit canvas {cursor:crosshair}
#map-poster {object-fit:contain; background:#e8e8e8; pointer-events:none; z-index:1}
#map-labels {pointer-events:none; z-index:2; overflow:hidden}
.map-label,.water-label {position:absolute; left:0; top:0; white-space:nowrap}
.map-label {pointer-events:auto; display:flex; align-items:center; gap:5px; padding:3px 2px; font: .83rem/1.15 var(--sans); color:#111; text-align:left}
.map-label .mark {font:15px/1 var(--serif); font-weight:bold; width:10px; flex:none; text-align:center}
.map-label .name,.map-label .mark,.water-label {text-shadow:1px 0 2px white,-1px 0 2px white,0 1px 2px white,0 -1px 2px white}
.map-label .name {background:#ffffffe3; border-radius:1px; padding:2px 4px}
.map-label.volcano .name,.map-label.mountain .name,.map-label.sight .name {font:italic .94rem/1.1 var(--serif)}
.map-label.river .name {font:italic .84rem var(--serif)}
.map-label.selected .name,.map-label:hover .name {color:white; background:#242424; text-shadow:none}
.water-label {font:italic clamp(.88rem,1.05vw,1.08rem) var(--serif); color:#606060; letter-spacing:.09em; text-align:center}
.frame-corner {position:absolute; pointer-events:none; width:10px; height:10px; border-color:#333; border-style:solid; z-index:4}
.tl {top:4px; left:4px; border-width:1px 0 0 1px}
.tr {top:4px; right:4px; border-width:1px 1px 0 0}
.br {bottom:4px; right:4px; border-width:0 1px 1px 0}
.bl {bottom:4px; left:4px; border-width:0 0 1px 1px}
.map-instruments {position:absolute; z-index:4; top:17px; right:17px; display:grid; justify-items:center; gap:10px}
.compass {width:40px; height:54px; display:grid; justify-items:center; gap:2px}
.compass b {font: .75rem var(--mono)}
#compass-needle {display:block; width:15px; height:33px; background:linear-gradient(90deg,#212121 50%,#aaa 50%); clip-path:polygon(50% 0,90% 82%,50% 66%,10% 82%)}
.zoom-buttons,.fit-button,.map-hand>div {border:1px solid #8d8d8d; background:#fafafaf2}
.zoom-buttons {display:grid}
.zoom-buttons button,.fit-button {width:35px; height:34px; font:22px/1 var(--sans)}
.zoom-buttons button+button {border-top:1px solid #aaa}
.map-hand {position:absolute; z-index:4; left:17px; bottom:17px}
.map-hand>div {display:flex; gap:1px; padding:2px}
.map-hand button {font-size:.82rem; padding:6px 11px}
.map-hand button[aria-pressed=true] {background:#282828; color:white}
.zoom-buttons button:hover,.fit-button:hover,.map-hand button[aria-pressed=false]:hover {background:#e0e0e0}
.scale {position:absolute; z-index:3; right:18px; bottom:18px; font-size:.76rem; display:grid; justify-items:center; gap:3px; padding:3px 5px; background:#f9f9f9d9}
.scale i {height:5px; border:solid #333; border-width:0 1px 1px; width:45px}
.map-message {position:absolute; z-index:4; left:50%; top:50%; transform:translate(-50%,-50%); background:#fafafaf0; border:1px solid #aaa; padding:12px 18px; max-width:90%; text-align:center; font-size:.92rem}
.map-foot {font-size:.77rem; color:#555; justify-content:space-between}
.map-position {font-size:.75rem; white-space:nowrap}
footer {border-top:1px solid var(--rule); flex:none; min-height:31px; padding:5px clamp(1rem,3vw,3.5rem); display:flex; align-items:center; gap:8px; font-size:.75rem; color:#585858}
footer a {text-decoration:none}
footer a:hover {text-decoration:underline}
footer button {margin-left:auto; text-decoration:underline}
dialog {color:var(--ink); background:var(--paper); border:1px solid #333; padding:clamp(24px,4vw,44px); max-width:min(570px,calc(100vw - 32px)); max-height:82dvh}
dialog::backdrop {background:#17171770}
dialog h2 {font:2.1rem var(--serif); letter-spacing:-.04em; margin:0 30px 16px 0}
dialog h3 {font:1.3rem var(--serif); margin:20px 0 8px}
dialog p {font-size:1rem; line-height:1.6; margin:9px 0}
.close-about {position:absolute; right:15px; top:8px; font-size:27px}
.sr-only,.skip-link:not(:focus) {position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap}
.skip-link:focus {position:fixed; z-index:20; padding:8px; background:white}
@media(max-height:780px) and (min-width:761px) {
 .masthead {height:64px} .brand {height:58px} .brand img {width:131px}
 .index-scroll {padding-top:24px} .mountain-study {margin:14px 0 20px}
}
@media(max-width:860px) and (min-width:761px) {
 main {grid-template-columns:260px minmax(0,1fr)} .index-scroll {padding:22px 18px}
 .view-label {display:none} .map-column {padding:0 10px}
}
@media(max-width:760px) {
 .masthead {height:58px; padding:0 14px; gap:11px} .brand {width:95px; height:55px} .brand img {width:111px}
 .brand-section {font-size:1rem; padding-left:11px} .masthead nav {gap:14px} .masthead nav>* {font-size:.78rem}
 .masthead .nav-current {display:none}
 main {display:flex} .map-column {flex:1; width:100%; padding:0 8px; grid-template-rows:45px minmax(0,1fr) 32px}
 .index-panel {display:none; position:absolute; z-index:7; top:45px; bottom:32px; left:8px; right:8px; background:var(--paper); border:1px solid #777}
 .index-open .index-panel {display:block} .index-scroll {padding:22px 24px}
 h1 {font-size:2.5rem} h1 em {display:inline} .mountain-study {max-width:440px}
 .map-heading {gap:12px} .region-select {min-width:0; flex:1} .region-select select {width:100%; font-size:.83rem}
 .view-label {display:none} .label-toggle {font-size:.81rem; gap:3px; margin:0}
 .mobile-index {display:block; border:1px solid #777; padding:5px 8px; white-space:nowrap; font-size:.81rem}
 .mobile-index[aria-expanded=true] {background:#252525; color:white}
 .map-instruments {top:11px; right:10px; gap:7px} .map-hand {left:10px; bottom:11px} .scale {right:9px; bottom:11px}
 .map-foot {font-size:.72rem; gap:6px} .map-position {font-size:.68rem}
 .map-label {font-size:.75rem} .map-label.volcano .name,.map-label.mountain .name,.map-label.sight .name {font-size:.83rem}
 footer {justify-content:center; font-size:.66rem; gap:5px; padding:5px; min-height:26px} footer button {margin-left:4px}
}
@media(max-width:380px) { .brand-section {display:none} .masthead nav {gap:16px} }

@media(max-width:450px) {
 .brand-section {display:none}
 .masthead nav>* {white-space:nowrap}
 footer .full-credit {display:none}
 footer a,footer button {white-space:nowrap}
}
