.calendar-digit {
  display: inline-block;
  transform-origin: center bottom;
  backface-visibility: hidden;
}

.metro-strip { gap: 10px; }
.metro-window {
  padding: clamp(5px, 1vw, 9px);
  border-radius: 17px;
  background: #532e3b;
  box-shadow: inset 0 0 0 1px #c69e9b66, 0 4px 13px #5f364c25;
  overflow: hidden;
}
.metro-track {
  display: flex;
  transform: translateX(var(--metro-offset, 0%));
}
.metro-frame {
  flex: 0 0 100%;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #35262d;
}
.metro-strip .metro-frame img { object-fit: cover; }
.metro-strip .metro-frame figcaption {
  color: #faeee8;
  padding: 5px 7px;
}
.metro-moving .metro-frame { pointer-events: none; }
.metro-replay {
  justify-self: center;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #b58c9e82;
  border-radius: 6px;
  background: #fff8f13d;
  color: #753c51;
  font-size: 14px;
}
.metro-replay:hover { background: #ebd9df; }

.story-next-row {
  margin: clamp(32px, 5vw, 60px) auto 0;
  padding-top: clamp(20px, 3.5vw, 32px);
  max-width: 580px;
  border-top: 1px solid #95657550;
  text-align: center;
}
.chapter-home .album-postscript {
  padding: clamp(30px, 5vw, 55px) 0 0;
  background: transparent;
}
.story-next {
  min-height: 48px;
  max-width: 100%;
  padding: 10px 26px;
  border: 1px solid #824d61;
  background: #6c3b4e;
  color: #fff4ed;
  font: 16px/1.55 var(--serif);
  transition: background .2s ease, transform .2s ease;
}
.story-next:hover:not(:disabled) { background: #532b3b; }
.story-next:active:not(:disabled) { transform: translateY(2px); }
.story-next:disabled {
  cursor: default;
  color: #72555d;
  border-color: #cbb8bc;
  background: #e7dcdd;
}
.story-note-progress {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
}
.chapter-nav a[aria-disabled="true"] {
  background: transparent;
  color: #8e7b80;
  opacity: .75;
  cursor: default;
}
.main-nav a[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

.letter-signoff { margin: 33px 0; }
.letter-signoff .letter-signature {
  margin: 0;
  color: #80475c;
  font: italic clamp(22px, 4vw, 31px)/1.4 Georgia, serif;
}
.letter-anniversary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 7px;
  margin-top: 6px;
  color: #78515e;
  font: 13px/1.65 Georgia, serif;
}

@media (max-width: 520px) {
  .hundred-spread { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .metro-strip { transform: none; }
  .metro-strip .chapter-photo-button { aspect-ratio: 1.65; }
}

@media (prefers-reduced-motion: no-preference) {
  .calendar-turned .calendar-digit {
    animation: calendar-turn .42s var(--digit-delay) var(--ease) backwards;
  }
  .signature-written .letter-signature {
    clip-path: inset(0 0 0 0);
    animation: signature-ink .74s var(--ease) backwards;
  }
  .signature-written .letter-anniversary {
    animation: signature-date .37s .46s var(--ease) backwards;
  }
}
@keyframes calendar-turn {
  from { opacity: .32; transform: perspective(370px) rotateX(-66deg) translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes signature-ink {
  from { clip-path: inset(0 176px 0 0); opacity: .3; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes signature-date {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
