/*
  Our Story becomes one connected archive. Real photographs remain the subject;
  motion only changes depth and continuity as the visitor moves through time.
*/
.story-page {
  --story-night: #03070d;
  --story-ink: #edf2f2;
  --story-muted: #a9b8c6;
  --story-ice: #79dfff;
  --story-gold: #d5ad72;
  --story-paper: #e9efee;
  background: var(--story-night);
}

.story-page .story-opening {
  border-bottom: 1px solid rgba(121, 223, 255, 0.18);
}

.has-js .story-page .story-opening::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--story-reveal);
  width: min(12vw, 10rem);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(121, 223, 255, 0.1), transparent);
  transform: translateX(-1px);
}

.has-js .story-page .story-opening-controls {
  padding: 1rem 1.15rem 0;
  border-top-color: rgba(247, 243, 233, 0.42);
  background: linear-gradient(180deg, rgba(3, 7, 13, 0), rgba(3, 7, 13, 0.32));
}

.story-page .story {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: var(--story-night);
}

.story-page .story::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #03070d 0%, rgba(3, 7, 13, 0.78) 32%, rgba(3, 7, 13, 0.9) 100%),
    linear-gradient(180deg, #03070d 0%, transparent 12rem, transparent calc(100% - 18rem), #03070d 100%);
}

.story-page .story > :not(.story-memory-sky) {
  position: relative;
  z-index: 2;
}

/* A real photograph from the active chapter quietly fills the surrounding space. */
.story-memory-sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  contain: strict;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.story-memory-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.72), rgba(3, 7, 13, 0.33) 52%, rgba(3, 7, 13, 0.78)),
    linear-gradient(180deg, rgba(3, 7, 13, 0.62), transparent 40%, rgba(3, 7, 13, 0.84));
}

.story-memory-sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.28) saturate(0.72);
  transform: scale(1.035);
  transition: opacity 800ms ease, transform 1400ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.story-traversing .story-memory-sky {
  opacity: 0.72;
}

.story-memory-sky img.is-active {
  opacity: 0.72;
  transform: scale(1.015);
}

.story-page .year-nav {
  z-index: 40;
  border-top-color: rgba(213, 173, 114, 0.22);
  border-bottom-color: rgba(121, 223, 255, 0.14);
  background: rgba(3, 7, 13, 0.88);
}

.story-page .year-nav::before {
  content: "THE LIGHT, THROUGH THE YEARS";
  flex: 0 0 auto;
  margin-right: clamp(0.75rem, 2vw, 2rem);
  color: rgba(233, 239, 238, 0.45);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.story-page .year-nav a {
  padding-inline: 0.2rem;
}

.story-page .year-nav a.is-current {
  color: var(--story-paper);
}

.story-page .year-nav a.is-current::after {
  background: var(--story-gold);
  box-shadow: 0 0 16px rgba(213, 173, 114, 0.68);
}

/* The route is one continuous line rather than six isolated content blocks. */
.story-page .story-journey {
  --story-magic-progress: 0;
  position: relative;
  width: min(100%, 102rem);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 0 clamp(2.75rem, 4.5vw, 5.25rem);
  counter-reset: story-stop;
}

.story-page .story-journey::before,
.story-page .story-journey::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(0.55rem, 1.2vw, 1.35rem);
  width: 1px;
  pointer-events: none;
}

.story-page .story-journey::before {
  background: rgba(233, 239, 238, 0.16);
}

.story-page .story-journey::after {
  bottom: auto;
  height: calc(var(--story-magic-progress) * 100%);
  max-height: 100%;
  background: linear-gradient(180deg, var(--story-gold), var(--story-ice) 62%, rgba(121, 223, 255, 0.2));
  box-shadow: 0 0 18px rgba(121, 223, 255, 0.35);
}

