/* Original theme and layout; masked heading reveals and restrained background depth. */
.ws-line-mask { display:block; overflow:clip; padding-bottom:.14em; margin-bottom:-.14em; }
.ws-line-text { display:block; }
@media (prefers-reduced-motion:no-preference) {
  .ws-entry-pending:not(.ws-lines) { opacity:0; translate:0 16px; }
  .ws-entry-visible:not(.ws-lines) {
    animation:ws-entry 750ms cubic-bezier(.22,1,.36,1) var(--ws-entry-delay,0ms) both;
  }
  .ws-lines.ws-entry-pending .ws-line-text { opacity:0; transform:translateY(108%); }
  .ws-lines.ws-entry-visible:not(.ws-lines-settled) .ws-line-text {
    animation:ws-line 800ms cubic-bezier(.22,1,.36,1)
      calc(var(--ws-entry-delay,0ms) + var(--ws-line-delay,0ms)) both;
  }
  .ws-depth { translate:0 var(--ws-depth-y,0px); }
  @keyframes ws-entry { from { opacity:0; translate:0 16px; } to { opacity:1; translate:0 0; } }
  @keyframes ws-line { from { opacity:0; transform:translateY(108%); } to { opacity:1; transform:translateY(0); } }
}
.motion-off .ws-entry-pending,.motion-off .ws-entry-visible,
.motion-off .ws-line-text,.ws-entry-pending:focus-within,
.ws-lines-settled .ws-line-text {
  opacity:1!important; translate:none!important; transform:none!important; animation:none!important;
}
.motion-off .ws-depth { translate:none; }
@media (prefers-reduced-motion:reduce), print {
  .ws-entry-pending,.ws-entry-visible,.ws-line-text,.ws-depth {
    opacity:1!important; translate:none!important; transform:none!important; animation:none!important;
  }
  .ws-line-mask { overflow:visible; }
}
