/* Record page: the map journey and the LNP Delivered chapter (carried over from the five-page build). */





.journey {
  position: relative;
  background: var(--navy);
}
.journey__map {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  height: 42svh;
  background: var(--night);
  overflow: hidden;
  box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.7);
}
.map {
  width: 100%;
  height: 100%;
}
.map__sea {
  fill: var(--night);
}
.map__land {
  fill: #142c63;
  stroke: rgb(255 255 255 / 0.1);
}
.map__seat {
  fill: var(--royal);
}
.map__edge {
  fill: none;
  stroke: var(--gold);
  stroke-linejoin: round;
  stroke-linecap: round;
}
.map__leg {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  opacity: 0.95;
}
.town circle {
  fill: rgb(255 255 255 / 0.85);
}
.town text {
  font: 600 12.5px/1 var(--sans);
  fill: rgb(255 255 255 / 0.8);
  paint-order: stroke;
  stroke: rgb(0 60 130 / 0.85);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.town--l text {
  text-anchor: end;
}
.town.is-hot circle {
  fill: var(--gold);
}
.town.is-hot text {
  fill: var(--white);
  font-weight: 800;
}
.pin {
  color: var(--gold);
  transition: opacity 0.6s var(--ease-out);
}
.pin use {
  fill: var(--gold);
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.5));
}
.pin text {
  font: 700 12.5px/1 var(--sans);
  fill: var(--gold);
  paint-order: stroke;
  stroke: var(--night);
  stroke-width: 3px;
}
.pin__halo {
  fill: var(--gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.pin.is-future {
  opacity: 0;
}
.pin.is-active .pin__halo {
  animation: halo 2.2s var(--ease-out) infinite;
}
@keyframes halo {
  0% {
    opacity: 0.55;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}
.map__caption {
  position: absolute;
  left: var(--gutter);
  bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}
.journey__stops {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}
.stop {
  padding: clamp(3rem, 8vw, 5rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.stop--intro {
  border-top: 0;
  padding-top: clamp(3rem, 8vw, 4rem);
}
.journey__title {
  font: 400 clamp(2.4rem, 5vw, 4.6rem) / 1.02 var(--serif);
  letter-spacing: -0.01em;
}
.journey__lede {
  margin-top: 1.2rem;
  max-width: 40ch;
  color: var(--mist);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
}
.journey__hint {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.journey__hint-line {
  width: 3rem;
  height: 2px;
  background: var(--gold);
}
.stop__title {
  font: 400 clamp(2.6rem, 4.6vw, 4.4rem) / 1 var(--serif);
  letter-spacing: -0.01em;
}
.stamp {
  display: inline-flex;
  flex-wrap: wrap;
  margin: 1.1rem 0 1.6rem;
  font: 800 clamp(0.92rem, 1.25vw, 1.1rem) / 1 var(--sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  rotate: -1.5deg;
  transform-origin: left center;
}
.stamp > span {
  padding: 0.55em 0.75em 0.5em;
  border: 2px solid var(--gold);
}
.stamp__what {
  color: var(--gold);
}
.stamp__verb {
  background: var(--gold);
  color: var(--navy);
}
.js-motion .stop:not(.is-seen) .stamp {
  opacity: 0;
  scale: 1.45;
  rotate: -6deg;
}
.js-motion .stop.is-seen .stamp {
  animation: thud 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes thud {
  0% {
    opacity: 0;
    scale: 1.45;
    rotate: -6deg;
    filter: blur(3px);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    scale: 1;
    rotate: -1.5deg;
    filter: blur(0);
  }
}
.stop__media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 28px 50px -28px rgb(0 0 0 / 0.75);
  background: var(--navy-2);
}
.stop__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.stop__body {
  margin-top: 1.4rem;
  max-width: 52ch;
  color: var(--mist);
}
.stop__body p + p {
  margin-top: 0.8rem;
}
.stop__quote {
  margin: 1.8rem 0 0;
  max-width: 34ch;
}
.stop__quote::before {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 1rem;
  background: var(--gold);
}
.stop__quote p {
  font: italic 400 clamp(1.5rem, 2.2vw, 2rem) / 1.18 var(--serif);
}
.stop__quote footer {
  margin-top: 0.7rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 1024px) {
  .journey {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .journey__map {
    height: calc(100svh - var(--nav-h));
    box-shadow: none;
  }
  .stop {
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem clamp(2rem, 4vw, 4.5rem);
  }
  .stop--intro {
    padding-top: 4rem;
  }
  .stop__media {
    max-width: 36rem;
  }
}
.stop--chapter {
  border-top: 4px solid var(--gold);
}
.delivered__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1em 0.2em;
  font: 900 clamp(3rem, 6.4vw, 6rem) / 0.9 var(--sans);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.delivered__stamp {
  background: var(--gold);
  color: var(--navy);
  padding: 0.08em 0.16em 0.04em;
  rotate: -2deg;
  transform-origin: left center;
}
.delivered__total {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  font: 400 clamp(1.4rem, 2vw, 1.8rem) / 1.2 var(--serif);
}
.delivered__total span {
  display: block;
  white-space: nowrap;
  font: 900 clamp(2.8rem, 5.2vw, 4.8rem) / 0.95 var(--sans);
  letter-spacing: -0.035em;
  color: var(--gold);
}
.stop__lede {
  margin-top: 1.2rem;
  max-width: 44ch;
  color: var(--mist);
}
.dfigs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem 1.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.dfigs li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.8rem;
  border-top: 4px solid var(--gold);
}
.dfigs__fig {
  font: 900 clamp(2.2rem, 3.4vw, 3rem) / 1 var(--sans);
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.dfigs__what {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.dfigs__note {
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--mist);
}
.dlist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}
.dlist li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--mist);
}
.dlist__fig {
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.dlist__n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  translate: 0 0.2rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
}
.dverb {
  margin-top: 1.6rem;
}
.stamp--sm {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
}
.dverb__note {
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mist);
}
.proj {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.proj rect {
  fill: var(--gold);
  stroke: var(--night);
  stroke-width: 1.5px;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.45));
}
.proj__n {
  font: 800 10px/1 var(--sans);
  fill: var(--navy);
  text-anchor: middle;
}
.proj__label {
  font: 700 12.5px/1 var(--sans);
  fill: var(--white);
  paint-order: stroke;
  stroke: rgb(0 40 100 / 0.9);
  stroke-width: 3px;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.is-delivered .proj {
  opacity: 0.55;
}
.is-delivered .proj.is-lit {
  opacity: 1;
}
.proj.is-lit.is-labelled .proj__label {
  opacity: 1;
}
.is-delivered .pin,
.is-delivered .map__leg {
  opacity: 0.22 !important;
}
.is-delivered .pin.is-active .pin__halo {
  animation: none;
}
.map__legend {
  position: absolute;
  right: var(--gutter);
  bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.75);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.map__legend-sq {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--gold);
}
.journey__map.is-delivered .map__legend {
  opacity: 1;
}
.map__caption {
  transition: opacity 0.5s var(--ease-out);
}
@media (max-width: 699px) {
  .journey__map.is-delivered .map__caption {
    opacity: 0;
  }
}
@media (max-width: 1023px) {
  .stop {
    scroll-margin-top: calc(var(--nav-h) + 42svh);
  }
}
.pagenext {
  background: var(--night);
  border-top: 1px solid var(--line);
}
.pagenext__link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 1.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  text-decoration: none;
}
.pagenext__label {
  grid-column: 1;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.pagenext__title {
  grid-column: 1;
  font: 400 clamp(2.4rem, 5vw, 4.2rem) / 1 var(--serif);
  transition: color 0.3s var(--ease-out);
}
.pagenext__link svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: clamp(2.2rem, 4vw, 3.2rem);
  height: auto;
  color: var(--gold);
  transition: translate 0.3s var(--ease-out);
}
.pagenext__link:hover .pagenext__title {
  color: var(--gold);
}
.pagenext__link:hover svg {
  translate: 0.5rem 0;
}


/* Closing call to action */
.record-close {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background: var(--navy);
  text-align: center;
}
.record-close__title {
  max-width: 18ch;
  margin: 0 auto;
  font: 400 clamp(2.4rem, 5.4vw, 4.6rem) / 1 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.record-close__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