.story-page .journey-stop {
  --story-photo-y: 0px;
  --story-image-y: 0%;
  --story-frame-x: 0deg;
  --story-frame-y: 0deg;
  counter-increment: story-stop;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.82fr);
  align-items: start;
  column-gap: clamp(3rem, 8vw, 10rem);
  row-gap: 4rem;
  min-height: 0;
  padding: clamp(8rem, 13vw, 14rem) 0;
  border-top: 0;
}

.story-page .journey-stop::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: clamp(9.1rem, 14vw, 15rem);
  left: calc(clamp(0.55rem, 1.2vw, 1.35rem) - clamp(2.75rem, 4.5vw, 5.25rem) - 0.38rem);
  width: 0.76rem;
  height: 0.76rem;
  border: 1px solid rgba(233, 239, 238, 0.58);
  border-radius: 50%;
  background: var(--story-night);
  box-shadow: 0 0 0 0.42rem rgba(3, 7, 13, 0.92);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.story-page .journey-stop.is-story-active::before {
  border-color: var(--story-paper);
  background: var(--story-gold);
  box-shadow:
    0 0 0 0.42rem rgba(3, 7, 13, 0.94),
    0 0 1.7rem rgba(213, 173, 114, 0.62);
}

.story-page .journey-stop::after {
  content: counter(story-stop, decimal-leading-zero);
  position: absolute;
  top: clamp(8.6rem, 13.4vw, 14.35rem);
  left: calc(clamp(0.55rem, 1.2vw, 1.35rem) - clamp(2.75rem, 4.5vw, 5.25rem) + 1.25rem);
  color: rgba(233, 239, 238, 0.34);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-page .journey-stop:first-child {
  padding-top: clamp(7rem, 11vw, 11rem);
}

.story-page .journey-stop:first-child::before {
  top: clamp(8.1rem, 12vw, 12rem);
}

.story-page .journey-stop:first-child::after {
  top: clamp(7.6rem, 11.4vw, 11.35rem);
}

.story-page .chapter-scene {
  position: sticky;
  top: clamp(9rem, 13vh, 10.5rem);
  min-width: 0;
  transform: translate3d(0, var(--story-photo-y), 0);
  transition: transform 160ms linear;
}

.story-page .chapter-year {
  position: relative;
  align-items: end;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(233, 239, 238, 0.17);
}

.story-page .chapter-year::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: clamp(2rem, 5vw, 5.5rem);
  height: 1px;
  background: var(--story-gold);
}

.story-page .chapter-year .section-label {
  order: 2;
  padding-bottom: 0.35rem;
  color: rgba(233, 239, 238, 0.52);
  letter-spacing: 0.15em;
}

.story-page .journey-stop time {
  color: var(--story-paper);
  font-size: clamp(4.75rem, 8.5vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.74;
  text-shadow: 0 0 2.5rem rgba(121, 223, 255, 0.08);
}

.story-page .journey-stop.is-story-active time {
  color: var(--story-ice);
}

/* The archive image behaves like a physical print held over the dark timeline. */
.story-page .journey-photo {
  position: relative;
  margin: 0;
  padding: clamp(0.45rem, 0.75vw, 0.75rem) clamp(0.45rem, 0.75vw, 0.75rem) 0;
  color: #182b39;
  background: var(--story-paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 2.8rem 6rem rgba(0, 0, 0, 0.38);
  transform: perspective(1100px) rotateX(var(--story-frame-x)) rotateY(var(--story-frame-y));
  transform-origin: 50% 70%;
  transition: transform 180ms ease-out, box-shadow 400ms ease;
}

.story-page .journey-photo::before {
  content: "ARCHIVE / " attr(data-archive-label);
  position: absolute;
  z-index: 3;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.35rem 0.48rem;
  color: rgba(247, 243, 233, 0.82);
  background: rgba(3, 7, 13, 0.62);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  pointer-events: none;
}

.story-page .journey-photo > a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #09101a;
}

.story-page .journey-photo > a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 3rem rgba(1, 5, 10, 0.16);
}

