/* A quiet paper surface, a few ink rules and two soft leaf shadows at most. */
@media (max-width: 700px) {
  body[data-mobile-atmosphere] main [data-mobile-paper] {
    position: relative;
    isolation: isolate;
    background-image: url('/mobile-do-paper.svg?v=20261017-1');
    background-size: 320px 320px;
    background-repeat: repeat;
  }
  body[data-mobile-atmosphere] .mobile-paper-leaf {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    display: block;
    width: min(57vw, 228px);
    height: 280px;
    overflow: hidden;
    contain: paint;
    pointer-events: none;
    user-select: none;
    background: url('/mobile-leaf-shadow.svg?v=20261017-1') no-repeat right -36px top -35px / 240px auto;
    opacity: .055;
  }
  body[data-mobile-atmosphere] main [data-mobile-ink] {
    position: relative;
  }
  body[data-mobile-atmosphere] .mobile-paper-rule {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    display: block;
    width: clamp(48px, 15vw, 64px);
    height: 7px;
    overflow: visible;
    color: var(--olive-text, #627744);
    opacity: .6;
    pointer-events: none;
  }
  body[data-mobile-atmosphere] [data-mobile-ink="center"] .mobile-paper-rule {
    left: 50%; transform: translateX(-50%);
  }
  body[data-mobile-atmosphere] [data-mobile-ink="right"] .mobile-paper-rule {
    left: auto; right: 0;
  }
  body[data-mobile-atmosphere] .mobile-paper-rule path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  body[data-mobile-atmosphere-motion] [data-mobile-ink]:not([data-mobile-atmosphere-seen]) .mobile-paper-rule path {
    stroke-dashoffset: 1;
  }
  body[data-mobile-atmosphere-motion] [data-mobile-ink][data-mobile-atmosphere-seen] .mobile-paper-rule path {
    animation: mobile-paper-ink 1.5s cubic-bezier(.35, 0, .55, 1) .16s both;
  }
  body[data-mobile-atmosphere-motion] .mobile-paper-leaf:not([data-mobile-atmosphere-seen]) {
    opacity: 0;
  }
  body[data-mobile-atmosphere-motion] .mobile-paper-leaf[data-mobile-atmosphere-seen] {
    animation: mobile-paper-leaf 3.6s cubic-bezier(.3, 0, .5, 1) both;
  }
  body[data-mobile-atmosphere-paused] :is(.mobile-paper-rule path, .mobile-paper-leaf) {
    animation-play-state: paused;
  }
  @keyframes mobile-paper-ink {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
  @keyframes mobile-paper-leaf {
    from { opacity: 0; transform: translate3d(6px, -4px, 0); }
    to { opacity: .055; transform: translate3d(0, 0, 0); }
  }
}
