/* Give the writing a steady place in the sky. The park can travel beneath it. */
:root {
  --reading-face: var(--lettering);
  --reading-ink: #2e2830;
  --reading-size: clamp(1.125rem, 1.8vw, 1.32rem);
  --title-size: clamp(2.08rem, 4.1vw, 3.8rem);
}
body, .mast nav a, .thought p, .thought button, .walk-hint {
  font-family: var(--reading-face);
}
body, .thought, .mast { color: var(--reading-ink); }
.mast .brand {
  font-family: var(--lettering);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}
.mast nav { gap: clamp(.75rem, 2.5vw, 2.2rem); }
.mast nav a, .mast nav .reading-link {
  min-height: 44px;
  font-size: .92rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.thought h1, .thought h2 {
  font: 400 var(--title-size)/1.12 var(--lettering);
  letter-spacing: -.035em;
}
.thought .trail-line {
  font: 500 var(--reading-size)/1.48 var(--reading-face);
  color: var(--reading-ink);
  gap: .65em;
}
.thought .trail-line svg {
  width: 1.14em;
  height: 1.14em;
  margin-top: .14em;
  color: #805145;
}
.thought .byline {
  font: 550 1rem/1.3 var(--reading-face);
  color: #595055;
}
.thought .booking {
  font: 600 1rem/1.3 var(--reading-face);
  min-height: 46px;
  text-align: left;
  transform: none;
  opacity: 1;
}
.thought .booking-state {
  padding: 0;
  background: none;
  font: 500 .91rem/1.4 var(--reading-face);
  color: #53474b;
}
.motion .stage {
  --reading-sky: var(--sky);
}
.motion .stage.in-second-park {
  --reading-sky: #fff0d6;
}
.motion .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    var(--reading-sky) 0%,
    color-mix(in srgb, var(--reading-sky) 96%, transparent) 26%,
    color-mix(in srgb, var(--reading-sky) 88%, transparent) 38%,
    transparent 62%);
}
.motion .stage.in-second-park::after { z-index: 2; }
.motion main { top: clamp(5.25rem, 13svh, 8rem); }
.motion #main > .thought {
  top: 0;
  left: 0;
  width: min(100%, 40rem);
  max-width: 100%;
  text-align: left;
  transform: none;
}
.motion #main > .thought {
  animation: none;
  transition-property: opacity;
}
.motion #main .thought .thought-copy {
  width: 100%;
  margin: 0;
  animation: none;
  transform: none;
  text-shadow: none;
}
.motion #main .thought :is(h1, h2) {
  display: block;
  margin: 0;
  max-width: 22ch;
  font: 400 var(--title-size)/1.13 var(--lettering);
  letter-spacing: -.035em;
  opacity: 1;
  transform: none;
}
.motion #main .thought h2 .map-icon {
  display: inline-block;
  width: .79em;
  height: .79em;
  margin-right: .25em;
  vertical-align: -.015em;
}
.motion .stage #main .thought .thought-copy .trail-line {
  position: static;
  display: grid;
  grid-template-columns: 1.12em minmax(0, 1fr);
  align-items: start;
  column-gap: .65em;
  width: 100%;
  max-width: 39ch;
  margin: .83rem 0 0;
  font: 500 var(--reading-size)/1.46 var(--reading-face);
  letter-spacing: 0;
  text-wrap: initial;
  color: var(--reading-ink);
  opacity: 1;
  text-shadow: none;
}
.motion #main .thought .trail-line svg { display: block; }
.motion #main .thought .trail-line span { animation: none; }
.motion #main .about-thought .thought-copy::after { content: none; }
.motion #main .first .byline { opacity: 1; margin: .45rem 0 1.02rem; }
.motion #main .first .walk-hint {
  margin-top: 1.05rem;
  color: #4d4548;
  opacity: 1;
  font: 550 .9rem/1.3 var(--reading-face);
}
.fee-control {
  width: min(100%, 18rem);
  margin-top: 1.3rem;
  color: #365044;
}
.fee-value {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font: 500 1rem/1.4 var(--reading-face);
}
.fee-value output {
  color: #33473f;
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
}
.fee-value label, .fee-limits { color: #4c514b; }
.fee-control input {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  accent-color: #516752;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  touch-action: pan-y;
}
.fee-control input::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: #878875;
}
.fee-control input::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: #878875;
}
.fee-control input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9.5px;
  border: 2px solid #4e6252;
  border-radius: 50%;
  background: #cadaae;
}
.fee-control input::-moz-range-thumb {
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 2px solid #4e6252;
  border-radius: 50%;
  background: #cadaae;
}
.fee-limits {
  display: flex;
  justify-content: space-between;
  font: 500 .88rem/1.3 var(--reading-face);
}
@media (forced-colors: active) {
  .fee-control input { appearance: auto; }
}
@media (max-width: 720px) {
  :root {
    --shell: calc(100% - clamp(2.35rem, 11vw, 4rem));
    --reading-size: clamp(1.125rem, 4.7vw, 1.25rem);
    --title-size: clamp(1.96rem, 8.4vw, 3.05rem);
  }
  .motion main { top: clamp(4.65rem, 10svh, 6.25rem); }
  .mast { width: calc(100% - 2rem); min-height: 3.55rem; }
  .mast nav { gap: clamp(.45rem, 2.1vw, .85rem); }
  .mast nav a, .mast nav .reading-link {
    font-size: .84rem;
    font-weight: 600;
  }
  .mast nav .reading-link { flex: none; width: 7ch; max-width: 7ch; text-align: center; }
  .motion #main .thought :is(h1, h2) { max-width: none; }
}
@media (max-height: 700px) and (max-width: 720px) {
  .motion main { top: 4.45rem; }
  .motion .stage #main .thought .thought-copy .trail-line {
    margin-top: .66rem;
    line-height: 1.4;
  }
  .motion #main .first .byline { margin-bottom: .7rem; }
}
@media (max-width: 380px) {
  .mast { min-height: 3.1rem; padding: 0; flex-wrap: nowrap; gap: .4rem; }
  .mast .brand { font-size: .99rem; white-space: normal; max-width: 7.4em; line-height: 1.12; }
  .mast nav { width: auto; gap: .45rem; }
  .mast nav a, .mast nav .reading-link { font-size: .8rem; }
}