.story-page .journey-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, var(--story-image-y), 0) scale(1.055);
  transform-origin: center;
  transition: filter 450ms ease;
}

.story-page .journey-photo figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 1.25rem;
  align-items: start;
  min-height: 4.6rem;
  padding: 0.9rem 0.45rem 1rem;
  color: #334c5b;
  font-size: 0.62rem;
  line-height: 1.55;
}

.story-page .journey-photo figcaption > * {
  display: block;
}

.story-page .journey-photo figcaption a {
  margin: 0;
  color: #416578;
  text-align: right;
}

.story-page .journey-photo:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 3.4rem 7rem rgba(0, 0, 0, 0.46);
}

.story-page .journey-copy {
  position: relative;
  z-index: 2;
  max-width: 39rem;
  padding: clamp(2rem, 5vw, 5rem) 0 0;
}

.story-page .journey-place {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  color: var(--story-gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-page .journey-place::before {
  content: "";
  flex: 0 0 2.4rem;
  height: 1px;
  background: currentColor;
}

.story-page .journey-stop h3 {
  max-width: 13ch;
  margin: 0 0 2rem;
  color: var(--story-paper);
  font-size: clamp(2.5rem, 4.3vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.story-page .journey-copy > p:not(.journey-place) {
  color: #b7c3ce;
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  line-height: 1.88;
}

.story-page .archive-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  margin-top: 1.8rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(121, 223, 255, 0.34);
  border-bottom: 1px solid rgba(121, 223, 255, 0.14);
  color: var(--story-paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.story-page .archive-source:hover {
  color: var(--story-ice);
}

.story-page .origin-quote {
  position: relative;
  margin-top: 2.5rem;
  padding: 2rem 0 0 2rem;
  border-top: 1px solid rgba(213, 173, 114, 0.42);
  border-left: 0;
}

.story-page .origin-quote::before {
  content: "“";
  position: absolute;
  top: 0.75rem;
  left: 0;
  color: var(--story-gold);
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}

.story-page .origin-quote p {
  color: var(--story-paper);
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.story-page .origin-quote cite {
  display: block;
  margin-top: 1rem;
}

.story-page .chapter-quiet {
  min-height: clamp(22rem, 35vw, 32rem);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4.5rem);
  border: 1px solid rgba(121, 223, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(20, 43, 60, 0.72), rgba(3, 7, 13, 0.94) 62%),
    var(--story-night);
  box-shadow: 0 2.6rem 6rem rgba(0, 0, 0, 0.32);
}

.story-page .chapter-quiet::before,
.story-page .chapter-quiet::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.story-page .chapter-quiet::before {
  right: 8%;
  bottom: 13%;
  width: 58%;
  height: 58%;
  border-right: 1px solid rgba(121, 223, 255, 0.3);
  border-bottom: 1px solid rgba(121, 223, 255, 0.3);
  border-radius: 0 0 100% 0;
}

.story-page .chapter-quiet::after {
  top: 16%;
  right: 18%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--story-gold);
  box-shadow:
    -4rem 3rem 0 rgba(121, 223, 255, 0.72),
    -8rem 7rem 0 rgba(233, 239, 238, 0.48);
}

.story-page .chapter-quiet p {
  margin-top: clamp(3rem, 7vw, 8rem);
  font-size: clamp(1.8rem, 3.2vw, 3.8rem);
  line-height: 1.18;
}

.story-page .chapter-light {
  top: clamp(2rem, 4vw, 4rem);
  left: clamp(2rem, 4vw, 4rem);
  background: var(--story-paper);
  box-shadow: 0 0 16px 4px rgba(121, 223, 255, 0.48), 0 0 70px 25px rgba(121, 223, 255, 0.1);
}

/* Alternate the photographic object so the chronology has a spatial rhythm. */
@media (min-width: 901px) {
  .story-page .journey-stop:not(#year-2023):nth-child(even) .chapter-scene {
    grid-column: 2;
    grid-row: 1;
  }

  .story-page .journey-stop:not(#year-2023):nth-child(even) .journey-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }

  .story-page .journey-stop:not(#year-2023):nth-child(even) .chapter-year {
    flex-direction: row-reverse;
  }

  .story-page .journey-stop:not(#year-2023):nth-child(even) .chapter-year::after {
    right: auto;
    left: 0;
  }
}

/* Keep the 2023 sticky scene bounded by its narrative row, above the archive. */
.story-page #year-2023 {
  display: block;
}

.story-page #year-2023 .chapter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.82fr);
  align-items: start;
  column-gap: clamp(3rem, 8vw, 10rem);
}

.story-page #year-2023 .chapter-gallery {
  position: relative;
  z-index: 4;
  margin-top: clamp(7rem, 11vw, 12rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid rgba(213, 173, 114, 0.3);
  background: var(--story-night);
}

.story-page .photo-gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-top: 0;
  border-top: 0;
}

.story-page .photo-gallery-heading :is(h2, h4) {
  max-width: 16ch;
  margin-top: 1rem;
  color: var(--story-paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.story-page .photo-gallery-heading > p {
  max-width: 29rem;
  line-height: 1.8;
}

.story-page .photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 6vw, 6rem);
}

.story-page .photo-gallery-grid figure {
  position: relative;
  grid-column: span 4;
  margin: 0;
  padding: 0.45rem 0.45rem 0;
  color: #18303f;
  background: var(--story-paper);
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.32);
}

.story-page .photo-gallery-grid figure:nth-child(1) {
  grid-column: 1 / span 7;
}

.story-page .photo-gallery-grid figure:nth-child(2) {
  grid-column: 8 / -1;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.story-page .photo-gallery-grid figure:nth-child(3),
.story-page .photo-gallery-grid figure:nth-child(4),
.story-page .photo-gallery-grid figure:nth-child(5) {
  grid-column: span 4;
}

.story-page .photo-gallery-grid figure:nth-child(6) {
  grid-column: 3 / span 8;
}

.story-page .photo-gallery-grid figure > a {
  display: block;
  overflow: hidden;
}

.story-page .photo-gallery-grid figure:not(.photo-gallery-portrait) > a {
  aspect-ratio: 4 / 3;
}

.story-page .photo-gallery-grid figure > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 400ms ease;
}

.story-page .photo-gallery-grid figure:hover > a img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.025);
}

