:root {
  --sand: #f7f1e8;
  --sand-2: #efe5d6;
  --ink: #2a221c;
  --muted: #74675b;
  --clay: #b5532c;
  --clay-dark: #8f3f20;
  --olive: #4c5c3a;
  --line: #e2d6c4;
  --night: #241c17;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: .8em; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 52ch; }

.top { position: sticky; top: 0; z-index: 900; background: color-mix(in srgb, var(--sand) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .95rem; }
.top nav a:hover { background: var(--sand-2); }

.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--clay); color: #fff; text-decoration: none; font-weight: 600; }
.btn:hover { background: var(--clay-dark); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--sand); }
.btn.ghost.light { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--night); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.portrait img { border-radius: 50%; width: min(340px, 100%); margin-inline: auto; box-shadow: 0 0 0 10px var(--sand-2), 0 24px 50px -24px rgba(60, 30, 10, .5); }

.facts { padding: 8px 0 56px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts-grid div { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 1px 0 var(--line); }
.facts-grid b { display: block; font-family: var(--display); font-size: 2rem; color: var(--olive); line-height: 1.1; }
.facts-grid span { font-size: .9rem; color: var(--muted); }

.section { padding: 72px 0; }
.section.tint { background: var(--sand-2); }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.prose p { font-size: 1.06rem; }

.timeline { list-style: none; margin: 32px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 0 0 32px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--sand-2); }
.when { font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 3px; }
.timeline h3 { margin-bottom: .15em; }
.org { color: var(--olive); font-weight: 500; font-size: .95rem; margin-bottom: .5em; }
.timeline p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 0 var(--line), 0 16px 30px -26px rgba(60, 30, 10, .5); }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); background: #e8ecdf; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 14px; font-size: .97rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .88rem; box-shadow: 0 1px 0 var(--line); }

