@font-face { font-family: "Hepta Slab"; src: url(vendor/fonts/hepta-slab-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(vendor/fonts/dm-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(vendor/fonts/dm-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #EDE6D6;
  --ink: #2F3B2F;
  --orange: #C2622D;
  --loch: #7E9C8A;
  --rock: #9AA3A8;
  --card: #F7F2E7;
  --slab: "Hepta Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 400 18px/1.45 var(--slab); -webkit-font-smoothing: antialiased; font-variant-ligatures: no-common-ligatures; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, fieldset { margin: 0; padding: 0; border: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* The fixed scene. Without script the notes simply read down the page. */
.map, .grain, .hero, .legend, .furniture, .card, .cursor, .sheet, .off { display: none; }
.world { padding: 24px; display: grid; gap: 48px; max-width: 760px; }
html.js:not(.ready) #cam, html.js:not(.ready) .hero, html.js:not(.ready) .card, html.js:not(.ready) .bar, html.js:not(.ready) .legend, html.js:not(.ready) .furniture { visibility: hidden; }
.js .stage { position: fixed; inset: 0; overflow: hidden; background: var(--paper); }
.js .map { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .world { position: absolute; left: 0; top: 0; padding: 0; display: block; max-width: none; width: 0; height: 0; transform-origin: 0 0; }
.js .world.moving { will-change: transform; }
.js .grain { display: block; position: absolute; inset: 0; pointer-events: none; }
.js .track { height: 900vh; }
.js .legend, .js .furniture, .js .hero { display: block; }
.js .card { display: flex; }
.js .sheet { display: block; }
.js .cursor { display: block; }
.js .off { display: grid; }

/* Ink on the sheet. */
.contours { fill: none; stroke: var(--ink); stroke-linejoin: round; }
#c0 { stroke: #5b5a43; }
#c1 { stroke: #8a7f5e; }
#c2 { stroke: #a79b78; }
#drawn { stroke: #6d6a4e; }
#grid line { stroke: var(--ink); stroke-opacity: .2; }
#folds line { stroke: var(--ink); stroke-opacity: .07; }
#folds .lit-edge { stroke: #fffdf6; stroke-opacity: .5; }
.loch { fill: var(--loch); fill-opacity: .72; stroke: var(--ink); stroke-opacity: .55; stroke-width: 2.4; }
.burn { fill: none; stroke: var(--loch); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.sym { fill: none; }
.sym--crag { stroke: #7f878b; stroke-width: 2.4; stroke-linecap: round; }
.sym--tree { fill: var(--loch); fill-opacity: .9; stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.2; }
.sym--marsh { stroke: var(--loch); stroke-width: 2.4; stroke-linecap: round; }
.road { fill: none; stroke: var(--ink); stroke-width: 15; stroke-linecap: round; }
.road--in { stroke: var(--card); stroke-width: 10; }
.bothy { fill: var(--ink); }
.trig { fill: none; stroke: var(--ink); stroke-width: 3; }
.trig-dot, .spot { fill: var(--ink); }
.spot-text { font: 400 20px var(--mono); fill: var(--ink); }
.caption { font: 400 22px var(--slab); fill: var(--ink); fill-opacity: .82; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.place { font: 600 44px var(--slab); letter-spacing: .26em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 12px; stroke-linejoin: round; }

.trail { fill: none; stroke: var(--orange); stroke-dasharray: 30 20; stroke-linecap: butt; }
.trail-halo { fill: none; stroke: var(--paper); stroke-opacity: .7; }
.wp__ring { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.wp__dot { fill: var(--orange); }
.mine { fill: none; stroke: var(--orange); stroke-linecap: round; }
.wp.is-on .wp__ring { fill: var(--orange); stroke: var(--orange); }
.wp.is-on .wp__dot { fill: var(--paper); }
.walker { fill: var(--orange); stroke: var(--paper); stroke-width: 4; }

.opened .pack { transition: opacity .3s; }
.pack__foot { fill: var(--ink); fill-opacity: .2; transition: fill .3s, fill-opacity .3s; }
.pack__label { font: 500 25px var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 7px; transition: fill .3s; }
.pack.lit-model .pack__foot { fill: var(--orange); fill-opacity: .6; }
.pack.lit-model .pack__label { fill: var(--orange); }
[data-lit] .pack:not(.lit-model) { opacity: .5; }

.stone { fill: var(--rock); stroke: var(--ink); stroke-width: 3; }
.stone--2 { fill: #b6bcbc; }

/* Notes printed on the map. */
.note { position: relative; }
.js .note { position: absolute; width: 640px; padding: 22px 28px 26px; background: var(--paper); box-shadow: 0 0 26px 16px var(--paper); }
.js .note.waiting > * { opacity: 0; }
.note__ref { font: 400 16px var(--mono); margin-bottom: 8px; }
.note__ref span { color: var(--orange); margin-right: 10px; font-weight: 500; }
.note h2 { font: 700 54px/1.02 var(--slab); letter-spacing: -.02em; margin-bottom: 22px; }
.js .note--col, .js .note--road { width: 700px; }
.note .fact { width: fit-content; max-width: 100%; }
.note p.fact { font-size: 21px; line-height: 1.38; margin-bottom: 10px; }
.note p.fact--big { font: 700 34px/1.15 var(--slab); letter-spacing: -.01em; margin: 14px 0 16px; }

.fact, .fact td, .fact th, .fact dd, .fact dt { transition: color .25s; }
.lit, .lit td, .lit th, .lit dd, .lit dt { color: var(--orange); }
.lit { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2.5px no-repeat; animation: inkline .6s .05s cubic-bezier(.2, .7, .2, 1) forwards; }
tr.lit { background: none; animation: none; }
tr.lit th { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2.5px no-repeat; animation: inkline .6s .05s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes inkline { to { background-size: 100% 2.5px; } }

.models { border-collapse: collapse; width: 100%; margin-bottom: 24px; font-size: 19px; }
.models th { font: 700 25px/1.1 var(--slab); text-align: left; white-space: nowrap; padding: 6px 12px 6px 0; }
.models td { font: 400 16px/1.3 var(--mono); padding: 6px 12px 6px 0; }
.models td:nth-of-type(1) { white-space: nowrap; }
.models tr + tr th, .models tr + tr td { border-top: 1px solid rgb(47 59 47 / .28); }
.models .price { font: 700 25px var(--slab); text-align: right; padding-right: 0; }
.thumb { display: inline-block; width: 62px; height: 70px; object-fit: contain; object-position: 50% 100%; vertical-align: middle; margin-right: 10px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lit-model .thumb, .thumb.lit-model { transform: translateY(-4px) scale(1.12); }

.sizes dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 12px 0 18px; }
.sizes dt { font: 700 52px/1 var(--slab); }
.sizes dd { font: 400 15px/1.35 var(--mono); margin-top: 4px; }
.note--col p.fact { font-size: 20px; }

.inside { display: grid; grid-template-columns: 76px 1fr; gap: 12px; margin-bottom: 14px; }
.inside .thumb { width: 76px; height: 86px; margin: 0; }
.inside h3 { font: 700 25px/1.15 var(--slab); margin-bottom: 2px; }
.note--bothy p.fact { font-size: 19px; margin-bottom: 2px; }
.note--bothy > p.fact { margin-top: 6px; font-weight: 500; }

.roads div { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; padding: 10px 0; border-top: 1px solid rgb(47 59 47 / .28); width: 100% !important; }
.roads dt { font-size: 21px; }
.roads dd { font: 400 17px var(--mono); white-space: nowrap; }
.roads + .fact { margin-top: 12px; }
.note--road p.fact { font: 700 28px/1.2 var(--slab); }

.off { position: absolute; width: 420px; height: 240px; place-items: center; font: 400 18px var(--mono); letter-spacing: .08em; }

/* Buttons are filled blocks, squared like a map legend. */
.btn { display: inline-block; font: 600 17px/1 var(--slab); background: var(--ink); color: var(--card); padding: 14px 20px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--orange); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #cfc9b8; color: #706f5d; cursor: not-allowed; }
.btn--full { display: block; width: 100%; text-align: center; }
.link { font: 400 15px var(--slab); text-decoration: underline; text-underline-offset: 3px; margin-top: 12px; }
.link:hover { color: var(--orange); }

/* Top bar. */
.bar { position: fixed; z-index: 6; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); pointer-events: none; }
.bar > * { pointer-events: auto; }
.wordmark { font: 800 22px var(--slab); letter-spacing: -.01em; text-decoration: none; }
.bar__tools { display: flex; align-items: center; gap: 20px; }
.switch { display: flex; font: 500 14px var(--mono); }
.switch button { padding: 6px 9px; transition: background .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.switch button:not([aria-pressed="true"]):hover { color: var(--orange); }
.sound { font: 400 14px var(--slab); padding: 6px 0; }
.sound:hover { color: var(--orange); }

/* Opening headline, printed on the map. */
.hero { position: fixed; z-index: 3; left: 0; top: 0; width: 100%; padding: 92px var(--gutter) 0; transform-origin: 0 0; pointer-events: none; opacity: var(--o, 1); }
.hero__eyebrow { font: 500 15px var(--mono); letter-spacing: .1em; margin-bottom: 14px; }
.hero__head { font: 800 clamp(40px, 6.9vw, 118px)/.98 var(--slab); letter-spacing: -.035em; }
.hero__head span { display: block; white-space: nowrap; }
.hero__walk { pointer-events: auto; margin-top: 22px; font: 500 16px var(--slab); padding: 4px 0 6px; border-bottom: 2px solid var(--orange); }
.hero__walk:hover { color: var(--orange); }
.past-hero .hero__walk { pointer-events: none; }

/* Legend of waypoints. */
.legend { position: fixed; z-index: 4; left: 196px; bottom: 16px; transition: opacity .3s; }
.legend ol { display: flex; gap: 18px; align-items: flex-end; }
.legend button { display: grid; text-align: left; padding: 3px 0 3px 15px; position: relative; }
.legend button span { font: 500 16px/1.2 var(--slab); text-shadow: 0 0 4px var(--paper), 0 0 4px var(--paper), 0 0 8px var(--paper); }
.legend button i { font: 400 13px/1.3 var(--mono); font-style: normal; height: 0; overflow: hidden; opacity: 0; transition: height .25s, opacity .25s; }
.legend button::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 50%; }
.legend button.on::before { background: var(--orange); border-color: var(--orange); }
.legend button.on i { height: 17px; opacity: 1; }
.legend button.on span { font-weight: 700; }
.legend button:hover span { color: var(--orange); }
html.opening .legend, html.opening .furniture { transition: none; }
.at-close .legend, .at-close .furniture { opacity: 0; pointer-events: none; }

.furniture { position: fixed; z-index: 4; left: var(--gutter); bottom: 14px; display: none; pointer-events: none; transition: opacity .3s; }
.js .furniture { display: flex; align-items: flex-end; gap: 16px; }
.north { width: 20px; height: 32px; color: var(--ink); }
.north text { font: 500 10px var(--mono); fill: var(--ink); }
.scale { font: 400 13px var(--mono); display: grid; gap: 3px; }
.scale i { display: block; height: 6px; width: 90px; background: var(--ink); }

/* The assistant, a map legend box. */
.card { position: fixed; z-index: 7; right: var(--gutter); bottom: var(--gutter); width: 368px; max-height: calc(100vh - 92px); background: var(--card); box-shadow: 0 0 0 1px var(--ink), inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--ink); display: flex; flex-direction: column; }
.card__head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 20px 8px; text-align: left; }
@media (min-width: 1180px) {
  html:not(.past-hero) .card { max-height: max(300px, var(--hero-room, 100vh)); }
}
.compass { width: 22px; height: 22px; flex: none; }
.compass circle { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.compass__needle { fill: var(--orange); transform-origin: 12px 12px; transform: rotate(24deg); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.card__head:hover .compass__needle { transform: rotate(-12deg); }
.card__label { font: 600 18px var(--slab); font-variant-caps: small-caps; letter-spacing: .05em; }
.card__open { display: none; margin-left: auto; font: 500 15px var(--slab); text-decoration: underline; text-underline-offset: 3px; }
.card.is-shut .card__open { display: block; }
.card__body { overflow: auto; min-height: 0; padding: 4px 20px 20px; overscroll-behavior: contain; scroll-behavior: smooth; }
.card.is-shut .card__body { display: none; }
.card.is-shut .card__head { padding-bottom: 16px; }
.card__line { font: 500 17px/1.35 var(--slab); margin-bottom: 12px; }
.chips { display: grid; gap: 6px; margin-bottom: 14px; }
.chip { display: block; width: 100%; text-align: left; font: 400 15px/1.3 var(--slab); padding: 9px 12px 9px 12px; box-shadow: inset 0 0 0 1px rgb(47 59 47 / .5); transition: background .18s, color .18s, box-shadow .18s; }
.chip:hover { background: var(--ink); color: var(--card); }
.chip.is-asked { box-shadow: inset 3px 0 0 var(--orange), inset 0 0 0 1px rgb(47 59 47 / .5); }

.card__sub { font: 400 13px var(--mono); letter-spacing: .02em; margin: 16px 0 6px; }
.chips--inline { display: flex; flex-wrap: wrap; margin-bottom: 0; }
.chips .chip { padding: 8px 10px; font-size: 14.5px; }
.chips--inline .chip { width: auto; padding: 7px 10px; }

/* The trip: answers so far, what the assistant says, the next question. */
.trip-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid rgb(47 59 47 / .35); }
.trip-sum span { font: 400 13px var(--mono); margin-right: 3px; }
.was { font: 500 13px/1 var(--slab); padding: 6px 8px; background: rgb(47 59 47 / .09); transition: background .18s, color .18s; }
.was:hover { background: var(--ink); color: var(--card); }
.tq__q { font: 700 18px/1.3 var(--slab); margin: 4px 0 10px; }
.opts .opt { flex: 1 1 auto; }
.opt:disabled { cursor: default; }
.opt:disabled:not([aria-pressed="true"]) { opacity: .45; }
.opt--wide { display: block; width: 100%; margin-top: 8px; }
.out { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: end; padding-top: 4px; margin-bottom: 10px; }
.out__img { width: 72px; height: 82px; object-fit: contain; object-position: bottom; }
.out__k { font: 400 13px var(--mono); }
.out h3 { font: 800 26px/1.08 var(--slab); margin: 2px 0; }
.out__price { font: 700 20px var(--slab); }
.why { list-style: none; margin-bottom: 10px; }
.why li { font: 500 15.5px/1.35 var(--slab); padding: 6px 0 6px 18px; position: relative; border-top: 1px solid rgb(47 59 47 / .2); }
.why li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.other { font: 400 15px/1.35 var(--slab); padding: 8px 10px; margin-bottom: 12px; box-shadow: inset 2px 0 0 var(--rock); }

.asked { font: 400 15px/1.3 var(--slab); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid rgb(47 59 47 / .35); }
.answer { min-height: 40px; }
.sent { font: 500 17px/1.38 var(--slab); margin-bottom: 10px; opacity: 0; transform: translateY(6px); transition: opacity .32s, transform .32s; }
.sent.is-in { opacity: 1; transform: none; }
.sent--price b { font-weight: 800; }
.tag { display: inline-block; font: 400 12.5px/1.3 var(--mono); color: var(--orange); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.tag:hover { color: var(--ink); }

.group { margin-bottom: 12px; }
.group legend { font: 500 14px var(--slab); margin-bottom: 5px; }
.row { display: flex; gap: 6px; }
.row--wrap { flex-wrap: wrap; }
.opt { flex: 1; font: 500 15px/1.2 var(--slab); padding: 9px 8px; box-shadow: inset 0 0 0 1px rgb(47 59 47 / .5); white-space: nowrap; transition: background .18s, color .18s; }
.opt small { display: block; font: 400 13px var(--mono); margin-top: 2px; }
.opt:hover { background: rgb(47 59 47 / .1); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.preview { display: block; height: 128px; margin: 0 auto 6px; }

.confirm h3 { font: 800 28px/1.1 var(--slab); margin: 8px 0 6px; }
.confirm p { font-size: 17px; margin-bottom: 10px; }
.confirm .quiet { font-size: 13px; line-height: 1.4; margin-top: 14px; opacity: .78; }
.confirm__mark { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 1.5; }

/* The close: the whole walk, then the name. */
.sheet { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 20px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.at-close .sheet { opacity: 1; visibility: visible; }
.at-close .sheet a, .at-close .sheet button { pointer-events: auto; }
.sheet__name { font: 800 clamp(64px, 12.4vw, 220px)/.86 var(--slab); letter-spacing: -.045em; white-space: nowrap; }
.sheet__row { display: flex; align-items: center; gap: 24px; margin-top: 16px; font-size: 16px; max-width: calc(100% - 392px); }
.credit { margin-left: auto; font-size: 14px; }
.credit a:hover { color: var(--orange); }

/* Cursor. */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor { position: fixed; z-index: 20; left: 0; top: 0; pointer-events: none; width: 0; height: 0; }
.cursor svg { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; }
.cursor__cross path { fill: none; stroke: var(--ink); stroke-width: 1; }
.cursor__needle { opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity .15s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cursor__needle .n { fill: var(--orange); }
.cursor__needle .s { fill: var(--ink); }
.cursor__ref { position: absolute; left: 16px; top: 14px; font: 400 13px var(--mono); white-space: nowrap; background: var(--paper); padding: 1px 5px; }
.cursor.is-needle .cursor__needle { opacity: 1; transform: none; }
.cursor.is-needle .cursor__cross, .cursor.is-needle .cursor__ref, .cursor.is-off-map .cursor__ref { opacity: 0; }
.cursor.is-gone { opacity: 0; }
html:not(.has-cursor) .cursor { display: none; }

/* Narrow laptops and tablets: the legend keeps only where you are. */
@media (max-width: 1240px) {
  .legend li:not(:has(.on)) { display: none; }
}
@media (max-width: 1179px) {
  .bar { background: var(--paper); padding-top: 12px; padding-bottom: 12px; }
}

/* Phone. */
@media (max-width: 759px) {
  :root { --gutter: 16px; }
  .js .note { width: 380px; padding: 16px 16px 20px; box-shadow: 0 0 22px 18px var(--paper); }
  .note h2 { font-size: 38px; margin-bottom: 14px; }
  .note__ref { font-size: 14px; }
  .note p.fact { font-size: 18px; }
  .note p.fact--big { font-size: 27px; }
  .models { font-size: 15px; }
  .models th { font-size: 20px; padding-right: 8px; }
  .models td { font-size: 13px; padding-right: 8px; }
  .models .price { font-size: 20px; }
  .thumb { width: 36px; height: 41px; margin-right: 6px; }
  .inside { grid-template-columns: 52px 1fr; gap: 10px; margin-bottom: 12px; }
  .inside .thumb { width: 52px; height: 59px; }
  .inside h3 { font-size: 20px; }
  .note--bothy p.fact { font-size: 16px; }
  .note--col p.fact { font-size: 17px; }
  .sizes dt { font-size: 38px; }
  .sizes dd { font-size: 13px; }
  .roads dt { font-size: 17px; }
  .roads dd { font-size: 14px; }
  .note--road p.fact { font-size: 22px; }
  .wordmark { font-size: 19px; }
  .bar { padding: 10px var(--gutter); background: var(--paper); }
  .bar__tools { gap: 10px; }
  .switch { font-size: 13px; }
  .switch button { padding: 5px 6px; }
  .sound { font-size: 13px; }
  .hero { padding-top: 76px; }
  .hero__eyebrow { font-size: 13px; letter-spacing: .06em; }
  .hero__head { font-size: clamp(28px, 9.3vw, 46px); }
  .hero__head span { white-space: normal; }
  .legend { display: none !important; }
  .furniture { display: none !important; }
  .card { left: 0; right: 0; bottom: 0; width: auto; max-height: 56vh; box-shadow: 0 -1px 0 var(--ink), inset 0 4px 0 var(--card), inset 0 5px 0 var(--ink); }
  .chip { padding: 10px 12px; }
  .sheet__row { max-width: none; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 64px; }
  .sheet__name { font-size: 12.8vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: .01s !important; }
}