.story-page .photo-gallery-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 0.3rem 0.85rem;
  color: #304d5d;
  font-size: 0.59rem;
  line-height: 1.5;
}

.story-page .photo-gallery-grid .photo-date {
  color: #617784;
  text-align: right;
}

/* Gratitude returns the page from the night into light. */
.story-page .story-thanks {
  position: relative;
  z-index: 3;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 10rem);
  margin: clamp(4rem, 9vw, 10rem) calc(var(--gutter) * -1) -7rem;
  padding: clamp(6rem, 11vw, 12rem) var(--gutter);
  border-top: 0;
  color: #102838;
  background: var(--story-paper);
}

.story-page .story-thanks::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: clamp(4rem, 10vw, 10rem);
  height: 2px;
  background: var(--story-gold);
}

.story-page .story-thanks .section-label {
  color: #557285;
}

.story-page .story-thanks h3 {
  max-width: 10ch;
  color: #102838;
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.story-page .thanks-copy {
  color: #334b59;
  font-size: clamp(0.94rem, 1vw, 1.06rem);
  line-height: 1.88;
}

.story-page .thanks-copy strong {
  color: #102838;
}

.story-page .thanks-copy .thanks-signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(16, 40, 56, 0.2);
  color: #386477;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

@media (max-width: 1100px) {
  .story-page .journey-stop,
  .story-page #year-2023 .chapter-row {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.82fr);
    column-gap: clamp(2.25rem, 5vw, 5rem);
  }

  .story-page .journey-stop h3 {
    font-size: clamp(2.25rem, 4.2vw, 4rem);
  }
}

