/* My Story only: an album of existing words and supplied photographs. */
.story-site #main {
  max-width: 1240px;
  margin: 24px auto 44px;
  border: 1px solid #e2dacb;
  border-radius: 14px;
  overflow: clip;
  box-shadow: 0 8px 30px #50412b0a;
}
.story-site .story-intro-banner {
  min-height: 340px;
  padding: 48px 0;
  background: linear-gradient(110deg, #e8d9c6 0%, #ead6cf 43%, #d8c1a7 100%);
  overflow: hidden;
}
.story-site .story-intro-banner::before { display: none; }
.story-site .story-intro { position: relative; z-index: 1; max-width: none; padding: 0 48px; }
.story-site .story-intro h1 { max-width: 15ch; margin: 22px 0 20px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.08; }
.story-site .story-intro h1::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 20px; background: #d5a5a1; }
.story-site .story-intro .return-link { color: #403b35; font-size: .85rem; }
.story-site .story-intro .story-subtitle { margin-bottom: 0; font: 18px/1.5 Georgia, serif; }
.story-album-banner {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  mask-image: linear-gradient(to right, transparent 0%, #0000000d 22%, #00000040 38%, #000000b3 54%, #000 68%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #0000000d 22%, #00000040 38%, #000000b3 54%, #000 68%);
}
.story-site .story-reading-area { background: linear-gradient(105deg, #f8f5ec, #fbf9f2 55%, #f1eddf); }
.story-site .story-page { max-width: none; padding: 0; }
.story-site .story-page > section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  gap: 56px;
  padding: 44px 48px;
  margin: 0;
  border-bottom: 1px solid #dfd9ca;
}
.story-album-copy { min-width: 0; }
.story-site .story-page h2 { margin: 0 0 24px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; }
.story-site .story-page h2::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 12px; background: #d5a5a1; }
.story-site .story-page p { margin: 0 0 14px; font: 18px/1.5 Georgia, 'Times New Roman', serif; text-align: left; hyphens: manual; }
.story-site .story-page .story-highlight { margin: 20px 0; padding: 14px 16px; border-left: 3px solid #c49b94; background: #eee6d6; }
.story-site .story-page .story-highlight strong { color: #79534f; }
.story-site .story-page .story-ending { background: #e8eadc; }
.story-site .story-page .story-ending::before { display: none; }
.story-site .story-page .story-final { margin-top: 28px; font-size: 1.45rem; }
.story-album-photo {
  position: relative;
  margin: 20px 8px 24px;
  padding: 8px 8px 16px;
  border: 1px solid #d8cebc;
  background: #f9f4e8;
  box-shadow: 2px 5px 14px #4c392327;
  transform: rotate(-2deg);
}
.story-album-photo img { display: block; width: 100%; height: auto; }
/* Decorative album notes sit outside the photograph and never cover the story. */
.story-album-photo { margin-bottom: 132px; }
.story-album-photo::after {
  content: 'A quiet child.\A A big heart.  ♡';
  white-space: pre-line;
  position: absolute;
  top: calc(100% + 20px);
  right: 10px;
  width: 70%;
  color: #817358;
  font: italic 25px/1.3 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  text-align: center;
  transform: rotate(-7deg);
}
.story-child .story-album-photo::before,
.story-ending .story-album-photo::before {
  content: '';
  position: absolute;
  width: 88px;
  height: 155px;
  left: -25px;
  bottom: -70px;
  background: url('../assets/album-wildflowers.svg') center / contain no-repeat;
  transform: rotate(-17deg);
  pointer-events: none;
}
.story-seen .story-album-photo::after { content: 'I had my own thoughts,\A ideas and dreams.  ✧'; }
.story-ending .story-album-photo::after { content: 'You matter.\A Full stop.  ♡'; }
.story-ending .story-album-photo::before { bottom: auto; top: -82px; left: -18px; transform: rotate(20deg); }
.story-seen .story-album-photo { max-width: 360px; justify-self: center; transform: rotate(1.5deg); }
.story-seen .story-album-photo::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 30%;
  width: 100px;
  height: 24px;
  background: #cfa5a0bb;
  transform: rotate(-5deg);
  box-shadow: 0 1px 2px #63473715;
}
.story-ending .story-album-photo { position: sticky; top: 132px; max-width: 370px; justify-self: center; transform: rotate(-1deg); }
.story-site .story-back-link { min-height: 44px; color: var(--story-olive); font: 600 16px/1.5 Georgia, serif; }
.story-site main a:focus-visible { outline: 3px solid #ad777d; outline-offset: 4px; }
@media (max-width: 900px) {
  .story-site #main { margin: 16px 20px 32px; }
  .story-site .story-intro { padding: 0 32px; }
  .story-site .story-page > section { gap: 30px; padding: 36px 32px; }
  .story-site .story-page p { font-size: 17px; }
}
@media (max-width: 650px) {
  .story-site #main { margin: 12px 12px 28px; border-radius: 10px; }
  .story-site .story-intro-banner { padding: 32px 0 0; }
  .story-site .story-intro { padding: 0 24px; }
  .story-site .story-intro h1 { max-width: none; font-size: 2.3rem; }
  .story-album-banner { position: relative; display: block; width: 100%; height: auto; margin-top: 24px; mask-image: none; -webkit-mask-image: none; }
  .story-site .story-page > section { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 32px 24px; }
  .story-album-photo,
  .story-ending .story-album-photo { position: relative; top: auto; max-width: 360px; justify-self: center; margin: 12px 6px 8px; }
  .story-album-photo,
  .story-ending .story-album-photo { margin-bottom: 120px; }
  .story-album-photo::after { font-size: 22px; }
  .story-ending .story-album-photo::before { top: -30px; left: -16px; width: 60px; height: 105px; }
}

/* Warm parchment and rose tones beneath the softly fading photograph. */
.story-site .story-intro-banner,
.story-site .story-intro h1,
.story-site .story-intro .story-subtitle { color: #403b35; }
