/* The Walk North — stage 1. One illustration system; the world is the theme (light only). */
:root {
  --paper: #EFE9DD;
  --paper-hi: #F7F3EA;
  --ink: #26231F;
  --contour: #B99A6B;
  --sand: #D9C7A5;
  --scrub: #8FA37A;
  --pine: #3E5F4F;
  --granite: #C9CBCF;
  --water: #7FA7B8;
  --terra: #B5542D;
  --sun: #F2C063;
  --night: #1E2740;
  --star: #F5EFD6;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --cl: #F8DCCB;
  --cs: #E2B4AE;
  --hk-line: rgba(44,34,26,.5);
  --shadow: 0 8px 28px rgba(38,35,31,.13), 0 1px 3px rgba(38,35,31,.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--sand);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  overflow-x: clip;
}
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- stage ---------- */
.scroller { position: relative; height: 1200vh; height: calc(100lvh + 1094svh); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  background: #F6CDA0;
  contain: strict;
}
.sky { position: absolute; inset: 0; background: linear-gradient(#A9BFD6, #E6B8B4 45%, #F6CDA0 74%); }

.sun { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.sun-dawn, .sun-noon {
  position: absolute; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%;
}
.sun-dawn {
  background: radial-gradient(circle closest-side,
    rgba(253,231,192,.98) 0, rgba(250,214,160,.92) 6%, rgba(246,190,134,.55) 9.5%, rgba(244,178,124,.28) 15%,
    rgba(244,180,130,.14) 32%, rgba(246,196,152,.06) 58%, rgba(246,196,152,0) 100%);
}
.sun-noon {
  opacity: 0;
  background: radial-gradient(circle closest-side,
    rgba(255,252,242,.98) 0, rgba(255,246,222,.9) 5.5%, rgba(252,236,196,.5) 9%, rgba(255,246,226,.26) 15%,
    rgba(255,248,232,.12) 32%, rgba(255,250,238,.05) 58%, rgba(255,250,238,0) 100%);
}

.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; left: 0; top: 0; will-change: transform; }
.cloud svg { display: block; width: 100%; height: auto; overflow: visible; }
.cl-lit { fill: var(--cl); }
.cl-shade { fill: var(--cs); }
.drift { animation: drift 46s ease-in-out infinite alternate; }
.drift.d2 { animation-duration: 61s; animation-delay: -20s; }
.drift.d3 { animation-duration: 74s; animation-delay: -41s; }
@keyframes drift { from { transform: translateX(-34px); } to { transform: translateX(34px); } }

.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity; }
.stars circle { fill: var(--star); }
.moon {
  position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%;
  opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle closest-side, #FBF7E6 0, #F5EFD6 14%, #E6DEC2 15.6%, rgba(245,239,214,.28) 18%,
    rgba(245,239,214,.09) 42%, rgba(245,239,214,0) 100%);
}
.veil { position: absolute; inset: 0; background: #141B33; opacity: 0; pointer-events: none; will-change: opacity; }
.world { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.fore { pointer-events: none; visibility: hidden; }

/* ---------- hiker ---------- */
.hiker { position: absolute; left: 0; top: 0; overflow: visible; will-change: transform; pointer-events: none; }
.hiker [data-f] { display: none; }
.hiker[data-frame="0"] [data-f="0"], .hiker[data-frame="1"] [data-f="1"], .hiker[data-frame="2"] [data-f="2"],
.hiker[data-frame="3"] [data-f="3"], .hiker[data-frame="4"] [data-f="4"], .hiker[data-frame="5"] [data-f="5"],
.hiker[data-frame="6"] [data-f="6"], .hiker[data-frame="7"] [data-f="7"], .hiker[data-frame="8"] [data-f="8"],
.hiker[data-frame="9"] [data-f="9"] { display: inline; }
.hiker path, .hiker rect, .hiker circle, .hiker ellipse { stroke-linejoin: round; stroke-linecap: round; }
.hk-ink { fill: none; stroke: var(--ink); }
.hk-c { fill: none; }
.hk-pack { fill: #A85F42; stroke: var(--hk-line); stroke-width: .7; }
.hk-pack-shade { fill: #8A4B33; }
.hk-ink-line { fill: none; stroke: var(--hk-line); stroke-width: .6; }
.hk-lid { fill: #B26B4C; stroke: var(--hk-line); stroke-width: .7; }
.hk-pocket { fill: #93563C; stroke: var(--hk-line); stroke-width: .7; }
.hk-eye { fill: #3A2E26; display: none; }
.hk-smile { display: none; }
.hk-pad { fill: #4C5E52; stroke: var(--hk-line); stroke-width: .7; }
.hk-shirt { fill: #7F9186; stroke: var(--hk-line); stroke-width: .7; }
.hk-shirt-shade { fill: #6A7C72; }
.hk-skin-shade { fill: #A97B5C; }
.hk-shorts { fill: #5F574A; stroke: var(--hk-line); stroke-width: .7; }
.hk-strap { fill: none; stroke: #3F4A42; stroke-width: 1.4; }
.hk-skin { fill: #C9946F; stroke: var(--hk-line); stroke-width: .7; }
.hk-hat { fill: #CDBB98; stroke: var(--hk-line); stroke-width: .7; }
.hk-hatband { fill: none; stroke: #6E5A43; stroke-width: 1.1; }
.hk-shoe { fill: #45574C; stroke: var(--hk-line); stroke-width: .7; }
.hk-sole { fill: none; stroke: #C8BFAE; stroke-width: .9; }
.hk-back .hk-shoe { fill: #39483F; }

#hkHead, #hkBody { transform-box: view-box; }
.hiker #hkHit { pointer-events: all; cursor: pointer; }
.hiker-back { will-change: transform, opacity; }
.hiker-back .hkb-hit { pointer-events: all; cursor: pointer; }
.hiker-back .glance { display: none; }
.hiker-back.glancing .glance { display: inline; }
.hk-eye.near { transform-box: fill-box; transform-origin: center; transition: transform .08s; }
.hiker.winking .hk-eye.near { display: inline; transform: scaleY(.18); }
#hkHead { transform-origin: 4px -68px; }
#hkBody { transform-origin: 0 0; }
.hiker.idle #hkBody { animation: shift 6.5s ease-in-out infinite; }
.hiker.idle #hkHead { animation: look 6.5s ease-in-out infinite; }
@keyframes shift {
  0%, 30%, 100% { transform: translateX(0) rotate(0); }
  42%, 62% { transform: translateX(1.2px) rotate(.8deg); }
  74% { transform: translateX(-.4px) rotate(-.3deg); }
}
@keyframes look {
  0%, 46%, 100% { transform: rotate(0); }
  54%, 80% { transform: rotate(-9deg); }
}

/* ---------- hero ---------- */
.hero {
  position: absolute; left: clamp(16px, 6vw, 96px); top: clamp(88px, 15vh, 160px);
  max-width: min(560px, calc(100vw - 32px));
  will-change: opacity;
}
.hero h1 {
  font: 700 clamp(46px, 8vw, 92px)/1 var(--serif);
  letter-spacing: -.01em; margin: 0 0 16px;
}
.hero .lead { font-size: clamp(17px, 2.1vw, 21px); line-height: 1.45; margin: 0 0 18px; max-width: 28em; }
.hero .hint {
  font: 700 13px/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 18px; opacity: .8;
}

/* ---------- chrome ---------- */
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 20; pointer-events: none; }
.bar {
  position: relative; height: 30px; padding: 4px 16px;
  background: rgba(239,233,221,.86);
  border-bottom: 1px solid rgba(38,35,31,.16);
}
.bar-svg { display: block; width: 100%; height: 22px; overflow: visible; }
.bar-base { fill: none; stroke: rgba(38,35,31,.38); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bar-fill { fill: none; stroke: var(--terra); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bar-dot {
  position: absolute; left: 0; top: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--terra); border: 1px solid rgba(38,35,31,.5);
  will-change: transform;
}
.chrome-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  padding: 8px 16px 0;
}
.chrome-right { display: flex; align-items: center; gap: 8px; }
.chip {
  pointer-events: auto;
  font: 600 12.5px/1 var(--sans); letter-spacing: .01em; color: var(--ink); text-decoration: none;
  padding: 7px 11px; min-height: 30px; display: inline-flex; align-items: center;
  background: rgba(247,243,234,.8); border: 1px solid rgba(38,35,31,.32); border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
a.chip:hover { background: var(--ink); color: var(--paper); }
button.chip { cursor: pointer; }
button.chip:disabled { cursor: not-allowed; opacity: .5; border-style: dashed; }
.readout {
  margin: 0; padding: 7px 11px; min-height: 30px;
  font: 700 12px/1.25 var(--serif); letter-spacing: .14em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  background: rgba(247,243,234,.82); border-radius: 4px;
}

/* ---------- card ---------- */
.card {
  position: fixed; z-index: 30; left: 24px; bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  padding: 28px 30px 28px;
  background: var(--paper-hi); color: var(--ink);
  border: 1px solid rgba(38,35,31,.18); border-radius: 10px;
  box-shadow: var(--shadow);
  transform: translateY(calc(100% + 40px)); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s linear .55s;
}
.card { max-height: calc(100vh - 110px); overflow: auto; }
.card.open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.card:focus { outline: none; }
.card:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.card-x {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 400 28px/1 var(--sans); border-radius: 50%;
}
.card-x:hover { background: rgba(38,35,31,.08); }
.eyebrow {
  margin: 0 0 6px; color: #9E4521;
  font: 700 12.5px/1.2 var(--serif); letter-spacing: .16em;
}
.card h2 { font: 700 27px/1.15 var(--serif); letter-spacing: -.005em; margin: 0 40px 14px 0; }
.card-text { margin: 0; font-size: 16px; max-width: 34em; }
.btn {
  font: 600 15px/1 var(--sans); color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; cursor: pointer;
}
.btn:hover { background: var(--terra); border-color: var(--terra); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } }
.stat { margin: 12px 0 0; font-weight: 600; font-size: 14px; }
a.btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); border-color: var(--ink); }
#cvGhost { transition: opacity .3s; }

/* interactions: the guided tour */
.tour { position: fixed; inset: 0; z-index: 60; }
.tour[hidden] { display: none; }
.tour-spot {
  position: fixed; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 200vmax rgba(20,24,40,.55); outline: 2px solid var(--sun); outline-offset: 0;
  transition: left .35s var(--ease), top .35s var(--ease), width .35s var(--ease), height .35s var(--ease);
}
.balloon {
  position: fixed; width: min(300px, calc(100vw - 24px)); padding: 16px 18px 14px;
  background: var(--paper-hi); color: var(--ink); border: 1px solid rgba(38,35,31,.22); border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(38,35,31,.2);
  transition: left .35s var(--ease), top .35s var(--ease);
}
.balloon:focus { outline: none; }
.balloon h2 { font: 700 20px/1.2 var(--serif); margin: 0 36px 6px 0; }
.balloon #tourText { margin: 0 0 14px; }
.balloon-arrow {
  position: absolute; top: -8.5px; left: 20px; width: 14px; height: 14px; background: var(--paper-hi);
  border-left: 1px solid rgba(38,35,31,.22); border-top: 1px solid rgba(38,35,31,.22); transform: rotate(45deg);
}
.balloon.above .balloon-arrow { top: auto; bottom: -8.5px; transform: rotate(225deg); }
.balloon-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.balloon-btns { display: flex; gap: 6px; }
.balloon .btn { padding: 8px 14px; font-size: 14px; }
.balloon .card-x { top: 4px; right: 4px; width: 40px; height: 40px; font-size: 24px; }
.dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgba(38,35,31,.25); margin-right: 5px; }
.dots i.on { background: var(--terra); }

/* chrome additions */
.chrome-row { transition: background-color .3s; }
.past-stage .chrome-row { background: rgba(30,39,64,.94); padding-bottom: 8px; }
.chrome-left { display: flex; gap: 8px; }
@media (max-width: 640px) { .chrome-left { gap: 6px; } }
.chip.help { width: 30px; justify-content: center; padding: 0; font-size: 15px; }
.chip.sound { width: 30px; justify-content: center; padding: 0; }
.chip.sound svg { width: 18px; height: 18px; display: block; }
.chip.sound .spk { fill: currentColor; }
.chip.sound .waves, .chip.sound .mute { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chip.sound .waves { display: none; }
.chip.sound[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip.sound[aria-pressed="true"] .waves { display: inline; }
.chip.sound[aria-pressed="true"] .mute { display: none; }

/* journal notes along the way */
/* the hiker's thoughts: a bubble above his hat, tail stepping down to his head */
.thought {
  position: absolute; left: 0; top: 0; z-index: 3; max-width: min(330px, calc(100vw - 32px));
  padding: 10px 16px 12px; text-align: left; cursor: pointer;
  background: #FBF8F0; color: var(--ink); border: 1px solid rgba(38,35,31,.3); border-radius: 18px;
  box-shadow: 0 6px 18px rgba(38,35,31,.12);
  font: 600 22px/1.18 "Caveat", "Segoe Print", "Bradley Hand", cursive;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.thought-text { display: block; }
.thought::before, .thought::after { content: ""; position: absolute; border-radius: 50%; background: #FBF8F0; border: 1px solid rgba(38,35,31,.3); }
.thought::before { width: 14px; height: 14px; left: calc(var(--tx, 40px) - 7px); bottom: -21px; }
.thought::after { width: 8px; height: 8px; left: calc(var(--tx, 40px) - 4px); bottom: -34px; }
.thought.side-r::before { left: -21px; top: calc(var(--ty, 30px) - 7px); bottom: auto; }
.thought.side-r::after { left: -34px; top: calc(var(--ty, 30px) - 4px); bottom: auto; }
.thought.side-l::before { left: auto; right: -21px; top: calc(var(--ty, 30px) - 7px); bottom: auto; }
.thought.side-l::after { left: auto; right: -34px; top: calc(var(--ty, 30px) - 4px); bottom: auto; }
.thought.write .thought-text { animation: writeon .6s linear both; }
@keyframes writeon { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hiker.gazing #hkHead { animation: none !important; transform: rotate(-9deg); transition: transform .6s var(--ease); }
.note-pin {
  position: fixed; z-index: 34; top: 88px; left: 16px; width: min(320px, calc(100vw - 32px));
  padding: 14px 44px 14px 16px; background: #F7F1E3; color: var(--ink);
  border: 1px solid rgba(38,35,31,.22); border-radius: 6px; box-shadow: var(--shadow);
  transform: rotate(-1deg); animation: panel-in .25s var(--ease);
}
.note-pin[hidden] { display: none; }
.note-pin .eyebrow { margin: 0 0 4px; }
.note-pin-text { margin: 0; font: 600 24px/1.2 "Caveat", cursive; }
.note-pin .card-x { top: 2px; right: 2px; }

/* camp overlay and the wink */
.camp-hint {
  position: absolute; left: 50%; top: 20%; transform: translateX(-50%); margin: 0; z-index: 3;
  font: 600 28px/1.1 "Caveat", cursive; color: var(--star); text-align: center; white-space: nowrap;
  opacity: 0; visibility: hidden; text-shadow: 0 2px 8px rgba(20,27,51,.6);
}
.camp-hint:focus { outline: none; }
.wink-tag { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
.wink-tag span {
  display: inline-block; padding: 1px 9px 3px; border-radius: 10px; background: var(--paper-hi); color: var(--ink);
  border: 1px solid rgba(38,35,31,.3); font: 600 19px/1 "Caveat", cursive; opacity: 0;
}
.wink-tag.show span { animation: winkpop 1.2s var(--ease) forwards; }

/* boot buttons: tap for the next stop, hold to stroll */
.boots {
  position: fixed; z-index: 28; right: calc(16px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; align-items: flex-end; gap: 10px; transition: transform .45s var(--ease), opacity .3s, visibility .3s;
}
.boots.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot {
  width: 48px; height: 48px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(38,35,31,.3); background: rgba(247,243,234,.94); box-shadow: 0 4px 14px rgba(38,35,31,.14);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform .12s var(--ease), background-color .12s;
}
.boot.back { width: 44px; height: 44px; }
.boot svg { width: 64%; height: auto; transform: rotate(-90deg); }
.boot.back svg { width: 56%; transform: rotate(90deg); }
.boot .sole { fill: var(--ink); }
.boot .tread { fill: none; stroke: var(--paper-hi); stroke-width: 1.6; stroke-linecap: round; }
.boot:hover { background: #EFE7D8; }
.boot.pressed { transform: scale(.92); background: var(--sand); }
.boot:disabled { opacity: .35; cursor: default; box-shadow: none; }
.tour.coach { pointer-events: none; }
.tour.coach .balloon { pointer-events: auto; }
.tour.coach .tour-spot { box-shadow: 0 0 0 200vmax rgba(20,24,40,.32); }

/* below the stage: camp, the reveal, the form */
.camp { position: relative; background: var(--night); color: var(--star); padding: 76px 20px 0; }
.camp-inner { max-width: 760px; margin: 0 auto; }
.camp .eyebrow { color: var(--sun); }
.camp p { line-height: 1.6; }
.reveal-sub { font-size: clamp(17px, 2.2vw, 20px); max-width: 34em; margin: 0 0 32px; color: #E9E3CF; }
.board { background: #27304F; border-radius: 10px; padding: 40px 16px 34px; margin: 0 0 30px; box-shadow: inset 0 0 0 1px rgba(245,239,214,.08); }
.print {
  position: relative; margin: 0 auto; width: min(400px, 76vw); padding: 12px 12px 48px; background: #FBF9F2;
  transform: rotate(-2.2deg); box-shadow: 0 18px 30px rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.2);
}
.print img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; background: #3A4466; }
.print figcaption { position: absolute; left: 14px; right: 14px; bottom: 10px; text-align: center; font: 600 22px/1.2 "Caveat", cursive; color: var(--ink); }
.pin {
  position: absolute; z-index: 1; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #E07A50, #B5542D 55%, #7C3418); box-shadow: 0 3px 4px rgba(0,0,0,.35);
}
.journal { margin: 0 auto 10px; max-width: 34em; text-align: center; }
.journal p { margin: 0 0 6px; font: 600 clamp(25px, 3.6vw, 33px)/1.25 "Caveat", cursive; color: var(--star); }
.journal footer { font-size: 15px; color: #CFC8B0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-foot { text-align: center; padding: 20px 16px calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: #CFC8B0; }
.site-foot a { color: var(--star); text-underline-offset: 3px; display: inline-block; padding: 8px 2px; }

.noscript {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; margin: 0;
  padding: 14px 16px; background: var(--paper-hi); border: 1px solid rgba(38,35,31,.22); border-radius: 6px;
}

@media (max-width: 640px) {
  .bar { padding: 4px 12px; }
  .chrome-row { padding: 8px 12px 0; }
  .chip { font-size: 12.5px; padding: 7px 10px; }
  .readout { font-size: 11.5px; padding: 7px 8px; letter-spacing: .1em; }
  .hero { top: 96px; }
  .card {
    left: 0; right: 0; bottom: 0; width: 100%;
    min-height: 33vh; max-height: 50vh; overflow: auto;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
    border-width: 1.5px 0 0; border-radius: 14px 14px 0 0; box-shadow: 0 -4px 0 rgba(38,35,31,.08);
  }
  .card h2 { font-size: 24px; }
}
@media (max-width: 360px) {
  .chrome-row .chip#skip { padding: 7px 8px; }
  .readout { letter-spacing: .06em; }
}

@media (max-width: 640px) {
  .card { max-height: 56vh; }
  .thought { font-size: 21px; padding: 9px 14px 11px; }
  .chrome-row { align-items: flex-start; }
  .chrome-right { display: grid; grid-template-columns: auto auto auto; justify-items: end; gap: 6px; }
  .chrome-right .readout { grid-column: 1 / -1; grid-row: 2; }
  .hero { top: 92px; }
  .hero h1 { font-size: 40px; margin-bottom: 10px; }
  .hero .lead { font-size: 16px; margin-bottom: 12px; }
  .hero .hint { margin-bottom: 12px; }
  .boot.fwd { width: 58px; height: 58px; }
  .boot.back { width: 48px; height: 48px; }
  .camp { padding: 64px 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wink-tag.show span { opacity: 1; }
}

/* the storybook: the opening, the story cards, the ending, and the story as text without JavaScript */
.hero .sub { font: 700 13px/1.3 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: #8E3F20; margin: -6px 0 16px; }
.hero .draft-tag { font: italic 600 12px/1.3 var(--serif); letter-spacing: .02em; text-transform: none; white-space: nowrap; color: #8E3F20; margin-left: 6px; }
.card-text { font-size: 16.5px; line-height: 1.55; }
.card-journal { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(38,35,31,.14); }
.card-journal p { margin: 0 0 4px; font: 600 23px/1.25 "Caveat", "Segoe Print", cursive; color: var(--ink); }
.card-journal footer { font-size: 13px; letter-spacing: .04em; color: #6A5F52; }
#endTitle { font: 700 clamp(34px, 6vw, 56px)/1.05 var(--serif); margin: 0 0 14px; }
.facts-line { text-align: center; font-size: 15px; color: #CFC8B0; margin: 10px 0 26px; }
.end-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; margin: 0 0 40px; }
.end-links a { color: var(--star); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.noscript { position: fixed; inset: 0; z-index: 60; overflow: auto; background: var(--paper-hi); color: var(--ink); padding: 24px 20px 40px; }
.noscript .ns-stops { max-width: 36em; padding-left: 1.2em; }
.noscript h3 { font: 700 22px/1.2 var(--serif); margin: 22px 0 4px; }
.ns-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8E3F20; margin: 0 0 6px; }
.noscript blockquote { margin: 8px 0 0; }
.noscript blockquote p { font: 600 21px/1.3 "Caveat", cursive; margin: 0; }
@media (min-width: 900px) { .hero { left: auto; right: clamp(24px, 6vw, 96px); max-width: 500px; } }
@media (max-width: 640px) and (max-height: 700px) { .card-text { font-size: 15px; line-height: 1.45; } .card-journal p { font-size: 20px; } .card h2 { font-size: 22px; } .card { max-height: 60vh; } }

.camp-hint { top: max(108px, 12%); }
@media (max-width: 640px) { .hero { top: 112px; } }   /* clear of the mile readout */
