/* The photograph scrolls with the page; the gradient keeps the headline readable. */
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(248, 250, 246, .91) 0%, rgba(248, 250, 246, .85) 35%, rgba(248, 250, 246, .30) 100%),
    url("./payday-desk.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Let the notebook and calculator show around the sample ledger without reducing its text contrast. */
.sheetwrap {
  background: rgba(229, 240, 226, .30);
}

/* Narrow screens stack the hero above the ledger and need a more uniform tint. */
@media (max-width: 720px) {
  body {
    background-image:
      linear-gradient(180deg, rgba(248, 250, 246, .92), rgba(248, 250, 246, .78) 38%, rgba(248, 250, 246, .70)),
      url("./payday-desk.webp");
    background-position: 72% top;
  }
}