@media (max-width: 900px) {
  .story-page .year-nav::before {
    display: none;
  }

  .story-page .story-journey {
    padding-left: 2.75rem;
  }

  .story-page .story-journey::before,
  .story-page .story-journey::after {
    left: 0.4rem;
  }

  .story-page .journey-stop,
  .story-page #year-2023 .chapter-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .story-page .journey-stop {
    padding-block: clamp(5rem, 12vw, 8rem);
  }

  .story-page .journey-stop::before {
    top: clamp(6rem, 13vw, 9rem);
    left: -2.73rem;
  }

  .story-page .journey-stop::after {
    top: clamp(5.5rem, 12.4vw, 8.35rem);
    left: -1.5rem;
  }

  .story-page .journey-stop:first-child::before {
    top: clamp(6rem, 13vw, 9rem);
  }

  .story-page .journey-stop:first-child::after {
    top: clamp(5.5rem, 12.4vw, 8.35rem);
  }

  .story-page .chapter-scene {
    position: relative;
    top: auto;
    transform: none;
  }

  .story-page .journey-copy {
    max-width: 42rem;
    padding-top: 0;
  }

  .story-page .journey-stop time {
    font-size: clamp(4.25rem, 16vw, 7rem);
  }

  .story-page #year-2023 .chapter-gallery {
    margin-top: 5rem;
  }

  .story-page .photo-gallery-heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .story-page .photo-gallery-grid figure:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

  .story-page .story-thanks {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 620px) {
  .story-memory-sky {
    display: none;
  }

  .story-page .story::after {
    background: linear-gradient(180deg, #03070d, #050b13 52%, #03070d);
  }

  .story-page .story-journey {
    padding-left: 1.75rem;
  }

  .story-page .story-journey::before,
  .story-page .story-journey::after {
    left: 0.08rem;
  }

  .story-page .journey-stop::before {
    left: -2.05rem;
  }

  .story-page .journey-stop::after {
    left: -0.95rem;
  }

  .story-page .journey-stop h3 {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
  }

  .story-page .journey-photo {
    padding: 0.38rem 0.38rem 0;
    transform: none;
  }

  .story-page .journey-photo figcaption {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-page .journey-photo figcaption a {
    text-align: left;
  }

  .story-page .journey-photo img {
    transform: none;
  }

  .story-page .chapter-quiet {
    min-height: 18rem;
  }

  .story-page #year-2023 .chapter-gallery {
    margin-top: 4rem;
    padding-top: 3.5rem;
  }

  .story-page .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .story-page .photo-gallery-grid figure:nth-child(n) {
    grid-column: 1;
  }

  .story-page .photo-gallery-grid .photo-gallery-portrait > a {
    max-height: 34rem;
  }

  .story-page .story-thanks {
    margin-top: 4rem;
    padding-block: 5rem 6rem;
  }

  .story-page .story-thanks h3 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-memory-sky,
  .story-memory-sky img,
  .story-page .chapter-scene,
  .story-page .journey-photo,
  .story-page .journey-photo img,
  .story-page .photo-gallery-grid figure > a img {
    transition: none;
    transform: none;
  }
}

.motion-paused .story-memory-sky,
.motion-paused .story-memory-sky img,
.motion-paused .story-page .chapter-scene,
.motion-paused .story-page .journey-photo,
.motion-paused .story-page .journey-photo img,
.motion-paused .story-page .photo-gallery-grid figure > a img {
  transition: none;
  transform: none;
}

/* Keep year navigation pinned without extending the section beyond the viewport. */
.story-page .story > .year-nav { position:sticky;z-index:40; }