.climbing { background: var(--olive); color: #f3efe6; }
.climbing .eyebrow { color: #e9c79a; }
.climbing .muted { color: #d3d8c6; }
.climbing a { color: #fff; }
.climb-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 10px; margin-top: 40px; }
.climb-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.climb-grid img:first-child { grid-row: span 2; }
.climb-grid img:last-child { grid-column: span 2; aspect-ratio: 2.2; }
@media (max-width: 640px) { .climb-grid { grid-template-columns: 1fr 1fr; } .climb-grid img:first-child, .climb-grid img:last-child { grid-column: span 2; grid-row: auto; } }

.contact { background: var(--night); color: #f3ece3; text-align: left; }
.contact .lede { color: #d9cfc3; }
.foot { background: var(--night); color: #a99a8b; font-size: .85rem; padding: 0 0 32px; }

@media (max-width: 860px) {
  .hero-grid, .two, .three { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid figure { order: -1; }
  .portrait img { width: 200px; margin: 0; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .top nav a { padding: 6px 8px; font-size: .85rem; }
  .top nav a:first-child { display: none; }
  .mark { font-size: 1.05rem; }
}

/* Maps */
.crag-block { margin-top: 64px; }
.h-lg { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.proj-lede { margin-top: -6px; }
.lmap { height: 520px; border-radius: 16px; overflow: hidden; background: #dfe3d4; z-index: 0; }
.lmap-world { height: 440px; margin-top: 20px; box-shadow: 0 1px 0 var(--line); }
.lmap-wrap { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 0; margin-top: 28px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); }
.lmap-wrap .lmap { border-radius: 0; height: 600px; }
.lmap-panel { height: 600px; overflow-y: auto; padding: 18px 18px 24px; background: #fbf8f2; }
.lmap-full { position: absolute; top: 12px; left: 56px; z-index: 500; border: 0; background: #fff; color: var(--ink); font: 600 .85rem var(--body); padding: 8px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.lmap-wrap.is-full { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; grid-template-columns: 1fr 360px; }
.lmap-wrap.is-full .lmap, .lmap-wrap.is-full .lmap-panel { height: 100vh; height: 100dvh; }
body.lb-on { overflow: hidden; }
.pn-head b { font-family: var(--display); font-size: 1.3rem; }
.pn-layers { display: grid; gap: 8px; margin: 12px 0; font-size: .92rem; }
.pn-layers label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.pn-layers input { accent-color: var(--clay); width: 16px; height: 16px; }
.pn-key { display: flex; gap: 12px; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.pn-key span { display: flex; align-items: center; gap: 5px; }
.sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.pn-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pn-list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.pn-list button:hover, .pn-list button:focus { background: var(--sand-2); }
.pn-list span { flex: 1; font-weight: 600; font-size: .95rem; }
.pn-list small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.pn-list em { font-style: normal; font-size: .75rem; color: var(--clay); }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 2px solid #2a221c; flex: none; }
.dot.developed { background: #e05a2a; }
.dot.scouted { background: #f2c14e; }
.dot.prospect { background: #fff; border-style: dashed; }
.pn-note { font-size: .8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.pn-back { all: unset; cursor: pointer; font-size: .85rem; color: var(--clay-dark); font-weight: 600; margin-bottom: 10px; display: inline-block; }
.pn-crag h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.pn-crag p { font-size: .95rem; line-height: 1.55; }
.st { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.pn-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pn-gal button { all: unset; cursor: zoom-in; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.pn-gal button:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.pn-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.pn-gal button:hover img { transform: scale(1.05); }
.stars { display: flex; gap: 3px; margin-bottom: 10px; }
.star { width: 14px; height: 14px; border-radius: 3px; background: #eadfcd; display: inline-block; }
.star.on { background: #c95a3a; }
.pn-stats { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .9rem; margin: 0; }
.pn-stats dt { color: var(--muted); }
.pn-stats dd { margin: 0; font-weight: 600; }
.city-tip { background: transparent; border: 0; box-shadow: none; font-weight: 700; color: #2a221c; padding: 0; }
.city-tip::before { display: none; }
.leaflet-container { font-family: var(--body); }
.leaflet-container a { text-decoration: none; }
.pp small { color: var(--clay); font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.pp b { display: block; font-family: var(--display); font-size: 1.1rem; margin: 2px 0; }
.pp em { display: block; font-style: normal; color: var(--olive); font-size: .85rem; margin-bottom: 6px; }
.pp p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.pm-legend { background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 8px; font-size: .8rem; display: flex; gap: 12px; }
.pm-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.pm-legend i.hollow { background: #fff; border: 2px solid #2a221c; width: 8px; height: 8px; }
.crag-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.crag-card { all: unset; cursor: pointer; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.crag-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.crag-card:hover img, .crag-card:focus img { transform: scale(1.04); }
.crag-card span { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.crag-card b { display: block; font-family: var(--display); font-size: 1.05rem; }
.crag-card small { font-size: .78rem; color: #e9dcc6; }
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(20,16,12,.94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 6px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lb-x { top: 16px; right: 16px; }
.lb-p { left: 16px; top: 50%; }
.lb-n { right: 16px; top: 50%; }
.lb-c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #d9cfc3; font-size: .9rem; margin: 0; }
@media (max-width: 860px) {
  .lmap-wrap, .lmap-wrap.is-full { grid-template-columns: 1fr; }
  .lmap-wrap .lmap { height: 420px; }
  .lmap-panel { height: auto; max-height: none; }
  .lmap-wrap.is-full { overflow-y: auto; }
  .lmap-wrap.is-full .lmap { height: 70vh; }
  .lmap-wrap.is-full .lmap-panel { height: auto; }
  .lmap-full { left: auto; right: 12px; }
  .crag-cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .lmap-world { height: 360px; }
}
.pm-zoom { display: flex; gap: 4px; }
.pm-zoom button { border: 0; background: #fff; font: 600 .8rem var(--body); padding: 7px 12px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
.world-wrap .lmap, .world-wrap .lmap-panel { height: 480px; }
.pn-item { padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.pn-item b { display: block; font-size: 1rem; }
.pn-item small { display: block; color: var(--olive); font-size: .8rem; margin: 2px 0 4px; }
.pn-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.pn-item.on { background: #f3e6d6; margin: 0 -10px; padding: 12px 10px; border-radius: 8px; }
@media (max-width: 860px) { .world-wrap .lmap { height: 340px; } .world-wrap .lmap-panel { height: auto; } }
.lmap-wrap, .lmap { isolation: isolate; }
.lmap-wrap.is-full { z-index: 1100; }
.pn-album { margin-top: 12px; font-weight: 600; font-size: .9rem; }
.pn-album a { color: var(--clay-dark); }
