.nl-scene{
  --stock:#e5ddc5;--ink:#202d29;--terracotta:#903b24;--bright:#f7edd5;--face:Atelier,"Arial",sans-serif;--mono:Consolas,"Lucida Console",monospace;
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.19fr) minmax(0,.92fr);align-items:center;
  width:100%;height:100%;min-height:0;overflow:hidden;container-type:inline-size;background:#26352f;color:var(--bright);cursor:default;
}
.nl-scene *, .nl-scene *::before, .nl-scene *::after {box-sizing:border-box}
.nl-photoframe,.nl-photoframe img,.nl-cast{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.nl-photoframe{z-index:-3;overflow:hidden;background:#1d302c}
.nl-photoframe img{object-fit:cover;object-position:52% 51%;opacity:0;transition:opacity .48s ease,transform .5s ease;transform:scale(1.045) translateX(var(--nl-pan,0%))}
.nl-photoframe img[data-active]{opacity:1}
.nl-photoframe img[data-image="ridge"]{object-position:50% 42%}
.nl-cast{z-index:-2;background:linear-gradient(90deg,#0c171b18,transparent 52%,#18201b15),linear-gradient(0deg,#071210a6 0%,#10221d10 47%,#111e2015 70%,#0a14163d)}
.nl-hero {position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:clamp(25px,4.4cqw,78px) 0 clamp(35px,6.4cqw,105px) clamp(25px,4.8cqw,84px);min-width:0}
.nl-brand {display:inline-flex;align-items:center;gap:10px;margin:0;color:#fff8e7;font:900 clamp(17px,1.58cqw,25px)/1 var(--face);letter-spacing:-.035em;text-shadow:0 1px 5px #12211e80}
.nl-mark {width:37px;height:23px;display:block;position:relative;flex:none}
.nl-mark::before,.nl-mark::after{content:"";position:absolute;inset:0;background:#faf3de;clip-path:polygon(0 96%,34% 15%,55% 68%,74% 0,100% 96%,91% 96%,73% 22%,55% 91%,34% 39%,10% 96%)}
.nl-mark::after{inset:auto 28% 1px 30%;height:2px;clip-path:none}
.nl-hero h2{margin:0;font:900 clamp(65px,9.25cqw,164px)/.8 var(--face);letter-spacing:-.078em;color:#fff6dd;text-shadow:0 4px 28px #0b171f48}
.nl-hero h2 span{display:block}
.nl-location{margin:0 0 14px;color:#e8e2c7;text-transform:uppercase;letter-spacing:.14em;font:700 10px/1.2 var(--mono);text-shadow:0 1px 4px #101b1b}
.nl-book {min-width:0;position:relative;isolation:isolate;margin:24px clamp(25px,4.4cqw,76px) 24px 0;padding:clamp(24px,2.65cqw,46px);
  color:var(--ink);background:var(--stock) url(stock.webp) repeat;box-shadow:1px 1px 0 #c9bfa5,3px 4px 0 #777864,5px 7px 0 #c3bca0,7px 8px 0 #363b32,8px 10px 0 #5d6250,10px 15px 18px #0e171a87,17px 25px 65px #0d171b94;
  border-radius:2px 6px 3px 1px;transform:rotate(-1.2deg);
}
.nl-book::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,#7c735736 0%,#f9f2dc28 .9%,#7f755e2c 2.1%,transparent 3.5%,transparent 64%,#8b81661a 65%,#fffce215 65.7%,transparent 68%),
 linear-gradient(148deg,#fff9e54a 0%,transparent 42%,#74785d20);border-radius:inherit}
.nl-book::after{content:"";position:absolute;right:8%;top:-13px;width:65px;height:24px;transform:rotate(10deg);pointer-events:none;
 background:repeating-linear-gradient(87deg,#d9c59c24 0 1px,transparent 1px 3px),linear-gradient(165deg,#dacda1db,#c3b38ada);box-shadow:0 1px 1px #473c2024;clip-path:polygon(1% 8%,98% 0,99% 10%,97% 18%,100% 29%,98% 43%,100% 58%,97% 75%,99% 88%,97% 100%,0 96%,2% 85%,0 71%,2% 52%,0 40%,2% 29%,0 18%)}
.nl-routehead {padding-bottom:clamp(12px,1.4cqw,22px);border-bottom:1px solid #56635062}
.nl-note-tag,.nl-chart-title,.nl-profile-foot,.nl-meta,.nl-route-tabs button{font-family:var(--mono)}
.nl-note-tag{color:#5f4936;font-size:10px;letter-spacing:.19em;line-height:1.4;text-transform:uppercase;font-weight:700;margin:0 0 8px}
.nl-book h3{margin:0;font:800 clamp(38px,4.3cqw,70px)/.95 var(--face);letter-spacing:-.07em;color:#27352e}
.nl-meta{display:flex;align-items:center;gap:9px;margin:11px 0 0;font-size:clamp(11px,1cqw,15px);color:#495548}
.nl-meta i{width:3px;height:3px;border-radius:50%;background:#985436}
.nl-plotbox{margin:clamp(14px,2cqw,27px) 0 0}
.nl-chart-head,.nl-profile-foot{display:flex;align-items:center;justify-content:space-between;gap:6px}
.nl-chart-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#374537;font-weight:700}
.nl-chart-amount{font:700 clamp(19px,1.9cqw,30px)/1 var(--face);color:#893d29;letter-spacing:-.04em}
.nl-chart-amount small{font:400 .55em/1 var(--mono);color:#625d4b;letter-spacing:0}
.nl-chart{position:relative;height:clamp(55px,6.8cqw,102px);margin:8px 0 4px}
.nl-chart canvas{display:block;width:100%;height:100%}
.nl-chart input{position:absolute;display:block;z-index:1;inset:0;width:100%;height:100%;margin:0;cursor:ew-resize;touch-action:pan-y;opacity:0}
.nl-chart:focus-within{outline:2px solid #8d3b22;outline-offset:4px;border-radius:3px}
.nl-profile-foot{font-size:10px;color:#595b49}
.nl-route-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:clamp(16px,2.2cqw,30px) 0 0}
.nl-route-tabs button{appearance:none;position:relative;min-height:50px;padding:7px 4px;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;
 border:1px solid #6f75637a;border-bottom-width:3px;border-radius:2px 3px 1px 1px;background:linear-gradient(150deg,#f4ecd4,#e3d9bd);color:#334539;
 font:700 clamp(11px,1.06cqw,15px)/1.14 var(--face);cursor:pointer}
.nl-route-tabs button::before{content:"";display:block;width:15px;height:2px;opacity:.75;background:#8e8c77}
.nl-route-tabs button[aria-pressed="true"]{background:linear-gradient(150deg,#344c40,#273c32);border-color:#293d31;color:#fff3d4;box-shadow:inset 0 1px #b4c4a84d}
.nl-route-tabs button[aria-pressed="true"]::before{background:#f6b46d;opacity:1}
.nl-route-tabs button:focus-visible{outline:2px solid #923e23;outline-offset:3px}
@media (hover:hover) and (pointer:fine){.nl-scene,.nl-scene button,.nl-chart input{cursor:url(needle.svg) 15 15,crosshair}.nl-route-tabs button:hover{border-color:#944f34}}
@container(max-width:800px){
 .nl-hero{padding-left:4cqw}.nl-book{margin-right:4cqw;padding:22px 19px}.nl-route-tabs button{font-size:12px}
}
@container(max-width:600px){
 .nl-scene .nl-hero{grid-column:1/-1;grid-row:1;align-self:stretch;min-height:0;position:relative;padding:18px 6% 18px}
 .nl-scene .nl-hero h2{font-size:clamp(40px,12.9cqw,70px);line-height:.83}.nl-hero h2 span{display:inline}.nl-hero h2 span+span::before{content:" "}
 .nl-brand{font-size:16px;gap:7px}.nl-mark{width:27px;height:18px}.nl-location{font-size:9px;margin-bottom:5px;letter-spacing:.095em}
 .nl-scene .nl-book{grid-column:1/-1;grid-row:2;align-self:end;min-width:0;margin:0 4% 13px;padding:15px 15px 12px;transform:rotate(-.7deg)}
 .nl-book::after{width:43px;height:15px;top:-7px}.nl-note-tag{margin:0 0 4px;font-size:8px;letter-spacing:.15em}
 .nl-book h3{font-size:clamp(29px,7.7cqw,40px)}.nl-meta{margin:5px 0 0;font-size:10px;gap:6px}.nl-routehead{padding-bottom:8px}
 .nl-plotbox{margin:8px 0 0}.nl-chart-title{font-size:9px}.nl-chart-amount{font-size:18px}.nl-chart{height:48px;margin:3px 0}.nl-profile-foot{font-size:9px}
 .nl-route-tabs{margin-top:10px;gap:5px}.nl-route-tabs button{min-height:44px;gap:3px;font-size:12px}
 .nl-photoframe{height:70%}.nl-photoframe img{object-position:57% 48%}
 .nl-cast{background:linear-gradient(0deg,#14221e 0%,#172621e8 24%,transparent 71%),linear-gradient(90deg,#06141537,transparent 63%)}
}
@media(max-width:680px){.nl-scene{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}}
@media (min-height:710px){ @container(max-width:600px){
 .nl-scene .nl-hero{padding:24px 6% 28px}.nl-scene .nl-hero h2{font-size:clamp(65px,18cqw,94px)}.nl-hero h2 span{display:block}.nl-hero h2 span+span::before{content:none}
 .nl-scene .nl-book{margin-bottom:22px;padding:22px 6% 17px}.nl-routehead{padding-bottom:11px}.nl-book h3{font-size:clamp(36px,10cqw,50px)}.nl-note-tag{font-size:10px}
 .nl-meta{font-size:12px;margin-top:8px}.nl-plotbox{margin-top:12px}.nl-chart{height:67px;margin:5px 0}.nl-route-tabs{margin-top:15px}.nl-route-tabs button{font-size:13px}
 .nl-location{font-size:10px;margin-bottom:10px}
}}
@media(prefers-reduced-motion:reduce){.nl-scene *, .nl-scene *::before,.nl-scene *::after{transition:none!important;animation:none!important}.nl-photoframe img{transform:none}}
.nl-slip {position:absolute;right:6%;bottom:calc(100% - 12px);display:block;width:37%;height:clamp(58px,8cqw,104px);object-fit:cover;
  border:4px solid #e7ddc4;border-bottom-width:10px;border-radius:1px;background:#e7ddc4;transform:rotate(7deg);transform-origin:48% 90%;
  box-shadow:2px 3px 5px #101b1d80;pointer-events:none}
@container(max-width:600px){.nl-slip{width:24%;right:7%;height:46px;border-width:3px;border-bottom-width:6px;bottom:calc(100% - 7px)}}
@media(min-height:710px){@container(max-width:600px){.nl-slip{height:66px;width:31%}}}
@media (max-height:709px) { @container (max-width:380px){
 .nl-slip{width:19%;height:34px;right:5%}
 .nl-scene .nl-hero h2{font-size:clamp(36px,12.3cqw,46px)}
}}
.nl-slip{overflow:hidden}
.nl-slip img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.nl-slip::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 16%,#fff8e301 33%,#fff8dd54 47%,#fff9e522 50%,transparent 62%) var(--nl-glint,45%) 50%/220% 100% no-repeat}
@media(prefers-reduced-motion:reduce){.nl-slip::after{background-position:45% 50%}}

.nl-atlas{position:absolute;width:clamp(125px,16cqw,246px);left:9%;top:24%;pointer-events:none;transform:rotate(-3deg);padding:5px;background:#ddd9b9 url(stock.webp);color:#334a3e;border:1px solid #b0af8b;box-shadow:1px 2px #b2ae90,3px 5px 6px #0c1b1c63}
.nl-atlas svg{display:block;width:100%;height:auto;aspect-ratio:1.8;background:#c9d0ad;border:1px solid #8e9a79}
.nl-atlas::after{content:"";position:absolute;inset:2px;pointer-events:none;background:linear-gradient(92deg,transparent 46%,#5e695b23 49.5%,#f8efcb73 50%,transparent 54%)}
.nl-atlas>div{display:flex;justify-content:space-between;align-items:center;margin:4px 2px 0;font:700 8px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase}
.nl-atlas>div b{font-weight:400}.nl-contours,.nl-grid{fill:none;stroke:#697c60;stroke-width:.95;opacity:.6}.nl-contours path:nth-child(3n){stroke-width:1.55}.nl-grid{stroke-width:.65;opacity:.6;stroke-dasharray:2 2}
.nl-traverse-under,.nl-traverse,.nl-travelled{fill:none;stroke-linejoin:round;stroke-linecap:round}.nl-traverse-under{stroke:#eef0ce;stroke-width:5}.nl-traverse{stroke:#5c6049;stroke-width:2;stroke-dasharray:3 3}.nl-travelled{stroke:#ac4127;stroke-width:2.8}
.nl-pin circle:first-child{stroke:#fff4d7;stroke-width:1.7;fill:#8c341e}.nl-pin circle:last-child{fill:#f9e8b8}.nl-north{fill:#344b3d}
@container(max-width:600px){.nl-atlas{width:clamp(92px,30cqw,135px);top:26%;left:auto;right:6%;padding:3px}.nl-atlas>div{font-size:7px;margin:3px 1px 0}}
@media(max-height:709px){@container(max-width:600px){.nl-atlas{width:81px;right:5%;top:9%;transform:rotate(2deg)}.nl-atlas>div{font-size:6px}.nl-slip{display:none}}}
/* Three locally drawn topographic sketches; terrain swaps with the real route state. */
.nl-atlas svg{background:#9aaead;overflow:hidden}
.nl-land{fill:#d8d8b1;stroke:#54695d;stroke-width:1.3}
.nl-atlas[data-land=ridge] .nl-land{fill:#c6bc9e}
.nl-contours path{stroke:#647452;stroke-width:1.4;opacity:1;stroke-linejoin:round}
.nl-grid{stroke:#627678;opacity:.51}
.nl-atlas::after{background:linear-gradient(93deg,transparent 47%,#43574826 49.9%,#fff0d071 50%,transparent 52%)}
